
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #ecf0f5;
}

.wrapper {
    margin: 0;
    padding: 0;
}

.font-primary {
    color: #3b6b3b !important;
}

.table-scrollable {
    overflow-x: scroll !important;
    overflow-y: unset !important;
}

.table-responsive {
    overflow-x: unset;
}

.portlet.light .portlet-body {
    min-height: 0;
}

.todo-sidebar {
    width: 100%;
    margin-bottom: 0;
    float: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.row > .col-md-2:has(.todo-sidebar) {
    order: -1;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.row > .col-md-2:has(.todo-sidebar) ~ .col-md-10 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.todo-sidebar .portlet {
    margin-bottom: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}

.todo-project-list-content .nav-pills {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 4px 4px 0 0;
}

.portlet.light {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 0 0 4px 4px;
    margin-top: 0;
}

.row > .col-md-2:has(.todo-sidebar) ~ .col-md-10 .portlet.light {
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    margin-top: -1px;
    border-top: none;
}

.row > .col-md-2:has(.todo-sidebar) ~ .col-md-10 .portlet.light > .portlet-title {
    border-top: 1px solid #dee2e6;
}

.row > .col-md-2:has(.todo-sidebar) ~ .col-md-10 {
    margin-top: 0;
    padding-top: 0;
}

.todo-project-list-content {
    padding: 0 !important;
    background: transparent !important;
}

.todo-project-list-content .nav-pills {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0;
    background: #fff;
    padding: 0 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 4px 4px 0 0;
}

.todo-project-list-content .nav-pills > li {
    float: none;
    margin: 0;
}

.todo-project-list-content .nav-pills > li > a {
    border-radius: 0;
    border-bottom: 3px solid transparent;
    margin-right: 2px;
    padding: 10px 15px;
    color: #495057;
    background: transparent;
    display: block;
}

.todo-project-list-content .nav-pills > li > a:hover {
    background: #f8f9fa;
    border-bottom-color: #dee2e6;
}

.todo-project-list-content .nav-pills > li.active > a,
.todo-project-list-content .nav-pills > li.active > a:hover,
.todo-project-list-content .nav-pills > li.active > a:focus {
    background: transparent;
    color: #3b6b3b;
    border-bottom-color: #3b6b3b;
    font-weight: 600;
}

.todo-project-list-content .nav-pills > li > a .font-primary {
    margin-right: 5px;
}

.btn {
    border-radius: 5px !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select,
textarea,
.form-control {
    border-radius: 3px !important;
}

.btn-primary {
    background-color: #3b6b3b !important;
    border-color: #2f5430 !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #2d5232 !important;
    border-color: #234023 !important;
    color: #fff !important;
}

.btn-success {
    background-color: #00a65a !important;
    border-color: #008d4c !important;
    color: #fff !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #008d4c !important;
    border-color: #006838 !important;
    color: #fff !important;
}

.btn-info {
    background-color: #00c0ef !important;
    border-color: #00acd6 !important;
    color: #fff !important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: #00acd6 !important;
    border-color: #0097b3 !important;
    color: #fff !important;
}

.btn-warning {
    background-color: #f39c12 !important;
    border-color: #e08e0b !important;
    color: #fff !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #e08e0b !important;
    border-color: #c87f0a !important;
    color: #fff !important;
}

.btn-danger {
    background-color: #dd4b39 !important;
    border-color: #d73925 !important;
    color: #fff !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #d73925 !important;
    border-color: #c23321 !important;
    color: #fff !important;
}

.btn-default {
    background-color: #f4f4f4 !important;
    border-color: #ddd !important;
    color: #444 !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    background-color: #e7e7e7 !important;
    border-color: #adadad !important;
    color: #444 !important;
}

.label-primary,
.badge-primary {
    background-color: #3b6b3b !important;
}

.label-success,
.badge-success {
    background-color: #00a65a !important;
}

.label-info,
.badge-info {
    background-color: #00c0ef !important;
}

.label-warning,
.badge-warning {
    background-color: #f39c12 !important;
}

.label-danger,
.badge-danger {
    background-color: #dd4b39 !important;
}

.blue.btn {
    background-color: #3b6b3b !important;
    border-color: #2f5430 !important;
    color: #fff !important;
}

.blue.btn:hover,
.blue.btn:focus,
.blue.btn:active,
.blue.btn.active {
    background-color: #2d5232 !important;
    border-color: #234023 !important;
    color: #fff !important;
}

.blue.btn:active,
.blue.btn.active {
    background-color: #234023 !important;
}

.font-blue {
    color: #3b6b3b !important;
}

.bg-blue {
    background-color: #3b6b3b !important;
    border-color: #2f5430 !important;
    color: #fff !important;
}

.progress-bar.blue {
    background-color: #3b6b3b !important;
    color: #fff !important;
}

.portlet.blue,
.portlet > .portlet-body.blue {
    background-color: #3b6b3b !important;
}

.dashboard-stat.blue {
    background-color: #3b6b3b !important;
}

.dashboard-stat.blue .more {
    background-color: #2d5232 !important;
}

.btn.blue-stripe {
    border-left-color: #3b6b3b !important;
}

.table > thead > tr > th {
    vertical-align: middle;
}

div.dataTables_paginate {
    display: flex;
    justify-content: flex-end;
    float: none !important;
}

.main-sidebar {
    position: fixed;
    top: 50px;
    left: 0;
    min-height: calc(100% - 50px);
    width: 230px;
    z-index: 810;
    background-color: #222d32;
    border-top: none;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
}

.content-wrapper {
    min-height: calc(100vh - 100px);
    background-color: #ecf0f5;
    z-index: 800;
    margin-left: 230px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    z-index: 1030;
    background-color: #3b6b3b !important;
    margin: 0;
    padding: 0;
}

.main-header .navbar {
    background-color: #3b6b3b !important;
}

.main-header .logo {
    display: flex;
    align-items: center;
    float: left;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    text-align: left;
    width: 230px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0 15px;
    margin: 0;
    font-weight: 300;
    overflow: hidden;
    background-color: transparent;
}

.main-header .logo .logo-lg {
    display: inline-block;
    vertical-align: middle;
}

.main-header .logo .logo-lg img {
    display: block;
    height: 35px;
}

.main-header .logo .logo-mini {
    display: none;
}

.main-header .logo .logo-mini img {
    display: block;
    height: 40px;
    margin-top: 5px;
}

@media (max-width: 767px) {
    .main-header .logo .logo-lg {
        display: none;
    }
    
    .main-header .logo .logo-mini {
        display: inline-block;
        vertical-align: middle;
    }
}

.main-header .navbar {
    margin-left: 230px;
    margin-bottom: 0;
    margin-top: 0;
    margin-right: 0;
    padding: 0;
    border: none;
    min-height: 50px;
    height: 50px;
    border-radius: 0;
}

.main-header .navbar .sidebar-toggle {
    float: left;
    background-color: transparent;
    background-image: none;
    padding: 15px 15px;
    font-family: fontAwesome;
}

.sidebar-toggle {
    display: none!important;
}

.main-header .navbar .sidebar-toggle:before {
    content: "\f0c9";
}

.main-header .navbar .sidebar-toggle:hover {
    color: #fff;
}

.main-header .navbar .navbar-custom-menu {
    float: right;
}

.main-header .navbar .navbar-custom-menu .topbar-actions {
    position: static;
    display: flex;
    align-items: center;
    padding: 5px 15px;
    margin: 0;
}

.main-header .navbar .navbar-custom-menu .topbar-actions .btn-group-notification .btn {
    top: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
}

.main-header .navbar .navbar-custom-menu .topbar-actions .btn-group-red .btn {
    top: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
}

.main-header .navbar .navbar-custom-menu .topbar-actions .btn-group-img .btn {
    top: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 5px;
}

.main-header .navbar .navbar-custom-menu .topbar-actions .btn-group-img .btn img {
    height: 30px;
    width: 30px;
}

.sidebar {
    height: calc(100vh - 50px);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: #1a2226;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #3c3f41;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #4a4d4f;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.sidebar-menu > li > a {
    padding: 12px 5px 12px 15px;
    display: block;
    color: #b8c7ce;
    text-transform: capitalize;
    text-decoration: none;
}

.sidebar-menu > li > a > .fa,
.sidebar-menu > li > a > .glyphicon,
.sidebar-menu > li > a > .ion {
    width: 20px;
}

.sidebar-menu > li:hover > a {
    color: #fff;
    background: #1e282c;
}

.sidebar-menu > li.active > a,
.sidebar-menu > li.menu-open > a {
    color: #fff;
    background: #1e282c;
    font-weight: 600;
}

.sidebar-menu > li > .treeview-menu {
    margin: 0;
    background: #1a2226;
    padding: 5px 0;
}

.sidebar-menu .treeview-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 5px;
}

.sidebar-menu .treeview-menu > li {
    margin: 0;
}

.sidebar-menu .treeview-menu > li > a {
    padding: 8px 5px 8px 25px;
    display: block;
    font-size: 14px;
    color: #8aa4af;
    text-transform: capitalize;
    text-decoration: none;
}

.sidebar-menu .treeview-menu > li > a > .fa,
.sidebar-menu .treeview-menu > li > a > .glyphicon,
.sidebar-menu .treeview-menu > li > a > .ion {
    width: 20px;
}

.sidebar-menu .treeview-menu > li > a:hover {
    color: #fff;
    background: #1a2226;
}

.sidebar-menu .treeview-menu > li.active > a {
    color: #fff;
    background: #1e282c;
    font-weight: 600;
}

.sidebar-menu .treeview.menu-open > .treeview-menu {
    display: block;
}

.sidebar-menu .treeview > a > .pull-right-container > .fa-angle-down {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
    margin-top: 3px;
    transform: rotate(-90deg);
}

.sidebar-menu .treeview.menu-open > a > .pull-right-container > .fa-angle-down {
    transform: rotate(0deg);
}

.sidebar-menu > li.active > a {
    color: #fff;
    background: #1e282c;
}

.sidebar-menu .treeview-menu > li.active > a {
    color: #fff;
    background: #1e282c;
    font-weight: 600;
}

.sidebar-menu .treeview.menu-open > a {
    color: #fff;
    background: #1e282c;
}

.main-header {
    border-bottom: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-header .logo {
    border-right: none;
}

.main-header .logo {
    color: #fff;
}

.main-header .logo img {
    display: none;
}

.main-header .navbar .sidebar-toggle {
    color: #fff;
}

.main-sidebar:before {
    display: none;
}

.sidebar-form {
    border-radius: 3px;
    border: 1px solid #374850;
    margin: 10px 10px;
}

.sidebar-form input[type="text"],
.sidebar-form .btn {
    box-shadow: none;
    background-color: #374850;
    border: 1px solid transparent;
    height: 35px;
}

.sidebar-form input[type="text"] {
    color: #666;
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
}

.sidebar-form input[type="text"]:focus,
.sidebar-form input[type="text"]:focus + .input-group-btn .btn {
    background-color: #fff;
    color: #666;
}

.sidebar-form .btn {
    color: #999;
    border-top-left-radius: 0;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 0;
}

.content {
    min-height: 250px;
    padding: 15px;
    background-color: #ecf0f5;
}

.page-content,
.textback-content {
    background-color: #ecf0f5 !important;
}

.main-footer {
    position: fixed;
    bottom: 0;
    left: 230px;
    right: 0;
    height: 50px;
    background: #fff;
    border-top: 1px solid #d2d6de;
    padding: 10px 15px;
    margin: 0;
    color: #444;
    z-index: 1030;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .main-sidebar {
        transform: translate(-230px, 0);
    }

    .content-wrapper {
        margin-left: 0;
        padding-bottom: 50px;
    }

    .main-footer {
        left: 0;
    }

    .main-header .navbar {
        margin-left: 0;
    }

    .sidebar-open .main-sidebar {
        transform: translate(0, 0);
    }
}

html, body, button, input, select, textarea,
.content-wrapper, .main-header, .main-sidebar, .main-footer {
    font-family: "PT Sans Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.form-actions {
    padding: 0 !important;
}

.control-label {
    padding-right: 0 !important;
}

form {
    margin-bottom: 0!important;
}

.form-body {
    padding: 0!important;
}

.content {
    padding: 0!important;
}

.page-content {
    padding-right: 0!important;
    padding-left: 0!important;
    padding-top: 20px!important;
}
