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


/* Sub Menu */
#nav li {
    position: relative;
    display: inline-block;
}

#nav .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;
}

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

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

#nav .sub-menu .sub-menu {
    margin-left: 100%;
    top: 0;
}

#nav li:hover > .sub-menu {
    display: block;
}

#nav .sub-menu li {
    position: relative;
}

#inner-page-wrapper {
    margin-bottom: 0;
}

.ip-container #main-wrapper main {
    overflow: hidden;
}

#inner-page-wrapper > .container {
    width: 100%;
    display: block;
    padding: 0;
}

/*** Header Area ***/

.header-main {
    width: 100%;
    z-index: 100;
    margin: 0 auto;
    position: fixed;
    height: auto;
    padding: 35px 0;
    background: rgba(255, 255, 255, 0.9);
}

/*** Header Logo ***/

.hdr-logo {
    display: block;
}

.hdr-logo h1 {
    font-size: 54px;
    text-transform: uppercase;
    color: #1b2759;
    font-weight: 400;
    padding: 16px 0;
    font-family: 'Poppins', sans-serif;
}

.hdr-logo h1 a {
    color: inherit;
    display: inline-block;

    transition: 400ms ease;
    -webkit-transition: 400ms ease;
}

.hdr-logo h1 a:hover {
    color: #23b7ad;
}


/*** Header Contact ***/

.hdr-cont-wrapp {
    text-align: right;
    padding-top: 0;
}

.info-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hdr-cont-text {
    display: inline-block;
    font-size: 16px;
    color: #1b2759;
    width: auto;
    font-weight: 300;
    margin: 0 30px;
    vertical-align: middle;
    letter-spacing: 0.01em;
}

.hdr-cont-text span {
    margin: 0 auto;
    font-weight: 300;
}

.hdr-cont-text i.ai-font-envelope-f {
    font-size: 12px;
    margin: 0 auto;
    color: #1b2759;
    padding: 0 12px;

}


.hdr-cont-text a {
    color: #1b2759;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
}

.hdr-cont-text a:hover {
    opacity: 0.8;
}

.smi {
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.smi a {
    font-size: 18px;
    color: #1b2759;
    display: inline-block;
    margin: 0 6px;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    text-align: center;

}

.smi a:hover {
    opacity: 0.8;
}




/** Navigation **/

.navigation {
    position: relative;
    margin-top: 10px;
    display: block;
    width: 100%;

}

#nav {
    display: block;
    text-align: right;
}

#nav li {
    display: inline-block;
    margin: 0 0 0 40px;
    position: relative;
}


#nav li a {

    color: #4c4c4c;
    font-size: 14px;
    display: inline-block;
    margin: 0;
    outline: none;
    text-decoration: none;
    padding: 0 0 10px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    font-weight: normal;
    text-transform: uppercase;
}




#nav li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: #1b2759;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;

}

#nav li:hover a:after {

    width: 100%;
    left: 0;

}



#nav .sub-menu {
    min-width: 224px;
    left: 50%;
    margin-left: -114px;
    z-index: 9;
    padding: 13px 10px 0;
    background: none;
    color: #a6a6aa;
    text-align: left;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    margin-top: -200px;
}

#nav li:hover > .sub-menu {
    opacity: 1;
    margin-top: 0px;
}

#nav .sub-menu a {
    padding: 0;
    color: #a6a6aa;
}

#nav .sub-menu li {
    width: 100%;
    position: relative;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
}


#nav .sub-menu li:before {
    display: none;
}



#nav .sub-menu li a {
    width: 100%;
    font-size: 15px;
    font-weight: 300;
    padding: 10px 0px;
    text-transform: none;
    color: #fff;
    border-left: none;
    text-align: center;
    border: 0;

}

#nav .sub-menu li a:after {

    display: none;

}

#nav .sub-menu li a:hover {

    color: #16bcb2;
    background: rgba(0, 0, 0, 0.5);
}

#nav .sub-menu .sub-menu {
    margin-left: 45%;
    top: 0;
}



/***Header Short***/

.header-main.short {
    z-index: 100;
    top: 0;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    position: fixed;
    padding: 30px 0;
}

/* .header-main.short .info-wrapper {
display: block;
}
*/

/*** Slide Area ***/

#slide-main-area {
    position: relative;
}


.hp-slide {
    position: relative;
}


/*** QS section ***/


.qs-slide-wrapp {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
}

.qs-slide {
    position: relative;
    font-size: 0;
    letter-spacing: 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 35px 40px;
}

.qs-title {
    font-size: 41px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-align: center;
    color: #1b2759;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;

}

