div.jms-megamenu .menu-align-center>.dropdown-menu {
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}
#cms #main table {
    width: 100%;
    margin: 20px auto;
}
#cms #main table td {
    border-spacing: 0px;
    border: solid 1px #000;
    padding: 10px;
}
.delivery-option img {
    max-width: 100%;
}
.languages-info.btn-group .collapse, .languages-info.btn-group .collapsing {
    left: -15px;
    right: auto;
    min-width: 0px;
}
.languages-info.btn-group ul li {
    padding: 0 0px;
    text-align: center;
    line-height: 30px;
}
.languages-info.btn-group ul li a {
    padding: 0px 15px;
}
.languages-info .flag {
    top: 0px;
    margin-right: 0px;
}
.languages-info img {
    width: 30px;
    height: auto;
}

.jms-slider-wrapper .text-1.white-line::after {
    background: #fff;
}
.btn-underline.white-line::before {
    background: #fff;
}

.product_action,
.products-list-in-column .product_action {
    position: relative;
    width: 100%;
    margin-top: 0px;
    padding-bottom: 0px;
    /*opacity: 1;
    visibility: visible;*/
}
.privacy-check {
    margin: 10px auto;
    display: flex;
}
.privacy-check input {
    height: auto;
    margin-right: 10px;
    margin-top: 0px;
}
#contact .form-fields .privacy-check input {
    height: auto;
    margin-right: 10px;
    margin-top: 0px;
}
#newsletter_block_left .privacy-check {
    justify-content: center;
}
.product-preview:hover .product_action {
    margin-top: 0px;
    padding-top: 0px;
    display: flex;
}
.product-preview:hover .product-info {
    opacity: 1;
    visibility: visible;
}
.product-preview .product-info {
    min-height: 0px;
    padding-top: 10px;
    margin-top: 0px;
    transition: all 0.4s ease;
    background: #fff;
    top: 0px;
}
.product-preview .product_action {
    top: 0px;
}
.product-preview:hover .product-info {
    background: #f4f4f4;
    top: -39px;
}
.product-preview:hover .product_action {
    top: -39px;
}
.products-list-in-row .product-preview:hover .product-info {
    background: #fff;
    top: 0px;
}
.products-list-in-row .product-preview:hover .product_action {
    top: 0px;
}
#product_list .product-preview:hover .product_action {
    left: 0px;
}
.quick-view.product-btn {
    display: none;
}
.product-preview button.cart-button {
    width: 100% !important;
    padding: 5px 15px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
}
.product-preview button.cart-button:hover {
    color: #000 !important;
    background: #f4f4f4;
}
.product-preview button.cart-button:before,
.product-preview button.cart-button:after {
    display: none !important;
}
.product-preview button.cart-button .text-addcart .plus {
    display: none;
}
.product-preview button.cart-button .text-addcart {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}
.products-list-in-column .js-product-miniature {
    margin-bottom: 10px;
}
.product-link {
    font-weight: normal;
    margin-bottom: 5px;
}

.colors-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.products-list-in-row .colors-group {
    justify-content: flex-start; 
}
.color {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: 10px 3px;
    border: solid 1px rgba(0,0,0,0.2);
}

