﻿body {
    font-weight: 400;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

    body.modal-open {
        overflow: hidden;
    }

.main-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    max-height: 100px;
    z-index: 1030;
    background: #000f58;
    box-shadow: 0 4px 5px #00000078;
}

    .main-header .logo {
        /*background-color: #222d32;*/
        color: #fcbc7e;
        border-bottom: 0 solid transparent;
        -webkit-transition: width .3s ease-in-out;
        -o-transition: width .3s ease-in-out;
        transition: width .3s ease-in-out;
        display: block;
        float: left;
        height: 50px;
        font-size: 20px;
        line-height: 50px;
        width: 230px;
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        padding: 0 15px;
        font-weight: 400;
        overflow: hidden;
    }

        /*.main-header .logo:hover {
            background: #1e282c;
        }*/

    .main-header .navigation-bar {
        /*background-color: #222d32;*/
        -webkit-transition: margin-left .3s ease-in-out;
        -o-transition: margin-left .3s ease-in-out;
        transition: margin-left .3s ease-in-out;
        margin-bottom: 0;
        margin-left: 230px;
        border: none;
        min-height: 50px;
        border-radius: 0;
    }

        .main-header .navigation-bar:after {
            content: '';
            clear: both;
            display: block;
        }

    .main-header .sidebar-toggle {
        display: none;
        float: left;
        padding: 19px 15px;
        cursor: pointer;
    }

        .main-header .sidebar-toggle:hover {
            background: #1e282c;
        }

        .main-header .sidebar-toggle .icon-bar {
            display: block;
            width: 18px;
            height: 2px;
            background-color: #fcbc7e;
            -webkit-border-radius: 1px;
            -moz-border-radius: 1px;
            border-radius: 1px;
            -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.25);
            -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.25);
            box-shadow: 0 1px 0 rgba(0,0,0,0.25);
        }

            .main-header .sidebar-toggle .icon-bar + .icon-bar {
                margin-top: 3px;
            }

        .main-header .sidebar-toggle:hover .icon-bar {
            background: #fff;
        }

    .main-header .navbar-custom-menu {
        float: right;
    }

        .main-header .navbar-custom-menu:after {
            content: '';
            clear: both;
            display: block;
        }

        .main-header .navbar-custom-menu .menu {
            float: left;
        }

            /*.main-header .navbar-custom-menu .menu:hover {
                background: #1e282c;
            }*/

            .main-header .navbar-custom-menu .menu .manage-menu,
            .main-header .navbar-custom-menu .menu .btn-logout,
            .main-header .navbar-custom-menu .menu .btn-login {
                color: #fcbc7e;
                line-height: 20px;
                padding: 15px;
                display: block;
                border: 0;
                background-color: transparent;
                cursor: pointer;
                font-size: 14px;
                font-weight: unset;
            }

            .main-header .navbar-custom-menu .menu:hover .manage-menu,
            .main-header .navbar-custom-menu .menu:hover .btn-logout,
            .main-header .navbar-custom-menu .menu:hover .btn-login {
                color: #fff;
            }

            .main-header .navbar-custom-menu .menu .btn-logout:active {
                outline: none;
            }

