html,
body{
    -webkit-font-smoothing: antialiased;
    font-family: 'Helvetica Neue',Arial,Helvetica,Calibri;
    font-size: 18px;
    color: white;
    min-height: 100%;
    height: 100%;
    position: relative;
    background-color: #292929;
}
* {
    margin: 0;
    padding: 0;
}
main{
    min-height: 100%;
    background-repeat: repeat-y;
    background-position: center 0;
    background-size: cover;
}

h1{
    font-family: 'Helvetica Neue',Arial,Helvetica,Calibri;
    font-weight: bold;
    font-size: 40px;
    text-transform: uppercase;
    margin: 0;
    line-height: 40px;
    min-width: 300px;
    display: initial;
}
.h2{
    color: #ffc22c;
}
.load-more
{
    position: fixed;
    width: 100%;
    background-color: rgba(50,50,50,0.5);
    left: 0;
    top: 0;
    z-index: 1;
    height: 100%;
}
/*Loader*/
.sk-rotating-plane {
    width: 50px;
    height: 50px;
    margin: 50vh 50%;
    background-color: rgb(255, 215, 0);
    animation: sk-rotating-plane 1.6s infinite ease-in-out;
}
@keyframes sk-rotating-plane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}
/*END Loader*/
.underline-none:hover{
    text-decoration: inherit;
}
.h1-block div{
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 15px;
    padding-left: 15px;
    font-size: 10px;
}
.timer-block{
    font-size: 26px;
    text-align: center;
    padding-bottom: 15px;
    min-width: 450px;
}
.timer-block-lbl{
    text-transform: uppercase;
}
.timer-main-lbl{
    max-width: 700px;
}
.timer-main-text{
    height: 40px;
    background-color: white;
    border-radius: 10px;
    color: #242424;
}
.timer-reserve-text{
    background-color: #ffc22c;
    margin-left: auto;
    border-radius: 10px;
    padding: 0 32px;
}
.results-btn{
    background-color: #ffc22c;
    max-width: 320px;
    height: 92px;
    border-radius: 10px;
    color: black;
    line-height: 28px;
    font-size: 26px;
    padding: 18px 30px 18px 120px;
    text-align: center;
    position: relative;
}
.results-btn:before{
    content: '';
    position: absolute;
    width: 53px;
    height: 45px;
    bottom: 25px;
    left: 50px;
    background-image: url(../pict_site/Icon_Leaderboard.png);
}
.results-btn:after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 92px;
    background: rgba(255,255,255,0.2);
    transition: all 2s ease;
}
.results-btn:hover:after {
    width: 100%;
}
.start-btn{
    background-color: #ffc22c;
    max-width: 320px;
    height: 92px;
    border-radius: 10px;
    color: black;
    line-height: 28px;
    font-size: 26px;
    padding: 18px 50px 18px 120px;
    text-align: center;
    position: relative;
    white-space: nowrap;
}
.start-btn:before{
    content: '';
    position: absolute;
    width: 22px;
    height: 29px;
    bottom: 28px;
    left: 50px;
    background-image: url(../pict_site/Ico_Start.png);
}
.download-btn{
    background-color: rgba(37, 39, 52, 0.7);
    height: 92px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 28px;
    font-size: 20px;
    padding: 15px 15px 15px 40px;
    position: relative;
    white-space: nowrap;
}
.download-btn:before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    left: 0;
    background-image: url(../pict_site/download_grey.svg);
    background-size: contain;
}
a.download-btn:hover{
    text-decoration: underline;
    color: #ffce56;
}
.download-btn:hover:before {
    background-image: url(../pict_site/download_orange.svg);
}
.start-btn:after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 92px;
    background: rgba(255,255,255,0.2);
    transition: all 2s ease;
}
.start-btn:hover:after {
    width: 100%;
}
.start-lock-btn{
    background-color: #58595b;
    color: #2c2b3b;
}
.levels>[class*="col-"]{
    margin-bottom: 15px;
}
span.hint-mark{
    width: 20px;
    height: 20px;
    background-color: #8ad217;
    display: inline-flex;
    margin: 5px;
}
.level-hint{
    display: inline-flex;
}
.level-hint[data-used="1"] span:nth-child(1){
    background-color: #ffc22c;
}
.level-hint[data-used="2"] span:nth-child(-n+2){
    background-color: #ffc22c;
}
.level-hint[data-used="3"] span:nth-child(-n+3){
    background-color: #ffc22c;
}
.level-block.current,
.level-block.notpassed,
.level-block.passed{
    background-image: url(../pict_site/level_bg.jpg);
    background-size: contain;
}
.team-place.crown:before{
    content: '';
    position: absolute;
    width: 54px;
    height: 34px;
    left: 37px;
    top: -40px;
}
.team-place.crown:before{
    background-image: url("../pict_site/Crown_Icon.png");
}
.team-place.passed {
    background-color: #ffc22c;
}
.team-place.notpassed {
    background-color: #757575;
}
.team-place-text{
    font-size: 46px;
    text-align: center;
    color: #242424;
    font-weight: 500;
    line-height: 128px;
}
.text-results{
    font-size: 22px;
    color: #9e9e9e;
    font-weight: 500;
    max-width: 260px;
    min-width: 260px;
    word-break: break-word;
}
.level-block, .hint-block, .team-place {
    width: 128px;
    height: 128px;
    margin-bottom: 15px;
    position: relative;
    border-radius: 10px;
}
.level-block:before, .hint-block:before{
    content: '';
    position: absolute;
    width: 128px;
    height: 128px;
    left: 0;
}
.level-block.passed:before{
    background-image: url("../pict_site/Ok_Icon.png");
}
.level-block.notpassed:before{
    background-image: url("../pict_site/X_Icon.png");
}
.level-block.current:before{
    background-image: url("../pict_site/Yellow_Frame.png");
}
.level-block.lock:before{
    background-image: url("../pict_site/Lock_Icon.png");
}
.hint-block.lock:before{
    background-image: url("../pict_site/Lock_Icon.png");
}
.hint-block.play:before{
    background-image: url("../pict_site/Play_Hint_Button.png");
}
.level-timer{
    font-size: 26px;
    text-align: center;
    color: black;
    background-color: white;
    width: 128px;
    border-radius: 10px;
    height: 39px;
}
span.attempt-mark{
    width: 28px;
    height: 28px;
    background-color: #e72740;
    display: inline-flex;
    margin: 5px;
}
.attempts-used{
    position: absolute;
    bottom: 0;
    right: 5px;
    font-size: 20px;
    color: #fdd980;
    font-weight: 500;
    line-height: 20px;
    margin: 5px;
    cursor: help;
}
.passw-attempts{
    display: inline-flex;
}
.passw-attempts[data-attempts="1"] span:nth-child(1){
    background-color: #8ad217;
}
.passw-attempts[data-attempts="2"] span:nth-child(-n+2){
    background-color: #8ad217;
}
.passw-attempts[data-attempts="3"] span:nth-child(-n+3){
    background-color: #8ad217;
}
.passw-attempts[data-attempts="4"] span:nth-child(-n+4){
    background-color: #8ad217;
}
.passw-attempts[data-attempts="5"] span:nth-child(-n+5){
    background-color: #8ad217;
}
.passw-attempts-lbl{
    display: inline;
    padding: 0 25px;
    font-size: 26px;
}
.passw-input{
    max-width: 572px;
    padding-left: 0;
}
input, #login-form .form-control{
    width: 100%;
    height: 92px;
    border-radius: 15px;
    padding-left: 15px;
    padding-right: 15px!important;
    text-align: center;
    font-size: 26px;
}
#login-form .form-group{
    position: relative;
    padding: 0 100px;
}
.was-validated .form-control:invalid, .form-control.is-invalid,
.was-validated .form-control:valid, .form-control.is-valid{
    background-image: none;
}
.invalid-feedback {
    font-size: 20px;
}
.btn-small{
    width: 92px;
    height: 92px;
    background-size: cover;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: -10px;
}
.valid-btn{
    background-image: url("../pict_site/Ok_Icon_Small.png");
    display: none;
}
.invalid-btn{
    background-image: url("../pict_site/X_Icon_Small.png");
    display: none;
}
.was-validated :invalid ~ .invalid-btn,
.is-invalid ~ .invalid-btn{
    display: block;
}
.was-validated :valid ~ .valid-btn,
.is-valid ~ .valid-btn{
    display: block;
}
.timer-start{
    color: #fdc42d;
    font-size: 26px;
}
.enter-btn{
    width: 92px;
    height: 92px;
    background-image: url("../pict_site/Enter_Button.png");
    background-size: cover;
    cursor: pointer;
}
.enter-btn:before {
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 92px;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    transition: all 2s ease;
}
.enter-btn:hover:before {
    width: 100%;
}
.hint-text{
    font-size: 26px;
    text-align: center;
    padding-top: 50px;
    text-transform: uppercase;
}
.hint-col{
    padding-top: 42px;
}
.hints .col-hints {
    padding-top: 25px;
    max-width: 868px;
}
.col-hints .col-auto {
    width: 158px;
}
.hint-area{
    position: relative;
    background-color: #2d3043;
    border-radius: 15px;
    width: 100%;
    min-height: calc(100vw / 2);
}
.hint-area-bg{
    border-radius: 15px;
}
.hint-area .hint-area-bg:before{
    content: 'Display the hint';
    color: #e72540;
    font-size: 26px;
    padding: 25px 45px;
    position: absolute;
    width: 273px;
    height: 93px;
    left: calc((100% - 273px) / 2);
    top: calc((100% - 93px) / 2);
    background-image: url("../pict_site/Hint_preview_clear.png");
}
.hint-area .col-12{
    /*max-height: calc(100vw / 2);*/
    overflow: auto;
    background-color: #2d3043;
    color: #e72540;
    font-size: 26px;
}
main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.hint-block.lock{
    cursor: no-drop;
}
.hint-block.play{
    cursor: pointer;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}