/* DETTAGLIO PRODOTTI */
#product .product-actions .product-variants .product-variants-item {
    width: 100%;
    margin-right: 0px;
    display: flex;
    margin-bottom: 20px;
}
#product .product-actions .product-variants .product-variants-item .control-label {
    margin-right: 15px;
    margin-bottom: 0px;
    width: 80px;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.4rem;
}
#product .product-actions .product-variants .product-variants-item:before,
#product .product-actions .product-variants .product-variants-item:after {
    display: none;
}
.product-actions .product-variants select {
    border-radius: 0px;
}
#product .pb-right-column .product-add-to-cart {
    margin-top: 0px;
    padding-bottom: 0px;
}
#product .pb-right-column .product-add-to-cart .add .add-to-cart {
    width: auto;
    border-radius: 0px;
    padding: 15px;
    margin-left: 0px;
    min-width: 300px;
    background: #000;
    color: #fff;
    border: 0px;
}
#product .pb-right-column .product-add-to-cart .add .add-to-cart:hover {
    color: #000 !important;
    background: #f4f4f4;
}
#product .product-add-to-cart .addToWishlist {
    background: #000;
    color: #fff;
    border: 0px;
}
#product .product-add-to-cart .addToWishlist:hover {
    color: #000 !important;
    background: #f4f4f4;
}
#product .pb-right-column .product-add-to-cart .add .add-to-cart .text-addcart {
    font-weight: normal;
}
#product .product-quantity .customs .qty {
    border-radius: 0px;
    height: 36px;
    width: 136px;
}
#product .product-quantity {
    flex-wrap: wrap;
}
#product .product-quantity .customs {
    width: 100%;
    margin-bottom: 20px;
}
#product .product-quantity .customs .control-label {
    margin-right: 15px;
    margin-bottom: 0px;
    width: 80px;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.4rem;
}
#product .product-quantity .product-btn {
    border-radius: 0px;
}
.product-variants-item .color {
    box-shadow: none;
    border: solid 1px rgba(0,0,0,0.2);
    height: 25px;
    width: 25px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.product-variants-item .input-color {
    height: 25px;
    width: 25px;
}
.product-variants-item .color::after {
    text-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}
#product .pb-left-column {
    width: 58.33333333%;
}
#product .pb-right-column {
    width: 41.66666667%;
}
#product .images-container {
    display: flex;
}
#product .images-container .product-images {
    width: 130px;
    flex-basis: 130px;
    flex-grow: 0;
    flex-shrink: 0;
}
#product .images-container .js-qv-mask {
    width: 130px;
    flex-basis: 130px;
    flex-grow: 0;
    flex-shrink: 0;
}
#product .images-container .product-images li {
    display: block;
    margin-bottom: 10px;
}
#product .scroll-box-arrows.scroll {
    display: none;
}
#product .scroll-box-arrows {
    display: none;
}
#product .pb-right-column .product-add-to-cart {
    margin-bottom: 50px;
}
.bottom-right-product-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bottom-right-product-detail .guida-taglie {
    margin-right: 15px;
    text-transform: uppercase;
    font-size: 1.2rem;
}
.bottom-right-product-detail .guida-taglie a {
    display: flex;
    align-items: center;
}
.bottom-right-product-detail .guida-taglie a .ruler-icon {
    margin-right: 10px;
}
.product_action a.addToWishlist {
    display: flex;
    font-size: 16px;
    width: 39px;
    height: 39px;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    margin-left: 2px;
}
.product_action a.addToWishlist:hover {
    background: #f4f4f4;
    color: #000;
}
#cookieNoticeContent p > a {
    color: #fff;
    text-decoration: underline;
}

/* RESPONSIVE */
.btn-default {
    border-radius: 0px;
}
.container {
    max-width: 100%;
}
.jms-row.bg-color-default > .container {
    padding-left: 15px;
    padding-right: 15px;
}
.cart-grid-right.pull-right {
    margin-top: 0px;
}
#contact .block-contact .address.section {
    margin-top: 0px;
}
.delivery-options .delivery-option {
    margin-bottom: 15px;
}
.countdown-row .countdown-section {
    margin-bottom: 10px;
}
#contact .info-company {
    line-height: 24px;
}
body#checkout section.checkout-step.-current .content .address-footer,
#checkout #delivery-address .form-footer {
    text-align: left;
}
.wishlisturl>input, .wishlist_product_detail>input {
    max-width: 100%;
}
.wishlisturl>input {
    margin-left: 0px;
}

.products-sort-order .dropdown-menu a {
    padding: 10px 0;
}
.products-sort-order .dropdown-menu {
    min-width: 240px;
}
.btn-group .collapse, .btn-group .collapsing, #cart-cl {
    top: calc(100% + 20px);
}

.thank-social {
    margin-bottom: 20px;
}
.thank-social p {
    font-size: 2rem;
    text-align: center;
    margin-top: 15px;
    line-height: 2.8rem;
    margin-bottom: 15px;
}
.thank-social .find-us {
    display: flex;
    justify-content: center;
}
.thank-social .find-us li {
    font-size: 2rem;
    margin: 0px 15px;
}
.thank-social .find-us li a {
    font-size: 2rem;
    color: #000;
}

/*#header #social_block{
    display: none;
}*/
#header .addon-box:last-child {
    margin-left: 0px;
}
#header #social_block .find-us {
    display: flex;
}
#header #social_block .find-us li {
    margin: 0 10px;
}
#header #social_block .find-us li a {
    font-size: 20px;
    color: #000;
}

