* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    color: #000;
    height: 100%;
    font-size: 22px;
}

body {
    overflow: hidden;
}

p {
    padding-bottom: 30px;
}

b {
    font-weight: bold;
}

.wrapper {
    width: 1920px;
    height: 1080px;
}

.game_name {
    float: left;
    width: 300px;
}

.game_toplist {
    float: left;
    width: 100%;
    font-size: 60px;
}

.toplist_item {
    padding: 0 0 10px 0;
    color: #5c7bc6;
}

.toplist_item:first-child {
    padding-top: 20px;
}

.toplist_item:after {
    content: '';
    clear: both;
    display: block;
}

.toplist_place {
    float: left;
    width: 5%;
}

.toplist_name {
    float: left;
    width: 70%;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toplist_score {
    float: left;
    width: 30%;
    text-align: right;
}

.container {
    padding: 150px 30px 0;
    width: 100%;
}

input[type="text"], input[type="email"], input[type="number"] {
    width: 100%;
    padding: 10px 10px;
    background: #1d1865;
    color: #8ecef1;
    border: 1px solid #8ecef1;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.p_s20 {
    padding: 0 20px;
}

.radio-cont {
    display: inline-block;
    position: relative;
    padding-right: 30px;
}

.radio-cont input {
    position: absolute;
    visibility: hidden;
}

.radio-cont label {
    font-weight: normal;
    position: relative;
    padding-left: 35px;
    font-size: 18px;
    height: 26px;
    line-height: 26px;
}

.radio-cont label:before {
    content: '';
    width: 26px;
    height: 26px;
    background: #1d1865;
    border-radius: 50%;
    border: 1px solid #8ecef1;
    position: absolute;
    left: 0;
    top: 0;
}

.radio-cont input[type="radio"]:checked + label:after {
    content: '';
    width: 18px;
    height: 18px;
    background: #8ecef1;
    position: absolute;
    left: 4px;
    top: 4px;
    border-radius: 50%;
}

.check-cont input {
    position: absolute;
    visibility: hidden;
}

.check-cont label {
    font-weight: normal;
    position: relative;
    padding-left: 35px;
    font-size: 18px;
    height: 26px;
    line-height: 30px;
}

.check-cont label:before {
    content: '';
    width: 26px;
    height: 26px;
    background: #1d1865;
    border: 1px solid #8ecef1;
    position: absolute;
    left: 0;
    top: 2px;
}

.check-cont input[type="checkbox"]:checked + label:after {
    content: '';
    width: 18px;
    height: 18px;
    background: #8ecef1;
    position: absolute;
    left: 4px;
    top: 6px;
}

.code {
    font-size: 40px;
}

.confirm_btn {
    margin-top: 20px;
    border-radius: 25px;
    padding: 0 150px;
    background: #30298e;
    color: #8ecef1;
    text-align: center;
    height: 50px;
    border: 1px solid #8ecef1;
    line-height: 50px;
}

.score_btn, .close_btn {
    margin-top: 20px;
    border-radius: 25px;
    padding: 0 50px;
    background: #30298e;
    color: #8ecef1;
    text-align: center;
    height: 50px;
    border: 1px solid #8ecef1;
}

.menu {
    text-align: center;
    padding: 20px 0 10px 0;
    display: flex;
    justify-content: center;
}

.menu_btn {
    border-radius: 25px;
    padding: 5px 15px;
    background: #8dcdf0;
    color: #30298e;
    text-align: center;
    border: 1px solid #8ecef1;
    font-size: 14px;
    font-weight: bold;
    margin: 5px 15px;
    width: 150px;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.responsive-img {
    display: inline-block;
    max-width: 100%;
}

.glyphicon.fast-right-spinner {
    display: none;
    -webkit-animation: glyphicon-spin-r 1s infinite linear;
    animation: glyphicon-spin-r 1s infinite linear;
}

@-webkit-keyframes glyphicon-spin-r {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.form-group {
    margin-bottom: 20px;
}

.error {
    border: 1px solid #ed2a27 !important;
}

.modal_cont {
    position: absolute;
    width: 946px;
    height: 100%;
    background: url("../images/puzzle_start.jpg");
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
}

.modal_body {
    position: absolute;
    width: 800px;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 10px;
}

#score_modal_body {
    width: 600px;
    padding: 40px;
    top: 80px;
    transform: translate(-50%, 0);
    border: 5px solid #b9dff4;
    border-radius: 20px;
}

#score_modal_body .modal_title {
    margin-bottom: 20px;
}

#score_modal_body .modal_title img {
    max-height: 200px;
    margin-bottom: 10px;
}

#score_modal_body input {
    background: #8ecef1;
    border: 1px solid #30298e;
    color: #30298e;
    box-shadow: none;
}

.lh50 {
    line-height: 50px;
}

.modal_img_cont {
    border-bottom: 3px solid #b9dff4;
    margin-bottom: 10px;
}

.modal_toplist {
    text-align: right;
    padding: 5px 0;
}

.btn-cont {
    text-align: center;
    margin-top: 30px;
}

.reg_btn {
    border-radius: 25px;
    padding: 0 150px;
    background: #30298e;
    color: #8ecef1;
    text-align: center;
    height: 50px;
    border: 1px solid #8ecef1;
    line-height: 50px;
}

.search_cont {
    padding: 150px 20px 20px 20px;
}

.search_cont:after {
    content: '';
    clear: both;
    display: block;
}

.results {
    background: rgba(0,0,0,0.7);
    padding: 10px;
}

.results:after {
    content: '';
    clear: both;
    display: block;
}

.search_list {
    float: left;
    width: 100%;
}

.s_code {
    float: left;
    width: 10%;
}

.s_name {
    float: left;
    width: 65%;
}

.s_phone {
    float: left;
    width: 25%;
}


.thanks {
    text-align: center;
    margin-top: 80px;
    color: #8ecef1;
    background: rgba(14, 32, 67, 0.5);
    padding: 30px;
}

@media all and (max-width: 480px) {

    html, body {
        font-size: 14px;
    }

    .logo {
        padding-top: 10px;
        max-width: 120px;
    }

    .wrapper {
        background: url('../images/mobile_bg.jpg');
        background-position: top center;
        background-size: cover;
        padding-bottom: 20px;
    }

    .title {
        font-size: 20px;
        padding-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }
}