label {
    margin: 0;
    text-align: center;
}

label[for="save-card"] {
    width: 100%;
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
}

input#save-card {
    position: absolute;
    right: 0px;
    height: 34px;
    top: 3px;
}

.select2-container .select2-choice {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.select2-container {
    /*clear: both;&*/
    margin-bottom: 10px;
}

div#ab-inputs, div#rb-inner {
    box-sizing: border-box;
    padding: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: none;
    border-bottom: none;
}

input[name="add-via"] {
    /*clear: both;*/
    width: 300px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: none;

    &.w-50 {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
}

input[type="text"], select, input[type="checkbox"] {
    /*clear: both;*/
}

input[type="text"],
select,
input[type="tel"],
input[type="email"],
input[type="number"],
div.tag-input
{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    @media screen and (max-width: 768px) {
        border-top-right-radius: 0;
        border-bottom-left-radius: var(--input-radius);
    }
}

div#rb-inputs {
    /*clear: both;*/
}


input.cmn-toggle-yes-no + label {
    padding: 2px;
    /*clear: both;*/
    height: 50px;
    width: 100%;
    background: transparent;
    box-sizing: border-box;
}

input.cmn-toggle-yes-no + label:before,
input.cmn-toggle-yes-no + label:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-weight: bold;
}

input.cmn-toggle-yes-no + label:before {
    background-color: var(--tertiary);
    content: attr(data-off);
    transition: transform 0.5s;
    backface-visibility: hidden;
    color: var(--primary);
}

input.cmn-toggle-yes-no + label:after {
    background-color: var(--secondary);
    content: attr(data-on);
    transition: transform 0.5s;
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

input.cmn-toggle-yes-no:checked + label:before {
    transform: rotateY(180deg);
}

input.cmn-toggle-yes-no:checked + label:after {
    transform: rotateY(0);
}

.cmn-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

.cmn-toggle + label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;
}

div.switch-toggle {
    width: 500px;
}

div.switch-toggle label {
    background: transparent;
    float: none;
}

div.switch-toggle a, div.switch-toggle a:hover, div.switch-toggle a:active, div.switch-toggle a:focus {
    outline: 0;
}

.select2-search input {
    width: 100%;
    border-radius: 5px;
}

div.ajax-loader-box {
    background: transparent;
    border: none;
    box-shadow: none;
}

div.ajax-loader-box div.windowBoxContent {
    background: transparent;
}

div.ajax-loader-box a.closeButton {
    display: none;
}

div.ajax-loader-box div.bounce1, div.ajax-loader-box div.bounce2, div.ajax-loader-box div.bounce3 {
    background-color: #fff;
}

div.spinner-red .bounce1, div.spinner-red .bounce2, div.spinner-red .bounce3 {
    background: var(--secondary);
}

div.spinner-red {
    margin: 0 auto;
}

/*Full width form styles*/

div.switch-toggle {
    width: 100%;
}

div#ebooking-disabled {
    height: 100px;
    text-align: center;
    font-size: 125%;
    line-height: 30px;
    padding: 20px;
    background: rgba(220, 36, 31, .8);
    color: #efefef;
    font-weight: bold;
}

input#pickup-date, input#rb-date, input#flight-eta-date, input#flight-dep-date {
    width: 50%;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

input#pickup-time, input#rb-time, input#flight-eta-time, input#flight-dep-time {
    border-left: none;
    width: 50%;
}

input#pickup-date, input#rb-date, input#pickup-time, input#rb-time, input#flight-eta-date, input#flight-eta-time, input#flight-dep-date, input#flight-dep-time {
    font-size: 120%;
}

input#no-luggage {
    width: 60%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#wb-warn-content label {
    width: 70%;
    background: none;
    text-transform: none;
    text-align: left;
    color: #888;
    margin-bottom: 15px;
}

input#rem-via {
    box-shadow: none;
    border-radius: 0 5px 5px 0;
}

div#pp-feestopay, div#cc-feestopay {
    font-size: 20px;
}

span.cost {
    float: right;
    font-weight: bold;
    color: #30aa30;
}