.qs-title span {
    display: block;
    font-size: 18px;
    color: #767676;
    font-weight: 300;
    letter-spacing: 0.3em
}

.qs-cont {

    width: 100%;
    font-size: 0;
    letter-spacing: 0;
}

.qs-cont form {
    margin: 0 auto;
    vertical-align: top;
}

.qs-cont .field-w {
    max-width: 27%;
    width: 282px;
}

.qs-cont .field-s {
    max-width: 13%;
    width: 122px;
}



.qs-cont .field-w, .qs-cont .field-s {
    display: inline-block;
    border: 1px solid #cdcdcd;
    margin-right: 8px;
}

.qs-cont input {

    color: #9b9b9b;
    font-size: 13px;
    height: 33px;
    line-height: 33px;
    padding: 0 10px;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(../../images/qs-arrow.png) no-repeat right 8px center rgba(255, 255, 255, 1);
    border: transparent;

}

.qs-cont select {
    color: #9b9b9b;
    font-size: 13px;
    height: 33px;
    line-height: 33px;
    padding: 0 10px;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(../../images/qs-arrow.png) no-repeat right 8px center rgba(255, 255, 255, 1);
    border: transparent;

}

.firefox-true .qs-cont select {
    padding: 0 8px;
}

.qs-cont select > option {
    color: #000;
}

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

.qs-cont .qs-cont-sub {
    width: 122px;
    height: 35px;
    background: #53c6eb;
    text-align: center;
    color: #fff;
    appearance: normal !important;
    -webkit-appearance: normal !important;
    -moz-appearance: normal !important;
    border-radius: 0;
    margin: 0;
    vertical-align: top;
    max-width: 106px;
    display: inline-block;
    line-height: 42px;
    font-weight: 300;
    text-transform: none;
    font-size: 0;
    position: relative;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    letter-spacing: 0.15em;
    -webkit-transition: all .25s ease-in-out;
    letter-spacing: 0.03em;
    font-style: normal;
    background: url(../../images/search-bg.png) no-repeat center #16bcb2;
    border: 1px solid #cdcdcd;
}

.qs-cont .qs-cont-sub:hover {
    opacity: 0.8;
}


/*** Agent CTA ***/


.agent-cta-wrapper {
    position: relative;
    z-index: 1;
}


.agent-cta-list {
    display: block;
    text-align: center;
    margin-top: 77px;
    background: #f4f4f4;
    position: relative;
    padding: 55px 42px;
}

.agent-cta-list:after {
    background: #1b2759;
    position: absolute;
    top: 0;
    height: 7px;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    content: '';
}

.agent-cta-list img {
    width: 53px;
    max-width: 100%;
    margin: 0 auto;
}

.agent-cta-list .agent-cta-text {
    display: block;
    margin-top: 40px;
}

.agent-cta-list .agent-cta-text span {
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    padding-bottom: 20px;
    display: block;
    color: #1b2759;

}

.agent-cta-list .agent-cta-text p {
    line-height: 24px;
    font-size: 14px;
    display: block;
    margin: 30px auto;
}


/*** Agent Listings ****/


.agent-middle-wrapp {
    position: relative;
    z-index: 1;
    padding: 85px 0 45px;
}

.agent-fp-list {
    display: block;
    position: relative;
}

.agent-fp-list .agent-fp-img {
    position: relative;
}

.agent-fp-list .agent-fp-img canvas {
    width: 100%;
    background-size: cover;
    background-position: center;
    height: 314px;


}

.agent-fp-list .agent-fp-details {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    align-items: center;
    padding: 20px 25px;
}

.agent-fp-list .agent-fp-details .view {
    position: relative;
    top: 0;
    z-index: 5;
    margin-left: 35px;

}

.agent-fp-list .agent-fp-details .view span.v-details {
    display: inline-block;
    width: 195px;
    max-width: 100%;
    line-height: 64px;
    text-transform: uppercase;
    font-size: 14px;
    color: #16bcb2;
    border: 1px solid #16bcb2;
    letter-spacing: 0.2em;
    position: relative;
    text-align: center;
    margin-top: 0;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    font-weight: 500;
}


.agent-fp-list .agent-fp-details .view span.v-details > em {
    font-size: 8px;
    color: #16bcb2;
    vertical-align: middle;
    position: absolute;
    z-index: 2;
    -ms-transform: rotate(45deg);
    -ms-transform-origin: top right;
    -webkit-transform: rotate(45deg);
    -webkit-transform-origin: top right;
    transform: rotate(45deg);
    transform-origin: top right;
    padding: 0;
    top: 33px;
    right: 18px;
    font-weight: 700;

}

