/* Gentelella Admin Theme Custom CSS */
/* Core Body Styling */
body {
    color: #73879C;
    background: #F7F7F7;
    font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.471;
}

/* Main Container */
.container.body {
    background: #F7F7F7;
    min-height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
}

.main_container {
    min-height: 100vh;
    width: 100%;
    background: #F7F7F7;
}

.main_container .top_nav {
    display: block;
    margin-left: 230px;
}

.nav-md .container.body .right_col {
    margin-left: 230px;
    min-height: 100vh;
    display: block !important;
    float: none;
    width: auto;
}

/* Navigation Title */
.nav_title {
    width: 230px;
    float: left;
    background: #2A3F54;
    border-radius: 0;
    height: 57px;
}

/* Left Column */
.nav-md .container.body .col-md-3.left_col {
    width: 230px;
    padding: 0;
    position: fixed;
    display: flex;
    z-index: 999;
    height: 100%;
    top: 0;
    left: 0;
}

.left_col {
    background: #2A3F54;
    height: 100vh;
}

.nav-md .left_col {
    min-height: 100%;
    width: 230px;
    padding: 0;
    position: fixed;
    display: flex;
    z-index: 999;
}

.left_col.scroll-view {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: #2A3F54;
}

/* Profile Section */
.profile_pic {
    width: 35%;
    float: left;
}

.img-circle.profile_img {
    width: 70%;
    background: #fff;
    margin-left: 15%;
    z-index: 1000;
    position: inherit;
    margin-top: 20px;
    border: 1px solid rgba(52, 73, 94, .44);
    padding: 4px;
}

.profile_info {
    padding: 25px 10px 10px;
    width: 65%;
    float: left;
}

.profile_info span {
    font-size: 13px;
    line-height: 30px;
    color: #BAB8B8;
}

.profile_info h2 {
    font-size: 14px;
    color: #ECF0F1;
    margin: 0;
    font-weight: 300;
}

/* Sidebar Menu */
#sidebar-menu {
    padding-bottom: 50px;
}

