/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap'); */

:root {
    --primary-color: #19726c;
    --secondary-color: #FFBE05;
    --background-highlight-color: #c8d7ff;
    --header-bar-height: 45px;
    --neutralDark: #242424;
    --neutralPrimary: #424242;
    --neutralPrimaryAlt: #616161;
}

* {
    margin: 0;
    padding: 0;
}


/* body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;

    font-size: 12.5px;
    font-family: "Open Sans", "Arial";

    font-weight: 400;
    color: var(--neutralDark);
    word-wrap: break-word;
    word-break: break-all;
} */

.course-content {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--neutralDark);
    word-wrap: break-word;
    word-break: break-all;
}

p {
    margin-bottom: 0.2rem;
}

.fs- a {
    color: var(--primary-color);
}

.selector-for-some-widget {
    box-sizing: content-box;
}

.dropdown-toggle {
    text-align: left;
}

main {
    height: 100vh;
    overflow: hidden;
    /* height: calc(100vh - var(--header-bar-height)); */
}

.left-col {
    /* font-size: 0.65rem; */
    /* height: 100vh; */
    font-size: 12px;
}

.left-col .logo {
    height: var(--header-bar-height);
    padding: 3px 0px;
    background-color: #f1f0f0;
}

.left-col .logo img {
    width: 100%;
    height: auto;
}

.left-col .left-menu-content {
    padding-bottom: 50px;
}

.left-col .left-menu-content,
.left-col .list-group-item {
    background: var(--primary-color);
}

.left-col .left-menu-content,
.left-col .list-group-item {
    background: rgb(4 74 146);
}

.left-col .list-group-item:focus,
.left-col .list-group-item:hover {
    z-index: 1;
    text-decoration: none;
    color: #ffbe06;
    background: #55637d;
}

.left-col .list-group-item.active {
    color: #ffbe06;
    background: #55637d;
}

.left-col .list-group-item span.item-label {
    margin-left: 5px;
    color: #ffbe06;
    overflow-wrap: break-word;
    /* This property allows the word to be broken across multiple lines */
    word-break: break-word;
}

.left-col .left-menu-content svg {
    width: 14px;
    height: 14px;
    margin-top: -2px;
    margin-left: -5px;
    margin-right: 0px;
}

.left-col .left-menu-content ul {
    padding: 1px;
}

.left-col .left-menu-content ul li {
    margin-top: 3px;
}

.left-col .list-group-item a {
    color: var(--secondary-color);
}

.left-col .list-group-item {
    color: var(--secondary-color);
    padding: 0.6rem 0px 0.6rem 10px;
}

.list-group-item:hover {
    cursor: pointer;
    color: var(--primary-color);
}


/* right column */

.right-col .list-group-item.li-item-unread {
    background-color: #cccccc;
    border-radius: .2rem;
    border: 0;
    color: #000;
    font-weight: normal;
    margin-top: 5px;
}

.right-col .list-group-item.active {
    background-color: var(--background-highlight-color) !important;
    border-radius: .2rem !important;
    border: 0 !important;
    color: #000 !important;
    font-weight: normal !important;
    margin-top: 5px !important;
}

.right-col .unread {
    font-weight: bold;
    color: #0b66c2;
}

.right-col .list-group-item.active .unread {
    font-weight: normal !important;
}

.right-col .list-group-item div.active {
    background: var(--background-highlight-color);
    padding: 3px;
    border-radius: .2rem;
    border: 0;
    color: #000;
}


/* child li */

.right-col .category-child-list .list-group-item div.active {
    background: var(--background-highlight-color);
}

.right-col .right-col-header {
    height: var(--header-bar-height);
    padding: 3px 0px;
    background-color: #f1f0f0;
}

.right-col .course-list-dropdown-link-jump {
    background: #ccccccc4;
    border-radius: 3px;
}

.right-col .course-list-dropdown-link-jump li {
    font-size: 0.75rem;
}

