.wp-admin .media-text { overflow: hidden; }
.media-text { position: relative; z-index: 1; }
.media-text .row { position: relative; z-index: 1; }
.media-text-col { position: relative; }
.media-text-col.image img { position: relative; max-width: 100%; }
.media-text-col.image.background { background-size: cover !important; background-repeat: no-repeat !important; aspect-ratio: 16 / 9; }

.media-text.video.block-full-image { padding: 0; }
.media-text.video .media-text-col.image.background { position: absolute; /*height: 55vh !important;*/ padding: 0; }
.video-frame { position: relative; overflow: hidden; }
.video-player { position: relative; height: calc(100% + 100vh); width: calc(1920px + 100vw); left: -40vw; top: -50vh; }
.video-player.contain { height: 140%; width: 100%; left: unset; top: -20%; min-height: 540px; }

.media-text-col.text { display: flex; height: 100%; flex-direction: column; }
.media-text-col.text img.alignleft { float: left; margin: 0 10px 0 0 !important; }
.media-text-col.text img.alignright { float: right; margin: 0 0 0 10px !important; }
#the-future-of-women-in-finance.media-text.video .media-text-col.image.background { height: 40vh !important;}
#the-future-of-women-in-finance.media-text.video .media-text-col.image.background { height: 40vh !important; }

.front-end-phone .media-text .row { display: block; }
.front-end-phone .media-text-col { width: 100% !important; left: 0 !important; }
.front-end-phone .media-text-col.image { height: 250px !important; width: 100% !important; left: 0 !important; }
.front-end-phone .media-text-col.image img { top: unset !important; transform: unset !important; }

.front-end-phone .media-text .row { display: block; }
.front-end-phone .media-text-col { width: 100% !important; left: 0 !important; }
.front-end-phone .media-text-col .text { padding: 0 !important; }
.front-end-phone .media-text-col.image { width: 100% !important; left: 0 !important; }
.front-end-phone .media-text-col.image img { top: unset !important; transform: unset !important; }

.front-end-phone .media-text.video { padding: 0 !important; }
.front-end-phone .media-text.video .media-text-col.image.background { height: 350px !important; }
.front-end-phone .media-text.video .video-frame { position: absolute; height: 350px !important; width: 100% !important; top: 0; left: 0% !important; }
.front-end-phone .media-text.video .video-frame iframe { height: 350px; width: 180%; left: -40%; top: 0; }
.front-end-phone .media-text.video .media-text-col.text { width: 100% !important; padding: 30px !important; }
.front-end-phone .media-text .background-images .bg-image { height: 550% !important; width: calc(100% + 30px) !important; top: -100px !important; left: -30px !important; }

.floating-button { position: fixed; right: -48px; top: 15vh; background-color: #00365b; height: 46px; width: 139px; border: 1px solid #FFFFFF; z-index: 100; transform: rotate(-90deg); font-size: 18px; font-weight: 700; line-height: 22px; }
.floating-button-text { color: #FFFFFF; font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; line-height: 22px; text-align: center; padding: 10px; }

@media (max-height: 900px) {
    .video-player { height: calc(100% + 100vh); width: calc(1920px + 200vw); left: -120vw; top: -50vh; }
}

@media (max-width: 1024px) {
    #page-header .bg-image.cover { left: -30px; top: -100px !important; width: calc(100% + 30px) !important; }
    #page-header-no-text .bg-image { height: 195% !important; width: calc(100% + 30px) !important; left: -30px; }
}

@media (max-width: 800px) {
    #a-message .bg-image { height: 102% !important; top: 0 !important; }
    #accessibility-statement .bg-image { height: 99% !important; top: 0 !important; }
    #built-on-collective-expertise .bg-image { height: 101% !important; top: 0 !important; }
    #capital-markets-quote .bg-image { height: 100% !important; top: 0 !important; }
    #edi-leadership-council .bg-image { height: 100% !important; top: 0 !important; }
    #page-header-no-text .bg-image { height: 195% !important; }
    #private-equity-quote .bg-image { height: 100% !important; top: 0 !important; }
    #irr-quote .bg-image { height: 109% !important; }
    #quadreal .media-text-col.image { height: 200px !important; }
    #quote .bg-image { height: 140% !important; top: 0 !important; }
    .media-text { padding-top: 77px; padding-left: 30px !important; }
    .media-text .row { display: block; }
    .media-text-col { width: 100% !important; left: 0 !important; }
    .media-text-col .text { padding: 0 !important; }
    .media-text-col.image { width: 100% !important; left: 0 !important; }
    .media-text-col.image img { top: unset !important; transform: unset !important; }
    .media-text.video .media-text-col.image.background { position: relative; }
    .media-text.image .media-text-col.text { width: 100% !important; padding: 30px 0 !important; }
    .media-text.video { padding: 0 !important; }
    .media-text.video .video-frame { height: 500px !important; width: 100% !important; left: 0% !important; }
    .media-text.video .media-text-col.text { width: calc(100% - 60px) !important; padding: 30px !important; }
    .media-text.video.block-full-image .media-text-col.text { padding: 0 !important; }
    .media-text.video.block-full-image .video-frame { top: -27vh; margin: 0 0 -27vh 0; }
    .front-end-phone #built-on-collective-expertise.media-text.video .media-text-col.text { width: calc(100% - 60px) !important; }
    .front-end-phone #the-future-of-women-in-finance.media-text.video .media-text-col.text { width: calc(100% - 60px) !important; }
    .front-end-phone #the-future-of-women-in-finance .bg-image { height: 110% !important; }
    .front-end-phone.page-id-19957 #page-header .bg-image { height: 600% !important; }
}

@media (max-width: 600px) {
    .media-text.video.block-full-image .video-frame { top: 0; }
    #page-header .bg-image.cover { height: calc(100% + 750px); }
    .floating-button { display: none; }
}