.pagination-btn{
    width: 92px;
    height: 92px;
    background-image: url("../pict_site/Enter_Button.png");
    background-size: cover;
    cursor: pointer;
    position: relative;
}
.pagination-btn.last{
    transform: rotate(180deg);
}
.pagination-btn.disabled{
    opacity: 0.4;
    cursor: no-drop;
}
.pagination-btn:before {
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 92px;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    transition: all 2s ease;
}
.pagination-btn:hover:before {
    width: 100%;
}
.pagination>li.page-text{
    color: white;
    font-size: 36px;
    font-weight: bold;
    line-height: 92px;
    padding-right: 75px;
    padding-left: 75px;
}
@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}


@media (min-width: 1600px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1540px;
    }
    .h1-block{
        max-width: 500px;
    }
}
@media (min-width: 1200px) {
    .h1-block{
        max-width: 300px;
    }
    .hints .col-hints {
        max-width: 316px;
        padding-top: 0;
    }
    .hint-text {
        padding: 0;
    }
    .hint-area{
        max-width: 868px;
        min-height: 444px;
    }
}
@media (max-width: 768px){
    .btn-small {
        right: 0;
    }
    #login-form .form-group {
        padding: 0;
    }
}
@media(max-width:575px) {
    .timer-block {
        min-width: 100%;
    }
    .results-btn, #start-button {
        padding-left: 90px;
        font-size: 22px;
        line-height: 56px;
    }
    .results-btn:before {
        left: 20px;
    }
    .download-btn {
        font-size: 20px;
        padding: 15px 15px 15px 30px;
    }
    .download-btn:before {
        width: 25px;
        height: 25px;
    }
}