/* --- color theme ------------------------------------------
   order is important (following the style cascade)
*/

#splash .backdrop {
    background-color: #F5F5F5; /* var: GREY_5 */
}

#main, #splash .message {
    background-color: #fff; /* var: BASE_BODY_TEXT_DARK */
}

h1 {
    color: #323232; /* var: GREY_1 */
}

p {
    color: #757575; /* var: GREY_2 */
}

input.button, a.button {
    cursor: pointer;
    box-shadow: inset 0 -1px 0 0 rgba(26, 26, 26, 0.2);
    background-image: linear-gradient(to bottom, #ffe902, #f9c100); /* var: CALL_TO_ACTION_PRIMARY */
    color: #000; /* var: WHITE */
}

.externalLinks a, .utilityLinks a {
    text-decoration: none;
    color: #209dfa; /* var: CALL_TO_ACTION_HYPERLINK_LIGHT */
}

input.button:hover, a.button:hover {
    background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)), linear-gradient(to bottom, #ffe902, #f9c100); /* var: CALL_TO_ACTION_PRIMARY_HOVER */
}

.formRow .dd-select, input, select {
    border: 2px solid #E9E9E9; /* var: GREY_4 */
    color: #1a1a1a; /* var: BASE_BODY_TEXT_LIGHT */
}

input:focus, select:focus {
    border-color: #209dfa; /* var: CALL_TO_ACTION_HYPERLINK_LIGHT */
}

input[disabled], select[disabled] {
    background-color: #f5f5f5; /* var: GREY_5 */
}

.formRow {
    color: #b3b3b3; /* var: GREY_3 */
}

.formRow .dd-options {
    border: 2px solid #E9E9E9; /* var: GREY_4 */
}

