@charset "UTF-8";

.container {
    zoom: 1;
}

.container:before,
.container:after {
    content: '';
    display: block;
}

.container:after {
    clear: both;
}

* {
    --c-main: #002a8b;
    --c-main-dark: #00195b;
    --c-secondary: #04d3c8;
    position: relative;
    box-sizing: border-box;
}

body {
    font-family: Arial, Microsoft JhengHei;
    background: url(../img/mainbg.jpg) repeat-x top center;
}

main {
    margin-top: -10px;
}

img {
    max-width: 100%;
    height: auto !important;
    margin: 0 auto;
    display: table;
}

a {
    display: block;
    text-decoration: none;
}

.unreset a {
    display: inline;
}

.max-w {
    /* max-width: 1400px; */
    width: 100%;
    margin: 0 auto;
}

.max-w.body {
    width: 100%;
    height: auto;
    display: block;
    background: url(../img/bgfix.png) right top 80%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 20px;
}

.bodyinnerwrapper {
    background: rgba(255, 255, 255, 0.85);
    max-width: 1440px;
    margin: 0 auto;
    border-radius: 10px;
    -webkit-box-shadow: -1px -4px 22px 5px rgba(0, 0, 0, 0.29);
    -moz-box-shadow: -1px -4px 22px 5px rgba(0, 0, 0, 0.29);
    box-shadow: -1px -4px 22px 5px rgba(0, 0, 0, 0.29);
}

.container {
    max-width: 1185px;
    width: 100%;
    margin: 0 auto;
}

header {
    width: 100%;
    height: auto;
    display: block;
    background-repeat: no-repeat;
    padding-top: 35px;
    /* background: rgba(255,255,255,0.8); */
}

.logo {
    max-width: 840px;
    width: 80%;
    /* margin-left: 30%; */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.slide_menu {
    display: none;
}

nav {
    z-index: 2;
}

nav>ul {
    text-align: justify;
    border-bottom: solid 2px #333;
    max-height: 30px;
}

nav>ul:after {
    content: '';
    display: inline-block;
    width: 100%;
}

nav>ul>li {
    display: inline-block;
    text-align: center;
    list-style-type: none;
}

nav>ul>li.active>a {
    color: var(--c-secondary);
    font-weight: bold;
}

nav>ul>li:after {
    content: "˅";
    display: block;
    color: #222a84;
    position: absolute;
    top: 1px;
    right: 0;
}

nav>ul>li.noAw:after {
    display: none;
}

nav>ul>li>a {
    font-size: 17px;
    color: black;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
}

nav>ul>li>a:hover {
    text-decoration: underline;
}

.sub_menu {
    position: absolute;
    top: 24px;
    left: 0;
    background-color: white;
    min-width: 185px;
    width: 100%;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    display: none;
}

.sub_menu li {
    margin-left: 10px;
    margin-right: 10px;
}

.sub_menu li a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    border-bottom: dashed 1px grey;
    color: black;
    text-align: left;
    font-size: 14px;
    color: black;
    line-height: 20px;
}

.sub_menu li a:hover {
    color: var(--c-main);
}

.sub_menu li:last-child a {
    border-bottom: none;
}

