:root {
    --primary-color: #1f3f8d;
    --primary-color-tint: #2b58c4;
    --primary-color-shade: #193271;
    --primary-color-contrast: #fff;
    --secondary-color: #E81C23;
    --secondary-color-tint: #f14950;
    --secondary-color-shade: #c41016;
    --secondary-color-contrast: #fff;
}

.ff-bebas {
    font-family: 'Bebas Neue', serif !important;
}

a.button-secondary {
    background: var(--secondary-color);
    color: var(--secondary-color-contrast) !important;
    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

a.button-secondary:hover, a.button-secondary:focus, a.button-secondary:active {
    background: var(--secondary-color-shade);
    color: var(--secondary-color-contrast);
}

a.button-secondary-outline {
    border: solid 2px var(--secondary-color);
    color: var(--secondary-color) !important;
    border-radius: 10px;
}

a.button-secondary-outline:hover, a.button-secondary-outline:focus, a.button-secondary-outline:active {
    background: var(--secondary-color-shade);
    color: var(--secondary-color-contrast) !important;
}

button.button-secondary {
    background: var(--secondary-color);
    color: var(--secondary-color-contrast) !important;
    border-radius: 10px;
    border: none;
    padding: 0.5em 1em;
    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

button.button-secondary:hover,
button.button-secondary:focus,
button.button-secondary:active {
    background: var(--secondary-color-shade);
    color: var(--secondary-color-contrast);
}

button.button-secondary-outline {
    border: solid 2px var(--secondary-color);
    color: var(--secondary-color) !important;
    border-radius: 10px;
    background: transparent;
    padding: 0.5em 1em;
    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

button.button-secondary-outline:hover,
button.button-secondary-outline:focus,
button.button-secondary-outline:active {
    background: var(--secondary-color-shade);
    color: var(--secondary-color-contrast) !important;
}

a.button-primary {
    background: var(--primary-color);
    color: var(--primary-color-contrast) !important;
    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

a.button-primary:hover, a.button-primary:focus, a.button-primary:active {
    background: var(--primary-color-shade);
    color: var(--primary-color-contrast);
}

a.button-light {
    background: #fff;
    color: #232323 !important;
    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

a.button-light:hover, a.button-light:focus, a.button-light:active {
    background: #e1e1e1;
    color: #232323 !important;
    border-radius: 10px;
}

a.button-primary-outline {
    border: solid 2px var(--primary-color);
    color: var(--primary-color) !important;
    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

a.button-primary-outline:hover, a.button-primary-outline:focus, a.button-primary-outline:active {
    background: var(--primary-color-shade);
    color: var(--primary-color-contrast) !important;
}

button.button-primary {
    background: var(--primary-color);
    color: var(--primary-color-contrast) !important;
    border-radius: 10px;
    border: none;
    padding: 0.5em 1em;
    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

button.button-primary:hover,
button.button-primary:focus,
button.button-primary:active {
    background: var(--primary-color-shade);
    color: var(--primary-color-contrast);
}

button.button-primary-outline {
    border: solid 2px var(--primary-color);
    color: var(--primary-color) !important;
    border-radius: 10px;
    background: transparent;
    padding: 0.5em 1em;
    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

button.button-primary-outline:hover,
button.button-primary-outline:focus,
button.button-primary-outline:active {
    background: var(--primary-color-shade);
    color: var(--primary-color-contrast) !important;
}

.background-primary {
    background: var(--primary-color);
}

.background-secondary {
    background: var(--secondary-color);
}

.art-nav {
    background: transparent;
    border: 0;
}

.art-nav .art-hmenu {
    margin-left: auto;
    margin-right: auto;
}

.nav-sticky .art-nav .metismenu-item:not(.active) a, body:not(.itemid-101) .art-nav .metismenu-item:not(.active) a {
    color: #232323;
    transition: color 0.3s linear;
}

html:not(.responsive) body:is(.itemid-101) header > div:not(.nav-sticky) .art-nav .metismenu-item.level-1:not(.active) > a {
    color: var(--secondary-color-contrast);
}

.metismenu-item a:hover {
    color: var(--secondary-color) !important;
}

.art-nav .metismenu-item {
    display: flex;
}

.art-nav .metismenu-item a {
    margin: auto 0;
}

.nav-sticky .art-nav {
    background-color: #fff;
    transition: background-color 0.3s linear;
}

.container-header .container-search {
    margin-top: 0;
    display: flex;
    align-items: center;
}

.container-search i {
    font-size: 30px;
    margin: 10px;
}

.itemid-101 header > div:not(.nav-sticky) .container-search i {
    color: var(--primary-color-contrast);
}

.nav-sticky .container-search i {
    color: #232323;
    transition: color 0.3s linear;
}

.itemid-101 #sticky-wrapper:not(.nav-sticky) #hamburgerMenu:not(.is-active) .hamburger-inner, .itemid-101 #sticky-wrapper:not(.nav-sticky) #hamburgerMenu:not(.is-active) .hamburger-inner::before, .itemid-101 #sticky-wrapper:not(.nav-sticky) #hamburgerMenu:not(.is-active) .hamburger-inner::after {
    background-color: white;
    transition: background-color 0.3s linear;
}

    /*HOMEPAGE*/
.itemid-101 #fullheight-header-image {
    background-size: 130%;
    background-position: top left;
    margin-top: -140px;
    display: flex;
}

.itemid-101 #fullheight-header-image #fullheight-header-image-contenuto {
    align-self: center;
}

.itemid-101 #fullheight-header-image h1 {
    text-transform: uppercase;
    font-size: 40px;
    color: #fff;
    opacity: 80%;
    font-weight: 400;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
}

.itemid-101 #fullheight-header-image h2 {
    font-size: 120px;
    text-transform: uppercase;
    line-height: 100%;
    color: #fff;
    font-family: 'Bebas Neue', serif;
    max-width: 80%;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
}

.categoria-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
}

.categoria-box {
    border-radius: 10px;
    display: block;
    height: 300px;
}

.categoria-box h3 {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

}


.gallery-homepage {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

div.footer {
    border-top: solid 2px var(--secondary-color);
    margin-top: 70px;
}

.tag-box {
    position: relative;
    overflow: hidden;
}

.tag-box .tag-image {
    position: relative;
    width: 100%;
    height: 200px;
}

.tag-box a {
    width: 100%;
}

.tag-box .tag-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.tag-box h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 45px;
    text-align: center;
    margin: 0;
    padding: 0 10px;
    width: 80%;
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 8px;
}

.tag-box .category-content {
    padding: 10px 0;
}

.tag-box .category-description {
    text-align: start;
    color: #232323;
}

.art-blog-carousel .art-blog-image-container:hover a:before {
    background-color: transparent;
}

.newsImgWrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.newsImgWrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.metismenu-item .mm-collapse {
    padding: 10px 0 !important;
}

.art-blog-detail .art-blog-info {
    color: #232323;
    margin-bottom: 30px;
}

.categoria-sidebar-widget {
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
    margin-bottom: 30px;
}


.match-date, .match-info {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
}

.match-wrapper.casa .match-date {
    background-color: #f0f5ff;
}

.match-wrapper.casa i {
    color: #1f3f8d;
}

.match-wrapper.trasferta .match-date {
    background-color: #fff5f5;
}

.match-wrapper.trasferta i {
    color: var(--secondary-color);
}

.match-date .data-giorno {
    font-size: 30px;
    font-weight: bold;
    font-family: 'Inter', serif;
    color: #232323;
}

.match-date i {
    font-size: 30px;
    opacity: 0.1;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.match-date .orario {
    /*writing-mode: vertical-rl;
    transform: rotate(180deg);*/
    background-color: #1f3f8d;
    display: flex;
}

.match-date .orario h4 {
    color: white;
    height: fit-content;
}
.match-wrapper.trasferta .orario {
    background-color: var(--secondary-color);
}

.match-info {
    display: flex;
    align-items: center;
    margin: 0;
}

.squadre {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.squadra {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.logo {
    max-height: 107px;
    width: auto;
    margin-bottom: 8px;
}

.vs {
    font-weight: bold;
    font-size: 20px;
    color: #666;
}

.slick-slide a img {
    padding-left: 5px;
    padding-right:5px;
}


.tabellaClassifica {
    border-collapse: collapse;
    width: 100%;
}

.titoliClassifica {
    font-family: 'Bebas Neue', serif;
    text-transform: uppercase;
    font-size: 22px;
}

.tabellaClassifica tr, .tabellaClassifica tr td {
    line-height: 180%;
}

.squadraPreferita {
    font-style: italic;
    color: #336699;
    font-weight: bold;
}

.categorie-page-box {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.99px) {
    #hamburgerMenu {
        margin: 0 auto;
    }
}

/* Extra extra large devices (<1400px) */
@media (max-width: 1399.98px) {

}

/* Extra large devices (max-width 1199.98px) */
@media (max-width: 1199.98px) {
    #hamburgerMenu {
        display: block;
    }

    .mobile-menu {
        align-items: center;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 998;
        background: #FFF;
        width: 0;
        opacity: 0;
        transition: all .25s ease-in-out;
        padding: 50px 20px;
        overflow-y: auto;
    }
}

/* Large devices (max-width 991.98px): Desktops */
@media (max-width: 991.98px) {

    /*HOMEPAGE*/
    .itemid-101 #fullheight-header-image {
        background-size: cover;
        background-position: center center;
        margin-top: -140px;
        height: fit-content !important;
    }

    .itemid-101 #fullheight-header-image-contenuto {
        margin-top: 340px;
        text-align: center;
        padding-bottom: 2rem;
    }


    .itemid-101 #fullheight-header-image h1 {
        font-size:30px;
    }
    .itemid-101 #fullheight-header-image h2 {
        font-size: 90px;
        max-width: 100%;
    }

    .art-logo img {
        width: 100px !important;
        height: auto !important;
    }
}

/* Medium devices (max-width 767.98px): Tablets */
@media (max-width: 767.98px) {
}

/* Small devices (max-width 575.98px): Mobile portrait */
@media (max-width: 575.98px) {


}
