:root {
    --charcoal: #121113;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Hind', sans-serif;
    font-weight: 300;
    color: #727272;
}
h4 {
    font-weight: 400;
    font-size: 18px;
    color: #0d1d32;
}
h5 {
    font-weight: 400;
    font-size: 16px;
    color: #0d1d32;
}
label {
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 5px;
    color: #0d1d32;
}
.label-right {
    float:right;
    color: #b7b7b7;
    font-size: 14px;
}

.hidden {
    visibility: hidden;
}

/* Input text */
input[type=text],
input[type=number],
input[type=date],
input[type=email] {
    font-size: 14px;
    box-sizing: border-box;
    padding: 10px;
    border: 2px solid rgba(255,255,255,0);
}
input[type=email]::-webkit-input-placeholder,
input[type=number]::-webkit-input-placeholder,
input[type=date]::-webkit-input-placeholder,
input[type=text]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #b7b7b7;
}
input[type=email]:focus,
input[type=number]:focus,
input[type=date]:focus,
input[type=text]:focus {
    border: 2px solid #0086ff;
}
input[type=email]:disabled,
input[type=number]:disabled,
input[type=date]:disabled,
input[type=text]:disabled {
    background-color: #dddddd;
}
.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.inputfile:focus + label {
	outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;
}
/* Generic chumba containers */
.flex-center {
    display: flex;
    justify-content: center;
}
.flex-right {
    display: flex;
    justify-content: flex-end;
}
.form-container {
    background-color: #f5f5f5;
    max-width: 760px;
    margin: 0px auto;
    padding: 15px 20px;
}

.btn-150w {
    width: 150px;
}

