﻿.error-background {
    background-color: #FFB8C6 !important;
}

.default-background {
    background-color: white !important;
}

.enabled-background {
    background-color: #DADDE0 !important;
}

.expired-color {
    color: #595959 !important;
}

/* Basic */
html, body {
    font-family: 微軟正黑體;
}

.title {
    margin: 0;
    padding: 0;
    font-size: 28px;
    font-family: 微軟正黑體;
    text-align: center;
    display: block;
    color: black;
    font-weight: 600;
}

.span-flow-root {
    display: flow-root;
}

.lable-username {
    color: black;
    font-size: 14pt;
}

/*選取框的樣式*/
input[type="radio"], input[type="checkbox"] {
    -ms-transform: scale(1.5); /* IE 9 */
    -webkit-transform: scale(1.5); /* Chrome, Safari, Opera */
    transform: scale(1.5);
    margin-left: 5px;
    margin-right: 5px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7,
.col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7,
.col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7,
.col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7,
.col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto,
.col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7,
.col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    padding-right: 0px;
    padding-left: 0px
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.div-padding {
    padding: 0px 8px 10px 8px; /*上 右 下 左*/
}

.div-padding-hasScroll {
    padding: 0px 25px 10px 8px; /*上 右 下 左*/
}

.justify {
    text-align: justify;
    text-justify: inter-ideograph;
    -ms-text-justify: inter-ideograph;
    -moz-text-align-last: justify;
    -webkit-text-align-last: justify;
}

.form-control {
    width: auto;
    display: inline-block;
    border: 1px solid rgb(118, 118, 118);
    color: black;
    padding: 0 0.5rem;
}

    .form-control:focus {
        color: black;
    }

.control-hide {
    display: none !important;
}

.input-text-readonly {
    background-color: white !important;
}

.ucl-div-container {
    position: relative;
    width: auto;
    display: inline-block !important;
}

.ucl-input-clear {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    position: absolute;
    right: 9px;
    bottom: 11px;
    display: none;
}

    .ucl-input-clear:hover {
        color: #000;
        text-decoration: none;
    }

    .ucl-input-clear:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
        opacity: .75;
    }

button.ucl-input-clear {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ucl-input-edit {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    margin-right: 5px;
}

    .ucl-input-edit:hover {
        color: #007BFF;
        text-decoration: none;
    }

    .ucl-input-edit:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
        opacity: .75;
    }

button.ucl-input-edit {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/*bootstrap model style*/
.tfbar {
    padding: 4px 0;
    position: relative;
}

    .tfbar > b, .tfbtn > b {
        display: block;
        font-weight: 600;
        padding: 5px 5px 3px 2px;
        font-size: 14pt;
    }

    .tfbar .col-md-item-name {
        width: 120px;
        text-align: right;
    }

.col-md-item-name-colspan {
    display: none;
}

.col-md-item-colspan {
    width: 294px;
    text-align: left;
    margin-left: 30px;
}

.col-md-item-checkbox {
    margin-right: 5px !important;
}

.tfbar-inline {
    padding: 4px 0;
    position: relative;
    display: inline-block;
}

    .tfbar-inline > b, .tfbtn-inline > b {
        display: block;
        font-weight: 600;
        padding: 5px 5px 3px 2px;
    }

/*水平翻轉*/
.hewenqiflipx {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    /*IE*/
    filter: FlipH;
}

/*垂直翻轉*/
.hewenqiflipy {
    -moz-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
    /*IE*/
    filter: FlipV;
}

.div-Main, .div-Main-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*
        TESEduResource版面調整
        margin: 60px 0px 0px 0px;
    */
    margin: 60px 0px 0px 0px;
    overflow-y: auto;
    background-color: white;
    border-left: 1px solid #e7e7e7;
}

