/*
Theme Name: Val Cellis Real Estate
Theme URI: http://valelliscom.rs4.aios-staging.com
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.4.5
Tags: one-column, two-columns, right-sidebar, custom-menu, full-width-template, sticky-post
License: Proprietary
License URI: http://www.agentimage.com
Template: aios-starter-theme
*/

/*

TABLE OF CONTENTS

1. Custom CSS
2.	IP styles
3. MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css

*/


/*******************************************************
 *
 * 1. Navigation
 *
 *******************************************************/


/* Sub Menu */

.main-navigation li {
    position:relative;
    display: inline-block;
}

.main-navigation li a{
    font: 300 20px/24px 'Barlow Condensed', sans-serif;
    color: #fff;
    text-transform: uppercase;
    padding: 0 18px;
}

.main-navigation .sub-menu {
    list-style: none outside none;
    margin: 0;
    background: rgba(0,0,0,0.9) url("images/submenu-fixer.png");
    display: none;
    padding: 0;
    position: absolute;
    width:100%;
    min-width: 180px;
}

.main-navigation .sub-menu a {
    color: #FFFFFF;
    display: block;
    padding: 10px;
}

.main-navigation .sub-menu a:hover {
    background: none repeat scroll 0 0 #b2b2b2;
    color: #000000;
    text-decoration: none;
}

.main-navigation .sub-menu .sub-menu {
    margin-left: 100%;
    top: 0;
    padding-top: 0;
}

.main-navigation .sub-menu .sub-menu li a:hover{
    background: rgba(4,55,98,.80);
    color: #fff;
}


.main-navigation li:hover > .sub-menu {
    display: block;
}

.main-navigation .sub-menu li {
    position: relative;
    display: block;
}

.main-navigation  > li:nth-last-child(1) a:before{
    display: none;
}

.main-navigation  > li > .sub-menu > li > a{
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

 .main-navigation  > li > .sub-menu > li > a:hover {
    background: rgba(4,55,98,.80);
    color: #fff;
}

.main-navigation  > li:first-child {
    margin-left: 0;
}


.main-navigation  > li:last-child {
    margin-right: 0;
}

.main-navigation  > li a:before > .sub-menu {
    display: none;
}


.main-navigation .sub-menu {
    background: transparent;
    text-align: center;
    width: 100%;
    /*min-width: 218px;*/
    min-width: 180px;
    display: none;
    list-style: none outside none;
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 20px;
}

.main-navigation .sub-menu li {
    padding: 0;
}

/*.main-navigation > li:nth-child(1) .sub-menu {
    left: 55%;
    transform: translateX(-50%);
}

.main-navigation > li:nth-child(2) .sub-menu {
    left: 55%;
    transform: translateX(-50%);
}*/


.main-navigation  .sub-menu li a {
    padding: 5px 0;
    font-size: 13px;
    background: rgba(0,33,61,.80);
    box-shadow: inset 0 0 0 0 #fff;
    display: block;
}

.main-navigation li a:hover {
    background: rgba(0,33,61,.80);
}

#main-navigation{
    display: none;
}

/*******************************************************
 *
 * 2. Custom CSS
 *
 *******************************************************/

/* Global */

body{
	font-family: 'Muli', sans-serif;
	font-size: 13px;
	background: #FFF;
	color: #000000;
	margin: 0;

    /* Remove the comment from line 85 to 86 if the font issue in safari occurs */
    /* -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; */
}


a,
a:hover,
a:visited,
a:focus,
textarea{
    text-decoration: none;
    outline: 0;
    cursor: pointer;
}

textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    border-radius: 0;
}

.slick-track *{
    outline: none;
}

select::-ms-expand {
    display: none;
}

select{
    -webkit-appearance: none;
}

/*FIXED HEADER*/

#fixed-header {
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 78px;
    transform: translateY(-100%);
    transition: all 0.4s ease-in-out;
}

#fixed-header.active .brokerage-logo {
    display: none;
}


#fixed-header.active .header-container{
    padding: 0;
}

#fixed-header.active .header-wrapper {
    background: #231f20;

}

#fixed-header.active .main-navigation li a:hover{
    background: transparent;
}

#fixed-header.active .main-navigation .sub-menu li a{
    background: rgba(0,33,61,.80);
}

#fixed-header.active .main-navigation .sub-menu li a:hover{
    background: rgba(4,55,98,.80);
}

#fixed-header.active .logo img{
    max-width: 128px;
    padding: 7px 5px;
}


#fixed-header.active .header-wrapper .navigation{
    height: 97px;
}

#fixed-header.active .main-navigation .sub-menu{
    padding-top: 35px;
}

