.cur-def {
    cursor: default !important;
}

.cur-poi {
    cursor: pointer !important;
}

/*marign-left */
.ml-05 {
    margin-left: 0.5rem !important;
}

.ml-04 {
    margin-left: 0.4rem !important;
}

.ml-03 {
    margin-left: 0.3rem !important;
}

.ml-02 {
    margin-left: 0.2rem !important;
}

.ml-01 {
    margin-left: 0.1rem !important;
}

/*marign-right 0.5rem*/
.mr-05 {
    margin-right: 0.5rem !important;
}

.mr-04 {
    margin-right: 0.4rem !important;
}

.mr-03 {
    margin-right: 0.3rem !important;
}

.mr-02 {
    margin-right: 0.2rem !important;
}

.mr-01 {
    margin-right: 0.1rem !important;
}
/*left 距離*/
.left-05 {
    left: 0.5rem !important;
}

.left-04 {
    left: 0.4rem !important;
}

.left-03 {
    left: 0.3rem !important;
}

.left-02 {
    left: 0.2rem !important;
}

.left-01 {
    left: 0.1rem !important;
}

/*right 距離*/
.right-05 {
    right: 0.5rem !important;
}

.right-04 {
    right: 0.4rem !important;
}

.right-03 {
    right: 0.3rem !important;
}

.right-02 {
    right: 0.2rem !important;
}

.right-01 {
    right: 0.1rem !important;
}

/*bottom 0.5rem*/
.bm-05 {
    bottom: 0.5rem !important;
}

.bm-04 {
    bottom: 0.4rem !important;
}

.bm-03 {
    bottom: 0.3rem !important;
}

.bm-02 {
    bottom: 0.2rem !important;
}

.bm-01 {
    bottom: 0.1rem !important;
}

/*top 0.5rem*/
.tp-05 {
    top: 0.5rem !important;
}

.tp-04 {
    top: 0.4rem !important;
}

.tp-03 {
    top: 0.3rem !important;
}

.tp-02 {
    top: 0.2rem !important;
}

.tp-01 {
    top: 0.1rem !important;
}
/* font-weight */
.fw-1 {
    font-weight: 100;
}

.fw-2 {
    font-weight: 200;
}

.fw-3 {
    font-weight: 300;
}

.fw-4 {
    font-weight: 400;
}

.fw-5 {
    font-weight: 500;
}

.fw-6 {
    font-weight: 600;
}

.fw-7 {
    font-weight: 700;
}

.fw-8 {
    font-weight: 800;
}

.fw-9 {
    font-weight: 900;
}
/* font-size */
.fs-05 {
    font-size: 0.5rem;
}

.fs-075 {
    font-size: 0.75rem;
}

.fs-09 {
    font-size: 0.9rem;
}

.fs-1-05 {
    font-size: 1.05rem;
}

.fs-1-1 {
    font-size: 1.1rem;
}

.fs-1-2 {
    font-size: 1.2rem;
}

.fs-1-3 {
    font-size: 1.3rem;
}

.fs-1-5 {
    font-size: 1.5rem;
}

.fs-2 {
    font-size: 2rem;
}

.fs-2-5 {
    font-size: 2.5rem;
}

.w-80 {
    width:80% !important;
}

/* border width */
.bd-0 {
    border-width: 0px;
}

.bd-1 {
    border-width: 1px;
}

.bd-2 {
    border-width: 2px;
}

/* border direction */
.bd-l {
    border-left-style: solid;
}

.bd-r {
    border-right-style: solid;
}

.bd-t {
    border-top-style: solid;
}

.bd-b {
    border-bottom-style: solid;
}

/* border color */
.bd-black {
    border-color: black !important;
}

.bd-gray {
    border-color: #00000029 !important;
}

.bd-main-purple {
    border-color: #623c80 !important;
}

/* flex-gap */
.gap-1 {
    gap: 1px;
}

.gap-2 {
    gap: 2px;
}

.gap-3 {
    gap: 3px;
}

.gap-4 {
    gap: 4px;
}

.gap-5 {
    gap: 5px;
}
.word-break {
    word-wrap: break-word;
}

/* bg 背景顏色 */
.bg-main-gray {
    background: var(--yt-main-gray);
}

.bg-main-black {
    background: var(--yt-main-black);
}

.bg-main-black-h {
    background: var(--yt-main-black-hover);
}

.bg-gray, .bg-gray-h {
    background: var(--yt-gray);
}

.bg-gray-h:hover {
    background: var(--yt-gray-hover);
}

