/*
 Theme Name:   Sassio Child
 Theme URI:    http://demo.goodlayers.com/sassio
 Description:  Goodlayers Sassio Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     sassio
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  sassio-child

 START YOUR CHILD THEME CSS HERE
*/

.res-content-area .site-main > * {
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
}

.res-content-area div#primary {
	font-size: 12px;
}

.res-content-area .availability-table td {
    text-align: center;
}

.res-content-area input[type="checkbox"] {
    margin: 0 auto;
    display: flex;
}

.res-content-area table td, .res-content-area table th, .res-content-area .wp-block-table td, .res-content-area .wp-block-table th {
    padding: calc(0.1 * var(--global--spacing-unit));
}

.res-content-area table#malawi, .res-content-area table#mozambique, .res-content-area table#zambia, .res-content-area table#accomadation {
    max-width: 600px;
	margin: 0 auto;
}

.res-content-area .availability-table {
	margin: 20px 0px;
}

.res-content-area .accomodation-type-name {
	border-top-color: transparent !important;
	border-bottom-color: transparent !important;
	border-left-color: transparent !important;
}

.res-content-area td.accomodation-type-name  {
	width: 250px;
}

.res-content-area .avail-yes {
	background: lightgrey;
}

.res-content-area .avail-no {
	background: red;
}

.res-content-area .avail-req {
    background: lightblue;
}

.res-content-area .avail-free {
    background: darkviolet;
}

.res-content-area .avail-full {
    background: yellow;
}

.res-content-area .avail-prov {
    background: #FF7AD2;
}


.res-content-area .clear-fix {
	border-top-color: transparent !important;
	border-left-color: transparent !important;
	min-width: 15%;
}

.res-content-area .date-header {
	max-width: 50px;
	font-size: 12px;
}

.res-content-area td h3 {
   /* font-size: 16px !important;*/
	font-weight: 700 !important;
}

table#test p, table#test td {
    font-size: 16px !important;
}

input#searchdate {
    height: 52px;
	font-size: 15px;
}

table#test td {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px !important;
}

.p-head h3 {
	margin-top: 20px;
	margin-bottom: 0px;
	font-size: 30px;
}

td.p-head {
    background: white !important;
}

.p-head {
	/*background: white !important;*/
	padding: 0px !important;
}

.p-head td {
	/*background: white !important;*/
	padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 10px !important;
}

table tr:nth-child(1) {
	background: white !important;
}


.accomodation-type-name-mobile {
	display: none; 
	font-weight: bold;
}

@media (max-width: 1010px){
	 table.availability-table td:nth-child(1){
		display: none !important;
	}
		 table.availability-table th:nth-child(1){
		display: none !important;
	}
	th.date-header {
    min-width: 50px;
	}
	.accomodation-type-name-mobile {
		display: block !important;
	}
	
}

/* Accordian Styles */

.accordion {
  width: 800px;
  margin: 90px auto;
  color: black;
  background-color: white;
  padding: 45px 45px;
}

.accordion .container {
  position: relative;
  margin: 10px 10px;
}

/* Positions the labels relative to the .container. Adds padding to the top and bottom and increases font size. Also makes its cursor a pointer */

.accordion .label {
  position: relative;
  padding: 10px 0;
  font-size: 30px;
  color: black;
  cursor: pointer;
}

/* Loader CSS */

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* END KAYLE LOADER */

/* ADD BRAD LOADER */

#spinner:not([hidden]) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#spinner::after {
  content: "";
  width: 80px;
  height: 80px;
  border: 2px solid #f3f3f3;
  border-top: 3px solid #f25a41;
  border-radius: 100%;
  will-change: transform;
  animation: spin 1s infinite linear
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #ccc;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

tr.property_principle td:nth-child(1) {
    width: 95% !important;
}

h2.country_name {
	text-decoration: underline;
	padding-top: 20px;
}

h2.country_name, h3.region_name, h4.principle_name {
	margin-top: 20px;
	margin-bottom: 0px !important;
}
h6.principal-name {
    display: flex;
}
h4.return_principle_name {
    display: flex;
}