#fixed-header.active .main-navigation .sub-menu .sub-menu{
    margin-left: 100%;
    top: 0;
    padding-top: 0;
}

#fixed-header.active .aios-split-nav:after{
    opacity: 0;
}


/*HEADER*/

.header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1028;
    width: 100%;
    background: url(images/nav-bg.png) no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    -webkit-transition: 0.4s all ease-out;
    transition: 0.4s all ease-out;
}

/*LOGO*/

.logo {
    display: block;
    text-align: center;
	padding: 0;
}

.logo img{
    max-width: 100%;
    width: 230px;
}


/*NAVIGATION*/

.header-container {
    padding-top: 75px;
}

.main-navigationigation {
    display: flex;
    align-items: center;
    padding: 35px 0 0;
}

.main-navigation > li > a {
    padding: 0;
}


.main-navigation > li {
    position: relative;
    display: block;
/*    padding: 0 15px;*/
    margin: 0px;
}


.main-navigation li a {
    font: 16px/26px 'Muli', sans-serif;
    letter-spacing: 0.7px;
    color: #fff;
    text-transform: uppercase;
    padding: 24px 8px;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
}

.aios-split-nav{
    display: flex;
}

.navigation .aios-split-nav:nth-of-type(1) {
    justify-content: flex-end;
}

.main-navigation > li:nth-child(1) {
    padding-left: 0;
}

.main-navigation > li:nth-last-child(1) {
    padding-right: 0;
}

.header-wrapper .navigation {
    display: flex;
    align-items: center;
    -webkit-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
}


/*SLIDESHOW*/


.slideshow-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slideshow-container .cycloneslider-slide:before,
.slideshow-container #aios-slider-hp-slideshow::after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13,13,13,.35);
}

/*SLIDESHOW TAGLINE*/
.slide-tagline-container {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    text-align: center;
}

.slide-contact {
    display: block;
    padding: 22px 0;
}

.slide-tagline-container h1.slide-tagline {
    font: 40px/26px 'Playfair Display', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.96px;
    color: #fff;
}

.slide-tagline-container span.slide-email,
.slide-tagline-container span.slide-phone {
    font-size: 18px;
    line-height: 31px;
    font-weight: 500;
    color: #fff;
    margin-right: 20px;
}

.slide-tagline-container em.ai-font-envelope-f,
.slide-tagline-container em.ai-font-phone {
    margin-right: 5px;
    font-size: 13px;
}

.slide-contact span.slide-email a {
    color: #fff;
}

.slide-contact span {
    position: relative;
}

.slide-contact span:before {
    position: absolute;
    right: 0;
    top: 5px;
    left: -14px;
    width: 2px;
    height: 15px;
    content: '';
    background: #ffffff;
}

.slide-contact span:nth-child(1):before {
    display: none;
}
/*CTA */

.cta-wrap {
    position: absolute;
    text-align: center;
    width: 100%;
    left: 0;
    bottom: 25%;

}

.cta-list {
    text-align: center;
    width: 100%;
    max-width: 328px;
    height: 65px;
    position: relative;
    display: inline-block;
}

.cta-list:before{
    position: absolute;
    content: '';
    bottom: -33px;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(images/cta-box-shadow.png) no-repeat;
    background-size: 100% 100%;
    background-position: center center;
}

.cta-list a {
    border: 1px solid rgba(0,33,61,.80);
    background: transparent;
    box-sizing: border-box;
    text-align: center;
    display: inline-block;
    height: 100%;
    width: 100%;
    padding: 10px 15px;
    vertical-align: middle;
    font-size: 0;
    text-decoration: none;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -50.25px -50%;
    transition: all 0.6s;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
}

.cta-list a:hover{
    background: rgba(0,33,61,.80);
}

.cta-title {
    color: #fff;
    width: 100%;
    vertical-align: middle;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 5.04px;
    text-transform: uppercase;
    position: relative;
    line-height: 26px;
}

.cta-title em {
    font-style: normal;
    font-size: 15px;
    display: block;
}

