/*
Theme Name: TV2000 Special
Theme URI: https://git.glauco.it/tv2000/wptheme-special
Author: IDS & Unitelm <mediamobile@glauco.it>
Author URI: https://git.glauco.it/tv2000/wptheme-special
Template: tv2000
Description: Nuova realizzazione tema TV2000.
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 7.3
License: UNLICENSED
Text Domain: tv2000-special
Tags: tv2000, special
*/

.Card--full {
    flex: 1 1 20rem;
}

.Header__logo-img {
    max-height: 7rem;
}

.wpml-ls-item.MenuItem--sub-menu-open.MenuItem:last-child {
    padding-bottom: 0;
}

.Article__body,
.page__html-content,
.page-template-with-side-content .page__html-content,
.page-template-full-width .page__html-content {
    font-size: 1.6rem;
}

.MenuItem__link svg {
    height: 1.4rem;
    width: 1.4rem;
}

@media only screen and (min-width: 1200px) {
    .page-template-with-side-content .page__main-content {
        flex-basis: 100%;
        min-width: 0;
    }

    .Header__navbar-secondary {
        justify-content: space-between;
        background-color: #f4f6f6;
        border-top: unset;
        gap: 0rem;
        min-height: 8rem;
        align-items: end;
        position: relative;
    }

    .Header__navbar-secondary .MenuItem--has-sub-menu:hover,
    .Header__navbar-secondary .MenuItem--has-sub-menu:focus-within,
    .Header__navbar-secondary .MenuItem--has-sub-menu:hover .MenuItem__dropdown-btn,
    .Header__navbar-secondary .MenuItem--has-sub-menu:focus-within .MenuItem__dropdown-btn {
        background-color: transparent;
        color: inherit;
    }

    .MenuItem__sub-menu .MenuItem__link {
        color: white !important;
    }

    .MenuItem__sub-menu .wpml-ls-display {
        font-size: 1.6rem;
        line-height: 1.5;
        font-weight: 700;
    }

    .Header__navbar .wpml-ls-item .MenuItem__sub-menu {
        left: unset;
        padding: 0 2rem 1rem;
    }

    .Header__navbar-secondary .MenuItem--has-sub-menu:hover .MenuItem__sub-menu,
    .Header__navbar-secondary .MenuItem--has-sub-menu:focus-within .MenuItem__sub-menu {
        display: flex;
        max-width: 100%;
        flex-wrap: wrap;
        left: unset;
    }
}

.page-template-full-width .page__wrapper {
    padding: 3.6rem 0 5.4rem 0;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    gap: 2.4rem;
}

.page-template-full-width .page__column-list {
    display: flex;
    flex-flow: column;
    gap: 3.2rem;
}

@media only screen and (min-width: 768px) {
    .page__full-cards-wrapper.col-1 .Card--full{
        flex-basis: calc(100% - 2.4rem);
    }

    .page__full-cards-wrapper.col-3 .Card--full{
        flex-basis: calc(33.3% - 2.4rem);
    }
}
