/*

    Template Name   : La Casa


    *****************************************


    - Fonts
    - General CSS
    - Header
    - Hero
    - Search
    - Listings
    - Footer
    - Responsive CSS


*/

/*  Fonts  */
@font-face {
   font-family: "lato-bold";
   src: url("../fonts/lato-bold.eot");
   src: url("../fonts/lato-bold.eot?#iefix") format("embedded-opentype"),
      url("../fonts/lato-bold.woff") format("woff"),
      url("../fonts/lato-bold.ttf") format("truetype"),
      url("../fonts/lato-bold.svg#LatoBold") format("svg");
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: "lato-regular";
   src: url("../fonts/lato-regular.eot");
   src: url("../fonts/lato-regular.eot?#iefix") format("embedded-opentype"),
      url("../fonts/lato-regular.woff") format("woff"),
      url("../fonts/lato-regular.ttf") format("truetype"),
      url("../fonts/lato-regular.svg#LatRegular") format("svg");
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: "p22_corinthia";
   src: url("../fonts/p22_corinthia.eot");
   src: url("../fonts/p22_corinthia.eot?#iefix") format("embedded-opentype"),
      url("../fonts/p22_corinthia.woff") format("woff"),
      url("../fonts/p22_corinthia.ttf") format("truetype"),
      url("../fonts/p22_corinthia.svg#P22Corinthia") format("svg");
   font-weight: normal;
   font-style: normal;
}

/*  General CSS  */
*,
::after,
::before {
   box-sizing: border-box;
}
body {
   background: #fff;
}

.wrapper {
   width: 1100px;
   margin: 0 auto;
   position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   color: #626262;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   letter-spacing: 1px;
}

h1 {
   font-size: 2em;
   margin: 0.67em 0;
}
h2 {
   font-size: 1.5em;
   margin: 0.75em 0;
}
h3 {
   font-size: 1.17em;
   margin: 0.83em 0;
}
h5 {
   font-size: 0.83em;
   margin: 1.5em 0;
}
h6 {
   font-size: 0.75em;
   margin: 1.67em 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
   font-weight: bolder;
}

.clearfix:before,
.clearfix:after {
   content: " ";
   display: table;
}
.clearfix:after {
   clear: both;
}

.clearfix {
   *zoom: 1;
}

/*  header Section  */
header {
   width: 100%;
   height: 100px;
   background: rgba(28, 54, 85, 0.2);
}

header .logo {
   margin-top: 40px;
   float: left;
}

header a.hamburger {
   text-decoration: none;
   display: none;
   float: right;
   margin-top: 41px;
   width: 24px;
   height: 19px;
   background: url("../img/hamburger_icon.png") no-repeat;
}

header nav {
   float: right;
}

header nav ul {
   margin-top: 40px;
   list-style: none;
   overflow: hidden;
   float: left;
}

header nav ul li {
   float: left;
   margin-left: 50px;
}

header nav ul li a,
header nav .login_btn {
   text-decoration: none;
   color: #fff;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   font-size: 16px;
   letter-spacing: 1px;
}

header nav .login_btn {
   float: right;
   margin: 30px 0 0 50px;
   padding: 10px 30px 11px 30px;
   border: 2px solid #ffffff;
   background: transparent;

   transition: all 0.1s linear;
   -webkit-transition: all 0.1s linear;
   -moz-transition: all 0.1s linear;
   -o-transition: all 0.1s linear;
}

header nav .login_btn:hover {
   background: #ffffff;
   color: #1c3655;
}

/*  Hero Section  */

.hero {
   width: 100%;
   height: 800px;
   position: relative;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
      url("../img/hero.jpg") no-repeat bottom center;
   background-size: cover;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
}

.hero .caption {
   width: 100%;
   position: absolute;
   text-align: center;
   top: 50%;
   margin-top: -105px;
}

.hero .caption h2 {
   color: #fff;
   font-family: "P22_Corinthia";
   font-size: 100px;
   font-weight: lighter;
   margin: 0;
   position: relative;
   display: block;
}

.hero .caption h3 {
   color: #fff;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   font-size: 42px;
   margin: 50px 0 0 25px;
}

/*  Search Section  */

.search {
   width: 100%;
   height: 100px;
   background: #bfd9f2;
   position: relative;
}

.search #search {
   display: block;
   width: 1000px;
   height: 100px;
   float: left;
   border: 0;
   outline: none;
   margin: 0;
   padding: 0;
   background: #bfd9f2;
   color: #ffffff;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   font-size: 20px;
   text-transform: uppercase;
   letter-spacing: 1px;
   line-height: 22px;
}

.search #search::-webkit-input-placeholder {
   color: #95badf;
}

