/**
 * Mobile first layout. Desktop layout is at the end of this file.
 * Mobile Overrides
 */
* {
    box-sizing: border-box;
}

:root {
    font-size: 62.5%; /* 10px */
}

html body {
    overflow: unset;
    margin: 0;
    background: #fff;
    color: #000;
    font-size: 1.3rem;
}

button,
html body form input,
html body form select,
html body .withdrawalTable th textarea,
html body .withdrawalTable td textarea {
    height: auto;
    font-size: 1em;
    line-height: normal;
}

html body #depositForm div.float-left table th,
html body #depositForm label,
html body .withdrawalTable th,
html body .withdrawalTable td {
    padding-bottom: .5em;
    font-size: 1em;
}

html body #depositForm label {
    font-weight: normal;
}

html body #depositForm label.displayError {
    font-size: 1.2em;
}

html body .depositOptionTable th,
html body .depositOptionTable td {
    display: block;
    width: 100%;
    font-size: 1em;
    text-align: left;
}

html body .depositOptionTable td {
    padding-bottom: 1em;
}

html body #depositForm div.float-left table td {
    padding-bottom: .5em;
}

html body .withdrawalTable th textarea,
html body .withdrawalTable td textarea {
    display: block;
    width: 100%;
    font-family: inherit;
}

html body form input[type="checkbox"],
html body form input[type="radio"] {
    width: 1em;
    height: 1em;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.small {
    font-size: .8em;
}

.italic {
    font-style: italic;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
    display: inline-block;
    height: auto;
    padding: .35em .7em;
    border: none;
    border-radius: .3em;
    font-size: 1.8em;
    line-height: normal;
    cursor: pointer;
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-tertiary:disabled {
    cursor: not-allowed;
    background-color: #aaa !important;
    color: #fff !important;
}

.btn-primary {
    padding: .7em 1.5em;
    background-color: #090;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #beb;
    color: #020;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #222;
    font-size: 1.2em;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #444;
    color: #fff;
}

.btn-tertiary {
    background-color: #fc6700;
    color: #fff;
}

.btn-tertiary:hover,
.btn-tertiary:focus {
    background-color: #995300;
    color: #fff;
}

.wide-btn {
    display: block;
    width: 100%;
    margin: 1em 0;
    font-weight: bold;
    text-transform: uppercase;
}

.wide-img {
    width: 100%;
    height: auto;
}

.error,
.info,
.success,
.info-light {
    margin: 1em 0;
    padding: 1em 1.5em;
    border: .1rem solid currentColor;
}

.error {
    border-color: #c00;
    background-color: #fcc;
    color: #000;
    font-style: italic;
    text-align: center;
}

.info {
    border-color: #fed22f;
    background-color: #fff0a5;
    color: #000;
    font-style: italic;
}

.info-light {
    border-color: #009;
    background-color: #ccf;
    color: #003;
}

.success {
    border-color: #090;
    background-color: #cfc;
    color: #030;
}

.depositerror {
    display: none;
    margin-bottom: .1em;
    padding: .5em;
    border: .1rem solid currentColor;
    color: #000;
    font-weight: bold;
    text-align: center;
    word-break: break-all;
}

input.displayError,
select.displayError {
    display: inline !important;
    background: #f44;
    color: #fff;
}

.displayError {
    display: block;
    color: #c00;
    font-style: italic;
}

.bordered-table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.bordered-table th,
.bordered-table td {
    padding: .2em;
    border: .1rem solid #ccc;
    text-align: center;
    vertical-align: middle;
}

.bordered-table th {
    padding: .4em;
    background-color: #eee;
}

.data-table {
    display: flex;
    flex-flow: row wrap;
}

.data-table dt,
.data-table dd {
    width: 48%;
    margin: 0 .1em .5em;
}

.data-table dt {
    font-weight: bold;
    text-align: right;
    vertical-align: top;
}

.data-table .has-bubble {
    position: relative;
    margin-bottom: 1.5em;
    font-size: 2.5em;
}

.bubble {
    position: absolute;
    top: 120%;
    right: -5%;
    width: 200%;
    /*transform: translateX(-75%);*/
    padding: 1em;
    background-color: #0a3;
    color: #fff;
    /*font-size: 1.4em;*/
    font-size: .45em;
    font-weight: bold;
    text-transform: uppercase;
}

.bubble::before {
    content: "";
    position: absolute;
    top: -1.9em;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -1em;
    border: 1em solid;
    border-color: transparent transparent #0a3 transparent;
}

.flowback {
    font-size: .7em;
}

.full-fb,
.partial-fb {
    margin: .5rem 1rem !important;
}

.full-fb .btn-primary {
    padding: .3em 1em;
    font-weight: bold;
    text-transform: uppercase;
}

.partial-fb .text {
    width: 90%;
    padding: .2em .3em;
    font-size: 1.8em;
    vertical-align: middle;
}

.partial-fb .btn-tertiary {
    padding: .3em .5em;
    vertical-align: middle;
}

#wrap {
    width: 100%;
    padding: 0;
}

div#content {
    padding: 1rem 0;
}

#content .heading {
    margin: 0 0 1em 0;
    padding: .3em;
    border: .1rem solid #d1d1d1;
    border-radius: .3em;
    background: linear-gradient(to bottom, #fefefe, #efefef);
    color: #000;
    font-size: 1.3em;
    text-indent: .3em;
}

#content #deposit-vendors {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
    padding: 0 1em;
}

#deposit-vendors .deposit-vendor {
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin-bottom: 1em;
    padding: .5em;
    border: .1em solid #ccc;
    border-radius: .5em;
    background: #fff;
}

#deposit-vendors .deposit-vendor:hover,
#deposit-vendors .deposit-vendor:focus,
#deposit-vendors .deposit-vendor.active {
    box-shadow: inset 0 0 0 .4em #f60;
}

select#cardlist {
    width: 100%;
}

@supports (display: grid) {
    #content #deposit-vendors {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(80px, 27%));
        grid-gap: 1em 1em;
        place-items: center;
    }

    #deposit-vendors .deposit-vendor {
        margin-bottom: 0;
    }
}

#content #depositForm .deposit-vendor img {
    width: 100%;
    height: auto;
    border: none;
}

#content #vendor-details-box,
#content .vendor-details {
    padding: 0 1em;
    color: #000;
    font-size: 1.2em;
}

#deposit-options-wrapper {
    display: none;
    min-height: 10rem;
    margin-top: 1em;
    background: url('../images/icons/gifs/loading-bar.svg') no-repeat center 2.5em;
    background-size: auto 8em;
}

#deposit-options {
    background-color: #fff;
}

#bonuscancellation {
    width: 100% !important;
    margin: 0;
    padding: 0;
}

@media (min-width: 424px) {
    /**
     * Desktop overrides
     */
    body {
        font-size: 1.1rem;
    }

    .data-table {
        font-size: 1.2em;
    }

    .data-table dt,
    .data-table dd {
        width: 38%;
    }

    .data-table .has-bubble {
        margin-bottom: 2em;
        font-size: 3.2em;
    }

    .bubble {
        right: -50%;
    }

    .flowback {
        font-size: 1em;
    }

    .full-fb .btn-primary {
        white-space: nowrap;
    }

    .partial-fb .text {
        width: 29%;
    }

    #content {
        padding-top: 0;
    }

    @supports (display: grid) {
        #content #deposit-vendors {
            grid-template-columns: repeat(auto-fit, 80px);
        }
    }
}