.main_menu .fa {
    width: 26px;
    opacity: .99;
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.menu_section {
    margin-bottom: 35px;
}

.menu_section h3 {
    padding: 5px 15px;
    color: #9FA3A7;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 700;
    font-size: 11px;
    margin-bottom: 10px;
}

.menu_section > ul {
    margin-top: 10px;
}

/* Side Menu Navigation */
.nav.side-menu > li {
    position: relative;
    display: block;
    cursor: pointer;
}

.nav.side-menu > li > a {
    margin-bottom: 6px;
    color: #E7E7E7;
    font-weight: 500;
}

.nav.side-menu > li > a:hover {
    color: #F2F5F7 !important;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 13px 15px 12px;
}

/* Active Menu Item */
.nav.side-menu > li.active > a {
    text-shadow: rgba(0, 0, 0, .25) 0 -1px 0;
    background: linear-gradient(#334556, #2C4257), #2A3F54;
    box-shadow: rgba(0, 0, 0, .25) 0 1px 0, inset rgba(255, 255, 255, .16) 0 1px 0;
    color: #fff !important;
    font-weight: 500;
}

.nav.side-menu > li.current-page,
.nav.side-menu > li.active {
    border-right: 5px solid #1ABB9C;
}

/* Child Menu */
.nav.child_menu {
    display: none;
    padding-left: 0;
}

.nav.side-menu > li.active .nav.child_menu {
    display: block;
}

.nav.child_menu > li {
    padding-left: 36px;
}

.nav.child_menu > li > a {
    color: #E7E7E7;
    font-weight: 500;
}

.nav.child_menu li:hover,
.nav.child_menu li.active {
    background-color: rgba(255, 255, 255, .06);
}

/* Top Navigation */
.nav_menu {
    float: left;
    background: #EDEDED;
    border-bottom: 1px solid #D9DEE4;
    margin-bottom: 10px;
    width: 100%;
    position: relative;
}

.nav_menu nav {
    padding: 0;
}

.nav.toggle {
    padding: 5px;
    position: absolute;
    cursor: pointer;
}

.nav.toggle a {
    padding: 15px;
    position: relative;
    display: block;
}

.nav.toggle a i {
    position: absolute;
    top: 11px;
    left: 10px;
    font-size: 20px;
}

/* Top Nav Bar Right */
.top_nav .navbar-right {
    margin: 0;
    width: 70%;
    float: right;
}

.top_nav .navbar-right li {
    display: inline-block;
    float: right;
    position: static;
}

.navbar-nav > li > a {
    color: #515356 !important;
}

/* Site Title */
.site_title {
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: 400;
    font-size: 22px;
    width: 100%;
    color: #ECF0F1 !important;
    margin-left: 0 !important;
    line-height: 59px;
    display: block;
    height: 55px;
    margin: 0;
    padding-left: 10px;
}

.site_title i {
    border: 1px solid #EAEAEA;
    padding: 5px 6px;
    border-radius: 50%;
}

/* Sidebar Footer */
.sidebar-footer {
    bottom: 0;
    clear: both;
    display: block;
    padding: 5px 0 0 0;
    position: fixed;
    width: 230px;
    background: #2A3F54;
    z-index: 999;
}

.sidebar-footer a {
    padding: 7px 0 3px;
    text-align: center;
    width: 25%;
    float: left;
    display: block;
    font-size: 17px;
    color: #E7E7E7;
}

.sidebar-footer a:hover {
    background: #425668;
}

/* Right Column Content Area */
.right_col {
    min-height: 100vh;
    padding: 10px 20px 0;
    margin-left: 230px;
    z-index: 2;
    background: #F7F7F7;
    display: block !important;
    float: none;
    width: auto;
    position: relative;
}

/* Footer */
footer {
    margin-left: 230px;
    background: #fff;
    border-top: 1px solid #D9DEE4;
    padding: 10px 20px;
    display: block;
}

/* Panels */
.x_panel {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 17px;
    display: inline-block;
    background: #fff;
    border: 1px solid #E6E9ED;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
    opacity: 1;
    transition: all .2s ease;
}

.x_title {
    border-bottom: 2px solid #E6E9ED;
    padding: 1px 5px 6px;
    margin-bottom: 10px;
}

.x_title h2 {
    margin: 5px 0 6px;
    float: left;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.x_title h2 small {
    margin-left: 10px;
}

.x_title .panel_toolbox {
    float: right;
    min-width: 70px;
}

.x_content {
    padding: 0 5px 6px;
    position: relative;
    width: 100%;
    float: left;
    clear: both;
    margin-top: 5px;
}

/* Page Title */
.page-title {
    width: 100%;
    overflow: hidden;
    margin: 0 0 30px;
}

.page-title .title_left {
    width: 45%;
    float: left;
    display: block;
}

.page-title .title_right {
    width: 55%;
    float: left;
    display: block;
}

.page-title .title_right .pull-right {
    margin: 10px 0;
}

/* Forms */
.form-control {
    border: 1px solid #ccc;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    width: 100%;
    display: block;
    height: 34px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
}

.form-control:focus {
    border-color: #1ABB9C;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(26, 187, 156, .6);
}

.form-group {
    margin-bottom: 15px;
}

.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: right;
}

.form-horizontal .form-group {
    margin-right: -15px;
    margin-left: -15px;
}

.form-horizontal .form-group:before,
.form-horizontal .form-group:after {
    display: table;
    content: " ";
}

.form-horizontal .form-group:after {
    clear: both;
}

.required {
    color: #a94442;
}

.ln_solid {
    border-top: 1px solid #e5e5e5;
    color: #ffffff;
    background-color: #ffffff;
    height: 1px;
    margin: 20px 0;
}

select.form-control {
    height: 34px;
    line-height: 34px;
}

textarea.form-control {
    height: auto;
}

.parsley-error {
    border-color: #a94442;
}

/* Buttons */
.btn {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 6px 12px;
}

.btn-success {
    color: #fff;
    background-color: #26B99A;
    border-color: #169F85;
}

.btn-success:hover {
    color: #fff;
    background-color: #169F85;
    border-color: #169F85;
}

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-warning {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Tables */
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    background-color: transparent;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-bordered {
    border: 1px solid #ddd;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid #ddd;
}

/* Labels */
.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.label-default {
    background-color: #777;
}

.label-primary {
    background-color: #337ab7;
}

.label-success {
    background-color: #5cb85c;
}

.label-info {
    background-color: #5bc0de;
}

.label-warning {
    background-color: #f0ad4e;
}

.label-danger {
    background-color: #d9534f;
}

.label-dark {
    background-color: #2A3F54;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

/* Utility Classes */
.clearfix:after {
    content: " ";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-muted {
    color: #777;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.divider {
    border-top: 1px solid #e5e5e5;
    margin: 15px 0;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.list-unstyled li {
    padding: 5px 0;
}

.list-unstyled li i {
    margin-right: 5px;
    color: #26B99A;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .nav-md .container.body .right_col,
    .nav-md .container.body .top_nav {
        width: 100%;
        margin: 0;
    }

    .nav-md .container.body .col-md-3.left_col {
        display: none;
    }

    .nav-md .container.body .right_col {
        padding: 10px 20px;
        margin-left: 0;
    }
    
    footer {
        margin-left: 0;
    }
}

/* Login page specific */
.login_content {
    margin: 0 auto;
    padding: 25px 0 0;
    position: relative;
    text-align: center;
    min-width: 280px;
}

/* Dropdown menu improvements */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

/* Badge styles */
.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #777;
    border-radius: 10px;
}

.badge.bg-green {
    background-color: #26B99A;
}

.badge.bg-red {
    background-color: #E74C3C;
}

/* Tile stats */
.tile-stats {
    position: relative;
    display: block;
    margin-bottom: 12px;
    border: 1px solid #E4E4E4;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    overflow: visible;
    padding: 20px;
    background-color: #FFF;
    transition: all 300ms ease-in-out;
    min-height: 140px;
}

.tile-stats:hover {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.tile-stats .icon {
    color: #BAB8B8;
    position: absolute;
    right: 53px;
    top: 22px;
    z-index: 1;
}

.tile-stats .icon i {
    font-size: 60px;
}

.tile-stats .count {
    font-size: 38px;
    font-weight: bold;
    line-height: 1.65857;
    margin: 20px 0 10px 20px;
}

.tile-stats h3 {
    margin: 7px 0 0 20px;
}

.tile-stats p {
    margin: 5px 20px;
    line-height: 1.5;
}

/* Pagination */
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination > li {
    display: inline;
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

/* Navigation bar additions */
.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav > li {
    position: relative;
    display: block;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background-color: transparent;
}

.navbar-right {
    float: right !important;
    margin-right: -15px;
}

.panel_toolbox {
    float: right;
    min-width: 70px;
}

.panel_toolbox > li {
    float: left;
    cursor: pointer;
}

.panel_toolbox > li > a {
    padding: 5px;
    color: #C5C7CB;
    font-size: 14px;
}

.panel_toolbox > li > a:hover {
    background: #F5F7FA;
}

/* Animations */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.flipInY {
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    animation-name: flipInY;
}

@keyframes flipInY {
    from {
        transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
        animation-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
        animation-timing-function: ease-in;
    }
    60% {
        transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
        opacity: 1;
    }
    80% {
        transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    }
    to {
        transform: perspective(400px);
    }
}

/* Fix for rows */
.row {
    margin-right: -15px;
    margin-left: -15px;
}

.row:before,
.row:after {
    display: table;
    content: " ";
}

.row:after {
    clear: both;
}

/* Column fixes */
[class*="col-"] {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
}

/* Ensure content is visible */
.right_col * {
    visibility: visible !important;
    opacity: 1 !important;
}

.top_tiles {
    margin: 10px 0;
}

.top_tiles .col-lg-3,
.top_tiles .col-md-3,
.top_tiles .col-sm-6 {
    float: left;
}

.col-xs-12 {
    width: 100%;
}

.col-sm-12 {
    width: 100%;
}

.col-md-12 {
    width: 100%;
}

.col-lg-3 {
    width: 25%;
}

.col-md-3 {
    width: 25%;
}

.col-sm-6 {
    width: 50%;
}

@media (max-width: 768px) {
    .col-sm-6 {
        width: 100%;
    }
    .col-sm-12 {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .col-md-3 {
        width: 50%;
    }
    .col-md-12 {
        width: 100%;
    }
}