div.spinner-right {
    float: right;
}

p.float-left {
    float: left;
}

p.error {
    color: #ee5050;
    font-weight: bold;
    text-align: center;
}

hr {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #222;
    border-left: none;
    border-right: none;
    margin-top: 0;
}

input#false-pickup, div input.fake-address-search-input, input#false-dest, div.search-address-holder input[type="text"] {
    width: 100%;
}

input.fake-address-search-input {
    border-bottom-right-radius: 0;
}

#ep-display-container {
    position: absolute;
    bottom: 0;
    max-width: 800px;
}

div.price-display, div#ep-display-container {
    z-index: 300;
}

div.airport-only {
    display: none;
}

span.airport-notifier {
    color: #ef5050;
    font-weight: bold;
    padding-left: 2px;
}

select.include-lg-btn {
    border-radius: 0;
}

a#lg-btn {
    margin: 0;
    width: 25%;
    min-width: 120px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 75%;
    text-align:center;
}

img.lg-img {
    display: inline-block;
    padding: 20px;
}

div.wb-transparent {
    border: none;
    background: transparent;
    width: auto;
    box-shadow: none;
}

@media screen and (max-width: 768px) {
    section#login-existing input, form#address-form label, form#address-form input, form#address-form select, .select2-container {
        width: 100% !important;
    }

    .bootstrap-datetimepicker-widget.dropdown-menu {
        width: 97.25%;
    }

    input.cmn-toggle-yes-no + label:before, input.cmn-toggle-yes-no + label:after {
        border-radius: 0;
    }

    div.switch {
        width: 100%;
    }

    .switch-toggle input {
        display: none;
    }

    body section#page-left form input.false-address-search {
        /*width: 80%!important;removing FTM*/
        float: left;
        box-sizing: border-box;
        margin-right: 0;
        margin-left: 0;
    }

    form#address-form {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .switch-toggle.switch-4.switch-candy {
        font-size: 70%;
    }

    .switch-4.switch-candy input:checked + label {
        text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
    }

    section#page-left form input#rem-via {
        width: 50% !important;
        border-radius: 0;
        float: right;
    }

    input[type="date"], input[type="time"] {
        border-radius: 0;
        border: 1px solid #c8c8c8 !important;
    }

    a#lg-btn {
        float: none;
        width: 100%;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    img.lg-img {
        margin: 0 auto;
        display: block;
    }

    div#ep-display-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100% !important;
        color: white !important;
        border-top: 2px solid rgba(255, 255, 255, 0.5);
    }

    div#ep-display-container div.eta-display, div#ep-display-container div.price-display {
        margin-bottom: 0;
        border: none;
        box-shadow: none;
        border-radius: 0;
        align-items: center;
        justify-content: center;
    }

    .price-display span:last-of-type, .price-display-cln span:last-of-type, .eta-display span:last-of-type {
        line-height: 45px;
    }

    div#ep-display-container sup {
        color: white !important;
    }

    div#force-value-vehicle {
        width: 100%;
        border-bottom-left-radius: 5px;
    }

    .date-time-input {
        flex-basis: 50%;
        width: 50%;

        &:first-of-type {
            input {
                border-bottom-left-radius: var(--input-radius);
            }
        }

        &:last-of-type {
            input {
                border-bottom-right-radius: var(--input-radius);
            }
        }
    }

    #via-container {
        .label-left {
        }
        div {
            input:not(.w-100) {
                flex-basis: 50%;
            }

            [name="add-via"] {
                border-top-right-radius: 0;
                border-bottom-left-radius: var(--input-radius);
            }

            #rem-via {
                border-bottom-right-radius: var(--input-radius);
            }
        }
    }

    input.cmn-toggle-yes-no + label {
        &:before,
        &:after {
            border-bottom-left-radius: var(--input-radius);
            border-bottom-right-radius: var(--input-radius);
        }
    }

    .force-value-input-div {
        border-top-right-radius: 0;
        border-bottom-left-radius: var(--input-radius);
    }
}

