/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/



.paymentbox.complete .paymentboxinner {
max-width: 800px;
margin: 0 auto;
}

.paymentbox .addressbox {
margin: 0 0 10px 0;
text-align: left;
}

.addressbox1 {
display: inline-block;
margin-top: 10px;
}

.addressbox1:first-child {
margin-right: 20px;   
}

.orderdeets {
font-weight: 600;
background-color: rgba(222, 222, 222, 0.41);
padding: 5px 0;
border-radius: 4px;
margin: 25px auto;
}

.invoiceinfotitle {
font-weight: 600;
display: inline;
}

.starttimerange{
display: inline;
white-space: nowrap;
}

.special_instructions {
text-align: left;
}

.invoiceinfo {
margin-bottom: 10px;
}

.invoicebottomnote {
text-align: left;
margin-top: 25px;
}

.printme a {
text-align: center;
display: block;
margin-top: 20px;
}

.thankyou {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
margin: 0 auto 10px auto;
color: green;
font-weight: 700;
list-style: none;
padding: 10px;
background-color: rgba(110, 255, 127, 0.46);
border-radius: 4px;
max-width: 800px;
}

.thankyou.errortag {
color: red;
background-color: #f2bbbb;
}

.thankyou.info {
color: #a08804;
background-color: #fcefa6;
}

.testsuccess {
font-size: 16px;
border-radius: 4px;
color: white;
background-color: grey;
padding: 5px 10px;
margin-bottom: 20px;
font-weight: 700;
}


.companydetails {
text-align: left;
}

.mainbox .companydetails img {
margin: 0 0 20px 0;
-webkit-box-shadow: none;
        box-shadow: none;
max-width: 200px;
max-height: 120px;
}

.contactbox {
margin: 10px 0 15px 0;
display: inline-block;
vertical-align: top;
}

.contactbox.maincontacts {
margin-right: 50px;    
}

.companyline1.companyname {
font-weight: 700;
}

.customerinfo .paymentline1 {
margin-left: 0;
}

.taxnumbers {
margin-top: 15px;
text-align: left;
}

.redirecturl {
position: fixed;
padding: 30px;
background-color: rgba(0,0,0,.8);
z-index: 100;
bottom: 0;
left: 0;
width: 100%;
color: white;
}

.redirectbutton {
padding: 5px 10px;
border-radius: 3px;
display: inline-block;
cursor: pointer;
-webkit-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}
 
.redirectmessage {
margin-bottom: 10px;
}

.redirectbutton.redirectnow {
background-color: green;
}

.redirectbutton.redirectnow:hover {
background-color: darkgreen;
}

.redirectbutton.redirectstop {
background-color: red;
}

.redirectbutton.redirectstop:hover {
background-color: darkred;
}

.mainbox.bottommargin.redirectmargin {
margin-bottom: 150px;
}

@media (max-width: 767px) {
    .contactbox {
    display: block;    
    }
    
    .contactbox.maincontacts {
    margin-right: 0;    
    }

}

@media (max-width: 480px) {

    .mainbox.bottommargin.redirectmargin {
    margin-bottom: 170px;
    }

    .completemainbox .thankyou.success {
    margin: 15px 10px 0 10px;
    }

    .completemainbox .thankyou.info {
    margin: 10px 10px 0 10px;
    }

    .addressbox1 {
    display: block;
    }

    .addressbox1:first-child {
    margin-right: 0;
    }

    .completemainbox.mainbox {  
    padding: 0;    
    border-radius: 4px;
    }

    .completemainbox.mainbox .paymentboxinner {
    padding: 20px 10px;
    }

}


@media print {
    body * {
    visibility: hidden;
    }

    .printme {
    display: none;
    }
    
    .paymentbox, .paymentbox * {
    visibility: visible;
    overflow: visible; 
    }

    .companyimage2 {
    display: none;
    }

    .paymentbox.complete {
    background-color: white;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;                
    line-height: 18px;
    }
    
}