/* responsive */
@media (min-width: 1200px){
    .container{
        width: 1360px;
    }    
}

@media (min-width: 992px) {
    .carousel .carousel-indicators {
        display:none
    }
}

@media (min-width: 768px) {
    .search-widget {
        min-width:15.63rem
    }

    #blockcart-modal .cart-content {
        padding-left:2.5rem
    }

    .d-md-flex{
        display: flex !important;
    }

    .em2Categories .row,
    .blockManufacturer .row{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .em2Categories .row .col-md-2:nth-child(6n+1){
        clear: both;
    }
    .em2HTML .item .detail .title{
        padding: 0 20px;
    }
    .owl-carousel .owl-controls .owl-nav .owl-prev{
        left: -20px;
    }
    .owl-carousel .owl-controls .owl-nav .owl-next{
        right: -20px;
    }

    .em2ProductLogo{
        position: absolute;
        top: -7px;
        right: 0px;
        max-width: 120px;
    }
    .product-description table{
        max-width: 100%;
    }

    #header{
        margin-bottom: 70px;
    }
    #index #header{
        margin-bottom: 0px;
    }
    ul.em2Logo li:nth-child(2){
        margin-right: 15px;
    }
    img.d-md-none{
        display: none;
    }
    #product-page-size-modal .modal-dialog{
        max-width: 900px;
    }
}

@media (min-width: 576px) {
    .header-top .search-widgets {
        max-width:13rem
    }

    .contact-rich .block a[href^="mailto:"] {
        font-size:0.815rem
    }
    .modal-dialog{
        max-width: 400px;
    }
}

@media (max-width: 1199px) {
    .carousel .carousel-inner {
        height:auto
    }
}

@media (max-width: 991px) {
    #order-items .h3._desktop-title {
        display:none
    }

    .done {
        padding:0;
        margin-right: 0.625rem
    }

    body#checkout section.checkout-step .address-item {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1
    }

    body#checkout section.checkout-step .delivery-option-2 {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .delivery-option {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: auto
    }

    .delivery-option .custom-radio {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto
    }

    .condition-label label[for="conditions_to_approve[terms-and-conditions]"] {
        text-align: left
    }

    #order-confirmation #registration-form {
        width: 100%
    }

    body#checkout section.checkout-step .delivery-options .delivery-option .carrier>.col-xs-12 {
        padding-left: 0
    }

    .carousel {
        left:50%;
        width: 100vw;
        padding-bottom: 0.5rem;
        margin-left: -50vw;
        background-color: #f6f6f6;
        box-shadow: none
    }

    .carousel .carousel-control .icon-prev,.carousel .carousel-control .icon-next {
        width: auto;
        height: auto
    }

    .carousel .carousel-item .caption {
        position: static;
        margin: 1.275rem auto 2.5rem;
        text-align: center
    }

    .carousel .carousel-item .caption .display-1 {
        font-size: 2rem;
        font-weight: 500;
        color: #232323
    }

    .carousel .carousel-item .caption .caption-description h3,.carousel .carousel-item .caption .caption-description p,.carousel .carousel-item .caption .caption-description .page-content.page-cms ul,.page-content.page-cms .carousel .carousel-item .caption .caption-description ul {
        color: #7a7a7a
    }

    .carousel .carousel-item .caption .caption-description h3 {
        font-size: 1rem
    }

    .carousel .direction {
        position: absolute;
        top: calc(50%);
        width: 100%
    }

    .carousel .direction .carousel-control .icon-prev {
        left: 0;
        margin-left: 0
    }

    .carousel .direction .carousel-control .icon-next {
        right: 0;
        margin-right: 0
    }

    .carousel .direction .carousel-control i {
        background: rgba(122,122,122,0.5)
    }

    .carousel-indicators li {
        width: 8px;
        height: 8px
    }

    .carousel-indicators .active {
        width: 8px;
        height: 8px;
        margin: 1px
    }

    .featured-products .products {
        -webkit-box-pack:center;
        -ms-flex-pack: center;
        justify-content: center
    }

    #block-cmsinfo {
        padding:1.25rem 1.875rem
    }

    #products .products {
        -webkit-box-pack:center;
        -ms-flex-pack: center;
        justify-content: center
    }

    #blockcart-modal .product-image {
        max-width:70%;
        margin: 0 auto 1rem
    }

    .product-cover img {
        width:100%;
        height: auto
    }

    #product-modal .modal-content .modal-body {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-left: 0
    }

    #product-modal .modal-content .modal-body img.product-cover-modal {
        width: 100%
    }

    #product-modal .modal-content .modal-body .arrows {
        display: none
    }

    #product-modal .modal-content .modal-body .image-caption {
        width: 100%
    }

    #blockcart-modal .modal-dialog {
        width: calc(100% - 20px)
    }

    #blockcart-modal .modal-body {
        padding: 1.875rem
    }

    .product-images>li.thumb-container>.thumb:not(.selected) {
        border: none
    }

    .block-social {
        text-align:center
    }

    .block-contact {
        padding-left: 1.5rem
    }

    #manufacturer #main ul {
        display:-webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }
}

