/*******************************************************

 *

 * General

 *

 *******************************************************/



#agents-single {

    position: relative;

    margin-bottom: 50px;

}



#agents-single .agents-main {

    position: relative;

    display: flex;

    align-items: flex-start;

}



#agents-single .agents-left {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-flow: column wrap;

    flex-shrink: 0;

}



#agents-single .agents-img {

    position: relative;

}



#agents-single .agents-img img,

#agents-single .agents-img canvas {

    display: block;

    width: 100%;

}



#agents-single .agents-img img {

    object-fit: cover;

    object-position: center center;

}



#agents-single .agents-img canvas {

    background-color: #eeeeee;

    background-repeat: no-repeat;

    background-size: cover;

    background-position: top center;

}



#agents-single .agents-info {

    margin-top: 22px;

    padding: 0 15px;

}



#agents-single .agents-contact {

    display: block;

    margin: 0;

    padding: 0;

    position: relative;

}



#agents-single .agents-contact li {

    display: flex;

    align-items: baseline;

    margin: 0;

    padding: 0;

    font-size: 15px;

    font-weight: 300;

    line-height: 1;

    letter-spacing: 0.05em;

    color: #cdbe9d;

    padding: 10px 0;

}



#agents-single .agents-contact li span {

    color: #cdbe9d;

    font-size: 13px;

    margin-right: 5px;

    min-width: 20px;

}



#agents-single .agents-contact li span.sm {

    font-size: 10px;

}



#agents-single .agents-contact li span.lg {

    font-size: 16px;

}



#agents-single .agents-contact li a {

    color: #cdbe9d;

    text-decoration: none;

    transition: all 0.4s ease;

}



#agents-single .agents-contact li a:hover {

    color: #cdbe9d;

}



#agents-single .agents-right {

    flex-grow: 1;

    margin-left: 60px;

}



#agents-single .agents-description {

    position: relative;

}



#agents-single .agents-description:before,

#agents-single .agents-description:after {

    content: '';

    display: block;

    width: 350px;

    max-width: 90%;

    height: 10px;

    background: #eee;

    display: none;

}



#agents-single .agents-description:before {

    margin-bottom: 55px;

}



#agents-single .agents-description:after {

    margin-top: 55px;

    margin-left: auto;

}



#agents-single .agents-description p {

 
    font-size: 15px;
/*    font-weight: 400;*/
    line-height: 1.56;
    letter-spacing: 0.05px;
    font-weight: normal;

}

#agents-single .agents-description p:first-child {
    margin-top: 0;
}


#agents-single .agents-button {

    display: flex;

    align-items: center;

    justify-content: center;

    max-width: 280px;

    height: 50px;

    margin-top: 37px;

    padding: 0 30px;

    border: 2px solid #fff;

    font-size: 15px;

    font-weight: 300;

    line-height: 1;

    letter-spacing: 0.05em;

    text-align: center;

    text-transform: uppercase;

    color: #fff;

    background: #cdbe9d;

    transition: all 0.4s ease;

}



#agents-single .agents-button:hover {

    background: #cdbe9d;

    color: #fff;

}



#agents-single .agents-smi {

    display: flex;

    flex-flow: row wrap;

    margin: 0 -10px;

    padding: 0;

}



#agents-single .agents-smi li {

    display: block;

    margin: 0;

    padding: 10px;

}



#agents-single .agents-smi li a {

    color: #cdbe9d;

    text-decoration: none;

    transition: all 0.4s ease;

}



#agents-single .agents-smi li a:hover {

    color: #cdbe9d;

}



#agents-single .agents-listings {

    position: relative;

    display: flex;

    flex-flow: row wrap;

    margin-top: 60px;

}



#agents-single .agents-listings-title {

    font-size: 50px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: 0.05em;

    text-transform: uppercase;

    color: #cdbe9d;

}



#agents-single .agents-listings-control {

    margin-left: auto;

    display: flex;

    align-items: center;

}



#agents-single .agents-listings-arrow {

    display: block;

    cursor: pointer;

    font-size: 30px;

    font-weight: 700;

    color: #cdbe9d;

    transition: all 0.4s ease;

}



#agents-single .agents-listings-arrow.slick-hidden {

    display: none;

}



#agents-single .agents-listings-arrow + .agents-listings-arrow {

    margin-left: 23px;

}