.cta-list a:before {
    content: '';
    width: 0%;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.cta-list a:after {
    position: absolute;
    content: '';
    bottom: -4px;
    left: 50%;
    width: 226px;
    height: 7px;
    background: url(images/cta-line.png) no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transform: translateX(-50%);
}

/*QUICKSEARCH*/



.qs-container{
    position: absolute;
    width: 100%;
    left: 0;
    margin-top: -132px;
    bottom: auto !important;
    /*background: url(images/qs-bg.png) no-repeat;
    background-position: center center;
    background-size: 100% 100%;*/
    z-index: 2;
}

.qs-align{
    display: inline;
}


.qs-btn {
    display: inline-block;
    vertical-align: middle;
    width: 10.79%;
    height: 42px;
    background: rgba(4,55,98,.80);
    text-align: center;
    margin-left: 2px;
    line-height: 42px;
    -webkit-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
}

.qs-btn:hover{
    background: #00213d;
}

.qs-btn a {
    line-height: 42px;
    color: #FFFFFF;
    font: 500 12px 'Muli', sans-serif;
    letter-spacing: 0.72px;
    text-transform: uppercase;
}

.qs-wrapper h2.qs-title {
    font: 24px/24px 'Playfair Display', sans-serif;
    letter-spacing: 2.4px;
    color: #fff;
    display: block;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

.qs-wrapper form{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    padding: 31px 0;
}

.qs-wrapper label{
    display: none;
}

.qs-wrapper select.city-long{
   width: 16.85%;
    height: 42px;
    vertical-align: middle;
    text-transform: uppercase;
    border: none;
    font: 10px 'Muli', sans-serif;
    color: #FFFFFF;

    padding: 0 19px;
    background: rgba(51,46,47,.80);
    -webkit-appearance: none;
    letter-spacing: -0.36px;
}

.qs-wrapper select.long {
    width: 21.15%;
    height: 42px;
    vertical-align: middle;
    text-transform: uppercase;
    border: none;
    font: 10px 'Muli', sans-serif;
    color: #FFFFFF;
    padding: 0 19px;
    background: rgba(51,46,47,.80) url(images/dropdown-arrow.png) no-repeat scroll right 12px center;
    -webkit-appearance: none;
    letter-spacing: 0.6px;
}

.qs-wrapper select.short{
    width: 9.57%;
    height: 42px;
    vertical-align: middle;
    text-transform: uppercase;
    border: none;
    font: 10px 'Muli', sans-serif;
    color: #FFFFFF;

    padding: 0 19px;
    background: rgba(51,46,47,.80) url(images/dropdown-arrow.png) no-repeat scroll right 12px center;
    -webkit-appearance: none;
    letter-spacing: -0.36px;

}

.qs-wrapper input#minPrice, .qs-wrapper input#maxPrice {
    width: 9.57%;
    height: 42px;
    vertical-align: middle;
    text-transform: uppercase;
    border: none;
    font: 10px 'Muli', sans-serif;
    color: #FFFFFF;

    padding: 0 19px;
    background: rgba(51,46,47,.80);
    letter-spacing: -0.36px;
}



.qs-wrapper  input[type="submit"] {
    font: 500 12px 'Muli', sans-serif;
    letter-spacing: 0.72px;
    color: #fff;
    background: rgba(0,33,61,.80);
    vertical-align: middle;
    text-transform: uppercase;
    border: none;
    outline: none;
    height: 42px;
    width: 10.1%;
    margin-left: 5px;
    -webkit-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
}

.qs-wrapper input[type="submit"]:hover{
    background: #00213d;
}


.qs-wrapper .btn-group.bootstrap-select.show-tick.qs-select{
    /*Set width of the form*/
    width: 16.85%
}

aside.sidebar .btn-group.bootstrap-select.show-tick.qs-select{
    width: 100%;
}

.qs-wrapper .bootstrap-select.btn-group .dropdown-toggle,
aside.sidebar .bootstrap-select.btn-group .dropdown-toggle  {
    /*form appearance should be set here
    no height attribute. set the height by setting the padding*/
    height: 42px;
    vertical-align: middle;
    border: none;
    color: #FFFFFF;
    padding: 0 19px;
    background: rgba(51,46,47,.80);
    -webkit-appearance: none;
    outline: none!important;
    box-shadow: none!important;
    border-radius: 0!important;
}

aside.sidebar .bootstrap-select.btn-group .dropdown-toggle{
    margin-bottom: 5px;
}

.qs-wrapper .bootstrap-select.btn-group .dropdown-menu {
    min-width: 100%;
}

.qs-wrapper .bootstrap-select.btn-group .dropdown-toggle .filter-option {
    /*font size, family, etc. should be set here*/
    font: 10px 'Muli', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.36px;
}

.qs-wrapper .bootstrap-select.btn-group .bs-searchbox input.form-control,
aside.sidebar .bootstrap-select.btn-group .bs-searchbox input.form-control  {
    width: 100% !important;
    border: 1px solid #ccc !important;
}

#custom-quick-search small.text-muted{
    display: none;
}