.search #search:-moz-placeholder {
   color: #95badf;
}

.search #search::-moz-placeholder {
   color: #95badf;
}

.search #search:-ms-input-placeholder {
   color: #95badf;
}

.search #submit_search {
   display: none;
}

.search .advanced_search_icon {
   display: block;
   width: 26px;
   height: 26px;
   float: right;
   background: url("../img/advanced_search_inactive.png") no-repeat;
   margin-top: 37px;

   transition: all 0.2s linear;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
}

.search .advanced_search_icon:hover {
   background: url("../img/advanced_search_hover.png") no-repeat;
}

.search .advanced_search_icon.active {
   background: url("../img/advanced_search_active.png") no-repeat;
}

.search .advanced_search {
   width: 100%;
   position: absolute;
   top: 100px;
   left: 0;
   background: #cbe0f4;
   border-top: 1px solid #aac8e4;
   border-bottom: 1px solid #aac8e4;
   z-index: 9999;
   display: none;
}

.search .advanced_search .arrow {
   display: block;
   width: 14px;
   height: 9px;
   background: url("../img/search_arrow.png") no-repeat;
   position: absolute;
   top: -8px;
   right: 6px;
}

.search .advanced_search #check_in_date,
.search .advanced_search #check_out_date,
.search .advanced_search #min_price,
.search .advanced_search #max_price {
   display: block;
   width: 509px;
   height: 100px;
   border: 0;
   margin: 0;
   padding: 0 20px;
   outline: none;
   background: #cbe0f4;
}

.search .advanced_search #check_in_date,
.search .advanced_search #check_out_date {
   background: url("../img/calendar_icon.png") no-repeat;
   background-position: 90% center;
   padding: 0 100px 0 20px;
}

.search .advanced_search .float {
   float: left;
}
.advanced_search form {
   width: 100%;
}
.search .advanced_search .search_fields {
   display: flex;
   overflow: hidden;
   width: 100%;
   border-bottom: 1px solid #aac8e4;
}
.search .advanced_search .search_fields input {
   width: 45%;
   overflow: hidden;
   border-bottom: 1px solid #aac8e4;
}

.search .advanced_search .field_sep {
   display: inline-block;
   width: 2px;
   height: 60px;
   border: 0;
   background: #aac8e4;
   margin: 20px 0 0 0;
   padding: 0;
}

.search .advanced_search #keywords {
   display: block;
   width: 100%;
   height: 100px;
   border: 0;
   margin: 0;
   padding: 0 20px;
   outline: none;
   background: #cbe0f4;
}

.search .advanced_search #check_in_date,
.search .advanced_search #check_out_date,
.search .advanced_search #min_price,
.search .advanced_search #max_price,
.search .advanced_search #keywords {
   color: #ffffff;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   font-size: 20px;
   text-transform: uppercase;
   letter-spacing: 1px;
   line-height: 22px;
}

.search .advanced_search #check_in_date::-webkit-input-placeholder,
.search .advanced_search #check_out_date::-webkit-input-placeholder,
.search .advanced_search #min_price::-webkit-input-placeholder,
.search .advanced_search #max_price::-webkit-input-placeholder,
.search .advanced_search #keywords::-webkit-input-placeholder {
   color: #95badf;
}

.search .advanced_search #check_in_date:-moz-placeholder,
.search .advanced_search #check_out_date:-moz-placeholder,
.search .advanced_search #min_price:-moz-placeholder,
.search .advanced_search #max_price:-moz-placeholder,
.search .advanced_search #keywords:-moz-placeholder {
   color: #95badf;
}

.search .advanced_search #check_in_date::-moz-placeholder,
.search .advanced_search #check_out_date::-moz-placeholder,
.search .advanced_search #min_price::-moz-placeholder,
.search .advanced_search #max_price::-moz-placeholder,
.search .advanced_search #keywords::-moz-placeholder {
   color: #95badf;
}

.search .advanced_search #check_in_date:-ms-input-placeholder,
.search .advanced_search #check_out_date:-ms-input-placeholder,
.search .advanced_search #min_price:-ms-input-placeholder,
.search .advanced_search #max_price:-ms-input-placeholder,
.search .advanced_search #keywords:-ms-input-placeholder {
   color: #95badf;
}

/*  listings section  */
.listings {
   padding: 100px 0;
}

.listings ul.properties_list {
   list-style: none;
   overflow: hidden;
}

.listings ul.properties_list li {
   display: block;
   width: 340px;
   height: auto;
   position: relative;
   float: left;
   margin: 0 40px 40px 0;
}

.listings ul.properties_list li img.property_img {
   width: 100%;
   height: auto !important;
   vertical-align: top;
}

