
/*TABLET AND MOBILE*/
@media (max-width: 921px) {

    .home-hero-claim-container{
        max-width: 100% !important;
        bottom: 0 !important;
        font-size: 14px; 
        margin-right: 20px; 
    }

    .home-full-width-image img{
        min-height: 400px;
    }

    .home-narrow-wide-tabs-container {
       
        flex-direction: column !important;
    }

    .home-narrow-tab-container{
        background-image: linear-gradient(to bottom, #D9D9D9, #EEE) !important;
    }

    .home-event-cta{
        width: 100%;
    }

    .home-join-community-cta{
        width: 100%;
    }

    .home-event-container{
        flex-direction: column-reverse;
    }

    .home-event-info-wrapper{
        width: 100% !important;
        padding: 0 !important;
    }

    .home-categories-arrow-right{
        display: none !important;
    }

    .home-categories-arrow-left{
        display: none !important;
    }

    .home-events-arrow-right{
        display: none !important;
    }

    .home-events-arrow-left{
        display: none !important;
    }

    .home-event-thumbnail-container{ 
    width: 100% !important;
    }

    .home-event-wrapper{
        height: 450px;
    }

    .home-event-date{
        font-size: 14px !important;
    }

    .home-event-description{
        font-size: 14px !important;
    }

    .home-event-info-container{
        height: auto !important;
        padding: 10px 20px !important;
    }

    .home-wide-tab-description{
        width: 100% !important;
    }
    
    .home-wide-tab-cta{
        width: 100% !important;
    }
    
    .home-wide-tab-title{
        width: 100% !important;
    }   
    
}

.home-full-width-image {
    width: 100vw;
    max-height: 400px;
    margin-left: calc(-50vw + 50%);
}

.home-full-width-image img {    
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
}

.home-hero-claim-container {
    position: absolute;
    color: white;
    top: 350px;
    max-width: 1140px;
    max-height: 100px;
  }

.home-what-to-do-container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 60px 0;
}

.home-categories-container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 60px 0;
}

.home-functionalities-tabs-container{
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.home-tab-title-icon-wrapper{
    width: 100%;
    height: 30%;
}

.home-tab-title-icon{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-tab-description{
    width: 100%;
    height: 50%;
    font-size: 16px;
    text-align: left;
}

.home-tab-redirect-icon{
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.home-tab-title{
    width: 80%;
    text-align: left;
}

.home-tab-icon{
    width: 20%;
    display: flex;
    justify-content: flex-end;
    font-size: 20px;
}

.home-full-width-wrapper{
    margin-top: 20px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    width: 100vw;
    margin-top: 60px;
    margin-bottom: 60px;
}

.home-no-margin-section{
    margin-top: 0;
    margin-bottom: 0;
}

.home-narrow-wide-tabs-container{
    display: flex;
    height: 500px;
}

.home-narrow-tab-container{
    flex: 1;
    background-image: linear-gradient(to right, #D9D9D9, #EEE);
}

.home-images{
    height: 100%;
    width: 100%;
}

.home-wide-tab-wrapper{
    flex: 1.1;
    background-color: #969494;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    gap: 20px;
}

.home-wide-tab-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.home-wide-tab-title{
    width: 60%;
}

.home-wide-tab-description{
    color: var(--ast-global-color-5);
    font-weight: 100;
    font-size: 14px;
    width: 60%;
}

.home-wide-tab-cta{
    display: flex;
    justify-content: center;
    width: 60%;
}


.home-events-showcase-container{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 60px auto;
    padding: 0 20px;
    max-width: 1140px;
}

.home-join-community-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    max-width: 1140px;
}

.home-join-community-description{
    text-align: center;
}

.home-event-container{
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.home-event-info-wrapper{
    background-color: white;
    width: 40%;
    padding: 30px;
    gap: 20px;
}

.home-event-title{
    text-align: start;
}

.home-event-info-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 20px;
    gap: 10px;
}

.home-event-thumbnail-container{
    width: 60%;
    background-color: #D9D9D9;
}

.home-event-description{
    text-align: initial !important;
}

.home-categories-arrow-right{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.home-categories-arrow-left{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.home-events-arrow-right{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.home-events-arrow-left{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.home-event-cta-wrapper{
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.dark-bg{
    background-color: var(--ast-global-color-8);
}



.page-header{
    display: none;
}


.ast-primary-header-bar{
    border-bottom: 1px solid var(--ast-global-color-8) !important;
}


/* Strumenti barra di ricerca */

.clear-icon-btn-hide-on-load {
    display: none !important;
}

.search-info-tools {
    display: block;
    width: 100%;
    font-size: 14px;
    margin-bottom: 40px;
}

.search-info-tools .result-counter {
    float: left;
}

.search-info-tools .order-icon-select-container {
    float: right;
}

.search-info-tools .order-icon-select-container select {
    min-width: 120px !important;
    box-sizing: content-box;
    padding: 0px !important;
}

.search-info-tools .order-icon-select-container select option {
    text-align: right;
}



.toggle-on-off-container {
    margin-top: 40px;
}

.toggle-on-off {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 25px;
    border-radius: 34px;
    border: solid 1px #000;
}

.toggle-on-off input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-on-off label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: solid 1px #000;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.toggle-on-off label:after {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 1px;
    bottom: 1px;
    top: 1px;
    background-color: #000;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.toggle-on-off input:checked + label {
    background-color: #000;
}

.toggle-on-off input:checked + label:after {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
    background-color: #fff;
}

