

.dropdown-menu .dropdown-menu{
  position: static;
  background: 0;
  border: 0;
  box-shadow: none;
  float: none;
  width: 100%;
  background: rgba(43,84,201, 0.5);
  border-radius: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}
.dropdown-menu .dropdown-menu li:hover a{
  background: 0;
  color: #e6d47d;
}
.dropdown-menu.active .dropdown-menu{
  display: block;
}
.navbar-nav>li.menu-item-has-children{
  position: relative;
}
.navbar-nav>li>.dropdown-menu{
  padding-top: 10px;
  padding-bottom: 10px;
  width: 256px;
  transition: all 0.3s;
  display: block;
}

.dropdown-menu>li.menu-item-has-children::before{
  content: "";
  width: 8px;
  height: 5px;
  background: url(../images/down-arrow-2.png);
  display: block;
  position: absolute;
  top: 14px;
  transition: all 0.3s;
  left: 14px;
  background-repeat: no-repeat;
  background-size: contain;
}
.dropdown-menu>li.menu-item-has-children.active::before{
  transform: rotate(-180deg);
}
.dropdown-menu>li>a{
  white-space: normal;
}
.dropdown-menu .dropdown-menu{
  display: none;
}
.dropdown-menu li.active .dropdown-menu{
  display: block;
}
.dropdown-menu .dropdown-menu a{
    color: #fff;
    text-transform: none;
    padding-left: 32px;
    padding-right: 20px;
    padding-top: 7px;
    padding-bottom: 7px;
}
.dropdown-menu li.menu-item-has-children::before{
  display: none;
}
@media only screen and (min-width: 768px) {
  .navbar-nav>li>.dropdown-menu{
    visibility: hidden;
    display: block;
    opacity: 0;
    transform: translateY(10px);
  }
  .navbar-nav>li {
      padding: 16px 0 52px  0;
  }
  .navbar-nav>.dropdown.hovered >.dropdown-menu {
    opacity: 1;
    visibility: visible;
      transform: translateY(0px);
  }
  .navbar-nav>li>a{
    padding-top: 0;
    padding-bottom: 0;
  }
}

.toggle-menu{
  display: none;
}
#logo .bcg{
  display: none;
}


.grid-properties{
  margin: 0;
  font-size: 0;
}
.grid-properties .entry{
  display: block;
  vertical-align: top;
  padding: 0;
  margin:0  0 30px;
  font-size: 14px;
}
.grid-properties .entry-holder{
    background: #eeebd7;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    height: 400px;
}

.grid-properties .entry-holder:hover{
      box-shadow: 0 0 15px #b9b5a1;
}
.grid-properties .entry-holder:hover .entry-img a{
  transform: scale(1.1);
}
.grid-properties .entry-holder .cover{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  background: rgb(33 64 154 / 0.8);
}
.grid-properties .entry-holder .cover .title{
  display: table;
  height: 100%;
  padding: 0 20px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
.grid-properties .entry-holder .cover a{
  color: #fff;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display:table-cell;
    vertical-align: middle;
}
.grid-properties .entry-holder .cover .title span{
  width: 30px;
  height: 2px;
  background: #cdba60;
  display: block;
  margin-bottom: 8px;
}
.grid-properties .entry-holder:hover .cover{
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}
.grid-properties .entry .entry-img{
      position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
  overflow: hidden;
}
.grid-properties .entry .entry-img a{
  display: block;
  height: 100%;
  transform: scale(1);
  transition: all 0.3s;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.grid-properties .entry .entry-details{
  padding: 15px 20px 20px;
  position: absolute;
  bottom: 0;
  min-height: 85px;
  width: 100%;
  background-color: rgba(0, 0, 0, .5);
}
.grid-properties .entry .entry-details h3{
  margin: 0;
  padding-bottom: 5px;
}
.grid-properties .entry .entry-details h3 a{
  color: #fff;
  text-decoration: none;
}
.grid-properties .entry .entry-details .location{
  padding-bottom: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  display: none !important;
}
.grid-properties .entry .entry-details .location span{
  background: url(../images/icon-marker-red.png) no-repeat;
  background-size: cover;
  width: 15px;
  height: 18px;
  display: inline-block;
  vertical-align: sub;
}
.grid-properties .entry .entry-details .tags{
  display: none !important;
}
.grid-properties .entry .entry-details .tags span{
  display: inline-block;
  background: #a7953e;
  border-radius: 7px;
  font-size: 12px;
  color: #fff;
  padding: 1px 3px;
  margin: 0 2px;
}
.grid-properties .entry .entry-details .entry-more{
  display: none;
  background:url('../images/icon-gold-arrow.png');
  width: 20px;
  height: 22px;
  position: absolute;
  right: 20px;
  bottom: 20px;
}


/*carousel*/
.grid-properties.slides{margin: 0;padding: 0 !important;}
.grid-properties.slides .entry{ width: 100%; padding:0;}


.flexslider.carousel  .flex-control-nav li a{
  text-indent: 999px;
  overflow: hidden;
}
.flexslider.carousel .flex-control-paging li a.flex-active{
  background: #21409a;
}
.flexslider.carousel .flex-control-paging li a{
  background: #a7953e;
}
.section.section-gallery{
  background: #fff;
}
.section.section-gallery .page-title{
  color: #000;
  font-weight: 600;
}
.gallery>ul>li .cover p{
  font-weight: 600;
}


/*Gallery*/

.grid-properties.x4{}
.grid-properties.x4 .entry{


}

.tab-filter{
  margin-bottom: 30px;
}
.tab-filter input{
  display: none;
}
.tab-filter label{
  cursor: pointer;
  background: #dfedf1;
  padding: 4px 20px;
  font-weight: 400;
}
.tab-filter input[type='radio']::after{
  content: "";

}

.tab-filter input[type='radio']:checked + label{
  background: #21409a;
  color: #fff;
}
.sub-filter{
  padding: 2px 5px;
  background: #ffffff;
}
.sub-filter label{
  background: 0;
  padding: 0 2px;
}
.sub-filter input[type='radio']:checked + label{
  background: 0;
  color: #21409a;
  font-weight: 600;
}

/*--side filter --*/
#sidebar{}
#sidebar .title{
  text-align: right;
}

.sub-title{
  display: block;
}

.sub-title .h2,
#sidebar .title h4{
  text-transform: uppercase;
  position: relative;
  padding: 15px 0;
  font-size: 18px;
  font-weight: bold;
}
.sub-title .h2::before,
#sidebar .title h4::before{
  content: "";
  width: 20px;
  height: 2px;
  position: absolute;
  right: 0;
  top: 0;
  background: #a7953e;
}

