html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: #fff;
    color: #222;
}

@media (min-width: 1680px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 1400px;
    }
}

main {
    background-color: #00b3d6;
    background-image: url("{{ asset('img/bg.png') }}"),
        -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #33c2c9), color-stop(100%, #00b3d6));
    background-image: url("{{ asset('img/bg.png') }}"),
        -webkit-linear-gradient(#33c2c9, #00b3d6);
    background-image: url("{{ asset('img/bg.png') }}"),
        -moz-linear-gradient(#33c2c9, #00b3d6);
    background-image: url("{{ asset('img/bg.png') }}"),
        -o-linear-gradient(#33c2c9, #00b3d6);
    background-image: url("{{ asset('img/bg.png') }}"),
        linear-gradient(#33c2c9, #00b3d6);
    padding-top: 80px;
    background-position: bottom center;
    background-repeat: repeat, no-repeat;
    background-size: 100% auto;
}

main > section:first-child,
#block1 {
    margin-top: -80px;
    padding-top: 80px;
}

@media (min-width: 992px) {
    main {
        padding-top: 135px;
    }

    main > section:first-child,
    #block1 {
        margin-top: -135px;
        padding-top: 135px;
    }
}

a,
a:hover,
a:focus,
a:active,
a:visited,
button,
button:hover,
button:focus,
button:active,
button:visited,
.trans,
.trans:hover,
.trans:focus,
.trans:active,
.trans:visited {
    text-decoration: none;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

a {
    color: #23485b;
}
a:hover {
    color: #ed5840;
    text-decoration: none;
}

input,
input + label {
    cursor: pointer;
    vertical-align: middle;
}

.btn,
.nav-pills .nav-link,
.nav-tabs .nav-link,
.dropdown-menu,
.form-control,
.list-group {
    border-radius: 0;
}

.btn:focus,
.btn.focus {
    box-shadow: 0 0 0 0.2rem rgb(255 255 255 / 25%);
}

.alert ul:last-child { margin-bottom: 0; }

/* ----- all pages (B) ----- */
/* 按鈕button */
.button {
    background-color: #23485b;
    color: #fff;
    font-size: 1rem;
    padding: 0.375rem 0.5rem;
    letter-spacing: 0;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.button:hover {
    letter-spacing: 2px;
    color: #fff;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-border {
    background-color: transparent;
    border: 1px solid;
}

.btn-main {
    font-size: 1.25rem;
    padding: 0.5rem 1.5rem;
    letter-spacing: 1px;
}
.btn-main:hover {
    letter-spacing: 0.15rem;
    word-spacing: -0.15rem;
}

.button.btn-long:hover { letter-spacing: 0.5px; }

.btn-b {
    background-color: #00b3d6;
}
.btn-y {
    background-color: #f9be4a;
}
.btn-r {
    background-color: #ed5840;
}
.btn-w {
    background-color: #fff;
    color: #23485b;
}
.btn-w:hover {
    color: #23485b;
}

.btn-bd-b {
    color: #00b3d6;
}
.btn-bd-y {
    color: #f9be4a;
}
.btn-bd-r {
    color: #ed5840;
}

.btn-link {
    color: #00b3d6;
    text-decoration: underline;
}
.btn-link:hover {
    color: #ed5840;
}

.btn-arrow:after {
    content: "\f054";
    padding-left: 0.5rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.btn-small {
    font-size: 0.875rem;
}

.btn-img:hover {
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
}

.btn-faint { opacity: 1; }
.btn-faint:hover { opacity: 0.8; }

.btn-icon {
    width: 2.325em;
    height: 2.325em;
}

/* font color */
.fc-b {
    color: #00b3d6 !important;
}
.fc-db {
    color: #23485b !important;
}
.fc-y {
    color: #f9be4a !important;
}
.fc-ly {
    color: #fef6df !important;
}
.fc-r {
    color: #ed5840 !important;
}
.fc-lgy {
    color: #aaa !important;
}
.fc-pk {
    color: #D67AA0 !important;
}
.fc-bk {
    color: #222 !important;
}

.bg-ly {
    background-color: #fef6df !important;
}
.bg-b {
    background-color: #00b3d6 !important;
}
.bg-y {
    background-color: #f9be4a !important;
}
.bg-r {
    background-color: #ed5840 !important;
}
.bg-db {
    background-color: #23485b !important;
}
.bg-gy {
    background-color: #aaa !important;
}
.bg-lgy {
    background-color: #e7e7e7 !important;
}

.bd-b {
    border-color: #00b3d6 !important;
}
.bd-y {
    border-color: #f9be4a !important;
}
.bd-r {
    border-color: #ed5840 !important;
}
.bd-ly {
    border-color: #fef6df !important;
}

.block .text-content {
    padding: 1em;
}

.text-content h1,
.text-content h2 {
    display: inline-block;
    font-family: "Noto Sans TC", sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #23485b;
    border-bottom: solid 1px;
    /* letter-spacing: 0.1rem; */
    word-spacing: 0.25rem;
    padding-bottom: 0.5rem;
}

.block .text-content p {
    font-size: 1.75rem;
    font-weight: bold;
    /* letter-spacing: 0.25rem; */
    word-spacing: 0.1rem;
}

@media (max-width: 991px) {
    .text-content h1,
    .text-content h2 {
        font-size: 2.5rem;
    }
}

/* 表單樣式 */
.form-control {
    color: #aaa;
}

/* table 表格樣式 */
.table {
    color: inherit;
}

.table thead th,
.table tbody th, .table tbody td {
    border: 1px solid #ced4da;
    text-align: center;
    vertical-align: middle;
}

.table thead tr {
    background-color: #23485b;
    color: #fff;
}

.table tbody tr {
    background-color: #fff;
    color: #222;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.table-hover tbody tr:hover {
    background-color: #f9be4a;
    color: #fff;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.table tbody td {
    padding: 0.5rem;
}

.table .button {
    font-size: 1em;
}

/* ----- all pages (E) ----- */

/* ----- all header (B) ----- */
header {
    background-color: rgba(0, 179, 214, 0);
    height: 135px;
    font-size: 1rem;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
header .nav-scroll {
    display: none;
}

header .navbar-brand {
    width: 120px;
}

@media (min-width: 992px) {
    header .navbar-brand {
        width: 100%;
    }

    /* 卷軸往下滑才出現 */
    header.cover {
        background-color: rgba(0, 179, 214, 0.95);
        height: 80px;
        /* padding: 0.5em; */
        -webkit-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

    header.cover .nav-top {
        display: none;
    }
    header.cover .nav-scroll {
        display: block;
    }
}

header .navbar .btn {
    width: 100%;
    font-size: 1em;
    color: #fff;
    border-color: #fff;
}

header .navbar .btn:hover,
header .navbar .btn:focus,
.navbar-light .navbar-nav .nav-item.show .btn {
    background-color: #fff;
    color: #00b3d6;
}

header .nav {
    width: 100%;
    max-width: 900px;
}

header .nav .nav-item {
    letter-spacing: 0.1em;
    padding: 0.3em 1em;
}

header .btn-outline-light:hover,
header .btn-outline-light:not(:disabled):not(.disabled).active,
header .btn-outline-light:not(:disabled):not(.disabled):active,
header .show > .btn-outline-light.dropdown-toggle {
    color: #00b3d6;
}

.dropdown-menu {
    display: block;
    visibility: hidden;
    font-size: 1em;
    background-color: #00b3d6;
    border: solid 1px #f8f9fa;
    padding: 0.5em 1em;
    top: 50%;
    right: 0; /* 假如有使用 dropdown-menu-end，這邊就要設定為0 */
    opacity: 0;
    box-shadow: 0 0.15em 0.35em rgb(34, 34, 34, 0.15);
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -ms-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

.dropdown-item {
    color: #f8f9fa;
    border-bottom: solid 1px #f8f9fa;
    text-align: center;
    padding: 0.5em 1.5em;
}

.dropdown-item:last-child,
header .navbar .nav-item:last-child {
    border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent;
    color: #ffdb59;
}

.dropdown-menu-center {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}

.dropdown-menu-right {
    left: auto !important;
    right: 0 !important;
    transform: translateX(1px) !important;
}

.dropdown-menu-left {
    left: 0 !important;
    right: auto !important;
    transform: translateX(-1px) !important;
}

.dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    top: 110% !important;
}

@media (max-width: 991px) {
    header {
        background-color: rgba(0, 179, 214, 0.95);
        height: auto;
    }

    header .navbar .nav-item {
        border-bottom: 1px solid #fff;
        padding: 0;
    }

    header .navbar .nav-item .btn {
        font-size: 1.325em;
        letter-spacing: 0.25em;
        border: none;
        padding: 0.75em;
    }

    .navbar-nav .dropdown-menu {
        font-size: 1.325em;
    }

    .navbar-nav .dropdown-item {
        display: inline-block;
        width: calc(50% - 4px);
        border: none;
    }

    .navbar-nav .dropdown-menu-center {
        transform: translateX(0);
    }
}

/* ----- 子頁面的header ----- */
header.user-status + main {
    background: #e9ecef;
    padding-top: 2vw;
    padding-bottom: 2vw;
    margin-top: 80px;
}

header.page-header {
    background: #00b3d6;
    height: 80px;
}

header.page-header .btn,
header span {
    font-size: 0.9375em;
    color: #fff;
    line-height: 1.25em;
}
header.page-header .show .btn[aria-expanded="true"],
header.page-header .btn:hover,
header.page-header .btn:active {
    background: #fff;
    color: #00b3d6;
}

header.page-header i.fa-bell {
    font-size: 2em;
}

header.page-header .dropdown-menu {
    background-color: #fff;
    border-color: #00b3d6;
}

header.page-header .dropdown-item {
    color: #00b3d6;
    border-color: #00b3d6;
}
header.page-header .dropdown-item:hover {
    color: #23485b;
}

@media (min-width: 768px) {
    header.page-header {
        font-size: 1rem;
    }
}

/* 學生環境 user-status isstudent */
header.user-status.isstudent + main {
    background: #fff;
    /* background-image: url("{{asset('img/footer_img01.png') }}"), url("{{asset('img/user_bg.png') }}"); */
    background-image: url("../img/footer_img01.png"), url("../img/user_bg.png");
    background-position: bottom center, top center;
    background-repeat: no-repeat, repeat;
    background-size: 100% auto;
    padding-bottom: 8vw;
}

header.user-status.isstudent {
    background: #00b3d6;
}
header.user-status.isstudent .btn:hover {
    color: #00b3d6;
}
header.user-status .dropdown-menu {
    border-color: #00b3d6;
}

header.user-status .dropdown-item {
    color: #00b3d6;
    border-color: #00b3d6;
}
header.user-status .dropdown-item:hover {
    color: #23485b;
}

/* 老師環境 user-status isteacher */
header.user-status.isteacher + main {
    background: #e9ecef; /* Old browsers */
    background: -moz-linear-gradient(
        left,
        #e9ecef 0%,
        #e9ecef 5%,
        #ffffff 5%,
        #ffffff 95%,
        #e9ecef 95%,
        #e9ecef 100%
    ); /* FF3.6-15 */
    background: -webkit-linear-gradient(
        left,
        #e9ecef 0%,
        #e9ecef 5%,
        #ffffff 5%,
        #ffffff 95%,
        #e9ecef 95%,
        #e9ecef 100%
    ); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(
        to right,
        #e9ecef 0%,
        #e9ecef 5%,
        #ffffff 5%,
        #ffffff 95%,
        #e9ecef 95%,
        #e9ecef 100%
    ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9ecef', endColorstr='#e9ecef',GradientType=1 ); /* IE6-9 */
}

header.user-status.isteacher {
    background: #f9be4a;
}
header.user-status.isteacher .show .btn[aria-expanded="true"],
header.user-status.isteacher .btn:hover,
header.user-status.isteacher .btn:active {
    color: #f9be4a;
}
header.user-status.isteacher .dropdown-menu {
    border-color: #f9be4a;
}

header.user-status.isteacher .dropdown-item {
    color: #ffa900;
    border-color: #f9be4a;
}
header.user-status.isteacher .dropdown-item:hover {
    color: #ed5840;
}

/* ----- all header (E) ----- */

/* ----- all footer (B) ----- */
footer {
    position: relative;
    background-color: #23485b;
    z-index: 99;
    font-size: 0.9375rem;
}

footer .btn.btn-link {
    color: #fff;
    text-decoration: none;
}
footer .btn.btn-link:hover {
    color: #ffdb59;
    text-decoration: none;
}
footer .btn.btn-link:before {
    content: "\f0da";
    padding-right: 0.5rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

footer .need-cookie-area a {
    color: #ed5840;
}
footer .need-cookie-area a:hover {
    color: #ed5840;
    text-decoration: underline;
}
/* ----- all footer (E) ----- */

/* ----- animations (B) ----- */
/* 縮放 */
.zoom {
    animation: zoom 3s infinite ease alternate;
}

@keyframes zoom {
    from {
        -webkit-transform: scale(0.95);
        -moz-transform: scale(0.95);
        -ms-transform: scale(0.95);
        -o-transform: scale(0.95);
        transform: scale(0.95);
    }

    to {
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -ms-transform: scale(1.05);
        -o-transform: scale(1.05);
        transform: scale(1.05);
    }
}

/* BN逐漸放大 */
.zoom-in {
    animation: zoom-in 9s infinite linear normal both;
}

@keyframes zoom-in {
    from {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }

    to {
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        -ms-transform: scale(1.2);
        -o-transform: scale(1.2);
        transform: scale(1.2);
    }
}

/* 左右移動 */
.move {
    animation: move 5s infinite ease alternate;
}

@keyframes move {
    from {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }

    to {
        -webkit-transform: translateX(15%);
        -moz-transform: translateX(15%);
        -ms-transform: translateX(15%);
        -o-transform: translateX(15%);
        transform: translateX(15%);
    }
}

/* 上下跳動 */
.jump {
    animation: jump 3s infinite ease alternate;
}

@keyframes jump {
    from {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    to {
        -webkit-transform: translateY(5%);
        -moz-transform: translateY(5%);
        -ms-transform: translateY(5%);
        -o-transform: translateY(5%);
        transform: translateY(5%);
    }
}

/* ----- animations (E) ----- */

/* ----- 最新消息 start ----- */
.news-list-block {
    position: relative;
    margin: 2%;
    padding: 3% 5%;
    background-color: #fff;
    border: 1px solid #e6f6fc;
}
.news-list-group .list-group-item {
    border: 0;
    border-bottom: 1px solid #e6e6e6;
    padding: 1.25rem 0;
    text-align: left;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.news-list-group .list-group-item:hover {
    border-color: #f9be4a;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.news-list-group .list-group-item i.fa-square {
    color: #f9be4a;
    padding-right: 0.75rem;
    font-size: 0.5rem;
}

.news-list-group .list-group-item i.fa-chevron-right {
    padding-left: 0.75rem;
}

.news-block .more {
    top: -1.5rem;
    right: 1rem;
}
/* ----- 最新消息 end ----- */

/* ----- 跳窗訊息modal start ----- */
.modal .modal-header p {
    font-size: 1.125rem;
    text-align: center;
    letter-spacing: 0.5em;
    width: 100%;
    margin-bottom: 0;
    color: #aaa;
}

.modal .modal-header p:before {
    content: "[";
    padding-right: 0.25em;
}
.modal .modal-header p:after {
    content: "]";
    padding-left: 0.25em;
}

.modal .modal-body .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00b3d6;
    letter-spacing: 0.1em;
    line-height: 1.25em;
    margin-bottom: 0.5em;
}

.modal .modal-body p {
    margin-bottom: 0.5em;
}
/* ----- 跳窗訊息modal end ----- */

/* ----- 點擊按鈕後浮現訊息 ----- */
.msg-alert {
    display: none;
    position: absolute;
    top: -100%;
    left: 50%;
    font-size: 0.875rem;
    min-width: 10em;
    margin-left: -5em;
    z-index: 99999;
    padding: 0.5em;
    border-radius: 0.25em;
    border: 1px solid transparent;
    color: #fff;
    background-color: #23485b;
}
/* ----- 點擊按鈕後浮現訊息 end ----- */

/* ----- 通知 start ----- */
/* 鈴鐺icon */
.dropdown-notifications .dropdown-toggle {
    border-radius: 100px;
    width: 3.135em;
    padding: 0.5em;
}

.dropdown-notifications .dropdown-toggle::after {
    display: none;
}

.dropdown-notifications .dropdown-toggle .notification-icon:after {
    position: absolute;
    content: attr(data-count);
    margin-left: -0.6em;
    margin-top: -0.6em;
    padding: 0 0.1em;
    min-width: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
    background: #ed5840;
    border-radius: 1em;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
    font-weight: 600;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 下拉式選單內容 */
.dropdown-notifications .dropdown-container {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    float: left;
    min-width: 25em;
    /* max-width: 30em; */
    font-size: 0.875rem;
    background-color: #fff;
    border: 1px solid;
    box-shadow: 0 0.15em 0.35em rgb(34 34 34 / 15%);
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -ms-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

/* .open > .dropdown-container > .dropdown-notificationMenu, */
.dropdown-notifications.open > .dropdown-container {
    opacity: 1 !important;
    visibility: visible !important;
    top: 110% !important;
}

.dropdown-notifications .dropdown-toolbar {
    padding: 0.75em 1em;
    border-bottom: 1px solid #e7e7e7;
}

.dropdown-notifications .dropdown-toolbar .dropdown-toolbar-title {
    margin-bottom: 0;
    font-size: 1.25em;
    color: #00b3d6;
}

.dropdown-notifications .dropdown-toolbar .btn-link {
    text-decoration: none;
    padding: 0 0.5em;
}

/* 各則訊息 */
.dropdown-notifications .dropdown-container > .dropdown-notificationMenu {
    position: static;
    z-index: 1000;
    float: none !important;
    margin: 0;
    padding: 0;
    /* border: 0; */
    /* background: transparent; */

    /* max-height: calc(100vh - 14em); */
    /* overflow-y: auto; */
    max-height: calc(60vh - 14em);
    overflow-y: scroll;
}

.dropdown-notifications
    .dropdown-container
    > .dropdown-notificationMenu
    + .dropdown-notificationMenu {
    padding-top: 0;
}

.dropdown-notificationMenu > li > a {
    overflow: hidden;
    white-space: nowrap;
    word-wrap: normal;
    text-decoration: none;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    transition: none;
}

.notifications {
    list-style: none;
    padding: 0;
}

.dropdown-notificationMenu .notification {
    display: block;
    padding: 1em;
}

.dropdown-notificationMenu .notification.active {
    background-color: #f4f4f4;
}

.dropdown-notificationMenu .notification:hover,
.dropdown-notificationMenu .notification.active:hover {
    background-color: #f9f9f9;
}

.dropdown-notifications .media-left .media-object {
    max-width: 64px;
}

.dropdown-notificationMenu .media-body .notification-title,
.dropdown-notificationMenu .media-body .notification-desc {
    line-height: 1.25em;
    text-align: justify;
    margin-right: 1.325em;
}

.dropdown-notificationMenu .media-body .notification-title {
    font-size: 1.125em;
    font-weight: 700;
}

.dropdown-notifications .notification-mark-read {
    float: right;
    color: #222;
    opacity: 0.4;
}
.dropdown-notifications .notification-mark-read:hover {
    opacity: 0.8;
}

/* footer按鈕 */
.dropdown-notifications .dropdown-footer {
    border-top: 1px solid #e7e7e7;
}

.dropdown-notifications .dropdown-footer a.btn {
    font-size: 1.125em;
    padding: 0.75em;
    background-color: #fff;
    text-align: center;
}

/* 學生環境 */
header.user-status.isstudent .dropdown-notifications .dropdown-container {
    border-color: #00b3d6;
}
header.user-status.isstudent .dropdown-notifications .dropdown-footer a.btn {
    color: #00b3d6;
}

/* 老師環境 */
header.user-status.isteacher .dropdown-notifications .dropdown-container {
    border-color: #f9be4a;
}
header.user-status.isteacher .dropdown-notifications .dropdown-footer a.btn {
    color: #f9be4a;
}

/* 影片列表 */
.video-wrap {
    width: 100%;
    background: #fff;
    border: 2px solid #00b3d6;
    overflow: hidden;
    -webkit-box-shadow: 2px 2px 8px 2px rgb(0 0 0 / 0);
    -moz-box-shadow: 2px 2px 8px 2px rgb(0 0 0 / 0);
    box-shadow: 2px 2px 8px 2px rgb(0 0 0 / 0);
}

.video-wrap .goto-info {
    width: 100%;
    color: initial;
    text-decoration: none;
}

.video-wrap .img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 12vw;
    overflow: hidden;
}

.video-wrap .img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    padding-bottom: 15px;
}

.video-wrap:hover {
    -webkit-box-shadow: 2px 2px 8px 2px rgb(0 0 0 / 20%);
    -moz-box-shadow: 2px 2px 8px 2px rgb(0 0 0 / 0.2);
    box-shadow: 2px 2px 8px 2px rgb(0 0 0 / 20%);
}

.video-wrap:hover .img img {
    transform: scale(1.1);
}

.video-wrap .video-line {
    position: relative;
    background: #B0EBF2;
    height: 15px;
    width: 100%;
    bottom: 15px;
    border-top: 3px solid #00b3d6;
}

.video-wrap .text {
    position: relative;
    font-size: 1rem;
    height: 3.5em;
}

.video-wrap .text h3 {
    font-size: 1em;
    max-height: 2.5em;
    margin: 0.5em;
    text-align: center;
    font-weight: bold;
    overflow: hidden;
}

/* 影片跳窗 */
.video-modal .modal-content { background-color: #000; }

.video-modal .modal-header .close {
    color: #FFF;
    border-radius: 50%;
    line-height: 0.7075em;
    opacity: 1;
}
.video-modal .modal-header .close:hover {
    background: #f9be4a;
    opacity: 1;
}

.video-modal .modal-body .embed-responsive { border-radius: 0 0 0.3rem 0.3rem; }



/* .dropdown-notifications .dropdown-toolbar .dropdown-toolbar-actions {
    margin-top: -2px;
    font-size: 13px;
}

.dropdown-toolbar > .form-group {
    margin: 5px -10px;
}

.dropdown-toolbar .dropdown-toolbar-actions {
    float: right;
}


.notification-desc {
    margin-bottom: 0;
}


.dropdown-notifications > .dropdown-container,
.dropdown-notifications > .dropdown-notificationMenu {
    width: 450px;
    max-width: 450px;
}

.dropdown-notifications .dropdown-notificationMenu {
    padding: 0;
}

.dropdown-header {
    white-space: nowrap;
}

.anchor-block small {
    display: none;
}

@media (min-width: 992px) {
    .anchor-block small {
        display: block;
        font-weight: normal;
        color: #777777;
    }

    .dropdown-notificationMenu > li > a.anchor-block {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}
@media (min-width: 992px) {
    .dropdown.hoverable:hover > ul {
        display: block;
    }
}
.dropdown-position-topright {
    top: auto;
    right: 0;
    bottom: 100%;
    left: auto;
    margin-bottom: 2px;
}

.dropdown-position-topleft {
    top: auto;
    right: auto;
    bottom: 100%;
    left: 0;
    margin-bottom: 2px;
}

.dropdown-position-bottomright {
    right: 0;
    left: auto;
}

.dropmenu-item-label {
    white-space: nowrap;
}

.dropmenu-item-content {
    position: absolute;
    text-align: right;
    max-width: 60px;
    right: 20px;
    color: #777777;
    overflow: hidden;
    white-space: nowrap;
    word-wrap: normal;
    text-overflow: ellipsis;
}

small.dropmenu-item-content {
    line-height: 20px;
}

.dropdown-notificationMenu > li > a.dropmenu-item {
    position: relative;
    padding-right: 66px;
}

.dropdown-submenu .dropmenu-item-content {
    right: 40px;
}

.dropdown-notificationMenu > li.dropdown-submenu > a.dropmenu-item {
    padding-right: 86px;
}

.dropdown-inverse .dropdown-notificationMenu {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.9);
}

.dropdown-inverse .dropdown-notificationMenu .divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #2b2b2b;
}

.dropdown-inverse .dropdown-notificationMenu > li > a {
    color: #cccccc;
}

.dropdown-inverse .dropdown-notificationMenu > li > a:hover,
.dropdown-inverse .dropdown-notificationMenu > li > a:focus {
    color: #fff;
    background-color: #262626;
}

.dropdown-inverse .dropdown-notificationMenu > .active > a,
.dropdown-inverse .dropdown-notificationMenu > .active > a:hover,
.dropdown-inverse .dropdown-notificationMenu > .active > a:focus {
    color: #fff;
    background-color: #337ab7;
}

.dropdown-inverse .dropdown-notificationMenu > .disabled > a,
.dropdown-inverse .dropdown-notificationMenu > .disabled > a:hover,
.dropdown-inverse .dropdown-notificationMenu > .disabled > a:focus {
    color: #777777;
}

.dropdown-inverse .dropdown-header {
    color: #777777;
}

.table > thead > tr > th.col-actions {
    padding-top: 0;
    padding-bottom: 0;
}

.table > thead > tr > th.col-actions .dropdown-toggle {
    color: #777777;
}


.dropdown-notifications .dropdown-footer {
    background: #eeeeee;
}

.btn-lg .notification-icon:after,
.btn-group-lg > .btn .notification-icon:after {
    margin-left: -8.253px;
    margin-top: -8.253px;
    min-width: 16.506px;
    height: 16.506px;
    line-height: 16.506px;
    font-size: 13.755px;
}

.btn-xs .notification-icon:after,
.btn-group-xs > .btn .notification-icon:after {
    content: "";
    margin-left: -4.1265px;
    margin-top: -2.06325px;
    min-width: 6.25227273px;
    height: 6.25227273px;
    line-height: 6.25227273px;
    padding: 0;
}

.btn-xs .notification-icon,
.btn-group-xs > .btn .notification-icon {
    margin-right: 3.43875px;
}

[v-cloak] {
    display: none;
}

.dropdown-notifications .dropdown-container {
    margin-top: 0px;
}
.dropdown-notifications .notification-icon.hide-count:after {
    display: none;
}


.dropdown-notifications .notification-action {
    margin-top: 5px;
    margin-bottom: 2px;
}



@media (max-width: 768px) {
    .navbar-collapse.in {
        overflow-y: initial;
    }

    .dropdown-notifications > .dropdown-container {
        width: auto;
    }
} */
/* ----- 通知 end ----- */
