/*******************************************************
 *
 * Agent Details
 *
 *******************************************************/

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

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

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

 .ip-banner canvas{
    background-image: url('../../images/agent-details/agent-details-banner.jpg')!important;
    min-height: 450px;
 }

 .ip-banner::before{
    display: none;
 }

 .ip-banner::after{
    position: absolute;
    content:'';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 192px;
    background: url('../../images/agent-details/agent-details-banner-overlay.png') no-repeat;
    background-position: center center;
    background-size: cover;
    pointer-events: none;
 }

#content-sidebar, #content-full{
    margin-top: 0;
}

.ip-breadcrumbs #breadcrumbs span {
     font-size: 14px;
     text-transform: uppercase;
     letter-spacing: 1.82px;
}

 .ip-breadcrumbs {
     background: #16bcb2;
 }

 #breadcrumbs {
     margin: 28px 0 29px!important;
 }

 .ip-breadcrumbs #breadcrumbs span.breadcrumb_last {
     font-weight: 600;
     color: #1b2759 !important;
 }

 .ip-breadcrumbs #breadcrumbs {
     color: #fff;
     font-weight: 300;
 }


 .ad-hide{
    display: none;
 }

 .agent-details-container {
     display: block;
     position: relative;
     padding: 92px 0 104px;
     font-family: 'Poppins', sans-serif;
 }

 .agent-details-tab a:hover {
     color: inherit;
 }

 .agent-details-wrapper {
     display: block;
     position: relative;
 }



 .agent-details-photo canvas {
     display: block;
     width: 100%;
     background-position: center center;
     background-repeat: no-repeat;
     background-size: 100% 100%;
 }

 .agent-details-photo {
     width: 31.85%;
 }

 .agent-details-tab-wrapper {
     width: 68.15%;
     padding: 40px 0 0 80px;
 }


 .agent-details-tab-wrap {
     display: -webkit-box;
     display: -ms-flexbox;
    /*  display: flex; */
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
/*      -webkit-box-pack: justify;
-ms-flex-pack: justify; */
     justify-content: space-between;
     width: 100%;
     max-width: 688px;
 }

 .agent-details-tab {
     /* width: 176px; */ 
     width:50%;
     height: 41px;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     -webkit-box-pack: center;
     -ms-flex-pack: center;
     justify-content: center;
     border-bottom: 1px solid #000;
     margin: 0 5px;
     font-size: 20px;
     font-weight: 300;
     line-height: 1;
     color: #000;
     text-transform: uppercase;
     background: transparent;
     -webkit-transition: 0.3s all ease-in;
     -o-transition: 0.3s all ease-in;
     transition: 0.3s all ease-in;
 }

 .agent-details-tab:first-child {
     margin-left: 0;
 }

 .agent-details-tab:last-child {
     margin-right: 0;
 }

 .agent-details-tab.active {
     background: #313c69;
     color: #fff;
     border: 1px solid #000;
 }


/*  .agent-details-tab-wrap .agent-details-tab:nth-child(1) {
    width: 111px;
}

.agent-details-tab-wrap .agent-details-tab:nth-child(2) {
    width: 222px;
} */

 .agent-details-name h2 {
     margin: 0!important;
     font-size: 54px!important;
     line-height: 1!important;
     color: #1b2759;
     text-transform: uppercase;
     font-family: inherit;
     font-weight: 400!important;
 }

 .agent-details-content {
     padding-top: 41px;
     border-bottom: 1px solid #000;
     padding-bottom: 48px;
 }

 .agent-details-contacts span {
     display: block;
     font-size: 20px;
     font-weight: 400;
     line-height: 30px;
     color: #3c3e42;
     font-family: 'Roboto', sans-serif;
 }

 .agent-details-name {
     display: block;
     margin-bottom: 15px;
 }

 .agent-details-contacts span em.ai-font-phone {
     display: inline-block;
     font-size: 15px;
     margin-right: 11px;
     color: #000;
 }

 .agent-details-contacts {
     display: block;
     margin-bottom: 13px;
 }

 .agent-details-smi a {
     display: inline-block;
     vertical-align: middle;
     padding: 0 8px;
     font-size: 22px;
     color: #313c69;
     line-height: 1;
     -webkit-transition: 0.3s all ease-in;
     transition: 0.3s all ease-in;
 }

 .agent-details-smi a:hover {
     color: #16bcb2;
 }

 .agent-details-smi {
     display: block;
     font-size: 0;
     margin-bottom: 38px;
 }

 .agent-details-smi a:first-child {
     padding-left: 0;
 }

 .agent-details-smi a:last-child {
     padding-right: 0;
 }


 .agent-details-btn a {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     -webkit-box-pack: center;
     -ms-flex-pack: center;
     justify-content: center;
     width: 151px;
     height: 41px;
     border: 1px solid #313c69;
     font-size: 20px;
     line-height: 1;
     font-weight: 300;
     text-transform: uppercase;
     color: #313c69;
     -webkit-transition: 0.3s all ease-in;
     -o-transition: 0.3s all ease-in;
     transition: 0.3s all ease-in;
 }

 .agent-details-main {
     display: flex;
     justify-content: center;
     align-items: flex-start;
 }

