﻿tml {
    height: 100%;
}

body {
    font: 16px EUDC,Microsoft JhengHei,arial,helvetica,clean,sans-serif;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    background-color: #F9F9F9
}

.k-widget {
    font: 16px EUDC,Microsoft JhengHei,arial,helvetica,clean,sans-serif;
}

.content {
    flex: 1
}

@media (max-width: 767px) {
    body, .k-widget {
        font-size: 13px;
    }
}

.logoImg {
    max-width: 80px;
}

/* telerik */
/*.k-dropdown .k-dropdown-wrap .k-input, .k-dropdowntree .k-dropdown-wrap .k-input,*/
.k-pager-wrap select.k-dropdown, .k-pager-wrap select.k-dropdowntree, .k-pager-wrap .k-dropdown .k-dropdown-wrap, .k-pager-wrap .k-dropdowntree .k-dropdown-wrap,
.k-pager-wrap select.k-dropdown:hover, .k-pager-wrap select.k-dropdowntree:hover, .k-pager-wrap select.k-dropdown.k-state-hover, .k-pager-wrap select.k-state-hover.k-dropdowntree, .k-pager-wrap .k-dropdown .k-dropdown-wrap:hover, .k-pager-wrap .k-dropdowntree .k-dropdown-wrap:hover, .k-pager-wrap .k-dropdown .k-dropdown-wrap.k-state-hover, .k-pager-wrap .k-dropdowntree .k-dropdown-wrap.k-state-hover {
    color: #007bff
}

.k-window-titlebar {
    font-weight: bold;
}

.k-pager-wrap .k-link.k-state-disabled {
    color: #686868
}

.k-grid a.k-button {
    color: white;
}

.k-grid-header {
    font-weight: bold
}

.k-tooltip-validation {
    display: inline-block;
    padding: 5px 10px;
}

.k-calendar .k-content th {
    color: #4E4E4E;
}

/* layer 開始 */
.layerDiv {
    margin: 10% auto 15px auto;
    width: 92%;
    max-width: 500px;
    display: none;
}

.layer {
    text-align: left;
    cursor: default;
}

    .layer .layerHeader {
        background-color: #2E5CFB;
        color: white;
        font-size: 15px;
        font-weight: bold;
        height: 38px;
        line-height: 38px;
        padding-left: 10px;
        position: relative;
        text-shadow: none;
        vertical-align: middle;
    }

        .layer .layerHeader .alertClose {
            background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAA7klEQVQ4y42UzQkCMRCFU8KWYgkpwRK2BEtIB3sQQUS8injYEgKKB0Xwp4EtYAWv62nMWyYwajLrgznszNsvP5PEmISIqAgxDuFCeA7HucIMic1Pygs1Z5TRPf0v/zOrkKhR2e0P1LaP7J+owcOqJaBE5ng603Q2p8VylQQhhxo88LLKCGnw1XUvWm+2SZAEwAMvqwHAytFSIAXQK3aDNJAGyEK+QRpAhcglaJsdIRMNgBnkNltCRhoAS9C61kO4xX6gjRroEiE2nlZtEyVInForT22FzPV2z3YhguBhVbkb/K+c9hTYgdvsP5YQ9AaPv4MWctOqjwAAAABJRU5ErkJggg==') /*Common/X_icon.png*/;
            display: block;
            height: 50px;
            position: absolute;
            right: 0;
            top: -3px;
            width: 50px;
            cursor: pointer;
            background-size: 24px 24px;
            background-repeat: no-repeat;
            background-position: 15px 9px;
        }

    .layer .layerContent {
        background-color: #fff;
        padding-bottom: 5px;
    }

    .layer .content {
        padding-left: 20px;
    }

/* layer 結束 */

/* alert */
#AlertDialog .layerContent {
    font-size: larger;
    padding: 10px;
}

    #AlertDialog .layerContent .subTitle {
        margin-bottom: 5px;
    }

/* loginOut */
.logoutBtn {
    cursor: pointer;
}

/* footer */
footer {
    margin-top: 30px;
}

.company {
    font-size: 10px;
    text-align: center;
    color: #686868;
    border-top: 1px solid #DCDCDC;
    padding: 10px;
    width: 80%;
    margin: 10px auto;
}

    .company h6 {
        margin: 0;
    }

