﻿body {
    font-size: 13px;
}
.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 700;
}

small {
    font-size: 85%;
}

h4.modal-title {
    font-size: 16px;
}

.content-header {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

#mainMenuController .dropdown-menu {
    left: initial !important;
    right: 0px !important;
}

label.control-label {
    margin-bottom: 0px;
}

.k-widget .k-numeric-wrap input.k-input {
    margin-bottom: 0px;
    height: 16px;
}

.input-group-prepend .label-wrapper label.control-label {
    margin-bottom: 0px;
}

.k-grid.k-widget {
    overflow-x: auto;
    border: 1px solid #e8e8e8;
    border-top: none;
}

.k-widget.k-datepicker.k-header {
    max-width: 100%;
}

.btn-secondary {
    color: #333;
    background-color: #ececec;
    border-color: #6c757d;
}

h1 {
    font-size: 1.5rem;
}

.input-group-btn .required {
    color: red;
}

.box-title {
    display: inline-block;
    font-size: 15px;
    margin: 0;
    line-height: 1;
}

.modal-dialog {
    max-width: calc(100% - 15px) !important;
}

    .modal-dialog .modal-content {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

.btn-qlnb-black, a.btn-qlnb-black, button.btn-qlnb-black {
    color: #dedede !important;
    text-shadow: 0 1px 0 #000 !important;
    text-decoration: none !important;
    border: 1px solid #222 !important;
    background-image: linear-gradient(to bottom, rgba(150, 150, 150, 0.1), rgba(71, 91, 115, 0.1),rgba(52, 72, 97, 0.1),rgba(52, 72, 97, 0.1),rgba(52, 72, 97, 0.1),rgba(52, 72, 97, 0.1),rgba(52, 72, 97, 0.1),rgba(27, 39, 53, 0.1)) !important;
}

    .btn-qlnb-black:hover {
        background-image: linear-gradient(to bottom, #969696, #475b73,#344861,#344861,#344861,#344861,#344861,#1b2735) !important;
        color: #fff !important;
    }

.btn-qlnb-danger {
    color: #dedede !important;
    text-shadow: 0 1px 0 #000 !important;
    text-decoration: none !important;
    border: 1px solid #222 !important;
    background-image: linear-gradient(to bottom, #969696, #7b3838,#7b3838,#7b3838,#7b3838,#7b3838,#7b3838,#7b3838) !important;
}

    .btn-qlnb-danger:hover {
        background-image: linear-gradient(to bottom, #969696, #a54c4c,#a54c4c,#a54c4c,#a54c4c,#a54c4c,#a54c4c,#a54c4c) !important;
        color: #fff !important;
    }

.btn-group-xs > .btn, .btn-xs {
    padding: .17rem .5rem;
    font-size: .675rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.back-to-top {
    opacity: 0.6;
    cursor: pointer;
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: none;
    z-index: 100;
}

    .back-to-top:hover {
        opacity: 1;
    }

.bg-qlnb-blue {
    background-image: linear-gradient(to bottom,#4f8fe6,#2863a7);
    margin-right: 15px;
    margin-left: 15px;
}


.btn.btn-hover-boder:hover {
    border: 1px solid #333;
}

.dropdown-menu {
    font-size: 13px;
}

    .dropdown-menu.qlnb-dropdown .dropdown-item {
        border: 1px solid rgba(255, 255, 255, 0.00);
    }

        .dropdown-menu.qlnb-dropdown .dropdown-item:hover {
            background-image: linear-gradient(to bottom,#4f8fe6,#2863a7);
            color: #fff;
            border: 1px solid #333;
        }

.btn.btn-qlnb-focus:focus {
    border: 1px solid #333;
    background: #fff;
    color: #333 !important;
}


.field-validation-error {
    color: red;
}

.form-horizontal.box {
}

.box .overlay {
    background: rgba(208, 208, 208, 0.7);
}


.qlnb-form.form-horizontal .label-wrapper {
    min-height: initial;
    margin-bottom: initial;
    margin-top: initial;
}

.qlnb-form.form-horizontal .control-label {
    padding-top: initial;
    font-size: 13px;
}

hr.my-0 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.profile-user-img {
    width: 200px;
}

a.img-circle {
    position: relative;
    height: 68px;
    width: 68px;
    overflow: hidden;
    float: left;
    margin-right: 10px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.img-circle.vert img {
    position: absolute;
    top: 50%;
    width: 68px;
    height: auto;
    transform: translateY(-50%);
}

table.qlnb-table {
    width: 100%;
}

    table.qlnb-table tr td:first-child {
        width: 20%;
        min-width: 130px;
    }


    table.qlnb-table tr td {
        padding-right: 10px;
    }

        table.qlnb-table tr td label {
            color: #333;
            font-weight: 500;
        }

        table.qlnb-table tr td input[type=text], table.qlnb-table tr td input[type=password] {
            padding: 5px;
            height: 28px;
            margin-bottom: 5px;
            font-size: 12.5px;
        }

        table.qlnb-table tr td textarea {
            padding: 5px;
            min-height: 70px;
            margin-bottom: 5px;
            font-size: 12.5px;
        }

        table.qlnb-table tr td select {
            padding: 5px;
            height: 28px;
            margin-bottom: 5px !important;
            font-size: 12.5px;
            padding-top: 2px;
        }

        table.qlnb-table tr td .k-datetimepicker {
            height: 26px;
            margin-bottom: 5px;
        }

        table.qlnb-table tr td .k-timepicker {
            height: 26px;
            margin-bottom: 5px;
        }

        table.qlnb-table tr td .k-datepicker {
            height: 26px;
            margin-bottom: 5px;
        }

        table.qlnb-table tr td .k-picker-wrap {
            height: 26px;
        }

        table.qlnb-table tr td input[data-role=datetimepicker] {
            height: 15px !important;
        }

        table.qlnb-table tr td input[data-role=timepicker] {
            height: 15px !important;
        }

        table.qlnb-table tr td input[data-role=datepicker] {
            height: 15px !important;
        }


        table.qlnb-table tr td .k-select {
            height: 25px !important;
            line-height: 23px;
        }


        table.qlnb-table tr td .qlnb-label-check {
            padding: 2px;
            height: 28px;
            padding-right: 10px;
        }



.loader {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 980px) {
    #main-nav.nav {
        overflow: auto;
        overflow-y: hidden;
        white-space: nowrap;
        width: 100%;
    }

        #main-nav.nav li {
            float: initial;
            display: inline-block;
        }

    .scroll-mobile {
        overflow-x: scroll;
        width: 100%;
    }

        .scroll-mobile .nav {
            display: -webkit-box;
        }
}

.show-in-small-monitor{
    display:none;
}

@media (max-width: 2100px) {
    .hide-in-small-monitor {
        display: none;
    }

    .show-in-small-monitor {
        display: block;
    }

    .px-small-moditor {
        padding-right: 5px;
        padding-left: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

@media (max-width: 1200px) {
    .k-grid.k-widget > table {
        min-width: initial;
    }
}