.agent-details-desig span{
    font-size: 20px;
     line-height: 28.6px;
     color: #3c3e42;
     display: block;
}

 .agent-details-company span {
     font-size: 20px;
     line-height: 28.6px;
     color: #3c3e42;
     display: block;
 }

 .agent-details-tab-wrap .agent-details-tab:nth-child(3) {
     width: 196px;
 }

 .agent-details-tab-wrap .agent-details-tab:nth-child(4) {
     width: 130px;
 }

 .agent-details-btn a:hover {
     background: #313c69;
     color: #fff;
     border-color: #313c69;
 }
 /* Listing */
 .agent-listing-list-wrap {
    font-size: 0;
    display: block;
    text-align: center;
    width: 100%;
    letter-spacing: 0;
}

.agent-listing-list {
    font-size: 0;
    padding-top: 30px;
}

.agent-listing-item {
    width: 50%;
    display: inline-block;
    vertical-align: top;
    padding: 15px 14px;
}

.agent-listing-item a {
    width: 100%;
    display: block;
    position: relative;
}

.agent-listing-item canvas {
    width: 100%;
    height: auto;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.agent-listing-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .65);
    text-align: center;
    color: #ffffff;
    padding: 19px 0;
    transition: padding .3s ease;
}

.agent-listing-details:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 0;
    bottom: 100%;
    margin: auto;
    height: 0;
    border-style: solid;
    border-width: 0 27.5px 29px 27.5px;
    border-color: transparent transparent rgba(0, 0, 0, .65) transparent;
}

.agent-listing-details i {
    position: absolute;
    left: 0;
    right: 0;
    top: -9px;
    margin: auto;
    font-size: 18px;
    font-style: normal !important;
    color: #fff;
}

.agent-listing-details .agent-listing-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1;
}

.agent-listing-details .agent-listing-ammenities {
    font-size: 14px;
    letter-spacing: .05em;
    line-height: 1;
    margin-top: 7px;
}

.agent-listing-details .btn-a {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    transform: none;
    top: initial;
    width: 150px;
    font-size: 12px;
    padding: 0;
    height: 45px;
    opacity: 0;
    bottom: 18px;
    line-height: 43px;
    transition: all .3s ease;
    border: 1px solid #fff;
    text-transform: uppercase;
    letter-spacing: .15em;
}
.agent-listing-item a:hover .agent-listing-details {
    padding-bottom: 80px;
}
.agent-listing-item a:hover .agent-listing-details .btn-a {
    opacity: 1;
}



 /*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 /* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
    .agent-details-wrapper{
        overflow: hidden;
    }

    .agent-details-smi{
        margin-bottom: 20px;
    }

    .agent-details-tab-wrapper{
        padding: 15px 0 0 30px;
    }

    .agent-details-content{
        padding-top: 24px;
        padding-bottom: 29px;
    }
}


/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
    .ip-banner canvas{
        min-height: 250px;
    }

    .ip-banner::after{
        display: none;
    }

    #breadcrumbs {
        margin: 10px 0!important;
    }

    .agent-details-container{
        padding: 50px 0;
    }

    .agent-details-main{
        display: block;
    }

    .agent-details-photo{
        width: 100%;
        max-width: 291px;
        margin: 0 auto 30px;
    }

    .agent-details-tab-wrapper{
        width: 100%;
        padding-left: 0;
        padding-top: 0;
        
    }

    .agent-details-content{
        text-align: center;
        padding: 50px 0;
        border: none;
    }

    .agent-details-tab-wrap{
        margin: 0 auto;
    }

    .agent-details-btn a{
        margin: 0 auto;
    }

}
div.wpcf7-mail-sent-ok {
    padding: 5px;
    color: black;
    font-size: 14px;
    margin-top: 5px;
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .agent-details-tab-wrap{
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .agent-details-tab{
        width: 100%!important;
        max-width: 360px;
        margin: 0 auto!important;
    }

    .agent-details-content{
        text-align: center;
    }

    .agent-details-collapse-btn a{
        margin: 0 auto;
    }
    
    .agent-details-company span,
    .agent-details-desig span{
        font-size: 17px;
    }

    .agent-details-contacts span{
        font-size: 18px;
    }

    .agent-listing-item {
        width: 100%;
        display: block;
        max-width: 364px;
        margin: 0 auto;
    }
}


/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
    .agent-details-name h2{
        font-size: 40px!important;
    }
}