/* base styles
================================================== */
* {
    margin: 0;
    padding: 0;
    outline: 0;
}

html {
    height: 100%;
    font-size: 62.5%;
}

body {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    height: 100%;
    color: #6b6b6b;
    background: url('../imgs/body-bgr.jpg') center center no-repeat;
    background-size: cover;
}

:focus {
    outline: 0
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    border: none;
}

.form-control {
    position: relative;
    background-color: #311e43;
    height: 5rem;
    border: 1px solid #fff;
    border-radius: 3rem;

    width: calc(100% - 7rem);
    margin: 0 auto;
    display: table;
    line-height: 4.5rem;
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: lighter;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

.space {
    padding: 100px 0;
}

/* typography
================================================== */
h1, h2, h3, h4, h5, h6 {
    color: #222;
}

h1 {
    font-size: 26px;
    line-height: 32px;
}

h2 {
    font-size: 22px;
    line-height: 28px;
}

h3 {
    font-size: 18px;
    line-height: 28px;
}

h4 {
    font-size: 18px;
    line-height: 28px;
}

h5 {
    font-size: 18px;
    line-height: 28px;
}

h6 {
    font-size: 18px;
    line-height: 28px;
}

strong {
    font-weight: 700;
}

a {
    color: #da763a;

    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

a:hover,
a:active,
a:focus {
    color: #da763a;
    outline: 0;
    text-decoration: none;
}

p {
    color: #6b6b6b;
    margin-bottom: 20px;
    font-size: 1.6rem;
    line-height: 1.5;
}

button {
    background-color: transparent;
    border: 0;
    outline: none;
}

.csm-btn {
    border-radius: 30px;
    font-size: 2.4rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 1rem 3rem;
    font-weight: bold;
    letter-spacing: .3rem;
}

.btn-pink {
    background-color: #E6007E;
    border-color: #E6007E;
    color: #fff;
    box-shadow: 0 3px 4px #6A0132;
    font-weight: 800;
}

.btn-pink:hover {
    background-color: #E6007E;
    border-color: #E6007E;
    color: #fff;
}

.btn-border-white {
    border: 1px solid #fff;
    color: #fff;
}

.heading {
    margin: 0 0 3.5rem 0;
    font-size: 4rem;
    line-height: 4rem;
    color: #fff;
    font-weight: bold;
}

body {
    overflow: hidden;
    position: relative;
}

/* header */
header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 2;
}

header .header-user {
    float: left;
}

header .header-user .user-avatar {
    float: left;
    margin: 0 2rem 0 0;
}

header .header-user .user-avatar img {
    height: 8rem;
}

header .header-user .user-balance {
    background-color: #281B3A;
    border-radius: 30px;
    color: #F8B314;
    display: inline-block;
    padding: .8rem 2.5rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid #fff;
}

header .header-user .user-name {
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
    margin: 0.5rem 0 0 0;
}

header .header-menu {
    float: right;
}

header .header-menu ul li {
    display: inline-block;;
    margin: 0 .5rem;
}

header .header-menu ul li:last-of-type {
    margin-right: 0;
}

header .header-menu ul li a {
    background-color: #281B3A;
    width: 5rem;
    height: 5rem;
    line-height: 4.7rem;
    border-radius: 100%;
    border: 1px solid #fff;
    display: block;
    text-align: center;
}

header .header-menu ul li a img {
    max-width: 2rem;
    max-height: 2rem;
}

header .header-menu .back {
    background-color: #281B3A;
    width: 5rem;
    height: 5rem;
    line-height: 4.7rem;
    border-radius: 100%;
    border: 1px solid #fff;
    display: block;
    text-align: center;
    float: right;
    margin: 2rem 0 0 0;
}

header .header-menu .back img {
    max-width: 2rem;
    max-height: 2rem;
}


/* avatar selection */
.avatar-selection .csm-btn {
    width: 100%;
    display: block;
}

.avatar-selection .heading {
    text-align: center;
}

.avatar-selection .owl-avatars {
    min-height: 17.5rem;
    padding: 0 3rem;
}

.avatar-selection .owl-avatars .item {
    padding: 2rem 0 0 0;
}

.avatar-selection .owl-avatars img {
    max-height: 9rem;
    margin: 1rem 0 0 0;
}

.avatar-selection .owl-avatars .center img {
    max-height: 14rem;
    margin: -2rem 0 0 0;

    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}


/* matchmaking filters */
.matchmaking-filters .heading {
    text-align: center;
}

.matchmaking-filters .csm-btn {
    width: 100%;
    display: block;
    margin: 2.5rem 0 0 0;
}

.csm-side-select {
    position: relative;
    background-color: #311e43;
    height: 5rem;
    border: 1px solid #fff;
    border-radius: 3rem;
}

.csm-side-select .btn-left {
    background: url("../imgs/icons/left-arrow.svg") center center no-repeat;
    background-size: 1.5rem;
    height: 5rem;
    width: 5rem;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: .5rem;
    margin: -2.5rem 0 0 0;
}

.csm-holder .lab {
    color: #fff;
    font-size: 1.8rem;
    font-weight: normal;
    margin: 0 0 1rem 0;
    text-align: center;
}

.csm-side-select .val {
    width: calc(100% - 7rem);
    margin: 0 auto;
    display: table;
    line-height: 4.5rem;
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: lighter;
}

.csm-side-select .btn-right {
    background: url("../imgs/icons/right-arrow.svg") center center no-repeat;
    background-size: 1.5rem;
    height: 5rem;
    width: 5rem;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: .5rem;
    margin: -2.5rem 0 0 0;
}


/* games */
/*.games {*/
/*    padding: 3rem 3rem;*/
/*}*/

.games .game .game-limit {
    background-color: #281B3A;
    border-radius: 30px;
    color: #fff;
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    border: 1px solid #fff;
    margin: .5rem 0 1.2rem 0;
    width: 100%;
    text-align: center;
}

.games .game .game-action {
    opacity: 0;
}

.games .center .game .game-action {
    opacity: 1;

    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.games .center .game {
    opacity: 1;
    margin: -6rem 0 0 0;
}

.games .center .game .game-img {
    max-height: 20rem;

    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.games .game {
    padding: 10rem 0 2rem;
    opacity: .4;
}

.games .game .csm-btn {
    display: block;
    width: 100%;
}

.games .game .game-img {
    max-height: 15rem;
    margin: 0 auto;
    display: block;

    -moz-transition: all 0.6s ease-out;
    -o-transition: all 0.6s ease-out;
    -webkit-transition: all 0.6s ease-out;
    -ms-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
}

.games .game .game-limit > img {
    display: inline-block !important;;
    width: initial !important;
    height: 2rem;
    position: relative;
    top: -.1rem;
    margin-left: 1rem;
}


/* footer */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 2;
}

footer .logo {
    float: right;
}

footer .logo img {
    height: 4rem;
}

footer .date {
    float: left;
    padding: 0.9rem 0;
    color: #fff;
    opacity: .61;
}


/* owl styles */
.owl-carousel .owl-item {
    -webkit-animation-duration: 3s !important;
    animation-duration: 3s !important;
}

.owl-carousel .owl-nav {
    width: 100%;
}

.owl-carousel .owl-nav button .fa {
    font-size: 8rem;
    line-height: 6rem;
    height: 6.3rem;
    display: block;
    color: #fff;
}

.avatar-selection .owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    top: 50%;
    left: -1rem;
    margin-top: -4.5rem;
}

.avatar-selection .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    right: -1rem;
    margin-top: -4.5rem;
}

