/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }

* {
    font-family: 'Roboto', sans-serif;
}

html {
    width: 100%;
    height: 100%;    
}
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-img {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url(/image/background_1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.9);
    z-index: -1;
}
p {
    margin: 5px 0;
}

a{
    text-decoration: none;
    color: #a7e3fe;
}
.main-frame{
    display: flex;
    flex-direction:column;
    align-items: center;
    width: 80%;
    max-width: 600px;
    height: auto;
    background: rgba(0, 0, 0, 0.65);
    filter: brightness(0.9);
    color: white;
    border-radius: 10px;
    /*box-shadow: 3px 3px 7px 1px #bbb;*/
}
.header{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
}
.logo{
    width: auto;
    height: 50px;
    margin: 15px;
}
.logo > img{
    width: inherit;
    height: inherit;
}
.content{
    width: 100%;
    height: auto;
}
.description{
    padding: 10px;
    text-align: center;
}
.text{
    padding: 10px;
}
.text.title{
    font-size: 36px;
}
.text.sub{
    font-size: 20px;
}
.form{
    width:100%;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.form-frame{
    width:80%;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.user-info{
    width:100%;
    padding: 10px 0;
}
.input-item {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

    .input-item.error > span {
        display: block !important;
        color: #ff2e2e;
    }

    .input-item.error > input{
        border-color: #ff2e2e;
    }
    .input-item > span {
        color: #3aaee0bd;
        position: absolute;
        left: 10px;
    }
        .input-item > span.err {
            right: 10px;
            left: calc(100% - 34px);
            display: none;
        }

    .input-item > span.err.show {
    }
.label{
    text-align: left;
    width: 80px;
    font-weight: bold;
}
.mail-value{
    padding-left : 0;
}
.button-area{
    width: 100%;
    height: 50px;
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}
.btn{
    width: 100%;
    height: 40px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #3AAEE0;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    color: white;
    cursor: pointer;
}
.btn:hover{
    background: #2ca3d7;
}
.btn.signup{
    background: #27d662;
}
.btn.signup:hover{
    background: #21bd55;
}
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer a{
    padding-top: 5px;
}
.comp-info{
    font-size: 12px;
    padding-bottom: 10px;
}

.inputlabel{
    font-size: 16px;
    margin: 0 0 5px 3px;
    text-align: left;
}
.inputbox{
    font-size: 16px;
    width: calc(100% - 22px);
    height: 30px;
    border: 1px solid #3AAEE0;
    border-color: #3AAEE0;
    border-radius: 5px;
    padding: 5px 10px 5px 40px;
}
.inputbox:focus{
    outline: 1px solid #2ca3d7;
}

.input-item.error > .inputbox:focus{
    outline-color: #ff2e2e;
}
.inputbox:focus .user-info > span{
    color: #2ca3d7;
}
.remember{
    display: flex;
    align-items: center;
}
input[id="chkRemember"]{
    display: none;
}
input[id="chkRemember"] + .custom-checkbox{
    border: 1px solid #aaa;
    border-radius: 3px;
    margin-right: 10px;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
input[id="chkRemember"]:hover + .custom-checkbox{
    border-color: #2685ad;
}
.custom-checkbox > div{
    display: none;
}
input[id="chkRemember"]:checked + .custom-checkbox > div {
    display: block;
    width: 16px;
    height: 16px;
    background: url('/image/check_icon.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
}

.error-msg {
    display: none;
    padding-top: 5px;
    padding-right: 10px;
    text-align: right;
    color: #fff;
    font-size: 12px;
}

.error-msg.show {
    display: block;
}
.panel{
    display: flex;
    padding: 30px;
    padding-bottom: 0;
    justify-content: center;
    animation: fadeInFromNone 0.5s ease-out;
}
.panel.hide{
    display: none;
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}