@media (max-width:990px) 
{ 
    #primary_block #pb-right-column {
        width: 100%!important;
        float: left!important;
    }
    #primary_block #image-block {
        height: auto!important;
        width: 100%!important;
    }
    div#image-block > a > img {
        width: 100%!important;
        height: auto!important;
    }
    #primary_block #pb-right-column {
        width: 100%!important;
        float: left!important;
        background: white!important;
    }
    div#attributes {
        max-height: 317px!important;
        /*overflow: scroll!important;
        overflow-x: auto!important;*/
        position: relative!important;
        max-width: 100%!important;
        left: 0px!important;
        top: 0px!important;
    }
    .pronewsetbuy {
        background-repeat: no-repeat!important;
        background-position: left!important;
        padding-left: 10px!important;
        float: left!important;
        height: 100px!important;
        padding-top: 10px!important;
        margin-bottom: 6px!important;
    }
    .pronewsetbuy > div > div > div > a {
width: 71px!important;
    height: 69px!important;
    display: block!important;
    background-repeat: no-repeat!important;
    float: left!important;
    background-size: 100% 100%!important;
    margin-top: 2px!important;
    margin-right: 0px!important;
    }
    #pronamecolor {
float: left!important;
    padding-right: 10px!important;
    height: 40px!important;
    padding-top: 8px!important;
    line-height: 32px!important;
    font-size: 30px!important;
    position: relative!important;
    }
    .color-name-image {
        width: 35%!important;
        float: left!important;  
    }
    .product-color-sizes {
        float: left!important;
        width: 65%!important;
        float: left!important;
    }
    ul.boxbutsize {
        font-size: 24px!important;
    }
    .boxbutsize li input {
        margin: 0px!important;
        border: 1px solid #5b5a5a!important;
        background-repeat: repeat-x!important;
        width: 50px!important;
        height: 44px!important;
        font-size: 11px!important;
        font-size: 24px!important;
        text-align: center!important;
    }
    .boxbutsize li input.buyboxqty {
           width: 125px!important;
    }
    .add-to-cart {
        width: 70%!important;
    }
    .add-to-cart > button {
        width: 100%!important;
        height: 91px!important;
        font-size: 51px!important;
        color: white!important;
        margin-bottom: 30px!important;
        background: #009688!important;
        text-transform: uppercase!important;
    } 
    #primary_block #pb-left-column {
        margin-top: 40px!important;
    }
    #primary_block #pb-left-column {
        width: 100%!important;
    }
    #primary_block a.color_pick {
        width: 170px!important;
        height: 170px!important;
    }
#primary_block #pb-left-column {
    background: transparent!important;
}
#primary_block #color_to_pick_list li {
    background-repeat: no-repeat;
    background-size: 100%;
    margin-right: 18px!important;
    margin-bottom: 22px!important;
}
    .add-to-cart {
        width: 70%!important;
        margin-top: 37px;
    }

    /*div order chnage in mobile*/
    #pb-left-column{
        display:table!important;
    }
    #pb-left-column h1, #short_description_block{
        display:table-footer-group!important;
    }
    #pb-left-column #color_picker{
        display:table-header-group!important;
    }
    .boxbutsize li input.row-total-qty.buyboxqty {
        width: 75px!important;
    }

    ul#product_list li.clear {
        margin-right: 8px;
        clear: none!important;
    }
    ul#product_list li {
        width: 32.7%!important;
        margin-right: 9px!important;
        margin-bottom: 9px!important;
    }
    ul#product_list li:nth-child(3n+3) {
        margin-right: 0px!important;
        clear: none!important;
    }
    ul#product_list li.last_item_of_line {
        margin-right: 9px!important;
        margin-bottom: 9px!important;
    }
    .pronewsetbuy {
        width: 98%;
    }
    div#attributes .open-all-button, div#attributes .close-all-button {
        padding: 13px 31px;
        font-size: 31px;
    }
    #primary_block #buy_block {
        width: 100%;
    }
    .open-close-wrapper {
        right: 20px;
    }
    .open-close-wrapper {
        right: 18px;
        bottom: 5px;
        left: unset;
    }
    a.close-all-button {
        right: 0px!important;
    }
    span.attributes-head {
        font-size: 32pt;
        color: black;
        margin-bottom: 10px;
        display: block;
        margin-top: 15px;
    }
    #primary_block #pb-left-column h1 {
        color: #800000;
        font-weight: bold;
        font-size: 44px!important;
        line-height: 35px!important;
        margin-top: 12px;
        margin-bottom: 17px;
        display: table-header-group!important;
    }
    #product div#primary_block {
    background-image: none!important;
    }
    .comb_list_thumbnail img {
        height: 130px;
        width: 130px;
        padding: 3px;
    }
    .comb_list_thumbnail {
        width: 147px!important;
        height: 140px!important;
        border: 0px!important;
    }
    div#short_description_content span {
        font-size: 32pt!important;
        -ms-text-size-adjust: none;
        -moz-text-size-adjust: none;
        -o-text-size-adjust: none;
        -webkit-text-size-adjust: none;
    }
    div#qty-product-color-sizes {
        width: 60%!important;
        display: flex;
        justify-content: flex-end;
    }
    div#qty-color-name-image {
        width: 40%!important;
    }
    div.pproduct-name {
        text-overflow: unset!important;
        width: unset!important;
        overflow: visible!important;
        white-space: unset!important;
    }
    div#qty8-product-color-sizes {
        width: 70%!important;
    }
    div#qty8-color-name-image {
        width: 30%!important;
    }
    .color-name-image.qty-8-color > div > #pronamecolor {
    text-overflow: unset!important;
    width: unset!important;
    overflow: visible!important;
    white-space: unset!important;
}
.color-name-image.qty-8-color {
    width: 30%!important;
}
.product-color-sizes.qty-8-color {
    width: 70%!important;
}
    .qty-hide-ct {
        display: none;
    }
    div#pronamecolor {
display: inline-block;
    width: 244px;
    white-space: nowrap;
    padding-right: 0px!important;
    overflow: hidden;
    height: 98px!important;
    text-overflow: ellipsis;
    padding-left: 10px;
}
}
@media(min-width:1200px)
{
/* #product #center_column {
    margin-bottom: 300px!important;
} */
}
#primary_block #pb-left-column {
    float: left;
    width: 287px;
    padding: 20px;
    background: #edebec;
}
div#primary_block {
    background-image: none!important;
}
div#color_picker > span {
    display: none;
}
@media(min-width:998px)
{
    li.comb_list_thumbnail img {
    width: 100%;
    height: auto;
}
}

ul.boxbutsize.qty-ct {
    margin-left: 109px!important;
}

@media(min-width:768px)
{
div#primary_block {
    margin-bottom: 0px;
}
div#center_column {
    margin-bottom: 0px;
}
div#pb-right-column {
    padding-bottom: 69px;
}
#primary_block #pb-left-column {
    min-height: 785px;
}
}
