html {
    height: 100%;
    background-color: #262626;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-touch-callout: none;
}

body {
    margin: 0;
    width: 100%;
    font: 14px Roboto,Tahoma,Verdana;
}

div.header {
    height: 75px;
    margin-bottom: 50px;
    background-color: #263742;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 51%);
}

div.header div.logo {
    height: 75px;
    width: 150px;
    margin-left: 5px;
    background-size: contain;
}

form {
    display: block;
    margin: 20px auto;
    background-color: #3c3c3c;
    color: rgba(255, 255, 255, 0.541);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.623);
    width: calc(100% - 20px);
    max-width: 550px;
}

form table {
    margin: 0 auto;
    border-collapse: collapse;
}

form tbody {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

form table td {
    font: 14px Roboto,Tahoma,Verdana;
    padding: 6px 8px;
}

form table td.label {
    text-align: left;
    padding-right: 0
}

form table td.betslip-id {
    text-align: center;
    font-size: 15px;
    padding: 6px;
}

form table td.header {
    color: rgba(255, 255, 255, 0.842);
    background-color: #333333;
    border-left: 5px solid #E02A29;
    box-shadow:0px 1px 3px #0000006c;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    padding: 8px;
}

form table td {
    border-color: transparent;
}

p.info {
    font: 13px Roboto,Tahoma,Verdana;
    font-style: italic;
    text-align: center;
}

p.instr {
    font: 15px Roboto,Tahoma,Verdana;
    text-align: center;
    padding: 20px 0;
    margin: 0
}

div.error, div.thank-you {
    font: 16px Roboto,Tahoma,Verdana;
    display: block;
    max-width: 500px;
    width: 100%;
    margin: 50px auto;
    text-align: center;
    background-color: #3c3c3c;
    color: rgba(255, 255, 255, 0.541);
}

div.error p, div.thank-you p {
    padding: 8px;
}

a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

input[type="submit"] {
    height: 36px;
    width: 100%;
    background-color: #E02A29;
    color: white;
    border: unset;
    border-radius: 4px;
    cursor: pointer;
    border-top: 1px solid #ffffff46;
    border-bottom: 1px solid #0000004a;
}

input[type="submit"]:hover {
    box-shadow: 1px 1px 2px rgb(0 0 0 / 51%);
}

input[type="submit"]:disabled {
    background-color: #AD2120;
    opacity: 0.5;
}

.hide {
    display: none
}

tr {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-direction: row;
    width: calc(100% - 16px);
}

td.label {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    max-width: 120px;
}

td.input input {
    width: calc(100% - 8px);
}

td.input {
    position: relative;
    padding-left: 0px;
}

td {
    width: 100%;
}

td.input select {
    width: 100%;
    min-height: 24px;
    border: 1px solid #00000045;
    border-radius: 2px;
    background-color: #2c2c2c;
    color: white;
}

td.input select:focus {
    border: 1px solid #263742;
    border-radius: 2px;
    background-color: #2c2c2c;
    outline: none
}

select option {
    color: white;
}

td.input input[type="text"] {
    border: 1px solid #00000045;
    border-radius: 2px;
    background-color: #00000046;
    color:white;
}

td.input input[type="text"]:focus {
    border: 1px solid #263742;
    border-radius: 2px;
    background-color: #ffffff;
    color:black;
    outline: none
}

tr#postcode, tr#idCard, tr#docexpdate {
    /* width:calc(30% - 34px); */
    /* flex-direction:column; */
    width: calc(50% - 16px);
    min-width: 200px;
    max-width: calc(100% - 16px);
}

tr#postcode td, tr#idCard td {
    padding: 0px
}

tr#province {
    /* width:calc(40% - 12px); */
    /* flex-direction:column; */
    /* margin-right:18px; */
    width: calc(50% - 16px);
}

@media screen and (max-width: 540px) {
    tr#postcode, tr#idCard, tr#docexpdate, tr#province {
        width:calc(100% - 16px);
    }
    tr#postcode td.label, tr#idCard td.label, tr#province td.label, tr#docexpdate td.label {
        padding: 6px 8px;
        padding-right:0
    }
     tr#postcode td.input, tr#idCard td.input, tr#province td.input, tr#docexpdate td.input {
        padding: 6px 8px;
        padding-left:0
     }
     form td.input input {
         width:calc(100% - 8px)!important;
     }
}

tr#postcode .input {
    padding: unset;
    min-width: 40px;
}

tr#docexpdate input {
    /* width: 60%; */
    width: 100%;
}

tr#province .input {
    min-width: 80px;
    padding: unset;
}

tr#province .input select {
    min-height: 28px;
}

input {
    border: unset;
    min-height: 24px;
}

tr:last-child .header {
    background-color: unset;
    border: unset;
    box-shadow: unset;
}

div.error, div.thank-you {
    border-radius: 4px;
}

div.error p, div.thank-you p {
    margin: 0
}

div.kyc-statement h4 {
    text-align: center;
    color: white;
}

div.kyc-statement {
    color: white;
    font: 16px Roboto,Tahoma,Verdana;
    font-weight: bold;
    text-align: center;
    
    max-width: 700px;
    width: calc(100% - 30px);
    margin: 0 auto;
    letter-spacing: 0.03em;
    padding: 15px;
}

#kyc-info-popup.hide {
    display: none
}

#kyc-info-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    color: black;
    font: 14px Roboto,Tahoma,Verdana;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000a3;
    z-index: 3
}