.listings ul.properties_list li .price {
   position: absolute;
   top: 10px;
   left: 10px;
   padding: 15px 20px;
   background: #ffffff;
   color: #514d4d;
   font-family: "lato-bold", Helvetica, Arial, sans-serif;
   font-size: 16px;
   font-weight: bold;
   letter-spacing: 1px;

   border-radius: 2px;
   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   -o-border-radius: 2px;
}

.listings ul.properties_list li:nth-child(3n + 0) {
   margin-right: 0;
}

.listings ul li .property_details {
   width: 100%;
   padding: 10px 20px 14px 20px;
   border-bottom: 1px solid #f2f1f1;
   border-left: 1px solid #f2f1f1;
   border-right: 1px solid #f2f1f1;

   transition: all 0.2s linear;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
}

.listings ul li:hover .property_details {
   border-bottom: 1px solid #95badf;
   border-left: 1px solid #95badf;
   border-right: 1px solid #95badf;
}

.listings ul li .property_details h1 {
   color: #666464;
   font-family: "lato-bold", Helvetica, Arial, sans-serif;
   font-size: 16px !important;
   font-weight: bold;
   margin-bottom: 5px;
   line-height: 28px;
}

.listings ul li .property_details h1 a {
   text-decoration: none;
   color: #666464;
}

.listings ul li .property_details h2 {
   color: #9d9d9d;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   font-size: 12px;
   line-height: 26px;
}

.listings ul li .property_details .property_size {
   color: #676767;
}

.listings .more_listing {
   display: block;
   width: 100%;
   text-align: center;
   margin: 84px 0 22px 0;
}

.listings .more_listing_btn {
   text-decoration: none;
   padding: 20px 40px;
   border: 2px solid #bfd9f1;
   border-radius: 30px;
   -webkit-border-radius: 30px;
   -moz-border-radius: 30px;
   -o-border-radius: 30px;
   color: #afcbe6;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   font-size: 16px;
   text-transform: uppercase;
   letter-spacing: 1px;
   text-align: center;

   transition: all 0.2s linear;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
}

.listings .more_listing_btn:hover {
   color: #a0c3e5;
   border: 2px solid #a0c3e5;
}

/*  footer  */
footer {
   padding-top: 100px;
   background: #95badf;
}

footer .footer > ul {
   overflow: hidden;
}

footer .footer > ul > li {
   display: block;
   float: left;
   list-style: none;
   margin-right: 60px;
}

footer .footer > ul > li:last-child {
   margin-right: 0;
}

footer .footer > ul > li.links {
   width: 197px;
}

footer ul li.links > ul > li {
   display: block;
   width: 100%;
   list-style: none;
   margin-bottom: 27px;
}

footer ul li.links > ul > li:last-child {
   margin-bottom: 0;
}

footer .footer > ul > li.links li a {
   text-decoration: none;
   display: block;
   color: #fff;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   font-size: 16px;
   letter-spacing: 0.5px;
   text-align: left;
}

footer .footer > ul > li.about {
   width: 327px;
}

footer ul li.about p {
   color: #fff;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   font-size: 16px;
   letter-spacing: 0.5px;
   line-height: 34px;
   margin-top: -9px;
   padding: 10px;
}

footer ul li.about > ul > li {
   display: inline-block;
   margin-right: 20px;
   margin-top: 30px;
}

footer ul li.about > ul > li:last-child {
   margin-right: 0;
}

footer ul li.about > ul > li a {
   background: url("../img/social_media.png") no-repeat;
}

footer ul li.about > ul > li a.facebook {
   display: block;
   width: 10px;
   height: 18px;
   background-position: 0 0;
}
footer ul li.about > ul > li a.twitter {
   display: block;
   width: 19px;
   height: 18px;
   background-position: -11px 0px;
}
footer ul li.about > ul > li a.google {
   display: block;
   width: 10px;
   height: 18px;
   background-position: -31px 0px;
}
footer ul li.about > ul > li a.skype {
   display: block;
   width: 17px;
   height: 18px;
   background-position: -43px 0px;
}

footer .copyrights {
   display: block;
   text-align: center;
   padding: 40px 0;
   margin-top: 60px;
   color: #fff;
   font-family: "lato-regular", Helvetica, Arial, sans-serif;
   font-size: 14px;
   letter-spacing: 0.5px;
   border-top: 1px solid #82abd4;
}

footer .copyrights a.ph_link {
   font-family: "Lato-bold", Helvetica, Arial, sans-serif;
   font-weight: bold;
   text-decoration: none;
}