@media (max-width: 767px) {
    .company {
        margin-top: 0;
        margin-bottom: 0;
    }

        .company h6 {
            font-size: 8px;
            font-weight: normal;
            -webkit-transform: scale(0.75);
            -moz-transform: scale(0.75);
            -ms-transform: scale(0.75);
            -o-transform: scale(0.75);
            transform: scale(0.75);
        }
}

/* 左側選單 */
.leftmenu {
    background-color: white;
    color: #686868;
    border-radius: 5px;
    border: 1px solid #dcdcdc;
}

    .leftmenu h3 {
        padding-left: 10px;
        font-weight: bold;
        font-size: 25px;
        background-color: #FBFBFB;
        color: #6C757D;
        font-weight: bold;
        line-height: 45px;
        font-size: 20px;
        border-bottom: 1px solid #DCDCDC;
        border-radius: 5px 5px 0 0;
        padding: 5px 15px;
    }

    .leftmenu ul.nav {
        padding: 10px;
    }

        .leftmenu ul.nav li a {
            font-size: 22px;
            color: #686868
        }

            .leftmenu ul.nav li a.active {
                color: #0F71BC;
                background-color: #F9F9F9;
            }

    .leftmenu .menuHint {
        padding-left: 5px;
        font-weight: bold;
        font-size: 14px;
        line-height: 30px;
        margin-left: 10px;
        margin-right: 10px;
        border-bottom: 1px solid #DCDCDC;
        display: block;
    }
/* 右側內容*/
.rightContent {
    background-color: white;
    min-height: 300px;
    padding: 20px 15px;
    -moz-box-shadow: 2px 2px 11px rgba(165, 165, 165, 0.5);
    -webkit-box-shadow: 2px 2px 11px rgba(165, 165, 165, 0.5);
    box-shadow: 2px 2px 11px rgba(165, 165, 165, 0.5);
}

.rightTitle {
    color: #0F71BC;
    font-weight: bold;
}

.rigthDiv {
    max-width: 75%;
}

@media (max-width: 1024px) {
    .leftmenu {
    }

        .leftmenu ul {
            display: block;
        }

            .leftmenu ul li {
                display: inline-block;
            }

            .leftmenu ul.nav li a {
                font-size: 18px;
            }

    .rigthDiv {
        max-width: 100%;
        width: 100%;
        margin-top: 10px;
    }
}

