@import url(https://www.cashpractice.com/wp-content/themes/cash_practice/assets/speakers_page/assets/fonts/stylesheet.css);

:root {
    --orange: #f8991d;
    --orange-shadow: #ad6b14;
    --purple: #6467af;
    --purple-shadow: #46487a;
    --red: #d2342a;
    --title: 'rockwellbold';
    --body: 'rockwellregular';
}

.speakers .banner {
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('https://www.cashpractice.com/wp-content/themes/cash_practice/assets/speakers_page/assets/images/banner_01_o.jpg');
}

.speakers .banner .row {
    width: 80%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 800px;
    padding-top: 50px;
}

.speakers .banner h3 {
    color: var(--orange);
    text-align: center;
    font-family: var(--title);
    font-size: 58px;
    margin-bottom: 0;
}

.speakers .banner h1 {
    color: var(--orange);
    text-align: center;
    font-family: var(--title);
    font-size: 112px;
    word-wrap: break-word;
    padding: 0 2vw;
    margin: 0;
    line-height: 1;
    margin-bottom: 30px;
}

.speakers .banner h1 span {
    font-style: italic;
    text-decoration: underline;
}

.speakers .banner h3 span {
    color: white;
}

.speakers .banner .people {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.speakers .banner .row .people .left {
    position: relative;
    line-height: 0;
    transform: translateX(50px);
}

.speakers .banner .row .people .right {
    position: relative;
    line-height: 0;
    transform: translateX(-50px);
}

.speakers .banner .row .people .left img,
.speakers .banner .row .people .right img {
    object-fit: cover;
    width: 380px;
    height: 514px;
}

.speakers .banner .row .people .left h2,
.speakers .banner .row .people .right h2 {
    position: absolute;
    bottom: 0;
    color: white;
    font-family: var(--body);    
    border-radius: 30px;
    padding: 20px 24px;
    font-size: 18px;
    left: 50%;
    width: 200px;
    text-align: center;
}

.speakers .banner .row .people .left h2 {
    background-color: var(--orange);
    transform: translate(-76%, -250%);
}

.speakers .banner .row .people .right h2 {
    background-color: var(--purple);
    transform: translate(-40%, -320%);
}

.speakers .serving-time {
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url('https://www.cashpractice.com/wp-content/themes/cash_practice/assets/speakers_page/assets/images/serving-time-01_o.jpg');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 800px;
    padding: 0 65px 0 56%;
    color: white;
    font-family: var(--body);
    font-size: 32px;
    text-align: right;
    line-height: 1.3;
    text-wrap: balance;
}

.speakers .serving-time h2 {
    font-size: 52px;
    font-family: var(--title);
    line-height: 1.1;
    margin-bottom: 0;
}

.speakers .serving-time .text {
    width: 40%;

}

.speakers .patients {
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url('https://www.cashpractice.com/wp-content/themes/cash_practice/assets/speakers_page/assets/images/patients_01_o.jpg');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 800px;
    padding: 30px 40% 30px 65px;
    color: white;
    font-family: var(--body);
    font-size: 32px;
    line-height: 1.3;
}

.speakers .patients h2 {
    font-size: 52px;
    font-family: var(--title);
    line-height: 1.1;
    margin-bottom: 18px;
    padding-right: 65px;
}

.speakers .patients p {
    margin: 0 0 18px 0;
}

.speakers .events {
    display: flex;
    position: relative;
    height: 70%;
    background-color: white;
}

.speakers .events .hj {
    line-height: 0;
    width: 45%;
    margin-top: auto;
}

.speakers .events .hj img {
    max-width: 645px;
}

.speakers .events .logos {
    width: 55%;
    padding-right: 38px;
    box-sizing: border-box;
}

.speakers .events .logos h2 {
    font-family: var(--title);
    font-size: 48px;
    color: var(--purple);
    margin-bottom: 20px;
    line-height: 1;
}

.speakers .events .logos .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.speakers .events .logos .row .item {
    width: 135px;
    box-sizing: border-box;
}

.speakers .events .logos .row .item img {
    max-width: 100%;
}

.speakers .reviews {
    background-color: var(--purple);
    padding: 40px;
}

.speakers .reviews h2 {
    margin-top: 0;
    margin-bottom:30px;
    text-align: center;
    font-family: var(--title);
    color: white;
    font-size: 52px;
}

.speakers .reviews .boxes {
    width: 90%;
    margin: 0 auto;
}

.speakers .reviews .boxes .item {
    background-color: var(--orange);
    text-align: center;
    padding: 35px;
    box-sizing: border-box;
    color: white;
    box-shadow: 9px 9px var(--purple-shadow);
    margin-bottom: 60px;
}

.speakers .reviews .boxes .item .stars {
    width: 100%;
    text-align: center;
}

.speakers .reviews .boxes .item .stars img {
    max-width: 100%;
}

.speakers .reviews .boxes .item .content {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.speakers .reviews .boxes .item h3 {
    font-family: var(--title);
    font-size: 38px;
    line-height: 1;
    margin: 17px 0 15px 0;
}

.speakers .reviews .boxes .item p {
    font-family: var(--body);
    font-size: 36px;
    font-style: italic;
    line-height: 1.3;
    margin: 5px 0 15px 0;
}

.speakers .topics {
    background-color: var(--orange);
    background-size: cover;
    padding: 40px;
    font-family: var(--body);
}

.speakers .topics h2 {
    margin-top: 0;
    text-align: center;
    font-family: var(--title);
    color: white;
    font-size: 52px;
}

.speakers .topics .boxes {
    width: 90%;
    margin: 0 auto;
}

.speakers .topics .boxes .item {
    background-color: var(--purple);
    font-family: var(--body);
    color: white;
    padding: 50px;
    font-size: 32px;
    box-shadow: 9px 9px var(--orange-shadow);
    box-sizing: border-box;
    margin-bottom: 60px;
    min-height: 320px;

}

.speakers .topics .boxes .item h3 {
    font-size: 32px;
    margin: 0;
}

.speakers .topics .boxes .item .content {
    box-sizing: border-box;
}

.speakers .topics .boxes .item .content .head {
    display: flex;
}

.speakers .topics .boxes .item .content .head h3 {
    width: 75%;
    font-size: 38px;
}

.speakers .topics .boxes .item .content .head .hours {
    text-align: right;
    padding-top: 26px;
    padding-right: 10px;
    font-size: 20px;
    width: 20%;
    font-family: sans-serif;
    font-weight: 700;
}

.speakers .topics .boxes .item .content .head .hours span {
    background-color: var(--orange);
    border-radius: 30px;
    padding: 10px 15px;
}

.speakers .topics .boxes .item .content .head .type {
    text-align: right;
    padding-top: 26px;
    font-size: 20px;
    width: 5%;
    font-family: sans-serif;
    font-weight: 700;
}

.speakers .topics .boxes .item .content .head .type span {
    background-color: var(--red);
    border-radius: 30px;
    padding: 10px 15px;
}

.speakers .download {
    padding: 50px 0;
    background-color: #e5e6e5;
}

.speakers .download .content {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    font-family: var(--title);
}

.speakers .download .content .arrow {
    width: 25%;
    text-align: center;
}

.speakers .download .content .arrow img {
    max-width: 100%;
    text-align: center;
}

.speakers .download .content .button {
    text-align: center;    
    background-color: var(--purple);
    border-radius: 20px;
    padding: 20px 50px;
    box-shadow: 10px 10px #a0a1a0;
    width: 75%;
}

.speakers .download .content .button a {
    font-size: 58px;
    text-decoration: none;
    color: white;
    line-height: 1;
}

.speakers .download .content .button a span {
    font-size: 46px;
}

.speakers .contact {
    background-color: var(--purple);
    color: white;
    font-family: var(--body);
    display: flex;   
    padding-top: 40px; 
}

.speakers .contact .image {
    margin-top: auto;   
    line-height: 1; 
    width: 50%;
    position: relative;
}

.speakers .contact .image .hj {
    top: 351px;
    left: 12%;
    position: absolute;
    z-index: 2;
}

.speakers .contact .image .mb {
    top: 306px;
    left: 54%;
    position: absolute;
    z-index: 2;
    box-sizing: border-box;
}

.speakers .contact .image .hj span{
    background-color: var(--orange);
    border-radius: 30px;
    padding: 10px 42px;
    font-size: 22px;
}

.speakers .contact .image .mb span {
    background-color: var(--purple);
    border-radius: 30px;
    padding: 10px 42px;
    font-size: 22px;
}

.speakers .contact .image img {
    max-width: 100%; 
    transform: translateY(3px);
}

.speakers .contact .text {
    width: 50%;
    padding: 50px 30px;
    box-sizing: border-box;
    font-size: 30px;
}

.speakers .contact .text a {
   color: white;
   text-decoration: none;
   font-weight: 700;
}

.speakers .contact .text .default {
    font-size: 30px;
}

.speakers .contact .text .mid {
    font-size: 86px;
    margin: 0;
    font-family: var(--title);
    line-height: 1;
}

.speakers .contact .text .full {
    font-size: 170px;
    margin: 0;
    font-family: var(--title);
    line-height: 1;
}

@media(max-width: 1370px){

    .speakers .banner h1 {
        font-size: 78px;
    }

    .speakers .banner h3 {
        font-size: 52px;
    }

    .speakers .contact {
        padding-top: 20px;
    }

    .speakers .contact .image {
        width: 45%;
    }

    .speakers .contact .text {
        width: 55%;
    }

    .speakers .contact .image .hj span,  
    .speakers .contact .image .mb span {
        padding: 10px 28px;
        font-size: 20px;
    }   

    .speakers .contact .text .mid {
        font-size: 70px;
    }

    .speakers .contact .text .full {
        font-size: 120px;
    }

    .speakers .contact .image .hj {
        top: 50%;
    }  

    .speakers .contact .image .mb {
        top: 44%;
    }  
}

@media(max-width: 1200px){
    .speakers .banner .row {
        height: 100%;
    }
    .speakers .banner h1 {
        font-size: 80px;
    }

    .speakers .banner h3 {
        font-size: 48px;
    }

    .speakers .serving-time {
        padding: 0 65px 0 50%;
        font-size: 30px;
    }

    .speakers .serving-time h2 {
        font-size: 40px;
    }

    .speakers .patients {
        padding: 30px 40% 30px 65px;
        font-size: 30px;
    }

    .speakers .patients h2 {
        font-size: 40px;
    }

    .speakers .events .hj img {
        max-width: 580px;
    }

    .speakers .events .logos h2 {
        font-size: 40px;
    }

    .speakers .events .logos .row .item {
        width: 120px;
    }

    .speakers .reviews h2 {
        font-size: 44px;
    }

    .speakers .reviews .boxes .item h3 {
        font-size: 32px;
    }

    .speakers .reviews .boxes .item p {
        font-size: 30px;
    }

    .speakers .reviews .boxes .item .content {
        height: auto;
    }

    .speakers .topics .boxes .item {
        font-size: 28px;
    }

    .speakers .topics h2 {
        font-size: 42px;
    }

    .speakers .topics .boxes .item .content .head h3 {
        font-size: 30px;
    }

    .speakers .download .content .button a {
        font-size: 56px;
    }

    .speakers .download .content .button a span {
        font-size: 42px;
    }

    .speakers .download .content .arrow {
        text-align: left;
    }

    .speakers .download .content .button {
        width: 74%;
    }

    .speakers .contact {
        padding-top: 0px;
    }

    .speakers .contact .text .mid {
        font-size: 70px;
    }

    .speakers .contact .text .full {
        font-size: 110px;
    }

    .speakers .contact .image .hj span,  
    .speakers .contact .image .mb span {
        padding: 10px 14px;
        font-size: 20px;
    }   

    .speakers .contact .text .mid {
        font-size: 62px;
    }

    .speakers .contact .text .full {
        font-size: 105px;
    }
}

@media(max-width: 1024px){
    .speakers .events .logos h2 {
        font-size: 35px;
    }

    .speakers .events .hj img {
        max-width: 547px;
    }

    .speakers .reviews .boxes .item {        
        box-shadow: none;
    }

    .speakers .topics .boxes .item {
        font-size: 28px;
        box-shadow: none;
        width: 100%;
    }

    .speakers .topics .boxes .item .content .head  {
        flex-direction: column;
    }

    .speakers .topics .boxes .item .content .head h3 {
        width: 100%;
    }

    .speakers .topics .boxes .item .content .head .hours {
        width: 100%;
        text-align: left;
    }

    .speakers .topics .boxes .item .content .head .type {
        width: 100%;
        text-align: left;
    }    

    .speakers .download .content .button a {
        font-size: 46px;
    }

    .speakers .download .content .button a span {
        font-size: 32px;
    }

    .speakers .contact .text .mid {
        font-size: 52px;
    }

    .speakers .contact .text .full {
        font-size: 95px;
    }

    .speakers .contact .text {
        font-size: 24px;
    }
}

@media(max-width: 990px){
    .speakers .banner h1 {
        font-size: 70px;
    }

    .speakers .banner h3 {
        font-size: 40px;
    }

    .speakers .banner .row .people .left img,
    .speakers .banner .row .people .right img {
        width: 320px;
        height: 433px;
    }

    .speakers .banner .row .people .left h2 {
        transform: translate(-70%, -275%);
    }

    .speakers .banner .row .people .right h2 {
        transform: translate(-40%, -300%);
    }

    .speakers .serving-time {
        background-image: 
            linear-gradient(90deg, rgba(114,114,112,0.7) 0%, rgba(114,114,112,0.7) 100%), 
            url('https://www.cashpractice.com/wp-content/themes/cash_practice/assets/speakers_page/assets/images/serving-time-01_o.jpg');
        padding: 30px 5% 30px 5%;
        text-align: center;
        min-height: 600px;
    }

    .speakers .patients {
        background-image: 
        linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.6) 100%), 
            url('https://www.cashpractice.com/wp-content/themes/cash_practice/assets/speakers_page/assets/images/patients_01_o.jpg');
        padding: 30px 5% 30px 5%;
        text-align: center;
        min-height: 600px;
    }

    .speakers .events {
        flex-direction: column;
        padding: 20px 5% 0;
    }

    .speakers .events .hj {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .speakers .events .hj img {
        max-width: 80%;
    }
    
    .speakers .events .logos {
        padding-right: 0;
        order: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 28px;
    }

    .speakers .events .logos h2 {
        font-size: 40px;
        margin-bottom: 28px;
    }

    .speakers .events .logos .item {
        width: auto !important;
    }

    .speakers .events .logos .item img {
        max-width: 80%;
    }

    .speakers .reviews h2 {
        font-size: 38px;
    }

    .speakers .reviews .boxes .item h3 {
        font-size: 30px;
    }

    .speakers .reviews .boxes .item p {
        font-size: 26px;
    }

    .speakers .download {
        padding: 50px 0 60px;
    }

    .speakers .download .content .button a {
        font-size: 34px;
    }

    .speakers .download .content .button a span {
        font-size: 24px;
    }

    .speakers .contact {
        flex-direction: column;
    }

    .speakers .contact .image {
        width: 60%;
        order: 1;
        margin: 0 auto;
    }

    .speakers .contact .text {
        width: 100%;
        order: 0;
    }

    .speakers .contact .text {
        padding: 50px 30px 10px 30px;
    }
}

@media(max-width: 768px){
    .speakers .banner .row {
        min-height: 600px;
    }

    .speakers .banner h1 {
        font-size: 60px;
    }

    .speakers .banner h3 {
        font-size: 30px;
    }

    .speakers .banner .row .people .left img,
    .speakers .banner .row .people .right img {
        width: 250px;
        height: 338px;
    }

    .speakers .banner .row .people .left h2 {
        padding: 15px 15px;
        font-size: 14px;
        width: 110px;
        transform: translate(-88%, -255%);
    }

    .speakers .banner .row .people .right h2 {
        padding: 15px 15px;
        font-size: 14px;
        width: 150px;
        transform: translate(-40%, -280%);
    }

    .speakers .serving-time {
        font-size: 24px;
    }

    .speakers .serving-time h2 {
        font-size: 32px;
    }
    .speakers .patients {
        font-size: 24px;
        background-position: top right;
    }

    .speakers .patients h2 {
        font-size: 32px;
        padding-right: 0;
    }

    .speakers .events .logos h2 {
        font-size: 32px;
    }

    .speakers .topics .boxes .item {
        font-size: 24px;
    }

    .speakers .download .content .arrow {
        display: none;
    }

    .speakers .download .content .button {
        width: 100%;
    }

    .speakers .contact .image {
        width: 70%;
        order: 1;
        margin: 0 auto;
    }

    .speakers .contact .image .mb {
        left: 48%;
    }
}

@media(max-width: 580px){
    .speakers .banner h1 {
        font-size: 42px;
    }

    .speakers .banner h3 {
        font-size: 20px;
    }

    .speakers .banner .row {
        min-height: 480px;
    }

    .speakers .banner .row .people .left img,
    .speakers .banner .row .people .right img {
        width: 200px;
        height: 270px;
    }

    .speakers .banner .row .people .left h2 {
        padding: 15px 10px;
        width: 100px;
        transform: translate(-88%, -175%);
    }

    .speakers .banner .row .people .right h2 {
        padding: 15px 10px;
        width: 130px;
    }

    .speakers .events .logos .row {
        grid-template-columns: repeat(2, 1fr);
    }

    .speakers .reviews h2,
    .speakers .topics h2 {
        font-size: 32px;
    }

    .speakers .topics .boxes .item h3 {
        font-size: 24px;
    }

    .speakers .topics .boxes .item {
        font-size: 20px;
        padding: 30px 20px;
        min-height: 520px;
    }

    .speakers .contact .image {
        width: 80%;
        order: 1;
        margin: 0 auto;
    }

    .speakers .contact .image .hj span, .speakers .contact .image .mb span {
        font-size: 18px;
    }
}

@media(max-width: 580px){
    .speakers .download .content .button {
        padding: 15px;
    }

    .speakers .download .content .button a {
        font-size: 20px;
    }

    .speakers .download .content .button a span {
        font-size: 16px;
    }

    .speakers .contact .image {
        width: 90%;
        order: 1;
        margin: 0 auto;
    }

    .speakers .contact .image .hj span, .speakers .contact .image .mb span {
        font-size: 14px;
        padding: 6px;
    }

    .speakers .contact .text .mid {
        font-size: 42px;
    }

    .speakers .contact .text .full {
        font-size: 78px;
    }

    .speakers .contact .text {
        font-size: 19px;
    }
}





.speakers {
    width: 100% !important;
    clear: both !important;
}

.speakers * {
    float: none;
}

.speakers .row::before {
    display: none;
}

@media (max-width: 1024px){
    .speakers * {
        word-break: break-word;
    }

    .speakers .topics .boxes .item .content .head {
        margin-bottom: 20px;
    }

    .speakers .contact .text p {
        width: auto;
    }

    .speakers .contact .contact .text p.default {
        width: auto;
        word-wrap: break-word;
    }
}

@media (max-width: 580px){
    .speakers .banner .row {
        width: 95%;
    }
    .speakers .contact .text .default {
        font-size: 20px;
    }

    .speakers .banner .row .people .left {
        transform: translateX(22px);
    }

    .speakers .banner .row .people .right {
        transform: translateX(-24px);
    }

    .speakers .banner .row .people .left img,
    .speakers .banner .row .people .right img {
        width: 160px;
        height: 216px;
    }

    .speakers .banner .row .people .right h2 {
        transform: translate(-40%, -190%);
        padding: 8px 10px;
    }

    .speakers .banner .row .people .left h2 {
        transform: translate(-71%, -171%);
        padding: 8px 10px;
    }

    .speakers .contact .image .hj,
    .speakers .contact .image .mb {
        width: 50%;
    }
}