/*span.filter-option.pull-left {
    font: 10px 'Muli', sans-serif !important;
    color: #FFFFFF;
}


button.btn.dropdown-toggle.btn-default {
    width: 100%;
    height: 42px;
    vertical-align: middle;
    text-transform: uppercase;
    border: none;
    font: 10px 'Muli', sans-serif;
    color: #FFFFFF;
    padding: 0 19px;
    background: rgba(51,46,47,.80);
    -webkit-appearance: none;
    letter-spacing: -0.36px;
    outline: none!important;
}
.btn-group.bootstrap-select.show-tick.qs-select {
    width: 16.85% !important;
}
ul li span.text {
    color: #2a2a2a !important;
}
.hp-quick-search input.form-control{
    width: 100% !important;
    background: #fff !important;
    border: 1px #323235 solid !important;
    color: #000 !important;
    font-size: 11px !important;
}
.sidebar .btn-group.bootstrap-select.show-tick.qs-select, .sidebar #custom-quick-search #cityzip {
    width: 100% !important;
    margin-left: 0;
    margin-bottom: 5px;
}*/


/*HP WELCOME*/

.hp-welc-container {
    padding-bottom: 105px;
}

.welc-wrapper {
    position: relative;
    height: 766px;
}

.welc-wrapper:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    max-width: 668px;
    height: 100%;
    background: url(images/hp-outer-bg.jpg) no-repeat;
    background-position: left center;
    background-size: 100% 100%;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.welc-wrapper:after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 668px;
    background: rgba(255,255,255,.70);
}

.agent-wrapper {
    position: relative;
    z-index: 1;
    margin-top: -24%;
    text-align: center;
    display: block;
}


.agent-bg-inner {
    background: url(images/hp-inner-bg.jpg) no-repeat;
    background-size: 100% 100%;
    background-position: right center;
    position: relative;
    z-index: 1;
    max-width: 521px;
    height: 590px;
    margin-top: 34.9%;
    border: 20px solid #fff;
}

.agent-bg-inner:before {
    position: absolute;
    content: '';
    bottom: -57%;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(images/box-shadow.png) no-repeat;
    background-position: center center;
    background-size: 100%;
    z-index: 30;
}

.hp-content-container {
    text-align: center;
}

.hp-content-container p {
    font-size: 15px;
    line-height: 22px;
    font-weight: 300;
    color: #929292;
    letter-spacing: 0.3px;
    margin-bottom: 23px;
}

.hp-welc-content img {
    display: block;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 105px 0 42px;
}

.hp-read-more {
    display: flex;
    align-items: center;
    background: #00213d;
    width: 165px;
    height: 52px;
    margin: 39px auto;
    justify-content: center;
    -webkit-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
}

.hp-read-more:hover {
    background: rgba(0,33,61,.90);
}

.hp-read-more a {
    text-transform: uppercase;
    color: #fff;
    position: relative;
}