.sub-title .h2::before{
  display: none;
}



.filter-wrap{
  margin-bottom: 30px;
}
.filter-wrap .filter-title{
  color: #464646;
  font-size: 16px;
  margin-bottom: 10px;
}
.filter-wrap .filter-group{}
.filter-wrap .filter-group{
  margin-bottom: 1px;
}
.filter-wrap .filter-group h4{
  color: #464646;
  font-size: 15px;
  font-weight: 400;
  background: #dfedf1;
  margin: 0 0 1px 0;
  padding: 8px 15px 8px 30px;
  cursor: pointer;
  position: relative;
}
.filter-wrap .filter-group h4::before{
  content: "";
  background-image: url(../images/ico-arrow-up.png);
  background-repeat: no-repeat;
  display: block;
  width: 10px;
  background-size: cover;
  height: 6px;
  left: 15px;
  top: 13px;
  position: absolute;
  transform: rotate(-180deg);
  transition: all 0.3s;
}
.filter-wrap .filter-group.active h4::before{
    transform: rotate(0);
}
input[type='radio']:after {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    top: -1px;
    left: 0px;
    position: relative;
    background-color: #fff;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 1px solid #000;
}

input[type='radio']:checked:after {
   background-color: #a7953e;
}

input[type='radio']:checked + label{
  color: #a7953e;
}
.filter-wrap .filter-form{
  background: #e5e5e5;
  display: none;
  overflow: hidden;
  transition: all 0.3s;
}
.filter-wrap .filter-group.active .filter-form{
  display: block;
}
.filter-wrap .filter-form .form{
  padding: 10px 20px;
}
.filter-wrap .filter-form .form.disabled{
  pointer-events: none;
  opacity: 0.5;
}
.filter-form input[type=radio],
.filter-form input[type=checkbox]{
  vertical-align: middle;
  margin: 0;
  cursor: pointer;
}
.filter-form label{
  font-weight: 400;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
  color: #464646;

}

.checkbox-group{
}
.checkbox-group .cg-label{
  position: relative;
  color: #464646;
  font-weight: 400;
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
    color: #464646;
    padding-left: 20px;
}
.checkbox-group .cg-label::before{
  content: "";
  background-image: url(../images/ico-arrow-up.png);
  background-repeat: no-repeat;
  display: block;
  width: 10px;
  background-size: cover;
  height: 6px;
  left: 2px;
  top: 7px;
  position: absolute;
  transform: rotate(0);
  transition: all 0.3s;
}
.checkbox-group.active .cg-label::before{
  transform: rotate(-180deg);
}
.checkbox-group .checkbox-group-inside{
    margin: 0 0 0 20px;
    padding: 0 !important;
    display: none;
}
.checkbox-group.active .checkbox-group-inside{
  display: block;
}
.checkbox-container{
  display: block;
  position: relative;
  padding-left: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-bottom: 3px;
}
.checkbox-container label{
  padding-left: 23px;
}
/* Hide the browser's default checkbox */
.checkbox-container input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkbox-container .checkmark {
  position: absolute;
  top: 5px;
  left: 0;
  height: 16px;
  pointer-events: none;
  width: 16px;
  background-color: #fff;
  border: 1px solid #787878;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input[type=checkbox] ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input[type=checkbox]:checked ~ .checkmark {
  background-color: #a7953e;
}

