/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*

.veroco-latest-media {
    background-image: url(https://freefox.test/wp-content/uploads//veroco-media/latest-veroco-image.jpg);
    background-repeat: no-repeat;
    height: 100%;
    background-size: cover;
    top: 0;
    width: calc(100vw * 2 / 3);
    position: fixed;
    right: 0;
    background-position: center center;
    background-attachment: local;
}
*/

.veroco-latest-media {
    /*background-color: #002FA7;*/
    background-color: #2538e1; /* This looks closer to sample image instead of Monochrome, IKB Blue #002FA7 */
    background-blend-mode: luminosity;
    background-repeat: no-repeat;
    height: 100vh;
    background-size: cover;
    top: -150px;
    width: calc(100vw * 2 / 3);
    background-position: center center;
    background-attachment: local;
    display: block;
    z-index: 99;
    margin-right: -30px;
    float: right;
    filter: grayscale(0.55);
    transition: background-color 0.5s ease-out;
    position: absolute;
    right: 0;
}

a.veroco-latest-media:hover {
    background-color: transparent;
}

a.veroco-latest-media::before {
    background-image: url(/wp-content/plugins/veroco-media-download/public/images/vero_logo.png);
    display: block;
    content: ' ';
    background-repeat: no-repeat;
    height: 50px;
    background-size: auto 50px;
    width: 212px;
    text-align: center;
    margin: auto;
    position: relative;
    top: 50%;
    float: none;
    vertical-align: middle;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s linear, opacity 0.5s linear;
    z-index: 1;
}

a.veroco-latest-media:hover:before {
    visibility: visible;
    opacity: 1;
}

.force-z-index {
    z-index: 99 !important;;
}

a.veroco-latest-media img {
    display: none;
    visibility: hidden;
}

a.veroco-latest-media.autoplayed-video video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    -webkit-filter: brightness(110%) grayscale(50%);
    filter: brightness(110%) grayscale(50%);
    mix-blend-mode: luminosity;
    background: #2538e1;
}

a.veroco-latest-media.autoplayed-video:hover video {
    mix-blend-mode: normal;
    filter: none;
}

@supports (-webkit-hyphens:none) {
    a.veroco-latest-media.autoplayed-video video {
        mix-blend-mode: soft-light;
    }
}

@media only screen and (max-width: 1140px) {
    a.veroco-latest-media {
        max-width: calc(100vw - 380px);
    }

    a.veroco-latest-media.autoplayed-video video {
    }
}

@media only screen and (max-width: 1200px) and (min-height: 400px) {
    #eut-theme-wrapper .eut-padding-top-2x {
        padding-top: 85px !important
    }

    a.veroco-latest-media {
        max-width: calc(100vw - 400px);
    }
}

@media only screen and (max-width: 1200px) and (max-height: 400px) {
    #eut-theme-wrapper .eut-padding-top-2x {
        padding-top: 85px !important
    }
}

@media only screen and (max-width: 1023px) {
    a.veroco-latest-media {
        max-width: initial;
    }
}

@media only screen and (min-width: 1024px) and (min-height: 400px) and (max-width: 1200px) {
    #eut-theme-wrapper .eut-padding-top-2x {
        padding-top: 115px !important;
    }
}


@media only screen and (min-width: 1201px) and (min-height: 400px) {
    #eut-theme-wrapper .eut-padding-top-2x {
        padding-top: 80px !important
    }
}

@media only screen and (min-width: 769px) {
    .full-height-page {
    }
}

@media only screen and (max-width: 768px) {
    a.veroco-latest-media::before {
        background-size: auto 20px;
        height: 20px;
        position: absolute;
        width: 100%;
        background-position: center;
    }

    a.veroco-latest-media {
        width: 100vw;
        padding: 0;
        display: block;
        height: 100vw;
        position: relative;
        float: none;
        top: 40px;
        left: -30px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    a.veroco-latest-media img {
        display: block;
    }
}

@media (orientation: landscape) {
    html[data-notch="true"] .eut-section.eut-fullwidth {
        margin-left: 40px;
    }

    html[data-notch="true"] #eut-main-header .eut-container,
    html[data-notch="true"] #eut-header.eut-fullwidth #eut-responsive-header .eut-container {
        padding-left: 40px !important;
    }
}

@media (orientation: landscape) and (max-width: 1200px) {
    html[data-notch="true"] a.veroco-latest-media {
        width: calc(100vw - 300px);
    }
}

#eut-main-header .eut-container {
    padding-left: 27px !important;
}