.bg-blue-1 {
    background: #9cb4d1;
}

.bg-blue-2 {
    background: #5383bf;
}

.bg-blue-2, .bg-blue-2-h {
    background: #5383bf;
}

.bg-blue-2-h:hover {
    background: #2f6fa7;
}

.bg-green, .bg-green-h {
    background-color: #28a745 !important;
}

.bg-green-h:hover {
    background-color: #208b38 !important;
}

.bg-green-1 {
    background: #b4d19c;
}

.bg-green-2 {
    background: #9cd1b9;
}

.bg-yellow, .bg-yellow-h {
    background-color: #ffc107 !important;
}

.bg-yellow-h:hover {
    background: #e3af12 !important;
}

.bg-purple, .bg-purple-h {
    background: #ad7dd3 !important;
    color: white !important;
}

.bg-purple-h:hover {
    opacity: 0.8 !important;
}

.bg-tp, .bg-tp-h {
    background: transparent !important;
}

.bg-tp-h:hover {
    background: #ad7dd3 !important;
    color: white !important;
}

.bg-blue, .bg-blue-h {
    background: #2d5578 !important;
    color: white !important;
}

.bg-blue-h:hover {
    background: #2f6fa7 !important;
}

.bg-red, .bg-red-h {
    background: #d14e54 !important;
    color: white !important;
}

.bg-red-h:hover {
    background: #b5232a !important;
}

.bg-gray-2, .bg-gray-2-h {
    background: var(--yt-gray-2);
}

.bg-gray-2-h:hover {
    background: var(--yt-gray-2-hover);
}

.bg-gray-3 {
    background: var(--yt-gray-3);
}

.bg-pink, .bg-pink-h {
    background: var(--yt-pink) !important;
}

.bg-pink-h:hover {
    background: var(--yt-pink-hover) !important;
}
/* text color */
.t-main-purple {
    color: #623c80 !important;
}

.t-black {
    color: #000 !important;
}

.t-white {
    color: #fff !important;
}

.t-fb-blue {
    color: #466ac2 !important;
}

.t-line-green {
    color: #54C814 !important;
}

.t-red {
    color: #db0000 !important;
}

.t-gray {
    color: var(--yt-gray);
}

.t-main-gray {
    color: var(--yt-main-gray);
}

.t-gray-2 {
    color: var(--yt-gray-2);
}

.t-gray-3 {
    color: var(--yt-gray-3);
}


/* custom css */
.teacher_info .img_box {
    /*flex-shrink: 0;*/
}

.teacher_info .img_box img {
  /*  width: 22rem;*/
}

.teacher_items .img_box {
    max-height: 352px;
    height:100%;
}

.vanilla-calendar .vanilla-calendar-date--today span::after {
    content: 'Today';
    position: absolute;
    color: #ef0e0e;
    font-weight: 900;
    font-size: 12px;
    font-family: inherit;
    top: 26px;
}

.vanilla-calendar .vanilla-calendar-date--today span {
    background-color: #fff;
    color: var(--color_grey);
}

.vanilla-calendar .vanilla-calendar-date--today span {
    position: relative;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background-image: url('../../Scripts/plugin/assets/images_plus/icon/owl_arrow.png');
}

.owl-carousel .owl-nav button.owl-next {
    background-image: url('../../Scripts/plugin/assets/images_plus/icon/owl_arrow.png');
}

.owl-carousel .owl-nav button.owl-prev {
    background-image: url('../../Scripts/plugin/assets/images_plus/icon/owl_arrow.png');
}

.icon_finish .active span {
    color: #fff !important;
}

.form_select_box .select_btn i.fa-play { /* 異動 - i -> i.fa-play */
    transform: rotate(90deg) scale(.4,.6);
    margin-left: auto; /* 異動 - 增加 (下拉選單向下箭頭icon置右) */
}

.form_select_box .select_btn i.material-icons { /* 異動 - 增加 (評分input呈現) */
    font-size: 26px;
}

.form_select_box .select_li button.allcheck_btn {
    color: var(--color_skyblue);
    border: 0;
    padding: 0;
    background-color: transparent;
    margin-bottom: 5px;
}

.form_select_box .select_li {
    -webkit-touch-callout: none; /* iOS Safari */ /* 異動 - 不可選取 */
    -webkit-user-select: none; /* Safari */ /* 異動 - 不可選取 */
    -khtml-user-select: none; /* Konqueror HTML */ /* 異動 - 不可選取 */
    -moz-user-select: none; /* Firefox */ /* 異動 - 不可選取 */
    -ms-user-select: none; /* Internet Explorer/Edge */ /* 異動 - 不可選取 */
    user-select: none; /* 異動 - 不可選取 */
}