.agent-fp-list:hover .agent-fp-details .view span.v-details {
    background: #16bcb2;
    border: 1px solid #16bcb2;
    color: #fff;
}

.agent-fp-list:hover .agent-fp-details .view span.v-details > em {
    color: #fff;
}



.agent-fp-list .fp-details {

    color: #2f2f2f;
    z-index: 5;
    text-align: left;
    margin-right: 35px;
}

.agent-fp-list .fp-details span {
    display: block;
    padding-left: 0;
}

.agent-fp-list .fp-details span.fp-price {
    font-size: 30px;
    position: relative;
    margin-bottom: 0;
}

.agent-fp-list .fp-details span.fp-address {
    font-size: 14px;
    font-weight: 400;
}



/*** Ask Us ***/

.ask-form-cont {
    padding: 40px 30px 27px;
    background: #f4f4f4;
    height: 314px;
}

.ask-us-wrapp {

    position: relative;
    width: 100%;

}

.ask-us-title {
    font-size: 41px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    text-align: center;
    color: #1b2759;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.ask-us-title span {
    display: block;
    font-size: 18px;
    color: #767676;
    font-weight: 300;
    letter-spacing: 0.3em;
}

.ask-us-col {
    position: relative;
    margin-left: -5px;
    margin-right: -5px;
    font-size: 0;
    letter-spacing: 0;
}

.field-flex {
    display: flex;
}

.git-field {
    width: 50%;
    position: relative;
    display: inline-block;
    margin: 1px;
    vertical-align: top;
    background: #fff;

}

.merge-field {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    background: #fff;
    margin: 1px;
    position: relative;
}

.ask-us-form {
    position: relative;
}

.ask-us-form input[type='text'], .ask-us-form input[type='tel'], .ask-us-form input[type='email'], .ask-us-form textarea {
    width: 100%;
    color: #9b9b9b;
    display: inline-block;
    font-size: 14px;
    height: 45px;
    font-weight: 400;
    -webkit-appearance: none;
    -moz-appearance: none;
    vertical-align: top;
    margin: 0;
    background: transparent;
    border: transparent;
    outline: none;
    /*text-transform: capitalize;*/
    padding: 0 15px;
    font-style: normal;

}

.ask-us-form textarea {
    resize: none;
    margin: 5px 0;
    padding-top: 10px;
    padding-bottom: 0;
    height: 90px;
    width: 72%;
}

div.ask-us-form input[type='submit'] {
    height: 72px;
    text-align: center;
    color: #9b9b9b;
    vertical-align: top;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-appearance: none;
    width: 100%;
    max-width: 129px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    outline: none;
    position: relative;
    z-index: 3;
    right: 15px;
    bottom: 10px;
    position: absolute;
    font-size: 14px;
    color: #16bcb2;
    border: 1px solid #16bcb2;
    letter-spacing: 0.2em;
    font-weight: 500;
    line-height: 72px;
    background: transparent;
}


div.ask-us-form div.wpcf7-validation-errors {
    color: #000;
    position: absolute;
    /*width: 100%;*/
    width: calc(100% - 20px);
    left: 0;
    right: 0;
    margin: 5px auto 0;
    text-align: center;
    font-size: 14px;
}

div.ask-us-form .use-floating-validation-tip span.wpcf7-not-valid-tip {
    font-size: 12px;
    padding: 0.35em 1em;
    top: 0.75em;
    right: 0.75em;
    left: auto;
}

div.ask-us-form .wpcf7 form .wpcf7-response-output {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    font-size: 12px;
    margin: 0.5em 0 0;
    padding: 0.25em 1em;
}

div.ask-us-form .wpcf7 form .wpcf7-spinner {
    position: absolute;
    margin: 1em 0 0;
    right: 0;
    top: 100%;
}

/*** Testimonials ***/


.agenttesti-section {
    position: relative;
    z-index: 1;


}

.agenttesti-area {
    position: relative;
    background: #f4f4f4;
    padding: 65px 0;
    margin-bottom: 130px;
}

.agenttesti-title {
    font-size: 41px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    text-align: center;
    color: #1b2759;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.agenttesti-title span {
    display: block;
    font-size: 18px;
    color: #767676;
    font-weight: 300;
    letter-spacing: 0.3em;
}

.a-testi-slide-wrapp {
    position: relative;
    padding: 35px 0;
}


.a-testi-slide {
    position: relative;
}

.a-testi-list {
    display: block;
    text-align: center;
    padding: 0;
    position: relative;
}


.a-testi-list p {
    font-size: 14px;
    color: #4b4b4b;
    letter-spacing: 0.08em;
    line-height: 36px;
    margin: 0 auto;
    text-align: center;
    width: 80%;
    margin: 0 auto;

}

