/* ################################################################################### */
/* SLIDER HOEMPAGE */
/* ################################################################################### */

.slider-home {
    height: calc(100vh - 128.5px);
}

.slider-video {
    width: 100vw;
    height: auto;
}

/*.slider-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent radial-gradient(closest-side at 50% 50%, #09191e00 0%, var(--black-color) 100%) 0% 0% no-repeat padding-box;
}*/

.slider-subtitle {
    line-height: 45px;
    font-weight: 300 !important;
    font-size: 27px;
}

.mouse-scroll-icon {
    width: 40px;
    fill: #ffffff;
    position: relative;
    bottom: 80px;
}

#splide-slider-homepage .splide__arrow {
    opacity: 1 !important;
}

#splide-slider-homepage .box-arrow i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1 !important;
}

#splide-slider-homepage .splide__arrow {
    align-items: center;

    height: 150px;
    width: 90px;
    border-radius: 0 !important;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

#splide-slider-homepage .splide__arrow i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff !important;
    font-size: 40px !important;
    z-index: 10;
    opacity: 1 !important;
}

#splide-slider-homepage .splide__arrow--next {
    right: 0 !important;
}

#splide-slider-homepage .splide__arrow--prev {
    left: 0 !important;
}


/* ################################################################################### */
/* BOX CATEGORIA PRODOTTO */
/* ################################################################################### */

#box-categoria,
#box-categoria .categoria-icon {
    transition: all .3s ease-in-out;
    color: var(--text-color);

}

#box-categoria:hover {
    background-color: var(--grey-color-3) !important;
}

#box-categoria:hover .box-icon {
    background-color: transparent;
	
}

#box-categoria:hover .box-icon i {
    color: var(--primary-color);
	font-size: 50px;
}


#sezione-categorie #box-categoria h3 {
    font-size: 19px;
	color: var(--second-color);
}

/*#box-categoria:hover {
    background-color: #f2fbff !important;
    box-shadow: 1px 2px 40px 5px rgba(73, 189, 241, 0.2) !important;
}
*/


/* ################################################################################### */
/* SEZIONI ALTERNATE */
/* ################################################################################### */

#sectionImg {
    position: relative;
}

/*#sectionImg::before {
    content: '';
    height: 120%;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--grey-color-2);
    z-index: -1;
}*/

#sectionImg.odd::before {
    left: -47%;
}

#sectionImg.even::before {
    right: -47%;
}

#sectionImg .decoration-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65%;
    filter: opacity(0.75) saturate(1.5);
	display: none
}

/* ################################################################################### */
/* BOX RIQUADRI NEWS (PROMO E NOVITA) */
/* ################################################################################### */

#promo-novita #box-post h2 {
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 23px;
}

#promo-novita #box-post p {
    font-size: 20px;
    font-weight: 500;
}

#promo-novita #box-post .img-scale {
    transition: .3s ease-in-out;
}

#promo-novita #box-post:hover .img-scale {
    transform: scale(1.2);
}

#promo-novita .bg-effect {
    transition: .3s ease-in-out;
    background: transparent linear-gradient(180deg, #193543 0%, #193543 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #193543 0%, #193543 100%) 0% 0% no-repeat padding-box;
}


/* ################################################################################### */
/* BOX PRODOTTO SINGOLO */
/* ################################################################################### */

#catalogo-prodotti #box-post h2 {
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
}

#catalogo-prodotti #box-post .img-scale,
#catalogo-prodotti #box-post-product .img-scale {
    transition: .3s ease-in-out;
}

#catalogo-prodotti #box-post:hover .img-scale,
#catalogo-prodotti #box-post-product:hover .img-scale {
    transform: scale(1.2);
}

#catalogo-prodotti .bg-effect {
    transition: .3s ease-in-out;
    background: transparent linear-gradient(180deg, #00000000 0%, var(--unnamed-color-000000) 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #00000000 0%, #193543 100%) 0% 0% no-repeat padding-box;
}

#catalogo-prodotti #box-post:hover .bg-effect,
#catalogo-prodotti #box-post-product:hover .bg-effect {
    background: transparent linear-gradient(180deg, #D6081200 0%, var(--unnamed-color-d60812) 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #D6081200 0%, #49BDF1 100%) 0% 0% no-repeat padding-box;
}

