﻿/****************************************
                Desktop
****************************************/
@media (min-width: 1024px) {
    .center{
        padding: 0 4%;
    }

    .ui-dialog{
        position: fixed;
    }

    .custom-bg{
        background-size: auto;
    }

    /* START header controls */
    header.sticky-mode .header-blocks-wrapper,
    header.sticky-mode nav{
        margin: 0 auto;
        width: 1000px;
    }

    .top-header,
    .middle-header{
        padding: 0 4%;
    }

    /*          logo           */
    .logo{
        margin-right: 10px;
        /* -MODIF */
        max-width: 26%;
        flex: 0 0 auto;
    }

    header.sticky-mode .logo{
        max-width: inherit;
    }

    /*          language           */
    .language + .login{
        margin-left: -4px;
    }

    header.sticky-mode .language + .login{
        margin-left: 0;
    }

    /*          basket           */
    .basket-summary-holder{
        min-width: 120px;
    }

    .basket-b2c-mode .gvi-totals .cell-value{
        padding-right: 0;
    }
    /* START general top navigation */
    .nav-opener-wrapper.state-nav-empty{
        visibility:hidden;
        overflow:hidden;
        width:0;
    }

    .nav-item-root.hover .nav-wrapper{
        display: block;
    }
    /* END general top navigation */

    /* START multi dropdown navigation */
    header .nav-opener-wrapper{
        display: none;
    }

    header.sticky-mode .nav-opener-wrapper{
        display: block;
    }

    .nav-wrapper{
        margin-top: -1px;
        width: 100%;
    }

    header.sticky-mode .nav-wrapper{
        margin-top: 0;
    }

    header:not(.sticky-mode) .nav-lvl-2 .separator:nth-of-type(5n),
    header.sticky-mode .nav-lvl-2 .separator:nth-of-type(3n){
        display: table-row;
    }

    header:not(.sticky-mode) .nav-lvl-2 .nav-item-block:nth-of-type(5n+1),
    header.sticky-mode .nav-lvl-2 .nav-item-block:nth-of-type(3n+1){
        border-left: none;
    }
    /* END multi dropdown navigation */

    /* START simple dropdown navigation */
    header:not(.sticky-mode) .nav-item-root > .nav-list-sub{
        min-width: 100%;
    }

    .nav-item.hover > .nav-list-sub{
        display: block;
    }
    /* END simple dropdown navigation */
    /* END header controls */

    .has-aside{
        border-right-width: 1px;
        border-right-style: solid;
        float: left;
        padding-right: 2%;
        width: 85%;
    }

    aside{
        display: table-cell;
        padding-left: 22px;
    }

    .has-aside .details-img{
	    width: 43%;
    }

    .has-aside .details-info{
        margin-left: 45%;
    }

    .no-aside .details-img{
	    width: 56%;
    }

    .no-aside .details-info{
	    margin-left: 56%;
    }

    .simple-product-tile{
        max-width: 200px;
        width: 50%;
    }

    .product-bottom-info > .column:first-child{
        width: 60%;
    }

    .product-bottom-info > .column.column-inline:first-child{
        width: 100%;
    }

    .product-bottom-info .column:first-child .simple-product-tile{
        width: auto;
    }

    .list-mode .product-tile .product-info{
	    -webkit-flex-wrap: nowrap;
	        -ms-flex-wrap: nowrap;
	            flex-wrap: nowrap;
    }

    .list-mode .tbx-quantity + .unit-of-measure{
        min-width: 75px;
    }

    .grid-mode .l-products-item{
        width: 33.33%;
    }

    .grid-mode .l-products-item:nth-of-type(3n+1):after{
        border-bottom-width: 1px;
        border-bottom-style: solid;
        content: '';
        position: absolute;
        left: 1.4%;
        right: 1.4%;
        margin-top: 12px;
    }

    .gvi-methods{
        width: 80%;
    }

    /*          START product tile            */
    .products-flow .product-tile{
        width: 25%;
    }

    .products-group:not(.slick-initialized) .blocks-row-item:nth-child(n+5),
    .column .products-group:not(.slick-initialized) .blocks-row-item:nth-child(4){
        display: none;
    }

    .products-group .product-tile .btn{
        padding: 0 28px 0 8px;
    }

    .list-mode .product-tile .prices {
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    /*          END product tile            */

    .aside-links{
        margin-top: 80px;
    }

    .orders-details-page .columns-general .column.wide{
        width: 77%;
    }

    /*          START unavailable page            */
    .unavailable-page .logo{
        margin-right: 0;
        max-width: 100%;
    }
    /*          END unavailable page            */

    /*          START checkout pages            */
    .shipping-default .form-row,
    .shipping-custom .form-row{
        max-width: 73%;
    }

    .one-page-checkout .shipping-default .form-row,
    .one-page-checkout .shipping-custom .form-row{
        max-width: 100%;
    }
    /*          END checkout pages            */

    /*          START one step checkout page          */
    .one-page-checkout .checkout-summary{
        border: none;
        padding-top: 0;
    }
    
    .one-page-checkout .checkout-summary .list-step{
        float: left;
        padding-right: 20px;
        width: 33.33%;
    }

    .one-page-checkout .list-step-title {
        margin-top: 10px;
    }

    .one-page-checkout .msg-block-alert + .checkout-summary .list-step-title {
        margin-top: 15px;
    }

    .one-page-checkout .gvi-totals-basket-overview tfoot tr:last-child td{
        border-bottom-width: 0px;
        padding-bottom: 0;
    }

    .one-page-checkout .gvi-basket-overview-wrapper .cell-price-value{
        min-width: 0;
    }
    
    .one-page-checkout .gvi-basket-overview-wrapper .col-qty{
        padding-left: 2px;
        padding-right: 2px;
    }

    .one-page-checkout .gvi-basket-overview-wrapper .col-uom{
        padding-right: 2px;
    }

    .one-page-checkout .gvi-basket-overview-wrapper .price-node .currency-sign{
        margin-right: -3px;
    }
    /*          END one step checkout page            */
}