.games .owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    top: 50%;
    left: -1rem;
    margin-top: -6rem;
}

.games .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    right: -1rem;
    margin-top: -6rem;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: none;
    color: #869791;
}

.owl-theme .owl-nav [class*=owl-] {
    outline: none;
}

.owl-theme .owl-nav {
    margin-top: 20px;
}


/* grid rems */
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.row {
    margin-right: -1.5rem;
    margin-left: -1.5rem;
}

.col, div[class^="col-"] {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}


/* modal */
.modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.modal-content {
    height: auto;
    min-height: 100%;
    border-radius: 0;
}

.modal-action {
    text-align: center;
}

.modal-action .csm-btn {
    margin: 2.5rem 1.5rem 0 1.5rem;
    min-width: 150px;
}

.vertical-center {
    width: 100%;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}


/* switch */

.switch label {
    cursor: pointer;
}

.switch label input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch label input[type="checkbox"]:not(:checked),
.switch label input[type="checkbox"]:checked {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.switch label .lever {
    position: relative;
    display: inline-block;
    margin: 0 1rem;
    vertical-align: middle;
    content: "";
    background-color: #32163B;
    border-radius: .9375rem;
    width: 6rem;
    height: 1.5rem;
    -webkit-transition: background .3s ease;
    transition: background .3s ease;
}

.switch label .lever:after {
    position: absolute;
    top: -1.1875rem;
    left: -.3125rem;
    display: inline-block;
    content: "";
    background-color: #847B8E;
    border-radius: 100%;
    width: 3.5rem;
    height: 3.5rem;
    -webkit-transition: left .3s ease, background .3s ease, -webkit-box-shadow 1s ease;
    transition: left .3s ease, background .3s ease, -webkit-box-shadow 1s ease;
    transition: left .3s ease, background .3s ease, box-shadow 1s ease;
    transition: left .3s ease, background .3s ease, box-shadow 1s ease, -webkit-box-shadow 1s ease;
}

.switch label input[type="checkbox"]:checked + .lever {
    background-color: #32163B;
}

.switch label input[type="checkbox"]:checked + .lever:after {
    left: 2.5rem;
    background-color: #F8B314;
}


/*  */
.game-history .history-list .list-heading {
    text-transform: uppercase;
    color: #ddd;
}


/*  */
.close {
    background: url("../imgs/icons/close.svg") center center no-repeat;
    background-size: 38px;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 1;
    z-index: 3;
}

#game-sound .modal-content {
    background: url("../imgs/modal-bgr.svg") center center no-repeat;
    background-size: cover;
}

#game-sound h4 {
    color: #fff;
    text-align: center;
    margin: 0 0 3rem 0;
}

#game-sound .switch-settings {
    color: #fff;
    font-size: 2rem;
    font-weight: normal;
    margin: 0 0 2rem 0;
}

#game-sound .settings-row {
    margin: 0 0 2.5rem 0;
}

#game-sound .range-slider {
    margin: -5.5rem 0 3rem 0;
    padding: 0 1.5rem;
}

#game-sound .range-slider img {
    height: 16px;
    position: relative;
    top: 28px;
    margin-right: 1.5rem;
}

.irs--round .irs-bar {
    background-color: #BB7925;
}

.irs--round .irs-handle {
    background-color: #F8B314;
    border: 0;
    top: 27px;
}

.irs--round .irs-bar,
.irs--round .irs-line {
    height: 9px;
}

.irs--round .irs-line,
.irs--round .irs-bar--single {
    border-radius: 30px;
}