gi/* samsung galaxy s5 start */
@media (max-width: 639px){

    .page-checkoutPage .btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart{
        margin-right: -8%;
        width:23%;
    }

    .order-section{
        padding-left: 0px;
    }
}

@media only screen and (max-width: 639px){

    .page-checkoutPage .cart-header .btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart{
        width: auto;
        margin-right: -5%;
    }

    .page-checkoutPage .item__note .btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart{
        width:auto;
        margin-right: -20%;
        margin-top: -10%
    }

    .page-checkoutPage .cart__id--label-us .saveNotesForm input.btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart{
        font-size: 9px;
    }
}


/* ipad start */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px){

    .page-checkoutPage .item__note .btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart.col-lg-2.col-md-3{
        width: 45%;
        margin-right: -70%;
        margin-top: -48%;
    }

    .page-checkoutPage .cart-headline .btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart.col-lg-2.col-md-3{
        margin-left: 0;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation: landscape){
    .page-checkoutPage .cart-headline .btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart.col-lg-2.col-md-3{
        margin-left:0px;
        margin-right:0px;

    }

    .page-checkoutPage .item__note .btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart.col-lg-2.col-md-3{
        width: 180%;
    }

}



@media (max-width: 1150px) {

   .page-checkoutPage .item__note .content-note-cart .btn.btn-note-popup{
        width: auto;
        margin-right: -80%;
        margin-top: -46%;
   }
   .page-checkoutPage .door-note .saveNotesForm.new{
        width: 100%;
   }

}

@media (max-width: 760px)  {

    .cart-header .cart-headline.cart-door-headline .cart__id--label{
        padding: 0;
    }
    .page-checkoutPage .cart-header .cart-headline.cart-door-headline .reference-label{
       position: relative;
    }

    .page-checkoutPage .cart-header .cart-headline.cart-door-headline .door-note{
      position: relative;
    }
    .door-top-checkout{
      padding-top: 5px;
      padding-left: 0px;
      padding-right: 0px;
    }

    .door-top-checkout .hidden-md.hidden-sm .col-xs-12{
      padding-left: 0px;
      padding-right: 0px;

    }

    .door-top-checkout .hidden-md.hidden-sm .nopadding.col-xs-12.sendTo-element.sendTo-element-label{
      padding-bottom: 3px;
    }

    .border-top-checkout:before{
      width: 100%;
    }

    .checkout-flow-recap-door .scrollable-list{
        padding-left: 5px;
        padding-right: 0px;
    }

    .checkout-flow-recap-door .hidden-md.hidden-sm .col-xs-12,
    .page-checkoutPage .checkout-flow-products-door .hidden-md.hidden-sm.hidden-lg > .col-xs-12 > .col-xs-12{
        padding-left: 0px;
        padding-right: 0px;
    }

    .hidden-md.hidden-sm.hidden-lg .div-note.door-entry-note .div-note{
            width: auto;
    }

    .hidden-md.hidden-sm.hidden-lg .div-note.door-entry-note .div-note .reference-margin{
            margin-left: -18px;
    }
    .page-checkoutPage .checkout-flow-products-door{
        padding:0px;
    }

    .page-checkoutPage .checkout-flow-products-door .hidden-md.hidden-sm.hidden-lg > .col-xs-12{
        padding-left: 5px;
        padding-right: 0px;
    }

    .page-checkoutPage .checkout-flow-products-door .cart-header {
        padding-left: 10px;
        padding-right: 0px;
    }


}

@media (max-width: 812px) and (min-width: 400px) and (min-height: 375px) {



   .cart-headline.cart-door-headline .door-note{
       width: 100%;
       margin-left: 24%;
   }
}

/* S5 */
@media (min-width: 360px) and (min-height: 640px) and (max-height: 360px) and (max-width: 1366px) and (orientation:portrait){

    .page-checkoutPage .item__note .content-note-cart .btn.btn-note-popup{
        margin-top: -10%;

    }

}


@media (min-width: 1024px) and (min-height: 768px) and (max-height: 768px) and (max-width: 1366px) and (orientation:landscape){
    .page-checkoutPage .item__note .btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart{
    }

}


@media only screen and (min-device-width : 800px) and (max-device-width : 812px) and (orientation: landscape){
    .page-checkoutPage .cart-headline .btn-save.btn.btn-text-center.btn-primary.btn-note-popup.note-cart.col-lg-2.col-md-3{
        width: auto;
        margin-right: 60px;
    }


}

@media (max-width: 400px){

    .padding-orderHistory-mobile {
      padding-top: 5.7em;
    }

    .padding-orderHistory-mobile.no-results{
        padding-top: 5.5em;
    }

    #filterForm .padding-top.filter-by-container {
      padding-top: 0;
    }

    .tag-header {
        width: 28.7em;
    }

    .tag-body{
        width: 28.7em;
    }

    .label-container.close-label {
        right: 10em;
    }

    .label-container{
        right: 10em;
    }

    .your-cart, .place-order-door-btn{
        padding: 8px 8px;
        font-size: 12px;
        margin-bottom: 3%;
    }

    .main__inner-wrapper{
        margin-left: 0;
        margin-right: 0;
    }

    form.sendTo-element .js-supported-addresses{
        width: 100%;
    }

    .cart-checkout-tooltip .tooltiptext-cart{
        margin: 0;
    }

    .page-checkoutPage .address-list .address:nth-child(3n+1), .page-checkoutPage .checkout-flow-recap-door .grand-total,
     .page-checkoutPage .checkout-flow-recap-door .cart-totals-taxes,
      .page-checkoutPage .checkout-flow-recap-door .checkout-checkbox{

        padding-left:  5px;
        padding-right: 0px;
    }

    .checkout-flow-title-recap-door{
        text-align: left;
    }

    .hidden-md.hidden-sm .col-xs-12 .item__image img{
      height: 200px;

    }

    .complete-address-button #addressModalComplete{
        width: auto;
    }


}
#placeOrderForm1 .hidden-md.hidden-lg.col-xs-12{
    padding-top: 2%;

}
/* S5 portrait/landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 640px) {
     .img-logo{
      margin-top:50px;
      width:150px;
     }

     .name-product{
        overflow: hidden;
        padding: 10px;
        width: 245px;
        margin-top: 25px;
        display: inline;

     }

     .name-product-second{
         overflow: hidden;
         padding: 0px;
         width: 245px;
         margin-top: 25px;

     }

     .dior-plp{
        padding-bottom: 2em;
        padding-top: 7px;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        text-transform: uppercase;
    }

    .padding-plp{
       padding-bottom: 0em;
    }
    
    .dior-plp .js-facet-values span{
        text-transform: uppercase;
    }

    .dior-plp >div{
        float: none;
        display: inline-block;

    }

    .dior-plp .nice-select{
        border: 1px solid black;
    }

    .dior-plp .mobile-filter-view{
        vertical-align: sub;
    }

    .btn-viewAllProducts.dior{
        height: 42px;
        font-size: 20px;
    }

    .dior-plp  .selected{
        display:none;
    }

    .dior-plp .mobile-filter-view{
        padding-top: 1px;
        padding-bottom: 3px;
        width: 110px;
        text-align: center;
    }

    .dior-plp .goto-container, .dior-plp .type-select-container, .dior-plp .pagination-bar{
        padding-right: 0px;
        width: 85;
    }

    .dior-plp .type-select-container{
        padding-left: 0px;
        width: 85px;
    }

    .dior-plp .btn-viewAllProducts{
        float: left;
    }

    .dior-plp .goto-container.accountButtons{
        margin-left:-42px;
    }

    .dior-plp .goto-container.accountButtons .btn-viewAllProducts {
        width: auto;
    }

    .hidden-sm.hidden-lg .facet__list__mark svg{
    	background: -webkit-linear-gradient(top, #000000 0%, #000000 100%);
    	background: -moz-linear-gradient(top, #000000 0%, #000000 100%);
    	background: -o-linear-gradient(top, #000000 0%, #000000 100%);
    	background: -ms-linear-gradient(top, #000000 0%, #000000 100%);
    	background: linear-gradient(top, #000000 0%, #000000 100%);
        width: 15px;
        height: 15px;
    }

    .product__facet .facet .facet__list .facet__list__checkbox:checked+.facet__list__label .facet__list__mark .facet-icon{
        left: 0px;
    }

    .product__facet .facet .facet__list input.facet__list__checkbox:checked+.facet__list__label .facet__list__mark{
            border: none;
    }
}

/* IPHONE 6/7/8 portrait/landscape */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) {

   .img-logo{
     width:150px;

   }

   .name-product-second{
      overflow: hidden;
      padding: 0px;
      width: 245px;
      margin-top: 25px;
   }



}