#agents-single .agents-listings-arrow:hover {

    color: #cdbe9d;

}



#agents-single .agents-listings-slider {

    margin-top: 50px;

    margin-left: calc((100vw - 1140px) / -2);

    margin-right: calc((100vw - 1140px) / -2);

    width: 100vw;

}



#agents-single .agents-listings-slider:not(.slick-slider) {

    display: flex;

}



#agents-single .agents-listings-slider:not(.slick-slider) .agents-listings-col {

    flex-shrink: 0;

    width: 20%;

}



#agents-single .agents-listings-col,

#agents-single .agents-listings-item {

    display: block;

    position: relative;

    overflow: hidden;

    vertical-align: middle;

}



#agents-single .agents-listings-img {

    position: relative;

    background: #fff;

    overflow: hidden;

}



#agents-single .agents-listings-img canvas {

    display: block;

    width: 100%;

    background-repeat: no-repeat;

    background-position: center center;

    background-size: cover;

    transition: all 0.4s ease;

}



#agents-single .agents-listings-item:hover .agents-listings-img canvas {

    transform: scale(1.1);

}



#agents-single .agents-listings-button {

    position: absolute;

    bottom: 50px;

    left: 0;

    right: 0;

    width: 166px;

    height: 50px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 15px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: 0.05em;

    text-transform: uppercase;

    background: #cdbe9d;

    color: #fff;

    opacity: 0;

    transform: translateY(100%) translateY(50px);

    transition: all 0.4s ease;

}



#agents-single .agents-listings-item:hover .agents-listings-button {

    opacity: 1;

    transform: translateY(0);

}



#agents-single .agents-testi {

    position: relative;

    z-index: 1;

    margin-left: calc((100vw - 1140px) / -2);

    margin-right: calc((100vw - 1140px) / -2);

    width: 100vw;

    background: transparent url(../../images/agents-testi-bg-a.jpg) no-repeat;

    background-position: center center;

    background-size: cover;

    padding: 100px 0 130px;

}



#agents-single .agents-testi:after {

    content: '';

    position: absolute;

    z-index: -1;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(255, 255, 255, 0.84);

}



#agents-single .agents-testi-quote {

    margin-bottom: 40px;

}



#agents-single .agents-testi-quote img {

    display: block;

    margin: 0 auto;

    max-width: 100%;

}



#agents-single .agents-testi-slider {

    position: relative;

}



#agents-single .agents-testi-col,

#agents-single .agents-testi-item {

    position: relative;

}



#agents-single .agents-testi-slider:not(.slick-initialize) .agents-testi-col:nth-child(n + 2) {

    display: none;

}



#agents-single .agents-testi-description {

    position: relative;

    width: 975px;

    max-width: calc(100% - 100px);

    margin: 0 auto;

    padding: 0 15px;

    font-size: 20px;

    font-weight: 400;

    font-style: italic;

    line-height: 1.85;

    letter-spacing: 0.05em;

    text-align: center;

}



#agents-single .agents-testi-description p {

    margin: 0;

    line-height: inherit;

}



#agents-single .agents-testi-name {

    font-size: 18px;

    font-weight: 500;

    line-height: 1;

    letter-spacing: 0.05em;

    text-transform: uppercase;

    text-align: center;

    color: #cdbe9d;

    margin-top: 42px;

}



#agents-single .agents-testi-name:before {

    content: "";

    display: block;

    margin: 0 auto 34px;

    width: 73px;

    height: 2px;

    background: #cbc07a;

}



#agents-single .agents-testi-control {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    width: 1140px;

    max-width: 100%;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    pointer-events: none;

}



#agents-single .agents-testi-arrow {

    pointer-events: auto;

    font-size: 70px;

    color: #cbcbcb;

    cursor: pointer;

    transition: all 0.4s ease;

}



#agents-single .agents-testi-arrow:hover {

    color: #cdbe9d;

}



#agents-single .agents-testi-arrow + .agents-testi-arrow {

    margin-left: 30px;

}



