:root {

    --primary-title-color: #394562;
    --secondary-title-color: #f4824f;

}
.ip-banner{
    display: none;
}
.hp-contact{
    display: none;
}
#inner-page-wrapper{
    margin-bottom: 0;
    overflow: hidden;
}
.ip-banner-agents {
    position: relative;
    width: 100%;
    pointer-events: none;
}
.ip-banner-agents canvas {
    display: block;
    position: relative;
    z-index: 0;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 250px;
}
.ip-banner-agents::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1;
    left: 0;
    background: linear-gradient(to top, transparent 0%, black 100%);
    opacity: 0.25;
}
.ip-banner-agents::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: #000;
    opacity: 0.05;
}

.ip-banner-agents #breadcrumbs{
    position: absolute;
    bottom: 16px;
    color: #fff;
    font-family: 'Roboto';
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.024em;
    pointer-events: auto;
}

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


.agent-card{
    background-color: #fff;
    z-index: 1;
    position: relative;
}
.left .agent-photo{
    float:left;
    margin-right: 85px;
}
.right .agent-photo{
    float:right;
    margin-left: 60px;
}
.agent-photo{
    overflow: hidden;
}
.agent-photo img{
    display: block;
    height: auto;
    width: 100%;
    object-fit: cover;
    -webkit-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}
.agent-photo a:hover img{
    transform: scale(1.05);
}
.agent-card.right .agent-details{
    padding-left: 70px;
}
.agent-name{
    font-size: 55px;
    text-transform: uppercase;
    font-family: 'Barlow Semi Condensed';
    letter-spacing: 0.05em;
    font-weight: bold;
    color: var(--primary-title-color);
}
.agent-position{
    font-size: 30px;
    text-transform: uppercase;
    color: var(--primary-title-color);
    font-weight: 600;
    letter-spacing: 0.05em;
    font-family: 'Barlow Semi Condensed';
    margin-top: 8px;
    display: block;
}
.agent-dre{
    font-size: 18px;
    font-family: 'Noto Serif Display';
    color: var(--secondary-title-color);
    display: block;
    margin-top: -5px;
}
.agent-contact{
    margin-top: 30px;
}
.agent-contact li{
    font-family: 'Roboto';
    font-size: 15px;
    letter-spacing: 0.025em;
    font-weight: 300;
    padding-bottom: 15px;
}
.agent-contact li i{
    color: var(--secondary-title-color);
    margin-right: 17px;
}
.agent-contact li i.ai-font-envelope-f{
    font-size: 12px;
}
.left .agent-bio{
    margin-top: 20px;
    font-size: 14px;
    letter-spacing: 0.025em;
    line-height: 1.9;
    padding-right: 45px;
    padding-left: 75px;
}
.right .agent-bio{
    margin-top: 20px;
    font-size: 14px;
    letter-spacing: 0.025em;
    line-height: 1.9;
}
.agent-bio p:nth-child(2){
    margin-top: 35px;
}
.agent-bio p:last-child{
    margin-top: 25px;
}
/******* AGENTS ONE */
.agents-one .outline-text-bg{
    position: absolute;
    z-index: 1;
    font-size: 272px;
    font-family: 'Barlow Semi Condensed';
    color: #d6d6d6;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #d6d6d6;
    top: 40px;
    right: 55px;
    font-weight: bold;
    opacity: 0.65;
}
.agents-one-bg{
    position: absolute;
    height: auto;
    width: 100%;
    display: block;
    bottom: 0;
}
.agents-one-bg::before{
    content: "";
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 1;
}
.agents-one-bg::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 1;
}

.agents-one-bg canvas{
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.agents-one-container{
    position: relative;
    z-index: 1;
    padding-top: 90px;
    padding-bottom: 90px;
}

.agents-one{
    padding-bottom: 85px;
    position: relative;
}

.agents-one::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, transparent 0%, #000 100%);
    opacity: 0.02;
    z-index: 1;
}

.agents-one::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: #fff;
    opacity: 1;
}

.agents-one h1{
    font-size: 25.5px;
    font-family: 'Noto Serif Display';
    color: var(--secondary-title-color);
}

.agents-one h1 .main-title{
    font-size: 70px;
    letter-spacing: 0.05em;
    font-family: 'Barlow Semi Condensed';
    text-transform: uppercase;
    font-weight: bold;
    color: var(--primary-title-color);
}