.btn:hover { -webkit-filter: brightness(110%); }
.btn:active { -webkit-filter: brightness(90%); }
.btn:disabled {
    background: #999;
    color: #FFF;
    border-color: #999;
}
.btn-green-border {
    color: #4ac900;
    border-color: #4ac900;
    border: 2px solid #4ac900;
    background-color: transparent !important;
}
.btn-green-border:hover,
.btn-green-border:focus,
.btn-green-border:active {
    color: #4ac900;
    background-color: transparent !important;
}
/* Gray border button */
.btn-gray-border {
    color: #727272;
    border-color: #727272;
    border: 2px solid #727272;
    background-color: transparent !important;
}
.btn-gray-border:hover,
.btn-gray-border:focus,
.btn-gray-border:active {
    color: #727272;
    background-color: transparent !important;
}
.btn-blue-grad {
    color: #fff;
    background-color: #4599f7;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#4599f7),to(#1a40f8));
    background-image: -webkit-linear-gradient(top,#4599f7,#1a40f8);
    background-image: -moz-linear-gradient(top,#4599f7,#1a40f8);
    background-image: -ms-linear-gradient(top,#4599f7,#1a40f8);
    background-image: -o-linear-gradient(top,#4599f7,#1a40f8);
    background-image: linear-gradient(to bottom,#4599f7,#1a40f8);
    border: 2px solid #0f32ab;
}
.btn-gray-grad, .btn-file {
    color: #fff;
    background-color: #6d8c90;
    background-image: -moz-linear-gradient(top, #6d8c90 0%, #485c5f 100%);
    background-image: -webkit-linear-gradient(top, #6d8c90 0%,#485c5f 100%);
    background-image: linear-gradient(to bottom, #6d8c90 0%,#485c5f 100%);
}

.btn-updated-blue {
    display: inline-flex;
    justify-content: center;
    color: #fff;
    background-color: #007AFF;
    border-radius: 6px;
    font-weight: 700;
    font-size: 20px;
    height: 40px;
    align-items: center;
}

/* Matching the rule from Bootstrap to prevent
   this class from being overridden
*/
.btn-updated-blue:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #007AFF;
}
.btn-updated-blue:hover {
    color: #fff;
    background-color: #0061CA;
}

.file-container {
    position: relative;
    height: 70px;
}
.btn-file {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 167px;
    z-index: 2;
    position: absolute;
    left: 0;
}
.btn-file-label {
    background-color: white;
    width: 100%;
    padding: 10px 10px 7px 175px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    right: 0;
    z-index: 1;
    overflow: scroll;
    position: absolute;
    color: #b7b7b7;
}
.btn-file-label-upload-icon {
    background-image: url("./images/page/upload_icon.png");
    background-size: cover;
    width: 17px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
}
.form-check-input {
    margin-top: .1rem;
}
.btn-action-left {
    margin: 0 10px 0 0;
}
@media (max-width: 600px) {
    .btn-action {
        width: 100%;
        margin-bottom: 15px !important;
    }
    .btn-action-left {
        margin: 0;
    }
}

#app {
    display: flex;
    flex-direction: column;

    min-height: 100vh;
}

/* HEADER */
.header {
    position: relative;
    display: flex;
    background-color: var(--charcoal);
    justify-content: center;
}

.header .content {
    width: 100%;
}

.header .inside {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.header .logo {
    margin-left: calc(50vw - 100px);
    transform: translate(-50%, 0);
    cursor: pointer;
    background-color: #121113;
    outline: none;
    border: none;
}

.header .logo img {
    height: 86px;
    padding: 14px 0 16px;
}

.header .logo-no-btn-back {
    margin-left: 50vw;
}

.header .btn-back {
    display: flex;
    margin-left: 52px;
    align-items: center;
    cursor: pointer;
}

/* Mobile Breakpoint */
@media (max-width: 992px) {
    .header .logo {
        margin-left: calc(50vw - 70px);
    }

    .header .logo img {
        height: 68px;
        padding: 10px 0 14px;
    }

    .header .logo-no-btn-back {
        margin-left: 50vw;
    }

    .header .btn-back {
        margin-left: 26px;
        height: 20px;
    }
}

/* Back Button */
.btn-back {
    border: none;
    background-color: var(--charcoal);
}
.btn-back:focus {
    outline: none;
}

.btn-back img {
     padding: 11px 14px;
}

/* FOOTER */
footer {
    background-color: black;
    color: white;
    padding: 50px 0 100px 0;
}
footer h4 {
    font-size: 24px;
    font-weight: 700;
}
footer a {
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
}
footer a:link,
footer a:active,
footer a:visited {
    color: white;
}
footer a:hover {
    color: #ffc600;
}

/* CHU-FRONTEND-SHARED FOOTER */
.footer-container {
    width: 100%;
    z-index: 200;
    background-color: var(--charcoal);
    padding-top: 50px;
    flex: 1;
}

.footer {
    position: relative;
    margin: 0 auto;
    width: 815px;
    font-family: "GillSans", "MyriadProSemiBold", "Arial", sans-serif;
    font-size: 12px;
    color: #C3C3C3;
    text-align: justify;
    font-weight: lighter;
}

@media (max-width: 950px) {
    .footer {
        width: 100%;
        padding: 10px;
    }
    .responsible-gaming-wide {
        display: block;
    }
    .mg-footer-item.footer-item-text {
        padding-bottom: 0px;
    }
}

.responsible-gaming-link-wide {
    display: none;
    font-size: 16px;
}

.responsible-gaming-link {
    display: block;
}

@media (max-width: 31em) {
    .responsible-gaming-link-wide {
        display: block;
        text-align: center;
    }
    .responsible-gaming-link {
        display: none;
    }
}

.footer a:link,
.footer a:visited,
.footer a:hover,
.footer a:active {
    color: #C3C3C3;
}

.footer ul {
    list-style-type: none;
    font-weight: bold;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.footer ul li {
    display: flex;
    margin: 0;
}

.footer ul li a {
    font-weight: normal;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
    padding: 0 20px;
}

.malta-gaming-warning {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.mg-footer-item {
    padding: 0px 10px 10px 10px;
    max-width: 80px;
}

.mg-footer-item.footer-item-text {
    max-width: none;
    text-align: left;
}

.mg-footer-item img {
    width: 100%;
}

.copyright-text {
    text-align: justify;
    padding-top: 10px;
    color: #555;
}

.legal-window-wrap ol {
    counter-reset: item;
    padding-top: 10px;
    padding-left: 10px;
}

.legal-window-wrap ol li {
    display: block;
    padding-bottom: 10px;
}

.legal-window-wrap ol li:before {
    content: counters(item, ".") ". ";
    counter-increment: item;
}

.legal-window-wrap ol[type='a'] li:before {
    content: "(" counter(item, lower-alpha) ") ";
}

.legal-window-wrap ul[type='circle'] li:before {
    content: counter(item, circle) " ";
}

.legal-window-wrap ul {
    counter-reset: item;
}

.legal-window-wrap ol.privacy {
    counter-reset: item 5;
}

.legal-window-wrap ol[style*='list-style-type: decimal;'] > li::before {
    content: counters(item, ".") ". ";
    counter-increment: item;
}
.legal-window-wrap ol[style*='list-style-type: lower-alpha;'] > li::before {
    content: counter(item, lower-alpha) ".) ";
}
.legal-window-wrap ol[style*='list-style-type: lower-greek;'] > li::before {
    content: counter(item, lower-greek) ".) ";
}
.legal-window-wrap ol[style*='list-style-type: lower-roman;'] > li::before {
    content: counter(item, lower-roman) ".) ";
}
.legal-window-wrap ol[style*='list-style-type: upper-alpha;'] > li::before {
    content: counter(item, upper-alpha) ".) ";
}
.legal-window-wrap ol[style*='list-style-type: upper-roman;'] > li::before {
    content: counter(item, upper-roman) ".) ";
}
.legal-window-wrap ul[style*='list-style-type: square;'] > li::before {
    content: counter(item, square) " ";
}
.legal-window-wrap ul[style*='list-style-type: disc;'] > li::before {
    content: counter(item, disc) " ";
}
.legal-window-wrap ul[style*='list-style-type: circle;'] > li::before {
    content: counter(item, circle) " ";
}

/* PAGE */
.page {
    background-color: #3a393c;
}

.header-light {
    color: #0086ff;
    font-weight: 500;
    font-size: 40px;
}
.page .page-header {
    margin: 30px 0;
}
.page .button-separation {
    margin: 20px 0 20px 0;
}

.page .section-title {
    margin: 50px 0 20px 0;
    color: #0d1d32;
}

.wallet .section-title {
    margin-top:0px;
}
.page .section-title .title, .page .section-title .title-blue {
    font-family: "Hind", sans-serif;
    font-size: 18px;
    font-weight: 600;
}
.page .section-title .title-blue {
    color: #0086ff;
}
.page .section-title .sep {
    border-bottom: 1px solid #cccccc;
    margin-top: 5px;
}
.page .form-error {
    border: 1px solid #ff2626;
    border-radius: 5px;
    background-color: #fedfdf;
    color: #ff2626;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    position: relative;
}
.page .form-error .the-x {
    background-image: url("images/page/error-x.png");
    background-size: cover;
    width: 18px;
    height: 18px;
    position: absolute;
    cursor: pointer;
    right: 12px;
    top: 12px;
}
.page .form-warning {
    border: 1px solid #b7b7b7;
    border-radius: 5px;
    color: #0d1d32;
    padding: 10px;
    display: flex;
    text-align: left;
    /* justify-content: flex-start; */
}
.input-error {
    /* border: 2px solid #ff2626; */
    border-radius: 5px;
    background-color: #fedfdf;
    color: #ff2626;
}
.input-error::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: white;
}

/* First Time Page */
.worldpay-logo {
    display: block;
    margin: 25px auto;
    background-image: url("images/worldpay_logo.png");
    width:177px;
    height:34px;
}

.btn-lobby, .btn-pay-d, .btn-pay-m {
    font-family: "Hind", sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    padding:5px 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border:0;
    cursor: pointer;
}

.credit-card-container {
    display: table;
    vertical-align: middle;
    position: relative;
    margin: 10px auto 0 auto;
    padding: 10px 0;
    background: #fff;
    border: 1px solid #f5f5f5;
    height: 80px;
    width: 100%;
    border-radius: 5px;
}

.card-enabled .credit-card-container {
    /*border: 1px solid #0086ff;*/
}

.card-details {
    display: table-cell;
    width: 100%;
    opacity: 0.4;
}

.card-enabled .card-details {
    opacity: 1.0;
}

.card-brand {
    display: inline-block;
    text-align: center;
    width: 20%;
    line-height: 60px;
    vertical-align: middle;
    padding: 5px;
    border-right: 1px solid #e4e4e4;
}

.card-pan {
    display: inline-block;
    line-height: 60px;
    vertical-align: middle;
    margin-left: 20px;
    text-align: left;
    font-size: 16px;
    width: 30%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* **** NEW CREDIT CARD STYLES ****
    Rewritten to use modern css
 */

.cc-container {
    padding: 19px 15px;
    background: #fff;
    border-radius: 5px;
    margin: 10px auto .5rem;
}

.cc-brand {
    border-right: 1px solid #e4e4e4;
    height: 40px;
    padding-top: 4px;
}

.cc-pan {
    line-height: 40px;
}

.btn-delete {
    position: absolute;
    right: 21px;
    top: 10px;
    cursor: pointer;
    width: 10px;
    height: 10px;
    z-index: 10 ;
}

.btn-pay-m, .btn-pay-d {
    font-family: "Hind", sans-serif;
    color: #fff;
}
.btn.btn-pay-m {
    width:100%;
}

.btn.btn-pay-d {
    width:auto;
}
.btn-pay-m {
    display: none;
    width: 100%;
    margin: 0;
    border: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.btn-pay-d {
    display: inline-block;
    margin: 0 10px 0 80px;
}
.text-heading-2 {
    font-weight: bold;
}
.text-heading-3 {
    font-weight: bold;
}

.card-enabled .btn-pay-m {
    display: none;
}

.payment-link-container {
    margin: 28px 0 28px 29.7em;
}

.payment-link {
    font-family: "Hind", sans-serif;
    margin-bottom: 20px;
    font-size: 18px;
    color: #0086ff;
    cursor: pointer;
    display: block;
}

.payment-link:hover {
    text-decoration: underline;
}

.btn-cancel {
    display: inline;
    margin-right: 20px;
    width: 150px;
}

.btn-proceed {
    display: inline;
    margin-left:20px;
    width: 150px;
}

input[type=button]:focus {
    outline: none;
}
strong {
    font-weight: bold;
}
@media (max-width: 767px) {
    .page {
        font-size: 16px;
        width:100%;
    }

    .form-container {
        width:100%;
        padding: 10px;
    }

    .header-light {
        font-size: 32px;
    }

    .section-title, .title {
        font-size: 16px;
    }

    .btn-pay-d {
        display: none;
    }

    .card-enabled .btn-pay-m {
        display: block;
    }

    .card-brand {
        width: 25%;
    }

    .card-pan {
        width: 176px;
    }

    .payment-link-container {
        margin: 0 auto;
    }

    .payment-link {
        display: block;
        font-size: 16px;
        margin: 35px auto;
        padding-left: 0px;
    }

    .btn-cancel {
        display: none;
    }

    .btn-proceed {
        display: block;
        width: 100%;
        padding: 5px 10px;
        margin: 0;
    }

    .btn-delete {
        margin: 0 15px;
    }

    .btn-lobby {
        width: 100% !important;
        padding: 10px 15px;
    }

    .cc-container, .credit-card-container {
        margin-bottom: 0;
        border-radius: 5px 5px 0 0;
    }
    .cc-btn {
        border-radius: 0 0 5px 5px;
        border: none;
    }
    .cc-container .cc-btn {
        border-radius: 5px;
    }
}

/* used for payment loader spinner */
#paymentLoader .modal-content {
    background-color: transparent;
}

.btn-red-grad {
    color: #fff;
    background-color: #dc3545;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#dc3545),to(#cc071b));
    background-image: -webkit-linear-gradient(top,#dc3545,#cc071b);
    background-image: -moz-linear-gradient(top,#dc3545,#cc071b);
    background-image: -ms-linear-gradient(top,#dc3545,#cc071b);
    background-image: -o-linear-gradient(top,#dc3545,#cc071b);
    background-image: linear-gradient(to bottom,#dc3545,#cc071b);
    border: 2px solid #cc071b;

}

.btn.btn-lobby {
    width: auto
}

.package-info {
    background: #fff;
    margin-top: 1em;
    padding: 1em;
    font-size: 18px;
    border-radius:  5px;
}

.package-info h4 {
  font-weight: 600;
}

.package-info-row {
  display: flex;
  justify-content:flex-start
}

.package-info-label {
  width: 108px;
  flex : none;
}

.package-info-field {
  font-weight: 600;
  color: #000;
}

.skrill-id-email {
    background: #f7f7f7;
    width: 100%;
    border-radius: 3px;
    box-shadow: -1px -1px rgba(0,0,0,0.1);
}

.skrill-id-toggle {
    cursor: pointer;
    margin-bottom: 10px;
}

/* **** MODAL **** */

.modal-dialog {
    margin: 0.5rem auto;
}
.modal-content {
    border: none !important;
}
.modal-body-responsive {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}
@media (max-width: 992px) {
    .modal-full-screen {
        min-width: 100%;
        margin: 0;
    }
    .modal-full-screen .modal-content {
        min-height: 100vh;
    }
    .modal-footer {
        padding-top: 22px;
    }
    .modal-content {
        border-radius: 0 !important;
    }
}

span.css-19bon8n {
    margin-top: 1px;
    margin-bottom: 1px;
}

/* **** SDD FORM STYLING **** */

.form-fields {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-fields .form-control {
    border-radius: 6px;
}
.sdd-container-text {
    display: flex;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    color: var(--charcoal);
    margin-bottom: 25px;
    padding: 20px;
}

.sdd-submit-message {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    color: #808080;
}

.sdd-dob hr {
    margin-top: 0;
}

.sdd-datepicker-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 3px;
    background: white;
    margin: 2px;
}

.sdd-datepicker-container .sdd-datepicker-icon {
    position: absolute;
    left: 10px;
    z-index: 1;
}

.sdd-datepicker-container .datepicker-customise {
    height: 42px;
    width : 100%;
    padding-left: 32px;
    border-radius: 0.25rem;
    transition:
            border-color .15s ease-in-out,
            box-shadow .15s ease-in-out;
}

.sdd-datepicker-container .datepicker-customise:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25)
}

.sdd-datepicker-container .react-datepicker-popper {
    animation: .15s fade-in ease-in-out;
}
@keyframes fade-in {
    from    { opacity: 0; }
    to      { opacity: 1; }
}

.sdd-zip .form-control {
    width: 9em;
}
@media (min-width: 992px) { /* Width breakpoint coupled to _grid-framework.scss */
    .sdd-zip .form-control {
        width: 100%;
    }
}

.sdd-country-container {
    padding: 10px !important;
    height: 44px;
    border: none !important;
 }

.sdd-country-container .text,
.sdd-country-container .dropdown.icon {
    line-height: 1.5;
}

.sdd-invalid-feedback {
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    font-size: 80%;
    color: #dc3545;
  }

.invalid-field-red-border {
    border-color: #dc3545 !important;
    border-width: 2px !important;
    border-style: solid !important;
}

.sdd-btn-submit {
    width: 200px;
}

@media (max-width: 992px) {
    .sdd-btn-submit {
        max-width: 330px;
        width: 100%;
    }
}