.form_select_box .select_li button.clear_btn {
    text-align: right;
    width: auto;
}

.form_select_box .select_li button.allcheck_btn {
    text-align: left;
    width: auto;
    margin-left: auto;
}

.form_select_box .select_li dl dt {
    cursor: pointer;
}

.form_select_box .select_li dl dd {
    margin-bottom: 8px;
    display: flex;
    gap: 3px;
}

.cus-prev {
    background-color: transparent !important;
    background-image: url(../../Scripts/plugin/assets/images_plus/icon/owl_arrow.png);
    border: 0;
    transform: scale(0.5);
    left: -34px;
    top: -7px;
    position: absolute;
    bottom: 50%;
    width: 46px;
    height: 46px;
    font-size: 24px;
    display: block;
    background-position: center center;
    background-repeat: no-repeat;
}

.cus-btn-group [class*=cus-]:hover {
    background-color: rgba(0,0,0,0.25) !important;
    color: #FFF;
    text-decoration: none;
}

.cus-prev span, .cus-next span {
    display: none;
}

.teacher_items h3 span {
    min-height: 20px;
}

.cus-next {
    background-color: transparent !important;
    background-image: url(../../Scripts/plugin/assets/images_plus/icon/owl_arrow.png);
    border: 0;
    transform: scale(0.5) rotate(180deg);
    right: -34px;
    top: -7px;
    position: absolute;
    bottom: 50%;
    width: 46px;
    height: 46px;
    font-size: 24px;
    display: block;
    background-position: center center;
    background-repeat: no-repeat;
}


.cus-btn-group p {
    display: inline-block;
}

.cus-btn-group {
    display: inline-block;
    position: relative;
    width: fit-content;
}

.cus-error {
    display: inline-block;
    padding: 0rem 0rem 0rem 3rem;
    color: var(--bs-red);
    font-size: 1.2rem;
}

.cus-nodata label {
    margin-bottom: 5rem;
    font-size: 1.8rem;
}

.cus-nodata {
    text-align: center;
}

.icon_finish .focus span {
    box-shadow: 0px 0px 0px 2px var(--color_grey);
    color: var(--color-gry);
}

.logo_box img {
    height:40px;
}

.text-sm {
    font-size: 0.9rem;
}

.navbar.active .top_header .logo_box img {
    filter: brightness(100);
}

.navbar .logo_box h4 {
    color:#000;
}

.owl-item.disabled, .owl_contact ul li.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.next-btn-icon {
    width: 24%;
    transform: rotate(180deg);
    padding-top: 2px;
}

.pay_box .next-btn {
    font-size: 1.5rem;
}

.next-btn:hover .next-btn-icon {
    filter: brightness(20);
}

#searchList a {
    color: #424242;
}

#searchList a:hover {
    color: #4f84e5;
}

.dz-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 100;
}

.dz-remove span {
    width: 30px;
    height: 30px;
    font-size: 24px;
    border-radius: 10px;
    color: white;
    cursor: pointer !important;
    padding-top: 3px;
    transition: 0.2s;
}

.dz-remove span.mi-delete {
    background: var(--point_red);
}

.dz-remove span.mi-cancel {
    font-size: 30px;
    color: var(--color_grey);
}

.dz-remove:hover span {
    transform: scale(1.1);
    transition: 0.2s;
}

.school_select_tab .owl-stage .time_month:hover {
    border-color: var(--color_black);
}

.school_select_tab .nav-tabs > li > a::before {
    background: url(../img/icon/triangle_arrow_green.png) no-repeat center center;
}

label.error {
    color: var(--bs-red) !important;
    padding: 0;
}

.form-control.error {
    border-color: var(--bs-red) !important;
}

.form-control.valid {
    border: 1px solid var(--line_grey) !important;
    box-shadow: unset !important;
    -webkit-box-shadow: unset !important;
}

.select2-container.select2-container--open {
    z-index: 1200;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: 2 !important;
}

.select2-selection.select2-selection--single {
    transition: none;
    border-radius: 6px;
    border: 1px solid var(--line_grey);
    background-color: var(--bg_white);
    line-height: 1em;
    font-size: 15px;
    height: 3rem;
}

.select2-selection__rendered .material-icons,
.select2-results__options .material-icons {
    cursor: pointer;
}

.select2-results__options [aria-selected=true]:not(.select2-results__option--highlighted) .col-black {
    color: #fff !important;
}