.agents-one h1 .sub-title{
    font-size: 36px;
    font-family: 'Roboto';
    text-transform: uppercase;
    font-weight: 500;
    color: #394562;
    margin-left: 4px;
    margin-top: 5px;
    letter-spacing: 0.025em;
    display: block;
}

.left .agent-one-photo{
    margin-bottom: 30px;
}
.agent-one-photo img{

}

.agents-one .agent-one-card .agent-details{
    padding-top: 90px;
    padding-bottom: 65px;
}

.agent-card .agent-details{
    padding-top: 55px;
    padding-bottom: 65px;
}

/* AGENTS TWO */
.agents-two{
    position: relative;
}
.agents-two-bg{
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
}
.agents-two-bg::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 0.7;
    z-index: 1;
}
.agents-two-bg::after{
    content: "";
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, #fff 100%);
    opacity: 1;
    z-index: 1;
}

.agents-two-bg canvas{
    width: 100%;
    height: 100%;
    display: block;
    /* background-size: cover;
    background-position: center; */
    background-repeat: no-repeat;
    filter: grayscale(1);
    opacity: 0.1;
}
.agents-two > .container{
    padding-top: 80px;
    position: relative;
    z-index: 1;
}
.agent-two-photo {
    margin-bottom: 60px;
}

/************ AGENTS THREE */
.agents-three{
    position: relative;
    padding-bottom: 75px;
}
.agents-three-bg{
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
}
.agents-three-bg::before{
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 0.8;
    z-index: 1;
}
.agents-three-bg::after{
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 1;
    z-index: 1;
}

.agents-three-bg canvas{
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.agents-three > .container{
    padding-top: 5px;
}
.agents-three .agent-card .agent-details{
    padding-top: 25px;
    padding-bottom: 59px;
}

.agents-three .agent-bio p:last-child{
    margin-top: 0;
}

/************* AGENTS FOUR */
.agents-four{
    position: relative;
}
.agents-four-bg{
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
}
.agents-four-bg::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 0.7;
    z-index: 1;
}
.agents-four-bg::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, #fff 100%);
    opacity: 1;
    z-index: 1;
}

.agents-four-bg canvas{
    width: 100%;
    height: 100%;
    display: block;
    /* background-size: cover;
    background-position: center; */
    background-repeat: no-repeat;
    filter: grayscale(1);
    opacity: 0.1;
}

.agents-four .agent-card .agent-details{
    padding-top: 100px;
}
.agents-four > .container{
    padding-top: 85px;
}
.agents-four .agent-bio p:last-child{
    margin-top: 0;
}
.agents-four .right .agent-photo{
    margin-left: 75px;
}


/************** AGENTS FIVE */
.agents-five{
    position: relative;
    padding-bottom: 85px;
}
.agents-five-bg{
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
}
.agents-five-bg::before{
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 0.8;
    z-index: 1;
}
.agents-five-bg::after{
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 1;
    z-index: 1;
}

.agents-five-bg canvas{
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.agents-five .container{
    padding-top: 30px;
}
.agents-five .agent-card .agent-details{
    padding-top: 90px;
    padding-bottom: 68px;
}
.agents-five .left .agent-bio{
    padding-right: 63px;
}

/**************** AGENTS SIX */
.agents-six{
    position: relative;
}
.agents-six-bg{
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
}
.agents-six-bg::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 0.7;
    z-index: 1;
}
.agents-six-bg::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, #fff 100%);
    opacity: 1;
    z-index: 1;
}
.agents-six-bg canvas{
    width: 100%;
    height: 100%;
    display: block;
    /* background-size: cover;
    background-position: center; */
    background-repeat: no-repeat;
    filter: grayscale(1);
    opacity: 0.1;
}
.agents-six > .container{
    padding-top: 85px;
}
.agents-six .agents-group{
    font-size: 22px;
    font-family: 'Barlow Semi Condensed';
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-title-color);
    margin-top: 2px;
    display: block;
}
.agents-six .agent-card.right .agent-details{
    padding-top: 100px;
    padding-bottom: 147px
}
.agents-six .agent-position{
    margin-top: 2px;
}
.agents-six .right .agent-bio{
    margin-top: 40px;
}
.agents-six .right .agent-photo{
    margin-left: 76px;
}