#agents-single .agents-testi-arrow.slick-hidden {

    display: none;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form .aios-popup-body {

    width: 555px;

    max-width: calc(100% - 30px);

    min-height: 0;

    padding: 30px;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form h2 {

    margin-top: 15px;

    font-size: 28px;

    font-weight: 600;

    line-height: 1;

    letter-spacing: 0.03em;

    text-align: center;

    text-transform: uppercase;

    color: #cdbe9d;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form form {

    margin: 0;

    padding: 0;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form .row {

    margin-left: -5px;

    margin-right: -5px;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form [class*=col-] {

    position: relative;

    padding: 10px 5px;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=text],

.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=email],

.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=tel],

.aiosp-wrap .aiosp-ref-\#agents-popup-form textarea {

    font-size: 15px;

    width: 100%;

    font-weight: 300;

    -webkit-appearance: none;

    -moz-appearance: none;

    background: transparent;

    height: 50px;

    color: #cdbe9d;

    padding: 0 0;

    border-radius: 0;

    resize: none;

    border: none;

    border-bottom: solid 1px #a5a5a5;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form textarea {

    padding-top: 15px;

    height: 100px;

    resize: none;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=submit] {

    -webkit-appearance: none;

    -webkit-appearance: none;

    appearance: none;

    outline: none;

    border: none;

    display: block;

    margin: 0 auto;

    padding: 25px;

    width: auto;

    font-size: 18px;

    color: #cdbe9d !important;

    font-weight: 600;

    letter-spacing: 0.025em;

    text-transform: uppercase;

    background: transparent !important;

    -webkit-transition: all 0.3s ease-in-out;

    transition: all 0.3s ease-in-out;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=submit]:hover {

    color: #cdbe9d;

}



.aiosp-wrap .aiosp-ref-\#agents-popup-form .ajax-loader {

    display: block;

    margin: 0;

    position: absolute;

    top: -8px;

    left: 0;

    right: 0;

    margin: 0 auto;

}



.single-aios_agent h1.entry-title {

    font-size: 24px !important;

    display: block !important;

    font-weight: bold !important;

    font-family: var(--font-family-title) !important;

}



#wpcf7-f214-o1 input.wpcf7-form-control.wpcf7-submit {

    background-color: unset !important;

    color: #000 !important;

}



/*******************************************************

 *

 * Mobile styles and other media queries

 *

 *******************************************************/



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



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



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



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

    #agents-single .agents-right {

        margin-left: 30px;

    }



    #agents-single .agents-listings-slider,

    #agents-single .agents-testi {

        margin-left: calc((100vw - 940px) / -2);

        margin-right: calc((100vw - 940px) / -2);

    }



    #agents-single .agents-testi-arrow {

        font-size: 50px;

    }



    #agents-single .agents-listings-slider:not(.slick-slider) .agents-listings-col {

        width: calc(100% / 3);

    }

}



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



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

    #agents-single .agents-main {

        flex-flow: column-reverse wrap;

    }



    #agents-single .agents-left,

    #agents-single .agents-right {

        width: 100%;

        margin: 30px 0 0;

    }



    #agents-single .agents-description:after {

        display: none;

    }



    #agents-single .agents-listings-slider,

    #agents-single .agents-testi {

        margin-left: calc((100vw - 720px) / -2);

        margin-right: calc((100vw - 720px) / -2);

    }



    #agents-single .agents-listings-title {

        width: 100%;

        text-align: center;

    }



    #agents-single .agents-listings-slider:not(.slick-slider) .agents-listings-col {

        width: 100%;

    }



    #agents-single .agents-listings-control {

        width: 100%;

        order: 1;

        margin-top: 30px;

        justify-content: center;

    }



    #agents-single .agents-testi-arrow {

        font-size: 30px;

    }



    #agents-single .agents-testi {

        margin-top: 100px;

        padding: 100px 0;

    }



    #agents-single .agents-testi-description {

        max-width: 100%;

    }



    #agents-single .agents-testi-control {

        position: static;

        margin-top: 50px;

        justify-content: center;

    }

}



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

    #agents-single .agents-listings-slider {

        margin-left: 0;

    }



    #agents-single .agents-listings,

    #agents-single .agents-testi {

        margin-left: -15px;

        margin-right: -15px;

        width: auto;

    }



    #agents-single .agents-testi {

        margin-top: 75px;

        padding: 75px 0;

    }



    #agents-single .agents-description:before {

        margin-bottom: 45px;

    }

}



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

    #agents-single .agents-description:before {

        margin-bottom: 30px;

    }



    #agents-single .agents-testi {

        margin-top: 50px;

    }

}

