/*# sourceMappingURL=style.min.css.map */

/* Main */
html,
body {
  height: 100%;
}

.wrapper {
  position: relative;
  top: 100px;
  margin-bottom: 90px;
  /* 內容與footer的距離 */
  /* min-height: 73.7%; */
  /*外層高度%數*/
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 100px;
}

@media (max-width: 1019px) {
  .wrapper {
    top: 85px;
  }
}

@media (max-width: 992px) {
  .wrapper {
    top: 55px;
  }
}

.container-fluid {
  flex-grow: 1;
}

body {
  background-color: #ffffff;
  font-size: 1.125rem;
}

h5,
h4,
h2 {
  font-weight: 600;
}

::-moz-selection {
  background: #2D2D2D;
  color: white;
}

::selection {
  background: #2D2D2D;
  color: white;
}

a {
  text-decoration: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.navbar a:hover {
  text-decoration: none !important;
}

/* footer */
.footer {
  background-color: #D7EBEF;
}


/* Navbar選單 */
.navbar-light .navbar-nav .nav-link {
  border-radius: 10px;
  color: #ffffff;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #ffffff;
  background-color: #41586E;
  border-radius: 10px;
}

.navbar-light .navbar-nav .nav-link:focus,
.selected {
  color: #ffffff;
  background-color: #41586E;
  border-radius: 10px;
}

.list-inline-item .nav-link {
  border-radius: 10px;
  color: #ffffff;
}

.list-inline-item .nav-link:hover {
  color: #ffffff;
  background-color: #41586E;
  border-radius: 10px;
}

/* Navbar下拉選單 */
.dropdown-menu {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
  border: 0;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #FAF3E9;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #41586E;
}

/* 登入 */
.system-title {
  font-size: 40px;
}

.sub-title {
  font-size: 24px;
}


/* Header */
.navbar-light {
  background-color: #62B7CB !important;
  box-shadow: 0px 1px 9px 0px rgba(0, 0, 0, 0.21);
}

/* 漢堡 */
.navbar-toggler {
  color: #ffffff;
  border: 0;
}

/* Button */
.btn-primary {
  color: #ffffff;
  background-color: #2A9EB9;
  border: none;
  font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  color: #ffffff;
  background-color: #41586F;
  border: none;
  box-shadow: 0 0 0 0.25rem rgba(42, 158, 185, .25);
}

.btn-info {
  color: #F58557;
  background-color: #FAF3E9;
  border-radius: 500px;
  border: none;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info:not(:disabled):not(.disabled):active {
  background-color: #F58557;
  color: #ffffff;
}

.btn-info.active {
  background-color: #F58557 !important;
  color: #2F2F2F !important;
}

.btn-danger {
  border: none;
}

.login-button {
  border-radius: 500px;
}

a,
.btn-link {
  color: #2A9EB9;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
}

.btn-link:focus {
  box-shadow: none;
  border: none;
}

a:hover,
.btn-link:hover {
  color: #2A9EB9;
  border: none;
}

/* 手機版select樣式 */
.dropdown-menu {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
  border: 0;
}

.home-dropdown .btn-info {
  font-size: 18px;
}

.home-dropdown .dropdown-item {
  color: #6C757D;
  font-weight: 700;
}

.home-dropdown .dropdown-item.active,
.home-dropdown .dropdown-item:active {
  background-color: #FAF3E9;
}

/* form-control */
.form-control-lg {
  border-radius: 50px;
}

.form-check-input:checked {
  background-color: #2A9EB9;
  border-color: #2A9EB9;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #2A9EB9;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(42, 158, 185, .25);
}

.form-select:focus {
  border-color: #2A9EB9;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(42, 158, 185, .25);
}

/* 手機版漢堡主選單 */
.accordion-button {
  font-size: 18px;
  color: #41586E;
  background-color: #E3EDEF;
}

.accordion-button:not(.collapsed) {
  color: #41586E;
  background-color: #E3EDEF;
}

.accordion-item {
  border: 0;
}

.side-menu {
  color: #41586E;
}

.sub-menu {
  color: #2A9EB9;
}

/* 首頁搜尋 */
.home-slogan {
  font-size: 1.5rem;
  color: #41586F;
  font-weight: 700;
}

.home-search-bg {
  border: none;
}

.search .form-control {
  border: 2.5px solid #62B7CB;
}

.search-button {
  border-radius: 500px;
  background-color: #62B7CB;
}

.nav-background {
  background-color: #FAF3E9
}

/* 首頁頁籤 */
.nav-pills .nav-link {
  font-weight: 700;
  color: #6C757D;
  border-bottom: 5px solid #DCE1E5;
  border-radius: 0;
}

.nav-pills .nav-link.without-border-bottom {
  border-bottom: none;
}

.nav-pills .nav-link:hover {
  color: #F58557;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: transparent;
  color: #F58557;
  font-weight: 700;
  border-bottom: 5px solid #F58557;
}

/* 首頁分類標題 */
.home-video-title {
  font-size: 1.8rem;
}

.dec-home-video-title {
  color: #F58557;
  font-size: 1.8rem;
}

/* 首頁影片卡片 */
.home-video-card {
  border: 0;
}

.home-video-card .card-img-top {
  border-radius: 10px;
  opacity: 1;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;

}

.home-video-card .card-img-top:hover {
  opacity: .7;
}

.custom-playlist-img {
  height: 20vw;
  object-fit: cover;
}

/* 媒體查詢：畫面寬度小於767像素時 */
@media (max-width: 767px) {
  .custom-playlist-img {
    height: 60vw;
  }
}

.custom-img {
  height: 10vw;
  object-fit: cover;
}

/* 媒體查詢：畫面寬度小於767像素時 */
@media (max-width: 767px) {
  .custom-img {
    height: 60vw;
  }
}

/* 首頁用 */
.custom-img-top {
  width: 100%;
  height: 15vw;
  object-fit: cover;
  box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.21);
}

/* 媒體查詢：畫面寬度小於991像素時 */
@media (max-width: 991px) {
  .custom-img-top {
    height: 30vw;
  }
}

/* 媒體查詢：畫面寬度小於767像素時 */
@media (max-width: 767px) {
  .custom-img-top {
    height: 60vw;
  }
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
}

.breadcrumb-row {
  background-color: #FAF3E9;
}

.breadcrumb-item {
  font-size: 24px;
  font-weight: 700;
}

.breadcrumb-item a {
  font-size: 24px;
  font-weight: 700;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: rgb(33, 37, 41);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgb(33, 37, 41);
}

/* DataTables */
.table-striped>tbody>tr:nth-of-type(odd) {
  --bs-table-accent-bg: transparent
}

.dataTables_scrollHeadInner,
.dataTables_scrollBody,
.table {
  background-color: #ffffff;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: #FAF3E9;
}

.table-striped>tbody>tr:hover {
  background-color: #E3EDEF !important;
}

a:hover {
  text-decoration: underline;
}

/* Badge */
.badge {
  font-size: 1.125rem;
}

.badge-primary {
  background-color: #E39B74;
}

.badge-draft {
  background-color: #AFAFAF;
}

.badge-done {
  background-color: #618974;
}

.badge-failed {
  background-color: #515151;
}

.badge-success {
  background-color: #749AE3;
}

.badge-light {
  background-color: #E37474;
}


/* Pagination */
.page-item.active .page-link {
  background-color: #C5805B;
  border-color: #C5805B;
}

/* Radio */
.custom-control-input:checked~.custom-control-label::before {
  color: #fff;
  border-color: #C5805B;
  background-color: #C5805B;
}

/* 顯示與隱藏 */
@media (max-width: 991px) {
  .home-nav-pills {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .home-dropdown {
    display: none !important;
  }
}

.card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-title:hover {
  color: #2A9EB9;
}

.card-form {
  border: none !important;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.25) !important;
}

.lock-icon {
  /* 調整為所需的位置 */
  bottom: 7%;
  right: 5%;
  /* 顏色 */
  color: rgb(30, 48, 80);
  /* 背景 */
  background: rgba(255, 255, 255, 0.67);
  /* 確保圖標在圖片之上 */
  z-index: 10;
  /* 樣式 */
  padding: 5px 10px;
  border-radius: 50px;
}
