﻿@media (min-width: 992px) {
    .modal-xl {
        max-width: 800px;
    }

    .modal-mw80 {
        max-width: 80%;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px;
    }
}

.stat-widget-five .stat-content {
    margin-left: 80px;
}

.for-notification .dropdown-menu .dropdown-item i {
    font-size: 13px;
    margin: 0;
    text-align: center;
    width: auto;
    float: none;
}

.header-left .dropdown .dropdown-menu p {
    font-size: 13px;
}

.table .thead-primary th {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.thead-primary {
}

.top-right .header-menu .khoahoc {
    margin: auto 0;
}

.view-badge .badge {
    margin-right: 3px;
}

.file-upload {
    width: 100px;
    height: 100px;
    background-image: url(/admin_images/image-up-icon.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-position: center;
    margin: .25rem !important;
}

#preview img {
    margin: .25rem !important;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    height: 100%;
    cursor: pointer;
}

.img-view {
    position: relative;
}

    .img-view .del-popup {
        position: absolute;
        top: 50%;
        right: 50%;
        width: 30px;
        height: 30px;
        margin-top: -15px;
        margin-right: -15px;
        text-align: center;
        line-height: 30px;
        border-radius: 50%;
        color: #fff;
        background-color: red;
        opacity: 0.5;
    }

        .img-view .del-popup:hover {
            opacity: 1;
        }

.price .price-new {
    color: #000;
    margin-right: 5px;
    font-weight: 700;
}

.price .price-old {
    color: #cfcccc;
    font-size: 0.8rem;
    text-decoration: line-through;
}

.star-rating {
}

    .star-rating i.fa-star {
        color: #f9a134;
    }

    .star-rating .votes-number {
        color: #adb5bd;
        margin-left: 2px;
        font-size: 0.8rem;
    }
/*menu trungtam*/
.header-menu .dropdown {
    line-height: 0px;
    margin: auto 0 !important;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 195px;
    overflow: auto;
    top: 47px;
    right: 0px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 5px;
}

    .dropdown-content a {
        color: #000;
        padding: 5px;
        text-decoration: none;
        display: block;
        font-size: 13px;
    }

.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

.dropdown-content img {
    width: 35px;
    margin-right: 5px;
}

/*admin_CreateContest*/
.language-tab .nav-link {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
}
/*Permisson*/
#menu-phanquyen {
}

    #menu-phanquyen .nav li a {
        display: block;
        padding: 2px 0 2px 15px;
        font-size: 13px;
        position: relative;
        z-index: 1;
        background-color: #fff;
    }

        #menu-phanquyen .nav li a .form-check {
            display: inline-block;
            z-index: 3;
        }

        #menu-phanquyen .nav li a .form-check-input {
            z-index: 9999999;
        }

        #menu-phanquyen .nav li a.drop-sub {
            /* padding-left: 0; */
            background-color: #fff;
        }

            #menu-phanquyen .nav li a.drop-sub label {
                margin-left: 7px;
                margin-bottom: 0;
            }

            #menu-phanquyen .nav li a.drop-sub::before {
                display: inline-block;
                width: 0;
                height: 0;
                margin-left: .255em;
                vertical-align: .255em;
                content: "";
                border-top: .3em solid;
                border-right: .3em solid transparent;
                border-bottom: 0;
                border-left: .3em solid transparent;
                transform: rotate(-90deg);
                /* Legacy vendor prefixes that you probably don't need... */
                /* Safari */
                -webkit-transform: rotate(-90deg);
                /* Firefox */
                -moz-transform: rotate(-90deg);
                /* IE */
                -ms-transform: rotate(-90deg);
                /* Opera */
                -o-transform: rotate(-90deg);
                /* Internet Explorer */
                filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
            }

    #menu-phanquyen .nav li.item-children.show a.drop-sub:before {
        transform: rotate(0deg);
        /* Legacy vendor prefixes that you probably don't need... */
        /* Safari */
        -webkit-transform: rotate(0deg);
        /* Firefox */
        -moz-transform: rotate(0deg);
        /* IE */
        -ms-transform: rotate(0deg);
        /* Opera */
        -o-transform: rotate(0deg);
        /* Internet Explorer */
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
    }

    #menu-phanquyen .nav li.item-children .sub-menu {
        border: 0px;
        padding: 0 0 0 25px;
    }

    #menu-phanquyen .nav li.item-children.show .sub-menu {
        position: static !important;
    }

    #menu-phanquyen .nav li a.drop-sub::after {
        /*display: none;*/
    }