.card-list {
    width: 100%;
    height: 100px;
    line-height: 100px;
    font-size: 150%;
    margin: 10px auto;
    box-sizing: border-box;
    /*border: 2px solid #ccc;*/
    border-radius: 15px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.5), inset 0px 0px 1px 1px rgba(100, 100, 100, 0.5);
    transition: all .2s;
    display: table;
}

.card-list div {
    display: table-row;
}

.card-list:hover {
    background: #2793C7;
    color: white;
    cursor: pointer;
}

.card-list span {
    display: block;
    /*float: left;*/
    text-align: center;
    box-sizing: border-box;
    padding: 0 20px;
    display: table-cell;
}

span.card-type.card-name-visa {
    width: 40px;
    height: 100%;
    box-sizing: border-box;
}

span.card-nickname {
    text-overflow: ellipsis;
    overflow: hidden;
}

span.delete-card {
    /*float: right;*/
}

.delete-card button:hover {
    background: #e06055;
}

.delete-card button {
    border: none;
    width: 100px;
    height: 50px;
    font-weight: bold;
    font-size: 110%;
    cursor: pointer;
    border-radius: 5px;
    color: white;
    background: #db4437;
    transition: background 1s;
}

div.card-expired {
    color: #db4437;
    font-weight: bold;
}

/*@media screen and (min-width: 769px){*/
/*Card styles*/
@import url(http://fonts.googleapis.com/css?family=Iceland);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,800);
.card {
    background-color: #ecf0f1;
}

.card {
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 85.60mm;
    height: 53.98mm;
    color: #fff;
    background: #23189a;
    border: 1px solid #1e1584;
    -webkit-border-radius: 10px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 10px;
    -moz-background-clip: padding;
    border-radius: 10px;
    background-clip: padding-box;
    overflow: hidden;
    display: inline-block;
    margin: 8px;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .5);
    cursor: pointer;
}

.card.card-selected {
    background: #333;
}

.bank-name {
    float: right;
    margin-top: 15px;
    margin-right: 30px;
    font: 800 28px 'Open Sans', Arial, sans-serif;
}

.chip {
    position: relative;
    z-index: 1000;
    width: 50px;
    height: 40px;
    margin-top: 50px;
    margin-bottom: 10px;
    margin-left: 30px;
    background: #fffcb1;
    /* Old browsers */
    background: -moz-linear-gradient(-45deg, #fffcb1 0%, #b4a365 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #fffcb1), color-stop(100%, #b4a365));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg, #fffcb1 0%, #b4a365 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, #fffcb1 0%, #b4a365 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, #fffcb1 0%, #b4a365 100%);
    /* IE10+ */
    background: linear-gradient(135deg, #fffcb1 0%, #b4a365 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fffcb1", endColorstr="#b4a365", GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    border: 1px solid #322d28;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    border-radius: 10px;
    background-clip: padding-box;
    -webkit-box-shadow: 0 1px 2px #322d28, inset 5px 0 0 5px rgba(144, 133, 87, 0.25);
    -moz-box-shadow: 0 1px 2px #322d28, inset 5px 0 0 5px rgba(144, 133, 87, 0.25);
    box-shadow: 0 1px 2px #322d28, inset 5px 0 0 5px rgba(144, 133, 87, 0.25);
    overflow: hidden;
}

.chip .side {
    position: absolute;
    top: 8px;
    width: 12px;
    height: 24px;
    border: 1px solid #322d28;
    -webkit-box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1) inset;
}

.chip .side.left {
    left: 0;
    border-left: none;
    -webkit-border-radius: 0 2px 2px 0;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 0 2px 2px 0;
    -moz-background-clip: padding;
    border-radius: 0 2px 2px 0;
    background-clip: padding-box;
}

.chip .side.right {
    right: 0;
    border-right: none;
    -webkit-border-radius: 2px 0 0 2px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 2px 0 0 2px;
    -moz-background-clip: padding;
    border-radius: 2px 0 0 2px;
    background-clip: padding-box;
}

.chip .side:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: inline-block;
    width: 100%;
    height: 0px;
    margin: auto;
    border-top: 1px solid #322d28;
    -webkit-box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1);
}

