.giftwrap-style-table-item-header {
    display: grid;
    grid-template-columns: 20% auto 20% 20% 15%;
}
.giftwrap-style-table-item .row {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 20% auto 20% 20% 15%;
}
.giftwrap-style-table-item .row .giftwrap-name-col {
    grid-column: 2;
    width: 100%;
    padding: 12px;
}
.giftwrap-style-table .image-small {
    grid-column: 1;
    width: 100%;
}
.giftwrap-style-table .giftwrap-qty-col {
    grid-column: 3;
}
.giftwrap-style-table .giftwrap-qty-cart-col {
    grid-column: 4;
}
.giftwrap-style-table .giftwrap-check-col {
    grid-column: 5;
}

button#save-giftbox{
    margin: auto;
}

/*Add by Sally - Style responsive*/
@media (max-width: 1024px){
    .giftwrap-style-table-item-header {
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
    }
    .giftwrap-style-table-item .row {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 25% 25% 25% 25%;
    }
    .giftwrap-style-table-item .row .giftwrap-name-col {
        grid-column: 1;
        width: 100%;
        padding: 0 0 15px 0;
    }
    .giftwrap-style-table .image-small {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
    }
    .giftwrap-style-table .giftwrap-qty-col {
        grid-row: 1;
        grid-column: 2;
    }
    .giftwrap-style-table .giftwrap-qty-cart-col {
        grid-column: 3;
        grid-row: 1;
    }
    .giftwrap-style-table .giftwrap-check-col {
        grid-row: 1;
        grid-column: 4;
    }
    .giftwrap-image img {
        width: 100px;
    }
}
@media (max-width: 970px){
    .giftwrap-paper .paper-radio .price-box .regular-price .price{
        /*font-size:12px;*/
    }
    #giftwrap-paper-list{
        height:190px;
    }
    #giftwrap-giftcard-list{
        height:190px;
    }
    .supper-attribute-select{
        width: 100%;
    }

}


@media (max-width: 900px){
    #tinybox{
        width:600px !important;
        height:auto !important;
    }
    #tinycontent{
        display:block !important;
    }
}

@media (max-width: 770px){
    .giftwrap-paper .paper-radio .price-box .regular-price .price{
        /*font-size:14px;*/
    }
    #giftwrap-paper-list{
        height:240px;
    }
    #giftwrap-giftcard-list{
        height:240px;
    }
    #giftwrap-papers-images{
        height:260px;
    }
    .item .paper-image .product-img img{
        width:80%;
        margin: 0 auto;
    }
    #giftwrap-paper-list, #giftwrap-giftcard-list{
        height:220px !important;
    }
    .supper-attribute-select{
        width: 50%;
    }
}
@media (max-width: 720px){
    .giftwrap-style-table .item{
        float: none;
    }
    #tinycontent .block-title h3, #tinycontent .block-title h3 a{

        padding-bottom: 0px;
        /*
        line-height: 50px;
        font-size: 14px;*/
    }
    #giftwrap-giftbox .hidden {
        display: block;
        /*float: left;*/
        width: 30%;
        background: none;
        /*
        font-size: 14px;
        font-weight: 700;*/
        text-align: left;
        clear: left;
    }
    #giftwrap-giftbox .hidden.paper,  #giftwrap-giftbox .hidden.giftcard{
        padding-top:40px;
    }
    #giftwrap-giftbox .a-center{
        display: none;
    }
    #giftwrap-giftbox tr{
        width:100%;
        /*float: left;*/
        border-bottom: 1px solid #ccc;
    }
    #giftwrap-giftbox img{
        margin-left:0px;
    }
    #giftwrap-giftbox tr td{
        /*float: left;*/
        width: 65%;
        border-bottom: none;
        text-align: left !important;
        padding-left: 30%;
    }
    /*
     .giftwrap-step .notice-msg{
        font-size:12px;
    }
    .giftwrap-step p.simple-step{
        font-size: 12px;
    }
    form .legend{
        font-size: 14px;
    }
    #giftbox-wraptype li label{
        font-size: 12px;
    }
    */
    /*    .no-nothing, .yes-delete, .no-edit{
            margin-right:0px;
            margin-left: 0px;
        }*/
}
@media (max-width: 650px){
    #tinybox{
        width:400px !important;
        height:auto !important;
    }
    #giftwrap-giftbox .a-center-hidden{
        display: block;
        float:left;
        background:none;
        clear:left;
        width: 30%;
    }
    #giftwrap-giftbox .a-center-hidden.image{
        margin-top:30px;
    }
    #giftwrap-giftbox .a-center{
        display:none;
    }
    #giftwrap-giftbox tr{
        /*float:left;*/
    }
    #giftwrap-giftbox td{
        border-bottom:none;
        padding-left:50%;
        display:block;
        font-weight:700;
    }
    /*
    .giftwrap-paper .paper-radio .price-box .regular-price .price{
           font-size:12px;
        }
        */
    #giftwrap-paper-list{
        height:220px;
    }
    #giftwrap-giftcard-list{
        height:220px;
    }
    .cart-table .product-cart-remove{
        display:block !important;
        float: right;
    }
    .cart-table .product-cart-remove a{
        display:none;
    }
    #slider-features #features-screen, #giftbox-giftcard #view2{
        overflow-x: auto;
        width: 320px;
    }
    #slider-features #images, #giftbox-giftcard #images2{
        overflow-y: hidden;
    }
    .giftwrap-image img {
        width: 100%;
    }
}
@media (max-width: 500px){


    .giftwrap-style-table .image-small{
        /* width: 50%;
         margin-left: 25%;*/
    }
    .giftwrap-style-table ul li.info{
        width:100%;
    }
    .giftwrap-style-table-item {
        position: relative;
    }
    .giftwrap-style-table .item{
        /*float: left;*/
        /* margin-top: 5px;
         margin-left:45%;
         */
        margin: 0;
        position: absolute;
        top: 12px;
        right: 2px;
    }
    #tinycontent .block-title h3, #tinycontent .block-title h3 a{
        line-height: 28px;
    }
    .content-box  .giftwrap-qty-col input[type="text"].qty-wrap,
    .content-box  .giftwrap-qty-col input[type="number"].qty-wrap {
        width: 75%;
    }

}

/*    #close-giftbox{
        margin: 5px;
        margin-left: 25%;
    }*/

@media (max-width: 450px){
    #tinybox{
        width:300px !important;
        padding: 15px;
        top: 240px !important;
    }

    #giftwrap-paper-list{
        height:190px;
    }
    #giftwrap-giftcard-list{
        height:190px;
    }
    .supper-attribute-select{
        width: 100%;
    }
    #close-giftbox{
        width:35%;
    }
    button#save-giftbox{
        width: 60%;
    }
    .no-nothing, .yes-delete, .no-edit{
        margin-top:10px;
        margin-left: 25% !important;
    }
    #slider-features #features-screen, #giftbox-giftcard #view2{
        overflow-x: auto;
        width: 215px;
    }
    .content-box  .giftwrap-qty-col input[type="text"].qty-wrap,
    .content-box  .giftwrap-qty-col input[type="number"].qty-wrap {
        width: 100%;
    }
}
@media (max-width: 380px){
    #tinybox{
        width:250px !important;
        padding: 15px;
        top: 240px !important;
    }
    #slider-features #features-screen, #giftbox-giftcard #view2{
        width: 160px;
    }

}