﻿body {
    background-repeat: repeat;
    height: 100%;
    margin: 0;
}

canvas {
    cursor: pointer;
}

#titleTextBlock {
    font-size: 2.813em;
    font-weight: bold;
    color: #0064c8;
    padding-left: 10%;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

.loginButton {
    font-size: 1.7em;
    margin-right: 5%;
    float: right;
    height: 95%;
    border-radius: 5px;
}

#exitCheck {
    display: inline-block;
    font-weight: bold;
    font-size: 2em;
    line-height: 1em;
    margin-right: auto;
    margin-left: auto;
    margin-top: 3%;
    margin-bottom: 5%;
    padding: 0.5em;
}

.bannerSlider {
    width: 100%;
    margin: 0 auto;
    margin-top: 3%;
}

.bannerSlideItem {
    padding: 5px;
}

.bannerSlider img {
    width: 100%;
}

.bannerSlider .slick-track {
    margin: 0 auto;
}

@media screen and (min-width: 769px) { /*pad*/
    .loginButton {
        width: 3.3em;
        font-size: 1.8em;
    }

    @media screen and (width: 1024px) {
        #padBtn {
            width: 100%;
        }
    }
}

@media only screen and (max-width: 768px) { /*phone*/
    .loginButton {
        width: 3.3em;
        font-size: 2.2em;
    }
}


/***************wellcome page layout*********************/
#blackMask {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: black;
    opacity: 0.7;
    z-index: 4;
    display: none;
    top: 0;
    left: 0;
}

#wPage {
    display: none;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
}

#wellcomeBlk {
    position: absolute;
    z-index: 5;
    width: calc(100vw * 0.65);
    height: calc((100vw * 0.65) / 1.333);
    left: calc((100vw - (100vw * 0.65)) * 0.5);
    top: calc((100vh - (100vw * 0.65 /1.333)) * 0.5);
    display: none;
}

#wellcomeInfo {
    height: 100%;
    max-width: 80%;
    position: absolute;
    left: 10%;
    top: 8%;
    text-align: center;
    font-weight: bold;
    color: #333;
    line-height: 1em;
    font-size: calc(100vw * 0.034);
}

.wellcomePageSmallFont {
    font-size: 0.8em;
}

.wellcomePageTextLeft {
    text-align: left;
    font-size: 0.8em;
}

#wellcomeInfo span {
    color: red;
}

.wellcomeTitle {
    font-size: 0.8em;
    margin-bottom: 4%;
}

#skipBtn {
    position: absolute;
    z-index: 5;
    display: none;
    font-size: calc(100vw * 0.034);
    bottom: 20%;
    color: white;
    background-color: black;
    opacity: 0.7;
    right: 0;
    text-align: center;
    border-top-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    font-weight: bold;
    cursor: pointer;
}

@media only screen and (min-width: 1024px) {
    #wellcomeBlk {
        width: calc(1024px * 0.65);
        height: 511px;
        left: calc((100vw - (1024px * 0.65)) * 0.5);
        top: calc((100vh - (1024px * 0.65 /1.333)) * 0.5);
    }

    #wellcomeInfo {
        font-size: 35px;
    }

    #skipBtn {
        font-size: calc(1024px * 0.034);
    }
}

.slick-dots {
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.slick-dots li.slick-active button:before {
    color: #ffffff;
    opacity: 1;
}

.slick-dots li button:before {
    color: #123051;
    opacity: 1;
}

.slick-dots {
    border-bottom-left-radius: 1.3em;
    border-bottom-right-radius: 1.3em;
}

.wellcomeImg,
.wellcomeImg:active {
    border-top-left-radius: 1.3em;
    border-top-right-radius: 1.3em;
    border-bottom-left-radius: 1.3em;
    border-bottom-right-radius: 1.3em;
    border-bottom: solid #00399f 0.95em;
}

.slick-dots li {
    height: auto;
}

.slick-dots li button:before {
    top: 17%;
}

/***************wellcome page phone layout******************/

@media only screen and (max-width: 767px) { /*phone*/
    #wellcomeBlk {
        width: calc(100vw * 0.89);
        height: calc((100vw * 0.89) / 1.333);
        left: calc((100vw - (100vw * 0.89)) * 0.5);
        top: calc((100vh - (100vw * 0.89 /1.333)) * 0.5);
    }

    #wellcomeInfo {
        font-size: calc(100vw * 0.046);
    }

    #skipBtn {
        font-size: calc(100vw * 0.046);
    }
}

/*********Google Ad**************/

.googleAdHorizWrapper {
   margin: 0 auto;
}

.googleNativeAd .adsbygoogle {
    width: 100%;
    margin-left: -8px !important;
}