html { margin-top: 0 !important;}
.bg-white { background-color: #FFF !important } 
.hidden-desktop { display: none; }
nav.navbar {
    position: initial;
    z-index: 1;
    width: 100%;
    background-color: #000;
    box-shadow: none; /*2px 0px 8px rgb(0 0 0 / 40%);*/
}
a.navbar-brand img {
    width: 180px;
}
li.nav-item a { color: #FFF; font-size: 14px; font-weight: 300; }
li.nav-item a:hover, li.nav-item a:focus { color: #EEE; }

.pre-footer { width: 100%; height: 30px; background-color: #FFF; }
.back-menu {
    height: 108px;
    width: 100%;
}
.custom-search-bar form { position: relative; width: 210px; }
.custom-search-bar input {
    background-color: #000;
    border: 1px solid #FFF;
    border-radius: 16px;
    font-size: 11px;
    padding: 8px;
    padding-left: 15px;
    padding-right: 25px;
    color: #FFF;
    width:100%;    
}
.custom-search-bar input::placeholder {
    color: #FFF;
}
.custom-search-bar form button {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #FFF;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-search-bar {
    margin-right: 10px;
}
.custom-icon-box {
    margin-left: 10px;
}

.custom-icon-circle {
    width: 35px;
    height: 35px;
    border: 1px solid #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0px 0px 4px #ffffff;*/
}
.custom-icon-circle img { width: 16px; height: auto;  }
.custom-icon-text {
    color: #FFF;
    font-weight: 300;
    font-size: 10px;
    margin-left: 5px;
}

.menu-container {
    max-width: 1160px;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    flex-wrap: inherit;
    margin: 0 auto;   
}

.bg-image-cover { background-position: center center; background-repeat: no-repeat; background-size: cover; }


.custom-content-top {
    background-color: #FBB900;
    width: 100%;
    flex: 1;
    display: flex;
    margin-bottom: 60px;
}
.custom-content-top-container {
    display: flex;
    flex-direction: row;
    flex: 1;
    max-width: 1160px;
    margin: 0 auto;    
}

.custom-content-top-image { width:55%; height: 100%; text-align: center; }
.custom-content-top-image img {
    height: 100%;
    width: auto;
}

.custom-content-top-products { width:45%; height: 100%; display: flex; flex-direction: row; gap: 30px; padding-top: 40px; padding-bottom: 60px; }
.custom-content-top-products .custom-product { width: 220px; }
.custom-content-top-products .custom-product-box {
    background-color: #000;
    border-radius: 24px;    
    padding: 16px;    
}
.custom-content-top-products .custom-product-image { 
    height: 160px;
    background-color: #333;
    border-radius: 12px;
    margin-bottom: 10px;    
}
.custom-content-top-products .custom-product-content { }
.custom-content-top-products .custom-product-title { font-size: 18px; font-weight: 300; color: #FFF; margin-bottom: 5px; }
.custom-content-top-products .custom-product-description { font-size: 12px; font-weight: 300; color: #FFF; }
.custom-content-top-products .custom-product-price { font-size: 14px; font-weight: 300; color: #FFF; margin-top: 5px; padding-left: 12px; }

.custom-content-top-text {
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #000;
}
.custom-content-top-title {
    font-size: 60px;
    font-weight: 900;
    word-break: break-all;
    line-height: 1.2;
}
.custom-content-top-description {
    font-size: 18px;
    line-height: 1.2;
}

.custom-content-container { 
    width: 1160px;
    margin: 0 auto;
}

.custom-main-categories { 
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 36px;
    justify-content: start;
    margin-bottom: 60px;
    flex-wrap: wrap;    
}
.custom-main-categories .custom-category { border-radius: 24px; width: 100%; padding: 20px; width: calc(25% - 28px); }
.custom-main-categories .custom-category-box {  }
.custom-bg-pink { background-color: #E50040; }
.custom-bg-yellow { background-color: #FBB900; }
.custom-bg-light { background-color: #C6C6C6; }
.custom-bg-dark { background-color: #333333; }

.custom-main-categories .custom-category-image { height: 190px;
    background-color: #EEE;
    border-radius: 12px;
    margin-bottom: 30px; }
.custom-main-categories .custom-category-title { color: #FFF; font-size: 22px; font-weight: 300; }

.custom-products-list .custom-products-list-title { 
    font-weight: 700;
    color: #000;
    font-size: 18px;
    margin-bottom: 24px;    
}
.custom-products-list .custom-products-list-container { 
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 36px;
    justify-content: start;
    padding-left: 12px;
    padding-right: 12px; 
    flex-wrap: wrap;
}
.custom-products-list .custom-product { /*flex: 1;*/ position: relative; }
.custom-products-list .custom-product-box {  }
.custom-products-list .custom-product-image { background-color: #EEE;
    border-radius: 12px;
    height: 150px;
    margin-bottom: 10px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}
.custom-products-list .custom-product-image-top { display: flex;
    flex-direction: row;
    justify-content: end; }
.custom-products-list .custom-product-circle-button { 
    position: absolute;
    top: 10px;
    border: 1px solid #000;
    border-radius: 50%;
    left: 10px;
    width: 22px;
    height: 22px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;    
 }
.custom-products-list .custom-product-note { background-color: #000;
    color: #FFF;
    font-weight: 300;
    font-size: 8px;
    border-radius: 12px;
    padding: 5px;
    padding-left: 12px;
    padding-right: 12px; }
.custom-products-list .custom-product-category { color: #FFF;
    font-size: 7px;
    background-color: #9E005D;
    display: inline-block;
    padding: 2px;
    padding-left: 7px;
    padding-right: 7px;
    margin-left: 5px;
    border-radius: 12px; 
    width: fit-content;
}
.custom-products-list .custom-product-content { }
.custom-products-list .custom-product-title { font-weight: 900;
    font-size: 14px;
    margin-bottom: 10px; }
.custom-products-list .custom-product-price { }
.custom-products-list .custom-product-price .final-price { 
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
    display: inline-block;
    padding-right: 10px;
    padding-left: 12px;    
 }
.custom-products-list .custom-product-price .original-price {
    text-decoration: line-through;
    font-size: 10px;
    color: #000;    
 }
.custom-products-list .custom-product-button { background-color: #000;
    color: #FFF;
    font-size: 12px;
    text-align: center;
    padding: 5px;
    border-radius: 16px;
    font-weight: 300; }

.custom-products-list-masonry { 
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: grid;
    grid-auto-rows: 200px;
    grid-template-columns: repeat(auto-fit, minmax(15%, 1fr));
    grid-auto-flow: column;
}
.custom-products-list-masonry .custom-product { position: relative; }
.custom-products-list-masonry .custom-product-box { 
    display: flex;
    align-items: end;
    border-radius: 16px;
    padding: 16px;
    padding-bottom: 24px;
    padding-top: 24px;
    width: 100%;
    height: 100%;    
    background-color: #D4145A;
}
.custom-products-list-masonry .custom-product-image { width: 100%; display: flex; justify-content: end; }
.custom-products-list-masonry .custom-product-image-top { }
.custom-products-list-masonry .custom-product-circle-button {
    position: absolute;
    top: 16px;
    border: 1px solid #FFF;
    border-radius: 50%;
    left: 16px;
    width: 22px;
    height: 22px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;    
 } 
.custom-products-list-masonry .custom-product-category { 
    background-color: #FFF; color: #000; border-radius: 16px; padding: 5px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    max-width: 140px;
    width: 100%;
} 

.custom-products-list-masonry .custom-product:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.custom-products-list-masonry .custom-product:nth-child(2), .custom-products-list-masonry .custom-product:nth-child(5) {
    grid-row: span 2;
}

.custom-content-container-bg-grey { 
    background-color: #F2F2F2;
    width: 100%;
    min-height: 240px;
    margin-top: 50px;
    margin-bottom: 50px;
}

footer {
    background-color: #f2f2f2;
    padding-top: 60px;
}
footer h5 {
    font-size: 19px;
    font-weight: 700;
    color: #000;
    min-height: 50px;
}
footer h5 a { 
    font-size: 22px;
    color: #E50040;
}
footer li, footer p {
    font-size: 15px;
    min-height: 28px;
    font-weight: 500;
    margin-bottom: 0;
}
footer p a {
    color: #000;
}
.footer-last-row {
    margin-top: 100px;
    background-color: #000;
    padding-top: 30px;
    padding-bottom: 30px;
}
.footer-copyright { padding-top: 3px; }
.footer-copyright, .footer-copyright p { color: #FFF; font-size: 12px; font-weight: 400; }
.footer-copyright a {
    color:#E50040
}
.footer-last-row .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
}
.footer-last-row-image img {
    height: 28px;
    width: auto;
}

.custom-content-with-sidebar {
    display: flex;
    gap: 24px;
}
.custom-content-with-sidebar-left {
    width: calc(100% - 344px);
}
.custom-content-with-sidebar-right {

    width: 320px;    
    min-height: 300px;
}
.custom-content-with-sidebar-left .custom-products-list-container { padding: 0; }
.last-custom-element { visibility: hidden; }

.custom-content-with-sidebar-left .custom-subcategory-list-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-bottom: 36px;
    justify-content: start;
    flex-wrap: wrap;    
}

.custom-subcategory-title {
    font-weight: 700;
    color: #000;
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.custom-subcategory-image.bg-image-cover {
    background-color: #EEE;
    border-radius: 12px;
    height: 100px;
    margin-bottom: 10px;
}

.custom-theme-blocco {
    padding-top: 30px;
    padding-bottom: 20px;
}
.custom-theme-blocco-description {
    font-size: 14px;
}
h3.custom-theme-blocco-title {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 10px;
}


.custom-theme-blocchetti .accordion .card .card-header {
    border: 0;
    -webkit-box-shadow: 0 0 20px 0 rgba(213, 213, 213, 0.5);
            box-shadow: 0 0 20px 0 rgba(213, 213, 213, 0.5);
    border-radius: 2px;
    padding: 0;
  }
  
  .custom-theme-blocchetti .accordion .card .card-header .btn-header-link {
    color: #fff;
    display: block;
    text-align: left;
    background: #FFE472;
    color: #222;
    padding: 20px;
  }
  
  .custom-theme-blocchetti .accordion .card .card-header .btn-header-link:after {
    content: "\f107";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    float: right;
  }
  
  .custom-theme-blocchetti .accordion .card .card-header .btn-header-link.collapsed {
    background: #A541BB;
    color: #fff;
  }
  
  .custom-theme-blocchetti .accordion .card .card-header .btn-header-link.collapsed:after {
    content: "\f106";
  }
  
  .custom-theme-blocchetti .accordion .card .collapsing {
    background: #FFE472;
    line-height: 30px;
  }
  
  .custom-theme-blocchetti .accordion .card .collapse {
    border: 0;
  }
  
  .custom-theme-blocchetti .accordion .card .collapse.show {
    background: #FFE472;
    line-height: 30px;
    color: #222;
  }

  .custom-theme-blocchetti .accordion-item, .custom-theme-blocchetti .accordion-item .accordion-button {
    border-radius: 0 !important;
    border: 0;
    box-shadow: none;
  }
  .custom-theme-blocchetti button.accordion-button {
    color: #000 !important;
    font-size: 14px;
    font-weight: 600;
    background-color: transparent !important;
    padding-left: 0;
    padding-right: 36px;
    position: relative;
  }
  .custom-theme-blocchetti .accordion-button i {
    position: absolute;
    right: 12px;
    transition: all 0.2s ease-in-out;
  }  
  .custom-theme-blocchetti .accordion-button::after {
    background-image: none;
  }  
  .accordion-button:not(.collapsed)::after {
    background-image:none;
  }  
  .accordion-button.collapsed i {
    transform: rotate(-180deg);
  }  
  .custom-theme-blocchetti .accordion-header { border-top: 1px solid #000; border-bottom: 1px solid #000; transform: translateY(1px); }
  .custom-theme-blocchetti .accordion-header.accordion-header-last { transform: none; }
  .custom-theme-blocchetti .accordion-body {
    padding-left: 0;
    padding-right: 0;
    font-size: 14px;
  }  
  .custom-theme-blocchetti iframe.embed-responsive-item {
    width: 100%;
    height:450px
  }
  .custom-theme-blocchetti .accordion-content-video {
    display: flex;
    flex-direction: row;
    width: 100%;
  }  
  .custom-theme-blocchetti  .accordion-content-video .accordion-content, .custom-theme-blocchetti  .accordion-content-video .accordion-video {
    width: calc(100% - 300px);
  }  
  .custom-theme-blocchetti  .accordion-content-video .accordion-content {
    padding-left: 30px;
  }
  .plyr {
    border-radius: 12px;
  }  
  .custom-theme-blocchetti  .accordion-content-video .accordion-video {
    width:300px; height: 300px;
  }

  .accordion-video-poster {
    width: 100%;
    height: 100%;
    background-color: #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.accordion-video-poster img {
    width: 80px;
    height: auto;
}

.accordion-list.custom-products-list .custom-products-list-container {
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 15px;
}

.accordion-elements ul { list-style: none; padding: 0; margin: 0; margin-top: 15px; display: flex; flex-wrap: wrap; gap: 20px; }
.accordion-elements li { width: calc(20% - 16px);}
.accordion-element-image { background-repeat: no-repeat; background-size: cover; background-position: center center; width: 100%; height: 170px; border-radius: 12px; margin-bottom: 10px; }
.accordion-element-title { font-weight: 900; font-size: 12px; margin-bottom: 5px; }
.accordion-element-description { font-size: 12px;  }

.product-container { display: flex; padding-top: 40px; gap: 80px;  }
.product-container .product-image { width: 50%; }
.product-container .product-details { width: 50%; }
.product-container .product-details-description { font-size: 14px; }
.product-container .product-details-price-avail .product-details-avail {
    font-size: 12px;
    padding-left: 10px;
}
.product-container .product-details-price-avail { display: flex; border-top: 1px solid #000; border-bottom: 1px solid #000;     padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 15px; align-items: center; }

.product-container .product-details-price { font-weight: bold; font-size: 18px; padding-right: 10px; }
.product-container .product-details-price del { font-size: 12px; }

.product-container .product-image img {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.custom-product-circle-button { display: none !important; }

.product-details-qty-add { margin-top: 20px; display: flex;}
.product-details-qty-add select {
    background-color: #333333;
    color: #FFF;
    padding: 7px;
    border: 0;
    outline: 0;
}

.button.wc-forward, .restore-item { display: none !important; }

.product-details-qty-add a {
    background-color: #000;
    color: #FFF;
    font-size: 12px;
    padding: 10px;
    text-align: center;
    min-width: 200px;
    display: inline-block;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    position: relative;
    top: 0;
    left: 0;
}
.woocommerce-message {
    border-top-color: #f49819;
    font-size: 14px;
    text-align: center;
}

@media (min-width:1200px) {
    .custom-content-typology-2 .custom-products-list .custom-product {
        /*max-width: 165px;*/
        width: calc(16% - 18px);
    }
    .custom-content-with-sidebar-left .custom-products-list .custom-product {
        /*max-width: 165px;*/
    }  
    .custom-content-with-sidebar-left .custom-products-list .custom-products-list-container, .custom-content-with-sidebar-left .custom-subcategory-list-container {
        /*grid-template-columns: repeat(auto-fill, 165px);
        justify-content: space-between;
        grid-gap: 30px;*/
    }      
    .custom-content-with-sidebar-left .custom-products-list .custom-product, .custom-content-with-sidebar-left .custom-subcategory-list .custom-subcategory {
        width: calc(25% - 24px);
        flex: none;
    }
    .last-custom-element { display: none; }
    .accordion-list.custom-products-list .custom-product { width: calc(15% - 6px); }
}
@media (min-width:992px) and (max-width:1200px) {
    .custom-content-typology-2 .custom-products-list .custom-product {
        /*max-width: 288px;*/
    }
    .custom-content-with-sidebar-left .custom-products-list .custom-product, .custom-content-with-sidebar-left .custom-subcategory-list .custom-subcategory {
        width: calc(33.3% - 40px);
    }   
    .custom-content-with-sidebar-left .custom-products-list .custom-products-list-container, .custom-content-with-sidebar-left .custom-subcategory-list-container {
        /*grid-template-columns: repeat(auto-fill, 165px);
        justify-content: space-between;
        grid-gap: 30px;
        */
    }      
    .accordion-list.custom-products-list .custom-product {
        width: calc(15% - 9px);
    }     
}




@media (min-width:1400px) {
    .max-width-1080 {
        max-width: 1080px;
    }
}
@media (max-width:1400px) {
.prodotti-combo-sum { width: 335px; }
.prodotti-combo-result { width: calc(100% - 335px); }
}
@media (max-width:1300px) {
    /*.breadcrumps {
        margin-left: 200px;
    }    
    .home-content-body {
        margin-left: 200px;
    }
    .main-article-content {
        margin-left: 200px;
    }*/   
    .home-button-text {
        font-size: 21px;
    }    
}

@media (max-width:1200px) {
    .max-width-1080 { max-width: 880px; }    
    .home-button-text { font-size: 19px; }
    .template-with-sidebar2 .template-content-left { width: 50%; margin-right: 5%; }
    .template-with-sidebar2 .template-sidebar { width: 45%; }  
    .prodotti-combo-result { padding-left: 0px; }    

    .custom-content-top-container, .custom-content-container { max-width: 960px; }    
    .custom-products-list .custom-product, .custom-content-with-sidebar-left .custom-subcategory-list .custom-subcategory { /*flex: 1; flex-basis: 30%;*/ position: relative;  width: calc(33.3% - 20px); }
    .custom-products-list-masonry { 
        grid-auto-rows: 180px;
    } 
}
@media (min-width:992px) {
    .navbar-nav { padding-top: 10px; }
    .custom-menu-right { padding-top: 10px; margin-left: 5%; }
    #navbarCollapse { justify-content: end; }
    .custom-content-with-sidebar-left .custom-products-list .custom-product {
        margin-bottom: 30px; 
    }
}
@media (min-width:992px) and (max-width:1200px) {
    .cart-element {
        width: 100%;
        background-color: #FFF;
        border-radius: 16px;
        margin-bottom: 40px;
    }
    .cart-box-bottom .sidebar-element {
        width: 100%;
    }         
}

@media (max-width:1024px) {
    .login-register-box-right {
        min-height: 200px;
        margin-left: 0;
    }    
    .login-register-grid {
        flex-direction: column;
    } 
    .login-register-box-left  {
        min-height: 200px;
        width: 100%;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .login-register-box-right {
        width: 100%;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }
    .login-register-box-right .nav-tabs li:nth-child(2) {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 30px;
    }
    .login-register-box-right {
        border-bottom-left-radius: 30px;
    }
    .login-register-box-right .tab-content { padding-left: 30px; }

    .home-content-body {
        margin-top: 50px;
    }    
    .home-list ul li {
        width: calc(50% - 10px);        
        margin-bottom: 20px;
    }    
    .prodotti-combo-result-prices {
        justify-content: end;
    }    
    .prodotti-combo-result-box .custom-element-button {
        padding-left: 20px;
    }
    .prodotti-combo-result-text {
        padding-left: 20px;
    }        
    .prodotti-combo-result-new-price {
        padding-left: 30px;
    }    
}
@media (max-width:992px) {
    section.template-content { padding-top: 75px; }    
    .hidden-desktop { display:initial; }
    .hidden-mobile { display:none !important; }    
    .max-width-1080 { margin-left: 0; margin-right: 0; }
    /*.main-article-content { margin-left: 0; margin-right: 0; }
    .home-content-body { margin-left: 0; margin-right: 0; }
    .breadcrumps { margin-left: 0; margin-right: 0; }*/
    .right-menu { display: none; } 
    .home-blog-elements { width: 100%; }    
    .custom-card-buttons { margin: 0 auto; max-width: 500px; }    
    .home-blog-title { width: 100%; max-width: 100%; }    
    .home-elements { flex-direction: column; }
    .home-button-elements { width: 100%; margin-top: 30px; } 
    .main-menu-top { top: 90px; }
    section.template-content { margin-left: 0px; }
    .main-menu-top { left: 0px; width: 100%; }
    .template-content-left, .template-with-sidebar2 .template-content-left { width: 100%; margin-right: 0%; }
    .template-sidebar { width: 100%; }
    /*.sidebar-could-know .sidebar-square-boxes .sidebar-box, .sidebar-events .sidebar-square-boxes .sidebar-box { width: 100%; height: 190px; }*/
    .template-with-sidebar3 .template-content-left { width: 100%; margin-right: 0; }
    .template-with-sidebar3 .template-sidebar { width: 100%; margin-top: 50px; }
    .main-menu-top.white-menu-top { top: 75px; }
    .sidebar-square-boxes .sidebar-box {
        width: calc(50% - 15px);
        height: 190px;
    }
    .template-with-sidebar2 .template-sidebar { width: 100%; } 
    .list-custom-article-3cards { flex-direction: column; }    
    .list-custom-article-card-left { width: 100%; border-right: 0; border-bottom: 1px solid #ccc; } 
    .list-custom-article-card-left .list-custom-article-card { margin-bottom: 30px; }
    .list-custom-article-card-right { width: 100%; padding: 0; }
    .list-custom-article-card-right .list-custom-article-card { margin-bottom: 30px; border-radius: 0px; flex-direction: column; box-shadow: none; }
    .list-custom-article-card-right .list-custom-article-image { border-radius: 0; height: 190px;}
    .list-custom-article-card-right .list-custom-article-content { padding-top: 15px; padding-bottom: 15px; }    
    .list-custom-article-card-right .list-custom-article-box a {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
    }
    .list-custom-article-card-right .list-custom-article-button { display:block; margin-top: 0; }
    .list-custom-article-card-left h3.list-custom-article-title, .list-custom-article-card-right h3.list-custom-article-title {  }    
    .list-custom-article-card-left .list-custom-article-box a {
        flex-direction: column;
        align-items: start;
    }
    .list-custom-article-card-left h3.list-custom-article-title, .list-custom-article-card-right h3.list-custom-article-title { margin-bottom: 20px;}
    .jobs-content .list-custom-article-3cards .list-custom-article-card-left .list-custom-article-content .custom-card-footer-author {
        display: block;
    }    
    .jobs-content .list-custom-article-3cards .list-custom-article-card-left .custom-article-image-block .custom-card-footer-author {
        display: none;
    }
    .jobs-content .list-custom-article-button { width: 100%; }    
    .profilo-content-body .template-content-left { padding-top: 30px; }
    .sidebar-button button { font-size: 12px; }
    .sidebar-button button img { width: 6px; margin-right: 0px; }
    .shop-categories .shop-category-button {
        width: calc(33.3% - 15px);
    }    
    .list-custom-article-5cards .list-custom-article-card-left { width: 100%; }
    .list-custom-article-5cards { flex-direction: column; }
    .list-custom-article-5cards .list-custom-article-card-right { padding: 30px; width: 100%; padding-left: 0; padding-bottom: 0; }
    .prodotti-combo-result-box .custom-element-button {
        padding-left: 60px;
    }
    .prodotti-combo-result-text {
        padding-left: 60px;
    }        
    .prodotti-combo-result-old-price, .prodotti-combo-result-new-price {
        padding-left: 10px;
    }     
    .prodotti-combo-result-prices {
        justify-content: space-between;
        margin-bottom: 20px;
    }    
    .video-courses-element {
        width: calc(33.3% - 20px);
    }
    .video-corsi-details-content-body .template-content-left {
        width: 100%;
    }
    .video-corsi-details-content-body .template-with-sidebar {
        padding-top: 0;
    }

    nav.navbar {
        border-bottom: 1px solid #333;
    }
    .menu-container .custom-menu-right { 
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 10px;        
    }
    .menu-container .menu-item {
        text-align: center;
    }

    .custom-content-top-container, .custom-content-container { max-width: 100%; padding-left: 12px; padding-right: 12px; }
    .custom-main-categories { gap: 12px; }
    .custom-main-categories .custom-category { /*flex: 1; flex-basis: 40%;*/
            width: calc(50% - 6px);
    }
    .custom-top-typology-1 .custom-content-top-image { width:0%; }
    .custom-content-top-products { width:100%; justify-content: end; }
    .custom-products-list-masonry { 
        gap: 30px;
        grid-auto-rows: 160px;
        grid-template-columns: repeat(auto-fit, minmax(7.5%, 1fr));
    }

    .custom-products-list-masonry .custom-product {
        grid-row: span 1;
        grid-column: span 2;
    }
    .custom-products-list-masonry .custom-product:first-child {
        grid-column: span 4;
        grid-row: span 2;
    }
    .custom-products-list-masonry .custom-product:nth-child(2), .custom-products-list-masonry .custom-product:nth-child(5) {
        grid-row: span 1;
    }
    .footer-last-row .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }    
    .custom-content-with-sidebar {
        flex-direction: column;
    }
    .custom-content-with-sidebar-left {
        width: 100%;
    }
    .custom-content-with-sidebar-right {
        width: 100%;
    }
    h3.custom-theme-blocco-title {
        font-size: 19px;
    }
    .accordion-elements li {
        width: calc(33% - 12px);
    }    
}
@media (max-width:767px) {
    /*.template-content-left, .template-with-sidebar2 .template-content-left {
        width: 100%;
        margin-right: 0;
    }*/
    .template-sidebar, .template-with-sidebar2 .template-sidebar {
        margin-top: 50px;
        width: 100%;
    }
    .sidebar-square-boxes .sidebar-box {
        height: 150px;
    }
    .list-custom-article-card {
        flex-direction: column;
        border-top-right-radius: 16px;
    }    
    .list-custom-article-image {
        border-top-right-radius: 16px;
        border-bottom-left-radius: 0px;
        width: 100%;
        height: 150px;
    }    
    .list-custom-article-content {
        width: 100%;
    }    
    .jobs-content .list-custom-article-card {
        border-top-right-radius: 0px;
    }
    .jobs-article-content .custom-card-footer .application-button {
        margin-top: 10px;
        padding-left: 30px;
    }
    .custom-user-element {
        width:calc(50% - 15px);
    }    
    .shop-categories .shop-category-button {
        width: calc(50% - 15px);
    }       
    .corsi-video {
        height: 380px;
    }
    .corsi-tabs-box {
        height: auto;
    }
    .corsi-tabs ul.nav-tabs {
        flex-direction: column;
    }
    .corsi-tabs ul li {
        width: 100%;
    } 
    .corsi-tabs ul li button {
        height: 45px;
        border-right: 0 !important;
        border-bottom: 1px solid #CCC !important;
        padding-bottom: 15px;
    }
    .corsi-tabs ul li:last-child button {
        border-bottom: 0 !important;
    }


    .prodotti-tabs-box {
        height: auto;
    }
    .prodotti-tabs ul.nav-tabs {
        flex-direction: column;
    }
    .prodotti-tabs ul li {
        width: 100%;
    } 
    .prodotti-tabs ul li button {
        height: 45px;
        border-right: 0 !important;
        border-bottom: 1px solid #CCC !important;
        padding-bottom: 15px;
    }
    .prodotti-tabs ul li:first-child button {
        border-top-right-radius: 16px !important;
    }      
    .prodotti-tabs ul li:last-child button {
        border-bottom: 0 !important;
        border-top-right-radius: 0 !important;
    }    
    .prodotti-combo-body {
        flex-direction: column;
    }
    .prodotti-combo-sum {
        width: 335px;
        margin-left: auto;
        margin-right: auto; margin-bottom: 30px;
    }    
    .prodotti-combo-result {
        width: 335px;
        margin-left: auto;
        margin-right: auto;
    }
    .prodotti-combo-result-text {
        margin-bottom: 20px;
    }
    .video-courses-element {
        width: calc(50% - 15px);
    }     
    .custom-element.custom-element-my-courses { margin-bottom: 0; }
    .badge-element {
        width: calc(50% - 20px);
    }    
    .cart-box-body {
        padding-left: 0;
        padding-right: 0;
    }    
    .cart-box-bottom .sidebar-element {
        width: 100%;
    }
    .video-corsi-details-content-body .corsi-tabs ul li {
        width: 100%;
    }    

    .custom-products-list .custom-product, .custom-content-with-sidebar-left .custom-subcategory-list .custom-subcategory { flex: 1; flex-basis: 40%; }

    .custom-products-list-masonry {
        grid-auto-rows: unset;
        grid-template-columns: none;
        display: flex;
        flex-wrap: wrap;
    }
    .custom-products-list-masonry .custom-product {
        width: calc(50% - 15px);
        height: 150px;
    }
    .custom-products-list-masonry .custom-product:first-child {
         width: 100%;
        height: 200px;
    }
    footer.footer {
        text-align: center;
    }  

    .custom-top-typology-2 .custom-content-top-container {
        flex-direction: column-reverse;
    }    
    .custom-top-typology-2 .custom-content-top-text {
        width: 100%;
    }
    .custom-top-typology-2 .custom-content-top-image { width: 100%; }
    .last-custom-element { display: none; }

    .custom-theme-blocchetti  .accordion-content-video .accordion-content, .custom-theme-blocchetti  .accordion-content-video .accordion-video {
        width: 100%;
        padding:0;
    }  
    .custom-theme-blocchetti .accordion-content-video {
        flex-direction: column;    
    }
    .accordion-video {
        margin-bottom: 30px;
    }

    .accordion-elements li {
        width: calc(50% - 10px);
    }
    .product-container { padding-top: 40px; flex-direction: column; gap: 80px;  }
    .product-container .product-image { max-width: 360px; width:100%; }
    .product-container .product-image img { margin-bottom: 0; }
    .product-container .product-details { width: 100%; }    
}
@media (max-width:650px) {
    .home-list ul li {
        width: 100%;        
        margin-bottom: 20px;
    }
    .tutorial-list ul li {
        width: 100%;
        margin-bottom: 60px;
    }
}
@media (max-width:576px) {
    .custom-element .slick-list, .profile-element .slick-list {
        margin: 0;
    }   
    .custom-element-body-container {
        margin-left: -15px;
        width: calc(100% + 15px);
    }
    .cart-form {
        padding-left: 0px;
        padding-right: 0px;
    }
    .cart-payment-buttons button { width:100%;}    
    .cart-payment-buttons { flex-direction: column; }

    .custom-products-list .custom-product, .custom-content-with-sidebar-left .custom-subcategory-list .custom-subcategory { flex: 1; flex-basis: 100%; }
    .custom-content-top-container { flex-direction: column-reverse; }
    .custom-top-typology-1 .custom-content-top-image { width: 100%; }
    .custom-content-top-products { flex-direction: column; padding-bottom: 40px; }
    .custom-content-top-products .custom-product { width: 360px; margin: 0 auto; }
    .custom-content-top-image img { height: auto; width: 100%; }
    .custom-main-categories .custom-category { flex-basis: 100%; width: auto; }
    .custom-subcategory-list, .custom-products-list { max-width: 300px; margin: 0 auto; }
    .accordion-elements li {
        width: 300px;
        margin: 0 auto;
    }    
}
@media (max-width:478px) {
    .custom-card-buttons ul {
        padding-left: 0px;
        padding-right: 0px;
    }    
    .custom-card-buttons {
        width: calc(100% - 50px);
    } 
    ul.home-buttons li {
        width: 100%;
    }
    .line-top {
        left: calc(50% - 5px);
    }
    .line-bottom {
        left: calc(50% - 5px);
    }
    /*.custom-card-footer-elements {
        flex-direction: column;
        align-items: center;
        height: 80px;
        justify-content: space-between;  
        flex-wrap: nowrap;  
    }
    .custom-card-footer-typology span, .custom-card-footer-author { margin-left: 0; margin-right: 0; }*/
    .custom-post-card-big .custom-card-footer { padding-top: 15px; padding-bottom: 30px; }    
    .custom-card-comment form {
        flex-direction: column;
        justify-content: start;
        align-items: center;
        position: relative;
    }    
    .custom-card-comment-big.custom-card-comment form {
        height: auto;
    }
    .custom-card-user-box {
        margin-bottom: 10px;
    }
    .custom-card-comment .custom-card-comment-input {
        width: 100%;
    }
    .custom-card-comment-input textarea {
        height: 100px;
        border-top-right-radius: 12px;
        border-bottom-left-radius: 0;
    }
    .custom-card-comment-big .custom-card-comment-submit {
        border-top-right-radius: 0;
        border-bottom-left-radius: 12px;
        width: 100%; justify-content: center;
    }
    .custom-card-user {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .custom-card-comment-submit button {
        width: 100%;
    }    
    .custom-card-footer .custom-card-comment-submit {
        margin-top: 10px;
        position: absolute;
        right: -6px;
        top: 38px;
    }
    .custom-card-footer .custom-card-comment .custom-card-comment-input {
        margin-left: -50px;
        width: calc(100% - 50px);
    }
    .custom-card-comment-input input {
        height: 38px;
        font-size: 12px;        
    }
    .list-custom-article-card-left .list-custom-article-box a, .list-custom-article-card-right .list-custom-article-box a {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
    }
    .list-custom-article-card-left h3.list-custom-article-title, .list-custom-article-card-right h3.list-custom-article-title {
        padding-right: 0px;
    }
    .list-custom-article-card-left h3.list-custom-article-title {
        font-size: 22px;
    }   
    .custom-user-element {
        width:100%;
    }
    .main-profile .custom-user-element-image {
        width: 100px;
        height: 100px;
    }
    .main-profile {
        margin-top: -90px;
    }        
    .profile-element-body {
        padding-left: 20%;
        padding-right: 20%;
    }    
    .messages-element-body {
        padding-left: 30px;
        padding-right: 30px;
    }
    .messages-element-form-input {
        width: calc(100% - 50px);
    }    
    .corsi-video {
        height: 330px;
    }
    .prodotti-combo-sum {
        width: 100%;
        margin-left: 0;
        margin-right: 0; margin-bottom: 30px;
    }    
    .prodotti-combo-result {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }     
    .prodotti-combo-sum a { margin-bottom: 30px; }
    .badge-object {
        margin: 10px;
        margin: 0 auto;
        max-width: 160px;
        margin-top: 10px;
    }    
    .cart-box {
        padding: 20px;
    }
    .cart-element {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 40px;
        max-width: 240px;
    }    
    .cart-element-slider .cart-element {
        max-width: 100%;
    }   
    .custom-content-top-title {
        font-size: 48px;
    }
    .custom-content-top-description {
        font-size: 14px;
    }
    
}
@media (max-width:440px) {
    .list-custom-article-5cards .list-custom-article-card-right {
        padding-left: 30px; 
    }
    .list-custom-article-5cards .list-custom-article-card-right a {
        margin-left: 0px;
        width: 100%;
    }    
    .video-courses-element {
        width: 100%;
    }     
    .badge-element {
        width:100%;
    }    
    .custom-content-top-products .custom-product { width: 280px; margin: 0 auto; }

    .custom-products-list-masonry .custom-product {
        width: 100%;
        height: 150px;
    }
}
@media (max-width:360px) {
    .custom-card-buttons ul {
        flex-direction: column;
        align-items: center;
    }
    .sidebar-square-boxes .sidebar-box { width: 100%; }  
    .shop-categories-container { margin-left: 0;}
    .shop-categories .shop-category-button { width:100%; margin-left: 0; }     
    
}