/* logout */
/* Float */
.logoutBtn {
    display: inline-block;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

/*    .logoutBtn:hover, .logoutBtn:focus, .logoutBtn:active {
        -webkit-transform: translateY(-3px);
        transform: translateY(-3px);
    }*/

/* all */
.color1 {
    color: #0F71BC;
}

.color2 {
    color: #12A1B7;
}

.bg-white {
    background-color: white;
}

.bg-color1 {
    background-color: #0F71BC;
}

.bg-color2 {
    background-color: #12A1B7;
}

.bg-color3 {
    background-color: #067aed;
}

.bg-colorGray {
    background-color: darkgray;
}

.bg-colorWaterblue {
    background-color: #e3f1fd;
}

.color-white {
    color: white
}

.color-gray {
    color: #6C757D;
}

/* header */

.mheader {
    height: 50px;
    font-size: 20px;
    line-height: 50px;
}

    .mheader .loginZoneDivM {
        padding-right: 5px;
        padding-left: 0;
        text-align: right;
    }

    .mheader .usname {
        font-size: 20px;
    }

    .mheader .lbtn {
        font-size: 20px
    }

.school-title {
    color: #0F71BC;
    font-size: 40px;
    line-height: 50px;
    font-weight: bold;
}

.system-title {
    color: #12A1B7;
    font-size: 28px;
    line-height: 38px;
}

@media(max-width:991px) {
    .system-title {
        color: #12A1B7;
        font-size: 20px
    }
}

/* nav */
a.nav-item {
    color: white;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 20px;
    margin-top: -8px;
    margin-bottom: -8px;
    line-height: 42px;
}

    a.nav-item.active {
        background-color: #12A1B7;
    }

.navbar-nav a.nav-item.nav-link {
    padding-left: 30px;
    padding-right: 30px;
}

.nav-system-index {
    background-color: #F3F3F3;
    padding: 7px 15px;
    color: #6C757D;
    border-radius: 23px;
    text-decoration: none;
    line-height: 25px;
    margin-right: 15px;
    font-size: 20px;
}

    .nav-system-index:hover {
        text-decoration: none;
    }

.index-active {
    color: #0F71BC;
    font-weight: bold;
    background-color: white;
}

.breadcrumb-item a {
    color: #0F71BC;
    text-decoration: none;
}

@media (max-width:991px) {
    .nav-system-index {
        display: inline-block;
        padding: 7px 15px;
        margin-top: 6px;
        margin-bottom: 6px;
    }

        .nav-system-index.index-active a {
            color: #0F71BC;
        }

        .nav-system-index a {
            color: #6C757D;
        }
}

/* sbox */
.sbox {
    font-size: 20px;
    -moz-box-shadow: 2px 2px 11px rgba(165, 165, 165, 0.5);
    -webkit-box-shadow: 2px 2px 11px rgba(165, 165, 165, 0.5);
    box-shadow: 2px 2px 11px rgba(165, 165, 165, 0.5);
    padding: 20px;
    background-color: white
}

@media (max-width: 767px) {
    .sbox {
        margin: 0 -15px;
        background-color: #F9F9F9
    }
}

/*信箱尚未驗證畫面*/
.email-notvaild {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 270px;
    text-align: center;
    background-color: white;
    z-index: 1;
    box-shadow: 2px 3px 10px rgba(0,0,0,0.2);
    transition: 0.5s;
    display: none;
}

    .email-notvaild.IsShow {
        display: block;
    }

.emailNotVaild-Slide {
    position: absolute;
    bottom: 134px;
    right: 111px;
    background: #4E4E4E;
    color: white;
    border-radius: 5px 5px 0 0;
    padding: 2px 15px 0px 15px;
    cursor: pointer;
}

.fa, .fas {
    transition: 0.5s;
}

.rotate {
    transform: rotate(180deg);
    transition: 0.5s;
}

.slideDown {
    bottom: -125px;
    transition: 0.5s;
}

.emailNotVaild-Title {
    background-color: #EC3775;
    color: white;
    line-height: 15px;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.email-notvaild p {
    padding: 15px;
    cursor: pointer;
    margin-bottom: 0
}

@media (max-width:767px) {
    .email-notvaild {
        bottom: 0px;
        right: initial;
        width: 100%;
        box-shadow: none;
        border-top: 1px solid #DCDCDC;
        display: none;
    }

        .email-notvaild p {
            padding: 8px 15px 26px 135px;
            text-align: left;
            display: flex;
        }

        .email-notvaild button {
            display: inline;
        }

        .email-notvaild.IsShow {
            display: block;
            text-align: right;
        }

    .emailNotVaild-Slide {
        display: none;
    }

    .emailNotVaild-Title {
        padding: 10px 10px 150px 10px;
        position: absolute;
        left: 0;
        border-radius: 0;
    }

    .emailCloseBtn {
        color: #4E4E4E;
        font-size: 20px;
        cursor: pointer;
        position: absolute;
        right: 15px;
    }

    .nowrap-sm {
        white-space: nowrap;
        display: block;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .nowrap-sm-item {
        display: inline-block;
    }
}

/*資料讀取中小動畫*/
.loading-box {
    width: 120px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
}

.loading-ani {
    color: #47B5BE;
    line-height: 45px;
    user-select: none;
}

.dot {
    display: inline-block;
    background-color: #47B5BE;
    width: 3px;
    height: 3px;
    border-radius: 100%;
    animation: wave 1.3s linear infinite;
}

    .dot:nth-child(3) {
        animation-delay: 0.3s;
    }

    .dot:nth-child(4) {
        animation-delay: 0.5s;
    }

@keyframes wave {
    0%,25%,100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 手機版 選單 */
.menuMContent {
    white-space: nowrap;
}

.menuMDiv {
    overflow-x: auto;
    overflow-y: hidden;
}

.menuMItem {
    display: inline-block;
    vertical-align: top;
    background-color: #0F71BC;
    position: relative;
    width: auto;
    color: white;
    padding: 5px 20px;
    font-size: 20px;
    line-height: 40px;
    transition-duration: 0.2s;
}

    .menuMItem.active {
        background-color: #50c2cc;
    }

    .menuMItem a {
        color: white;
    }

.menuMtoggle {
    outline: none;
    border: none;
    background: #dcdcdc;
    font-size: 14px;
    line-height: 40px;
    padding: 6px 20px;
    z-index: 98;
    box-shadow: -4px 0px 4px -3px rgba(0,0,0,0.4);
    position: absolute;
    right: 0;
    transition-duration: 0.2s;
}

    .menuMtoggle:focus {
        outline: none;
    }

.menuMtoggleContent .menuMDiv {
    width: 88%;
}

.menuMtoggleContent .menuMtoggleTitle {
    display: none;
}

/*手機版選單展開後的樣式*/
.menuMtoggleContent.active .menuMDiv {
    z-index: 97;
    position: absolute;
    width: 100%;
    background-color: #0F71BC;
    box-shadow: 0px 7px 13px 0px rgba(0,0,0,0.4);
    transition-duration: 0.2s;
}

.menuMtoggleContent.active .menuMtoggleTitle {
    color: white;
    font-size: 20px;
    width: 100%;
    padding: 5px 20px;
    line-height: 40px;
    display: inline-block;
    background-color: #0F71BC;
    transition-duration: 0.2s;
}

.menuMtoggleContent.active .menuMItem {
    display: block;
}

    .menuMtoggleContent.active .menuMItem a {
        display: block;
        line-height: 40px;
    }

@media (max-width: 767px) {
    .menuMItem a {
        font-size: 18px;
        line-height: 30px;
    }
}

.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 30px;
    height: 30px;
    -webkit-animation: spina 1s linear infinite; /* Safari */
    animation: spina 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spina {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spina {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.addStudent {
    color: #12A1B7;
    cursor: pointer;
}

@media (max-width: 991px) {
    .addStudent {
        display: block;
        padding-bottom: 15px;
        font-size: 16px;
    }
}

.cookiBindTop {
    font-size: 16px;
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 15px;
}

.cookieBindBtn {
    border-radius: 20px;
    margin-bottom: 10px;
    width: 100%;
}

/* telerik */
@media (max-width: 1023px) {
    .k-pager-input {
        display: none;
    }
}

/*Nav最右方的區域*/
.IconBtn {
    font-size: 27px;
    cursor: pointer;
    user-select: none;
}

.IconBtnName {
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.IconFamily:hover .IconBtn {
    transform: translateY(-3px);
}

/* 課表的表格樣式 */
.rotate90deg {
    transform: rotate(90deg)
}

.timeTableBody thead td {
    border-bottom-width: 1px;
}

.timeTableBody td {
    padding: 5px;
    border: 1px solid #666666;
}

.timeTableBody .timeTableSection {
    background-color: #FFF3CD;
    color: #856404;
    text-align: center;
    vertical-align: middle;
}

.timeTableSectionName {
    font-size: 18px;
    font-weight: bold;
}

.timeTableClass {
    font-size: 16px;
    text-align: center;
    width: 135px;
}

    .timeTableClass .className {
        background-color: #F5F5F5;
        border-radius: 5px;
        font-weight: 700;
        padding: 5px;
    }

@media(max-width:768px) {
    .timeTableClass {
        font-size: 16px;
        text-align: center;
        min-width: 90px;
    }
}

.outlineRedBtn {
    color: #EC3775;
    border: 1px solid #EC3775;
    border-radius: 30px;
    cursor: pointer;
}

    .outlineRedBtn:hover {
        background-color: #EC3775;
        color: white;
    }

.outlineBlueBtn {
    color: #0F71BC;
    border: 1px solid #0F71BC;
    border-radius: 30px;
    cursor: pointer;
}

    .outlineBlueBtn:hover {
        background-color: #0F71BC;
        color: white;
    }

/*#region Vue */

/*Vue頁面加載時 隱藏未編譯的綁定元素*/
[v-cloak] {
    display: none;
}

/*#endregion */

/*升學報名系統_表格內文字*/
.formfont {
    color: #0F71BC;
    line-height: 12px;
    font-weight: bold;
}

/**third party app webview hide element**/
.hide-at-third-party-webview {
    display: none !important;
}