.talk_scoll {
    max-height: 500px;
    overflow-y: auto;
}

#nextConTime.data_box {
    height: 154px;
}

#nextConTime.data_box p {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.form_select_box .select_btn.star i.material-icons {
    transform: unset;
}

.form_select_box .select_btn.star + .select_li i.material-icons {
    position: relative;
    top: 3px;
}

.form_select_box .select_btn.star + .select_li dl {
    margin-bottom: 0.5rem;
}


.form_select_box .select_btn.star + .select_li dd {
    margin-bottom: 0px;
}

.form_select_box .select_btn.star + .select_li dd::after {
    position: relative;
    
}

.star_bar {
    text-align: center;
}

.h-card-full {
    height: calc(100% - 15px);
}

.owl-carousel .owl-stage{display: flex;}
.owl-item {
    flex: 1 0 auto;
}

.need_form .password_i i {
    height: auto;
    top: 11px;
}

.progress-bar-wrapper li.section.current::before {
    box-shadow: none;
    top: 7px;
}

.need_form input[type=email]:not(.browser-default),
.need_form input[type=email]:not(.browser-default),
.need_form select,
.need_form textarea {
    padding: 3px 10px !important;
}

body > .list_box {
    /* display: flex; */
    display: none;
    border-radius: 15px;
    max-width: 220px;
    position: absolute;
    left: -210px;
    top: -10px;
    border: 1px solid var(--line_grey);
    background-color: var(--bg_white);
    padding: 7px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0,.25);
}

body > .list_box > span {
    margin: 3px;
    width: 45%;
    text-align:center;
    white-space: nowrap;
}

.user-panel .image {
    background: url('../img/icon/icon_user.png') no-repeat center center #C4C4C4;
}

.list_box::after {
    background: url(../img/icon/icon_arrow.png) no-repeat;
}

.index_nav_tab .sel_tab li a.active::before {
    background: url('../img/icon/triangle_arrow_green.png') no-repeat center center;
}

.teacher_items .tag_box .more_box:hover .list_box {
    display: none;
}

.ck-editor__editable_inline {
    /* 設定最低高度 */
    min-height: 280px;
    width: 100%;
}

.ck-read-only {
    background-color: #e9ecef;
}

.ck-balloon-panel {
    z-index: 10000 !important;
}

.ck-editor__editable strong {
    font-weight: 600 !important;
}

#fullscreeneditor {
    width: 960px !important;
    left: 50% !important;
    transform: translateX(-50%);
}

.tag_box > span,.list_box > span {
    min-width:90px;
}

.info_box .tag_box {
    padding-right:0;
}

#fullscreeneditor .ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline, #fullscreeneditor .ck.ck-editor__main {
    height: 96% !important;
}

.table-tr .th {
    cursor: pointer;
}

.yt-page-loading {
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    top: 0;
    background: #000;
    opacity: 30%;
    z-index: 2999;
}

.table-tr i {
    margin: 0;
}

.table_date td {
    cursor: pointer;
}

.table_date td:not(.active):hover {
    box-shadow: inset 0px 0px 1px 1px #e1e1e1;
}

.date-note-blue {
    background: #D2F0FF !important;
}

.date-note-green {
    background: #A9ECC8 !important;
}

.more_mask {
    width: 270px;
}

.open_mask {
    width: 276px;
}


.more_mask::before, .open_mask::before, mask::after, .mask::after {
    background: url('../img/icon/icon_arrow.png') no-repeat center center;
}

.record_box .talk_box .main_box::before {
    background: url('../img/icon/icon_arrow.png') no-repeat left top;
}

table.table_date tr td span.more {
    display: inline-block;
    text-align: right;
    padding: 0 5px;
    cursor: pointer;
    width: auto;
}

table.table_date tbody tr td:nth-child(n+6) .more_mask {
    left: -56%;
}

table.table_date tbody tr td:nth-child(n+6) .more_mask::before {
    left: 268px;
    transform: rotate(180deg);
}

table.table_date tbody tr td:nth-child(n+6) .open_mask {
    left: -132%;
}

table.table_date tbody tr td:nth-child(n+6) .open_mask::before {
    transform: rotate(180deg);
    left: 274px;
}

table.table_date tbody tr:last-child td .more_mask {
    top: -8%;
}

table.table_date tbody tr:last-child td .more_mask::before {
    top: 178px
}


.user-panel .image img {
    max-width:133px;
}


.file-item {
    position: relative;
    width: 86px;
    height: 86px;
}