.hp-read-more a:before {
    position: absolute;
    content: '';
    bottom: -17px;
    display: flex;
    left: -44px;
    align-items: center;
    justify-content: center;
    width: 165px;
    height: 5px;
    background: url(images/btn-line.png) no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

.hp-fp{
    padding: 57px 0 95px;
    position: relative;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 1;
}
.fp-title h2{
    text-transform: uppercase;
    position: relative;
    color: #939598;
    font-size: 20px;
    letter-spacing: 5.6px;
    line-height: 26px;
    display: block;
    font-weight: 700;
    text-align: center;
    padding-bottom: 57px;
}

.fp-title span.fp-big {
    font: 48px 'Playfair Display', sans-serif;
    letter-spacing: 0.96px;
    color: #00213d;
    text-transform: uppercase;
    display: block;
}

.fp-holder {
    display: inline-block;
    vertical-align: top;
    width: 33.33%;
    padding: 0 7px;
}

.fp-inner {
    position:  relative;
}

.slick-slide.slick-center .fp-holder .fp-inner::before {
    content:  '';
    position: absolute;
    top: 0;
    left:  0;
    width:  100%;
    height:  100%;
    opacity:  0;
    background: rgba(0,33,61,.92);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    transition: all 0.8s ease;
    z-index: 2;
}


.slick-slide.slick-center .fp-holder .fp-inner:hover:before{
    opacity: 1;
}


.fp-holder a:hover .fp-hover{
    opacity: 1;
}


.fp-holder .fp-inner::after{
    content:  '';
    position: absolute;
    top: 0;
    left:  0;
    width:  100%;
    height:  100%;
    background: rgba(35,31,32,.90);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    transition: all 0.8s ease;
    z-index: 2;
}

.slick-slide.slick-center .fp-inner::after {
    opacity: 0;
}

.fp-holder.slick-current .fp-inner::before {
    opacity:  1;
}



.fp-canvas {
    position:  relative;
}

.fp-canvas canvas{
    display: block;
    width: 100%;
    background-size: cover;
    background-position: top center;
}

.fp-hover {
    position: absolute;
    top: 0;
    left:  0;
    width:  100%;
    height:  100%;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}


.fp-hover-details h3 {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font: 300 14px/22px 'Muli', sans-serif;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1.4px;
    z-index: 2;
}


.fp-hover-details span.find-icon{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url(images/magnifying-icon.png) no-repeat;
    background-position: center center;
    background-size: 56px 56px;
    margin-top: -25px;
    z-index: 2;
}


.fp-details {
    padding-bottom: 27px;
    opacity: 0;
    transform: translateY(100%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

.slick-slide.slick-center .fp-details {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(30px);
}


.fp-details::after {
    content:  '';
    display:  block;
    clear: both;
}

.fp-left {
    float:  left;
    display: inline-block;
    vertical-align: middle;
}

.fp-right {
    float:  right;
    display: inline-block;
    vertical-align: middle;
}

.fp-address span {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.32px;
    color: #231f20;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.fp-bb {
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    line-height: 22px;
    color: #929292;
}

.fp-bb.fp-divider {
    padding: 0 3px;
}

.fp-price {
    font-size: 36px;
    line-height: 36px;
    color: #231f20;
    letter-spacing: 2.16px;
    font-family: 'Playfair Display', sans-serif;
}


.slick-active.slick-center .fp-holder {
    position: relative;
}


.slick-active.slick-center .fp-holder a .fp-canvas:before {
    position: absolute;
    content: '';
    top: 0;
    right: -51px;
    height: 100%;
    width: 3.9%;
    background: url(images/fp-next.png) no-repeat;
    background-size: 100% 100%;
    background-position: center;
    z-index: 3;
}

.slick-active.slick-center .fp-holder a .fp-canvas:after {
    position: absolute;
    content: '';
    top: 0;
    left: -51px;
    height: 100%;
    width: 3.9%;
    background: url(images/fp-prev.png) no-repeat;
    background-size: 100% 100%;
    background-position: center;
    z-index: 3;
}


.fp-arrow .icon{
    transition: 400ms ease;
    -webkit-transition: 400ms ease;
    -moz-transition: 400ms ease;
    -o-transition: 400ms ease;
}


/*FEATURED COMMUNITIES*/

.fc-container{
    position: relative;
}

.fc-container:before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(images/fc-bg.jpg) no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.fc-container:after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245,245,245,.70);
}

.fc-content-wrap {
    margin-top: 18%;
    margin-left: 42px;
    width: 38%;
}

.fc-wrapper {
    padding: 9.23% 0;
    position: relative;
    background: url(images/fc-bg-right.png) no-repeat;
    background-position: right center;
    background-size: 100% 100%;
    z-index: 1;
}

.fc-left {
    float: left!important;
}

.fc-main{
    transform: translateY(30px);
}

.fc-item-sec-1 {
    margin-top: -100px;
}

.fc-item-sec-3 {
    margin-top: 100px;
}

.fc-item-sec-1, .fc-item-sec-2, .fc-item-sec-3 {
    width: 33.33%;
}

.fc-item{
    position: relative;
    margin-bottom: 3px;
    margin-left: 6px;
}

.fc-img {
    position: relative;
}

.fc-img canvas {
    display: block;
    width: 100%;
    height: 217px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.fc-item a {
    display: block;
}

/*.fc-img canvas{
    display: block;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}*/

.fc-img:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35,31,32,.50);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;

}

.fc-item a:hover .fc-img:before{
    background: rgba(0,33,61,.92);
}

.fc-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font: 300 14px/22px 'Muli', sans-serif;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1.4px;
    z-index: 2;
}


.fc-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
/*    background: rgba(0,33,61,.92);*/
    align-items: center;
    font: 300 14px/22px 'Muli', sans-serif;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1.4px;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.fc-item a:hover .fc-hover{
    opacity: 1;
}