.validationFailure {
    color: #ff4B50; /* var: VALIDATION_ERROR */
}

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'), url('https://fonts.gstatic.com/s/lato/v13/UyBMtLsHKBKXelqf4x7VRQ.woff2') format('woff2');
    unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'), url('https://fonts.gstatic.com/s/lato/v13/1YwB1sO8YE1Lyjf12WNiUA.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: local('Lato Bold'), local('Lato-Bold'), url('https://fonts.gstatic.com/s/lato/v13/ObQr5XYcoH0WBoUxiaYK3_Y6323mHUZFJMgTvxaG2iE.woff2') format('woff2');
    unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: local('Lato Bold'), local('Lato-Bold'), url('https://fonts.gstatic.com/s/lato/v13/H2DMvhDLycM56KNuAtbJYA.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* latin-ext */
@font-face {
    font-family: 'Overpass';
    font-style: normal;
    font-weight: 400;
    src: local('Overpass Regular'), local('Overpass-Regular'), url('https://fonts.gstatic.com/s/overpass/v1/xf9_Q4u6c0bcCd8geHaSgxTbgVql8nDJpwnrE27mub0.woff2') format('woff2');
    unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Overpass';
    font-style: normal;
    font-weight: 400;
    src: local('Overpass Regular'), local('Overpass-Regular'), url('https://fonts.gstatic.com/s/overpass/v1/o3S9a2vetxRRO8sKA6PL0_esZW2xOQ-xsNqO47m55DA.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* latin-ext */
@font-face {
    font-family: 'Overpass';
    font-style: normal;
    font-weight: 700;
    src: local('Overpass Bold'), local('Overpass-Bold'), url('https://fonts.gstatic.com/s/overpass/v1/z_QV2-z5a6o4brQE8JEVyiYE0-AqJ3nfInTTiDXDjU4.woff2') format('woff2');
    unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Overpass';
    font-style: normal;
    font-weight: 700;
    src: local('Overpass Bold'), local('Overpass-Bold'), url('https://fonts.gstatic.com/s/overpass/v1/z_QV2-z5a6o4brQE8JEVyo4P5ICox8Kq3LLUNMylGO4.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* You can add global styles to this file, and also import other style files */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    font-family: 'Overpass', 'Open Sans', sans-serif;
    font-size: 15px;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0 auto;
}

body.lang_il {
    direction: rtl;
}

#main {
    margin: 0 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

img {
    border: 0;
}

table {
    border-collapse: collapse;
}

/** Deposit and Withdraw Home */
.externalLinks, .utilityLinks {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.tiles-depositPage-jsp h1, .tiles-withdrawPage-jsp h1 {
    display: none;
}

h1 {
    font-size: 1em;
    margin: 0 0 10px;
    text-align: center;
}

#minimumAmountLabel,
label {
    text-transform: uppercase;
    margin-bottom: 1em;
    display: block;
    font-size: 0.8em;
}

#amountRow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
}

#amountRow input {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

#amountRow .errorData {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

#minimumAmountLabel:before {
    content: "(";
}

#minimumAmountLabel:after {
    content: ")";
}

input.button,
a.button {
    display: block;
    border-radius: 5px;
    -moz-border-radius: 5px;
    text-decoration: none;
    text-align: center;
    text-transform: capitalize;
    font-size: 1.1em;
    font-family: Overpass, sans-serif;
    font-weight: 700;
    border: none;
    outline: none;
    -webkit-transition: background-color 200ms;
    -o-transition: background-color 200ms;
    transition: background-color 200ms;
}

.formRow .dd-select,
input,
select {
    display: inline-block;
    border-radius: 3px;
    padding: 13px;
    width: 100%;
    font-weight: 500;
    font-size: 1em;
}

input:focus, select:focus {
    outline: none;
}

.formRow .dd-select,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('./common/dropdown.png') right 11px top 11px / 24px no-repeat;
    padding-right: 40px !important;
}

.lang_il .formRow .dd-select,
.lang_il select {
    background-position: left 11px top 11px;
}

.formRow .dd-select.dd-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.formRow {
    margin-bottom: 1em;
    font-family: 'Lato', 'Open Sans', sans-serif;
}

.formRow:last-child {
    margin-bottom: 0;
}

.formRow .date {
    display: block;
}

.formRow .dd-option,
.formRow .dd-selected {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

.formRow .dd-option {
    padding: 12px;
}

.formRow .dd-option.dd-option-selected,
.formRow .dd-select {
    padding-top: 9px;
    padding-bottom: 9px;
}

.formRow .dd-option-text,
.formRow .dd-selected-text {
    margin-bottom: 0;
    font-size: 1em;
    cursor: pointer;
    line-height: normal !important;
    white-space: nowrap;
}

.formRow .dd-pointer {
    display: none !important;
}

.formRow .dd-options {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-top: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    left: 0;
    right: 0;
}

/** CSC only for deposits */
.action_withdraw #cscRow {
    display: none;
}

#csc,
.formRow .date select {
    width: 109px;
    margin-right: 15px;
}

.formRow .date select:last-child {
    margin-right: 0;
}

#submitRow .button {
    display: block;
}

/** do not change the errorData, validationFailure names - this is called by JS */
.validationFailure {
    -webkit-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

.errorData {
    padding-top: 1em;
    font-size: 0.9em;
}

#cscRow {
    position: relative;
}

#cscImage {
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    /* todo no CVC image */
    /* background: url('./img/ccCsc.png') center/contain no-repeat; */
}

.lang_il #cscImage {
    right: auto;
    left: 0;
}

.ccAmericanExpress #cscImage {
    background-image: url('./my-account/payment-icons/american_express.png');
}

#splash {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.loading #splash {
    display: block;
}

#splash .message {
    height: 120px;
    width: 180px;
    text-align: center;
    font-weight: bold;
    top: calc(50% - 60px);
    left: calc(50% - 90px);
    position: absolute;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    padding: 32px;
    border-radius: 13px;
    -webkit-box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

#splash .message::after {
    content: '';
    display: block;
    image-rendering: -webkit-optimize-contrast;
    background: url('./common/spinner.png') center / contain no-repeat;
    position: absolute;
    left: calc(50% - 12px);
    bottom: 32px;
    height: 28px;
    width: 28px;
    -webkit-animation: spin 1.1s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
    animation: spin 1.1s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