.del-small-trash {
    position: absolute;
    right: -10px;
    top: -10px;
    border: 0;
    background: #e93939;
    color: white;
    padding: 2px;
    border-radius: 7px;
    width: 28px;
    height: 28px;
    padding-top: 3px;
}

.del-small-trash span {
    font-size: 1.5rem;
}

[data-tourl] {
    cursor: pointer;
}

.article_main > div > .card {
    height: calc(100% - 15px);
}

#notice_Btn ul.menu {
    padding: 5px 0;
}

#notice_Btn ul.menu li {
    padding: 8px 13px;
}

.ck-editor__editable ul {
    padding-left: 2rem;
}

.ck-editor__editable ul li {
    list-style-type: disc;
}

.text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-ellipsis-m {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.flex-min-w-0 {
    min-width:0;
}

.vanilla-calendar-header__today {
    position: absolute;
    left: 71%;
    top: 8px;
    transform: translateX(-50%);
}

.login_bar,
.login_in_layout{
  display: flex;
  align-items: center;
}
.login_bar input,
.login_in_layout input{
  height: 34px !important;
}
nav .login_bar i,
nav .login_in_layout .icon_search i{
  position: absolute;
  left: 7px;
  top: 5px;
  height: 34px;
  line-height: 1em;
}

nav .login_bar .icon_search input,
nav .login_in_layout .icon_search input{
  padding-right: 5px;
  padding-left: 35px;
}
/*
ul.menu .menu-info .label-count {
    position: absolute;
    top: 6px;
    right: auto;
    left: -13px;
    font-size: 10px;
    line-height: 15px;
    background-color: #000;
    padding: 3px 3px;
    border-radius: 3px;
}*/
.menu-info .label-count {
    right: -12%;
}

.partner_box .item {
    padding: 10px;
}

.partner_box .item img{
    border-radius: 28px;
}

/*四大特色*/
.import_four ul li{  
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.line-break-any {
    line-break:anywhere;
}

.dateil_edit ul,.edit_main ul,ul.con-edus{
    padding-left: 2rem;
    list-style-type: disc;
}

.dateil_edit ul li,.edit_main ul li,ul.con-edus li{
    list-style-type: disc;
}

ul.con-edus li{
    line-height:1.8;
}

.loading-img-spin {
    bottom: 0;
    top:unset;
    -webkit-animation: jumpLogo 1.5s linear infinite !important;
    animation: jumpLogo 1.5s linear infinite !important;
}

i[data-type='star_item'] {
    color: #fcce47 !important;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color:rgba(0,0,0,0.07) !important;
}

@media (min-width: 768px) {
    #teacherItem .item .col-green {
        height: 48px;
    }

    .navbar.bg-light.active .top_header  .logo-name {
        color: #fff;
    }

    .navbar.active .top_header .logo_box h4 {
        color:#fff;
    }
}

@media (max-width: 768px) {
    .navbar .navbar-collapse.collapse {
        height: 57px;
        background-color: white;
    }

    .nologin_header .logo-name {
        color: var(--color_black);
    }

    .login_in_layout{
    flex-wrap: wrap;
    justify-content: center;
  }
  .login_in_layout .icon_search{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .login_in_layout button.btn{
    font-size: 15px;
  }  
  .theme-black .nologin_header .navbar.active .nav>li>a{
    color: #000;
  }
}

@media screen and (max-width: 1366px) {
    .ck-editor {
        min-width: 100%
    }

    .ck-editor__editable_inline {
        /* 設定最低高度 */
        min-height: 120px;
        width: 100%;
    }

    #fullscreeneditor {
        width: 100% !important;
    }
}

@keyframes changeBackground1 {
    from {
        background: gray;
        transform: scale(1);
    }

    to {
        background: black;
        transform: scale(1.2);
    }
}

@keyframes changeBackground2 {
    from {
        background: gray;
        transform: scale(1);
    }

    to {
        background: black;
        transform: scale(1.5);
    }
}

@keyframes jumpLogo {
    10% {
        height:40px;
    }
    12% {
        height:56px;
        transform: translateY(-50px);
    }
    18% {
        height:56px;
        transform: scaleX(0.8) translateY(-50px);
    }
    25% {
        height:50px;
        transform: scaleX(0.8) scaleX(1) translateY(0px);
    }
    35% {
        transform: scaleX(1.2);
        height:20px;
    }
    42% {
        transform: scaleX(1);
        height:56px;
    }
    47% {
        height:50px;
    }
    80% {
        height:50px;
    }
    100% {
        height:40px;
    }
}