.agents-eight-bg {
	display: none;
}

.agents-eight-bg {
	display: none;
}

.agents-seven {
	position: relative;
	padding-bottom: 0;
}

body .agents-seven-bg {
	position: absolute;
	height: 100%;
	width: 100%;
	display: block;
}

body .agents-seven-bg::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 60%;
	background: linear-gradient(to top, transparent 0%, #fff 100%);
	opacity: 0.8;
	z-index: 1;
}

body .agents-seven-bg::after {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, transparent 0%, #fff 100%);
	opacity: 1;
	z-index: 1;
}

body .agents-seven-bg canvas {
	width: 100%;
	height: 100%;
	display: block;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

body .agents-seven-bg canvas {
	background-image: url("https://tonyaperalta.com/wp-content/themes/tonyaperalta.com/images/agents/agents-five-bg.jpg");
}

.agents-nine {
	position: relative;
	padding-bottom: 0;
}

body .agents-nine-bg {
	position: absolute;
	height: 100%;
	width: 100%;
	display: block;
}

body .agents-nine-bg::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 60%;
	background: linear-gradient(to top, transparent 0%, #fff 100%);
	opacity: 0.8;
	z-index: 1;
}

body .agents-nine-bg::after {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, transparent 0%, #fff 100%);
	opacity: 1;
	z-index: 1;
}

body .agents-nine-bg canvas {
	width: 100%;
	height: 100%;
	display: block;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

body .agents-nine-bg canvas {
	background-image: url("https://tonyaperalta.com/wp-content/themes/tonyaperalta.com/images/agents/agents-five-bg.jpg");
}

/**************** AGENTS TESTI */
.agents-testi{
    position: relative;
    padding-bottom: 85px;
    overflow: hidden;
}
.agents-testi-bg{
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
}
.agents-testi-bg::before{
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 0.8;
    z-index: 1;
}
.agents-testi-bg::after{
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, transparent 0%, #fff 100%);
    opacity: 1;
    z-index: 1;
}

.agents-testi-bg canvas{
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.agents-testi-card{
    z-index: 1;
    position: relative;
    max-width: 1213px;
    margin: auto;
    background: #fff;
    padding-top: 70px;
    padding-bottom: 65px;
}
.agent-testi-title{
    font-weight: bold;
    font-size: 73px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-title-color);
    font-family: 'Barlow Semi Condensed';
    text-align: center;
    z-index: 1;
    position: relative;
}
.agents-testi .quote-icon{
    display: block;
    margin: auto;
    margin-top: 55px;
    opacity: 0.1;
}
.agents-testi-slick{
    margin-top: 40px;
}
.agents-testi-content{
    padding: 0 170px;
    letter-spacing: 0.024em;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}
.agents-button{
    text-align: center;
    margin-top: 60px;
}
.agents-testi .site-btn{
    padding: 21px 27px;
    font-weight: 500;
}
.agents-testi-slick-btn{
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    pointer-events: none;
}
.testi-slide-prev{
    left: -105px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    color: var(--primary-title-color);
    border: 1px solid var(--primary-title-color);
    pointer-events: all;
    cursor: pointer;
}
.testi-slide-next{
    right: -103px;
    color: var(--primary-title-color);
    border: 1px solid var(--primary-title-color);
    pointer-events: all;
    cursor: pointer;
}
.testi-slide-prev:hover,
.testi-slide-next:hover{
    color: #fff;
    background: var(--primary-title-color);
}
.outline-text-testi-bg{
    position: absolute;
    z-index: 1;
    font-size: 272px;
    font-family: 'Barlow Semi Condensed';
    color: #d6d6d6;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #d6d6d6;
    top: -7px;
    right: -1145px;
    font-weight: bold;
    opacity: 0.65;
    text-transform: uppercase;
}

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

.agent-smi {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}

.agent-smi a {
    font-size: 20px;
    color: var(--secondary-title-color);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.agent-smi a:hover {
    opacity: 70%;
}


/**************** MOBILE STYLES / OTHER MEDIA QUERIES */
@media only screen and (max-width: 1480px){
    .agents-testi-card {
        max-width: 1000px;
    }
}


@media only screen and (max-width: 1366px){
    .agents-testi-card {
        max-width: 925px;
    }
}


@media only screen and (max-width: 1199px){
    .agent-card.right .agent-details{
        padding-left: 55px;
    }
    .agents-one .outline-text-bg{
        font-size: 200px;
        top: 55px;
    }

    .agent-one-photo{
        margin-right: 55px !important;
    }
    .agents-one .agent-one-card .agent-details,
    .agents-three .agent-card .agent-details,
    .agents-four .agent-card .agent-details,
    .agents-five .agent-card .agent-details,
    .agents-six .agent-card.right .agent-details{
        padding-top: 50px !important;
    }
    .agent-name{
        font-size: 50px;
    }

    .agent-two-photo{
        margin-bottom: 30px;
    }
    .agent-five-photo{
        margin-right: 55px !important;
        margin-bottom: 55px;
    }
    .agents-testi-card {
        max-width: 670px;
    }
    .outline-text-testi-bg{
        font-size: 200px;
        right: -840px;
    }
}

@media only screen and (max-width: 991px){
    .agents-one h1{
        text-align: center;
    }
    .outline-text-bg{
        right: 0 !important;
        margin-right: auto;
        left: 0;
        margin-left: auto;
        text-align: center;
    }
    .outline-text-testi-bg{

        margin-right: auto;
        left: 0;
        margin-left: auto;
        text-align: center;
    }
    .agent-photo{
        float: unset !important;
        margin-right: auto !important;
        margin-left: auto !important;
        max-width: 500px;
    }
    .agent-card.right{
        padding-top: 50px;
    }
    .agent-card .agent-details{
        padding-top: 30px !important;
        padding-bottom: 50px !important;
        text-align: center;
    }
    .agent-card.right .agent-details{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .agent-bio{
        padding-left: 55px !important;
        padding-right: 55px !important;
    }
    .right .agent-bio{
        padding-left: 55px !important;
        padding-right: 55px !important;
    }
    .agents-one-bg::before{
        top: 0 !important;
        opacity: 0 !important;
    }
    .agents-two-bg canvas{
        background-size: cover;
    }
    .agents-two-bg::after{
        bottom: 0 !important;
    }

    .agents-four-bg canvas{
        background-size: cover;
    }
    .agents-four-bg::after{
        bottom: 0 !important;
    }
    .agent-five-photo{
        margin-bottom: 30px !important;
    }
    .agents-six-bg canvas{
        background-size: cover;
    }
    .agents-six-bg::after{
        bottom: 0 !important;
    }
    .agents-testi-slick-btn{
        position: relative;
        top: unset;
        transform: unset;
        margin-top: 40px;
    }
    .testi-slick-btn{
        display: flex;
        justify-content: center;
    }
    .testi-slide-prev,
    .testi-slide-next{
        position: relative;
        margin: 0 15px;
        left: unset;
        right: unset;
    }

}

@media only screen and (max-width: 767px){
    .agent-testi-title{
        font-size: 50px;
    }
    .agents-testi-card{
        width: 90%;
    }
    .agents-testi-content{
        padding: 0 40px;
    }
}

@media only screen and (max-width: 480px){
    .agents-one h1 .main-title{
        font-size: 60px;
    }
    .agents-one h1 .sub-title{
        font-size: 30px;
    }
    .agents-one .outline-text-bg{
        font-size: 110px;

    }
    .outline-text-testi-bg{
        font-size: 110px;
        right: -500px;
        top: 30px;
    }
    .agent-name{
        font-size: 40px;
    }
    .agent-bio {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .agent-card.right .agent-details{
        padding-left: 15px !important;
    padding-right: 15px !important;
    }
    .right .agent-bio {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .agents-one .agent-one-card .agent-details,
    .agents-three .agent-card .agent-details,
    .agents-four .agent-card .agent-details,
    .agents-five .agent-card .agent-details,
    .agents-six .agent-card.right .agent-details {
        padding-top: 20px !important;
    }
    .agent-testi-title{
        font-size: 44px;
    }
    .agents-testi .quote-icon{
        max-width: 100px;
    }
}
#inner-page-wrapper #breadcrumbs{
    display: none;
}

.ip-banner-agents{
    z-index: 9;
}
