/* Size */
@media all {
	html {
		font-size: 18px;
	}
	body > * {
		font-size: 100%;
		margin-left: 12rem;
		margin-right: 12rem;
  }
}
@media all and (max-width:1500px) {
	html {
		font-size: 18px;
	}
	body > * {
		font-size: 100%;
		margin-left: 7rem;
		margin-right: 7rem;
  }
}
@media all and (max-width:1000px) {
	html {
		font-size: 18px;
	}
	body > * {
		font-size: 100%;
		margin-left: 3rem;
		margin-right: 3rem;
  }
}
@media all and (max-width:840px) {
	html {
		font-size: 17px;
	}
	body > * {
		font-size: 100%;
		margin-left: 1rem;
		margin-right: 1rem;
  }
}
@media all and (max-width:760px) {
	html {
		font-size: 16px;
	}
	body > * {
		font-size: 100%;
		margin-left: 1rem;
		margin-right: 1rem;
  }
}
@media all and (max-width:580px) {
	html {
		font-size: 16px;
	}
	body > * {
		font-size: 100%;
		margin-left: 1rem;
		margin-right: 1rem;
  }
}

* {
  margin: 0;
  padding: 0;
  }

/* Font */
body,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6,
header,
header.a {
  font-family: Arial, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica,
    sans-serif, Apple Color Emoji, Segoe UI Emoji;
  color: #24292e;
}
body {
  margin-left: auto;
  margin-right: auto;
}
h1 {
  font-size: 140%;
  margin-bottom: 1.0rem;
  color: #007C91 ;
}
h2 {
  font-size: 110%;
  color: #007C91 ;
  margin-bottom: 0.5rem;
}
h3 {
  font-size: 100%;
}
h5 {
  font-size: 80%;
  font-weight: normal;
}
h6 {
  font-size: 65%;
  font-weight: normal;
}

p {
  margin-bottom: 0.5em;
  line-height: 1.45;
}


/* Header */
.ukhsa-header {
  display: block;
  max-width: 400px;
  width: 15%;
  height: auto;
  margin-left: 0;
  margin-right: auto;
}

/* Buttons */
.btn {
  font-family: Arial,sans-serif;
  border-radius: 5px;
  background:#fff;
  color: #007C91 ;
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  margin: 5px 5px;
  margin-left: 0;
}
.btn-alt {
  border: 1px solid #007C91 ;
  padding: 5px 20px;
}
.btn-alt:hover {
  background: #007C91 ;
  color: #fff;
}


/* Tabs */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #007c91;
  color: white;
  font-size: 100%;
  /*font-weight: bold;*/
}
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}
.tab button:hover {
  background-color: #ddd;
}
.tab button.active {
  background-color: #8A1B61;
}
.tabcontent {
  display: none;
  padding: 5px 12px;
  border: 1px solid #ccc;
  border-top: none;
  animation: fadeEffect 2s;

  align-content: center;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Accordions */
.accordion {
  background-color: #c7c5c5;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: 5px;
  border-color: #444;
  outline: none;
  transition: 0.4s;
}
.active, .accordion:hover {
  background-color: #ccc;
}
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

/* Boxes */
.services {
  color: #1b2049;
  widows: 80%;
  margin: auto;
  text-align: center;
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  align-items: flex-start;
  gap: 0.5em;
}
.services-col:hover {
  background-color: #ff0000;
}

.services-col {
  color: #1b2049;
  flex-basis: 31%;
  background: #bcc5d5;
  border-radius: 10px;
  margin-bottom: 5%;
  box-sizing: border-box;
  transition: 0.3;
}

.services-col:hover {
  background-color: #f5f5f5;
}

/* Tables */
.styled-table {
  border-collapse: collapse;
  border: 1px solid black;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
  background-color: wheat;
  color: black;
  text-align: left;
  border: 1px solid black;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
    border: 1px solid black;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: white;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #007c91;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}

a.button {
  padding: 1px 6px;
  border: 1px outset buttonborder;
  border-radius: 3px;
  color: white;
  background-color: #007c91;
  text-decoration: none;
}

/* Pricing Tables *********************************************************/
* {
  box-sizing: border-box;
}

/* Create three columns of equal width */
.columns {
  float: left;
  width: 33.3%;
  padding: 8px;
}

/* Style the list */
.price {
  list-style-type: none;
  border: 1px solid #000000;
  margin: 0;
  padding: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

/* Add shadows on hover */
.price:hover {
  box-shadow: 0 8px 12px 0 #822433
}

/* Pricing header */
.price .header {
  background-color: #007c91;
  color: white;
  text-align: center;
}

/* List items */
.price li {
  border-bottom: 1px solid #007c91;
  padding: 14px;
  text-align: left;
}

/* Grey list item */
.price .grey {
  background-color: Wheat;
  font-size: 16px;
  text-align: center;
}

/* The "Sign Up" button */
.button {
  background-color: #04AA6D;
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
}

/* Change the width of the three columns to 100%
(to stack horizontally on small screens) */
@media only screen and (max-width: 900px) {
  .columns {
    width: 50%;
  }
}

@media only screen and (max-width: 600px) {
  .columns {
    width: 100%;
  }
}

/* Image Grid *********************************************************/

.container {
  width: 90%;
  margin: 24px auto;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  display: inline-block;
  width: 75%;
}

@media (min-width: 48em) {
  .gallery-item {
    margin-bottom: 18px;
    width: calc(50% - 4px);
    margin-right: 8px;
  }

  .gallery-item:nth-of-type(2n) {
    margin-right: 0;
  }
}

@media (min-width: 72em) {
  .gallery-item {
    width: calc(25% - 6px);
  }
  .gallery-item:nth-of-type(2n) {
    margin-right: 8px;
  }
  .gallery-item:nth-of-type(4n) {
    margin-right: 0;
  }
}

figure {
  margin: 5;
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  
}