﻿@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    border: 0;
}
/*body{font:14px/1.5 '微软雅黑';background:#f9f9f9;}字型:微軟正黑體 Regular大少: 21pt*/
html {
    height:100%
}
body {
    height:100%;
    font: 14px/1.5 'Noto Sans HK', sans-serif;
    overflow: hidden;
 	background-size:cover;
	background-attachment: fixed;
	background-repeat:no-repeat;
}

a {
    color: #00007F;
    text-decoration: none;
}

a:hover {
    color: #bd0a01;
    text-decoration: underline;
}

.imgdiv {
    border:0;
    width:100%;
    height:100%; 
}

.admin_login_wrap {
    position: absolute;
    top: 48%;
    left: 78%;
    /*width: 456px;*/
    width: 320px; 
    /*width:30%;*/
    /*height: 490px;*/
     height: 420px;
    /*height:60%;*/
    background-color:white;
    /*margin: -245px 0 0 -228px;*/
    margin: -225px 0 0 -190px;
    /*margin:-30% 0 0 -15%;*/
    border-radius:0px;
    
    background: rgba(255,255,255,.5);
    padding: 8px;

    
}
.admin_login_wrap_in {
    background:#fff;
    height:420px;
}

.admin_items {
    width: 100%;
}

.admin_items li {
    text-align: center;
    line-height: 40px;
    margin: 0 auto;
    margin-bottom: 5px;
    list-style: none;
    clear: both;
}

.admin_input label {
    display: block;
    margin-bottom: 5px;
}

.imgli img{
    margin: 10px 0px 5px;

}
.admin_style {
    /*font-size: 20px;*/
    font-size: 16px;
    border-bottom: 1px solid #e6e6e6;
    background:url(../img/user_new.png) 8% 50% no-repeat;
    /*background-size:100% 100%;*/
    padding: 3px;
    padding-left: 60px;
    line-height: 30px;
    font-family: 'Noto Sans HK', sans-serif;
    color: #666;
    /*border-radius: 5px;*/
    transition-duration: 0.3s;
    /*width: 220px;
    height: 30px;*/
    width: 180px;
    height: 25px;
    background-size:18px 21px;
}

.admin_style:focus {
    /*border-color: rgba(82, 168, 236, 0.8);*/
    /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);*/
    background: url(../img/user_new_active.png) 8% 50% no-repeat;
    /*background-size:55px 40px;*/
    background-size:18px 21px;
}

.password_style {
    /*font-size: 20px;*/
    font-size: 16px;
    border-bottom: 1px solid #e6e6e6;
    background: url(../img/pwd_new.png) 8% 50% no-repeat;
    padding: 3px;
    padding-left: 60px;
    line-height: 30px;
    font-family: 'Noto Sans HK', sans-serif;
    color: #666;
    /*border-radius: 5px;*/
    transition-duration: 0.3s;
    /*width: 220px;
    height: 30px;*/
     width: 180px;
    height: 25px;
     background-size:18px 21px;
}

.password_style:focus {
    /*border-color: rgba(82, 168, 236, 0.8);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);*/
    background: url(../img/pwd_new_active.png) 8% 50% no-repeat;
    background-size:18px 21px;
}

.input_code {
    border: 1px solid #e6e6e6;
    background: #fff;
    padding: 3px;
    height: 30px;
    line-height: 30px;
    /*font-family: Arial;*/
    color: #666;
    border-radius: 5px;
    transition-duration: 0.3s;
    width: 40px;
}

.subli {
    height: 81px;
    
    margin-top: 10px!important;
}

#btnLogin {
    width:245px;
    margin-left:5px;
    border:none;
    background:#ff8940;
    border-radius:25px;
    font-size:16px;
    margin-top:20px;
}

#msg {
    display:inline-block;
    color: red;
    margin-top:15px;
}

.btn {
    display: inline-block;
    *display: inline;
    padding: 12px 12px;
    margin-bottom: 0;
    *margin-left: .3em;
    font-size: 14px;
    /*line-height: 15px;*/
    line-height: 8px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    *background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top,#ffffff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#e6e6e6));
    background-image: -webkit-linear-gradient(top,#ffffff,#e6e6e6);
    background-image: -o-linear-gradient(top,#ffffff,#e6e6e6);
    background-image: linear-gradient(to bottom,#ffffff,#e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #bbbbbb;
    *border: 0;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-bottom-color: #a2a2a2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    *zoom: 1;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    /*box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);*/
}

.btn:hover, .btn:active, .btn.active, .btn.disabled, .btn[disabled] {
    color: #333;
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
}

.btn:active, .btn.active {
    background-color: #cccccc;
}

.btn:first-child {
    *margin-left: 0;
}

.btn:hover {
    color: #333333;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}

.btn:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn.active, .btn:active {
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
}

.btn-primary {
    font-weight: bold;
    font-size: 20px;
    font-size: 14px;
    /*width: 290px;
    height: 40px;*/
     width: 185px;
    height: 32px;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #006dcc;
    *background-color: #0044cc;
    background-image: -moz-linear-gradient(top,#0088cc,#0044cc);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#0088cc),to(#0044cc));
    background-image: -webkit-linear-gradient(top,#0088cc,#0044cc);
    background-image: -o-linear-gradient(top,#0088cc,#0044cc);
    background-image: linear-gradient(to bottom,#0088cc,#0044cc);
    background-repeat: repeat-x;
    border-color: #0044cc #0044cc #002a80;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
    color: #ffffff;
    background-color: #0044cc;
    *background-color: #003bb3;
}

.btn-primary:active, .btn-primary.active {
    background-color: #003399 ;
}

.admin_copyright {
    color: #585858;
    margin-top: 10px;
    /*font-family: Arial;*/
    text-align: center;
}

    .admin_copyright a:link, .admin_copyright a:visited {
        color: #f90;
    }

    .admin_copyright a:hover {
        color: #f90;
    }

.res-info {
    /*font-size: 12pt;*/
    font-size:12px;
    color: #666;
    zoom: 0.87;
    /*font-family: Calibri;*/
}

.check_off {
    background: url(../img/switches_off.png) no-repeat;
    /*width: 106px;*/
    float: left;
    /*height: 40px;*/
    margin-left: 107px;
    clear: both;
    width: 81px;
    height: 24px;
    background-size:100% 100%;
    margin-top:7px;
}

.check_on {
    background: url(../img/switches_on.png) no-repeat;
    /*width: 106px;*/
    width: 81px;
    float: left;
    /*height: 40px;*/
    height: 24px;
    /*margin-left: 80px;*/
    margin-left: 107px;
    clear: both;
    background-size:100% 100%;
    margin-top:7px;
}
#txtusername:focus, #txtpwd:focus {
    border-bottom:1px solid #ff8d35           
}
html,body {
    height:100%!important;
}

@media only all and (max-width:1023px) {
    .admin_login_wrap {
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        margin: auto;
        max-width: 80%;
    }
}