span.view-more {
    margin-bottom: -75%;
    font-size: 10px;
    line-height: 22px;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

.fc-hover:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: url(images/fc-line.png) no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

.fc-hover:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: url(images/fc-line.png) no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

.fc-content-wrap h2{
    text-transform: uppercase;
    position: relative;
    color: #939598;
    font-size: 20px;
    letter-spacing: 5.6px;
    line-height: 26px;
    display: block;
    font-weight: 700;
    padding-bottom: 20px;
}

.fc-content-wrap span.fc-big {
    font: 40px 'Playfair Display', sans-serif;
    letter-spacing: 0.56px;
    color: #00213d;
    text-transform: uppercase;
    display: block;
}

.fc-content-wrap p {
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.3px;
    font-weight: 300;
    color: #878787;
}

.fc-learn-more {
    display: flex;
    align-items: center;
    background: #00213d;
    width: 165px;
    height: 52px;
    margin-top: 50px;
    justify-content: center;
}

.fc-learn-more:hover{
    background: rgba(0,33,61,.90);
}



.fc-learn-more a {
    text-transform: uppercase;
    color: #fff;
    position: relative;
}

.fc-learn-more a:before {
    position: absolute;
    content: '';
    bottom: -17px;
    display: flex;
    left: -41px;
    align-items: center;
    justify-content: center;
    width: 165px;
    height: 5px;
    background: url(images/btn-line.png) no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

/*FOOTER*/

.footer-wrapper{
    position: relative;
    padding: 31px 0 20px;
}

.footer-wrapper:before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(images/footer-bg.jpg) no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    z-index: -1;
}

.footer-wrapper:after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35,31,32,.5);
    z-index: -1;
}


/*FOOTER LOGO */

.footer-logo img {
    max-width: 228px;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 34px;
}

/*FOOTER CONTACT*/

.footer-contact {
    display: block;
    text-align: center;
    padding-bottom: 23px;
}


.footer-contact span.footer-phone{
    font-size: 17.69px;
    letter-spacing: 0.88px;
    font-weight: 300;
    color: #d3d3d3;
    padding-right: 20px;
}

.footer-contact span.footer-email,
.footer-contact span.footer-location{
    font-size: 14.37px;
    letter-spacing: 0.88px;
    font-weight: 300;
    color: #d3d3d3;
    padding-right: 20px;
    -webkit-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
}

.footer-contact span.footer-email:hover {
    color: #fff;
}

.footer-contact span.footer-email a {
    color: #d3d3d3;
}

.footer-contact span {
    position: relative;
}

.footer-contact span:before {
    position: absolute;
    content:  '';
    top: 2px;
    left: -15px;
    width: 1px;
    height: 14px;
    background: #d3d3d3;
}

.footer-contact span:nth-child(1):before {
    display: none;
}

.footer-contact em.ai-font-phone, .footer-contact em.ai-font-location-c{
    font-size: 16px;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
}

.footer-contact em.ai-font-envelope-f{
    font-size: 10px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}


/*FOOTER SMI*/

.footer-smi {
    display: block;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 51px;
}

