#main{
    max-width: 1680px;
}

.nolimit{
    max-width: 100%;
}

.cartpreview, #enterdetails {
    width: 100%;
    overflow: hidden;
    max-width: 1440px;
    margin: 0 auto;
    border: 1px solid #3fbc9c;
    padding: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.cartref, .cartfooter {
    display: block;
    background: #3fbc9c;
    padding: 10px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
    font-weight: bold;
    color: white;
    overflow:hidden;
    max-width: unset;
}

.cartref.cartreforder{
    padding: 10px 10px;
}

.cartremove{
    padding-right: 10px !important;
}

.cart-actions{
    float: right;
}

.th-center{
    text-align: center;
}

.th-right{
    text-align: right !important;
}

#cartpreview, #parameterstable {width:100%;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
#cartpreview th, #parameterstable th {padding:10px;border-bottom: 1px solid #ccc; color:#000;}
#cartpreview td, #parameterstable td {padding:4px; vertical-align: middle;}
#cartpreview tbody tr, #parameterstable tbody tr {background:#eee; border-bottom:3px solid white;}
#cartpreview tbody tr:hover, #parameterstable tbody tr:hover {background:#ddd;}
table#cartpreview td.cartname img {width:70px; height:70px; margin:2px 10px 2px 0; border:1px solid #aaa;float: left;}
table#cartpreview td.cartname a {text-decoration:none; color:black;font-size: 12px;}
table#cartpreview td.cartname a span {font-size: 15px; display: table;} 
table#cartpreview td.cartname a span.title {font-weight: bold; margin-bottom: 10px;} 
table#cartpreview td.cartname span.view-files {text-decoration: underline; cursor: pointer;}
table#cartpreview tbody tr {background:#eee; border-bottom:3px solid white;}
table#cartpreview tbody tr:hover {background:#ddd;}
table#cartpreview td.cartqty input {width: 50px;margin: 0 auto;}
#parameterstable td {position:relative;}

.tablewrap {border: 4px double #555;
    padding: 20px 10px 0;}


input[type="submit"].refreshcart {
    border: none;
    font-size: 13.8px;
    display: block;
    color: white;
    cursor: pointer;
    margin-top: 3px;
    background: transparent;
    float: right;
}
a.editcart {
    border: none;
    font-size: 14px;
    float: right;
    display: block; color:white !important; text-decoration:none; font-weight:normal;
    background: none;
    padding: 0;
}
a.emptycart{
    color: white !important;
    text-decoration: none;
    float: right;
    font-size: 14px;
    font-weight: normal;
    padding-left: 10px;
    margin-left: 10px;
}
#cartpreview td.cartremove a {text-decoration:none;}
#cartpreview td.cartsubt, #cartpreview td.cartprice, #cartpreview td.cartqty {text-align:center;}
#cartpreview td.cartqty {padding-top:25px;}
div.proceed a {
    color: white;
    text-decoration: none;
    font-weight: normal;
    line-height: 20px;
    display: block;
    float: right;
    border: 1px solid #3fbc9c;
    background: #3fbc9c;
    padding: 10px 65px 10px 10px;
    border-radius: 10px;
}

div.proceed a:hover {
    background: #359980;
}


div.proceed a span {font-weight:bold; font-size:15px; color:white !important;}

table#totals {font-weight:bold; width: 100%;
    font-size: 14px;}
table#totals td {padding:10px 10px 10px 10px;}
table#totals span.comment {font-weight: normal;
    font-size: 11px;
    display: block;
    margin-bottom: -11px;
    color: #555;}

table#customdetails {font-size:14px; width: 100%; margin: 0;}
table#customdetails td {padding:10px;display: block;
    float: left;
    width: 100%;
}
table#customdetails input {font-size:14px;}
table#customdetails select {height: 38px;}

table#myorders tr{background: #3fbc9c; color: white;}
table#myorders  {width:100%;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-bottom:30px;}
table#myorders thead {padding:10px;border-bottom: 1px solid #ccc; color:#aaa; font-weight:bold; background:#555; padding:20px 0; color:white;}
table#myorders td, table#myorders th {padding:10px; vertical-align:top; text-align: center;}
table#myorders tbody tr {background:#eee; border-bottom:3px solid white;}
table#myorders tbody tr:hover {background:#ddd;}
table#myorders a {color:black; text-decoration:none; font-weight:bold; display:block; margin: 0 auto;}
table#myorders a:hover {text-decoration:underline;}



table#transactionlog {width:100%; max-width:1200px; margin:auto; border: 1px solid #3fbc9c;}
table#transactionlog thead tr {background:#3fbc9c; color:white; font-size: 13px;}
table#transactionlog thead tr th {padding:6px 0;}
table#transactionlog tbody td {border-top: 1px solid #FF9967; border-right: 1px solid #FF9967; text-align:center; padding:4px 0; font-size:11px; }
table#transactionlog tbody td:last-child {border-right: 1px solid #3fbc9c;}
table#transactionlog .titlerow {
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 5px;
    border-bottom: 1px solid #F16D2C;
}

