body {
    line-height: initial;
}
body table {
    font-family: "tahoma", sans-serif;
}

.clearfix:after {
  content: '';
  visibility: hidden;
  clear: both;
  opacity: 0;
  display: block;
}

.wrapper { 
    max-width: 900px; margin: 20px auto; 
}
.t-cen { 
    text-align: center; 
}

.logo_card {
    position: fixed;
    top: 5px;
    left: 5px;
}
.logo_card img {
    width: 140px;
}

.admin_profile_card {
    position: fixed;
    top: 70px;
    left: 8px;
    border: 1px solid #ccc;
    min-width: 130px;
    height: 50px;
    background-color: #fff;
    padding: 5px;
    box-sizing: border-box;
}
.admin_profile_card .avatar img {
    height: 38px;
}
.admin_profile_card .avatar {
    float: left;
}
.admin_profile_card .profile {
    float: right;
    text-align: right;
    font-size: 11px;
    margin-left: 5px;
}
.admin_profile_card .username {
    color: #f37a01;
    font-weight: bold;
}

input.ddstyle, select.ddstyle {
    padding: 5px;
    height: 35px;
    border: 1px solid #ccc;
    margin: 0 auto;
    box-shadow: inset 0 1px 3px #ddd;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

table.table-payment tr.expire { 
    background-color: #ffdada;
}
table.table-payment tr.success, table.table-payment tr.success td { 
    background-color: #b9ff9c !important;
}

#edit-popup{
    width: 750px;
}
#edit-popup .btn-xclo{
    font-size: 20px;
    position: fixed;
    top: 20px;
    margin-left: 323px;
    left: 50%;
    padding: 10px;
    cursor: pointer;
}
#edit-popup .btn-xclo:hover{
    color: #f37a01;
}
#edit-popup .edit-body{
    padding: 40px 30px;
    overflow: auto;
    padding-top: 0;
}
#edit-popup .edit-body h1{
    font-size: 30px;
    color: #f37a01;
    font-family: sukhumvitreg;
    text-align: center;
}
#edit-popup .edit-body .step{
    padding: 0 0 20px;
}
#edit-popup .edit-body .step1 ul{
    list-style: circle;
    padding: 10px 0 0 30px;
}
#edit-popup .edit-body .step6{
    padding: 0;
    text-align: center;
}
#edit-popup .edit-body .step6 p{
    padding: 8px;
}
#edit-popup .edit-body .htitle{
    text-align: center;
    width: 100%;
    position: relative;
    margin: 10px 0;
}
#edit-popup .edit-body .htitle b{
    display: inline-block;
    background: #f9f9f9;
    position: relative;
    z-index: 1;
}
#edit-popup .edit-body .htitle:after{
    content: "";
    height: 1px;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    background: #CCC;
    z-index: 0;
}
#edit-popup .edit-body input:not(.btn-primary), #edit-popup .edit-body select {
    padding: 5px;
    height: 35px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px #ddd;
    border-radius: 4px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#edit-popup .edit-body .step2 input, #edit-popup .edit-body .step2 select {
    width: auto;
}
.edit-body .box-input{
    max-width: 480px;
    width: 100%;
    display: inline-block;
    text-align: left;
    margin: 8px 0;
    font-size: 14px;
}
.edit-body .boxinp{
    height: 21px;
}
.edit-body .boxinp.prefix,
.edit-body .boxinp.bdate,
.edit-body .boxinp.bmonth,
.edit-body .boxinp.byear,
.edit-body .boxinp.province,
.edit-body .boxinp.school-province,
.edit-body .boxinp.school-province,
.edit-body .boxinp.level{
    height: 27px;
}
.edit-body .boxinp.idcard , .edit-body .boxinp.full, .edit-body .boxinp.mobile,.edit-body .boxinp.province, .edit-body .boxinp.school,.edit-body .boxinp.school-province,.edit-body .boxinp.level,.edit-body .boxinp.faculty,.edit-body  .boxinp.email,.edit-body .boxinp.emailagain{
    width: 100%;
    max-width: 480px;
}
.edit-body .fronttitle {
    max-width: 175px;
    width: 100%;
    display: inline-block;
    text-align: left;
    margin: 8px 0;
    font-size: 14px;
    vertical-align: middle;
    line-height: 18px;
}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 736px) {
    .logo_card, .admin_profile_card {
        display: none;
    }
}