.footer-smi a {
    background: transparent;
    border: 1px solid rgba(255,255,255,.20);
    color: #bcbdc0;
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin: 0 2.6px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

/*GET IN TOUCH*/

.ft-git-wrapper {
    text-align: center;
    display: block;
    margin: 0 auto;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.ft-git-wrapper h2 {
    font: 36px/26px 'Playfair Display',sans-serif;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    color: #fff;
    padding-bottom: 28px;
}


.footer-form {
position: relative;
color: #fff;
}


.footer-form .ff-row {
position: relative;
margin-bottom: 10px;
}

.footer-form .ff-row:after {
    clear: both;
    content: '';
    display: block;
}

.footer-form .ff-col {
    width: 48.88%;
    float: left;
    position: relative;
}

.footer-form .ff-col + .ff-col{
    width: 48.88%;
    margin-left: 2.24%;
}

.footer-form input[type=text],
.footer-form input[type=email],
.footer-form textarea {
    width: 100%;
    background: transparent;
    outline: none;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,.20);
    height: 43px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 1.3px;
    color: #e1e1e1;
    box-sizing: border-box;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.footer-form textarea {
    resize: none;
    line-height: 24px;
    height: 88px;
}

.ff-submit {
    position: absolute;
    top: 40px;
    right: 0;
    font-size: 20px;
    font-weight: 300;
    line-height: 23px;
    letter-spacing: 1.3px;
    padding: 10px;
    box-sizing: border-box;
    height: 39px;
    color: #98afbf;
    width: 50px;
}

.ff-submit img.ajax-loader {
    position: absolute;
    left: -19px;
}

.footer-form input[type=submit] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    font-size: 0;
    background: transparent;
    cursor: pointer;
    outline: none;
    border: none;
}

.footer-form .use-floating-validation-tip span.wpcf7-not-valid-tip {
    font-size: 12px;
    line-height: 15px;
}

.footer-form div.wpcf7{
    position: relative;
}

.footer-form div.wpcf7-response-output {
    margin: 0 auto;
    color: #fff;
    position: absolute;
    width: 100%;
}

.git-left {
    float: left;
}

.git-section {
    width: 85%;
    padding: 0 15px;
}

.git-logo {
    width: 15%;
}

.git-logo img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.git-logo img.img-top {
    padding-bottom: 10px;
}

/*FOOTER NAV*/

.footer-nav {
    text-align: center;
    display: block;
    padding: 37px 0 0;
}

.footer-nav li {
    display: inline-block;
    margin: 0 20px;
}

.footer-nav li a {
    font-size: 11px;
    line-height: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #8d8d8d;
    -webkit-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
}

.footer-nav li a:hover {
    color: #fff;
}


/*COPYRIGHT*/

.copyright {
    font-size: 11px;
    line-height: 20px;
    font-weight: 300;
    letter-spacing: 1.1px;
    color: #8d8d8d;
    text-align: center;
    padding-bottom: 10px;
}

.copyright a{
    color: #8d8d8d;
    -webkit-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
}

.copyright a:hover{
    color: #fff;
}


/*MLS LOGO*/

.mls-logo{
    font-size: 18px;
    color: #8d8d8d;
    text-align: center;
}

/*SIDEBAR*/

.sidebar .qs-wrapper form{
        width: 100%;
        margin: 0 auto;
    }

    .sidebar .qs-wrapper h2.qs-title:before,
    .sidebar .qs-wrapper h2.qs-title:after{
        display: none;
    }

    .sidebar .qs-wrapper select.long{
        width: 100%;
        margin-left: 0;
        margin-bottom: 5px;
        background: rgba(51,46,47,.80) url(images/dropdown-arrow.png) no-repeat scroll right 12px center;

    }

    .sidebar .qs-wrapper select.city-long{
        width: 100%;
        margin-left: 0;
        margin-bottom: 5px;
    }


    .sidebar .qs-wrapper select.short {
        width: calc(50% - 2px);
        margin-left: 0;
        display: block;
        float: left;
        margin-bottom: 5px;
        background: rgba(51,46,47,.80) url(images/dropdown-arrow.png) no-repeat scroll right 12px center;
    }

    .sidebar .qs-wrapper input#minPrice,
    .sidebar .qs-wrapper input#maxPrice {
        width: calc(50% - 2px);
        margin-left: 0;
        display: block;
        float: left;
        margin-bottom: 5px;
        background: rgba(51,46,47,.80);
    }

    .sidebar .qs-wrapper input[type="submit"]{
        width: 100%;
        text-align: center;
        margin: 0 auto 5px;
    }

    .sidebar .qs-btn {
        width: 100%;
        margin-left: 0;
    }

    .sidebar .qs-wrapper select.fl-r, .sidebar .qs-wrapper input[type="text"].fl-r {
        float: right !important;
    }


/*SIDEBAR 2*/

.sidebar .sb-cta{
    display: block;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
}

.sidebar .cta-title{
    color: #231f20;
    font-size: 15px;
}

.sidebar .cta-list {
    margin-bottom: 15px;
}

.sidebar .cta-list a{
    color: #231f20;
    border: 1px solid #231f20;
}

/*******************************************************
 *
 * 3. IP Styles
 *
 *******************************************************/

/*INNER PAGE BANNER*/
 .inner-page-banner{
    position: relative;
}

.inner-page-banner canvas {
    display: block;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top center;
    width: 100%;
}

.inner-page-banner:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13,13,13,.35);
}

.inner-page-banner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(images/nav-bg.png) no-repeat;
    background-position: top center;
    background-size: 100% 100%;
}

.ip-container [data-aios-reveal=true], .ip-container [data-aios-staggered-child=true] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.ip-container .animated {
    animation: none !important;
}

/*IP STYLES*/

#inner-page-wrapper{
   margin-bottom: 86px;
}

#content .entry-title {
    font: 48px 'Playfair Display', sans-serif;
    letter-spacing: 0.96px;
    color: #00213d;
    text-transform: uppercase;
}

#content .entry-content p {
    color: #231f20;
    font-family: 'Muli', sans-serif;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.3px;
}

/* Adjust minimum height of page area */
#content-sidebar, #content-full{ min-height: 500px; margin-top: 20px;}

/** Adjust width of content columns **/
#content-sidebar #content{ width: 77.08%; }
#content-full #content { width: 100%; }

/* Adjust width of sidebar */
.sidebar{ width: 20.83%; }

