.newheader {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.redtitle {
    margin-left: unset;
    font-size: 16px;
}

.header .logo h4 {
    margin: 10px 0;
}

.logo p {
    margin: 10px 0;
}

.logo {
    margin-left: 2%;
    width: 250px;
}

    .logo p img {
        width: 100%;
    }

    .logo h4 b {
        font-size: 16px;
    }

.user-detail button {
    margin: 0 5px 5px 5px !important;
}

.navbar-toggle {
    margin: 0;
}

.new-navbar img {
    width: 30px;
}

.new-nav {
    position: absolute;
    right: 0;
    height: 100%;
}

    .new-nav .container {
        padding: 0 !important;
        height: 100%;
    }
/*.navbar-nav{*/
/*    height: 100%;*/
/*}*/
#mobilemenu {
    height: 100%;
}

.bg-nav {
    z-index: 20000 !important;
    opacity: 1 !important;
}

.dropdown-menu li {
    padding: 10px 15px;
    line-height: 20px;
    border-bottom: 1px solid white;
    text-decoration: unset;
}

    .dropdown-menu li a {
        padding: 0 !important;
    }

.dropdown-toggle {
    padding: 0 10px;
}

.navbar-inverse .navbar-nav > li > a {
    padding: 15px 0;
    cursor: pointer;
}

.container {
    padding: 0 5%;
}

.dropdown {
    padding-right: 60px;
}

.table-base {
    width: unset;
    margin: 1rem 0;
}

.content {
    margin: 1rem 5%;
}

.btnCollect .btnPersonal {
    width: unset;
    height: unset;
    padding: 15px 35px;
    font-size: 18px !important;
}

.table-base .th-title {
    font-size: 0.8rem;
}

.table-base .th {
    line-height: 2rem;
    padding: 5px 10px;
}

.table-base .td input[type="text"] {
    width: 80%;
}

.navbar-nav > li > .dropdown-menu {
    left: 0;
    min-width: 300px;
    padding-top: 0;
    padding-bottom: 0;
}

.menu-top {
    background-color: white;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    padding-left: 2%;
}

.flex {
    display: flex;
    width: 100%;
}

.btn.focus, .btn:focus, .btn:hover {
    color: white;
}

.new-thtitle {
    padding: .5rem 15px;
    line-height: 2rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

table {
    margin-top: -1px;
}

.note-wrap {
    clear: both;
    padding-bottom: 30px;
}

.note-collect {
    display: flex;
}

    .note-collect div {
        width: 15%;
        display: flex;
        margin-right: 20px;
        align-items: center;
    }

        .note-collect div label {
            margin-left: 10px;
            font-weight: 700;
            max-width: 100px;
        }

.table-base .td {
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.btnCollect button, .listBtn input, .button-list input, .center-block input[type=submit], .button-list button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px !important;
    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 !important;
    background-color: #5482ba !important;
    color: white;
}

.new-td {
    display: table-cell !important;
}

.sysparameter-wrap {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #fff;
    background-color: #f2f2f2;
    align-items: center;
}

    .sysparameter-wrap label {
        width: 50%;
        background-color: #5482BA;
        color: #fff;
        font-size: 0.7rem;
        padding: 15px;
    }

    .sysparameter-wrap span {
        width: 50%;
        background-color: #f2f2f2;
        font-size: 0.7rem;
        padding: 5px 10px;
    }

        .sysparameter-wrap span input[type=text] {
            width: 80%;
            padding: 5px 15px;
        }

    .sysparameter-wrap > label > span {
        background-color: #5482BA;
        padding: 0;
    }

    .sysparameter-wrap table label {
        background-color: #f2f2f2 !important;
        color: black;
        padding: 0;
        padding-right: 15px;
    }

.sysparameter {
    width: 70%;
    margin: 1rem auto;
}

.date-range {
    display: flex;
}

    .date-range b {
        margin: 0 10px;
        font-weight: unset;
    }

.master-nav {
    display: flex
}

.nav-justified > li {
    width: unset;
}

    .nav-justified > li > a {
        margin-bottom: unset
    }

.newButton {
    padding: 10px 0;
    clear: both;
}

    .newButton input {
        font-weight: bold !important;
    }

    .newButton button {
        border-radius: 25px !important;
    }

.button-list {
    clear: both;
    padding: 10px 0;
    margin: 0;
}

.message-modal-dialog {
    width: 50%;
    margin: 30px auto;
}

.table-base .td input[type="text"] {
    height: 100%
}

.modal-backdrop.in {
    opacity: 0;
}

.alert-success {
    border: 2px solid #5482BA;
    background-color: white;
}

    .alert-success font {
        color: #5482BA !important;
    }

.alert-danger {
    border: 2px solid #d9534f;
    background-color: white;
}

    .alert-danger font {
        color: #d9534f !important;
    }

.navwrap {
    padding: 0 2%;
}

.dropdown-menu a {
    color: white;
    font-size: 0.6rem;
    cursor: pointer;
}

    .dropdown-menu a:hover {
        color: black;
        text-decoration: unset;
    }

.dropdown-menu li:hover {
    background-color: white;
    text-decoration: unset;
}

.dropdown-menu a:last-child li {
    border: unset !important;
}

#edui1_toolbarbox, #edui1, #edui1_iframeholder {
    width: 100% !important
}

