* {
  padding: 0;
  margin: 0;
}

html {
  font-size: 20px;
}

body {
  font-family: MHeiHK Medium !important;
}

select {
  background-color: #ccc;
  padding: 3px;
  border-radius: 6px;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}
button {
    font-size: 1.2rem ;
    border-radius: 25px ;
    font-weight: 700 ;
}
.header {
  border-bottom: 3px #29abe2 solid;
  margin: 0 auto;
  float: left;
  width: 100%;
}

.logo {
  margin-left: 1rem;
}

.header .logo h4 {
  margin-bottom: 5px;
}

.redtitle {
  color: red;
  margin-left: 2rem;
  font-size: 20px;
}

.pad0 {
  padding: 0;
}

.subtitle {}

.subtitle h5 {
  line-height: 2rem;
  display: inline-block;
}

.subtitle .addbtn {
  margin-left: 1rem;
  border-radius: 20px;
  width: 3rem;
  line-height: 0.35rem;
  color: white;
  background-color: #999;
  border: 1px solid #4d4d4d;
}

.subform {
  width: 60%;
  border: 2px black solid;
  padding: 10px 20px;
  background-color: #f2f2f2;
  border-radius: 20px;
}

.subform .subline {
  height: 2rem;
  padding: 5px;
}

.subtitle select {
  width: 100%;
}

.subtitle input[type="text"] {
  width: 100%;
  padding: 5px;
}

.table-base {
  width: 85%;
  margin: 2rem 0;
  font-size: 0.8rem;
  padding: 0;
}

.table-base .th {
  border: none;
  line-height: 2.5rem;
}

    .table-base .td {
        height: 2rem;
        line-height: 2rem;
 /*       background-color: #f2f2f2;*/
        font-size: 0.7rem;
        WORD-BREAK: break-word;
    }
    .table-base .tdbreakword {
        padding: 0;
        height: auto;
        background-color: #F2F2F2;
        border-bottom: 1px solid #d1d3d4;
        display: flex;
    }
    .table-base .thbreakword {
        padding: 0;
        height: auto;
        background-color: white;
        border-bottom:unset;
    }
    .table-base .tdspace {
        border:0;
    }
    
    
    
    .table-base .th-title {
        background-color: #19365A;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        color: #fff;
        font-weight: bold;
        font-size: 1rem;
    }

.table-base .td-title {
  background-color: #5482BA;
  color: #fff;
}
    .table-base .td-select {
        display: -webkit-flex;
    }
.table-base .td-select-full-width {
    display: -webkit-flex;
}
    .table-base .td-select select{
        width:unset!important;
        /*max-width:inherit;*/

    }

.table-base .td input[type="text"] {
    /*margin-top:0.15rem;*/
  width: 100%;
  height: 1.75rem;
}

.table-base .td input[type="checkbox"],
.table-base .td input[type="radio"] {}

.table-base .td select {
  width: 70%;
}

.border0 {
  border: none !important;
}


label {

    margin-bottom:unset;
}

.height4 {
  height: 9rem !important;
}

.user-detail {
  float: right;
  font-weight: 700;
}

.navbar-collapse.in {
  overflow-y: initial;
}

.navbar-collapse {
  padding-left: 0;
  padding-right: 0;
}

.navbar-nav {
  margin: auto;
}

.nav {
    clear: both;
    background-color: #5482BA;
}

.navbar-nav>li {
    display:inline-block;
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}
.dropdown a:hover{
    background-color: #0e5ab8;
}
.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover{
  background-color: #5482BA;
}


.navbar-nav>li>.dropdown-menu {
  background-color: #19365A;
  margin: 0 auto;
  left: 10%;
  width:max-content;
}
.dropdown-menu>li{
  border-bottom: 1px white solid;

  margin: 0 auto;
  line-height: 40px;
  font-size: 0.5rem;
}
.dropdown-menu>li>a {
  white-space: normal;
  color: #fff;
  display: inline;

}

.navtop .tab-menu .menu-ul {
  width: 100%;
}

.tab-menu .menu-ul .menu-li {
  float: left;
  width: 30%;
  text-align: center;
  /*border-right: 1px solid #fff;*/
  height: 50px;
  line-height: 50px;
}

.tab-menu .menu-ul .menu-li a {
  color: #fff;
  text-decoration: none;
}

.tab-menu .menu-ul .menu-li:hover {
  /*background-color: #aeeaff;*/
}

.tab-menu .menu-ul .menu-li:hover>a {
  /*color: #0071BC!important;*/
}

.tab-menu .menu-ul .menu-li .menu-li-child {
  display: none;
}

.tab-menu .menu-ul .menu-li .menu-li-child a {
  font-size: 0.5rem;
}

.tab-menu .menu-ul .menu-li .menu-li-child li {
  border-bottom: 1px white solid;
  width: 95%;
  margin: 0 auto;
  line-height: 40px;
}

.tab-menu .menu-ul .li-apply:hover>.menu-li-child,
.tab-menu .menu-ul .li-deal:hover>.menu-li-child,
.tab-menu .menu-ul .li-info:hover>.menu-li-child,
.tab-menu .menu-ul .li-system:hover>.menu-li-child {
  display: block;
  color: #fff;
  background-color: #19365A;
  width: 80%;
  margin: 0 auto;
}
.content{
  margin: 20px;
}

.btnCollect .btnPersonal{
  background-color: #5482ba;
  color: white;
  width: 250px;
  height: 70px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
}
.btnCollect .btnTrainee{
  background-color: #ccc;
  color: black;
  width: 250px;
  height: 70px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 20px;
}