@media (max-width: 915px) {
    #header > .container{
        position: static;
    }
    #header .logo{
        max-width: 110px;
        top: 0px;
    }
}

@media (max-width: 767px) {
	.header-top .search-widget {
        float:none
    }

    .header-top .search-widget form {
        margin: 0 auto
    }

    .header-top .search-widget form input[type="text"] {
        min-width: inherit;
        background: #fff
    }
    #header .logo{
        position: static;
        text-align: center;
        display: block;
        max-width: 80px;
        margin: 10px auto;
    }
    #_mobile_searchbar{
        margin-top: 15px;
    }
    .em2CatMenu{
        background: none !important;
    }
    #em2HeaderInfo{
        display: block;
        text-align: center;
    }
	.top-menu .sub-menu {
        visibility:visible;
        opacity: 1;
        transition: 0.5s ease-out
    }

    body#checkout section.checkout-step.-reachable.-complete h1 .step-edit {
        float:none;
        margin-top: 0.25rem;
        margin-left: 1.25rem
    }

    body#checkout #header .header-nav {
        max-height: none;
        padding: 0
    }

    body#checkout section.checkout-step .content {
        padding: 0.9375rem
    }

    body#checkout .form-group {
        margin-bottom: 0.5rem
    }

    #order-items {
        margin-bottom: 2.5rem;
        border-right: 0
    }

    #order-items .card-title {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid #f6f6f6
    }

    #order-items hr {
        border-top-color: #f6f6f6
    }

    .bold {
        font-weight: 600
    }

    #order-details {
        padding-left: 0.9375rem
    }

    #order-details .card-title {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid #f6f6f6
    }

    body#checkout section.checkout-step .delivery-options .delivery-option label .carrier:not(.carrier-hasLogo) .col-xs-12 {
        padding-left: 0
    }

    .forgotten-password .form-fields .center-email-fields {
        -webkit-box-orient:vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .forgotten-password .form-fields .center-email-fields button {
        width: calc(100% - 20px);
        margin: 10px
    }

    .forgotten-password .form-fields .email {
        width:100%;
        padding-right: 10px;
        padding-left: 10px
    }

    .carousel .carousel-item .caption .display-1 {
        font-size:1.3rem
    }

    .carousel .carousel-control .icon-prev i,.carousel .carousel-control .icon-next i {
        font-size: 2rem
    }

    #category #left-column {
        width:100%
    }

    #category #left-column #search_filters_wrapper {
        margin-right: -30px;
        margin-left: -30px
    }

    #category #left-column #search_filter_controls {
        margin-bottom: 1rem;
        text-align: center
    }

    #category #left-column #search_filter_controls button {
        margin: 0 0.5rem
    }

    #category #left-column #search_filters {
        padding: 0;
        margin-bottom: 20px;
        border-top: 1px solid #f6f6f6;
        box-shadow: none
    }

    #category #left-column #search_filters .ui-slider-horizontal {
        margin-bottom: 20px
    }

    #category #left-column #search_filters .facet {
        padding-top: 0;
        border-bottom: 1px solid #f6f6f6
    }

    #category #left-column #search_filters .facet .title {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        cursor: pointer
    }

    #category #left-column #search_filters .facet .title .collapse-icons .remove {
        display: none
    }

    #category #left-column #search_filters .facet .title[aria-expanded="true"] .collapse-icons .add {
        display: none
    }

    #category #left-column #search_filters .facet .title[aria-expanded="true"] .collapse-icons .remove {
        display: block
    }

    #category #left-column #search_filters .facet .facet-title {
        color: #232323;
        text-transform: uppercase
    }

    #category #left-column #search_filters .facet .h6 {
        display: inline-block;
        padding: 1.25rem;
        margin-bottom: 0
    }

    #category #left-column #search_filters .facet .navbar-toggler {
        display: inline-block;
        height: inherit;
        padding: 0 0.625rem 0 0
    }

    #category #left-column #search_filters .facet .collapse {
        display: none
    }

    #category #left-column #search_filters .facet .collapse.in {
        display: block
    }

    #category #left-column #search_filters .facet .facet-label a {
        margin-top: 0
    }

    #category #left-column #search_filters .facet ul {
        margin-bottom: 0
    }

    #category #left-column #search_filters .facet ul li {
        padding: 5px 10px;
        border-top: 1px solid #f6f6f6
    }

    #category #content-wrapper {
        width: 100%
    }

    #category #search_filter_toggler {
        width: 100%
    }

    .products-sort-order .select-title {
        margin-left: 0
    }

    .products-selection h1 {
        padding-top: 0;
        margin-bottom: 1rem;
        text-align: center
    }

    .products-selection .showing {
        padding-top: 1rem
    }

    #prices-drop #content-wrapper,#new-products #content-wrapper,#best-sales #content-wrapper {
        width: 100%
    }

    .category-cover {
        display:none
    }

    .block-category {
        min-height: 0;
        margin-bottom: 0
    }

    .card-block {
        padding: 0
    }

    .card {
        background-color: inherit;
        border: none;
        box-shadow: none
    }

    #subcategories ul {
        -webkit-box-pack:center;
        -ms-flex-pack: center;
        justify-content: center
    }

    #blockcart-modal .modal-body .divide-right span {
        display:block;
        padding: 0 0.5rem
    }

    #blockcart-modal .product-name {
        padding:0 0.5rem
    }

    #blockcart-modal .product-price {
        padding:0 0.5rem
    }

    #blockcart-modal .divide-right {
        border-right:none
    }

    #blockcart-modal .modal-body {
        padding: 1rem
    }

    .product-line-grid-body {
        margin-bottom:1rem
    }

    #stores .page-stores {
        width:100%
    }

    #stores .page-stores .store-item-container {
        padding: 1rem 0
    }

    .block-contact #contact-infos {
        padding:0.625rem;
        padding-top: 0
    }

    .block-social ul {
        -ms-flex-flow:wrap;
        flex-flow: wrap;
        justify-content: center;
    }

    .block-social ul li {
        width:2rem;
        height: 2rem;
        margin-right: 1.3rem;
        margin-bottom: 1.3rem;
        background-size: contain
    }

    .block_newsletter form{
        max-width: 100%;
    }
    body#checkout section.checkout-step .delivery-options>.row{
        border-right: none;
    }
    .footer-container {
        margin-top: 0;
        box-shadow: none
    }

    .footer-container .wrapper {
        padding-right: 0 !important;
        padding-left: 0 !important
    }

    .footer-container .links .h3 {
        font-size: 1rem;
        line-height: 1.5
    }

    .footer-container .links ul {
        margin-bottom: 0;
        background-color: #f6f6f6
    }

    .footer-container .links ul>li {
        padding: 0.625rem;
        font-weight: 600;
        border-bottom: 1px solid #fff
    }

    .footer-container .links ul>li a {
        color: #232323
    }

    .links .collapse {
        display: none
    }

    .links .collapse.in {
        display: block
    }

    .links .title {
        padding: 0.625rem;
        cursor: pointer;
        border-bottom: 1px solid #f6f6f6
    }

    .links .title .collapse-icons .remove {
        display: none
    }

    .links .title[aria-expanded="true"] .collapse-icons .add {
        display: none
    }

    .links .title[aria-expanded="true"] .collapse-icons .remove {
        display: block
    }

    .links .navbar-toggler {
        display: inline-block;
        padding: 0
    }

    .block_newsletter {
        padding-top:1rem
    }

    #header .top-logo {
        display:-webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        min-height: 50px
    }

    #header .top-logo img {
        width: auto;
        max-height: 2rem
    }

    #header .top-logo>h1 {
        margin: 0
    }
    .em2Categories .blockCategory .row,
    .em2Categories .row{
        display: flex;
        flex-wrap: wrap;
    }
    #_desktop_searchbar{
        display: none;
    }
    #mobile_top_menu_wrapper .top-menu a[data-depth="0"]{
        padding-left: 0px;
        padding-right: 0px;
        border-color: var(--background-menu);
    }
    #header .header-top a[data-depth="0"]{
        color: var(--primary-color);
    }
    #header .top-menu[data-depth="0"] li.current > a{
        color: var(--color-3);
    }
    .top-menu .sub-menu ul[data-depth="1"]>li{
        width: 100%;
        border-bottom: 1px solid;
    }
    .products-selection .sort-by-row{
        margin-bottom: 15px;
    }
    .product-description table td{
        display: block;
    }
    ul.em2Logo{
        margin-bottom: 30px;
        display: block;
        text-align: center;
    }
    ul.em2Logo li{
        display: inline-block;
    }
    ul.em2Logo li:nth-child(2),
    ul.em2Logo li:nth-child(1){
        width: 49%;
        margin-right: 0px;
        margin-bottom: 15px;
    }
    
    img.d-none{
        display: none;
    }
    img.d-xs-inline-block{
        display: inline-block !important;
    }

    body#checkout section.checkout-step .payment-options .payment-option{
        display: flex;
        align-items: center;
    }
    body#checkout section.checkout-step .payment-options label{
        margin-bottom: 0px;
    }
}