.modal-dialog input[type=text] {
    height: 80% !important;
    padding: 5px;
    max-height: 1.5rem;
    max-width: 100%;
}

.modal-footer {
    padding: 0;
    border-top: unset
}

.modal-body select {
    width: 100%;
}



    .date-range div {
        height: 100%;
        /*        width: 12.5%;*/
        display: flex;
        align-items: center;
    }

.TrainingPeriod-date div {
    width: unset;
}

.modal-footer-btn {
    text-align: center;
}

    .modal-footer-btn input, .modal-footer-btn button {
        background-color: #5482ba !important;
    }

.modal-title {
    font-size: 0.8rem
}

.td-radiobutton {
    align-items: center !important;
}

.table-base .td select {
    width: 80%;
    max-width: 100%;
}

/*#Category1PlannedDiv {
    display: flex;
}

    #Category1PlannedDiv input {
        width: 100%
    }

    #Category1PlannedDiv div {
        align-items: center;
    }

    #Category1PlannedDiv b {
        margin: 0 10px;
        min-width: 17px;
        text-align: center;
    }*/

.table-base .td-select {
    align-items: center;
}

input[type=text] {
    padding: 0 5px
}

textarea {
    padding: 5px 10px;
    line-height: normal;
}

.sp-span {
    justify-content: center
}

.newTitle {
    line-height: 2rem;
    padding: 5px 10px;
    font-size: 0.8rem;
    background-color: #19365A;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #fff;
    font-weight: bold;
    min-width: 250px;
    margin-left: 15px;
}

.nopad {
    margin-left: 0;
}

.date-range input {
    width: 100% !important
}

.newtd-title {
    background: white;
    color: #19365A;
    font-size: 20px;
}

.new-lineheight {
    line-height: 1.5rem !important
}

.whitespace {
    white-space: nowrap;
}

.th-maintitle {
    font-size: 0.8rem !important;
    height: unset !important;
    line-height: unset !important;
}

.align-center {
    display: flex;
    align-items: center;
}

    .align-center input {
        margin: 0
    }

.newfooter-btnwrap {
    text-align: center;
    padding: 15px 5px;
    clear: both;
    /*    border-top: 1px solid #d2d2d2;*/
}

.table-base .tdbreakword {
    align-items: center;
}

.text-status {
    padding: 5px;
    padding-top: 5px !important;
    border-radius: 10px;
}

input[type=checkbox], input[type=radio] {
    margin: 4px 4px 0;
}

table tr th {
    font-size: 14px
}

table tr td {
    font-size: 14px
}

.th-subtitle {
    min-height: 50px;
}

.modal-body .alertBody:nth-child(2n+1) {
    background-color: white;
}

.modal-body {
    padding: 0;
}

.alertBody .td {
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.modal-content {
    border-radius: 20px;
}

.modal-body span {
    padding-top: unset
}

#btnBrowser, .btnBrowser {
    background-color: #5482ba !important;
    color: white;
    border-radius: 4px !important;
}

.file-caption-main {
    padding: 10px;
}

.btn-primary {
    background-color: #5482ba !important
}

.nav-a, .mobile-nav-a {
    position: absolute;
    top: 5px;
    right: 5px;
}

    .nav-a a, .mobile-nav-a a {
        color: black;
    }

.mobile-nav-a {
    font-size: 12px
}

.flex-layout {
    width: 100%;
    margin: 20px 0 0;
}

.flex-wrap {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid #d1d3d4;
}

    .flex-wrap label {
        font-size: 0.7rem;
        background-color: #5482BA;
        color: #fff;
        width: 41.66666667%;
        padding: 10px 10px;
        font-weight: unset;
    }

    .flex-wrap span {
        font-size: 0.7rem;
        width: 58.33333333%;
        padding: 0 10px;
        align-self: center;
        font-weight: unset;
    }

        .flex-wrap span select, .flex-wrap span input[type=text], .flex-wrap span textarea {
            width: 80%;
            max-width: 100%;
            font-weight: unset;
        }

        .flex-wrap span textarea {
            margin: 5px 0;
        }

        .flex-wrap span table label, .flex-wrap span table span, .flex-wrap span span {
            background-color: unset;
            color: unset;
            padding: unset;
            width: unset;
        }
.modal-dialog {
    max-width:70%
}