.main-sidebar {
    border-right: 1px solid #d2d6de;
    background-color: #f9fafc;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding-top: 50px;
    min-height: 100%;
    width: 230px;
    z-index: 810;
    -webkit-transition: -webkit-transform .3s ease-in-out,width .3s ease-in-out;
    -moz-transition: -moz-transform .3s ease-in-out,width .3s ease-in-out;
    -o-transition: -o-transform .3s ease-in-out,width .3s ease-in-out;
    transition: transform .3s ease-in-out,width .3s ease-in-out;
    overflow-y: auto;
}

    .main-sidebar::-webkit-scrollbar {
        width: 7px;
    }

    .main-sidebar::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.4);
        border-radius: 7px;
    }

    .main-sidebar .sidebar-menu {
        white-space: nowrap;
        overflow: hidden;
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .main-sidebar .sidebar-menu > li {
            -webkit-transition: border-left-color .3s ease;
            -o-transition: border-left-color .3s ease;
            transition: border-left-color .3s ease;
            position: relative;
            margin: 0;
            padding: 0;
        }

            .main-sidebar .sidebar-menu > li.header {
                color: #848484;
                padding: 10px 25px 10px 15px;
                font-size: 12px;
            }

            .main-sidebar .sidebar-menu > li > a {
                border-left: 3px solid transparent;
                color: #444;
                position: relative;
                padding: 12px 5px 12px 15px;
                display: block;
                font-weight: 400;
            }

                .main-sidebar .sidebar-menu > li > a:hover {
                    background: #f4f4f5;
                    color: #000;
                }

                .main-sidebar .sidebar-menu > li > a > .octicon {
                    font-size: 14px;
                    padding-right: 6px;
                }

.content-wrapper, .main-footer {
    min-height: 100%;
    z-index: 800;
    padding-top: 50px;
    -webkit-transition: -webkit-transform .3s ease-in-out,margin .3s ease-in-out;
    -moz-transition: -moz-transform .3s ease-in-out,margin .3s ease-in-out;
    -o-transition: -o-transform .3s ease-in-out,margin .3s ease-in-out;
    transition: transform .3s ease-in-out,margin .3s ease-in-out;
    margin-left: 230px;
    z-index: 820;
}

.content-wrapper, .main-footer {
    min-height: 100%;
    z-index: 800;
}

.content-wrapper {
    background: #ecf0f5;
    padding-top: 50px;
    padding-bottom: 15px;
}

    .content-wrapper .content-header {
        position: relative;
        padding: 15px 15px 0 15px;
    }

        .content-wrapper .content-header > h1 {
            margin: 0;
            font-size: 24px;
            font-weight: 400;
            line-height: 31px;
        }

        .content-wrapper .content-header .btn-add-new {
            padding: 6px 12px;
            margin-left: 15px !important;
            font-size: 13px;
            vertical-align: top;
        }

    .content-wrapper .content {
        min-height: 250px;
        padding: 15px;
        margin: auto;
    }

        .content-wrapper .content .content-box,
        .content-wrapper .content .filter-box {
            position: relative;
            border-radius: 3px;
            background: #ffffff;
            border-top: 3px solid #d2d6de;
            margin-bottom: 20px;
            width: 100%;
            box-shadow: 0 1px 1px rgba(0,0,0,0.1);
            padding: 10px;
        }

            .content-wrapper .content .filter-box .filter-title {
                font-size: 18px;
            }

            .content-wrapper .content .filter-box .btn-filter {
                padding: 6px 12px;
            }

            .content-wrapper .content .filter-box .col {
                padding: 8px 15px;
            }

            .content-wrapper .content .filter-box label {
                margin-bottom: 0;
            }

    .content-wrapper .dataTables_wrapper .dataTables_length,
    .content-wrapper .dataTables_wrapper .dataTables_filter,
    .content-wrapper .dataTables_wrapper .dataTables_info,
    .content-wrapper .dataTables_wrapper .dataTables_paginate * {
        font-size: 13px;
    }

        .content-wrapper .dataTables_wrapper .dataTables_length select,
        .content-wrapper .dataTables_wrapper .dataTables_filter input {
            font-size: 13px;
            border-radius: initial;
            height: 27px;
            line-height: 27px;
        }

    .content-wrapper .dataTables_wrapper .dataTables_paginate .paginate_button.active .page-link {
        background-color: #4285f4 !important;
    }

    .content-wrapper .dataTables_wrapper table {
        border-spacing: 0;
        border: 0;
        border-bottom: 1px solid #dee2e6;
    }

        .content-wrapper .dataTables_wrapper table thead th {
            padding-bottom: 6px;
            font-size: 13px;
            border: 0;
            border-right: 1px solid #dee2e6;
        }

            .content-wrapper .dataTables_wrapper table thead th:first-child {
                border-left: 1px solid #dee2e6;
            }

        .content-wrapper .dataTables_wrapper table tbody td {
            border: 1px solid #dee2e6;
            border-bottom: 0;
            border-left: 0;
        }

            .content-wrapper .dataTables_wrapper table tbody td:first-child {
                border-left: 1px solid #dee2e6;
            }

        .content-wrapper .dataTables_wrapper table thead th:before,
        .content-wrapper .dataTables_wrapper table thead th:after {
            color: #fff;
            opacity: 0.5;
            bottom: 8px;
        }

    .content-wrapper .dataTables_wrapper .dtr-data {
        display: inline-block;
        vertical-align: middle;
    }

    .content-wrapper .dataTables_wrapper .btn-action {
        float: left;
        margin: 2px !important;
    }

        .content-wrapper .dataTables_wrapper .btn-action .octicon {
            vertical-align: text-top;
        }

.main-footer {
    background: #fff;
    color: #444;
    border-top: 1px solid #d2d6de;
    padding: 15px;
}

@media (max-width: 767px) {
    .main-header .logo, .main-header .navigation-bar {
        width: 100%;
        float: none;
    }

    .main-header .navigation-bar {
        margin: 0;
    }

    .main-header .sidebar-toggle {
        display: block;
    }

    .main-sidebar {
        padding-top: 100px;
        -webkit-transform: translate(-230px, 0);
        -ms-transform: translate(-230px, 0);
        -o-transform: translate(-230px, 0);
        transform: translate(-230px, 0);
    }

    .content-wrapper,
    .main-footer {
        margin-left: 0;
    }

    .content-wrapper {
        padding-top: 100px;
    }

    .sidebar-open .main-sidebar {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .sidebar-open .content-wrapper,
    .sidebar-open .main-footer {
        -webkit-transform: translate(230px, 0);
        -ms-transform: translate(230px, 0);
        -o-transform: translate(230px, 0);
        transform: translate(230px, 0);
    }
}
