﻿/* It is not a Roboto font, but Avenir for Chinese */
/*@font-face {
    font-family: "RobotoMultiLangauge";
    src: url("../assets/font/AdobeHeitiStd-Regular.otf") format("opentype");
    unicode-range: U+4E00-9FFF, U+3400-4DBF;
}*/

/* Global Layout Formatting */
html, body {
    height: 100%;
    margin: 0;
}

body {
    color: white;
    font-family: 'Roboto';
    font-weight: 400;

    font-size: 24px;

    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
}

body.language_zh_CN {
    /* Chinese Translation, date and time, GPKPLAYER in all page AvenirNextLTPro-Demi */
    font-family: Arial, "Microsoft Yahei";
}

main {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    min-height: 100%;
    background-color: #262626;
}

header, footer {
    background-color: #181818;
    z-index: 100;
}

footer {
    font-family: "Avenir Next LT Pro Demi";
}

footer > span:last-child {
    font-family: "Avenir Next LT Pro";
}

header {
    min-height: 5em;
    display: flex;
    justify-content: center;
}

header > .container,
header > .container-fluid{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.full-width {
    width: 100%;
}

.back-button {
    position: absolute;
    left: 0em;
    background: #262626;
    padding: 9px 15px 12px 12px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    top: 25%;
}

.back-button > img {
    width: 18px;
}

header h3,
header h5 {
    text-align: center;
    font-weight: 400;
}

header h3 {
    font-size: 1.6em;
    color: #ffcb05;
    padding-top: 5px;
}

header h5 {
    font-size: 1.08em;
    color: #cdcdcd;
    margin-top: -9px;
}

.close-button {
    background: #262626;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 10px 10px 9px;

    position: absolute;
    right: 15px;
}

.close-button > img {
    width: 30px;
}

.back-button.move-down,
.close-button.move-down {
    top: 115%;
    background: #181818;
}

section {
    flex-grow: 1;
    background-color: #262626;
    padding-top: 3em;
    margin-bottom: 30px;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #3E3E3E #262626;

    /* Microsoft */
    -ms-scrollbar-face-color: #3E3E3E;
    -ms-scrollbar-arrow-color: #3E3E3E;
    -ms-scrollbar-highlight-color: #3E3E3E;

    -ms-scrollbar-track-color: #262626;
    -ms-scrollbar-base-color: #262626;
    -ms-scrollbar-shadow-color: #262626;
}

section::-webkit-scrollbar
{
    width: 5px;
}

section::-webkit-scrollbar-track,
section::-webkit-scrollbar-track-piece {
    background-color: #262626;
}

section::-webkit-scrollbar-thumb {
    background-color: #3E3E3E;
    outline: none;
}

section div.container {
    display: flex;
    justify-content: center;
    min-height: 100%;
}

/* Global Input / Button Formatting */
form {
    margin-right: 1%;
    margin-left: 3%;
    padding-bottom: 13px;
}

.row, label {
    margin: 0;
}

input, select, button {
    border: none;
    border-radius: 30px;
    width: 21vw;
    padding: 0.2em 0;
}

input, select {
    padding-left: 0.7em;
    background-color: #151515;
    color: white;
    font-weight: 600;
    font-size: 1.027em;
}

.icon {
    position: absolute;
    font-size: 1.2em;
    top: 50%;
    transform: translateY(-52%);
    right: 0.6em;
}

.fa-calendar {
    color: #e9b904;
}

button[type="submit"] {
    background-color: #e9b904;
    border: 1px solid  #e9b904;
}

.highlight-color {
    color: #e9b904;
}

.highlight-color:hover {
    color: #a07e00;
}

.highlight-bgcolor {
    background-color: #e9b904;
}

.highlight-bgcolor:hover {
    background-color: #a07e00;
}

button[type="submit"]:hover {
    transition-duration: 0.25s;
    opacity: 0.9;
}

.btn-link,
.btn-link:hover,
.btn-link:visited,
.btn-link:focus,
.btn-link:link,
.btn-link:active{
    text-decoration: none;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

/* Full Screen Modal */
.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 200;
    overflow: hidden;

    -webkit-transition: opacity 200ms ease-in;
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in;

    opacity: 0;
    pointer-events: none;

    background: rgba(0, 0, 0, .65);
    background-blend-mode: darken;
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    position:absolute;
    right:0px;
    bottom:0px;
    left:0px;

    min-height: 30px;
    padding: 0 50px;
    font-size: 16px;
    line-height: 2.5em;
    color: #8c8c8c;
    overflow:hidden;
}

@media (max-width: 767px) {
    body {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 18px;
    }

    input, select, button {
        width: 27.5vw;
    }

    input, select {
        padding: 0.3em 0 0.3em 0.7em;
    }

    button {
        padding: 0.3em 0;
    }

    section {
        bottom: 25px;
    }

    footer {
        min-height: 25px;
    }

    .back-button {
        transform: scale(0.7) !important;
    }

    .close-button {
        transform: scale(0.7) !important;
    }

}

@media (max-width: 420px) {
    body {
        font-size: 14px;
    }

    section {
        padding-top: 3em;
        bottom: 20px;
    }

    form {
        padding-bottom: 18px;
    }

    footer {
        font-size: 12px;
        min-height: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 375px) {
    body {
        font-size: 12px;
    }
}

/* Extra large mobiles like Galaxy S9+ */
@media (min-width: 1200px) {

    header > .container,
    header > .container-fluid {
        margin-right: 16px;
        margin-left: 16px;
    }

    body {
        font-size: 26px;
    }
}

@media (max-width: 1200px) {
    input, select, button {
        width: 20vw;
    }
}
