/*PHP2CSS*/
@charset "utf-8";
/* CSS Document */
html {
    width: 100%;
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
    width: 100%;
    background: #f0f0f0 url(../images/bg_new.jpg?2ce5430) center top repeat-x ;
    font-size: 12px;
    font-family: Verdana, "Microsoft YaHei", "SimSun", Arial, Helvetica, sans-serif;
    color: #333;
}

div, h1, h2, h3, h4, p, form, label, input, textarea, img, span {
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size:0;
    line-height: 0;
}

.spacer {
    clear: both;
    font-size: 0;
    line-height: 0;
}

img {
    border: 0;
}

a:link {
    color: #fff;
    text-decoration: none;
}

a:visited {
    color: #fff;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #fff;
}

a:active {
    color: #fff;
    text-decoration: none;
}

#mainBody {
    width: 997px;
    height: 550px;
    margin: 60px auto auto auto ;
    position: relative;
}
#page_header {
    width: auto;
    height:60px;
    background-color: #516073;
}

#mail_system_logo{
    background: url("../images/bg01_cn.png") no-repeat;
    width: 450px;
    height: 358px;
    padding: 0;
    margin: 0;
}

#festival{
    width: 450px;
    height: 180px;
    margin: 0;
    pidding: 0;
    }

#login_form {
    position: absolute;
    top: 38px;
    left: 497px;
    width: 422px;
    height: 482px;
    background: url("../images/login_bg_cn.png") no-repeat ;
}

#language {
    width: 210px;
    height: 60px;
    position: relative;
    float: right;
}

#language_ipl {
    position: relative;
    float: right;
    top: 160px;
    left: -20px;

}

#language_ipl select {
    background-color: #FFFFFF;
    border: solid 1px #AFAFAF!important;

}

#language a {
    float: left;
    padding: 20px;
    margin: 1px 1px 0 0 ;
    color: #fff;
    border-left: 1px solid #465464;
    font-size: 14px;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

#language a:hover {
    background: #384351;
}

form[class="loginForm"]  {
    margin: 200px 0 0 0 ;
    height: 270px;
}
form[name="login_ag"]  {
    margin: 224px 0 0 0 ;
    height: 250px;
}
form[name="login_ctl"] {
    margin: 210px 0 0 0 ;
    height: 250px;

}
form[name="login_ipl_ctl"] {
    margin: 198px 0 0 0 !important;
    height: 260px;

}

form[class="loginForm"] ol ,
form[name="login_ag"] ol ,
form[name="login_ipl_ctl"] ol ,
form[name="login_ctl"] ol {
    list-style: none;
    margin-left: 40px;

}

form[class="loginForm"] li ,
form[name="login_ag"] li {
    font-size: 14px;
    line-height: 18px;
    padding: 18px;
    margin: 0;
}
form[name="login_ctl"] li ,
form[name="login_ipl_ctl"] li {
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}
form[name="login_ctl"] li {
    padding: 15px 12px;
}

form[name="login_ipl_ctl"] li {
    padding: 12px;
}


form[name="login_ctl"] li select[name="l_type"] ,
form[name="login_ipl_ctl"] li select[name="l_type"] {
    width: 88%;
    height: 26px;
    background-color: #FFFFFF;
    color: #000000;
    font-size: 14px;
    cursor: pointer;
}

form[class="loginForm"] li input ,
form[name="login_ag"] li input ,
form[name="login_ctl"] li input ,
form[name="login_ipl_ctl"] li input {
    border: 1px solid #DFDFDF;
    background: #F9F9F9;
    width: 80%;
    height: 26px;
    font-size: 14px;
    -moz-border-radius: 3px; /* Firefox */
    -webkit-border-radius: 3px; /* Safari, Chrome */
    -khtml-border-radius: 3px; /* KHTML */
    border-radius: 3px;
}

form[class="loginForm"] li input[type="submit"] ,
form[name="login_ag"] li input[type="submit"] ,
form[name="login_ctl"] li input[type="submit"] ,
form[name="login_ipl_ctl"] li input[type="submit"]{
    width: 88%;
    height: 30px;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #F35B61;

}
form[name="login"] li input[type="submit"]:hover ,
form[name="login_ag"] li input[type="submit"]:hover ,
form[name="login_ctl"] li input[type="submit"]:hover ,
form[name="login_ipl_ctl"] li input[type="submit"]:hover {
    background-color: #EF333A;
    padding-left: 5px;
}

form[class="loginForm"] #imgnum {
    vertical-align: text-bottom;
    position: absolute;
    top: 19px;
    right: 65px ;
}

div#l_type {
    position: relative;
    float: right;
    width: 180px;
    top: -40px;
}

input[name="l_type"] + label {
    padding: 4px;
    cursor: pointer;
}


