.close{
    float: right;
    padding: 5px 8px;
    border: none;
    background: #f5f5f5;
    color: gray;
    margin: 5px 10px;
    font-size: 30px;
}

.close:hover, .close:focus{
    color: #808080;
    text-decoration: none;
}

.modal-header{
    border: none;
}

.modal-h2{
    padding: 15px 0 25px 0;
    border-bottom: 1px solid #e0e0e0;
}


table .input-group{
    width: auto!important;
}


form .modal-body{
    padding: 0!important;
    display: inline-block;
}

.modal-title{
    font-size: 20px !important;
    text-transform: uppercase;
    margin: 0 0 25px 0;
    text-align: left;
    display: inline-block;
    color: #555554;
}

.modal-body .img-responsive{
    display: inline-block;
    margin: 0 auto 25px;
}


#cover{
    position:fixed;
    top:0;
    left:0;
    background:rgba(0,0,0,0.6);
    z-index:5;
    width:100%;
    height:100%;
    display:none;
}

.nopadding{
    padding: 15px 0;
    margin: 5px 0;
}

.addcart-button{
    width: 100%;
    background: #676e1a;
    padding: 25px;
    margin-top: 25px;
}

.modal-content .addcart-button .btn{
    width: 100%;
    background: #d4a84b;
    display: inline-block;
    color: #fff;
    font-size: 24px!important;
    font-weight: bold;
    -webkit-box-shadow: -1px 9px 35px -9px rgba(0,0,0,0.47);
    -moz-box-shadow: -1px 9px 35px -9px rgba(0,0,0,0.47);
    box-shadow: -1px 9px 35px -9px rgba(0,0,0,0.47);
    margin: 0;
}


@media screen and (max-device-width: 991px){
     #addtocart{
        /* height: 610px; */
        text-align: center;
     }
     #addtocart .input-group{
        text-align: center!important;
    }
    .forever-img_2{
        display: inline-block;
    }
    .forever-img{
        display: none;
    }
}

@media screen and (max-device-width: 767px){
    .modal-dialog{
        width: 450px;
        margin: 0px auto;
    }
    .modal-title{
        text-align: center;
    }
    form .modal-body{
        text-align: center;
    }
    table .input-group{
        width: 100%!important;
        text-align: center;
    }
}

@media screen and (max-device-width: 500px){
    .modal-dialog{
        width: auto;
    }
    .modal{
        padding: 15px!important;
    }
    .modal-title{
        text-align: center;
    }
    .modal-title{
        font-size: 20px !important;
    }
}

@media screen and (max-device-width: 345px){
    table .field{
        font-size: 15px!important;
        width: 35px!important;
    }
    #add, #sub{
        font-size: 15px!important;
        width: 30px!important;
    }
    .modal-content .addcart-button{
        margin-top: 0;
    }
    .modal-h2{
        padding: 10px 0;
        margin: 0;
    }
    .modal-title{
        font-size: 18px !important;
    }
    .modal-content .addcart-button{
        padding: 15px;
    }
    .modal-content .addcart-button .btn{
        font-size: 15px!important;
    }
}


@media screen and (max-width: 430px){
    .modal-dialog{
        margin: 55px auto;
    }
    .product_image{
        max-height: 200px;
    }
}

@media screen and (max-width: 375px){
    .modal-dialog{
        margin: 0px auto;
    }
    .product_image{
        max-height: 170px;
    }
    .modal-content .addcart-button .btn {
        font-size: 14px !important;
    }
    .addcart-button {
        padding: 20px;
        margin-top: 10px;
    }
}




.modal-backdrop{
    z-index: 0!important;
}

.table tr{
    background: transparent !important;
}

/*add this css*/
.g-quantity-wrap .quantity-group .numeric{
    width: 45px;
    text-align: center;
    display: inline-block;
    float: left;
    font-size: 14px;
    border-radius: 0;
    padding: 5px;
}

.g-quantity-wrap .quantity-group .sub,
.g-quantity-wrap .quantity-group .add {
    font-size: 27px;
    float: left;
    width: 30px;
}

.g-quantity-wrap {
    margin: 25px 0;
    display: inline-block;
    width: 100%;
}

.button {
    margin-bottom: 35px;
    display: inline-block;
    width: 100%;
}


/*paki udpate lang ani sa css*/
.left-field .forever-img img{
    margin: 0 0 25px;
    width: 30%;
}