.profileimg {
    min-height: 14rem;
    text-align: center;
} 
.profileimg img{
    max-height: 14rem;
    max-width:100%;
}
.btnCollect .btnPwd {
    height: 50px;
    width: 175px;
    background-color:#f9bed8;
    color:black;
}
.btnCollect .btnUpdateProfile {
    height: 50px;
    width: 175px;
    margin-left: 20px;
}
.return_top span {
    float: right;
    position: fixed;
    bottom: 2rem;
    right: 10px;
    z-index: 999;
    background-color: #5482ba;

    /*width: 10%;*/
    /*text-align: center;*/
    color: #fff;
    /*font-size: 1rem;*/
    /*border: 2px solid white;*/
    /*border-radius: 20px;*/
    /*padding: 10px 25px;*/
    /*margin-right: 20px;*/
    /*max-width: 90px;*/

    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.table-align {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}
    .table-align input{
        margin-top:5px;
    }
    .tdborder-R {
        border-right: 1px #d1d3d4 solid;
    }
.container-bottom{
    padding-bottom:100px
}


.container {
    width: auto;
}
.select-margin{
    margin-top:5px
}




@media (max-width: 767px) {
    html {
        font-size: 15px;
    }

    .table-base .td {
        height: unset;
    }

    .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
        background-color: black;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: #19365A;
    }

    .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
        border-top: 3px solid #29abe2;
    }

    .dropdown-menu {
        background-color: #0e5ab8;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: white;
    }

    .subform {
        width: 100%;
    }

    .navbar-nav > li:last-child {
        width: 100%
    }

    .table-base {
        width: 100%;
        padding: 0;
    }

        .table-base .td select {
            width: 100%;
        }

    .navbar-nav > li {
        width: 100%;
        text-align: left;
        display:unset!important;
    }

    .btnCollect {
        text-align: center;
    }

        .btnCollect .btnPersonal {
            font-size: 1.2rem;
        }

        .btnCollect .btnTrainee {
            margin-left: 0;
            font-size: 1.2rem;
        }

    .table-base .td-select select {
        width: 100% !important;
    }
}

@media (max-width: 555px) {
    .btnCollect .btnTrainee {
        margin-top: 20px;
        font-size: 1.2rem;
        margin-top: 20px;
        width: 100%;
    }
    .btnCollect .btnUpdateProfile {
        margin-left: 0;
        margin-top: 20px;
        width: 265px !important;

        font-size: 1.2rem;
    }
    .btnCollect .btnPwd {
        width: 265px!important;

    }
    .btnCollect .btnPersonal {
        width: 100%;
    }

}

.nav {
    clear: both;
    background-color: #5482BA;
}

.navbar-nav > li {
    float: none;
    display: table-cell;
}


.table-responsive {
    margin:0 !important;
    width:100% !important;
}
.border1 td {
    border:1px solid black;
}
.border1 th {
    border: 1px solid black;
}

.btn-radius {
    border-radius: 4px;
}
.table-base .bg-darkblue, .bg-darkblue {
    color: white;
    background-color: #19365A;
}

.button-list {
    margin: 12px 0 12px 0;
}

.content-center {
    margin: 12px auto;
}

.table tr th {
    color: white;
    background: #5482BA;
}
.solid_table tr td:nth-child(4) {
    background: #ffffff
}
.solid_table tr td:nth-child(5) {
    color: black;
    background: #f3dde2;
}
.solid_table tr td:nth-child(6) {
    color: black;
    background: #dda3b3;
}


.table tr th a {
color: white;
}

/*.table tr th:nth-child(5) {
    color: black;
    background: red;
}*/
.module_specialF .table tr td:nth-child(6) {
    background: #ffffff;
}
.module_specialF .table tr td:nth-child(7) {
    color: black;
    background: #f3dde2;
}
.module_specialF .table tr td:nth-child(8) {
    color: black;
    background: #dda3b3;
}



.module_special .table tr td:nth-child(5) {
    background: #ffffff;
}

.module_special .table tr td:nth-child(6) {
    color: black;
    background: #f3dde2;
}

.module_special .table tr td:nth-child(7) {
    color: black;
    background: #dda3b3;
}


.table-base .td input[type="password"] {
    margin-top: 0.15rem;
    width: 80%;
    height: 1.75rem;
}
.unsetBorder {
    border: unset;
    background: unset
}
.unsetBorder:focus {
    outline: unset;
}
.myTextarea {
    resize: none;
    height: 100%;
    width: 100%;
}
.solid_table .table {
    border: 1px solid #000000;
}

    .solid_table .table td {
        outline: 1px solid #000000;
    }
 .mynav {
    background: #ffffff;
}

.mynav ul {
    letter-spacing: -8px;
}

.mynav li {
    background: #b3b3b3;
    border-radius: 5px 5px 0 0;
    letter-spacing: normal;
}

.mynav li a {
        color: white;
    }

.mn_text {
    display: none;
}

.module_name_special:hover .mn_text {
    display: block;
    min-width: 50px;
    line-height: 2;
    border: 1px solid black;
    background-color: white;
    padding: 0px 5px;
    color: black;
    text-align: center;
    position: absolute;

}

.radioBtnList {
    display:flex;
    flex-direction:row;
    flex-wrap: nowrap
        ;
    width:100%;
}
.radioBtnList tr {
    width: 100% !important;
}