/* IPAD portrait/landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  {

    .name-product{
      overflow: hidden;
      padding: 0px;
      margin-top: 35px;

    }

}





@media (max-device-width: 1025px)  {

         .badge-adjusted-plp.badge-gender-plp.AS{
            margin-top: 16%;
         }
         .badge-adjusted-plp, .badge-gender-plp {
             height: 14px;
             font-size: 10px;
         }
}

@media (max-device-width: 767px)  {

     .badge-adjusted-plp.badge-gender-plp.AS{
        margin-top: 16%;
     }
     .badge-adjusted-plp, .badge-gender-plp {
         height: 14px;
         font-size: 10px;
     }

     .align-left.mobile-alignment{
        padding-left: 2%;
     }

     .sort-container .col-xs-6-half.col-xs-offset-1.align-left{
        margin-left: 11%;
     }

     .sort-container .mobile-alignment{
        text-align: center;
     }

     .sort-container .col-xs-5.align-left {
        padding-right: 1px;
     }

     .sort-container .form-group{
        top:24px;
     }

     .product-grid-right-result-component .sort-container{
        padding-right: 10px;
     }
}

@media (min-device-width: 768px)  {
    .sort-container .mobile-alignment{
        padding-left: 0px;
     }



}
@media (max-device-width: 768px)  {

    .plp-carousel .container.dior-gallery-responsive-mobile .categoryBannerImg{

        max-width: none;
        padding-right: 0px;
        text-align: -webkit-right;
        margin-left:0px;

    }

    .gallery.plp-carousel.second-section{
        padding-right: 0px;
    }

    .container.dior-gallery-responsive-mobile{
        padding-right: 0px;
    }

    section.gallery.plp-carousel .categoryBannerImg {
        max-width: 150px;
        margin-left: 10%;
    }

    .dior-plp .accountButtons{
        padding-bottom: 0px;
    }

    .product__facet .facet{
        border-bottom: none;
    }

    .mobile-filter-nopaddingleft{
        padding-left: 0px;
        margin-top:-20px;

    }

    .mobile-filter-nopaddingleft .title{
        padding-left:5px;
    }

    #mobileFilterOverlay .remove-filter a{
        color: #a6a6a6;
        text-decoration: none;
    }

    #mobileFilterOverlay .filter-selected-view{
        padding-right: 0px;
    }

    .mobile-checkbox, .mobile-sort{
        text-align: left;
        padding-left: 0px;
    }
    .mobile-checkbox input[type="radio"], .mobile-checkbox input[type="checkbox"]{
        margin-bottom: 0px;
    }

    .mobile-checkbox .facet__list__checkbox{
        opacity: 0.1;
    }

    .mobile-checkbox .facet-icon.icon-tick-dark.no-rtl{
        margin-left: -27px;
    }

    .mobile-checkbox svg{
        width: 13px;
        height: 13px;
        border: 1px solid #cccccc;
    }
    .mobile-checkbox .sort-selected svg{
            background-color: black;
    }

    .hidden-sm.hidden-lg .facet__list__mark svg{
        background: -webkit-linear-gradient(top, #000000 0%, #000000 100%);
        background: -moz-linear-gradient(top, #000000 0%, #000000 100%);
        background: -o-linear-gradient(top, #000000 0%, #000000 100%);
        background: -ms-linear-gradient(top, #000000 0%, #000000 100%);
        background: linear-gradient(top, #000000 0%, #000000 100%);
        width: 15px;
        height: 15px;
    }

}

@media (min-device-width: 768px) and  (max-device-width: 1023px) {

    .dior-plp .accountButtons{
        padding-left: 0px;
        padding-right: 0px;
        height: 42px;
    }

    .dior-plp .btn-viewAllProducts{
        height:42px;
    }

    .dior-plp .type-select-container{
        padding-left: 0px;
    }

}

@media (min-device-width: 1024px) and  (max-device-width: 1366px) {

    .dior-plp .accountButtons{
        padding-left: 5px;
    }



}

@media (min-device-width: 640px) and  (max-device-height: 360px) {

    .dior-plp .accountButtons{
        padding-left: 5px;
    }

}


@media (min-device-width: 768px) and  (max-device-height: 375px) {

    .dior-plp .accountButtons{
        padding-left: 5px;
    }

}

@media (min-device-width: 812px) and  (max-device-height: 375px) {

    .dior-plp .accountButtons{
        padding-left: 5px;
        padding-top: 2%;

    }

}


@media (min-device-width: 360px)  {

    .second-section.col-xs-12 .dior-gallery-responsive-mobile .categoryBannerImg{
        max-height: 93px;
    }

}

@media (min-device-width: 375px)  {
    .second-section.col-xs-12 .dior-gallery-responsive-mobile .categoryBannerImg{
        max-height: 97px;
    }

}
@media ( max-width : 639px) and (min-device-width: 300px) {

    .pdp-header-container{
        white-space: nowrap;
        display: flex;
        align-content: space-between;
        padding: 0px;
        font-size: 12px;
    }

    .product-details-price.col-xs-4.hidden-sm.hidden-md.hidden-lg.phaseout-price-mobile{
        font-size: 15px;
        white-space: initial;
    }

    .product-details-price.col-xs-4.hidden-sm.hidden-md.hidden-lg{
        display: inline-block;
        white-space: nowrap;
        margin-right: 0;
        height: auto;
        font-size: 19px;
        text-align: right;
        top:5px;
        margin-left: 20px;
    }
    .col-xs-8.hidden-sm.hidden-md.hidden-lg{
        margin: 0px;
        padding: 0;
        height: 45px;
        top: 10px;
        width: 60%;
        padding-left: 5px;
        font-size: 15px;

    }
    .product-details-price .infobox-price{
        padding:0px;
        top: -2px;
        width: 27px;
    }

    .phaseout-wrapper {
        display: flex; 
        flex-direction: column;
        width: 100%;
        align-items: flex-end;
    }

    .badge-discount {
        font-size: 11px;
    }

    .phaseout-link {
        font-size: 11px;
        white-space: nowrap;
    }

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media ( max-width : 280px)  {

    .pdp-header-container{
        display: flex;
        justify-content: space-between;
        align-content: space-between;
        align-items: center;
    }
    .product-details-price.col-xs-4.hidden-sm.hidden-md.hidden-lg{
            height: auto;
        }
}

@media ( max-width : 639px) and (min-device-width: 300px) {

    .page-productDetails .container .banner-container .categoryBannerImg{
        margin-top: -13px;
    }
}

@media ( max-width : 639px) {

    .text-underline{
        text-decoration: underline;
    }

    .padding-sortBy{
        padding-left: 0;
    }
}