input[type="submit"].paypalbutton, a.paypalbutton {background:url('https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif'); width:145px !important; height:42px !important;border:none;}
a.paypalbutton {
    display: block;
    text-indent: -9999px;
    text-decoration:none;
}
a.vieworders {
    color: white;
    text-decoration: none;
    float:right;
}
a.vieworders:hover, .btn-cancel-order:hover {cursor: pointer; text-decoration:underline;}
th.header {
    background-image: url(../../images/bg.gif);
    cursor: pointer;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center right;
    padding-left: 20px;
    border-right: 1px solid #dad9c7;
    margin-left: -1px;
}

th.headerSortUp {
    background-image: url(../../images/asc.gif);
    background-color: #666;
}

th.headerSortDown {
    background-image: url(../../images/desc.gif);
    background-color: #666;
}

.viewdetails {
    background-image: url(../../images/details.gif);
    width: 16px;
    height: 16px;
    display: block;
    text-indent: -9999px;
    background-size: contain;
}

.terms-and-conditions h1 {
    font-size: 12px!important;
    font-weight: bold;
}

.terms-and-conditions {
    height: 150px;
    overflow-y: scroll;
    border: 1px solid #999;
    padding: 0px 4px;
    background-color: #ddd;
    margin-bottom: 15px;
}

#stripe-button{
    width: 250px;
    height: 35px;
    line-height: 0px;
    margin-top: 25px;
    margin-right: 0;
}

.form-terms-store{
    text-align: right;
}

#text-terms-store{
    float: right;
    margin-top: -3px;
    font-size: 15px;
}

#form_terms{
    width: fit-content !important;
    margin-right: 10px !important;
    margin-bottom: 0;
    width: 14px !important;
    height: 14px !important;
}

#myorders{
    margin: 0 auto;
}

.container-cart-empty{
    margin-top: 20px;
    text-align: center;
}

.billing{
    font-size: 22px;
}

.container-use-address{
    margin-top: 20px;
}

#btn-useaddress{
    background: white;
    border: 1px solid #3fbc9c;
    border-radius: 10px;
    color: black;
}

.title-billing{
    font-weight: bold;
    width: 165px !important;
}

.empty-billing{
    width: 141px !important;
}

#customdetails tr{
    display: flex;
    align-items: center;
    padding: 5px 15px;
}

#customdetails input, #customdetails select{
    margin: 0;
}

.discount-code-label{
	vertical-align: middle;
}
.discount-code-label button{
	width: 30%;
    margin-left: 5%;
    margin-bottom: 0;
    float: right;
}
.discount-code-label button span div{
    width: 15px !important;
    height: 15px !important;
}
.discount-code-label input{
	width: 65%;
    display: inline;
    margin: 0;
}
.discount-label {
	width: 70% !important;
}
.discount-button {
	width: 30% !important;
}

#discount-code-table {
    width: 100%;
}

.cartremove .deletefile {
    margin: auto;
}

a.link-under{
    text-decoration: underline !important;
}

.tick-term-msg{
    color: red;
}

input.place-error::placeholder{
    color: red;
    opacity: 1;
}

input.place-error::-webkit-input-placeholder, input.place-error::-moz-placeholder, input.place-error:-moz-placeholder, input.place-error:-ms-input-placeholder {
    color: red;
    opacity: 1;
}


@media only screen and (max-width: 900px) {
    .td-conditions{
        width: 60% !important;
    }
}

.container-error{
    padding: 20px 0;
    margin: 20px auto;
    text-align: center;
    background: #fff;
    border: solid 1px #ddd;
}

.btn-pay, .btn-pay:hover, .btn-pay:focus, .btn-pay:active, .btn-pay:visited{
    background-color: #3fbc9c;
    margin-right: 20px;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    float: right;
}

.working {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #61debe; /* Blue */
    border-radius: 50%;
    width: 54px;
    height: 54px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

button.close-button{
    outline: 0;
    right: -1rem;
    top: -1rem;
    font-size: 3.8em;
    line-height: 1;
    position: absolute;
    color: #8a8a8a;
    cursor: pointer;
    background: transparent;
}

.reminder-files{
    margin-bottom: 20px;
    text-align: center;
}

.reminder-files span{
    font-weight: bold;
}

.btn-download-order{
    background-color: #3fbc9c;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
}

.btn-download-order:hover, .btn-download-order:active, .btn-download-order:focus, .btn-download-order:visited{
    background-color: #3fbc9c;
}

.td-purchase p{
    margin-bottom: 0;
    max-height: 250px;
    overflow: hidden;
    overflow-y: inherit;
}

.payment-success-image{
    float: left;
    margin-right: 20px;
}

@media only screen and (max-width: 1024px) {
    .payment-success-image{
        float: initial;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

#paypal-button {
    min-width: 200px;
    height: 50px;
    margin-top: 25px;
    float: right;
    margin-right: 10px;
}

@media only screen and (max-width: 450px){
    .reminder-files span {
        font-size: 16px !important;
    }
}

/* 480px */
@media only screen and (max-width: 40em){
    .discount-code-label button, .discount-code-label input{
        width: 100%;
    }
    #paypal-button {
        margin-right: 0;
    }
    .reminder-files span {
        font-size: 11px !important;
    }
}