﻿.b-content {
    margin-top: 54px;
}

textarea {
    resize: none;
}

.nav-item .nav-link > .img-avatar, .nav-item .avatar.nav-link > img {
    height: 30px;
    margin: 0 10px;
}

.nav-item .nav-link > .img-flag {
    height: 27px;
    margin: 0;
}

#nav-main-menu .nav-link.active {
    border-bottom: 2px solid;
}

.img-avatar, .avatar > img, .img-circle {
    max-width: 100%;
    height: auto;
    border-radius: 50em;
}

.btn.minimizer-sb, .btn.minimizer-sb:hover {
    color: #fff;
}

.dropdown-menu {
    padding: 0;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #23282c;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item {
    position: relative;
    padding: 10px 20px;
    border-bottom: 1px solid #c8ced3;
}

    .dropdown-item:hover {
        background-color: #e4e7ea;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

.flag-icon-background {
    height: 100%;
    max-width: 100%;
    padding: 0.5rem;
    margin-right: 8px;
}

.header-logo {
    max-height: 52px !important;
}

.navbar {
    padding: 0.25rem 0;
}

.page-title {
    border-bottom: 1px solid #e9e9e9;
    margin: 0px 0px 30px 0px;
    padding: 0px 0px 20px 0px;
    text-align: left;
    font-size: 1.8em;
    padding: 20px;
    background-color: #f7f8f9;
}

.dropdown-header {
    display: block;
    padding: 0 1.5rem;
    margin-bottom: 0;
    font-size: 0.765625rem;
    color: #73818f;
    white-space: nowrap;
}

.dropdown-header {
    padding: 8px 20px;
    background: #e4e7ea;
    border-bottom: 1px solid #c8ced3;
}

.table th, .table td {
    padding: 0.5rem;
}

.field-validation-error {
    color: #dc3545;
}

.nav-org {
    text-align: center;
}

    .nav-org .dropdown-org {
        max-height: 450px;
        overflow: auto;
    }

        .nav-org .dropdown-org .dropdown-item {
            padding: 10px;
        }
/************************* dialog fancybox **************************/
.fancybox-title {
    background-color: #f5f5f5;
    border-color: #ddd;
    padding: 12px;
    font-size: 16px !important;
    font-weight: bold !important;
    border-bottom: 1px solid #aaa;
}

.fancybox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8051;
}

#dialog .form-wrapper {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    height: calc(100% - 90px);
    overflow-x: hidden;
    overflow-y: auto;
}

#dialog .footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 12px;
    text-align: right;
    border-top: 1px solid #aaa;
}

    #dialog .footer .btn {
        width: 100px;
        margin-left: 4px;
    }

.ui-widget.ui-widget-content {
    z-index: 99999 !important;
}

/************************jconfirm-bootstrap***************************/
.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-title-c {
    border-bottom: 1px solid #ddd;
}

/************************indicator***************************/
#loading-indicator {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    opacity: 0.5;
    z-index: 999998;
}

    #loading-indicator img {
        position: absolute;
        top: 23%;
        left: 45%;
        z-index: 999999;
    }

.div-loading-indicator {
    display: none;
}

.form-group label.control-label {
    font-weight: bold;
}

.required {
    color: #d81814;
}

.code, kbd, pre, samp {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}

.add-comment .form-allowed-tags code {
    font-size: 10px;
}

.post-detail h5 {
    border-bottom: 1px solid #e9e9e9;
    color: #363636;
    font-weight: 300;
    margin: 40px 0px 30px 0px;
    padding-bottom: 20px;
}

.jconfirm .jconfirm-box div.jconfirm-content-pane {
    margin-bottom: 0;
}

.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-content {
    padding: 15px;
}
/******************idletimeout******************/
#idletimeout {
    background: #CC5100;
    border: 3px solid #FF6500;
    color: #fff;
    font-family: arial, sans-serif;
    text-align: center;
    font-size: 12px;
    padding: 15px;
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 100000;
    display: none;
}

    #idletimeout a {
        color: #fff;
        font-weight: bold;
    }

    #idletimeout span {
        font-weight: bold;
    }

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #eee;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/****************************SideBar***************************/
.b-content .sidebar {
    height: calc(100vh - 55px);
}

.sidebar .sidebar-nav, .sidebar .breadcrumb {
    background-color: #f8f9fa;
}

.sidebar .breadcrumb {
    padding: 0.75rem 0.5rem;
}

    .sidebar .breadcrumb .btn {
        padding: 0.375rem 0.35rem;
    }

.sidebar .nav.card {
    background: unset;
    border-radius: unset;
    border-bottom: unset;
    border-top: none;
    border-right: none;
}

    .sidebar .nav.card .nav-item {
        position: relative;
        width: 100%;
    }

.sidebar .nav-link {
    color: #212529;
    border-color: #ddd;
    padding: 0.4rem 0.75rem;
}

    .sidebar .nav-link .r-icon {
        width: 15px;
        font-size: 0.85rem;
        display: inline-block;
    }

#left-menu .enc-right {
    position: absolute;
    top: 5px;
    right: 0;
}

#left-menu .datepicker_d {
    padding: 0.375rem 0;
}
