:root {
  font-size: 16px;
}

/* Titles */

h1 {
  font-size: 1.4rem;
  margin: 0;
}
h2 {
  font-size: 1.2rem;
  margin: 0;
  }
h3 {
  font-size: 1.1rem;
  margin: 0;
}
h4 {
  font-size: 1.05rem;
  margin: 0;
}
p {
  line-height: 22px;
  margin: 0.5rem 0 0 0;
}

/* Body */

body {
  margin: 0;
  padding: 0;
  background-color: #efefef;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
}

/* Conent Layout Blocks */

header {
  background-color: #f7f7f7;
  padding: 20px;
  height: 10rem;

}

#content, header {
  max-width: 1200px;
  margin: 0 auto;
  outline: 1px solid #cecece;
  box-sizing: border-box;
}

aside {
  background-color: #f2f2f2;
  padding: 20px;
  outline: 1px solid #333333;
  z-index: 1;
  }

#main {
  background-color: #ffffff;
  padding: 20px;
  outline: 1px solid #333333;
  min-height: 20rem;
  z-index: 1;
}


@media (min-width: 700px) {
  #content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  #main {flex-basis: 80%;}

  aside {
    flex-basis: 20%;
    min-width: 225px;
  }

}

/* Footer */

footer {
  position: relative;
  z-index: 2;
  background-color: #2a2a2a;
  color: #fdfdfd;
  font-size: 0.8rem;
  padding: 3rem 2rem;
}

footer>div {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 599px) {
  footer>div {text-align: center;}
  footer .member {margin-top : 50px;}
}

@media (min-width: 600px) {

footer>div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

footer>div div {width: 50%;}

footer .member {
  text-align: right;
  margin-top: 25px; }

}

footer a {
  color: #fdfdfd;
  text-decoration: none;
}

footer a span {
  display: inline-block;
  height: 35px;
  width: 35px;
  margin-right: 10px;
  position: relative;
  top: 10px;
}

footer .logo-fill {
  fill: #fdfdfd;
}

/* Results Head */

