@charset "UTF-8";

/*共通部分r*/
html {
    height: 100%;
}
body {
    font-family: 'Noto Sans SC', sans-serif;
    font-family: 'Varela Round', sans-serif;
    color: rgb(39, 39, 39);
    background-color: #f4f5f8;
    margin: 0; 
    padding: 0;
    min-height: 100%;
    position: relative;
}

/*header*/
header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    background-color: #fff;
}
.title {
    display: flex;
    vertical-align: middle;
}
.title img {
    width: 225px;
    height: 75px;
    vertical-align: middle;
}
.list {
    width: 170px;
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
}
.list img {
    height: 46.5px;
    width: 35px;
}
h1 {
    text-align: center;
    font-size: 2rem;
}
h2 {
    margin-left: 20px;
}
a { 
    color: #039;
    text-decoration: underline;
}

/*Sitename*/
#sitename {
    background: #ffffff;
    padding: 6px 15px;
    font-size: 0.8em;
    line-height: 1;
    border-top: 2px solid rgb(255, 0, 0);
    border-bottom: 2px solid rgb(255, 0, 0);
    display: flex;
    justify-content: center;
}
#sitename a {
    color: rgb(255, 0, 0);
    font-weight:bolder;
    text-decoration:underline;
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
}
#sitename img {
    vertical-align: middle;
}

/*Section*/
input[type=text],input[type=password] {
    min-height: 44px;
    width: 90%;
    border: solid 1px rgba(33, 35, 38, 0.2);
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 16px;
    line-height: 22px!important;
    padding: 5px 15px;
    border-radius: 10px;
}
button {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    min-width: 335px;
    max-width: 335px;
    background: #0650cb;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.1;
    border: none;
    border-radius: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    padding: 10px 15px;
    margin-top: 35px;
}
.form-group {
    text-align: center;
    margin-bottom: 10px;
}
.alliance-list {
    display: flex;
    justify-content:space-around;
}
.alliance-list h5{
    font-size: 10px;
}
.country {
    max-width: 120px;
    text-align: center;
}
.country img {
    width: 70px;
    height: 70px;
}
.button {
    display: flex;
    justify-content: center;
}
section {
    padding: 25px;
    padding-bottom: 100px;
}
div.wrap{
    margin: 1px auto;
    display: flex;
    justify-content: center;
}
span.help-block{
    display: flex;
    justify-content: center;
    color: red!important;
    display: none;
}
.register {
    display: flex;
    justify-content: center;
}

/*Register*/
#choose {
    max-width: 300px;
    max-height: 300px;
    padding: 15px;
    border: 1px solid #0650cb;
}

/*Code*/
.covid-190 {
    color: rgb(1, 205, 137);
    font-size: 75px;
}

.covid-191 {
    color: rgb(205, 38, 1);
    font-size: 75px;
}

.covid-192 {
    color: rgb(255, 166, 0);
    font-size: 75px;
}
.time {
    display: flex;
    justify-content: center;
}

/*下拉菜單*/
ul { /* 取消ul預設的內縮及樣式 */
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.drop-down-menu {
    border: #ccc 1px solid;
    display: inline-block;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
}
ul.drop-down-menu li {
    position: relative;
    white-space: nowrap;
    border-right: #ccc 1px solid;
}
ul.drop-down-menu > li:last-child {
    border-right: none;
}
ul.drop-down-menu > li {
    float: left; /* 只有第一層是靠左對齊*/
}
ul.drop-down-menu a {
    background-color: #fff;
    color: #333;
    display: block;
    padding: 0 30px;
    text-decoration: none;
    line-height: 40px;
}
ul.drop-down-menu a:hover { /* 滑鼠滑入按鈕變色*/
    background-color: #0650cb;
    color: #fff;
}
ul.drop-down-menu li:hover > a { /* 滑鼠移入次選單上層按鈕保持變色*/
    background-color: #0650cb;
    color: #fff;
}
ul.drop-down-menu ul {
    border: #ccc 1px solid;
    position: absolute;
    z-index: 99;
    left: -1px;
    top: 100%;
    min-width: 180px;
}
ul.drop-down-menu ul li {
    border-bottom: #ccc 1px solid;
}
ul.drop-down-menu ul li:last-child {
    border-bottom: none;
}
ul.drop-down-menu ul ul { /*第三層以後的選單出現位置與第二層不同*/
    z-index: 999;
    top: 10px;
    left: 90%;
}
ul.drop-down-menu ul { /*隱藏次選單*/
        display: none;
    }
ul.drop-down-menu li:hover > ul { /* 滑鼠滑入展開次選單*/
        display: block;
    }

/*Footer*/
.footer {
    background-color: #022555;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 12px;
    width: 100%;
    position: absolute;
    bottom: 0;
}
.footer p {
    color: #fff;
}
.title a{
    color: #000;
    text-decoration: none;
}

/*Mobile*/
@media (max-width: 500px) {
    h2 {
        font-size: 20px;
    }
    .title img {
        width: 190px;
        height: 70px;
    }
    .list {
        width: 100px;
        display: flex;
        justify-content: space-between;
    }
    ul.drop-down-menu a {
        background-color: #fff;
        color: #333;
        display: block;
        padding: 0 12px;
        text-decoration: none;
        line-height: 40px;
    }
}