#menu-permission {
}

    #menu-permission .form-check-label {
        line-height: 22px;
    }

    #menu-permission .drop-sub {
        background: none;
        line-height: 20px;
        padding: 5px 5px 1px 5px;
        /*font-size: 20px;*/
        border: none;
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    #menu-permission .active .drop-sub {
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    #menu-permission .nav .item-children .dropdown-menu {
        border: 0px;
    }

    #menu-permission .nav .sub-menu .form-check {
        padding-left: 2.25rem;
    }

/*Payroll*/

.table-payroll {
    width: 100%;
}

    .table-payroll thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #dee2e6;
    }

    .table-payroll .input-group-sm > .form-control, .table-payroll .input-group-sm > .input-group-append > .input-group-text {
        padding: .25rem;
        line-height: 1.2;
        height: auto;
    }

.small-device #body-payroll {
    max-width: calc(100vw - 128px);
}

.line-height12 {
    line-height: 1.2;
}

@media(min-width:769px) {
    .payroll-items .slick-slide:nth-child(2n+1) .viewpayroll {
        /*margin-right: 15px;*/
    }
    /* the slides */
    .payroll-items .slick-slide {
        margin: 0 7.5px;
    }
    /* the parent */
    .payroll-items .slick-list {
        margin: 0 -7.5px;
    }
}

@media(max-width:768px) {
    .small-device #body-payroll {
        max-width: calc(100vw - 45px);
    }
}

.payroll-items .slick-slide, .payroll-items .slick-slide .viewpayroll {
    outline: none;
}

.payroll-items .viewpayroll .card {
    /*display: block;*/
}



#body-payroll {
    max-width: calc(100vw - 330px);
}
/*---------------Noti--------------------------*/
.for-notification .dropdown-menu .dropdown-item {
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
    max-width: 450px;
    max-height: calc(100% - 56px);
}

.header-left .dropdown .dropdown-menu .dropdown-item.noti {
    cursor: pointer;
}

    .header-left .dropdown .dropdown-menu .dropdown-item.noti.read {
        color: #000;
    }

.noti-text {
    line-height: 1.5;
}

.noti-time {
    line-height: 1.2;
}

.noti-del {
    display: block;
    text-align: center;
    padding: 2px 5px 0;
    line-height: 1;
}

    .dropdown .noti-del:hover, .noti-del:hover {
        background-color: transparent;
        color: #dc3545;
    }
/*-------------Page AddBaiHoc--------------*/
.product-single-top-part {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
}

    .product-single-top-part .product-info-before-gallery {
        display: flex;
        align-items: center;
        padding: 30px;
    }

        .product-single-top-part .product-info-before-gallery .before-gallery-unit {
            display: flex;
            align-items: center;
            border-right: 1px solid #e5e5e5;
            padding-right: 20px;
            margin-right: 20px;
            font-size: 15px;
        }

            .product-single-top-part .product-info-before-gallery .before-gallery-unit:last-child {
                padding-right: 0;
                border-right: 0;
            }

            .product-single-top-part .product-info-before-gallery .before-gallery-unit .icon {
                margin-right: 15px;
                font-size: 24px;
                color: #1e83f0;
            }

            .product-single-top-part .product-info-before-gallery .before-gallery-unit .info span.label {
                color: #ced4da;
            }

            .product-single-top-part .product-info-before-gallery .before-gallery-unit .info div.value a {
                color: #2f2f32;
            }

                .product-single-top-part .product-info-before-gallery .before-gallery-unit .info div.value a:hover {
                    color: #4783f3;
                }

            .product-single-top-part .product-info-before-gallery .before-gallery-unit span.rating {
                background-color: #8bca48;
                color: #fff;
                padding: 3px 6px;
                margin-right: 8px;
                border-radius: 4px;
            }

            .product-single-top-part .product-info-before-gallery .before-gallery-unit span.votes-number {
                color: #7d7e7f;
            }

    .product-single-top-part .course-single-gallery img {
        width: 100%;
        height: auto;
    }

.single-course-content {
    background-color: #fff;
    padding: 1.75rem;
    padding-bottom: 0;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
}

    .single-course-content h2 {
        font-weight: 500;
    }

    .single-course-content p {
        line-height: 28px;
        margin-bottom: 20px;
    }

    .single-course-content ul.list {
        padding-left: 20px;
        margin-bottom: 30px;
    }

        .single-course-content ul.list li {
            color: #7d7e7f;
            line-height: 28px;
            font-size: 15px;
        }

