#codplugin-checkout{
    position: relative;
    padding: 30px;
    border: 2px solid #5b4ebb;
    border-radius: 6px;
    margin-top: 50px;
}
.codplugin-checkout-title {    
    position: absolute;
    top: -25px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}
.codplugin-checkout-title h3{
    background: #ffffff;
    line-height: 50px;
    padding: 0 20px;
    display: inline-block;
    color: #5b4ebb;
}
#codplugin_woo_single_form input,
#codplugin_state {
	width: 47%;
    padding: 16px;
    margin: 7px;
    border: 2px solid #ebe9f7;
    height: 50px;
}
input#nrwooconfirm{
    background-color: #5b4ebb;
    width: 72%!important;
    border: none;
    margin: 7px;
    margin-right: 9px;
    float: right;
    color: #fff !important;
}
#codplugin_add_button,#codplugin_count_button,#codplugin_remove_button{
    color: black;
    font-size: 20px;
    text-align: center;
    line-height: 46px;
    cursor: pointer;
    line-height: 46px;
    width: 50px;
    float: left;
}
#codplugin_woo_radio{
	width: 17px!important;
	height: 17px!important;
}
#codplugin_state{
    cursor: pointer;
    color: #888;
}

span#codplugin_h_o {
    line-height: 50px;
    font-size: 16px;
}
span#codplugin_h_o i {
    font-size: 20px;
    color: #ebe8f7;
    margin-right: 5px;
}
div#codplugin_h_left {
    float: right;
} 
div#codplugin_h_left i {
    color: #ebe9f7;
    line-height: 50px;
    font-size: 25px;
}
div#codplugin_h_right {
  float: left;
}
div#codplugin_order_history {
    height: 50px;
    cursor: pointer;
    border-bottom: 2px solid #ebe9f7;
    margin: 7px;
}

#codplugin_show_hide{
    display: none;
}
#codplugin_gif{
    margin: auto;
    width: 50px;
    height: 50px;
    display: none;
}

.form-qte {
    float: left;
    margin: 7px;
    border: 2px solid #eae7f7;
    border-radius: 3px;
}
#codplugin_remove_button {
    border-right: 2px solid #ebe9f7;
    width: 35px;
}
#codplugin_add_button {
    border-left: 2px solid #ebe9f7;
    width: 35px;
}
#codplugin-checkout table {
    padding: 0 7px;
    border: none;
}
#codplugin-checkout td {
    border: none;
    border-bottom: 2px dotted #ebe8f7;
}
#codplugin-checkout .full-price td {
    font-weight: bold;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-size: 9px;
    background-image: url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E);
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    padding-right: 28px !important;
}
table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.5em;
    width: 100%;
}
table, td, th {
    border: 1px solid rgba(0,0,0,.1);
}
.single_add_to_cart_button{
    display: none!important;
}
.woocommerce .quantity .qty{
    display: none!important;
}

.woocommerce div.product .product_meta {
    border-top: none!important;
}


#cod-upsell{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 25; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
#cod-upsell-box{
    background-color: #fff;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

#cod-upsell-loader{
    display: none;
}

#cod-upsell-box .cod-upsell-heading {
    color: red;
    text-align: center;
    font-weight: bold;
    font-size: 45px;
    margin: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px dotted #eee;
}
.cod-upsell-product-title {
  text-align: center;
  font-size: 24px;
  color: #000;
}

.cod-upsell-product img {
    margin: 20px auto;
    display: block;
}

.cod-upsell-product .price {
    display: block;
    text-align: center;
    color: red;
    margin-bottom: 25px;
}
#upsell-submit button {
  display: block;
  margin: 20px auto;
  color: #fff;
  background-color: #4caf50;
  padding: 15px 50px;
  font-size: 30px;
  border: none;
}
#upsell-submit #cod-upsell-cancel {
    background-color: transparent;
    color: #bababa;
    padding: 0;
    font-size: 20px;
}

#upsell-submit button:hover {
    cursor: pointer;
}
#upsell-submit #cod-add-upsell:hover {
  background-color: #222;
}
#upsell-submit #cod-upsell-cancel:hover {
  color: #555;
}



/* -----------------------------------------
     Global Mediaqueries
----------------------------------------- */

@media (max-width: 1349px) and (min-width: 992px) {

    #codplugin-checkout {
        padding: 30px 10px;
    }
    .codplugin-checkout-title h3 {
        font-size: 22px;
    }
    #codplugin_woo_single_form input, #codplugin_state {
        width: 46%;
    }
    input#nrwooconfirm {
        width: 62%!important;
    }
    #codplugin_show_hide {
        padding: 0 10px;
    }

}

@media (max-width: 767px) {

    #codplugin-checkout {
        padding: 30px 10px;
    }
    .codplugin-checkout-title h3 {
        font-size: 22px;
    }
    #codplugin_woo_single_form input, #codplugin_state {
        width: 46%;
    }
    input#nrwooconfirm {
        width: 63%!important;
    }

    #codplugin_show_hide {
        padding: 0 10px;
    }

    #upsell-submit button {
        padding: 12px 25px;
        font-size: 20px;
    }
    #cod-upsell-box .cod-upsell-heading {
        font-size: 36px;
    }
}

@media (max-width: 488px) {
    #codplugin_woo_single_form input, #codplugin_state {
        width: 100%;
        margin: 0;
        margin-bottom: 10px;
    }
    input#nrwooconfirm, .form-qte {
        margin: 0;
    }
    .codplugin-checkout-title {
        position: relative; 
    }
    .codplugin-checkout-title h3 {
        margin: 0 !important;
    }
   
}

@media (max-width: 417px) {
    .form-qte {
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }
    #codplugin_remove_button,
    #codplugin_add_button {
        width: 15%;
        float: none;
        border: none;
    }
    #codplugin_count_button {
        float: none;
        width: 66%;
    }
    input#nrwooconfirm{
        float: none;
        width: 100% !important;
        display: block;
    }
}
