body:not(.page-template-about) #inner-page-wrapper {
    margin-top: 102px;
    margin-bottom: 0;
}

#content-full {
    margin: 0;
}

#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

#breadcrumbs,
h1.entry-title {
    display: none;
}

.agents-single-banner {
    position: relative;
    z-index: 1;
    background: #000;
}

.agents-single-banner canvas {
    display: block;
    width: 100%;
    height: auto;
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.agents-single-banner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.agents-single-wrap {
    position: relative;
    z-index: 1;
    margin-top: -68px;
    overflow: hidden;
}

.agents-single-photo {
    display: block;
    width: 575px;
    max-width: 100%;
}

.agents-single-photo canvas {
    display: block;
    width: 100%;
    background-color: #666666;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.agents-single-title {
    font-size: 150px !important;
    line-height: 1 !important;
    letter-spacing: -3.75px !important;
    font-weight: 600 !important;
    width: max-content;
    max-width: 100%;
    margin: 168px 0 0 !important;
    padding-left: 15px;
    font-family: "Barlow Semi Condensed", serif !important;
}

.agents-single-title span {
    display: block;
    position: relative;
}

.agents-single-title span.text-top {
    font-size: 50px;
    font-weight: 300;
    line-height: 50px;
    letter-spacing: 0.5px;
    color: #626262;
    margin-bottom: -22px;
    font-family: "Barlow Semi Condensed", serif;
}

.agents-single-title span.text-bottom {
    font-size: 18px;
    font-weight: 300;
    line-height: 18px;
    color: #626262;
    letter-spacing: -0.9px;
    text-align: right;
    margin-top: 11px;
    font-family: "Source Sans 3", serif;
}

.agents-single-title span b {
    display: block;
    font-size: 75px;
    line-height: 75px;
    letter-spacing: -3.75px;
    font-weight: 400 !important;
    text-align: right;
    margin-top: -18px;
    font-family: "Source Sans 3", serif;
}

.agents-single-title span .title-line {
    width: 400%;
    position: absolute;
    left: auto;
    right: -440%;
    top: 105px;
    bottom: auto;
    height: 4px;
    background: #d7d7d7;
}

.agents-single-content {
    font-size: 15px;
    line-height: 26px;
    font-weight: 300;
    color: #666666;
    padding: 0 0 0 15px;
    margin: 36px 0 92px;
}

.agents-single-content p {
    margin: 0 0 26px !important;
}

.agents-single-contact-wrap {
    position: relative;
    z-index: 1;
}

.agents-single-contact-wrap:after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: transparent url('../../images/agents-single-contact-bg-b-v2.jpg') no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.agents-single-contact {
    padding: 9% 0 12% 35%;
    overflow: hidden;
}

.agents-single-contact-photo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: calc(100% - 68px);
}

.agents-single-contact-photo canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.agents-single-contact-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    color: #fff;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    position: relative;
}

.agents-single-contact-info {
    display: block;
    padding: 0;
    margin: 40px 0 0 !important;
}

.agents-single-contact-info li {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.32px;
    color: #fff;
    margin-bottom: 16px;
}

.agents-single-contact-info li i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: normal !important;
    margin: 0 15px 0 0;
}

.agents-single-contact-info li i.ai-font-envelope-f {
    font-size: 13px;
}

.agents-single-contact-info li i.ai-font-business-card {
    font-size: 20px;
}

.agents-single-contact-link {
    margin: 42px 0 0;
}

.footer-top {
    display: none;
}

body.single-aios-agents #inner-page-wrapper {
    margin-top: 82px;
}

/* Added Popup Form */

.aiosp-wrap .aiosp-ref-\#agents-popup-form .aios-popup-body {
    width: 555px !important;
    max-width: calc(100% - 30px);
    min-height: 0 !important;
    padding: 30px !important;
}

.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: #000;
}

.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: #636363;
    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;
    appearance: none;
    outline: none;
    border: none;
    display: block;
    margin: 0 auto;
    padding: 15px;
    width: auto;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    background: transparent;
    -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: #c1b283;
}

.aiosp-wrap .aiosp-ref-\#agents-popup-form .ajax-loader {
    display: block;
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* End Popup Form */

@media only screen and (max-width: 1199px) {
    .agents-single-contact {
        padding-left: 18%;
    }
}

@media only screen and (max-width: 991px) {
    body:not(.page-template-about) #inner-page-wrapper {
        margin-top: 0;
    }
    #content-full {
        margin-top: 0 !important;
    }
    .agents-single-photo {
        margin: 30px auto 0;
    }
    .agents-single-title {
        display: flex;
        justify-content: center;
        width: 100% !important;
        padding-left: 0 !important;
    }
    .agents-single-title span .title-line {
        display: none;
    }
    .agents-single-content {
        padding: 0;
    }
    .agents-single-content p {
        text-align: center;
    }
    .agents-single-contact-wrap {
        margin-top: 150px;
        text-align: center;
    }
    .agents-single-contact-wrap:after {
        width: 100%;
    }
    .agents-single-contact-photo {
        width: calc(100% - 30px);
        height: 300px;
        left: 15px;
        bottom: auto;
        top: -150px;
    }
    .agents-single-contact {
        margin-top: 150px;
        padding-left: 0;
    }
    .agents-single-contact-info li {
        justify-content: center;
    }
}

@media only screen and (max-width: 480px) {
    .agents-single-title {
        font-size: 60px !important;
        line-height: normal !important;
    }
    .agents-single-title span.text-top {
        font-size: 30px;
    }
    .agents-single-title span b {
        font-size: 45px;
    }
}