:root {
    --ip-default-transition: all 0.35s ease-in-out;
}
.site-easing{
    -webkit-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
.desc p{
    font-size: 16px;
    color: rgb(77, 77, 77);
    line-height: 1.786;
    letter-spacing: 0.04em;
}
.desc.centered p{
    text-align: center;
}
.img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000000;
}
.img-wrap canvas {
    position: relative;
    display: block;
    height: auto;
    width: 100%;
}
.img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    font-size: 0;
    width: 100%;
    height: 100%;
    outline: none;
    transition: var(--ip-default-transition);
}
.bg-section{
    position: absolute;
    width: 100%;
/*    height: 18.426%;*/
/*    height: 1330px;*/
/*    max-height: 1330px;*/
    font-size: 0;
    line-height: 0;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}
.bg-section canvas {
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.site-banner{
    display: none;
}
#inner-page-wrapper {
    margin-bottom: 0;
    padding-bottom: 10px;
    background: #ffffff;
}
#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}
.ip-banner::before{
    bottom: unset;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
    opacity: 50%;
    pointer-events: none;
}
.ip-banner::after{
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
    content: "";
    position: absolute;
    height: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 50%;
    pointer-events: none;
}
.ip-sec{
    position: relative;
}
.flex-row{
    display: flex;
    flex-flow: row wrap;
}

.ip-breadcrumbs-container{
    padding: 22px 15px;
    position: relative;
}
#breadcrumbs{
    font-size: 15px;
    letter-spacing: 0.04em;
    font-weight: 500;
}
#breadcrumbs .breadcrumb_last{
    color: var(--primary);
}
.wwa-wrap{
    margin-top: 50px;
}
.wwd-wrap{
    margin-top: 50px;
}
.wwdi-wrap{
    margin-top: 50px;
}
.res-inner{
    margin-top: 40px;
    justify-content: space-between;
}
.res-inner > p {
    line-height: 1.5;
    margin-bottom: 30px;
}
.res-item{
    width: calc(50% - 15px);
    position: relative;
    margin-bottom: 30px;
}
.res-img a{
    display: block;
    width: 100%;
    height: 100%;
/*    overflow: hidden;*/
}

.res-item .img-wrap canvas{
    background: #f0ebe1;
}

.res-item .img-wrap img{
    object-fit: contain;
}

.res-item-dets{
    position: relative;
    padding: 38px 32px 47px 40px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.res-item::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    border-bottom-right-radius: 140px;
    z-index: -1;
    background: #f0ebe1;
    top: 0;
    left: 0;
}
.res-item-title{
    width: 100%;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.25;
    color: var(--primary);
    transition: var(--ip-default-transition);
}
.res-item-desc{
    width: 100%;
    margin-top: 17px;
    margin-bottom: 15px;
}
.res-item .res-item-btn + .res-item-btn {
    margin-top: 10px;
}
.res-item .res-item-btn {
    padding: 0 0 0 70px;
}
.res-item .res-item-btn span {
    font-size: 14px;
    transform: translateX(-22px);
    justify-content: flex-start;
}
.res-item .res-item-btn.vid-btn span{
    transform: translateX(-15px);
}
.res-item .res-item-btn:hover span {
    transform: translateX(8px) !important;
}
.vid-item .img-wrap::after{
    position: absolute;
    content: '';
    width: 72px;
    height: 72px;
    left: 50%;
    top: 50%;
    background-image: url(https://cdn.agentimagehosting.com/PKYccQl7ct7TAoqqONDRG/2024/03/ip-res-play.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.vid-item .img-wrap img{
    opacity: 75%;
}
.res-img.white-img{
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

.res-img a:hover img{
    filter: grayscale(1);
    opacity: 85%;
}
a:hover > .res-item-title{
    color: var(--font-color-title);
}
.footer-top{
    padding-top: 70px;
}
.footer-top::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 40%;
    top: -2px;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}


.aiosp-bg {
    opacity: 0.85;
    background: #000000;
}
.aiosp-wrap .aiosp-container[class*=aiosp-ref-\#res-item] .aios-popup-body {
    width: 1530px;
    max-width: 100%;
    padding: 30px 15px;
    margin: 0 auto;
    background: none;
    min-height: 0;
}
.aiosp-wrap .aiosp-container[class*=aiosp-ref-\#res-item] .aios-popup-body .aiosp-close[title=Close] {
    display: none;
}
.res-popup {

}
.res-popup-inner {

}
.res-popup-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 50px;
}
.res-popup-heading-spacer {
    width: 70px;
}
.res-popup-heading-agent-title {
    display: flex;
    align-items: center;
}
.res-popup-heading-agent {
    border: 10px solid #f0ebe1;
    border-radius: 50%;
    overflow: hidden;
    width: 110px;
    /* margin-top: 22px; */
    margin-right: 20px;
}
.res-popup-heading-agent .canvas-img {
    border-radius: 50%;
    overflow: hidden;
}
.res-popup-heading-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.25;
    color: var(--primary);
}
.res-popup-heading-text {
    font-size: 16px;   
    font-weight: 300;
    color: #ffffff;
    line-height: 1.8;
    letter-spacing: 0.04em;
    padding: 0 100px;
    width: 100%;
    margin-top: 40px;
}
.res-popup-heading-text span {
    display: block;
    margin-bottom: 28px;
}
.res-popup-heading-text strong {
    font-weight: 600;
}
.res-popup-heading-button {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 70px;
    margin-top: 5px;
}
.res-popup-heading-button button {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    padding: 0;
    position: relative;
    width: 69px;
    height: 69px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--secondary-color),1);
    border-radius: 50%;
    font-size: 18px;
    color: #000000;
    transition: all var(--default-transition);
}
.res-popup-heading-button button:hover {
    background: rgba(var(--secondary-color),1);
}
.res-popup-heading-button button.res-popup-close {
    background: rgba(var(--secondary-color),1);
    color: #000000;
    line-height: 1;
    opacity: 1;
}
.res-popup-heading-button button.res-popup-close:hover {
    background: none;
    color: rgba(var(--secondary-color),1);
}
.res-popup-heading-button button.res-popup-download::before,
.res-popup-heading-button button.res-popup-copy::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all var(--default-transition);
}
.res-popup-heading-button button.res-popup-download::before {
    background: url(../../images/resources/icon-download.png) no-repeat center center;
}
.res-popup-heading-button button.res-popup-copy::before {
    background: url(../../images/resources/icon-link.png) no-repeat center center;
}
.res-popup-heading-button button.res-popup-download:hover::before,
.res-popup-heading-button button.res-popup-copy:hover::before {
    filter: brightness(0);
}

