﻿/*desktop browsers and tablets including iPad, iPad Mini, Galaxy Tab, Google Nexus, etc.*/
/*labels and entry fields horizontally side by side*/
@media only screen and (min-width : 401px) {
    .label {
        padding: 15px 10px 5px 0;
        font-weight: bold;
        float: left;
        width: 130px;
        text-align: right;
    }

    /*jqmobile class to override input boxes for horizontal align with label*/
    .ui-input-text {
        display: inline-block;
    }

    .buttonSpace {
        float: left;
        width: 130px;
        margin: 0;
    }

    .detailslabel {
        float: left;
        text-align: right;
    }

    .inputFieldset {
        display: inline-block !important;
    }

    .recaptchaRow {
        padding-top: 10px;
        padding-left: 60px;
    }
}

/*smartphones */
/*labels stacked on top of entry fields.*/
@media only screen and (min-width : 300px) and (max-width : 400px) {
    .label {
        padding: 5px 10px 5px 0;
        font-weight: bold;
    }

    .buttonSpace {
        display: none;
    }
}

/*hides the logo on smartphones*/
@media only screen and (min-width : 10px) and (max-width : 500px) {

    .elementLogo {
        display: none;
    }

    .tranResult {
        text-align: center;
    }
}

/*jquery mobile UI collapsible header color*/
.ui-collapsible-heading-toggle {
    color: #2489ce !important;
    font-size: 18px !important;
}

.elementBottomLogo {
    float: right;
}

body {
    background-color: #efefef;
}

.elementMessage {
    text-align: center;
    font-size: 0.8em;
}

.error {
    color: #cc0000;
}

.inputSection {
    padding: 3px 0 3px 0;
}

.errorNotice {
    display: block;
    padding: 10px;
    margin: 15px 0 15px 0;
    color: #cc0000;
    background-color: #fef6f3;
    -ms-border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #CC0000;
}

.helpText {
    display: block;
    padding: 10px;
    margin: 15px 0 15px 0;
    background-color: #f4fbff;
    -ms-border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #2489ce;
}

.successText {
    display: block;
    padding: 10px;
    margin: 15px 0 15px 0;
    background-color: #ebfff6;
    -ms-border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #088A4F;
    color: #088A4F;
}

.subheader {
    margin: 20px 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #cccccc;
    color: #2489ce;
    font-size: 18px;
}

.pad5 {
    padding: 5px;
}

.padTop10 {
    padding-top: 10px;
}

.detailslabel {
    padding: 0 10px 5px 0;
    font-weight: bold;
    width: 170px;
}

div.detailItem {
    clear: both;
    padding-top: 5px;
}

div.detailItemValue {
    padding-bottom: 5px;
}

.addressContainer {
    float: left;
    margin-right: 15px;
}

.addressBilling {
    margin-bottom: 15px;
}

.footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #cccccc;
    padding: 10px 10px 10px 2px;
    margin-top: 20px;
}

.cookiePolicy {
    display: flex;
    justify-content: left;
    font-size: 0.85em;
    margin-top: 5px;
}

.restingText {
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    padding: 20px;
    margin-top: 20px;
}

#divAboutCvv {
    display: inline-block;
}

/*this is to set the cvv input box to 100px and inline-block for the auto generated jquery mobile (jqm) div. 
    Without this, jqm makes it 100% wide on a smartphone which forces the About CVV to wrap.*/
#fldSetCvv > .ui-input-text {
    max-width: 100px;
    display: inline-block;
}

#fldSetCvv > div:first-of-type {
    vertical-align: middle;
}

/* rules for hiding and showing credit card and cvv fields */

/**
    Positioning context
*/
.cc-container, .cvv-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

/* provides space at the end of the credit card or CVV field for the eye. 
    entered text cannot encroach on this space */
#txt_CardNumber, #txt_CVV {
    padding-right: 35px;
}


/* the eye icon image positioning */
.eye-icon {
    position: relative;
    top: 18px;
    right: 25px;
    height: 16px;
}

/* this removes the eye that appears by default on password fields for Edge browser */
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

/**
    these rules exist primarily to provide further information to document.querySelector
*/

.cc {
    padding-right: 30px;
}

.cvv {
    padding-right: 30px;
}

.worldpayLogo {
    vertical-align: middle;
    height: auto;
    width: 108px;
}

.hideCookieBanner {
    display: none;
}

.showCookieBanner {
    display: block;
}

img {
    width: 100%; /* or max-width: 100%; */
    height: auto;
}
.rotateArrowUp {
    transform: rotate(180deg)
}