/* * */

* {
    padding: 0;
    margin: 0;
    //box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.5);
}

*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    background: black;
}

*::-webkit-scrollbar-thumb {
    background-color: rgb(68,71,77);
    border-radius: 20px;
    border: 3px solid black;
}

*::-webkit-scrollbar-thumb:hover{
    border: none;
    box-shadow: 0 0 5px 3px rgba(0,0,0,0.3);
}



/* html */
html{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* background: #1b2838; */
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
}

@media screen and (max-width: 500px) {
    html{
        background: #121A24 !important;
    }
}



/* body */
/* general body */
body{
    position: relative;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    /* new */
    font-family: "Motiva Sans", "Twemoji", "Noto Sans", Helvetica, sans-serif;
    color: #c6d4df;
    font-size: 12px;
    background: #1b2838;
}

.page-content{
    width: 940px;
    margin: 0 auto;
}

.nav-path{
    color: #56707f;
    font-size: 12px;
    font-weight: normal;
    padding-top: 10px;
}

.nav-path a {
    color: #8f98a0;
}

/* body for app page */
body.game-bg{
    background: #1b2838;
}



a {
    text-decoration: none;
}

header {
    //position: fixed;
    height: 90px;
    //top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 5;
    pointer-events: all;
    transition: all 0.5s ease-in-out;
}

header.up {
    transform: translateY(-90px);
    -webkit-transform: translateY(-90px);
    transition: all 0.3s;
}

.banner-top {
    width: 100%;
    height: 50px;
    box-shadow: 0 0 7px 0 rgba( 0, 0, 0, 0.75 );
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #171a21;
    transition: all 0.5s ease-in-out;
}

.banner-bottom {
    height: 40px;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    //background: rgb(15,15,15);
    background: #171a21;
    position: relative;
}

.banner-bottom .item {
    width: fit-content;
    height: 40px;
    color: lightgray;
    line-height: 40px;
    text-align: center;
    vertical-align: center;
    padding-left: 20px;
    padding-right: 20px;
    letter-spacing: 1px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
}

.item:hover {
    border-bottom: 3px solid rgb(150,40,120);
    color: white;
}

.tab-logo {
    display: flex;
}

.search {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    border: 2px solid;
    border-radius: 100%;
    margin: 0 auto;
    top: 13px;
    left: -2px;
    z-index: inherit;
}

.search::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    height: 6px;
    background: currentColor;
    transform: rotate(-45deg);
    top: 7px;
    left: 10px
}

.search_alt {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    border: 2px solid;
    border-radius: 100%;
    margin: 0 auto;
    top: 18px;
    left: -2px;
    z-index: inherit;
}

.search_alt::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    height: 6px;
    background: currentColor;
    transform: rotate(-45deg);
    top: 7px;
    left: 10px
}

.search-large {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    border: 2px solid;
    border-radius: 100%;
    cursor: pointer;
}

.search-large::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    height: 6px;
    background: currentColor;
    transform: rotate(-45deg);
    top: 7px;
    left: 10px;
    cursor: pointer;
}

.float-tab {
    background: rgba(190,190,190,0.5);
    height: fit-content;
    width: 100%;
    position: absolute;
    top: 40px;
    left: 0;
    opacity: 0;
    transition: all 0.5s;
    pointer-events: none;
    color: black;
backdrop-filter: blur(50px);
-webkit-backdrop-filter: blur(50px);
    cursor: default;
    z-index: 2;
//transform: translateY(0);
//-webkit-transform: translateY(0);
}

.float-tab.show {
    opacity: 1;
    transition: all 0.3s 0.5s;
    pointer-events: all;
    will-change: opacity;
}