@media (min-width: 1200px) {
    .header-type-1 .left-icon-group {
        width: 25%;
    }
}

@media (min-width: 1800px) {
    .header-type-1 .left-icon-group {
        width: 17%;
    }
    .header-type-1 .mega-menu {
        width: 70%;
    }
}
@media (max-width: 1299px) {
    .breadcrumb {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (max-width: 1199px) {
    .cart-grid-right.pull-right {
        margin-top: 35px;
    }
}
@media (max-width: 991px) {

    .left-icon-group .addon-box:last-child {
        display: none;
    }
    .category-sub-menu {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .category-sub-menu .cat-item {
        width: 25%;
        padding: 5px 0;
    }
    .product_list.products-list-in-column #js-product-list, .products-list-in-row #js-product-list {
        margin-top: 30px;
    }
    #off-canvas-menu ul.dropdown-menu>li.group>a {
        padding: 10px 30px 10px 30px;
    }
    #off-canvas-menu .dropdown-menu>li>a {
        padding: 5px 0 5px 50px;
    }
    #off-canvas-menu li > a em {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        padding: 15px 30px;
    }
    #category #wrapper > .container > .row {
        display: flex;
        flex-wrap: wrap-reverse;
    }
    #category #wrapper > .container > .row:before,
    #category #wrapper > .container > .row:after {
        display: none;
    }
    .breadcrumb {
        margin-bottom: 30px;
    }
    #category #wrapper > .container > .row #content-wrapper {
        margin-top: 0px;
    }
    /*#product .product-add-to-cart .addToWishlist {
        margin-left: 0px;
        margin-top: 20px;
    }*/
    #product .bottom-right-product-detail {
        flex-wrap: wrap;
    }
    #product .bottom-right-product-detail .guida-taglie {
        margin-bottom: 20px;
    }
    #product .pb-right-column .product-add-to-cart {
        margin-bottom: 20px;
    }
    .breadcrumb .title_meta {
        margin-bottom: 15px;
    }
    body#contact #wrapper #content-wrapper {
        margin-top: 0px;
    }
    .product-qty .bootstrap-touchspin {
        max-width: 100%;
    }
    .cart-grid .product-image.media-middle>img {
        height: auto;
    }
    .countdown-box .cd-title {
        margin-top: 0px;
    }
    .countdown-box {
        padding: 40px 20px;
    }
    #authentication #wrapper {
        padding: 50px 0;
    }
    #customer-form .form-footer {
        width: 100%;
        text-align: left;
    }
    #authentication .form-group.row label,
    #authentication .form-control-comment,
    .tab-content .form-group label,
    .form-control-comment {
        line-height: 24px;
    }
    #authentication .form-group.row label.checkbox-field,
    .tab-content .form-group label.checkbox-field {
        display: none;
    }
}
@media (max-width: 767px) {

    .category-sub-menu .cat-item {
        width: 33%;
    }
    .products-sort-order .dropdown-menu {
        padding: 20px 15px;
    }
    .breadcrumb-inner ol li a {
        line-height: 2;
    }
    .breadcrumb-inner ol li {
        margin: 0 15px;
    }
    .breadcrumb-inner ol li::after {
        right: -20px;
    }
    .product-preview .product_action {
        padding-bottom: 0px;
    }
    .jms-row.box-home-row .addon-box .jms-banner > a {
        position: relative;
    }
    .jms-row.box-home-row .addon-box .jms-banner > a:before {
        content: '';
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        background: rgba(255,255,255,0.4);
        z-index: 1;
    }
    .banner-content {
        z-index: 2;
    }
    .countdown-box .row {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .countdown-box .row:before,
    .countdown-box .row:after {
        display: none;
    }
    #product .pb-right-column {
        width: 100%;
    }
    #product .pb-left-column {
        width: 100%;
    }
    #product .product-add-to-cart .addToWishlist {
        margin-top: 0px;
        margin-left: 10px;
    }
    #product .product-quantity > .add {
        display: flex;
    }
    #contact #footer {
        margin-top: 40px;
    }
    #contact .page-content.card-block {
        margin-top: 0px;
    }
    .left-icon-group .addon-box:nth-child(1) {
        display: none;
    }
}
@media (max-width: 575px) {

    .breadcrumb {
        margin-bottom: 15px;
        padding: 30px 0;
    }
    .category-sub-menu .cat-item {
        width: 50%;
    }
    header .fixed .logo.img-responsive {
        max-height: 0;
        transition: none;
        padding: 0px;
    }
    #product .images-container .product-images,
    #product .images-container .js-qv-mask {
        width: 90px;
        flex-basis: 90px;
    }
    #content-wrapper.col-lg-12 .images-container .product-images>li.thumb-container>.thumb {
        width: 84px;
    }
    #product .pb-right-column .product-add-to-cart .add .add-to-cart {
        max-width: 100%;
        width: 100%;
    }
    .cart-items .product-line-grid {
        padding: 20px 0px;
    }
    .cart-box .btn-shopping {
        float: none;
    }
    #cart #footer {
        margin-top: 40px;
    }
    .delivery-option {
        display: flex;
    }
    .delivery-option label > .row,
    .delivery-option label > .row .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 10px;
    }
    .delivery-option label > .row:after,
    .delivery-option label > .row:before,
    .delivery-option label > .row .row:after,
    .delivery-option label > .row .row:before {
        display: none;
    }
    .payment-option img {
        max-width: 100%;
    }
    .payment-option > label {
        width: calc(100% - 30px);
        vertical-align: top;
    }
    .payment-option {
        margin-bottom: 15px;
    }
    .product-image.media-middle {
        display: flex;
        flex-wrap: wrap;
    }
    .product-image.media-middle .product-link {
        width: 100%;
    }
    .cart-grid .product-image.media-middle>img {
        height: 200px;
        width: auto;
        max-width: 100%;
    }
    .product-qty .bootstrap-touchspin {
        border-radius: 0px;
    }
}

