/* body */
body {
    position: relative;
    height: 100vh;
    overflow: hidden;
    overflow-y: auto;
    color: #5d5d5d;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

/* Shrinking the sidebar from 250px to 80px and center aligining its content*/
#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

/* Toggling the sidebar header content, hide the big heading [h3] and showing the small heading [strong] and vice versa*/
#sidebar .sidebar-header strong {
    display: none;
}

#sidebar.active .sidebar-header h3 {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em;
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

/* Same dropdown links padding*/
#sidebar.active ul ul a {
    padding: 10px !important;
}

/* Changing the arrow position to bottom center position, 
   translateX(50%) works with right: 50% 
   to accurately  center the arrow */
#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

/********************************
*       Sitebar                 *
*********************************/
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 110px);
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #242b30;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h3,
#sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em;
}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #242b30;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    /* padding: 20px 0; */
    /*border-bottom: 1px solid #47748b;*/
}

#sidebar ul li a {
    padding: 10px;
    display: block;
    font-weight: 400;
    color: #fff;
}

#sidebar ul li a:hover {
    color: #242b30;
    background: #fff;
}

#sidebar ul li a i {
    margin-right: 10px;
}

/*#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}*/

a[data-toggle="collapse"] {
    position: relative;
}

/*.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}*/

ul ul a {
    padding-left: 30px !important;
    background: #2d353c;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}





@media (max-width: 768px) {

    /* 80px and its content aligned to centre. Pushing it off the screen with the
       negative left margin
    */
    #sidebar.active {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }


    /* Reappearing the sidebar on toggle button click */
    #sidebar {
        margin-left: 0;
    }


    /* Toggling the sidebar header content, 
       hide the big heading [h3] and showing the small heading [strong] and vice versa
    */
    #sidebar .sidebar-header strong {
        display: none;
    }

    #sidebar.active .sidebar-header h3 {
        display: none;
    }

    #sidebar.active .sidebar-header strong {
        display: block;
    }

    /* Downsize the navigation links font size */
    #sidebar.active ul li a {
        padding: 20px 10px;
        font-size: 0.85em;
    }

    #sidebar.active ul li a i {
        margin-right: 0;
        display: block;
        font-size: 1.8em;
        margin-bottom: 5px;
    }

    /* Adjust the dropdown links padding*/
    #sidebar.active ul ul a {
        padding: 10px !important;
    }

    /* Changing the arrow position to bottom center position, 
      translateX(50%) works with right: 50% 
      to accurately  center the arrow */
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
}


p.help-block {
    font-size: 10px;
}

/*custome*/

.navbar,
.pagination .page-item.active .page-link {
    box-shadow: none;
}

.btn,
.btn.disabled:active,
.btn.disabled:focus,
.btn.disabled:hover,
.btn:disabled:active,
.btn:disabled:focus,
.btn:disabled:hover {
    box-shadow: none;
}

.btn:active,
.btn:focus,
.btn:hover,
.btn:not([disabled]):not(.disabled).active,
.btn:not([disabled]):not(.disabled):active {
    box-shadow: none;
}

.table {
    border: 2px solid #dee2e6;
}

.login-page {
    min-height: calc(100vh - 95px);
}

.login-page .card-header .logo {
    width: 60%;
}

.login-page .form-check {
    padding-left: 0;
}

.btn-login {
    padding: .70rem 2.14rem;
    margin-left: 0;
}

.btn-custom {
    padding: 0px 1rem;
    font-size: 12px;
    font-weight: 600;
    height: 40px;
}

.btn-custom i{
    font-size: 14px;
}

.dropdown .dropdown-custom {
    right: 0;
    left: inherit;
    padding: 0;
}

.dropdown .dropdown-custom li {
    padding: 0;
    margin: 0;
    height: 40px;
}

.dropdown .dropdown-custom li a {
    padding: 0 !important;
    background-color: transparent;
    padding-left: 10px !important;
    display: inline-block;
    width: 100%;
    font-size: 14px !important;
    color: #5d5d5d;
}

.dropdown .dropdown-custom li a:hover {
    color: #fff;
}

.dropdown-custom li a i {
    font-size: 16px;
}

.login-page .alert-error {
    color: #dc3545;
}

#footer {
    width: 100vw;
    border-top: 1px solid #d5d4e9;
}

#footer .footer-copyright {
    font-size: 14px;
}

#breadcrumbs {
    width: 100%;
}

#breadcrumbs .breadcrumb {
    border-radius: 0;
    padding: .60rem 1rem;
}

#breadcrumbs .breadcrumb li {
    font-size: 14px;
}

.breadcrumb .divider {
    margin-left: 5px;
    margin-right: 5px;
}

.form-search .fa-search{
    height: 40px;
    width: 40px;
    line-height: 40px;
    border: 1px solid #ced4da;
    border-right: 0;
    background-color: #ced4da;
    position: absolute;
    text-align: center;
}

.input-search {
    height: 40px;
    border-radius: 0;
}

.classic-tabs .tab-edit .nav-item {
    width: calc(100%/6);
}

.classic-tabs .nav.tab-edit li a:hover{
    font-weight: 600;
}

.classic-tabs .nav.tab-edit li a.active {
    border-color: #fff;
    font-weight: 600;
    border-bottom: 4px solid;
}

.classic-tabs .tab-edit li:first-child {
    margin-left: 0;
}

.font-weight-600 {
    font-weight: 600;
}

.btn-table {
    padding: 0;
    margin: 0;
    height: 35px;
    width: 35px;
    line-height: 38px;
    font-size: 12px;
}

.table-actions {
    width: 50px;
    text-align: center;
}

.table-custom.table td {
    padding-top: 8px;
    padding-bottom: 8px;
}