.logo {
    color: white;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.logo a {
    color: white;
    display: flex;
    flex-direction: row;
}

.banner-ext {
    min-height: 400px;
    background: rgba(255, 255, 255, 0.6);
    width: 100%;
    opacity: 0;
    transition: all 0.3s 0.5s;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
}

.banner-ext.show {
    transition: all 0.3s 0.3s;
    opacity: 1;
}

.index-menu{
    width: 280px;
    height: 100%;
    position: fixed;
    top: 0;
    left: -280px;
    background-color: rgb(22,25,30) !important;
    transition: all 0.5s ease-in-out;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 5px 3px rgba(0,0,0,0.3);
    display: flex;
    overflow-y: scroll;
    z-index: 1000;
    -webkit-tap-highlight-color: transparent;
}

.index-menu::-webkit-scrollbar{
    display: none;
}

.index-menu.show{
    left: 0;
    transition: all 0.5s ease-in-out;
}

main {
    //min-height: 100vh;
    //padding-top: 90px;
    transition: all 0.5s ease-in-out;
    pointer-events: all;
}

.slider-box-main{
    width: 100%;
    height: 100%;
    max-height: 500px;
//position: relative;
    overflow: hidden;
}

body.no_interactive{
    overflow: hidden;
    height: 100vh;
}

#main{
    transition: all 0.5s ease-in-out;
}

#main.no_interactive{
    filter: brightness(30%);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.slide{
//position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 500px;
    transform: translateX(15%);
    opacity: 0;
}

.slide.show{
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s cubic-bezier(.14,1.14,.86,.98);
}

.slide.go{
    opacity: 0;
    transform: translateX(-15%);
    transition: all 0.4s cubic-bezier(.14,1.14,.86,.98);
}


.tab-header{
    width: fit-content;
    margin: 0 auto;
}
.tab-header h1{
    font-size: 12px;
    line-height: 14px;
    padding: 0;
    display: inline-block;
    cursor: pointer;
    height: fit-content;
    margin: 0 12px;
    color: black;
    letter-spacing: 1px;
    font-weight: 400;
}
.tab-header h1:hover{
    color: #721c24;
}

.tab-header h1:after {
    display:block;
    content: '';
    border-bottom: solid 1px #721c24;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform 250ms ease-in-out;
    transition: -webkit-transform 250ms ease-in-out;
    transition: transform 250ms ease-in-out;
    transition: transform 250ms ease-in-out, -webkit-transform 250ms ease-in-out;
    visibility: hidden;
}
.tab-header h1:hover:after {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.tab-content{
    width: 100%;
    height: fit-content;
    opacity: 0;
    transition: 0s 0.5s;
}

.tab-content.show{
    opacity: 1;
    transition: all 0.5s 0.7s;
}

.next-arrow {
    cursor: pointer;
    display: block;
    position: relative;
    margin: 10px;
    width: 30px;
    height: 30px;
    border: solid 2px dimgray;
    border-radius: 100%;
    z-index: 1;
    transition: all .2s linear;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    background: rgb(186,186,186);
}

.next-arrow:before, .next-arrow:after {
    content: "";
    position: absolute;
    width: 35%;
    height: 10%;
    top: 41%;
    left: 55%;
    background: dimgray;
    z-index: 2;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all .2s linear;
}

.next-arrow:after {
    z-index: 3;
    top: 59%;
    left: 55%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.next-arrow:hover {
    border: solid 3px dimgray;
}

.next-arrow:hover:before {
    background: dimgray;
}

.next-arrow:hover:after {
    background: dimgray;
}

.next-arrow:active {
    border: solid 3px dimgray;
}

.next-arrow:active:before {
    background: dimgray;
}

.next-arrow:active:after {
    background: dimgray;
}

.index {
    background: transparent;
    width: 30px;
    height: 30px;
    display: none;
    padding: 10px 5px 11px;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px;
    margin-left: 5px;
    //z-index: 3;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.15s linear;
//transition: all 0.15s linear;
    cursor: pointer;
}

.iconspan {
    height: 2px;
    width: 80%;
    border-radius: 2px;
    background: lightgray;
    opacity: 1;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0.2);
    -webkit-transition: all 0.15s linear;
//transition: all 0.15s linear;
}

.iconspan.active {
    transition: all 0.5s cubic-bezier(0, 0.9, 0, 0.7);
    -webkit-transition: all 0.15s linear;
//transition: all 0.15s linear;
    opacity: 0;
}

.iconspanmiddle {
    border-radius: 2px;
    height: 2px;
    width: 80%;
    background: lightgray;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0.2);
    -webkit-transition: all 0.15s linear;
//transition: all 0.15s linear;
}