.page-index header {
    z-index: 999;
}
.jms-popup-overlay {
    z-index: 1000;
}
.jms-popup-overlay .jms-popup {
    z-index: 1001;
    position: fixed;
}
.footer-top-1 .row:before,
.footer-top-1 .row:after {
    display: none;
}
.footer-top-1 .row {
    flex-wrap: wrap;
}
.products-list-in-column .products.row:before,
.products-list-in-column .products.row:after {
    display: none;
}
.product-quantity .product-btn {
    display: flex;
}
.text-addcart, .text-outofstock {
    display: flex;
    line-height: 15px;
    text-align: center;
}
.product-quantity .add {
    display: flex;
    max-width: 100%;
}
#product .pb-right-column .product-add-to-cart .add .add-to-cart {
    width: 300px;
    min-width: 0px;
    max-width: calc(100% - 50px);
}

header .logo.img-responsive, footer .logo.img-responsive {
    width: 200px;
}
header .logo.img-responsive {
    padding-bottom: 15px;
    padding-top: 10px;
}

/* INSTAGRAM */
.instagram-carousel .grouped_elements .bg-instagram {
    width: 100%;
    height: 180px;
    background-position: center;
    background-size: cover;
}
.instagram-carousel .grouped_elements .instagram-image {
    display: none;
}

#category .facet>.flex-box {
    display: none;
}

#checkout-personal-information-step .nav.nav-inline .nav-item .nav-link:nth-child(1) {
    margin-right: 10px;
    padding: 15px;
    border: solid 1px #ccc;
    text-align: center;
}
#checkout-personal-information-step .nav.nav-inline .nav-item .nav-link:nth-child(3) {
    margin-left: 10px;
    padding: 15px;
    border: solid 1px #ccc;
    text-align: center;
}
#checkout-personal-information-step .nav.nav-inline {
    margin-bottom: 10px;
}

.banner1 .banner-content .text-3 a,
.banner2 .banner-content .text-1 a,
.banner3 .banner-content .text-3 a,
.banner4 .banner-content .text-3 a,
.banner5 .banner-content .text-1 a {
    font-size: 16px;
    font-weight: 500;
    color: #8f8f8f;
}

.row.category-description {
    margin-top: 20px;
    padding-top: 30px;
    border-top: solid 1px #ddd;
}

[data-link-action="different-invoice-address"] {
    text-decoration: underline;
    margin: 15px 0px;
    display: inline-block;
}