.chip .vertical {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 8.66666667px;
    height: 12px;
    border: 1px solid #322d28;
    -webkit-box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1) inset;
}

.chip .vertical.top {
    top: 0;
    border-top: none;
}

.chip .vertical.top:after {
    top: 12px;
    width: 17.33333333px;
}

.chip .vertical.bottom {
    bottom: 0;
    border-bottom: none;
}

.chip .vertical.bottom:after {
    bottom: 12px;
}

.chip .vertical:after {
    content: '';
    position: absolute;
    left: -8.66666667px;
    display: inline-block;
    width: 26px;
    height: 0px;
    margin: 0;
    border-top: 1px solid #322d28;
    -webkit-box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px rgba(144, 133, 87, 0.25) inset, 0 0 5px rgba(144, 133, 87, 0.25), 0 0 4px rgba(0, 0, 0, 0.1);
}

.data {
    position: relative;
    z-index: 100;
    margin-left: 30px;
    text-transform: uppercase;
}

.data .pan,
.data .month,
.data .year,
.data .year:before,
.data .name-on-card,
.data .date {
    position: relative;
    z-index: 20;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #000;
}

.data .pan:before,
.data .month:before,
.data .year:before,
.data .year:before:before,
.data .name-on-card:before,
.data .date:before,
.data .pan:after,
.data .month:after,
.data .year:after,
.data .year:before:after,
.data .name-on-card:after,
.data .date:after {
    position: absolute;
    z-index: -10;
    content: attr(title);
    color: rgba(0, 0, 0, 0.2);
    text-shadow: none;
}

.data .pan:before,
.data .month:before,
.data .year:before,
.data .year:before:before,
.data .name-on-card:before,
.data .date:before {
    top: -1px;
    left: -1px;
    color: rgba(0, 0, 0, 0.1);
}

.data .pan:after,
.data .month:after,
.data .year:after,
.data .year:before:after,
.data .name-on-card:after,
.data .date:after {
    top: 1px;
    left: 1px;
    z-index: 10;
}

.data .pan {
    position: relative;
    z-index: 50;
    margin: 0;
    letter-spacing: 1px;
    font-size: 26px;
}

.data .first-digits {
    margin: 0;
    font: 400 10px/1 'Open Sans', Arial, sans-serif;
}

.data .exp-date-wrapper {
    margin-top: 5px;
    margin-left: 64px;
    line-height: 1;
    *zoom: 1;
}

.data .exp-date-wrapper:before,
.data .exp-date-wrapper:after {
    content: " ";
    display: table;
}

.data .exp-date-wrapper:after {
    clear: both;
}