.course-section {
    margin-bottom: 30px;
}

    .course-section h3.namebh {
        font-weight: 500;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .course-section .course-panel-heading {
        border-top: 1px solid #e9ecef;
        display: flex;
        align-items: center;
        padding: 15px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
    }



        .course-section .course-panel-heading .panel-heading-left .title p {
            font-size: 14px;
            color: #adb5bd;
            margin: 0;
            line-height: 1;
        }

        .course-section .course-panel-heading .panel-heading-right {
            display: flex;
            justify-content: flex-end;
        }

            .course-section .course-panel-heading .panel-heading-right .preview-button {
                font-size: 14px;
                line-height: 1.4;
                padding: 6px 10px;
                background-color: #4783f3;
                color: #fff;
                border-radius: 30px;
            }

                .course-section .course-panel-heading .panel-heading-right .preview-button i {
                    margin-right: 5px;
                }

            .course-section .course-panel-heading .panel-heading-right .private-lesson {
                font-size: 14px;
                line-height: 1.4;
                padding: 6px 10px;
            }

                .course-section .course-panel-heading .panel-heading-right .private-lesson i {
                    margin-right: 5px;
                    font-size: 12px;
                }

        .course-section .course-panel-heading:hover .panel-heading-left .course-lesson-icon i {
            color: #f9a134;
        }

        .course-section .course-panel-heading:hover,
        .course-section .course-panel-heading.active {
            background-color: #f8f9fa;
        }

    .course-section .panel-content {
        max-height: 0;
        overflow: hidden;
        background-color: #f8f9fa;
        transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
    }

        .course-section .panel-content .panel-content-inner {
            padding: 0 15px 20px 15px;
            font-size: 15px;
            color: #7d7e7f;
            line-height: 26px;
        }

    .course-section .course-panel-heading.active + .panel-content {
        max-height: 106px;
    }

#target {
    display: block;
    position: relative;
}

.link-over {
    max-width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}
/*-------------Page AddBaiHoc--------------*/
/*START------------slider ranger--------------*/
/* This line can be removed it was just for display on CodePen: */


.slider-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

/*.slider-labels .caption input[type=text] {
                        border: 0px;
                        display: inline-table;
                    }

                        .slider-labels .caption input[type=text]:focus {
                            outline: none;
                        }*/

/*.slider-labels #min_price, .slider-labels #max_price {
                        border: 0px;
                        display: inline-table;
                    }

                    .slider-labels #min_price {
                    }

                    .slider-labels #max_price, .slider-labels #max_price_en, .slider-labels #max_price_cn, .slider-labels #max_price_kr {
                        text-align: right;
                    }*/
/* Functional styling;
 * These styles are required for noUiSlider to function.
 * You don't need to change these rules to apply your design.
 */
.noUi-target, .noUi-target * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.noUi-target {
    position: relative;
    direction: ltr;
}

.noUi-base {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    /* Fix 401 */
}

.noUi-origin {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
}

.noUi-handle {
    position: relative;
    z-index: 1;
}

.noUi-stacking .noUi-handle {
    /* This class is applied to the lower origin when
   its values is > 50%. */
    z-index: 10;
}

.noUi-state-tap .noUi-origin {
    -webkit-transition: left 0.3s,top .3s;
    transition: left 0.3s,top .3s;
}

.noUi-state-drag * {
    cursor: inherit !important;
}

/* Painting and performance;
 * Browsers can paint handles in their own layer.
 */