.right-col .right-col-header .u-avatar img {
    height: 100%;
    width: 40px;
    margin-right: 10px;
    cursor: pointer;
}

.right-col .right-col-header .uname {
    text-align: right;
}

.right-col .right-col-header .position {
    font-style: italic;
    text-transform: capitalize;
    background-color: var(--secondary-color);
    padding: 1px 5px;
    border-radius: 20px;
    color: #003EC4;
    width: fit-content;
    float: right;
}

.right-col .profile-container,
.right-col .profile-container li {
    padding-right: 10px;
    cursor: pointer;
}

.right-col .profile-container li:hover {
    color: var(--secondary-color);
}

.right-col .profile-container .dropdown-toggle::after {
    margin-top: 17px;
}

.right-col .profile-container svg {
    width: 17px;
    height: 17px;
    margin-left: -5px;
    margin-right: 5px;
}

.right-col .right-col-footer {
    background-color: var(--primary-color);
    min-height: var(--header-bar-height);
    color: #fff;
}

.category-list li.list-group-item a:hover {
    color: #0083eb;
}

.right-col .right-col-footer ul li {
    color: #fff;
}

.right-col .right-col-footer .list-group-item {
    background-color: inherit;
    border: none;
}

.list-group-item {
    color: #2a2a2a;
}

.discuss-thread-content-detail table {
    border: 1px double #b3b3b3;
    border-collapse: collapse;
    border-spacing: 0;
    height: 100%;
    width: 100%;
}

.discuss-thread-content-detail table td,
.discuss-thread-content-detail table th {
    border: 1px solid #bfbfbf;
    min-width: 2em;
    padding: 0.4em;
}

.discuss-thread-content-detail table td,
.discuss-thread-content-detail table th {
    overflow-wrap: break-word;
    position: relative;
}


/* swal2 */

div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 1.1rem !important;
}

.swal2-popup.swal2-toast {
    font-size: 110% !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    /* background-color: #035fbc !important; */
    min-width: 100px;
}

div:where(.swal2-container) .swal2-input {
    height: 2.025em !important;
}

div:where(.swal2-container) .swal2-html-container,
div:where(.swal2-container) input:where(.swal2-input) {
    margin: .8em 1em 0 !important;
}


/**
notyf__wrapper
*/

.notyf__wrapper {
    padding-right: 0px !important;
}


/* bootstrap color customize */

.btn-primary {
    background-color: #0b66c2;
    border-color: #0b66c2;
}

.ck-editor__editable_inline {
    min-height: 80px;
}

.ck-powered-by {
    display: none;
}

.padding-top-60 {
    padding-top: 60px;
}

.btn-sm {
    /* font-size: .775rem !important; */
}

.fs-6 { /* thêm */
    font-size: 16px !important;
}

.fs-7 {
    font-size: 14px !important; /* 0.8rem */
}

.fs-8 {
    font-size: 13px !important; /* 0.7rem */
}

