/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.14.4.1642864517
Updated: 2022-01-22 15:15:17

*/

html *:not(img)::selection {
    background-color: #CAD9D6;
    color: #144F76;
}

#main-header {
    z-index: 9999 !important;
}

/* BLOCKQUOTE ON POSTS */
body.single.single-post blockquote {
    font-size: 24px;
    line-height: 1.2em;
    background-color: #144F76;
    color: #fff;
    padding: 90px 100px;
    margin: 70px 0 140px;
    border: none;
    font-family: 'petersburg-web',sans-serif!important;
    transform: translateX(calc(((910px / 2) + (50vw - 8px)) - 100%));
    transform-style: preserve-3d;
}
body.single.single-post blockquote:after {
    content: '';
    position: absolute;
    width: 2px;
    height: calc(100% - (90px * 2));
    top: 90px;
    left: calc(100px - 32px);
    background: #C7B3AD;
}
body.single.single-post blockquote:before {
    content: '';
    position: absolute;
    width: calc(100% + 45px);
    height: calc((100% - 80px) + 45px);
    top: 80px;
    left: -45px;
    background-color: #CAD9D6;
    transform: translateZ(-1px);
}

@media only screen and (min-width: 981px) {
    body.single.single-post blockquote {
        max-width: 820px;
    }
}

@media only screen and (max-width: 910px) {
    body.single.single-post blockquote {
        width: calc(100% + 10vw);
        transform: none;
    }
}
@media only screen and (max-width: 767px) {
    body.single.single-post blockquote {
        transform: translateX(calc(-10vw + 20px));
        width: calc(100% + calc(20vw - 20px));
        padding: 2em;
        font-size: 18px;
    }
}

/* Hero video play/pause button */
#hero-video-toggle {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    background: hsla(0, 0%, 100%, 0.15);
    border: 1px solid hsla(0, 0%, 100%, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
#hero-video-toggle:hover,
#hero-video-toggle:focus {
    background: hsla(0, 0%, 100%, 0.3);
    outline: 2px solid hsla(0, 0%, 100%, 0.8);
    outline-offset: 2px;
}
#hero-video-toggle svg {
    width: 0.875rem;
    height: 0.875rem;
    fill: #fff;
}
#hero-video-toggle .icon-play {
    display: none;
}
#hero-video-toggle.is-paused .icon-pause {
    display: none;
}
#hero-video-toggle.is-paused .icon-play {
    display: block;
}
