.mt-row-1 {
    margin-top: 60px;
}

.header-row-1 {
    height: 60px;
    z-index: 2000;
}

.payoff-small {
    float: left;
    margin-top: 5px;
    font-size: 21px;
    line-height: 20px;
    color: #000;
    float: left;
    margin: 10px 0 0 30px;
    width: 580px;
}

.row-1-right a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    line-height: 12px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 6px;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    margin-top: -3px;
}

.row-1-right li.nav-item {
    margin-right: 2px;
}

.row-1-right .dropdown-menu.dropdown-menu-right {
    padding-top: .5rem;
    padding-bottom: 0;
    border-radius: 0;
}

.grid-manifestazioni a {
    height: 70px;
    background-color: #F3F3F2;
    display: block;
    padding: 7px;
    color: #959595;
    font-size: 17px;
    font-weight: bold;
}

.grid-manifestazioni a.current {
    background-color: #D70929;
    color: #fff;
}

.grid-manifestazioni a img {
    width: 64px;
    height: 37px;
    filter: invert(0.4);
}

.grid-manifestazioni a:hover {
    background-color: #D70929;
    color: #fff;
}

.grid-manifestazioni a.bltf.current {
    background-color: #E6007E;
    color: #fff;
}

.grid-manifestazioni a.bltf:hover {
    background-color: #E6007E;
    color: #fff;
}

.grid-manifestazioni a.ccbf.current {
    background-color: #5dc0f0;
    color: #fff;
}

.grid-manifestazioni a.ccbf:hover {
    background-color: #5dc0f0;
    color: #fff;
}

.grid-manifestazioni a:hover img,
.grid-manifestazioni a.bltf.current img,
.grid-manifestazioni a.current img {
    filter: invert(0);
}

.grid-manifestazioni a span {
    margin-top: 5px;
}

#navbar1 .nav-link {
    padding: 10px 15px;
}

.offcanvas-overlay {
    z-index: 1065;
}

@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu:hover>.submenu {
        display: block;
        position: absolute;
        left: 100%;
        top: 0;
        margin-top: -1px;
    }

    .dropdown-toggle::after {
        display: inline-block;
    }

    .dropdown-submenu>.dropdown-item {
        position: relative;
        padding-right: 2rem;
    }

    .dropdown-submenu>.dropdown-item::after {
        content: "";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 5px solid currentColor;
        display: inline-block;
        transition: transform 0.2s;
    }

    .dropdown-submenu:hover>.dropdown-item::after {
        transform: translateY(-50%) scale(1.1);
    }

}

@media (max-width: 991px) {

    .mt-row-1 {
        margin-top: 60px;
    }

    .btn-manifestazione {
        height: 50px;
        font-size: 11px;
    }

    .header-row-3 {
        order: 10;
    }

    .submenu {
        display: none;
        padding-left: 20px;
        border: none !important;
        box-shadow: none !important;
    }

    .submenu.show {
        display: block;
    }

    .payoff-small {
        float: left;
        margin-top: 5px;
        font-size: 17px;
        line-height: 20px;
        color: #000;
        float: left;
        margin: 10px 0 5px 30px;
        width: 100%;
    }

    .mt-row-1 {
        margin-top: 15px;
    }

    .grid-manifestazioni a {
        height: auto;
        font-size: 13px;
        padding: 0 3px;
        margin-top: 10px;
    }

    .grid-manifestazioni img,
    .grid-manifestazioni br {
        display: none;
    }

    #header-row-1 {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
    }

    .offcanvas-collapse {
        z-index: 1070;
    }
}

@media (max-width: 767px) {

    body {
        padding-top: 0;
    }

    #header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2000;
        background: #fff;
    }

    #header-row-1 {
        position: static !important;
    }



    .header-row-1 a {
        text-decoration: none;
        color: #000;
        font-size: 12px;
        line-height: 12px;
        text-transform: uppercase;
        font-weight: 700;
        background-color: #F6F5F0;
        padding: 10px 2px 4px 2px;
        border: 0;
    }

    .header-row-1 {
        height: 30px;
        z-index: 2000;
    }



    .navbar-toggler {
        position: fixed !important;
        top: -2px;
        right: 18px;
        z-index: 999999;
        padding: 10px 12px;
        background: transparent;
        border: 0;

    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

    .mobile-trigger-m {
        position: static;
        padding: 0;
        margin: 0;
        font-size: 22px;
        color: #000;
    }


    .mobile-menu {
        display: none;
        padding: 15px;
        background: #fff;
        width: 100%;
        background: #d60928;
        color: white;

    }

    .mobile-menu.open {
        display: block;
    }

    .mobile-item {
        border-bottom: 1px dotted #ddd;
    }

    .mobile-row {
        display: grid;
        grid-template-columns: 1fr 40px;
        align-items: center;
        padding: 0;
    }

    .mobile-link {
        text-decoration: none;
        color: #fff;
        font-weight: 400;
        font-size: 22px;
        line-height: 45px;
        text-transform: uppercase;
        border-right: 1px dotted #ddd;
    }

    .mobile-toggle {
        text-align: center;
        font-size: 18px;
        cursor: pointer;
        user-select: none;
        height: 45px;
        padding-top: 10px;
    }

    .mobile-submenu {
        display: none;
    }

    .mobile-submenu.open {
        display: block;
    }

    .mobile-submenu .mobile-link {
        text-decoration: none;
        color: #fff;
        font-weight: 400;
        font-size: 18px;
        line-height: 45px;
        text-transform: uppercase;
        border-right: 1px dotted #ddd;
    }

    .mobile-submenu .mobile-toggle {
        text-align: center;
        font-size: 14px;
        cursor: pointer;
        user-select: none;
        height: 45px;
        padding-top: 10px;
    }

}