.a-testi-list strong {
    font-size: 18px;
    font-weight: 500;
    color: #4b4b4b;
    letter-spacing: 0.02em;
    margin-top: 30px;
    display: block;
}


body.page-template-template-agent-page footer#footer-wrapp {
    background: url(../../images/ftr-bg.jpg) no-repeat center #fff;
    background-size: cover;
}

/* Agent Desciption */
.agent-description {
    display: block;
    text-align: center;
    margin-top: 77px;
    background: #f4f4f4;
    position: relative;
    padding: 55px 42px;
}

.agent-description p {
    line-height: 24px;
    font-size: 14px;
    display: block;
    margin: 11px auto;
    text-align: left;
}

.testi-prev.slick-arrow {
    position: absolute;
    top: 40%;
    transform: translate(-50%, -50%);
    padding: 15px 20px;
    display: block;
    background-color: #1b2759;
    color: #fff;
    left: 0;
    cursor: pointer;
}

.testi-next.slick-arrow {
    position: absolute;
    top: 40%;
    transform: translate(-50%, -50%);
    padding: 15px 20px;
    display: block;
    background-color: #1b2759;
    color: #fff;
    right: -50px;
    cursor: pointer;
}

@media only screen and (max-width: 1365px) {}

@media only screen and (max-width: 1199px) {

    #nav li {
        margin: 0 0 0 10px;
    }

    .hdr-logo h1 {
        font-size: 45px;
    }

    .agent-cta-list .agent-cta-text span {
        font-size: 18px;
    }

    .agent-cta-list {
        padding: 55px 30px;
    }

    .qs-slide {
        padding: 30px 15px;
    }

    .qs-cont .field-w {
        max-width: 24%;
    }

    .qs-cont .field-s {
        max-width: 11.5%;
    }

    div.ask-us-form div.wpcf7-validation-errors {
        font-size: 12px;
    }
}

@media only screen and (max-width: 1024px) {}

@media only screen and (max-width: 991px) {

    .header-main, .header-main.short {
        position: relative;
        padding: 80px 0 40px;
        height: auto;
    }

    .qs-slide-wrapp {
        position: relative;
        z-index: 3;
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: 0;
        background: rgba(255, 255, 255, 1);
        padding: 50px 0;
    }

    .qs-cont .field-w, .qs-cont .field-s {
        width: 50%;
        margin: 5px auto;
        max-width: 100%;

    }

    .qs-cont .qs-cont-sub {
        width: 100%;
        margin: 5px auto;
        max-width: 100%;
    }

    .qs-slide {
        background: rgba(22, 188, 178, 0.5);
    }

    /*.agent-fp-list .agent-fp-img canvas {
    height: auto;
    }*/

    .bootstrap-select.btn-group .dropdown-toggle .filter-option {
        font-size: 13px;
        font-family: 'Roboto', sans-serif;
        font-weight: 400;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        -o-appearance: none;
        border-radius: 0;
    }

    .agenttesti-area {
        margin-bottom: 0
    }

    .agenttesti-title {
        font-size: 38px;

    }

    .agent-fp-list .fp-details {
        margin-right: 10px;
    }

    .agent-fp-list .agent-fp-details .view {
        margin-left: 10px;
    }

    .agent-fp-list .fp-details span.fp-price {
        font-size: 28px;
    }

    .agent-fp-list .fp-details span.fp-address {
        font-size: 12px;
    }

    .agent-fp-list .agent-fp-details {
        justify-content: space-between;
    }

}

@media only screen and (max-width: 767px) {

    .qs-cont .field-w, .qs-cont .field-s {
        width: 100%;
    }


    .ask-us-form textarea {
        width: 100%;
    }

    div.ask-us-form input[type='submit'] {
        height: 50px;
        line-height: 1;
        width: calc(100% - 30px);
        position: relative;
        right: 0;
        max-width: none;
        margin: 0 15px;
        display: block;
    }

}

@media only screen and (max-width: 480px) {

    .agent-fp-list .agent-fp-details .view span.v-details {
        line-height: 1;
        padding: 20px 8px;
        width: 100%;
    }


    .agent-fp-list .agent-fp-details {
        padding: 20px 15px;
    }

    .agent-fp-list .agent-fp-details .view span.v-details > em {
        display: none;
    }

    .field-flex {
        display: block;
    }

    .git-field {
        width: 100%;
    }

    .ask-form-cont {
        height: 100%;
    }

    .ask-form-cont {
        padding: 40px 30px 60px;
        background: #f4f4f4;
        height: 100%;
    }

    .agent-description .col-md-4 canvas {
        width: 100%;
    }
}