.iconspanmiddle.active {
    transition: all 0.5s cubic-bezier(0, 0.9, 0, 0.7);
    -webkit-transition: all 0.15s linear;
//transition: all 0.15s linear;
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.iconspanhide {
    border-radius: 2px;
    position: absolute;
    background: lightgray;
    top: 26px;
    width: 20px;
    height: 2px;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0.2);
    -webkit-transition: all 0.15s linear;
//transition: all 0.15s linear;
}

.iconspanhide.active {
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    visibility: visible;
    transition: all 0.5s cubic-bezier(0, 0.9, 0, 0.7);
    -webkit-transition: all 0.15s linear;
//transition: all 0.15s linear;
}

.search-icon {
    box-sizing: border-box;
    margin: 0;
    position: relative;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
    width: 50px;
    height: 50px;
    display: none;
}
.search-icon__item {
    background: transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    padding: 0;
    position: relative;
    height: 50px;
    width: 50px;
    cursor: pointer;
}
.search-icon__item:before {
    background-color: white;
    border-radius: 2.5px;
    content: '';
    display: inline-block;
    height: 8px;
    left: 27px;
    position: absolute;
    top: 29px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all 0.15s linear;
    transition: all 0.15s linear;
    width: 1px;
}
.search-icon__item:after {
    border: 1px solid white;
    border-radius: 50%;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    content: '';
    height: 15px;
    left: 10px;
    position: absolute;
    top: 15px;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: all 0.15s linear;
    transition: all 0.15s linear;
    width: 15px;
}

.search-icon--transformed .search-icon__item:before {
    height: 20px;
    left: 23px;
    top: 15px;
    width: 1px;
}
.search-icon--transformed .search-icon__item:after {
    background-color: white;
    border: 0;
    border-radius: 0;
    height: 20px;
    left: 23px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 1px;
}

@media screen and (max-width: 916px){
    header{
        height: 50px;
        position: fixed;
        top: 0;
    }
    header.up{
        transform: translateY(-50px);
        -webkit-transform: translateY(-50px);
    }
    .banner-bottom{
        display: none;
    }
    main{
        padding-top: 50px;
    }
    .index{
        display: flex;
    }
    .search-icon{
        display: block;
    }
}

.optlink-wrapper {
    height: fit-content;
    z-index: 1;
}

.optlink-box{
    font-weight: 300;
    padding: 12px 12px;
    line-height: 30px;
    border-top: 1px solid rgb(41,43,49);
    font-size: 16.5px;
}

.optlink-box a{
    text-decoration: none;
    color: #8a8a8a;
}

.optlink-box-item{
    display: block;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 2.5em;
    text-decoration: none;
    cursor: pointer;

    color: #8a8a8a;
    border: none;
}

.optlink {
    /* width: 100%; */
    min-height: 57px;
    font-weight: 300;
    font-size: 22px;
    color: rgb(181,181,181);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    margin: 0 auto;
    letter-spacing: 1px;
    border-bottom: 1px solid black;
    border-top: 1px solid rgb(41,43,49);
    //transition: all 0.3s;
}

.optlink.active{
    color: white;
    background: #192533;
    text-shadow: 0 0 1px rgba(255,255,255,0.1);
    /* transition: all 0.3s; */
}

.optlink a{
    color: rgb(181,181,181);
}

.arrow-right {
    width: 10px;
    height: 10px;
    border-top: 1px solid dimgray;
    border-right: 1px solid dimgray;
    transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
}