.checkbox-container input[type=checkbox]:checked ~ label{
  color: #a7953e;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input[type=checkbox]:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 4px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/*pagination*/
.pagination>li>a, .pagination>li>span{

}
.pagination>li>a, .pagination>li>span{
  background-color: #eeebd7;
  border: 1px solid #a7953e;
      margin-left: 3px;
      color: #000;
}
.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover{
  background: #a7953e;
  color: #fff;
}
.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover{
      border-color: #a7953e;
}
 .pagination>li>span.current{
   background: #a7953e;
   color: #fff;
 }
  .pagination>li>span.current:hover{

  }
.pagination-lg>li:last-child>a, .pagination-lg>li:last-child>span{
  border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.pagination-lg>li:first-child>a, .pagination-lg>li:first-child>span{
  border-top-left-radius: 0;
border-bottom-left-radius: 0;
}




.figcaption{
  display: none;
}
.fancybox-thumbs__list a{
  height: 100%;
}
.fancybox-thumbs__list a:before{
  border-color: #0fb6e9;
}


  .fancybox-thumbs {
    top: auto;
    width: auto;
    bottom: 0;
    left: 0;
    height: 127px;
    right : 0;
    padding: 0 10px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
  }

  .fancybox-show-thumbs .fancybox-inner {
    right: 0;
    bottom: 127px;
  }


.section .full-slider .slides>li>a{
  width: 100%;
  height: 100%;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.wrap-page-title{
  padding: 6px 0;
  margin-bottom: 20px;
  background: #cdba60;
}
.wrap-page-title .page-title{
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;

  font-weight: 500;
  font-size: 22px;
  letter-spacing: 5px;

}

.side-title{
  float: right;
}
.side-title .h2{}
.highlight{
  margin: 20px 0 40px;
  background: #eeebd7;
  padding: 20px 30px;
}
.highlight img{
  padding-bottom: 20px;
}
.highlight .item{

}
.highlight .item p{
  margin-bottom: 0;
  padding-bottom: 0;
}
.flexslider.carousel .flex-control-nav{
  bottom: -20px;
}

@media(min-width:768px){
  .highlight .item{
    display: flex;
    align-items: center;
  }
  .highlight .item p{
      padding-left: 20px;
    }
    .highlight img{
      padding-bottom: 0;
    }
}

@media(min-width:992px){
  .dropdown-menu>li.menu-item-has-children::before{
    content: "";
    width: 8px;
    height: 5px;
    background: url(../images/down-arrow-2.png);
    display: block;
    position: absolute;
    top: 14px;
    transition: all 0.3s;
    left: 14px;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .dropdown-menu>li.menu-item-has-children.active::before{
    transform: rotate(-180deg);
  }

  .grid-properties{
    margin: 0 -40px;
  }
  .grid-properties .entry{
    width: 50%;
    display: inline-block;
    padding: 0 40px;
  }
    .grid-properties.full{
      margin: 0 -30px;
    }
  .grid-properties.full .entry{
    width: calc(100% /3);
    padding: 0 30px;
  }

  .grid-properties.x4 {
      margin: 0 -8px;
  }
  .grid-properties.x4 .entry{
    padding: 0 8px;
      width: calc(100% /2);
  }

  .sub-title{
    float: right;
  }
  .sub-title .h2::before{
    display: block;
  }


  .flexslider.carousel .flex-control-nav{
    bottom: auto;
    top: -57px;
    text-align: right;
  }




}

.vid-player{
  overflow: hidden;
  box-shadow: 0 0 12px #63561ab0;
  position: relative;
}
.vid-player img{
  max-width: 100%;
}
.vid-player br{
  display: none;
}
.vid-player a{
    transition: all 0.3s;
  display: block;
  overflow: hidden;
}
.vid-player span{
  position: absolute;
  left: 50%;
  transition: all 0.3s;
  top: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  color: #fff;
  transition: all 0.3s;
  overflow: hidden;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid #fff;
}
.vid-player a:hover{
  transform: scale(1.07);
}
.vid-player a:hover::before{
  opacity: 1;
  visibility: visible;
}
.vid-player a:hover ~ span{
 border-color: #e6d47d;
 color: #e6d47d;
}
.vid-player a:hover ~ span i{
  animation-name: run;
  animation-timing-function: ease;
  animation-duration: 0.5s;
}
.vid-player a::before{
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  left: 0;
  transition: all 0.3s;
  top: 0;
  width: 100%;
  background: rgb(33 64 154 / 21%);
  opacity: 0;
  visibility: hidden;
}
.vid-player a:hover > span{
  transform: translate(-50%,-50%);
}
.vid-player span i{
  font-size: 30px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
}

@keyframes run {
  0% {transform: translate(-50%,-50%); }
  35% {transform: translate(150%,-50%);visibility: hidden; opacity: 0;}
  50% {transform: translate(-150%,-50%); visibility: hidden;}
  100% {transform: translate(-50%,-50%); visibility: visible; opacity: 1;}
}
@media(min-width:1199px){
    .grid-properties.x4 .entry{
        width: calc(100% /4);
    }
}