#splash .backdrop {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.8;
}

img.logo {
    width: 44px;
    height: 27px;
    display: block;
    margin: 0 auto 15px;
    float: none !important;
}

body:not(.Neteller) img.logo {
    display: none;
}

.lang_il img.logo {
    right: auto;
    left: 5px;
    top: 5px;
}

table.paysolLimits td, table.paysolLimits th {
    padding: 2px;
}

table.paysolLimits .col4 {
    display: none;
}

.Envoy table.paysolLimits .col4 {
    display: table-cell;
}

#sortCodeRow input {
    width: 61px;
}

/** pending withdrawals stuff */
/* todo unknown icons? the pending section is not in the viewable html file so i cannot test in this branch */

div.pendingWithdrawals {
    min-height: 34px;
    margin-bottom: 10px;

    background: #ebebec url('./img/pending/icon.png') 14px 10px no-repeat;
    font-size: larger;
    color: #414042;
    padding: 19px 100px 0;
}

.lang_il div.pendingWithdrawals {
    background: url('./img/pending/icon_right.png') right 10px;
    text-align: right;
}

div.pendingWithdrawals .button {
    height: 30px;
    line-height: 30px;
    margin: 8px;
    position: absolute;
    left: auto;
    right: 12px;
    top: 13px;
}

.lang_il div.pendingWithdrawals .button {
    right: auto;
    left: 12px;
}

.pendingWithdrawals .col1 {
    width: 97px;
    padding: 0
}

.pendingWithdrawals tbody .col1 {
    background-image: url('./img/paysol_table_row_01.png');
}

.pendingWithdrawals .col5 {
    display: table-cell;
}

.pendingWithdrawals tr.cancelled {
    background-image: url('./img/table/tr_cancelled.png');
}

.pendingWithdrawals tr.cancelled td {
    color: red;
    text-decoration: line-through;
}

.pendingWithdrawals tr.cancelled .col5 {
    color: black;
    text-decoration: none;
}

.tiles-pendingWithdrawals-jsp .message {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
}

.tiles-pendingWithdrawals-jsp .message.error {
    border: 1px solid red;
    color: red;
}

.tiles-pendingWithdrawals-jsp #navigation {
    display: none;
}

#ezpayBankDetailsRow {
    display: none;
}

#ezpayBankDetailsRow .subRow {
    display: block;
}

#ezpayBankDetailsRow .subRow > * {
    display: inline-block;
}

#errors div {
    display: none;
    padding: 10px;
    min-height: 16px;
    background-color: #a30000;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.accountIdentifierRadio {
    padding: 5px;
    position: absolute;
    top: 120px;
    right: 20px;
    text-transform: uppercase;
}

.lang_il .accountIdentifierRadio {
    left: 20px;
    right: auto;
}

.accountRadio {
    width: auto;
    height: auto;
}

.voucherOfferSection {
    font-size: 12px;
}

.voucherOfferSection #amount {
    width: 154px;
    height: 30px;
    text-align: right;
    font-size: 20px;
    color: black;
}

.voucherOfferSection h2 {
    color: red;
    font-size: 12px;
    font-weight: bold;
}

.voucherOfferSection .subheading {
    padding: 10px 0;
}

.voucherOfferSection .row {
    overflow: hidden;
    margin: 15px 0;
}

.voucherOfferSection .row .left {
    float: left;
    width: 20%;
    line-height: 30px;
}

.voucherOfferSection .row .right {
    float: left;
    width: 70%;
}

.voucherOfferSection .bold {
    font-weight: bold;
    font-size: 1.8em;
}

.voucherOfferSection .ukashLogoImg {
    width: 100px;
    height: 50px;
}

.voucherOfferSection .voucherOfferContent {
    margin-left: 20px;
}

.voucherOfferSection .outerLink {
    text-decoration: none;
    color: #769496;
}