.kyc-info {
    max-width: 760px;
    width: 100%;
    background-color: #e6e7e9;
    padding: 20px;
    border-radius: 5px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    text-align: justify;
}

button.more-info, button.close {
    /*position:fixed;*/
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    outline: none;
}

button.more-info {
    font-family: "Courier, Verdana, sans-serif";
    color: transparent;
    background-image: url(../information.svg);
    background-size: 24px;
    background-position: center;
    border: unset;
}

button.close {
    color: transparent;
    background-image: url(../form_close.svg);
    background-size: 24px;
    background-position: center;
    border: unset;
}

.kyc-statement p a {
    color: #FFB81C;
}

.kyc-header {
    text-align: right;
}

.input-valid::before {
    content: "\2713";
    position: absolute;
    width: 18px;
    height: 18px;
    bottom: 0;
    right: 0;
    font-size: 1em;
    z-index: 1;
    background-color: green;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.input-invalid::before {
    content: "\2715";
    position: absolute;
    width: 18px;
    height: 18px;
    bottom: 0;
    right: 0;
    font-size: 13px;
    line-height: 1;
    background-color: red;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.lang-switcher-container {
    display: flex;
    flex-direction: row;
    margin: 5px;
    width: auto
}

.lang-switcher-container a {
    display: flex;
    width: 25px;
    padding: 0px 5px;
}

.lang-switcher-container a.active {
    background-color: #e6e7e9;
}

.lang-switcher-container a:first-child {
    border-left: 1px solid #b7c3cd;
    border-top: 1px solid #b7c3cd;
    border-bottom: 1px solid #b7c3cd;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.lang-switcher-container a:last-child {
    border: 1px solid #b7c3cd;
    border-top: 1px solid #b7c3cd;
    border-bottom: 1px solid #b7c3cd;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.lang-switcher-container img {
    max-width: 100%;
    height: auto;
}

.hint-button {
    position: relative;
    cursor: pointer;
    min-width: 20px;
    height: 20px;
    margin-right: 5px;
    border-radius: 50%;
    border: none;
    background-image: url(../information.svg);
    background-size: 28px;
    background-position: center;
}

.hint {
    display: none;
}

.hint.show {
    display: flex;
    position: absolute;
    flex-direction: column;
    bottom: 15px;
    left: 15px;
    z-index: 1;
    background-color: white;
    padding: 5px;
    box-shadow: 1px 1px 2px rgba(0,0,0, 0.4);
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.hint label {
    white-space: nowrap;
    font-size: 13px;
}

.hint ul {
    margin: 0;
    padding-left: 20px;
}

.hint ul li {
    text-align: left;
    font-size: 12px;
}

.hint .close-button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background-color: white;;
    background-image: url(../form_close.svg);
    background-size: 20px;
    background-position: center;
    position: absolute;
    right: -10px;
    top: -10px;
}

.no-scrollbar {
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: #e6e7e9;
}

.kyc-info::-webkit-scrollbar-thumb {
    background: rgba(0,0,0, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: white;
}

table .subheader {
    text-align: left;
    font-size: 13px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.842);
    background-color: #333333;
    border-left: 5px solid #AD2120;
}

::placeholder {
    text-indent: 2px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #efefef;
    border: none;
    border-radius: 3px;
    padding-left: 5px;
    font-size: 1em;
}

.select-container {
    position: relative;
    display: inline;
}

.select-container:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    pointer-events: none;
}

.select-container:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: .3em;
    right: .75em;
    border-top: 8px solid white;
    opacity: 0.5;
}

select::-ms-expand {
    display: none;
}

body {
    overflow-x: hidden
}

html.hover-supported:not(:hover), html:not(.scrolled):not(.hover-supported), html.hover-supported:not(:hover) .kyc-info, html:not(.scrolled):not(.hover-supported) .kyc-info {
    -ms-overflow-style: none;
    scrollbar-color: transparent
}

html.hover-supported:not(:hover)::-webkit-scrollbar-thumb, html:not(.scrolled):not(.hover-supported)::-webkit-scrollbar-thumb, html.hover-supported:not(:hover) .kyc-info::-webkit-scrollbar-thumb, html:not(.scrolled):not(.hover-supported) .kyc-info::-webkit-scrollbar-thumb, html.hover-supported:not(:hover) body::-webkit-scrollbar-thumb, html:not(.scrolled):not(.hover-supported) body::-webkit-scrollbar-thumb {
    background-color: transparent;
}

body.hover-supported:not(.no-scrollbar):hover {
    overflow: auto;
    overflow-x: hidden;
}

.required-icon {
    color: red;
    margin: 0px 5px;
}
.privacy-consent {
    border-top:1px solid #00000045;
}
.privacy-consent td {
    display:flex;
    flex-direction:row;
    align-items:center
}
.privacy-consent input {
    width:24px;
    height:24px;
    min-width:24px;
    margin-right:5px;
    appearance:none;
    background-color: #00000046;
    border: 1px solid #00000045;
    border-radius: 2px;;
}
.privacy-consent input:checked {
    background-image:url(../ba-tick.svg);
    background-size:24px;
    background-position:center;
    border: 1px solid #E02A29;
}
.privacy-consent label {
    display:flex;
}
.privacy-consent-wrapper {
    color:white;
    display:flex;
    align-items: center;
    justify-content:center;
    width:100%;
    height:100%;
    padding:20px;
}
.privacy-consent-procedure{
    background-color: #3c3c3c;
    border-radius:5px;
    max-width:600px;
    padding:15px;
    width:100%;
}