body{
	font: 12px 'Source Sans Pro', sans-serif, Meiryo, "Meiryo UI", "微軟正黑體", "Microsoft JhengHei" !important;
}

.main-header{
	background: #051C2D;
    color:#FFFFFF;
    position:fixed;
    height:60px;
    top:0;
    left:0;
    width:100%;
    z-index: 999;
    font-size:15px;
    font-weight: bold;
}

.menu div{
    float:left;
    width:11%;
    text-align:center;
}

.menu div.logo{
    float:left;
    width:11%;
    text-align:center;
    margin-top:-5px;
}

.menu div.logo img{
    max-height:40px;
}

.menu a, a:hover{
    text-decoration: none;
    color: #FFFFFF;
}

.menu{
    padding-top:15px;
}

h2{
    text-align:center;
}

.bg{
    background: F6F6F6;
    width:100%;
    min-height:100%;
    padding-top:50px;
}
@media (min-width: 300px) {
    .form{
        width:90%;
        margin: 50px auto;
        background: rgb(230, 228, 228);
        padding-bottom:15px;
        font-size: 15px;
    }
}
@media (min-width: 992px) { 
    .form{
        width:60%;
        margin: 50px auto;
        background: rgb(230, 228, 228);
        padding-bottom:15px;
        font-size: 15px;
    } 
}


.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.space{
    margin-top:15px !important;
}

.alert{
	border:red 1px solid !important;
	margin-bottom:0;
}

.error{
	color:red;
}

.btn-block{
    min-width:80px;
}

.menu_right{
    text-align:right;
    padding-top:15px;
}

.menu_right a, a:hover{
    text-decoration: none;
    color: #FFFFFF;
}

.menu_right div{
    float:right;
    width:25%;
    text-align:center;
}

.menu_right div.back{
    float:right;
    width:35%;
    text-align:center;
}
.login-title {
    font-size: 25px;
    text-align: center;
    margin-top: 25px;
    font-weight: bold;
}
.login{
	width: 360px;
	padding: 20px;
	margin: 50px auto;
	background:#FFFFFF;
}

.fit{
    padding-left:0;
    padding-right:0;
}

.intro{
    background-image: url('/resources/images/intro.png');
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    width: 100%;
    height: 610px;
    margin-left: auto;
    margin-right: auto;
}

.login-dialog{
    background: rgba(0,0,0,0.3);
    position:fixed;
    z-index: 50;
    width:100%;
    height:100%;
    display:none;
}

.login_frame{
    margin: 8% auto;
    background: #FFFFFF;
    border: #CCCCCC solid 1px;
    width: 500px;
    min-height: 300px;
    padding:15px;
}

.login_frame p{
    text-align: center;
} 
.login_frame .title{
    text-align: center;
    margin-top:20px;
}
.login_frame .error{
    color:red;
    display:none;
}

.reg_frame{
    margin: 8% auto;
    background: #FFFFFF;
    border: #CCCCCC solid 1px;
    width: 500px;
    height: 400px;
    padding:15px;
    overflow-y: auto;
    display:none;
}

.reg_frame p{
    text-align: center;
} 
.reg_frame .title{
    text-align: center;
    margin-top:20px;
}

.reg_frame .space{
    margin-top:20px !important;
}

.esc{
	float:right;
    margin-right:-30px;
    margin-top:-30px;
}

.pwd{
    text-align:right;
}

#login, #esc{
    cursor: pointer;
}