@media screen and (max-width: 1140px) {
   /* HEADER ET RESET  */
   header .logo,
   header a.hamburger,
   header nav,
   header nav .login_btn,
   header nav ul,
   footer .wrapper.footer ul li.links,
   footer .wrapper.footer ul li.about {
      float: none;
      margin: 0;
   }
   header {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px 20px;
   }
   header .wrapper,
   header nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
   }
   header nav .login_btn {
      margin-left: 30px;
   }

   /* LISTINGS  */
   .listings {
      padding-top: 20px;
   }
   .wrapper {
      width: 100%;
   }
   .listings ul.properties_list {
      display: flex;
      justify-content: center;
      align-items: stretch;
      flex-wrap: wrap;
      width: 100%;
   }
   .listings ul.properties_list li {
      float: none;
      width: 30%;
      margin: 10px;
   }
   .listings ul.properties_list li:nth-child(3n + 0) {
      margin: 10px;
   }

   .listings ul li .property_details {
      width: 100%;
      padding: 7px 10px;
   }

   /* SEARCH  */
   .search #search {
      float: none;
      width: 80vw;
   }
   .search .wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 10px;
   }
   .search .advanced_search_icon {
      float: none;
      margin-top: 0;
      margin-right: 10px;
   }
   .search .advanced_search .arrow {
      right: 26px;
   }

   /* FOOTER  */
   footer .wrapper.footer ul {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
   }
   footer .wrapper.footer ul {
      margin-bottom: 40px;
   }
   footer .wrapper.footer ul li.links ul {
      flex-direction: column;
   }
}
@media screen and (max-width: 900px) {
   /* SEARCH  */
   .search .advanced_search .float {
      float: none;
      width: 100%;
      height: 1px;
      margin: 0;
   }
   .advanced_search.advanced_displayed .wrapper form .search_fields {
      display: flex;
      flex-direction: column;
   }
   .search .advanced_search #check_in_date,
   .search .advanced_search #check_out_date,
   .search .advanced_search #min_price,
   .search .advanced_search #keywords,
   .search .advanced_search #max_price {
      width: 100%;
      padding: 0 60px 0 20px;
   }
   .search .advanced_search input {
      margin-right: 20%;
   }
   .search .advanced_search #check_in_date,
   .search .advanced_search #check_out_date {
      background-position: 98% center;
   }

   /* LISTING  */
   .listings ul.properties_list li:first-child {
      width: calc(90% + 20px);
   }
   .listings ul.properties_list li {
      width: 45%;
   }

   /* FOOTER  */
   footer .wrapper.footer ul {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
   }
   footer .wrapper.footer ul li.links a {
      text-align: center;
   }
   footer .wrapper.footer ul li.about ul {
      flex-direction: row;
   }
   footer .wrapper.footer ul li.about ul li a {
      transform: scale(1.5);
      margin-right: 20px;
   }
}
@media screen and (max-width: 750px) {
   /* HEADER  */
   header {
      padding: 0;
   }
   header nav {
      display: none;
   }
   header .logo {
      margin-left: 20px;
   }
   header a.hamburger {
      display: block;
      margin-right: 20px;
   }
   header nav.active {
      position: absolute;
      display: flex;
      top: 60px;
      left: 0;
      right: 0;
      background: rgba(28, 54, 85, 0.2);
      backdrop-filter: blur(5px);
      z-index: 1;
   }
   header nav.active ul {
      display: flex;
      flex-direction: column;
      height: 275px;
      width: 50%;
      justify-content: space-between;
   }
   header nav.active ul li {
      width: 100%;
   }
   header nav.active ul li a {
      display: block;
      padding: 20px 0;
   }
   header nav.active .login_btn {
      margin: 0;
      margin-right: 30px;
      align-items: flex-end;
   }
}

@media screen and (max-width: 560px) {
   /* LISTING  */
   .listings ul.properties_list li {
      width: 90%;
   }
}

@media screen and (max-width: 420px) {
   /* SEARCH  */
   .search {
      height: auto;
   }
   .search .wrapper {
      flex-direction: column;
   }
   .search .advanced_search_icon {
      margin: 0;
      margin-bottom: 20px;
   }
   .search .advanced_search {
      top: 146px;
   }
   .search .advanced_search form {
      width: 100%;
   }
   .search .advanced_search #check_in_date,
   .search .advanced_search #check_out_date,
   .search .advanced_search #min_price,
   .search .advanced_search #max_price,
   .search .advanced_search #keywords,
   .search #search {
      font-size: 16px;
      width: 100%;
   }
   .search #search {
      width: 90vw;
      text-align: center;
   }
   .search .advanced_search .arrow {
      display: none;
   }
}
@media screen and (max-width: 390px) {
   .hero .caption {
      top: 30%;
   }
   .hero .caption h2 {
      font-size: 70px;
   }
   .hero .caption h3 {
      font-size: 30px;
   }
}
