﻿/* landing */
@import url('https://fonts.googleapis.com/css?family=Oswald');

body {
    font-family: "Roboto", "Microsoft YaHei", "微软雅黑", STXihei, "华文细黑", sans-serif;
}

.login{
    overflow:auto;
    height:100%;
}

.landing input:-webkit-autofill,
.landing input:-webkit-autofill:hover,
.landing input:-webkit-autofill:focus,
.landing input:-webkit-autofill:active {
    transition: background-color 5000s;
    -webkit-text-fill-color: #495057 !important;
}

.landing {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    /*background-color: #031b32;*/
	background: linear-gradient(90deg, rgba(84, 117, 144, 1) 0%, rgba(143, 164, 186, 1) 50%, rgba(84, 117, 144, 1) 100%);
    font-size: 16px;
    font-weight: 400;
}

    .landing .top-wrapper {
        position: absolute;
        width: 100%;
        z-index: 100;
        transition: all 0.3s ease-in-out;
    }

    .landing .top {
        padding: 15px 0 0 0px;
        width: 85%;
        max-width: 1600px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }

        .landing .top .login-wrapper {
            padding: 10px;
            background-color: #0c4780;
            height: 60px;
            border-radius: 5px;
            display: none;
        }

        .landing .top .input-group-text {
            background-color: #fff;
            border: none;
        }

        .landing .top .form-control {
            border: none;
            padding-left: 0;
        }

        .landing .top .login-field {
            margin: 0px 5px;
            max-width: 200px;
        }

        .landing .top .input-group-text {
            font-size: 0.8rem;
            color: #8397ab;
        }

        .landing .top .input-group > .form-control:not(:last-child), .input-group > .custom-select:not(:last-child) {
            border-top-right-radius: 0.25rem;
            border-bottom-right-radius: 0.25rem;
        }

        .landing .top.fixed-top {
            position: fixed;
        }

    .landing .logo {
        float: left;
        min-width: 150px;
        position: relative;
    }

        .landing .logo img {
            width: 100%;
            /* max-width: 120px; */
            max-width: 150px;
            transition: all 0.3s ease-in-out;
        }

    .landing .login-btn {
        font-family: "Lato", sans-serif;
        float: right;
        color: #042554;
        border: none;
        font-size: 14px;
        padding: 7px 20px;
        border-radius: 5px;
        font-weight: 600;
        text-transform: uppercase;
        border: 2px solid #f0c103;
        background-color: #f0c103;
        background-image: linear-gradient(45deg, #f0da03 50%, transparent 50%);
        background-position: 100%;
        background-size: 400%;
        transition: background 300ms ease-in-out;
        line-height: 25px;
        margin: 0 5px;
    }

    .landing .join-btn {
        color: #2f2f2f;
        border: 2px solid #f0c103;
        background-color: #f0c103;
        background-image: linear-gradient(45deg, #f0da03 50%, transparent 50%);
        background-position: 100%;
        background-size: 400%;
        transition: background 300ms ease-in-out;
        padding: 10px 25px;
        border-radius: 5px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.9em;
    }

        .landing .login-btn:hover,
        .landing .join-btn:hover {
            border: 2px solid #f0da03;
            background-position: 0;
        }

        .landing h1{
            width:unset;
            height:unset;
            margin:0;
            text-indent:unset;
            background:none;
            padding:0;

        }


.mobile-login {
	padding-top: 20px;
    position: relative;
    z-index: 100;
    width: 80%;
    margin: 0 auto 30px auto;
    max-width: 360px;
}

    .mobile-login .input-group-text {
        background-color: #fff;
        border: none;
        font-size: 0.8rem;
        color: #8397ab;
        width: 35px;
    }

    .mobile-login .form-control {
        border: none;
        padding-left: 0;

        display: block;
        width: 100%; 
        padding: 0.375rem 0.75rem 0.375rem 0; 
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #495057;
        background-color: #fff;
        border: none;

        height:26px;
    }

    .mobile-login .login-field:first-child {
        border-bottom: 1px #ccc solid;
    }

    .mobile-login .login-field:nth-child(2) .input-group .form-control {
        border-radius: 0 0 0.25rem 0;
		padding-left:10px;
    }

    .mobile-login .login-field:nth-child(2) .input-group .input-group-text {
        border-radius: 0 0 0 0.25rem;
    }

    .mobile-login .login-field:first-child .input-group .form-control {
        border-radius: 0 0.25rem 0 0;
		padding-left:10px;
    }

    .mobile-login .login-field:first-child .input-group .input-group-text {
        border-radius:0.25rem 0 0 0 ;

    }

    .mobile-login .login-btn {
        margin: 10px 0px 0px 5px;
        border: none;
        border-radius: 0.25rem;
    }

    .mobile-login .btn-select {
        margin: 10px 0px 0px 0px;
        border-radius: 0.25rem;
        border: none;
        background-color: #00376F;
        position: relative;
        width: 55px;
    }

        .mobile-login .btn-select img {
            top: 50%;
            transform: translateY(-50%);
            left: 5px;
            width: 28px;
        }

        .mobile-login .btn-select:after {
            content: "";
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid white;
            display: block;
            background-size: 100%;
            position: absolute;
            top: 40%;
            right: 5px;
        }

    .mobile-login .lang-dropdown-wrap {
        bottom: 40px;
        transform: none;
        left: 0;
        top: initial;
        /* height: 300px; */
        overflow-y: scroll;
    }

    .mobile-login .invalid-feedback {
        font-size: 10px;
        margin-top: -2px;
        color: #ffffff;
        background-color: #b10600;
        padding: 0px 10px;
        text-align: center;
        position: relative;
        z-index: 100;
        border-bottom-left-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;

        width:100%;
        color:#fff!important;
    }

    .mobile-login .login-btn:hover {
        border: none;
    }

.slider-wrap {
    position: relative;
}

.bg-landing {
    margin: 0 auto;
    background-image: url(https://res.myw0011001.com/mobile/landing/slider_ramadan_bg.jpg);
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    background-position: top right;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.fadeInSlider {
    animation: fadeInSlider 1s alternate forwards;
    -webkit-animation: fadeInSlider 1s alternate forwards;
}

@keyframes fadeInSlider {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeInSlider {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.carousel-inner {
    z-index: 10;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    /*padding: 0px 30px;*/

    position:relative;
}

.carousel-item {
    text-align: center;
    padding-bottom: 30px;
    padding-top: 0px;
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform .6s ease-in-out;
    transition: transform .6s ease-in-out;
    transition: transform .6s ease-in-out,-webkit-transform .6s ease-in-out;
}
    .carousel-item.slide-in-next {
        display:block;
        animation: slide-in-next 0.6s ease-in-out;
    }
    .carousel-item.slide-out-next {
        animation: slide-out-next 0.6s ease-in-out;
    }
    .carousel-item.slide-in-prev {
        display: block;
        animation: slide-in-prev 0.6s ease-in-out;
    }
    .carousel-item.slide-out-prev {
        animation: slide-out-prev 0.6s ease-in-out;
    }

@keyframes slide-in-next {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slide-out-next {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}
@keyframes slide-in-prev {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slide-out-prev {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

    .carousel-item.live {
        height:auto;
        background:transparent;
    }

    .carousel-item .banner-text {
        color: #fff;
        display: block;
        text-align: center;
        width: 100%;
        position: absolute;
        left: 0;
        top: 82%;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
        padding: 0px;
    }

        .carousel-item .banner-text h1 {
            font-size: 1.1em;
            text-transform: uppercase;
            font-family: "Oswald", sans-serif;

            margin-bottom: 0.5rem;
            font-weight: 500;
            line-height: 1.2;
        }

        .carousel-item .banner-text p {
            display: none;
        }

    .carousel-item .banner-image {
        color: #fff;
        display: block;
        width: 100%;
        position: relative;
        margin: 0 auto;
    }

        .carousel-item .banner-image .animate-image {
            position: absolute;
            right: 0;
            top: 0;
            opacity: 0;
        }

    .carousel-item.active .banner-image .animate-image {
        animation: slideUp 1s alternate forwards;
    }

.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
}
.carousel-control-prev{
    left:0;
}
.carousel-control-next{
    right:0;
}

@keyframes slideUp {
    0% {
        top: 50px;
        opacity: 0;
    }

    100% {
        top: 0px;
        opacity: 1;
    }
}

#main-carousel .carousel-inner .carousel-item:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 400px;
}

#main-carousel .carousel-indicators {
    top: 700px;
    bottom: initial;
    display: none;
}

    #main-carousel .carousel-indicators li {
        width: 15px;
        height: 15px;
        border-radius: 50%;
    }

.lobby-wrap {
    width: 100%;
    margin: 0 auto;
    min-height: 500px;
    position: relative;
    top: -250px;
    margin-bottom: -250px;
}

    .lobby-wrap:before {
        background-image: url(https://res.myw0011001.com/mobile/landing/line1.svg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: bottom;
        width: 100%;
        height: 150px;
        position: absolute;
        top: -140px;
        content: "";
    }

.inner-wrap {
    background-color: #031b32;
    background-image: url(https://res.myw0011001.com/mobile/landing/lobby_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    text-align: center;
    color: #fff;
}

.lobbyinner {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding-top: 250px;
    padding-bottom: 50px;
}

    .lobbyinner .lobby-item {
        background-color: transparent;
        width: 100%;
        height: 200px;
        perspective: 1000px;
        margin: 15px auto;
    }

        .lobbyinner .lobby-item .card-flip {
            position: relative;
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.45);
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.4s;
            transform-style: preserve-3d;
            border: none;
            border-radius: 10px;
        }

        .lobbyinner .lobby-item .front,
        .lobbyinner .lobby-item .back {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            backface-visibility: hidden;
            overflow: hidden;
            border-radius: 8px;
        }

        .lobbyinner .lobby-item .front {
            background-color: rgba(15, 79, 140, 1);
        }

            .lobbyinner .lobby-item .front .image-wrap {
                position: relative;
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                border-radius: 8px;

                padding-bottom:39px;
            }

                .lobbyinner .lobby-item .front .image-wrap img {
                    width: 100%;
                    height:100%;
                    object-fit:cover;
                }

            .lobbyinner .lobby-item .front .info {
                position: absolute;
                width: 110%;
                left: -5%;
                right: -5%;
                bottom: 0px;
                padding: 10px;
                color: #fff;
                text-align: center;
                background-color: rgba(15, 79, 140, 1);
            }

                .lobbyinner .lobby-item .front .info h1 {
                    color: #ffffff;
                    font-weight: bold;
                    font-size: 1em;
                    margin: 0px;
                    text-shadow: 1px 1px 1px #000;
                    font-family: "Oswald", sans-serif;
                    line-height:1.2;
                }

        .lobbyinner .lobby-item .back {
            -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
            background: #f0f3f5;
            color: #000;
            padding: 5px;
            display: none;
        }

            .lobbyinner .lobby-item .back h3 {
                font-size: 1em;
                color: #102d71;
                font-weight: 700;
                margin: 5px auto;
                font-family: "Oswald", sans-serif;
            }

            .lobbyinner .lobby-item .back p {
                font-size: 0.7em;
                box-sizing: border-box;
            }

            .lobbyinner .lobby-item .back .card-footer {
                position: absolute;
                bottom: 0px;
                padding: 0px;
                width: 100%;
                left: 50%;
                transform: translateX(-50%);
                -webkit-transform: translateX(-50%);
            }

            .lobbyinner .lobby-item .back .btn {
                background-color: #102d71;
                color: #fff;
                padding: 7px 15px;
                border: none;
                border-radius: 5px;
                margin: 10px;
                font-weight: 700;
                position: relative;
                font-size: 0.8em;
            }

                .lobbyinner .lobby-item .back .btn:hover {
                    opacity: 0.8;
                }

    .lobbyinner .lobby-row {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
        width: auto;
    }

.lobby-row .lobby-col-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    display: block;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.lobby-row .lobby-col-6 {
    position: relative;
    padding-right: 15px;
    padding-left: 15px;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}


.join-us {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 15px;
    padding-bottom: 120px;
}

    .join-us h1 {
        font-size: 1.2em;
    }

    .join-us p {
        font-size: 0.85em;
    }

.feature-wrap {
    background-color: #d8e2e8;
    position: relative;
    padding: 0px 0px 0px 0px;
    display: none;
}

    .feature-wrap:before {
        display: block;
        content: "";
        background-image: url(https://res.myw0011001.com/mobile/landing/line2.svg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: bottom;
        position: absolute;
        width: 120%;
        height: 150px;
        top: -140px;
    }

    .feature-wrap:after {
        display: block;
        content: "";
        background-image: url(https://res.myw0011001.com/mobile/landing/line2.svg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: bottom;
        position: absolute;
        width: 120%;
        height: 150px;
        bottom: -140px;
        z-index: 1;
        transform: scaleY(-1);
        -webkit-transform: scaleY(-1);
    }

.video-wrap {
    text-align: center;
}

    .video-wrap iframe {
        width: 320px;
        height: 170px;
        margin: 0 auto;
    }

.featureinner {
    max-width: 1280px;
    width: 90%;
    margin: 0 auto;
}

.feature-item {
    margin: 30px 0px;
}

    .feature-item .icon {
        width: 60px;
        display: inline-block;
        vertical-align: middle;
    }

        .feature-item .icon img {
            width: 90%;
        }

    .feature-item .feature-content {
        width: calc(100% - 70px);
        padding-left: 15px;
        box-sizing: border-box;
        display: inline-block;
        vertical-align: middle;
    }

        .feature-item .feature-content h1 {
            font-size: 0.9em;
            margin: 0;
        }

        .feature-item .feature-content p {
            font-size: 0.7em;
            margin: 0;
            line-height: normal;
            color: #000;
        }

.landing .footer {
    text-align: center;
    padding: 15px;
    font-size: 0.8rem;
    color: #fff;
    position: relative;
    width:auto!important;
}

    .landing .footer .license,
    .landing .footer .tnc {
        display: none;
        text-align: center;
        max-width: 1280px;
        margin: 15px auto;
    }

    .landing .footer .tnc {
        padding: 20px 18px;
        border-top: 1px rgba(255, 255, 255, 0.2) solid;
    }

.landing .license .image-wrap {
    display: inline-block;
    width: 100px;
    box-sizing: border-box;
    padding: 5px;
    border: 1px rgba(255, 255, 255, 0.2) solid;
    margin: 5px;
}

    .landing .license .image-wrap img {
        width: 80%;
    }

    .landing .license .image-wrap .col-2 {
        padding: 0px;
    }

.landing .footer .tnc .icon {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    margin-bottom: 10px;
}

    .landing .footer .tnc .icon img {
        width: 100%;
        max-width: 50px;
    }

.landing .footer .tnc .tnc-content {
    width: 100%;
    display: inline-block;
    text-align: left;
    vertical-align: top;
}

    .landing .footer .tnc .tnc-content h4 {
        font-size: 1.2em;
        color: #ff583e;
    }

.deco1 {
    position: absolute;
    width: 200px;
    top: -80px;
    right: -100px;
    display: none;
}

.deco2 {
    position: absolute;
    width: 420px;
    bottom: -150px;
    left: -100px;
    z-index: 10;
    display: none;
}

    .deco1 img,
    .deco2 img {
        width: 100%;
    }

.desktop {
    display: none;
}

.mobile {
    display: block;
}

/*image dropdown*/
.login-modal {
    font-size: 16px;
}

    .login-modal.modal.fade .modal-dialog {
        top: 50%;
        transform: translateY(-60%);
        -webkit-transform: translateY(-60%);
    }

    .login-modal .modal-content {
        box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
    }

    .login-modal .banner {
        width: 100%;
        height: auto;
        background-color: #ffcd00;
        border-radius: 0.3rem;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        position: relative;
    }

        .login-modal .banner .text {
            text-align: center;
            padding: 10px;
        }

            .login-modal .banner .text h1 {
                font-size: 1em;
                font-weight: 700;
                text-transform: uppercase;
                margin-bottom: 0px;
                font-family: "Oswald", sans-serif;
            }

            .login-modal .banner .text p {
                display: none;
            }

#login-modal.login-modal .modal-body {
    width: 100%;
    box-sizing: border-box;
    padding: 30px 20px;
    background-color: #fff;
}

.login-modal .modal-body .form-group {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}


.login-modal .modal-body .login-field {
    margin-bottom: 15px;
}

    .login-modal .modal-body .login-field label {
        display: none;
    }

    .login-modal .modal-body .login-field input {
        font-size: 16px;
    }

    .login-modal .modal-body .login-field .input-group > .form-control:not(:last-child) {
        border-top-right-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;
    }

.login-modal .modal-body .login-btn {
    background-color: #102d71;
    font-size: 16px;
    padding: 7px 30px;
    color: #fff;
    border: 2px #102d71 solid;
    background-image: linear-gradient(45deg, #093968 50%, transparent 50%);
    background-position: 100%;
    background-size: 400%;
    transition: background 300ms ease-in-out;
    float: none;
    width: 100%;
}

    .login-modal .modal-body .login-btn:hover {
        border: 2px #0f4f8c solid;
        background-position: 0;
    }

.langpicker {
    display: none;
}

#lang-dropdown-list,
#lang-dropdown-list-mobile {
    padding-left: 0px;
    margin-bottom: 0px;
}

    #lang-dropdown-list img,
    #lang-dropdown-list-mobile img,
    .btn-select img {
        width: 26px;
        padding: 5px 0;
    }

.btn-select img {
    width: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#lang-dropdown-list li,
#lang-dropdown-list-mobile li {
    list-style: none;
    display: flex;
    align-items: center;
}

    #lang-dropdown-list li span,
    #lang-dropdown-list-mobile li span,
    .btn-select li span {
        margin-left: 10px;
        font-size: 13px;
        color: #fff;
    }

.btn-select li span {
    display: none;    
}

/* item list */

.lang-dropdown-wrap {
    display: none;
    width: 180px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 5px 10px;
    border-radius: 0.25rem;
    background-color: #03325f;
    position: absolute;
    top: 60px;
    right: -10px;
    box-sizing: border-box;
    z-index: 10;
}
.lang-dropdown-wrap.show {
    display: block;
}

.open {
    display: show !important;
}

.btn-select {
    display: inline-block;
    border-radius: 100%;
    border: 1px solid #3b6996;
    background-color: #03325f;
    padding: 5px;
    box-sizing: border-box;
    color: #000;
    width: 40px;
    height: 40px;
    line-height: 40px;
    position: relative;
    font-size: 16px;
    margin-left: 5px;
}

.lang-select {
    width: 100%;
    position: relative;
    height: 40px;
}

.btn-select li {
    list-style: none;
    float: left;
    padding-bottom: 0px;
    font-size: 16px;
}

.switch-desktop {
    display: flex;
    justify-content: center;
    border-radius: 10px;
    border: 1px rgba(255, 255, 255, 0.5) solid;
    max-width: 250px;
    margin: 15px auto 20px auto;
    padding: 10px 15px;
    height: 50px;
}

    .switch-desktop .desktop-icon {
        max-width: 30px;
    }

    .switch-desktop button {
        border: none;
        background: none;
        color: #fff;
    }

.video-modal iframe {
    width: 320px;
    height: 170px;
    border-radius: 5px;
}

.video-modal .modal-dialog {
    top: 50%;
    transform: translateY(-50%) !important;
    max-width: 320px;
    margin: 0 auto;
}

.video-modal .modal-content {
    background-color: transparent;
}

.tutorial {
    position: fixed;
    z-index: 101;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    transition: bottom 0.3s;
    line-height: normal;
    max-width: 600px;
}

    .tutorial a {
        display: block;
    }

    .tutorial .android {
        width: 100%;
        background-color: #fff;
        padding: 10px;
        font-size: 0.9rem;
        ;
        color: #000;
        position: relative;
    }

    .tutorial .ios {
        width: calc( 100% - 20px );
        background-color: #fff;
        padding: 10px;
        font-size: 0.9rem;
        ;
        color: #000;
        margin: 0 auto 15px;
        border-radius: 3px;
        position: relative;
    }

        .tutorial .ios:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            right: 0;
            margin: 0 auto;
            width: 0;
            height: 0;
            border-top: 10px solid#fff;
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
        }

    .tutorial .icon {
        width: 40px;
        display: block;
        margin-right: 10px;
    }

    .tutorial .remove {
        margin-right: 10px;
        font-size: 1rem;
    }

    .tutorial .link-wrapper,
    .android-homescreen-modal .link-wrapper {
        color: #0e7de6;
        font-size: 0.9rem;
        margin-top: 5px;
    }

    .tutorial .link-wrapper {
        margin-top: -10px;
    }

.android-homescreen-modal .icon {
    width: 40px;
    margin-right: 10px;
}

.android-homescreen-modal .title {
    font-size: 1.1rem;
    line-height: normal;
    color: #000;
}

.android-homescreen-modal .small-text {
    font-size: 0.9rem;
    line-height: normal;
    color: rgb(80, 80, 80);
}

.ios-homescreen-modal .modal-content {
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
}

.ios-homescreen-modal .modal-dialog {
    height: 100%;
    position: fixed;
    width: 100%;
    max-width: initial;
}

.ios-homescreen-modal {
    background-color: rgba(0, 0, 0, 0.8);
}

    .ios-homescreen-modal .video {
        width: auto;
        height: 90vh;
        max-height: 500px;
        margin: 0 auto;
        border: none;
        background-color: transparent;
        padding: 0;
    }

    .ios-homescreen-modal .close {
        position: fixed;
        top: 10px;
        right: 10px;
        color: #fff;
        z-index: 100;
    }

#cny-rain1,
#cny-rain2,
#cny-rain3 {
    width: 100%;
    height: 100%;
    position: absolute;
}

.cny-rain1 {
    width: 15px;
    height: 15px;
    position: absolute;
    background: url("../images/cny_angbow.png");
    /* background: url("../images/euro_ribbon.png"); */
    background-size: 100% 100%;
}

.cny-rain2 {
    width: 15px;
    height: 15px;
    position: absolute;
    background: url("../images/cny_coin.png");
    /* background: url("../images/euro_ribbon2.png"); */
    background-size: 100% 100%;
}

.cny-rain3 {
    width: 15px;
    height: 15px;
    position: absolute;
    background: url("../images/euro_ribbon3.png");
    background-size: 100% 100%;
}
/*euro count down*/
.euro-event {
    width: 100%;
    max-width: 500px;
    margin: 20px auto 0 auto;
    display: inline-block;
}

.border-glow {
    border-radius: 10px;
    background: linear-gradient(45deg, #00376F, #00DCFF, #00376F, #00DCFF, #00376F, #00DCFF, #00376F, #00DCFF, #00376F);
    background-size: 400%;
    padding: 1px;
    animation: glower 20s linear infinite;
}

.euro-box-wrapper {
    background-color: #031b32;
    position: relative;
    border-radius: 10px;
    display: block;
    padding: 5px;
}

.euro-box {
    background-image: url(../images/landing/euro_bg.jpg);
    background-size: cover;
    border-radius: 10px;
    width: 100%;
    padding: 10px 15px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
}

@keyframes glower {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.euro-logo {
    width: 70px;
    margin-top: -20px;
}

.countdown-wrapper {
    margin-left: 20px;
}

    .countdown-wrapper .date {
        text-transform: uppercase;
        color: #DCFF00;
        font-size: 14px;
        line-height: 12px;
    }

.countdownHolder {
    width: 100%;
    font-size: 22px;
    font-weight: bold;
    font-family: "Oswald", sans-serif;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(4, 4, 4, 0.5);
    display: flex;
    justify-content: center;
}

.countDays,
.countHours,
.countMinutes,
.countSeconds {
    display: flex;
    justify-content: center;
}

.countDiv0 { /* display:none !important;*/
}

.countHours {
}

.countDiv1 {
}

.countMinutes {
}

.countDiv2 {
}

.countSeconds {
}

.position {
    height: 32px;
    overflow: hidden;
    position: relative;
    width: 13px;
}

.digit {
    position: absolute;
    display: block;
    text-align: center;
    color: #fff;
    width: 100%;
}

.countDiv {
    width: 15px;
    height: 32px;
    position: relative;
}

    .countDiv:before,
    .countDiv:after {
        position: absolute;
        width: 5px;
        height: 5px;
        background-color: #fff;
        border-radius: 50%;
        left: 50%;
        margin-left: -3px;
        top: 0.5em;
        box-shadow: 1px 1px 1px rgba(4, 4, 4, 0.5);
        content: '';
    }

    .countDiv:after {
        top: 0.9em;
    }

.countdown-info {
    display: flex;
    justify-content: center;
}

    .countdown-info .text {
        width: 26px;
        font-size: 10px;
        text-transform: uppercase;
        color: rgba(255,255,255,0.8);
    }

    .countdown-info .space {
        width: 15px;
    }

.euro-note {
    margin-bottom: 0;
}

    .euro-note .title {
        text-transform: uppercase;
        font-size: 14px;
        margin-top: 5px;
        font-weight: bold;
        text-shadow: 1px 1px 1px rgb(0 0 0 / 50%);
        color: #00ffd0;
        display: block;
    }

    .euro-note .note {
        text-transform: uppercase;
        display: block;
        font-size: 12px;
    }

@media (min-width: 375px) {
    .landing .logo img {
        max-width: 150px;
    }

    .carousel-item .banner-text {
        top: 82%;
    }

    .lobbyinner {
        max-width: 100%;
    }

        .lobbyinner .lobby-item {
            height: 250px;
        }

    .lobbyinner {
        max-width: 1000px;
    }

    /*euro count down*/
    .euro-logo {
        width: 75px;
        margin-top: -30px;
    }

    .countdownHolder {
        font-size: 25px;
    }

    .position {
        height: 32px;
        width: 15px;
    }

    .countDiv {
        width: 20px;
        height: 32px;
    }

    .countdown-info .text {
        width: 30px;
    }

    .countdown-info .space {
        width: 20px;
    }

    .euro-note .title {
        font-size: 18px;
    }
}

@media (min-width: 576px) {
    .landing {
        font-size: 18px;
    }

    .carousel-item .banner-image {
        max-width: 450px;
    }

    .carousel-item .banner-text h1 {
        font-size: 1.3em;
    }

    .lobbyinner {
        max-width: 500px;
    }
}

@media (min-width: 768px) {
    .desktop {
        display: block;
    }

    .mobile {
        display: none;
    }

    .landing {
        font-size: 20px;
    }

        .landing .logo img {
            /* max-width: 180px; */
            max-width: 230px;
        }

    .carousel-inner {
        width: 100%;
        height: 750px;
    }

    .carousel-item .banner-text {
        padding: 0px 30px;
    }

        .carousel-item .banner-text h1 {
            font-size: 1.4em;
        }

        .carousel-item .banner-text p {
            display: block;
        }

    .carousel-item .banner-image {
        max-width: 550px;
    }

    .lobby-wrap {
        top: -300px;
        margin-bottom: -300px;
    }

    .lobbyinner {
        max-width: 700px;
        padding-top: 300px;
    }

        .lobbyinner .lobby-item {
            height: 300px;
        }

            .lobbyinner .lobby-item.sport {
                transform: scale(1.1);
                -webkit-transform: scale(1.1);
                -webkit-font-smoothing: subpixel-antialiased;
            }

    .join-us {
        padding-bottom: 120px;
    }

    .landing .join-btn {
        font-size: 0.7em;
        padding: 15px 30px;
    }

    .video-wrap {
        margin-bottom: 50px;
    }

        .video-wrap iframe {
            width: 650px;
            height: 350px;
        }

    .login-modal .modal-content {
        flex-direction: row;
        -ms-flex-direction: row;
    }

    .login-modal .banner {
        width: 35%;
        border-radius: 0.3rem;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

        .login-modal .banner .text {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            -webkit-transform: translateY(-50%);
            text-align: right;
            padding: 20px;
        }

            .login-modal .banner .text h1 {
                font-size: 1.5em;
            }

            .login-modal .banner .text p {
                display: block;
            }

    #login-modal.login-modal .modal-body {
        width: 65%;
        padding: 60px 20px;
    }

    .login-modal .modal-body .login-field label {
        display: block;
    }

    .login-modal .modal-body .login-btn {
        width: auto;
    }

    .video-modal iframe {
        width: 650px;
        height: 350px;
    }

    .video-modal .modal-dialog {
        max-width: 650px;
    }

    .footer {
        background-color: rgb(3 27 49);
    }

    .switch-desktop {
        display: block;
    }

    .cny-rain1 {
        width: 25px;
        height: 25px;
    }

    .cny-rain2 {
        width: 25px;
        height: 25px;
    }

    .cny-rain3 {
        width: 25px;
        height: 25px;
    }

    /*euro count down*/
    .border-glow {
        padding: 2px;
    }

    .euro-box-wrapper {
        padding: 10px;
    }

    .euro-logo {
        width: 100px;
        margin-top: -30px;
    }

    .countdownHolder {
        font-size: 36px;
    }

    .position {
        height: 45px;
        width: 25px;
    }

    .countDiv {
        width: 20px;
        height: 45px;
    }

    .countdown-wrapper .date {
        font-size: 16px;
        line-height: 16px;
    }

    .countdown-info .text {
        width: 50px;
        font-size: 14px;
    }

    .countdown-info .space {
        width: 20px;
    }

    .euro-note .title {
        font-size: 24px;
    }

    .euro-note .note {
        font-size: 16px;
    }

    .landing .top {
        width: 90%;
    }

    .landing .top-wrapper.small-top {
        background-color: #0c4780;
        position: fixed;
    }

        .landing .top-wrapper.small-top .login-wrapper {
            background-color: transparent;
        }

        .landing .top-wrapper.small-top .top {
            padding: 5px 0px;
            align-items: center;
        }

            .landing .top-wrapper.small-top .top .logo img {
                max-width: 180px;
            }

    .landing .top-wrapper .top .invalid-feedback {
        font-size: 10px;
        margin-top: 0px;
        color: #ffffff;
        position: absolute;
        bottom: -12px;
        background-color: #b10600;
        padding: 0px 10px;
        z-index: 100;
        text-align: center;
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;

        
    }

    .landing .top .login-wrapper {
        display: flex;
    }

    .mobile-login {
        display: none;
    }

    .xmas-rain1 {
        width: 18px;
        height: 18px;
    }

    .xmas-rain2 {
        width: 12px;
        height: 12px;
    }

    .xmas-rain3 {
        width: 10px;
        height: 10px;
    }
}

.mobile-login .input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    /*flex-wrap: wrap;*/
    flex-wrap: nowrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.mobile-login .input-group-prepend {
    display:flex;
    margin-right:-1px;
}


@media (min-width: 960px) {
    .landing {
        font-size: 22px;
    }

        .landing .logo img {
            /* max-width: 250px; */
            max-width: 280px;
        }

    .carousel-item {
        padding-top: 80px;
    }

        .carousel-item .banner-image {
            max-width: 600px;
        }

    .lobbyinner {
        max-width: 900px;
    }

    .lobby-wrap {
        top: -300px;
        margin-bottom: -300px;
    }

        .lobby-wrap:before {
            height: 200px;
            top: -190px;
        }

    .lobbyinner {
        padding-top: 320px;
        width: 80%;
    }

        .lobbyinner .lobby-item {
            height: 400px;
        }

            .lobbyinner .lobby-item .front .info {
                bottom: 0px;
                font-size: 1em;
                padding: 15px;
            }

            .lobbyinner .lobby-item .back {
                padding: 30px;
            }

                .lobbyinner .lobby-item .back h3 {
                    margin: 15px auto;
                }

    .feature-wrap {
        padding: 50px 0px 100px 0px;
        display: block;
    }

    .feature-item .icon {
        width: 15%;
    }

    .feature-item .feature-content {
        width: calc(100% - 20%);
    }

    .landing .footer {
        display: block;
        padding-top: 150px;
    }

        .landing .footer .tnc .tnc-content {
            width: calc(100% - 60px);
            padding-left: 10px;
        }

        .landing .footer .tnc .icon {
            width: 50px;
        }

    .join-us {
        padding-bottom: 150px;
    }

    .video-modal iframe {
        width: 750px;
        height: 450px;
    }

    .video-modal .modal-dialog {
        max-width: 750px;
    }

    .landing .footer .license,
    .landing .footer .tnc {
        display: block;
    }

    .switch-desktop {
        display: none;
    }

    .featureinner {
        display: flex;
    }

    /*euro count down*/
    .euro-logo {
        width: 110px;
    }

    .countdownHolder {
        font-size: 40px;
    }

    .position {
        height: 55px;
        width: 25px;
    }

    .countDiv {
        width: 25px;
        height: 55px;
    }

    .countdown-wrapper .date {
        font-size: 18px;
        line-height: 18px;
    }

    .countdown-info .text {
        width: 50px;
        font-size: 14px;
    }

    .countdown-info .space {
        width: 25px;
    }

    .landing .top {
        width: 100%;
    }

    .landing .top-wrapper.small-top .top {
        padding: 5px 50px;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .landing .top {
        padding: 30px 50px;
    }

    .landing .login-btn {
        padding: 0px 30px;
        font-weight: 600;
        height: 38px;
    }

    .carousel-item .banner-text {
        top: 90%;
    }

    .carousel-inner {
        height: 800px;
    }
}

@media (min-width: 1280px) {
    .carousel-inner {
        width: 85%;
    }

    .carousel-item {
        padding-top: 50px;
    }

        .carousel-item .banner-text {
            width: 50%;
            display: inline-block;
            text-align: left;
            top: 50%;
            left: 0px;
            right: auto;
            bottom: auto;
            transform: translateY(-50%);
            -webkit-transform: translateY(-50%);
        }

            .carousel-item .banner-text h1 {
                font-size: 1.5em;
            }

        .carousel-item .banner-image {
            width: 52%;
            max-width: 100%;
            position: relative;
            float: right;
            display: inline-block;
        }

    .lobby-wrap {
        top: -180px;
        margin-bottom: -180px;
    }

        .lobby-wrap:before {
            height: 280px;
            top: -270px;
        }

    .lobbyinner {
        max-width: 1000px;
        padding-top: 10px;
    }

        .lobbyinner .lobby-item {
            height: 500px;
        }

            .lobbyinner .lobby-item:hover .card-flip {
                -webkit-transform: rotateY(180deg);
                transform: rotateY(180deg);
            }

            .lobbyinner .lobby-item .back {
                display: block;
            }

                .lobbyinner .lobby-item .back .btn {
                    padding: 10px 30px;
                }

    .modal-dialog {
        max-width: 600px;
    }

    /*songkran banner*/
    #songkran.carousel-item .banner-text,
    #songkran.carousel-item .banner-text p {
        color: #000;
        text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.9);
    }
}

@media (min-width: 1460px) {
    .deco1,
    .deco2 {
        display: block;
    }

    .landing {
        font-size: 23px;
    }

    .carousel-item .banner-text h1 {
        font-size: 1.8em;
    }

    .lobby-wrap {
        top: -50px;
        margin-bottom: -50px;
    }
}

@media (min-width: 1460px) {
    .landing {
        font-size: 23px;
    }

    .carousel-item .banner-text h1 {
        font-size: 1.8em;
    }

    .lobby-wrap {
        top: -50px;
        margin-bottom: -50px;
    }
}

@media (min-width: 1920px) {
    .deco1,
    .deco2 {
        display: block;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fadeIn {
    animation: fade 1s alternate;
}

canvas#sky {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    place-items: center;
    display: grid;
    color: #fff;
}

.xmas-deco {
    top: -30px;
    position: absolute;
    right: -55px;
    width: 55px;
}

    .xmas-deco img {
        width: 100%;
    }

@media (min-width: 768px) {
    .xmas-deco {
        right: -80px;
        width: 80px;
    }
}

/* dragonboat*/

.dragonboat h1 {
    text-align: center;
}

    .dragonboat h1 img {
        width: 70%;
        max-width: 500px;
        margin: 0 auto;
    }

    .dragonboat h1.mobile {
        display: block;
    }

    .dragonboat h1.desktop {
        display: none;
    }

@media (min-width: 1280px) {
    .dragonboat h1.mobile {
        display: none;
    }

    .dragonboat h1.desktop {
        display: block;
    }

    .dragonboat p {
        color: #1e5b5c !important;
        text-align: center;
        text-shadow: none;
        font-size: 26px;
    }
}


.worldcup h1 {
    text-align: center;
}

    .worldcup h1 img {
        width: 70%;
        max-width: 250px;
        margin: -20px auto 0;
    }

.worldcup-timer {
    width: 100%;
    min-width: 300px;
    margin: 0px auto 20px;
    position: relative;
    display: block;
}

    .worldcup-timer .timer-logo {
        background-color: #970037;
        padding: 20px 80px 0px 80px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

        .worldcup-timer .timer-logo:after {
            background-image: url("../images/wordcup_deco_mobile.svg");
            content: "";
            background-size: 100%;
            background-position: right center;
            right: 0px;
            bottom: -30px;
            width: 100%;
            height: 30px;
            position: absolute;
        }

        .worldcup-timer .timer-logo img {
            max-width: 200px;
            margin: 0 auto;
        }

.worldcup-timer-wrapper {
    background-image: url("../images/worldcup_bg.jpg");
    background-size: cover;
    padding: 25px 0px;
    font-family: "Oswald", sans-serif;
}

    .worldcup-timer-wrapper h4 {
        margin-top: 15px;
    }

.worldcup-timer #timer {
    font-size: 2.2em;
    font-weight: 100;
    color: white;
    display: flex;
    width: 100%;
    max-width: 400px;
}

    .worldcup-timer #timer div {
        width: 25%;
        font-weight: bold;
        text-align: center;
    }

        .worldcup-timer #timer div span {
            color: #ffffff;
            font-size: 0.85rem;
            font-weight: 400;
            text-transform: uppercase;
            display: block;
        }

@media (min-width: 960px) {

    .rain-item {
        width: 25px;
        height: 25px;
    }

    .rain-item2 {
        width: 25px;
        height: 25px;
    }

    .rain-item3 {
        width: 25px;
        height: 25px;
    }

    .worldcup-timer {
        width: 100%;
        min-width: auto;
        max-width: 1000px;
        margin: 30px auto 80px auto;
        display: flex;
    }

    .worldcup-timer-wrapper h4 {
        margin-top: 0px;
        font-size: 1.8rem;
    }

    .worldcup-timer .timer-logo {
        width: 30%;
        padding: 30px;
    }


        .worldcup-timer .timer-logo img {
            max-width: 250px;
            margin: 0 auto;
        }

        .worldcup-timer .timer-logo:after {
            background-image: url(../images/landing/wordcup_deco.svg);
            content: "";
            background-size: 100%;
            background-position: right center;
            right: -50px;
            top: 0px;
            width: 50px;
            height: 100%;
            position: absolute;
            transform: rotate(0deg);
        }

    .worldcup-timer #timer {
        width: 100%;
        max-width: 400px;
        font-size: 2em;
    }

        .worldcup-timer #timer div span {
            font-size: 0.35em;
        }
}


@media (min-width: 1280px) {

    .worldcup-timer {
        width: 120%;
        min-width: auto;
        max-width: 1200px;
        margin: 30px -10% 80px -10%;
        display: flex;
    }

        .worldcup-timer #timer {
            font-size: 3em;
            max-width: 600px;
        }

    .worldcup h1 {
        text-align: left;
    }

        .worldcup h1 img {
            width: 70%;
            max-width: 450px;
            margin: 0 auto;
        }
}

.xmas-rain1 {
    width: 10px;
    height: 10px;
    position: absolute;
    background: url("../images/snow_flake.png");
    background-size: 100% 100%;
}

.xmas-rain2 {
    width: 8px;
    height: 8px;
    position: absolute;
    background: url("../images/snow_flake2.png");
    background-size: 100% 100%;
}

.xmas-rain3 {
    width: 5px;
    height: 5px;
    position: absolute;
    background: url("../images/snow_flake3.png");
    background-size: 100% 100%;
}

/*live22 banner*/
#live22.carousel-item .banner-image {
    max-width: 600px;
    bottom: -30px;
}

@media (min-width: 576px) {
    #live22.carousel-item .banner-image {
        max-width: 600px;
        bottom: -30px;
    }
}

@media (min-width: 768px) {
    #live22.carousel-item .banner-image {
        width: 90%;
        max-width: 800px;
        bottom: -30px;
    }
}

@media (min-width: 960px) {
    #live22.carousel-item .banner-image {
        width: 100%;
        max-width: 800px;
        bottom: 0px;
    }
}

@media (min-width: 1280px) {
    #live22.carousel-item .banner-image {
        width: 70%;
        max-width: 950px;
        bottom: -30px;
    }
}