.modal-timewrap {
    display: flex;
    align-items: center
}
    .modal-timewrap div {
        height: 100%;
    
    }
    .modal-timewrap input {
        width: 100% !important;
        font-weight: unset;
        max-width: 120px !important;
    } 
    .modal-timewrap span{
        padding:0;

    }
    .modal-timewrap b {
        height: 100%;
        font-weight: unset;
        margin: 0 !important;
        min-width: 40px !important;
        text-align: center; 
    } 
    .unsetBorder{
        width:unset!important
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    @media (max-width: 767px) {
        .flex-layout {
            margin: 5px 0 0;
        } 
        .dropdown-toggle {
            padding: 0 10px;
        }
        .btnCollect button, .listBtn input, .button-list input, .center-block input[type=submit], .button-list button{
            font-size:12px!important;
        } .btnCollect {
            text-align: left;
        }

        .btnCollect .btnPersonal {
            width: unset;
            height: unset;
            padding: 10px 15px;
            font-size: 0.8rem;
        }

    .table-base .td input[type="text"] {
        width: 90%;
    }

    .navbar-inverse .navbar-nav > li > a {
        padding: 15px 2%;
    }

    .menu-top {
        display: flex !important;
    }

    .navbar-nav > li {
        display: flex !important;
        flex-direction: column;
        padding-left: 10px;
    }

        .navbar-nav > li:last-child {
            border-bottom: unset;
        }

    .navbar-nav > .dropdown > .dropdown-toggle {
        border-bottom: 1px solid white;
    }

    .navbar-nav > .dropdown:last-child > .dropdown-toggle {
        border-bottom: unset;
    }

    .dropdown-menu {
        width: 100% !important;
    }

    .open {
        padding: 0 !important;
    }

    .message-modal-dialog {
        width: 70%;
    }

    .navwrap {
        padding: 0;
    }

    .date-range {
        flex-direction: column;
        padding: 10px 5px !important;
    }

        .date-range input {
            min-height: 1.5rem;
        }

    /*#Category1PlannedDiv {
        flex-direction: column;
        padding: 10px 5px !important;
    }*/

    .date-range {
        align-items: end !important;
    }

    .table-base .td select {
        width: 90%
    }

    .noflex {
        flex-direction: column;
    }

    .date-range div input {
        min-width: 100px
    }

    .ckb-wrap table tr {
        display: flex;
        flex-direction: column
    }

    .ckb-wrap input[type=checkbox] {
        height: unset !important
    }

    .date-range div {
        width: 100% !important
    }

    .th-subtitle {
        min-height: unset;
    }
    .flex-wrap{
        flex-direction:column;
    }
        .flex-wrap label, .flex-wrap span {
            width: 100%;
        }
        .flex-wrap label {
            padding: 5px 10px;
        }
        .flex-wrap span{
            padding:5px 0
        }
        .modal-dialog {
            max-width: unset
        }

}




/*mobile*/
@media (max-width: 400px) {
    select {
        padding: 0;
    }

    .note-collect {
        flex-direction: column;
    }

    .date-range {
        display: block;
        line-height: unset !important;
    }

        .date-range b {
            margin: 0;
        }

    .message-modal-dialog {
        width: 90%;
    }

    .sysparameter-wrap label {
        padding: 5px
    }
}

@media (max-width: 1200px) {
    .dropdown {
        padding-right: 20px;
    }

    .note-collect div {
        width: 20%;
        margin-right: 10px;
    }

    /*    .date-range div {
        width: 26%;
    }*/
}

@media (max-width: 900px) {
    .dropdown {
        padding-right: 10px;
    }

    .note-collect {
        flex-wrap: wrap;
    }

        .note-collect div {
            margin-bottom: 10px;
            width: 40%;
        }

    .sysparameter {
        width: 98%;
    }

    /*    .date-range div {
        width: 26%;
    }*/
}

@media (min-width: 1400px) {
    .ss {
        min-height: 35px;
    }
}

@media (max-width: 1015px) {
    .sp {
        min-height: 28px;
    }
}

@media (max-width: 800px) {
    .sp {
        min-height: 50px;
    }
}
.todo_table td, .todo_table th {
    border: 1px solid grey;
    text-align: center;
}
.logbook_auto_height{
    height: auto !important;
    padding:20px !important;
}
.logbook_module_no {
    width:50% !important;
    margin-left:5px !important;
}
.logbook_remark_textarea {
    resize: none;
    margin-left: 5px !important;
}

.logbook_module_row {
    margin: 20px;
}

.logbook_table {
    width: 100%;
    border: solid #5482BA 3px;
}

.logbook_table th, .logbook_table tr, .logbook_table td {
    border: solid #5482BA 1px;
    text-align: left;
    padding-left: 15px;
}

.comment_textarea {
    resize: none;
    width: 90%;
    margin:3% 0;
}

.summative_textarea {
    width:100%;
}

.assessment_report_table {
width:100%;
}

.logbook_table_ModuleNo_th {
    width:20% !important;
}