.voucherOfferSection #submitRow .button.action {
    margin-left: 0;
}

.voucherOfferSection .extraInfo {
    font-size: 10px;
    margin-top: 5px;
}

.voucherOfferSection #otherMethods {
    margin-top: 50px;
}

.voucherOfferSection .errorData span {
    position: absolute;
    top: 148px;
    left: 0;
    width: 156px;
}

.pendingVoucher {
    font-weight: bold;
    font-size: 14px;
    padding-right: 0;
}

.tiles-voucherOffer-jsp #navigation {
    display: none;
}

#pingitInfoContainerDeposit {
    position: relative;
    height: 280px;
}

#pingitImageContainerDeposit {
    position: absolute;
    top: 0;
    left: 0;
    width: 205px;
    height: 205px;
    /* todo no pingit icon */
    background-image: url('./img/pingitLogoLarge.jpg');
}

#pingitTextBodyContainerDeposit {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
}

#pingitSupportLinkDeposit {
    position: absolute;
    bottom: 0;
    left: 0;
}

#pingitSupportLinkDeposit p {
    font-size: medium;
}

#pingitQRContainerDeposit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 205px;
    height: 205px;
    /* todo no qi code */
    background-image: url('./img/qrcode_20012014.png');
}

#pingitInfoContainerHelp {
    position: relative;
    height: 520px;
}

#pingitLogoHelp {
    position: absolute;
    top: 0;
    left: 0;
    width: 205px;
    height: 205px;
    /* todo no pingit icon */
    background-image: url('./img/pingitLogoLarge.jpg');
}

#pingitSummaryContainerHelp {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
}

#pingitContentHelp {
    position: absolute;
    bottom: 0;
    left: 0;
}

input.ccSplit.hidden {
    display: none;
}

.input-group-cc input[class*=cc-group-] {
    width: 46px;
    text-align: center;
}

/* todo the confirmation is currently not available in the html */

.confirmation-dialog-container .dialog {
    left: 110px;
    position: relative;
    padding: 9px 0 0 10px;
    width: 225px;
    height: 130px;
    border: none;
    background-color: #C5DBE6;
    color: #5C88A1;
}

.confirmation-dialog-container .message {
    font-size: 13px;
}

.confirmation-dialog-container .prompt {
    font-size: 13px;
}

.confirmation-dialog-container .buttons-container {
    padding: 10px 0 0 14%;
}

.confirmation-dialog-container .message .amount {
    font-weight: bold;
}

.confirmation-dialog-container .title {
    font-size: 1.2em;
    font-weight: bold;
}

.confirmation-dialog-container hr {
    background-color: #5C88A1;
    height: 1px;
    border: 0;
    margin: 1em 7px 7px 0;
    padding-left: 49px;;
}

.confirmation-dialog-container .button {
    width: 80px;
    height: 35px;
    background-color: #F3F4F3;
    color: #959696;
    font-weight: bold;
    font-size: 1.4em;
}

#cardNumber.auto-discovery {
    padding-left: 64px;
    background-repeat: no-repeat;
    background-position: 10px 50%;
    background-image: url("./my-account/payment-icons/placeholder.png");
}

#cardNumber.auto-discovery.entropay {
    background-image: url("./my-account/payment-icons/entropay.png");
}

#cardNumber.auto-discovery.visa {
    background-image: url("./my-account/payment-icons/visa_debit.png");
}

#cardNumber.auto-discovery.maestro {
    background-image: url("./my-account/payment-icons/maestro.png");
}

#cardNumber.auto-discovery.mastercard {
    background-image: url("./my-account/payment-icons/mastercard_credit.png");
}

#cardNumber.auto-discovery.amex {
    background-image: url("./my-account/payment-icons/american_express.png");
}

#cardNumber.auto-discovery.jcb {
    background-image: url("./my-account/payment-icons/jcb.png");
}

#cardNumber-dd-placeholder .dd-selected-text {
    word-spacing: -2px;
    -webkit-flex: 1;
    flex: 1;
    text-align: center;
}