footer {
    background: linear-gradient(0deg, #353535 0, #5C5C5C 100%);
}

footer .container {
    display: flex;
    flex-wrap: wrap;
}

footer h4 {
    font-size: 20px;
    line-height: 22px;
    color: var(--c-secondary);
    font-weight: normal;
}

footer p {
    padding-top: 15px;
    font-size: 14px;
    color: #fff;
}

footer .contact,
footer .weather,
footer .organized,
footer .interested {
    width: 100%;
    min-height: 230px;
    float: left;
    margin-top: 50px;
    padding-top: 15px;
    padding-left: 35px;
    padding-bottom: 20px;
    min-height: 250px;
    border-right: solid 1px #7c7c7c;
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
}

footer .contact {
    max-width: 270px;
    padding-left: 0;
    border-left: none;
}

footer .weather {
    max-width: 230px;
}

footer .weather .data {
    padding-top: 40px;
}

footer .weather .data img {
    float: left;
    margin-right: 25px;
}

footer .weather .data .location {
    font-size: 16px;
}

footer .organized {
    max-width: 270px;
}

footer .organized img {
    padding-top: 30px;
    margin-left: 0;
}

footer .interested {
    width: calc(100% - 270px - 230px - 270px);
    border-right: none;
    padding-right: 15px;
}

footer .interested p {
    padding-bottom: 15px;
}

footer .interested input[type="text"],
footer .interested input[type="email"] {
    width: 100%;
    background-color: #d8d8d8;
    border: solid 1px #b5b5b5;
    border-radius: 5px;
    height: 30px;
    margin-bottom: 10px;
    padding: 10px 15px;
    outline: none;
}

footer .interested input[type="submit"] {
    font-size: 16px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    width: 143px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-radius: 5px;
    background-color: var(--c-main);
    border: none;
    box-shadow: 0 -2px 1px var(--c-main-dark) inset;
    font-family: Myriad Pro;
    cursor: pointer;
    outline: none;
}

footer .interested input[type="submit"]:hover {
    background-color: var(--c-main-dark);
}

footer .right {
    text-align: center;
    padding-top: 13px;
    padding-bottom: 43px;
    border-top: solid 1px #7c7c7c;
}

footer .right span {
    color: #d4d4d4;
    font-size: 12px;
}

footer .right .author {
    font-size: 10px;
    color: #a2a2a2;
    padding-left: 10px;
}

footer .right .author a {
    display: inline-block;
    color: #a2a2a2;
    padding-left: 5px;
}

.foreignMember {
    width: 100%;
    margin-bottom: 30px;
}

.foreignMember .memberCountry {
    margin: 0 !important;
    background-color: #033651;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 10px;
}

.foreignMember .memberList {
    display: flex;
    flex-wrap: wrap;
}

.memberItem {
    width: calc(100% / 2);
    border: solid 1px #ddd;
    border-top: none;
    padding: 10px;
    font-size: 16px;
    color: #000;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.memberItem:nth-child(2n) {
    border-left: none;
}

.memberItem:nth-child(1),
.memberItem:nth-child(2) {
    border-top: solid 1px #ddd;
}


@media screen and (max-width: 1400px) {
    .logo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 1280px) {
    .container {
        width: calc(100% - (30px * 2));
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media screen and (max-width: 1200px) {
    .logo {
        margin-bottom: 20px;
    }

    .slide_menu {
        display: block;
    }

    .close {
        cursor: pointer;
        width: 30px;
        height: 30px;
        position: absolute;
        top: 0;
        right: 20px;
        cursor: pointer;
        z-index: 3;
    }

    .close:hover span {
        background-color: black;
    }

    .close span {
        width: 30px;
        height: 2px;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        transition: 0.3s;
    }

    .open {
        position: absolute;
        top: 15px;
        left: 0;
        z-index: 2;
        padding: 5px 7px 4px;
        background-color: #003754;
        color: white;
        cursor: pointer;
        width: 65px !important;
        text-align: center;
        border-radius: 3px;
        transition: 0.3s;
    }

    .open:hover {
        background-color: #2e90bf;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .close span:nth-child(1) {
        top: 23px;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .close span:nth-child(2) {
        top: 20px;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .menu_title {
        font-size: 20px;
        font-weight: bold;
        font-family: Verdana;
        color: #003754;
        text-align: center;
        margin: 10px 0;
    }

    nav.container {
        width: 300px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: -300px;
        background-color: #FFF;
        margin-left: 0;
        padding: 50px 20px 0;
        transition: 0.4s;
        display: none;
    }

    nav.container.active {
        left: 0;
        display: block;
    }

    nav.container>ul {
        border-bottom: none;
    }

    nav.container>ul>li {
        display: block;
        border-bottom: solid 1px black;
    }

    nav.container>ul>li:after {
        top: 10px;
    }

    nav.container>ul>li:last-child {
        border-bottom: none;
    }

    nav.container>ul>li>a {
        padding: 13px 0;
    }

    .sub_menu {
        box-shadow: none;
        position: relative;
        top: 0;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .sub_menu li a {
        text-align: center;
    }

    footer .contact,
    footer .weather,
    footer .organized {
        max-width: 33.33%;
        min-height: 175px;
        margin-top: 35px;
    }

    footer .organized {
        border-right: none;
    }

    footer .interested {
        width: 100%;
        border-left: none;
        border-top: solid 1px #7c7c7c;
        padding-left: 0;
        padding-right: 0;
        padding-top: 35px;
        padding-bottom: 30px;
        min-height: auto;
        margin-top: 0;
    }

    footer .interested input[type="text"],
    footer .interested input[type="email"] {
        width: calc((100% - 140px - (20px * 2)) / 2);
        height: 46px;
        vertical-align: middle;
        margin-right: 15px;
    }

    footer .interested input[type="submit"] {
        vertical-align: top;
        width: 140px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: calc(100% - (15px * 2));
        margin-left: 15px;
        margin-right: 15px;
    }

    footer .contact {
        max-width: 100%;
        border-right: 0;
        padding-left: 35px;
        margin-top: 0;
        padding-top: 35px;
        padding-bottom: 25px;
    }

    footer .weather,
    footer .organized {
        max-width: 50%;
        margin-top: 0;
        padding-top: 25px;
        padding-bottom: 25px;
        border-top: solid 1px #7c7c7c;
    }

    footer .weather {
        border-left: none;
    }
}

@media screen and (max-width: 640px) {

    footer .interested input[type="text"],
    footer .interested input[type="email"] {
        width: 100%;
    }

    .container {
        width: calc(100% - (15px * 2));
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding-top: 60px;
    }

    .logo {
        margin-bottom: 0;
        width: 90%;
    }

    footer .weather,
    footer .organized {
        max-width: 100%;
    }

    footer .weather {
        border-right: none;
    }

    footer .organized {
        border-left: none;
    }
}