@media (min-width: 640px) and (max-width: 1920px) {
    
    .bg1{height: 700px}
    .m1{margin-top: 40px}
    .modal-dialog{max-width: 620px}
    .logo{width: 110px; height: auto}
    #mobTemplate{display: none}
    
    .flex-item-duble-2 {flex: auto}
    .flex-item-normal-2 {flex: 50%; padding: 4px}
    
    .flex-item-duble-4 {flex: 40%; margin-top: -25px}
    .flex-item-normal-4 {flex: 25%; padding: 2px}
}
@media (min-width: 280px) and (max-width: 768px) {
    
    #desktopTemplate{display: none}
    
    .meta-dreaming .block-dreaming {
        padding-right: 10px;
    }
    .logo{width: 80px; height: auto}
    .preloader {
        left: 45%;
    }
    
    .table{border: none;}
    #mobSize tr td{
      padding: 0 !important;
      margin: 0 !important;
      border:none !important;
    }
    #mobSizeChild tr td{
      padding: 0 !important;
      margin: 0 !important;
      border:none !important;
    }
    #mobSizeThird tr td{
      padding: 0 !important;
      margin: 0 !important;
      border:none !important;
    line-height: normal
    }
    .cartQty{
        padding: 3px !important;
        margin: 0 !important;
        border-radius: 0px !important;
        height: 25px !important;
        line-height: normal;
        width: 40px;
        color: #000
    }

}


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 480px) {
    
    .flex-item-duble-2 {flex: auto}
    .flex-item-normal-2 {flex: 50%; padding: 4px}
    
    .flex-item-duble-4 {flex: 40%; margin-top: -25px}
    .flex-item-normal-4 {flex: 25%; padding: 2px}
    
    #numControls{display: none}
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {

}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {

}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

}
/**********
iPad 3
**********/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {

}
/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1224px) {
    
    .flex-item-duble-2 {flex: auto}
    .flex-item-normal-2 {flex: 50%; padding: 5px}
    
    .flex-item-duble-4 {flex: 43.2%; margin-top: -25px}
    .flex-item-normal-4 {flex: 25%; padding: 5px}
}

/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
    .flex-item-duble-2 {flex: auto}
    .flex-item-normal-2 {flex: 50%; padding: 5px}
    
    .flex-item-duble-4 {flex: 43.8%; margin-top: -23px}
    .flex-item-normal-4 {flex: 25%; padding: 5px}
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {

}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {

}