﻿* {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft JhengHei', sans-serif;
}

#wrapper {
    width: 90%;
    height: 99vh;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    padding: 5px;
    margin: 0 auto;
    background: #006666;
}

.lang-select {
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#lang_panel{
    display:inline-block;
}


#login_panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 60%;
    height: auto;
    max-width: 800px;
    padding: 20px;
    background: #fff;
    border: solid 1px #CCC;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-top: 5px solid #ffcc99;
    border-bottom: 5px solid #ffcc99;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


.btn-login {
    width: 100%;
    height: 40px;
    background-image: linear-gradient(135deg, #0ed3ee 40%, #10f8b1);
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #f77d7d;
    color: #fff !important;
    font-weight: bold;
    font-size: 14px;
    font-family: Montserrat;
    outline: none;
    cursor: pointer;
}

    .btn-login:hover {
        background-image: linear-gradient(135deg, #f77d7d 40%, #fc884d);
    }

    .btn-login:active {
        background-image: linear-gradient(135deg, #f34079 40%, #fc894d);
        box-shadow: 2px 2px 5px #fc894d;
        transform: translateY(4px);
    }

.txtbox {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    font-size: 14px;
    font-family: Montserrat;
    padding: 0 20px 0 50px;
    outline: none;
    font-weight: bold;
}

input:focus {
    box-shadow: none;
    outline: none;
    border: 2px solid #f38f4c
}

input#username {
    background: #fff url('../images/u0XmBmv.png') 20px top no-repeat;
    background-size: 16px 80px;
}

input#password {
    background: #fff url('../images/Qf83FTt.png') 20px top no-repeat;
    background-size: 16px 80px;
}

#login_title {
    color: #f34079;
    font-weight: bold;
    font-size: 1.2em;
    padding: 5px;
}

.flex {
    display: flex;
    gap: 10px;
    flex-flow: row wrap;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
    text-align: center;
    list-style: none;
}

#login_pic {
    padding: 10px;
}


#login_form {
    padding: 10px;
}

@media (max-width: 480px) {
    #login_pic {
        padding: 15px;
        display: none;
    }

    #login_form {
        width: 100%;
        display: block;
        padding: 0px;
    }

    #login_panel {
        width: 80% !important;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (min-width: 480px) and (max-width: 1024px) {
    #login_pic {
        display: none;
    }

    #login_form {
        width: 100%;
        display: block;
        padding: 0px;
    }

    #login_panel {
        width: 80% !important;
        padding-left: 5px;
        padding-right: 5px;
    }
}


@media (min-width: 1025px) and (max-width: 1278px) {
    #login_pic {
        display: none;
    }

    #login_form {
        width: 100%;
        display: block;
        padding: 0px;
    }
}