.data .exp-date-wrapper .left-label {
    float: left;
    display: inline-block;
    width: 40px;
    font: 400 7px/8px 'Open Sans', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.data .exp-date-wrapper .exp-date {
    display: inline-block;
    float: left;
    margin-top: -10px;
    margin-left: 10px;
    text-align: center;
}

.data .exp-date-wrapper .exp-date .upper-labels {
    font: 400 7px/1 'Open Sans', Arial, sans-serif;
}

.data .exp-date-wrapper .exp-date .year:before {
    content: '/';
}

.data .name-on-card {
    margin-top: 10px;
}

.lines-down:before {
    content: '';
    position: absolute;
    top: 80px;
    left: -200px;
    z-index: 10;
    width: 550px;
    height: 400px;
    border-top: 2px solid #392db2;
    -webkit-border-radius: 40% 60% 0 0;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 40% 60% 0 0;
    -moz-background-clip: padding;
    border-radius: 40% 60% 0 0;
    background-clip: padding-box;
    box-shadow: 1px 1px 100px #4035b2;
    background: #2d21a6;
    background: radial-gradient(ellipse at center, rgba(45, 33, 166, 0) 44%, #2d21a6 100%);
}

.lines-down:after {
    content: '';
    position: absolute;
    top: 20px;
    left: -100px;
    z-index: 10;
    width: 350px;
    height: 400px;
    border-top: 2px solid #392db2;
    -webkit-border-radius: 20% 80% 0 0;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 20% 80% 0 0;
    -moz-background-clip: padding;
    border-radius: 20% 80% 0 0;
    background-clip: padding-box;
    box-shadow: inset -1px -1px 44px #4035b2;
    background: #2d21a6;
    background: radial-gradient(ellipse at center, rgba(45, 33, 166, 0) 44%, #2d21a6 100%);
}

.lines-up:before {
    content: '';
    position: absolute;
    top: -110px;
    left: -70px;
    z-index: 2;
    width: 480px;
    height: 300px;
    border-bottom: 2px solid #392db2;
    -webkit-border-radius: 0 0 60% 90%;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 0 0 60% 90%;
    -moz-background-clip: padding;
    border-radius: 0 0 60% 90%;
    background-clip: padding-box;
    box-shadow: inset 1px 1px 44px #4035b2;
    background: #4031b2;
    background: radial-gradient(ellipse at center, rgba(64, 49, 178, 0) 44%, #23189a 100%);
}

.lines-up:after {
    content: '';
    position: absolute;
    top: -180px;
    left: -200px;
    z-index: 1;
    width: 530px;
    height: 420px;
    border-bottom: 2px solid #4035b2;
    -webkit-border-radius: 0 40% 50% 50%;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 0 40% 50% 50%;
    -moz-background-clip: padding;
    border-radius: 0 40% 50% 50%;
    background-clip: padding-box;
    box-shadow: inset 1px 1px 44px #4035b2;
    background: #2d21a6;
    background: radial-gradient(ellipse at center, rgba(45, 33, 166, 0) 44%, #2d21a6 100%);
}

/*}/*End of large screen card styles*/

span.delete-card a {
    color: #fff;
    cursor: pointer;
    transition: all 1s;
}

span.delete-card a:hover {
    color: #ee4423;
    font-size: 175%;
    text-decoration: none;
}

span.delete-card {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 150%;
    font-weight: bold;
    z-index: 1000;
}

div.windowBox.select-card {
    width: 100%;
    height: 100%;
    top: 0 !important;
    left: 0 !important;
    border-radius: 0;
    border: none;
    overflow: auto;
}

#blackout-2 {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1001;
    width: 100%;
    height: 100%;
}

.black-and-white {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

div#existing-cards {
    width: 273mm;
    margin: 0 auto;
}

.card.new-card {
    background: #aaa;
    border-color: #777;
}

.new-card .lines-down:before, .new-card .lines-down:after, .new-card .lines-up:before, .new-card .lines-up:after {
    border-color: #888;
    box-shadow: 1px 1px 100px #999;
    background: #666;
    background: radial-gradient(ellipse at center, rgba(45, 45, 45, 0) 44%, #666 100%);
}

.card.card-selected.new-card {
    background: #333;
}

#card-payment-amount {
    width: 800px;
    height: 120px;
    /*background: #23189a;*/
    margin: 10px auto;
    border-radius: 10px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
    /*box-shadow: 1px 1px 1px rgba(0,0,0,.5),inset 1px 1px 1px 0px rgba(255,255,255,.3);*/
    padding: 10px;
    box-sizing: border-box;
    font-size: 150%;
}

div#card-payment-amount p {
    color: #666;
    text-transform: none;
    margin: 0;
    text-align: left;
    line-height: 32px;
    padding: 0;
}

div#card-payment-amount hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

.select-card div#udj-content {
    padding-bottom: 140px;
}

#select-existing-card {
    display: none;
}

div#card-payment-amount-container {
    position: fixed;
    bottom: 0;
    left: 0;
    background: white;
    z-index: 1000;
    width: 100%;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, .5);
}

.card-pay-change-button {
    width: 150px;
    height: 60px;
    background: #aaa;
    text-align: center;
    line-height: 60px;
    color: white;
    font-weight: bold;
    font-size: 200%;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #000;
    position: fixed;
    bottom: 40px;
    z-index: 1000;
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 1px 1px 0px 1px rgba(0, 0, 0, .5);
}