.noUi-base, .noUi-handle {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

/* Slider size and handle placement;
 */
.noUi-horizontal {
    height: 4px;
}

    .noUi-horizontal .noUi-handle {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        left: -7px;
        top: -7px;
        background-color: #345DBB;
    }

/* Styling;
 */
.noUi-background {
    background: #D6D7D9;
}

.noUi-connect {
    background: #345DBB;
    -webkit-transition: background 450ms;
    transition: background 450ms;
}

.noUi-origin {
    border-radius: 2px;
}

.noUi-target {
    border-radius: 2px;
}

    .noUi-target.noUi-connect {
    }

/* Handles and cursors;
 */
.noUi-draggable {
    cursor: w-resize;
}

.noUi-vertical .noUi-draggable {
    cursor: n-resize;
}

.noUi-handle {
    cursor: default;
    -webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

    .noUi-handle:active {
        border: 8px solid #345DBB;
        border: 8px solid rgba(53,93,187,0.38);
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        left: -14px;
        top: -14px;
    }

/* Disabled state;
 */
[disabled].noUi-connect, [disabled] .noUi-connect {
    background: #B8B8B8;
}

[disabled].noUi-origin, [disabled] .noUi-handle {
    cursor: not-allowed;
}
/* Functional styling;
 * These styles are required for noUiSlider to function.
 * You don't need to change these rules to apply your design.
 */
.noUi-target, .noUi-target * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.noUi-target {
    position: relative;
    direction: ltr;
}

.noUi-base {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1; /* Fix 401 */
}

.noUi-origin {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
}

.noUi-handle {
    position: relative;
    z-index: 1;
}

.noUi-stacking .noUi-handle {
    /* This class is applied to the lower origin when
   its values is > 50%. */
    z-index: 10;
}

.noUi-state-tap .noUi-origin {
    -webkit-transition: left 0.3s, top .3s;
    transition: left 0.3s, top .3s;
}

.noUi-state-drag * {
    cursor: inherit !important;
}
/* Painting and performance;
 * Browsers can paint handles in their own layer.
 */
.noUi-base, .noUi-handle {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
/* Slider size and handle placement;
 */
.noUi-horizontal {
    height: 2px;
}

    .noUi-horizontal .noUi-handle {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        left: -7px;
        top: -6px;
        background-color: #278FC2;
    }
/* Styling;
 */
.noUi-background {
    background: #D6D7D9;
}

.noUi-connect {
    background: #278FC2;
    -webkit-transition: background 450ms;
    transition: background 450ms;
}

.noUi-target {
    border-radius: 2px;
    margin: 15px 8px 0px 8px;
}

.noUi-target {
    border-radius: 0px;
}

    .noUi-target.noUi-connect {
    }
/* Handles and cursors;
 */
.noUi-draggable {
    cursor: w-resize;
}

.noUi-vertical .noUi-draggable {
    cursor: n-resize;
}

.noUi-handle {
    cursor: default;
    -webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

    .noUi-handle:active {
        border: 8px solid #0c5980;
        border: 8px solid rgba(12,89,128,0.38);
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        left: -14px;
        top: -14px;
    }
/* Disabled state;
 */
[disabled].noUi-connect, [disabled] .noUi-connect {
    background: #B8B8B8;
}

[disabled].noUi-origin, [disabled] .noUi-handle {
    cursor: not-allowed;
}

span#slider-range-value1 {
    color: #278FC2;
    font-size: 13px;
}

span#slider-range-value2 {
    color: #278FC2;
    font-size: 13px;
}
/* END ------------slider ranger--------------*/

.check-tabs {
    border-bottom: 1px solid #dee2e6;
}

    .check-tabs .form-check-label {
        padding: .5rem .5rem .5rem 1.5rem;
        margin-bottom: -1px;
        display: block;
        position: relative;
    }

        .check-tabs .form-check-label.active {
            color: #007bff;
        }

            .check-tabs .form-check-label.active:after {
                background: #007bff;
                bottom: -1px;
                content: "";
                height: 2px;
                left: 0;
                position: absolute;
                right: 0;
                width: 100%;
                z-index: 999;
            }

.contestweek {
    min-width: 200px;
}

@media (min-width: 992px) {
    .modal-1300 {
        max-width: 1300px;
    }
}

.print-block {
    display: none;
}

.print-none {
    display: block;
}

.tr-print-none {
    display: table-row;
}
/*Page HRKeHoach*/
.min-wd100 {
    min-width: 100px;
}

.table-year .table tr td, .table-year .table tr th {
    text-align: right;
}

    .table-year .table tr td:first-child, .table-year .table tr th:first-child {
        white-space: nowrap;
        text-align: left;
    }

.table-year .table td, .table-year .table th {
    vertical-align: middle;
}

.table-year .table tr .form-control-sm {
    text-align: right;
    padding: .25rem;
}

.user-profile {
    background-color: #f7f7f7;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

    .user-profile .img-avartar {
        position: relative;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 200px;
        height: 200px;
        overflow: hidden;
        margin: auto;
        border-radius: 50%;
    }

    .user-profile .upload {
        position: absolute;
        bottom: 0;
        display: block;
        background-color: rgb(0 0 0 / 30%);
        padding: 15px;
        width: 100%;
        text-align: center;
        color: #fff;
        border: 0;
    }

        .user-profile .upload:hover {
            background-color: rgb(0 0 0 / 80%);
        }

        .user-profile .upload input[type=file] {
            opacity: 0;
        }