@media (max-width: 575px) {
    .header-top-right {
        width:100%;
        padding-right: 15px
    }

    body#checkout section.checkout-step .content {
        padding:0.9375rem 0
    }

    #payment-confirmation button {
        font-size: 0.875rem
    }

    #payment-confirmation button.btn {
        white-space: normal
    }

    .products-selection .filter-button {
        padding-left:0
    }

    #category #left-column #search_filters_wrapper {
        margin-right: -15px;
        margin-left: -15px
    }

    .cart-items {
        padding:1rem 0
    }

    .cart-item {
        border-bottom: 1px solid #f6f6f6
    }

    .cart-item:last-child {
        border-bottom: 0
    }

    .cart-grid-body .cart-overview {
        padding: 0
    }

    .cart-grid-body .no-items {
        display: inline-block;
        padding: 1rem
    }

    .product-line-grid-left {
        padding-right: 0 !important
    }

    #stores .page-stores .store-item-container {
        display:block
    }

    #stores .page-stores .store-item-container .divide-left {
        border-left: none
    }

    #stores .page-stores .store-item-container .store-description a {
        margin-bottom: 0.5rem
    }

    #stores .page-stores .store-item-container .store-description address {
        margin-bottom: 0.5rem
    }

    #stores .page-stores .store-item-footer {
        display: block
    }

    #stores .page-stores .store-item-footer.divide-top {
        border-top: #f6f6f6 1px solid
    }

    #stores .page-stores .store-item-footer li {
        margin-bottom: .625rem
    }

    #stores .page-stores .store-item-footer .card-block {
        padding: 0.75rem 0.75rem 0
    }

    .sitemap {
        margin-top:0
    }
}

@media (max-width: 360px) {
    .product-line-grid-right .qty {
        width:100%
    }

    .product-line-grid-right .price {
        width: 100%
    }
}