/*
Theme Name:     Monitorul de Vrancea
Theme URI: 		https://www.monitoruldevrancea.ro/
Description:    Child theme made by Neo Vision for tagDiv with Newspaper theme version: 12.6.5
Author:         Neo Vision
Author URI: 	https://neovision.dev/
Template:       Newspaper
Version:        1.0.0
*/

/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

.td-header-desktop-sticky-wrap.is-hidden,
.td-header-mobile-sticky-wrap.is-hidden {
    transform: translate(0, -300px) !important;
    transition: transform .5s !important;

}

.td-header-desktop-sticky-wrap.is-visible,
.td-header-mobile-sticky-wrap.is-visible {
    transform: translate(0, 0) !important;
    transition: transform .5s !important;
}

.sticky-container-ad {
    display: none;
    pointer-events: none;
    position: fixed;
    inset: 0;
    height: 100vh;
    z-index: 100;
}

.sticky-container-ad .wpb_wrapper {
    width: fit-content !important;
}

.sticky-container-ad .sticky-box {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    padding: 2vh 1vw;
    pointer-events: auto;
    width: 0px;
}

.sticky-container-ad .sticky-box img,
.sticky-container-ad .sticky-box .wpb_wrapper .td-all-devices,
.sticky-container-ad .sticky-box .wpb_wrapper {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0;
}

.sticky-box.left-box {
    left: 0;
}

.sticky-box.right-box {
    right: 0;
}

/* 
* Code for header slider ad
* Start
*/
.header-row-column,
.mobile-header-row-column {
    flex-grow: 1 !important;
}

.header-slider-wrapper,
.mobile-header-slider-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.header-slider-wrapper .td-a-rec,
.mobile-header-slider-wrapper .td-a-rec {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    display: none;
}

.header-slider-wrapper .td-a-rec .td-all-devices,
.mobile-header-slider-wrapper .td-a-rec .td-all-devices {
    margin: 0 !important;
    padding: 0 !important;
}

.header-slider-wrapper .td-a-rec .td-all-devices img,
.mobile-header-slider-wrapper .td-a-rec .td-all-devices img {
    height: auto !important;
    width: 100% !important;
}

/* Tablet portrait*/
@media screen and (min-width: 768px) {
    .header-slider-wrapper .td-a-rec .td-all-devices {
        margin: 0 0 0 auto !important;
    }

    .header-slider-wrapper .td-a-rec .td-all-devices img {
        height: 62.5px !important;
        width: auto !important;
        object-fit: contain;
    }
}

/* Tablet landscape*/
@media screen and (min-width: 1019px) {
    .header-slider-wrapper .td-a-rec .td-all-devices img {
        height: 75px !important;
    }
}

/* Desktop */
@media screen and (min-width: 1141px) {
    .header-slider-wrapper .td-a-rec .td-all-devices img {
        height: 100px !important;
    }
}

/* 
* Code for header slider ad
* End
*/