#container {
    width: 768px;
    height: 502px;
    padding: 10px;
    margin: 70px auto auto auto;
    background-color: #FFFFFF;
    border: 1px solid #CDCDCD;
    position: relative;
}

#logo_header {
    background: url(../images/logo.png?2ce5430) no-repeat;
    width: 147px;
    height: 69px;
    position: relative;
    float: right;
    top: -111px;
    left: -311px;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-button {
    width: 8px;
    height:5px;
}
::-webkit-scrollbar-track {
    background:#eee;
    border: thin solid lightgray;
    box-shadow: 0px 0px 3px #dfdfdf inset;
    border-radius:10px;
}
::-webkit-scrollbar-thumb {
    background:#999;
    border: thin solid gray;
    border-radius:10px;
}
::-webkit-scrollbar-thumb:hover {
    background:#7d7d7d;
}

#account, #login_name {
    background: url("../images/icon_input.png") no-repeat ;
    background-position: -11px -10px;
    padding: 0 0 0 24px;
}
#password, #login_pwd {
    background: url("../images/icon_input.png") no-repeat;
    background-position: -9px -54px;
    padding: 0 0 0 24px;
}
#verifycode, #CheckCode{
    background: url("../images/icon_input.png") no-repeat;;
    background-position: -8px -96px;
    padding: 0 0 0 24px;
}

div#welcome_word {
    position: relative;
    float: right;
    left: 154px;
    top: -32px;
}

#rule {
    position: absolute;
    width: 788px;
    height: 520px;
    background-color: #FFF;
    margin: 0 auto;
    left: 0;
    top: 0;
    padding: 0;
}

#rule table {
    height: 450px;
    padding-top: 10px;
}

#copyright {
    width: 997px;
    margin: 10px auto;
    height: 20px;
    text-align: center;
    border-top: 1px solid #DFDFDF;
    color: #999999;
    line-height: 44px;
}

#copyright a.BBIN {
    background: transparent url("../images/bbin.gif?2ce5430") no-repeat scroll 0 0;
    display: block;
    width: 92px;
    height: 37px;
    padding-right: 5px;
    border: none;
}

fieldset {
    width: 422px;
    height: 482px;
    margin: 0;
    padding: 0;
}

legend {
    margin-left: 1em;
    color: #000000;
    font-weight: bold;
}

fieldset ol {
    padding: 0 1em 0 1em;
    list-style: none;
}

fieldset li {
    padding-bottom: 1em;
}

fieldset a.submit {
    display: block;
    border-style: none;
    width: 113px;
    height: 59px;
    background: url(../images/btn.jpg?2ce5430) top left no-repeat;
    margin-left: 200px;
}

fieldset a.submit:hover {
    border-style: none;
    width: 113px;
    height: 59px;
    background: url(../images/btn.jpg?2ce5430) bottom left no-repeat;
}

#form img {
    vertical-align: text-bottom;

}

/*完全包覆*/
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size:12px;
    content: " ";
    clear: both;
    height: 0;
}

#Magic {
    width: 100%;
    height: 100%;
    line-height:100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: block;
    /*for firefox safari google chrome opera */
    background-color: rgba(0, 0, 0, 0.5);
    /*for ie*/
}
#Magic div.Safe{
    width:500px;
    height:150px;
    margin:200px auto;
    border:6px solid #a3a3a3;
    background-color: #a3a3a3;
    text-align:center;
    -moz-border-radius:10px;;
    -webkit-border-radius:10px;
    border-radius:10px;
}
#Magic div h1{
    background-color: #a3a3a3;
    width:100%;
    margin:0;
    padding:0;
    font-size:12px;
    height:22px;
    line-height:22px;
}
#Magic div div#Msg{
    padding:0;
    margin:0;
    height:126px;
    width:100%;
    border:1px solid #000;
    background-color:#f0f0f0;
}
#Magic div p {
    margin:30px 0;
}


/*標準化*/
/*margin padding 標準化*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

/*標題 font-size 的標化*/
h1, h2, h3, h4, h5, h6 {
    font-size: 100%
}

/*移除清單list-style樣式*/
 ul {
    list-style: none;
}

/*font-style,font-weight*/
address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

/*del table border*/
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*del fieldset and img border*/
fieldset, img {
    border: 0;
}

/*caption and th text-align:left*/
caption, th {
    text-align: left;
}

/*del q的引號*/
q:before, q:after {
    content: '';
}
footer {
    width:100%;
    height:45px;
    line-height:45px;
    color:#fff;
    text-align:center;
    background-color:#111;
    clear:both;
    margin:0;
    padding:5px 0 0 0;
    box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.5);
}
footer > a.switch {
    line-height:36px;
    color:#fff;
    font-size:36px;
}