.arrow-down {
    width: 10px;
    height: 10px;
    border-top: 3px solid rgb(181,181,181);
    border-right: 3px solid rgb(181,181,181);
    transform: matrix(0.71, 0.71, 0.71, -0.71, 0, 0);
    transition: all 0.3s;
}

.arrow-down.flip {
    transform: matrix(0.71, -0.71, 0.71, 0.71, 0, 0);
    transition: all 0.3s;
}

.optlink-arrowbox {
    height: 100%;
    /* width: 50px; */
    text-align: center;
    vertical-align: middle;
    padding: 20px;
    background: transparent;
}

.subbox {
    /* width: 100%; */
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    /* padding: 0 12px 0 28px; */
}


.subbox a{
    color: white;
    font-weight: 300;
    font-size: 16.5px;
    /* width: 100%; */
    /*line-height: 40px;*/
    line-height: 2.5em;
    letter-spacing: 1px;
    text-shadow: 0 0 1px rgba(255,255,255,0.1);
    padding: 0 12px 0 28px;
}

.subbox.show {
    background: #192533;
    /* max-height: 82px; */
    /* max-height: 100%; */
    /* padding: 0 12px 0 28px; */
    transition: max-height 0.3s;
    border-top: 1px solid rgb(41,43,49);
}

.grecaptcha-badge {
    visibility: hidden;
}

.close-menu-layer{
    background: transparent;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

.close-menu-layer.interactive{
    pointer-events: all;
}

#header{
    transition: all 0.5s ease-in-out;
}

#header.no_interactive{
    pointer-events: none;
    filter: brightness(30%);
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.hide-on-desktop{
    display: block;
}

.hide-on-mobile{
    display: block;
}

.header_light_back{
    background: rgba(0, 0, 0, 0) url('/img/header_bg.png') no-repeat scroll center bottom;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

@media screen and (min-width: 910px) {
    .hide-on-desktop{
        display: none;
    }
    .header_light_back{
        height: 246px;
    }
}

@media screen and (max-width: 910px) {
    .hide-on-mobile{
        display: none;
    }

    .hide-on-desktop{
        display: block;
    }

    .header_light_back{
        height: 205px;
    }
}

/* footer related */

body #footer-spacer{
    height: 48px;
}

@media screen and (max-width: 910px) {
    body #footer-spacer {
        display: none;
    }
}

body #footer{
    font-family: Arial, Helvetica, sans-serif;
    /* position: absolute; */
    /* left: 0; */
    /* right: 0; */
    /* bottom: 0; */
    padding: 16px 0 60px 0;
    margin: 0;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    background: #171a21;
}

body #footer .footer_content {
    /* width: 940px; */
    max-width: 940px;
    margin: 0px auto;
    padding-top: 16px;
    padding-left: 16px;
    padding-right: 16px;
}

body #footer .rule {
    height: 8px;
    border-top: 1px solid #363c44;
}

body #footer #footer_logo_app{
    float: right;
    padding-top: 2px;
}

body #footer_logo_app img{
    height: 25px;
    width: auto;
}

body #footer_logo_company{
    float: left;
    padding-top: 2px;
}

body #footer_logo_company img{
    height: 25px;
    width: auto;
}

body #footer #footer_text {
    float: left;
    margin-left: 12px;
    color: #8F98A0;
    font-size: 12px;
    line-height: 16px;
}

body #footer #footer_text a {
    color: #C6D4DF;
}

body #footer .company-site-links{
    margin-top: 8px;
    /* font-family: "Motiva Sans", Sans-serif; */
    font-weight: normal;
    font-size: 13px;
    color: #61686D;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
}

body #footer .company-site-links a{
    color: #C6D4DF;
    display: flex;
    align-items: center;
}

body #footer .extra-space{
    height: 60px;
}

.ds-flag{
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 10px;
    color: #111111;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    height: 18px;
    line-height: 19px;
    padding: 0 0 0 18px;
    white-space: nowrap;
    z-index: 5;
}