.back-button {
    left: 20px;
}

.next-button {
    right: 20px;
}

div#new-card-fields, div#existing-card-fields {
    width: 60%;
    margin: 8px auto 0 auto;
    float: right;
}

div#new-card-fields button, div#existing-card-fields button {
    width: 49%;
    font-size: 125%;
    float: right;
    clear: none;
}

button#process-card {
    float: left !important;
}

#new-card-fields span.cost, div#existing-card-fields span.cost {
    float: none;
}

#new-card-fields p {
    margin-top: 0;
    text-transform: none;
    font-size: 125%;
}

a#cancel-card-payment {
    display: block;
    line-height: 1.2;
    width: 100px;
    text-align: center;
    margin: 20px;
    font-size: 2em;
    position: absolute;
    top: 0px;
    right: 150px;
}

div#card-payment-amount p.small-print {
    font-size: 65%;
    line-height: 20px;
    text-align: center;
}

label[for='accepted-max-price'] {
    width: auto;
    text-transform: none;
    background: transparent;
    color: black;
}

div.max-price-warning {
    width: 600px;
}

@media screen and (max-width: 768px) {
    div#existing-cards {
        width: 100%;
    }

    a#cancel-card-payment {
        display: none;
    }

    div#new-card-fields button, div#existing-card-fields button {
        float: none !important;
        width: 100%;
    }

    button#process-card {
        margin-bottom: 5px;
    }

    div#existing-card-fields, div#new-card-fields {
        width: 100%;
    }

    .slide-toggle.display-none {
        display: none;
    }

    span.delete-card {
        top: 10px;
        right: 10px;
        width: 15px;
        height: 15px;
        text-align: center;
    }

    span.delete-card a {
        font-size: 30px;
    }

    div#card-payment-amount {
        width: 100%;
        height: 150px;
    }

    .card.card-selected span.delete-card {
        display: none;
    }

    div#new-card-fields label, div#existing-card-fields label {
        float: none;
        width: 100%;
    }

    div#new-card-fields input, div#new-card-fields select, div#existing-card-fields input {
        width: 100%;
    }

    #new-card-fields p {
        margin-bottom: 0;
    }

    .card {
        margin: 8px auto;
        float: none;
        display: block;
    }

    .select-card div#udj-content {
        padding-bottom: 170px;
    }

    div#new-card-fields label.card-types-one {
        border-radius: 5px !important;
        margin-bottom: 10px !important;
    }

    span#hide-cpa {
        position: absolute;
        width: 100%;
        text-align: center;
        font-size: 200%;
        top: -9px;
    }

    span#hide-cpa span {
        display: block;
        width: 40px;
        margin: 0 auto;
        height: 20px;
        line-height: 15px;
        background: #aaa;
        border-radius: 5px;
        box-shadow: 0px -1px 1px 0px rgba(0, 0, 0, .9);
    }

    .card {
        max-width: 100%;
    }

    div#card-payment-amount p.small-print {
        font-size: 55%;
    }
}

/*End of mobile styles*/

@media screen and (max-width: 330px) {
    div#card-payment-amount p {
        font-size: 90%;
    }

    .data .pan {
        font-size: 20px;
    }

    div#card-payment-amount p.small-print {
        font-size: 55%;
    }
}

.card.card-display-none {
    display: none !important;
}

div#update-default-job .closeButton {
    display: none;
}

ul.tagit.ui-widget.ui-widget-content.ui-corner-all {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    width: 60%;
}

input.ui-widget-content.ui-autocomplete-input {
    width: 100%;
}

li.tagit-new {
    /*width: 100%;*/
}

content.ui-autocomplete-input {
    max-width: 200px;
}

form[name="settings"] ul.tagit.ui-widget.ui-widget-content.ui-corner-all {
    border-radius: 5px;
}

#address-form label.inline-label.tc-label {
    width: 90%;
    background: transparent;
    color: black;
    text-align: left;
}