.search-input-text {
    border-color:  #2D77B6;
    margin-right: -6px;
    width: 300px !important;
    height: 38px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.search-input-select {
    color: #3B3B3B;
    border-color: #2D77B6;
    margin-right: -5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

    .search-input-text:focus, .search-input-select:focus {
        outline: 0;
        box-shadow: none;
    }

.search-input-clear {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    position: absolute;
    right: 9px;
    bottom: 7px;
    display: none;
}

    .search-input-clear:hover {
        color: #000;
        text-decoration: none;
    }

    .search-input-clear:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
        opacity: .75;
    }

.pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

td.details-control {
    background: url('../../img/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('../../img/details_close.png') no-repeat center center;
}

.tab-content {
    padding: 10px;
    border-left: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    border-right: 1px solid #DDD;
}

.rwd-user {
    display: inline-block !important;
}

.rwd-icon {
    display: none !important;
}

.navbar-border-bottom {
    border-bottom: 1px solid #edebe9;
}

.function-bar {
    font-size: 18px;
}

.my-pointer {
    cursor: pointer;
}

.my-selected-background {
    background-color: #e0e0e0;
}

.my-hover-background {
    background-color: #EEEEEE;
}

    .my-selected-background > td > i.data-detil-vertical-ellipsis,
    .my-hover-background > td > i.data-detil-vertical-ellipsis {
        display: block !important;
    }

.my-hover-background-deep {
    background-color: #d5d3d3;
}

.li-active {
    background-color: #E1DFDD;
}

.my-menu-caret {
    margin: 0 -7px -8px;
}

.my-menu-caret-hidden {
    margin: 0 -7px -8px;
    visibility: hidden;
}

.my-icon-folder:before {
    content: "\f07b";
    color: #FFD358;
}

.my-check-circle:before {
    content: "\f058";
    color: #0078D4;
}

.my-icon-circle-select-all, .my-icon-circle-select {
    font-size: 16pt;
}

.funcbar-item-name-div {
    width: 105px;
    text-align: right;
}

.funcbar-item-name-div span {
    font-size: 15pt;
}

.funcbar-item-input-text {
    width: 170px;
}

.pdfobject-download {
    position: absolute;
    right: 95.4px;
    top: 10.5px;
    background-color: #323639;
    padding: 10px;
    font-size: 13.5pt !important;
    color: #F1F1F1;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: 100px;
}

    .pdfobject-download:before {
        content: "\f019";
    }

    .pdfobject-download:hover {
        cursor: pointer;
        background-color: #424649;
        color: #F1F1F1;
        text-decoration: none;
    }

@media screen and (min-width: 768px) {
    .navbar-collapse.collapse {
        height: 100vh !important;
    }
}

@media screen and (max-width: 1023px) {
    #div_title_center {
        display: none !important;
    }

    .div-Main {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 42px 0 0 0;
        overflow-y: auto;
        background-color: white;
        z-index: 1;
    }

    .div-Main-mobile {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 100px 0 0 0;
        overflow-y: auto;
        background-color: white;
        z-index: 1;
    }

    .col-md-item-name-colspan {
        display: inline-block;
    }

    .col-md-item-colspan {
        width: auto;
        text-align: left;
        margin-left: 0;
    }

    .my-menu-caret-hidden {
        margin: 0 -10px -8px;
        visibility: hidden;
    }

    .mnavbar-toggler-icon {
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        content: "";
        background: 50% / 100% 100% no-repeat;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    #div_DataDetil {
        margin-top: 0px;
        position: relative;
    }

    #navbarToggleRootMenu {
        transition: transform .35s ease;
        transform: translateX(-100%);
    }

        #navbarToggleRootMenu.collapse-active {
            transform: translateX(0%);
        }

    .navbar-border-bottom {
        display: table-cell;
        width: 100vw;
    }

    .navbar-border-bottom-mobile {
        border-bottom: none;
    }

    .function-bar.a {
        padding: 0 10px;
        min-height: 100%;
    }

    .rwd-icon {
        display: inline-block !important;
    }

    .rwd-user {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .div-Main-mobile {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 85px 0 0 0;
        overflow-y: auto;
        background-color: white;
        z-index: 1;
    }

    .my-menu-caret-hidden {
        margin: 0 -7px -8px;
        visibility: hidden;
    }
}

@media screen and (max-width: 767px) {
    .div-Main {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 42px 0 0 0;
        overflow-y: auto;
        background-color: white;
        z-index: 1;
    }
}

@media screen and (max-width: 576px) {
    .div-Main, .div-Main-mobile {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 50px 0 0 0;
        overflow-y: auto;
        background-color: white;
        z-index: 1;
    }
}