.fs-16 {
    font-size: 16px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.mb-16 {
    margin-bottom: 16px;
}
.mb-24 {
    margin-bottom: 24px;
}
.p-16 {
    padding: 16px;
}
.p-24 {
    padding: 24px;
}

.ic-10 {
    width: 10px !important;
    height: 10px !important;
}

.ic-11 {
    width: 11px !important;
    height: 11px !important;
}

.ic-12 {
    width: 12px !important;
    height: 12px !important;
}

.ic-13 {
    width: 13px !important;
    height: 13px !important;
}

.ic-14 {
    width: 14px !important;
    height: 14px !important;
}

.ic-15 {
    width: 15px !important;
    height: 15px !important;
}

.ic-16 {
    width: 16px !important;
    height: 16px !important;
}

.ic-17 {
    width: 17px !important;
    height: 17px !important;
}

.ic-18 {
    width: 18px !important;
    height: 18px !important;
}

.ic-19 {
    width: 19px !important;
    height: 19px !important;
}

.ic-20 {
    width: 20px !important;
    height: 20px !important;
}

.ic-21 {
    width: 21px !important;
    height: 21px !important;
}

.ic-22 {
    width: 22px !important;
    height: 22px !important;
}

.ic-23 {
    width: 23px !important;
    height: 23px !important;
}

.ic-24 {
    width: 24px !important;
    height: 24px !important;
}

.ic-25 {
    width: 25px !important;
    height: 25px !important;
}

.ic-26 {
    width: 26px !important;
    height: 26px !important;
}

.ic-27 {
    width: 27px !important;
    height: 27px !important;
}

.ic-28 {
    width: 28px !important;
    height: 28px !important;
}

.ic-30 {
    width: 30px !important;
    height: 30px !important;
}

.ic-large {
    width: 24px !important;
    height: 24px !important;
}

.ic-larger {
    width: 30px !important;
    height: 30px !important;
}

.vh-50 {
    height: 50vh !important;
}

.vh-90 {
    height: 90vh !important;
}

.vh-92 {
    height: 92vh !important;
}

.vh-93 {
    height: 93vh !important;
}

.vh-94 {
    height: 94vh !important;
}

.vh-95 {
    height: 95vh !important;
}

.vh-98 {
    height: 98vh !important;
}

.h-90 {
    height: 90%;
}

.min-width-1 {
    min-width: 250px;
}

.min-width-2 {
    min-width: 200px;
}

.min-width-3 {
    min-width: 180px;
}

.min-width-4 {
    min-width: 150px;
}

.min-width-5 {
    min-width: 130px;
}

.min-width-6 {
    min-width: 100px;
}

.h7 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.color-black {
    color: #000 !important;
}

blockquote {
    border-left: 5px solid #ccc;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.mention {
    background: rgba(153, 0, 48, .1);
    color: #990030;
}

.ck.ck-icon {
    font-size: .62em !important;
}

.ck.ck-color-grid__tile {
    height: calc(0.65 * var(--ck-color-grid-tile-size)) !important;
    min-height: calc(0.65 * var(--ck-color-grid-tile-size)) !important;
    min-width: calc(0.65 * var(--ck-color-grid-tile-size)) !important;
    width: calc(0.65 * var(--ck-color-grid-tile-size)) !important;
}

.replied-to-cmt {
    border-left: 2px solid #b8b8b8;
    font-style: italic;
    color: #585858;
    font-size: 90%;
    /* display: none; */
}

.item-highlight {
    background-color: rgb(186 209 255);
    border-radius: 5px;
}

.svg-3 {
    width: 3px !important;
    height: 3px !important;
}

.svg-4 {
    width: 4px !important;
    height: 4px !important;
}

.svg-5 {
    width: 5px !important;
    height: 5px !important;
}

.svg-6 {
    width: 6px !important;
    height: 6px !important;
}

.svg-7 {
    width: 7px !important;
    height: 7px !important;
}

.svg-8 {
    width: 8px !important;
    height: 8px !important;
}

.svg-9 {
    width: 9px !important;
    height: 9px !important;
}

.svg-10 {
    width: 10px !important;
    height: 10px !important;
}

.svg-11 {
    width: 11px !important;
    height: 11px !important;
}

.svg-12 {
    width: 12px !important;
    height: 12px !important;
}

.svg-13 {
    width: 13px !important;
    height: 13px !important;
}

.svg-14 {
    width: 14px !important;
    height: 14px !important;
}

.svg-15 {
    width: 15px !important;
    height: 15px !important;
}

.svg-16 {
    width: 16px !important;
    height: 16px !important;
}

.svg-17 {
    width: 17px !important;
    height: 17px !important;
}

.svg-18 {
    width: 18px !important;
    height: 18px !important;
}

.svg-19 {
    width: 19px !important;
    height: 19px !important;
}

.svg-20 {
    width: 20px !important;
    height: 20px !important;
}

.svg-21 {
    width: 21px !important;
    height: 21px !important;
}

.svg-22 {
    width: 22px !important;
    height: 22px !important;
}

.svg-23 {
    width: 23px !important;
    height: 23px !important;
}

.svg-24 {
    width: 24px !important;
    height: 24px !important;
}

.svg-25 {
    width: 25px !important;
    height: 25px !important;
}

.svg-26 {
    width: 26px !important;
    height: 26px !important;
}

.svg-27 {
    width: 27px !important;
    height: 27px !important;
}

.svg-28 {
    width: 28px !important;
    height: 28px !important;
}

.svg-29 {
    width: 29px !important;
    height: 29px !important;
}

.svg-30 {
    width: 30px !important;
    height: 30px !important;
}

.svg-40 {
    width: 40px !important;
    height: 40px !important;
}

.svg-50 {
    width: 50px !important;
    height: 50px !important;
}

.svg-margin-top-1 {
    margin-top: -1px !important;
}

.svg-margin-top-2 {
    margin-top: -2px !important;
}

.svg-margin-top-3 {
    margin-top: -3px !important;
}

.svg-margin-top-4 {
    margin-top: -4px !important;
}

.svg-margin-top-5 {
    margin-top: -5px !important;
}

.svg-margin-top-6 {
    margin-top: -6px !important;
}

.svg-margin-top-7 {
    margin-top: -7px !important;
}

.svg-margin-top-8 {
    margin-top: -8px !important;
}

.svg-margin-top-9 {
    margin-top: -9px !important;
}

.svg-margin-top-10 {
    margin-top: -10px !important;
}

.svg-black-color {
    color: black !important;
}

.svg-red-color {
    color: red !important;
}

.svg-blue-color {
    color: blue !important;
}

.svg-green-color {
    color: green !important;
}

.svg-grey-color {
    color: grey !important;
}


/* tabs */


/* .nav-tabs {
	border-bottom: 1px solid #356EA6 !important;
}

.nav-tabs .nav-link.active {
	color: #fbc326 !important;
	background-color: #356EA6 !important;
	border-color: #356EA6 #356EA6 #356EA6 !important;
}

.nav-tabs .nav-link {
	border: 1px solid #356EA6 !important;
	margin-right: 1px !important;
}

.tab-content {
	background: #356EA6 !important;
	padding: 5px 2px 2px 2px;
}

.tab-pane.active {
	background-color: #fff !important;
} */


/* Waiting animation */

.overlay-waiting {
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-waiting {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}


/* nav-link */
.nav-link {
    color: var(--primary-color);
}

.nav-link:hover {
    color: #495057;
}




/* Định dạng chung cho thẻ figure sử dụng ck-editor */

figure {
    margin: 1.5em 0;
    text-align: center;
}


/* Định dạng cho thẻ figure khi có media */

figure.media {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}


/* figure.media div[data-oembed-url] {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
} */

figure.media iframe,
figure.media video {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 0;
}

figure.image {
    display: inline-block;
    margin: 1em 0;
}

figure.image_resized {
    width: 100%;
}

.image-style-side {
    float: right;
    margin-left: 1em;
    max-width: 50%;
    /* Limit the max width when floated to the side */
}

figure.image img {
    display: block;
    max-width: 100%;
    height: auto;
}

figure.image figcaption {
    text-align: center;
    font-size: 10px;
    line-height: 1.5;
    margin-top: 0.5em;
    background: #f7f7f7;
    padding: 10px 2px;
}


/* Định dạng cho bảng */

figure.table {
    display: table;
    margin: 1em 0;
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

figure.table table {
    width: 100%;
    border-collapse: collapse;
}

figure.table table,
figure.table th,
figure.table td {
    border: 1px solid #ddd;
    padding: 5px;
}

figure.table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

figure.table td {
    background-color: #fff;
}

figure.table figcaption {
    text-align: center;
    font-size: 10px;
    line-height: 1.5;
    margin-top: 0.5em;
    background: #f7f7f7;
    padding: 10px 2px;
}

