
/* 
    Created on : 4 ott 2022, 12:47:51
    Author     : Davide Versace
*/

/* Responsive Search Box*/

input:checked + label {
    border-left: none;
    border-right: none;
}

.main-menu-btn {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    text-indent: 28px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    padding: 32px 0;
}
/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
    position: absolute;
    top: 50%;
    left: 2px;
    height: 2px;
    width: 24px;
    background: #bbb;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
.main-menu-btn-icon:before {
    content: '';
    top: -7px;
    left: 0;
}
.main-menu-btn-icon:after {
    content: '';
    top: 7px;
    left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
    height: 0;
    background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
    top: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
    top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
    display: none;
}
#main-menu-state:checked ~ #main-menu {
    display: block;
}
@media (min-width: 768px) {
    /* hide the button in desktop view */
    .main-menu-btn {
        position: absolute;
        top: -99999px;
    }

    /* always show the menu in desktop view */
    #main-menu-state:not(:checked) ~ #main-menu {
        display: block;
    }
}

@media screen and (max-width: 1200px) {
    div#hero-search-form {
        flex-wrap: wrap;
        row-gap: 15px;
        justify-content: center;
        align-items: center;
    }

}
@media screen and (max-width: 992px) {
    div#hero-search-form {
        flex-wrap: wrap;
        row-gap: 15px;
        justify-content: center;
        align-items: center;
    }
    .navbar-brand{
        float: none;
    }

}
@media screen and (max-width: 768px) {
    div#hero-search-form {
        flex-wrap: wrap;
        row-gap: 15px;
        justify-content: center;
        align-items: center;
    }

    label.main-menu-btn {
        padding: 0 !important;
    }

    .sm a {
        display: flex;
    }
    .navbar-brand{
        float: none;
    }

    .li-logo{
        transform: translateY(30%);
    }

    #main-menu{
        margin-top: 20px;
    }

    /*    #carousel-section{
            display: none;
        }*/

    .slider-item{
        background-size: contain !important;
    }

}
@media screen and (max-width: 480px) {
    div#hero-search-form {
        flex-wrap: wrap;
        row-gap: 15px;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    label.main-menu-btn {
        padding: 0 !important;
    }

    .sm a {
        display: flex;
    }
    .navbar-brand{
        float: none;
    }
    .li-logo{
        transform: translateY(30%);
    }

    #main-menu{
        margin-top: 20px;
    }
    /*    #carousel-section{
            display: none;
        }*/
    .slider-item{
        background-size: contain !important;
    }
}