/* Adjust line height of page elements */
#content h4, aside h4,
#content p, aside p,
#content blockquote, aside blockquote,
#content ul, aside ul,
#content fieldset, aside fieldset,
#content form, aside form,
#content ol, aside ol,
#content dl, aside dl,
#content dir, aside dir,
#content menu, aside menu { line-height:1.7 }

/* Style post/page main headings (h1) */
#content .entry-title {

}

/* Style category/archive/etc main headings (h1) */
#content .archive-title {

}

/* Styles for category/archive/search/etc subheadings (h2) */
#content .archive-subtitle {

}

/* MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css */

/* IDX FIX */
ul#ihf-detail-extrainfotabs, #ihf-search-tabs > ul.nav-tabs,
#ihf_select_property_type_chosen ul.chosen-results,
#ihf_select_bedrooms_homes_chosen ul.chosen-results,
#ihf_select_baths_homes_chosen ul.chosen-results{
    margin-left:0!important;
}

.ihf-advanced-property-search ul.chosen-results {
    padding-left: 0 !important;
}

#ihf-main-container .dropdown-menu > .active > a{
    color:#333 !important
}

#ihf-main-container .dropdown-menu > li > a:hover {
    color: #000 !important;
}

.page-id-0 #content ul{
    margin-left: 0 !important;
    padding: 0 !important;
}

#ihf-main-container .btn-primary:hover{
    background-color: #285e8e !important;
}

#ihf-main-container .pagination>li>a, #ihf-main-container .pagination>li>span{
    padding: 6px 8px !important;
}

.ihf-grid-result-address{
    display: block !important
}

#ihf-main-container .chosen-results {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

#ihf-schoolDistrict + .chosen-container ul.chosen-results {
    max-height: 200px;
}

#ihf-main-container .mc-total-payment-subline {
    color: #666;
}

#ihf-main-container .ihf-label-overlay-money {
    z-index: 0;
}

#ihf-detail-extrainfotabs {
    margin-left: 0 !important;
}

#areaPickerExpandAllCloseButton {
    margin-right: 0 !important;
    width: auto !important;
    position: relative;
    right: 14px;
}

#ihf-main-container .btn-primary {
    background: #265a88
}


.bootstrap-select.btn-group .dropdown-menu{
    min-width: 100%!important;
    max-height: 200px!important;
}


.bootstrap-select>.dropdown-toggle.bs-placeholder:hover{
    color: #fff!important;
}

.ip-container .fc-item-sec-1,
.ip-container .fc-item-sec-3 {
    margin-top: 0;
}

.page-id-490 .fc-item {
    margin-bottom: 6px;
}

.page-id-490 span.view-more {
    margin-bottom: -155px;
}

.hp-quick-search #cityzip{
    background: rgba(51,46,47,.80);
    height: 42px;
    vertical-align: middle;
    width: 16.85%;
    overflow: hidden;
    border: none;
}

aside.sidebar .hp-quick-search #cityzip{
    margin-bottom: 5px!important;
    width: 100%;
}


.page-id-490 #content .fc-main{
    transform: initial;
}

span.context-email:hover {
    color: #00213d;
}

.git-section.footer-form.git-left div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: -28px;
    right: 0;
}

.hp-video iframe {
    display: block;
    margin: 0 auto;
}

.page .fc-item {
    width: calc(calc(100% / 3) - 9px);
    display: inline-block;
}

#content .entry-content p.sold-intro {
    font-size: 20px;
}

.aios-roadmaps.no-border a.aios-roadmap-link:first-child {
    display: none;
}

.grecaptcha-badge {
    z-index: 999;
}

.brokerage-logo {
        text-align: center;
    position: absolute;
    top: 15px;
}

.brokerage-logo img {
    max-width: 150px;

}

.logo img.cb-logo {
    display: none;
}

#fixed-header.active .logo img.cb-logo {
    display: inline-block;
    border-left: 1px solid #FFF;
    padding-left: 10px;
}

.blog-two-img,
.blog-three-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

#fixed-header.active .logo img {
	max-width: calc(100% / 2 - 10px);
}









.image-holder{
  position: relative;
}

.image-holder canvas{
  display: block;
  height: 100%;
  width: 100%;
}

.image-holder img{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}




.brow {
    display: flex;
    flex-flow: row wrap;
}

.bcol {
    width: 50%;
    margin-bottom: 40px;
}



/*
.brow:nth-child(odd) .bcol {
    padding-right: 40px;
} */


.brow:nth-child(even) .bcol:nth-child(2) {
    padding-left: 40px;
}

.brow:nth-child(odd) {flex-direction: row-reverse;}

.brow:nth-child(odd) .bcol:nth-child(2) {
    padding-right: 40px;
}