.res-popup-content {

}
.res-popup-content-file {
    max-width: 1170px;
    margin: 0 auto;
}
.res-popup-content-file div img {
    width: 100%;
    height: auto;
}
.res-popup-content-file div.pdfemb-viewer,
.res-popup-content-file div.pdfemb-viewer * {
    max-width: 100%;
}
.res-popup-content-file .pdfemb-the-canvas {
    background-size: 100% auto;
}
.res-popup-content-file .df-container {
    background: none !important;
}
.df-floating .df-ui-controls>.df-ui-btn:first-child,
.df-floating .df-ui-controls>.df-ui-btn:last-child {
    border-radius: 0;
}
.df-ui-wrapper, .df-ui-btn, .df-ui-page {
    background: #171717;
    color: #ffffff;
}
.df-ui-alt.df-ui-next {
    border-right-color: #747474;
    margin-right: 10px;
}
.df-floating .df-ui-controls {
    bottom: 15%;
}
/* .df-ui-thumbnail */
.df-ui-share,
.df-ui-more {
    display: none !important;
}
.df-ui-page label {
    color: #ffffff;
}
.df-ui-controls,
.df-ui-btn {
    height: 55px;
}
.df-ui-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.df-ui-page label {
    height: 100%;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* .res-popup-content-file div + div {
    margin-top: 20px;
} */
.res-popup-content-file + .res-popup-content-video {
    margin-top: 50px;
}
.res-popup-content-video {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.res-popup-content-video .canvas-img canvas {
    min-height: 250px;
}
.res-popup-content-video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--default-transition);
}
.res-popup-content-video.is-active iframe {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.res-popup-content-video button {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    padding: 0;
    border: 0;
    position: absolute;
    width: 88px;
    height: 88px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    background: rgba(var(--secondary-color),1);
    font-size: 20px;
    color: #ffffff;
    padding-left: 5px;
    transition: all var(--default-transition);
}
.res-popup-content-video button:hover {
    background: rgba(var(--tertiary-color),1);
}
.res-popup-content-video.is-active button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.aiosp-wrap .aiosp-container .aios-popup-body {
	min-height: auto;
  max-width: 500px;
}

a.gsite-button.long-text {
	width: 298px;
}

.aiosp-ref-\#popup-body {
    margin-top: 30px;
    padding-bottom: 40px;
}

.aiosp-ref-\#popup-body .res-popup-heading-button {
    display: none;
}

.aiosp-ref-\#popup-body .res-popup-heading-text {
    color: inherit;
    padding: 0 30px;
}

/**************************************************/
/*MEDIA AND OTHER MOBILE STYLES*/
/**************************************************/
@media only screen and (min-width: 1601px){

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

}
@media only screen and (max-width: 1366px){
    .res-popup-heading-text {
        padding: 0 50px;
    }
}
@media only screen and (max-width: 1280px){
    
}
@media only screen and (max-width: 1199px){
    .res-popup-heading-text {
        padding: 0;
    }
}
@media only screen and (max-width: 991px){
    .res-item{
        width: 100%;
        max-width: 500px;
        margin: auto;
        margin-bottom: 30px;
    }
    .ip-res .gsite-title{
        text-align: center;
    }

    .res-popup-heading {
        padding-left: 0;
    }
    .res-popup-heading-spacer {
        display: none;
    }
    .res-popup-heading-agent-title {
        order: 2;
        width: 100%;
        flex-direction: column;
    }
    .res-popup-heading-button {
        width: 100%;
        margin: 0 0 20px;
        order: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
    .res-popup-heading-agent {
        margin-right: 0;
    }
    .res-popup-heading-text {
        order: 3;
        width: 100%;
        padding: 0;
    }
}
@media only screen and (max-width: 767px){

}
@media only screen and (max-width: 480px){
    .res-item-dets {
        padding: 25px 25px 40px 25px;
    }
    .res-item-title{
        font-size: 19px;
    }

    .res-popup-heading-text {
        padding-left: 0;
        width: 100%;
        margin-top: 20px;
    }

}