@media screen and (max-width: 768px) {
    ul.tagit.ui-widget.ui-widget-content.ui-corner-all {
        width: 100%;
        margin-top: 0;
        border-radius: 0 0 5px 5px;
    }
}

div#cc-booking-fees {
    display: none;
}

p#cc-custom-text {
    font-weight: bold;
    text-align: center;
    font-size: 150%;
}

.card-types-display-none {
    display: none;
}

label.card-types-one {
    width: 100%;
    border-radius: 5px;
}

span.nb-asterisk {
    color: #DC241F;
}

div#card-payment-amount p.small-print {
    color: #DC241F;
}

div.card.expired-card {
    display: none;
}

.slider-hidden {
    display: none !important;
}

p.custom-slider-label {
    color: black;
    font-size: 130%;
    text-align: center;
}

#udj-content a.link-button {
    width: 100%;
    float: none;
    margin: 20px auto 0 auto;
    max-width: 1000px;
    box-sizing: border-box;
}

button.optimise-via {
    display: block;
    height: 40px;
    line-height: 40px;
    width: 50%;
    font-size: 150%;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    float: left;
    clear: none;
}

div#optimise-vias {
    width: 60%;
    float: right;
    margin-top: 0;
    height: 40px;
}

button.optimise-via:last-of-type {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#udj-content button:disabled {
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.grouped-delivery-switch-container {
    display: flex;
    clear: both;
    justify-content: center;
}

.grouped-delivery-switch-container input {
    width: 40px;
    height: 40px;
}

.grouped-delivery-switch-container label,
div#gd-return-to-store label {
    background: transparent !important;
    color: #2f2f2f !important;
    width: 30%;
}

div#grouped-delivery-drops-container {
    display: flex;
    flex-wrap: wrap;
}

div#grouped-delivery-drops-container button {
    margin: 0 0 0 10px;
    height: 40px;
    line-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 15px;
    flex-basis: 45%;
    overflow: hidden;
}

div#grouped-delivery-drops-container input {
    flex-basis: 10%;
}

div#grouped-delivery-drops-container label {
    flex-basis: 40%;
    min-width: 40%;
}

div#delivery-stop-addresses {
    min-width: 800px;
    max-width: 90%;
    padding-top: 20px;
    overflow: visible;
}

div#delivery-stop-addresses .windowBoxContent {
    overflow: visible;
}

div#gd-return-to-store {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
}

.hidden {
    display: none !important;
}

@media screen and (max-width: 768px) {
    div#new-card-fields input#save-card {
        float: right;
        width: 30px;
        margin-top: -45px;
        margin-right: 5px;
        height: 30px;
    }

    label[for="save-card"] {
        margin-bottom: 10px !important;
        border-bottom-left-radius: 5px !important;
        border-bottom-right-radius: 5px;
    }

    div#optimise-vias {
        width: 100%;
        margin-bottom: 10px;
    }

    button.optimise-via:last-of-type {
        border-top-right-radius: 0;
    }

    button.optimise-via:first-of-type {
        border-bottom-left-radius: 5px;
    }
}

div#lg-box {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    top: 0!important;
    left: 0!important;
}

#lg-box a.closeButton {
    display: block;
}

div#lg-box-content {
    width: 100%;
    height: 100%;
    max-height: 100%;
    padding-top: 50px;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

img.lg-img {
    display: block;
    align-self: center;
}

@media screen and (max-width: 768px){
    div#lg-box-content {
        flex-wrap: wrap;
        max-height: 10000px;
        overflow: scroll;
    }

    img.lg-img {
        max-width: 80%;
    }
}

div#repeat-bookings-edit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    align-items: center;
    justify-content: center;
}


div#repeat-bookings-edit-modal.open {
    display: flex;
}

div#repeat-bookings-modal {
    width: 95%;
    height: 95%;
    background: #fff;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 1px 1px 24px rgba(0,0,0,.5);
}


p.success strong.error{
    color: #ee5050;
}

.leaflet-top.leaflet-left {
    display: none;
}