#catalogo-prodotti #box-post-product h2 {
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

#catalogo-prodotti .price {
    font-size: 20px;
    font-weight: bold;
}

#catalogo-prodotti #loop-sottocategorie h2 {
    font-size: 18px !important;
}

#sezione-photogallery .bg-effect {
    transition: .3s ease-in-out;
    background: transparent linear-gradient(180deg, #00000000 0%, var(--unnamed-color-000000) 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(180deg, #00000000 0%, #193543 100%) 0% 0% no-repeat padding-box;
}


/* ################################################################################### */
/* PAGINA PRODOTTO SINGOLO
/* ################################################################################### */

#sezione-img-prodotto {
    position: fixed;
    top: 140px;
    left: 0;
    width: 100%;
    z-index: -1;
}

#sezione-img-prodotto #sectionImg::before {
    width: 130%;
    position: absolute;
}

#sezione-img-prodotto #sectionImg.even::before {
    right: -60%;
}

#sezione-img-prodotto #sectionImg .decoration-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 85%;
    filter: opacity(0.75) saturate(1.5);
	display: none
}

.custom-overflow {
    overflow: visible;
}

@media screen and (max-width: 768px) {
    .custom-overflow {
        overflow: hidden;
    }
}


/* ################################################################################### */
/* BOX RIQUADRI SEZIONE BLOG */
/* ################################################################################### */

#sezione-blog #box-post h3 {
    font-weight: bold;
    font-size: 19px;
}

#sezione-blog #box-post p {
    display: none;
	transition: .5s ease-in-out;
}

#sezione-blog #box-post:hover p {
    display: block;
}

#sezione-blog #box-post .img-scale {
    transition: .3s ease-in-out;
}

#sezione-blog #box-post:hover .img-scale {
    transform: scale(1.2);
}

#sezione-blog .bg-effect {
    transition: .5s ease-in-out;
    background: transparent linear-gradient(180deg, #11182700 50%, #111827 100%) 0% 0% no-repeat padding-box;
}

#sezione-blog #box-post:hover .bg-effect {
    background: transparent linear-gradient(180deg, #11182700 0%, #111827 100%) 0% 0% no-repeat padding-box;
}



/* ################################################################################### */
/* PAGINA CONTATTI */
/* ################################################################################### */

/*.form-margin {
    margin-top: -150px;
    z-index: 1;
}*/

#form {
	border-radius: 6px
}

.cont-box-icon a {
    transition: .1s ease-in-out;
    text-decoration: none;
}

.cont-box-icon a:hover {
    color: var(--primary-color);
}

.box-icon {
    width: 55px;
    height: 55px;
    border-radius: 6px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .1s ease-in-out;
}

.box-icon i {
    color: #ffffff;
    font-size: 30px;
}

@media screen and (max-width: 768px) {
    .form-margin {
        margin-top: 0;
        z-index: 1;
    }
}

/* ################################################################################### */
/* PAGINA MARCHI (filtri isotope) */
/* ################################################################################### */

#loop-marchi h3 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0;
}

.box-marchi {
    transition: .1s ease-in-out;
}

.box-marchi:hover {
    transform: scale(1.03);
}

#filter .button-group-wrapper {
    overflow-x: auto;
}

#filter .button-group {
    display: flex;
    flex-wrap: nowrap;
}

#filter .button-group-wrapper::-webkit-scrollbar {
    height: 6px;
}

#filter .button-group-wrapper::-webkit-scrollbar-thumb {
    background-color: #efefef;
    border-radius: 6px;
}

#filter .button-group-wrapper::-webkit-scrollbar-track {
    background: transparent;
}


#filter .button {
    background-color: var(--grey-color-2);
    border: 1px solid #ededed;
    transition: .1s ease-in-out;
    font-weight: 300 !important;
    font-size: 14px;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 20px;
    color: var(--black-color);
}

#filter .button:hover {
    border: 1px solid var(--second-color);
    color: #ffffff;
    background-color: var(--second-color);
}

#filter .button.active {
    border: 1px solid var(--second-color);
    background-color: var(--second-color);
    color: #ffffff;
}

#filter .button:last-child {
    margin-right: 0;
}