.results-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.price-sort a {
  padding: 10px;
  text-decoration: none;
  color:inherit; color: #808080;
  font-size: 0.9rem;
  position: absolute;
  bottom: 0;
  right: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.sort-icon-desktop {
  background-image: url('/assets/images/sort-desktop.svg');
  display:inline-block;
  height: 1em;
  width: 1em;
  margin-right: 0.5em;
  margin-bottom: -2px;
  background-repeat: no-repeat;
}

@media (max-width: 700px) {
  .price-sort.decktop {
    display:none;
  }
}

.results-count {
  color: #808080;
  font-size: 0.9rem;
  margin: 5px 0 10px 0;
}

.results-count>span {
  display:inline-block;
  margin-right: 10px;
}

.results-count .match {
  color: #0ab21b;
  font-weight: 600;
}

.results-count .altern {
  color: #808080;
  font-weight: 600;
}

.matching {
  border-left: 3px solid #0ab21b;
  padding-left: 10px;
}



/* Results Listing */

.result-listing {
  background-color: #fcfcfc;
  border: 1px solid #ececec;
  border-top: 2px solid #93b0db;
  padding: 10px; margin-top: 15px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.result-listing:hover {
  background-color: #f0f6ff;
}

.listing-button {
  display: inline-block;
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1;
  color: #ffffff;
  background-color: #c9c9c9;
  padding: 0.6em 1em;
  margin-right: 10px;
  text-transform: uppercase;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.listing-button:hover {
  background-color: #808080;
}

.listing-book-button {
  background-color: #4e8de9;
  color: #ffffff;
}
.listing-book-button:hover {
  background-color: #93b0db;
}

.listing-title {
  margin-bottom: 5px;
}

.listing-title a {
  padding-right: 5px;
  text-decoration: none;
  border-right: 3px solid rgba(51, 51, 51, 0);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.listing-title a, .listing-title a:focus, .listing-title a:visited {
  outline: none;
  color: inherit;
}

.listing-title a:hover {
  border-color: rgba(51, 51, 51, 0.8);
  color: rgba(51, 51, 51, 0.8);
}

.listing-address, .profile-address  {
  font-size: 0.6rem;
  color: grey;
}

.listing-content {
  margin-top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.listing-image {
  display: block;
  height: 150px;
  width: 200px;
  object-fit: cover;
  margin-right: 10px;
}

@media (max-width: 449px) {
  .listing-content {
    display: block;
  }
  .listing-image {
    width: 100%;
    height: 175px;
    margin-bottom: 10px;
  }
}

@media (max-width: 900px) and (min-width: 450px) {
  .listing-image {
    width: 150px;
    min-width: 150px;
    height: 120px;
    }
  }

@media (min-width: 901px) {
  .listing-image {
  width: 200px;
  min-width: 200px;
  height: 150px;
  }
}

.listing-price, .booking-price {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.listing-package, .booking-package {
  font-size: 0.8rem;
  color: grey;
  margin-bottom: 5px;
}

.listing-date, .booking-date {
  font-size: 0.8rem;
  color: #0ab21b;
  margin-bottom: 10px;
}

.listing-description {
  font-size: 0.8rem;
}

/* Alternative Dates */

.alternative {
  margin-top: 15px;
  border-left: 3px solid #c9c9c9;
  padding-left: 10px;
}

.alternative-title {
  background-color: #c9c9c9;
  margin-left: -11px;
  padding: 5px 10px;
}

.alternative-date {
  color: #ff0000;
}

/* Search Spec for Mobile */

.search-spec {
  background-color: #ffffff;
  margin-bottom: 15px;
  font-size: 0.9rem;
  border: 1px solid #ececec;
  border-top: 2px solid #4e8de9;
}

.spec-dates {
  padding: 10px;
  position: relative;
}

.spec-nights {
  position: absolute;
  right:10px;
  font-weight: bold;
}

.specs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  background-color: rgba(78, 141, 233, 0.3);
}

.specs-element {
  flex: 1;
  padding: 10px;
  max-width: 100px;
  position: relative;
}

@media (max-width: 450px) {
  .specs-element {
    font-size: 0.6rem;
    }
  .spec-dates {
    font-size: 0.8rem;
    }
}

.specs-element span {
  position: absolute;
  right:10px;
}

.spec-dates::before, .specs-element::before {
  content: '';
  display:inline-block;
  height: 1em;
  width: 1em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
}

.spec-dates::before {
  background-image: url('/assets/images/calendar.svg');
}
.spec-adults::before {
  background-image: url('/assets/images/adult.svg');
}
.spec-children::before {
  background-image: url('/assets/images/children.svg');
  width: 1.43em;
}
.spec-rooms::before {
  background-image: url('/assets/images/rooms.svg');
  width: 1.67em;
}

/* Search */

.search-title {
  margin-bottom: 15px;
}

@media (max-width: 700px) {
  .search-title {
    display: none;
  }
}

.search-form {
  background-color: #f0f6ff;
  padding: 10px;
  outline: 1px solid #000000;
  margin-bottom: 15px;
}

.search-form>div {
  margin-bottom: 10px;
}

.search-form label {
  display: block;
  font-size: 0.8rem;
}

.search-form .search-date input {
  background-image: url('/assets/images/calendar.svg');
}

.search-form .search-date input::placeholder {
  color: inherit;
}

.search-form .search-date input:last-child {
  border-radius: 0;
}

.search-form .search-date>div {
  margin-bottom: 10px;
}

.search-form select, .search-form input {
  width: 100%;
  height: 2.5em;
  padding: 0.5em;
  text-indent: 2.4em;
  text-align: left !important;
  border: 1px solid grey;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: 1em 1em;
  background-position: 0.6em center;
  border-radius: 3px !important;
  cursor: pointer;
}

.search-form button {
  width: 100%;
  padding: 0.5em;
  margin-top: 10px;
}

.search-form .search-adults select {
  background-image: url('/assets/images/adult-color.svg');
  text-indent: 2.2em;
}

.search-form .search-children select {
  background-image: url('/assets/images/children-color.svg');
  text-indent: 2.2em;
  background-size: 1.1em 1.57em;
}

.search-form .search-rooms select {
  background-image: url('/assets/images/rooms-color.svg');
  text-indent: 2.2em;
  background-size: 1.1em 1.84em;
}

/* Bootstrap Date Picker */

.datepicker tbody td {
  border: 1px solid #e2e2e2 !important;
  box-sizing: border-box;
}

.datepicker tbody td.disabled {
  border: 1px solid transparent !important;
}

/* Search Filters */

.filter-title {
  margin-bottom: 15px;
}

@media (max-width: 700px) {
  .filter-title {
    display: none;
  }
}

.filter-form {
  background-color: #f0f6ff;
  padding: 10px;
  outline: 1px solid #000000;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.filter-form fieldset {
  background-color: #ffffff;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid grey;
  border-radius: 3px;
}

.filter-form .location {
  margin-bottom: 0;
}

.filter-form fieldset div {
  margin-bottom: 1em;
  position: relative;
}

.filter-form fieldset div:last-of-type {
  margin-bottom: 0;
}

.filter-form fieldset div:first-of-type {
  margin-top: 0.5em;
}

.filter-count {
  position: absolute;
  right: 0;
}

.filter-form select {
  width: 100%;
  height: 1.5rem;
}

/* Checkbox */

.filter-form label {
  cursor: pointer;
}

.filter-form .label-text {
  margin-left: 1.5em;
}

.filter-form input[Type="checkbox"] {
  display: none;
}

.filter-form input[Type="checkbox"] + .label-text::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url('/assets/images/un-checked.svg');
  background-repeat: no-repeat;
  background-position: 0 0;
  position: absolute;
  left: 0;
}

.filter-form input[Type="checkbox"]:checked + .label-text::before {
  background-image: url('/assets/images/checked.svg');
  animation-name: tick;
  animation-duration: 0.3s;
}

@keyframes tick {
  0% {transform: scale(0, 0);}
  75%  {transform: scale(1.1, 1.1);}
  100%  {transform: scale(1, 1);}
}

/* Radio */

.filter-form input[Type="radio"] {
  display: none;
}

.filter-form input[Type="radio"] + .label-text::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url('/assets/images/radio.svg');
  background-repeat: no-repeat;
  background-position: 0 0;
  position: absolute;
  left: 0;
  }

.filter-form input[Type="radio"]:checked + .label-text::before {
  background-image: url('/assets/images/radio-selected.svg');
  animation-name: tick;
  animation-duration: 0.3s;
}

/* Filter & Search Toggle on Mobile */

.mobile-tools, .search-spec {
  display:none;
}

@media (max-width: 700px) {

  .mobile-tools {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
  }

  .filter {
    display:none;
    margin-top: 15px;
  }

  .search-spec {
    display: block;
  }

  .search {
    display: none;
    margin-top: 15px;
  }

}

.filter-icon, .search-icon, .sort-icon {
  display:inline-block;
  height: 1em; width: 1em;
  margin-right: 10px;
  margin-bottom: -2px;
  background-repeat: no-repeat;
}

.search-icon {
  background-image: url('/assets/images/search.svg');
}

.filter-icon {
  background-image: url('/assets/images/filter.svg');
}

.sort-icon {
  background-image: url('/assets/images/sort.svg');
}

.mobile-tools button {
  padding: 0.5em 0.8em;
  text-align: left;
  box-sizing: border-box;
  flex-basis: 32%;
  max-width: 32%;
}

.filter-toggle-button:focus, .search-toggle-button:focus {
  outline: none;
  background: #4e8de9;
}

.filter-toggle-button.toggle-button-open, .search-toggle-button.toggle-button-open {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: -4px; background: #0053ba;
}

@media (max-width: 380px) {
  .mobile-tools button {
    font-size:0.7rem;
    padding: 0.8em;
    }
}

/* Button Defaults */

button {
    display: inline-block;
    border: none;
    padding: 1rem 2rem;
    margin: 0;
    text-decoration: none;
    background: #4e8de9;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: background 250ms ease-in-out,
                transform 150ms ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    border-radius: 3px;
}

button:hover,
button:focus {
    background: #0053ba;
}

button:focus {
    outline: 1px solid rgba(255, 255, 255, 0.5);
    outline-offset: -4px;
}

button:active {
    transform: scale(0.99);
}

/* Load More */

.load-more {
  text-align: center;
  margin: 2rem 0;
}

.load-more .load {
  display: inline-block;
  padding: 1em 4em;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  background-color: #d9d9d9;
  transition: all 250ms ease-in-out;
}

.load-more .load:hover, .load-more .load:focus {
  background-color: #808080;
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: -4px;
}


/* Template Varations

.var-box2
{   border: 1px solid #d6d6d6;
    background-color: #f0f0f0;
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#f3f3f3),color-stop(25%,#f3f3f3),to(#e4e4e4));
    background-image: -webkit-linear-gradient(#f3f3f3,#f3f3f3 25%,#e4e4e4);
    background-image: -moz-linear-gradient(top,#f3f3f3,#f3f3f3 25%,#e4e4e4);
    background-image: -o-linear-gradient(#f3f3f3,#f3f3f3 25%,#e4e4e4);
    background-image: linear-gradient(#f3f3f3,#f3f3f3 25%,#e4e4e4);
    background-repeat: no-repeat;}

.var-box3 {
-webkit-box-shadow: 0 0 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(225,225,225,0.4);
-moz-box-shadow: 0 0 4px rgba(0,0,0,0.3),inset 0 1px 0 rgba(225,225,225,0.4);
box-shadow: 0 0 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(225,225,225,0.4);
background-color: #df3434;
background-image: -webkit-gradient(linear,0 0,0 100%,from(#ec7575),color-stop(50%,#e43b3b),to(#c71b1b));
background-image: -webkit-linear-gradient(#ec7575,#e43b3b 50%,#c71b1b);
background-image: -moz-linear-gradient(top,#ec7575,#e43b3b 50%,#c71b1b);
background-image: -o-linear-gradient(#ec7575,#e43b3b 50%,#c71b1b);
background-image: linear-gradient(#ec7575,#e43b3b 50%,#c71b1b);
background-repeat: no-repeat;}


.var-box1
{background-image: -webkit-gradient(linear,0 0,0 100%,from(#2C2423),color-stop(35%,#2C2423),to(#191913));
    background-image: -webkit-linear-gradient(#2C2423,#2C2423 35%,#191913);
    background-image: -moz-linear-gradient(top,#2C2423,#2C2423 35%,#191913);
    background-image: -o-linear-gradient(#2C2423,#2C2423 35%,#191913);
    background-image: linear-gradient(#2C2423,#2C2423 35%,#191913);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2c2423',endColorstr='#ff191913',GradientType=0);
    border-color: rgba(225,225,225,0.1);
    -webkit-box-shadow: 0 0 40px rgba(0,0,0,0.6);
    -moz-box-shadow: 0 0 40px rgba(0,0,0,0.6);
    box-shadow: 0 0 40px rgba(0,0,0,0.6);}

.datepicker tbody td {border: 1px solid #e2e2e2 !important; box-sizing: border-box;}
.datepicker tbody td.disabled {border: 1px solid transparent !important;}
*/
