body {
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #4d4d4d;
    font-family: Arial, Helvetica, sans-serif;
}
a {
    outline: none;
    text-decoration: none;
}

#header {
    width: 100%;
    height: 30px;
    position: fixed;
    z-index: 99999;
    background-color: #000;
    top: 0;
    left: 0;
}

#header .content {
    width: 100%;
    float: right;
    text-align: right;
    font-size: 14px;
    padding-right: 10px;
    padding-top: 5px;
}

#header .content a {
    color: #fff;
    font-weight: bold;
}

#header .content a:hover {
    text-decoration: underline;
}

#sidebar {
    width: 250px;
    padding-top: 30px;
    height: 100%;
    background-color: #333;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

#sidebar ul {
    padding: 0;
    margin: 0;
}

#sidebar ul.sub {
    margin-left: 15px;
}

#sidebar ul.sub li {
    border-bottom: 1px solid #333;
}

#sidebar ul.sub li a {
    font-weight: normal;
}

#sidebar ul li {
    list-style-type: none;
    padding: 0;
    border-bottom: 1px solid #555;
}

#sidebar ul li.last {
    border: none;
}

#sidebar ul li:hover,
#sidebar ul li.active {
    background-color: #555;
}

#sidebar ul.sub li:hover,
#sidebar ul.sub li.active {
    background-color: #444;
}

#sidebar ul li a {
    display: block;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    padding-top: 13px;
}

#sidebar ul li a img {
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 3px;
}

#sidebar ul li.show-menu,
#sidebar ul li.hide-menu {
    text-align: right;
}

#sidebar ul li.show-menu a,
#sidebar ul li.hide-menu a {
    font-size: 20px;
    font-weight: bold;
}

#sidebar ul li.show-menu,
#sidebar ul li.hide-menu {
    display: none;
}

#login {
    background-color: #999;
    width: 250px;
    margin: 0 auto;
    margin-top: 100px;
    padding: 20px;
    overflow: hidden;
}

#login label {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    display: block;
    color: #fff;
}

#login input {
    width: 97%;
    display: block;
    height: 20px;
    padding: 5px;
    border: none;
    margin-top: 2px;
}

#login input[type="submit"] {
    width: auto;
    height: auto;
    font-size: 14px;
    font-weight: bold;
    color: #0099ff;
    text-align: center;
    padding: 10px 15px;
    text-transform: uppercase;
    margin: 0 auto;
    margin-top: 25px;
    cursor: pointer;
}

#main {
    width: 82%;
    float: right;
    height: 500px;
    margin-top: 50px;
    margin-right: 10px;
}

#breadcrumbs {
    font-size: 13px;
    color: #ccc;
    padding-bottom: 10px;
    border-bottom: 1px solid #0099ff;
}

#breadcrumbs a {
    color: #0099ff;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}

#main .form {
    margin-top: 20px;
    width: 50%;
    font-size: 14px;
    padding-bottom: 10px;
}

#main .form .row {
    overflow: hidden;
    width: 100%;
    margin-bottom: 15px;
    display: block;
}

#main .form .row.relative {
    position: relative;
}

#main .form .row .Zebra_DatePicker_Icon_Inside {
    top: 26px !important;
    right: 2px !important;
    display: inline !important;
    left: auto !important;
}

#main .form label {
    width: 100%;
    display: block;
    font-weight: bold;
    color: #ccc;
    padding-top: 3px;
    padding-bottom: 3px;
}

#main .form .field {
    width: 100%;
    display: block;
    line-height: 22px;
    background: #ccc;
    border: none;
    color: #333;
    outline: none;
}

#main .form .field.select {
    height: 25px;
}

#main .form .submit {
    background: #dfdfdf;
    border: none;
    color: #333;
    outline: none;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

#main .form .field.textarea {
    height: 200px;
}

#main .form .field.small {
    width: 20%;
}

#main .form .row.small {
    width: 30%;
}

#main .form .checkboxes {
    display: block;
    width: 100%;
    font-size: 14px;
    color: #ccc;
}

#main .form .checkboxes label {
    display: inline-block;
    width: auto;
    border: 1px solid #0099ff;
    padding: 5px;
    margin-top: 5px;
    margin-right: 5px;
    background-color: #666;
}

#main .errors {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #ff6666;
    border: 1px solid #990000;
    color: #990000;
    padding: 10px;
    font-weight: bold;
}

#main .errors.success {
    background-color: #00e600;
    border: 1px solid #006600;
    color: #006600;
}

#main .errors.info {
    background-color: #80b3ff;
    border: 1px solid #0052cc;
    color: #0052cc;
}

.grid .filter {
    margin-top: 15px;
    font-size: 14px;
    border-bottom: 1px solid #999;
    padding-bottom: 10px;
    overflow: hidden;
}

.grid .filter .row {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.grid .filter label {
    font-weight: bold;
    color: #0099ff;
}

.grid .filter .field {
    line-height: 22px;
    background: #ccc;
    border: none;
    color: #333;
    outline: none;
}

.grid .filter .field.select {
    height: 24px;
}

.grid .filter .submit {
    background: #dfdfdf;
    border: none;
    color: #333;
    outline: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 4px;
    text-align: center;
    padding-bottom: 4px;
}

.grid .content {
    overflow: hidden;
    margin-top: 15px;
}

.grid .pagination {
    overflow: hidden;
    margin: 0 auto;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-align: right;
}

.grid .pagination ul li {
    list-style-type: none;
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 10px;
}

.grid .pagination ul li a {
    display: block;
    text-align: center;
    background-color: #999;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    color: #fff;
}

.grid .pagination ul li a.active {
    background-color: #0099ff;
    pointer-events: none;
}

.grid .pagination ul li span {
    padding-left: 5px;
    padding-right: 5px;
}

/*======================*/

.grid .content table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    color: #fff;
}

.grid .content table tr {
    background-color: #777;
    border: 1px solid #4d4d4d;
    padding: .35em;
}

.grid .content table th,
.grid .content table td {
    padding: .625em;
    text-align: center;
    font-size: .9em;
}

.grid .content table th {
    font-size: .9em;
    background-color: #0099ff;
}

@media screen and (max-width: 965px) {
    .grid .content table {
        border: 0;
    }

    .grid .content table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .grid .content table tr {
        border-bottom: 3px solid #4d4d4d;
        display: block;
        margin-bottom: .625em;
    }

    .grid .content table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: 1em;
        text-align: right;
        overflow: hidden;
    }

    .grid .content table td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        color: #333;
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .grid .content table td:last-child {
        border-bottom: 0;
    }
}

/*======================*/

#main .dashboard {
    margin-top: 15px;

}

#main .dashboard .left {
    float: left;
    width: 47%;
}

#main .dashboard .right {
    float: right;
    width: 47%;
}

#main .dashboard .box {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.dashboard .box .title {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #0099ff;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
    color: #D8D8D8;
}

.dashboard .box .content {
    background-color: #666;
}

.dashboard .box .content .row {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    padding: 10px;
    border-bottom: 1px solid #4d4d4d;
}

#main .home-content {
    margin-top: 10px;
}

#main .home-content .text {
    font-size: 14px;
    color: #D8D8D8;
}

#main .home-content .results {
    margin-top: 10px;
    font-size: 14px;
    color: #D8D8D8;
}

#main .home-content .rows {
    margin-top: 15px;
    font-size: 15px;
    color: #D8D8D8;
}

#main .home-content .rows .row {
    display: block;
    margin-top: 3px;
    background-color: #555;
    padding: 5px;
    line-height: 20px;
}

#main .home-content .rows .row strong {
    color: #1ac6ff;
}

.Zebra_DatePicker {
    z-index: 9999999 !important;
}

#main .home-content .results .form-text {
    font-weight: bold;
}

@media only screen and (max-width: 1500px) {
    #main {
        width: 80%;
    }
}

@media only screen and (max-width: 1380px) {
    #main {
        width: 78%;
    }
}

@media only screen and (max-width: 1250px) {
    #main {
        width: 76%;
    }
}

@media only screen and (max-width: 1140px) {
    #main {
        width: 74%;
    }

    #main .form {
        width: 70%;
    }
}

@media only screen and (max-width: 1040px) {
    #main {
        width: 72%;
    }
}

@media only screen and (max-width: 965px) {
    #main {
        width: 70%;
    }

    #main .form {
        width: 100%;
    }
}

@media only screen and (max-width: 900px) {
    #main {
        width: 68%;
    }
}

@media only screen and (max-width: 830px) {
    #main {
        width: 66%;
    }

    #main .dashboard .left,
    #main .dashboard .right {
        float: none;
        width: 100%;
    }
}

@media only screen and (max-width: 775px) {
    #main {
        width: 64%;
    }
}

@media only screen and (max-width: 735px) {
    #main {
        width: 62%;
    }
}

@media only screen and (max-width: 690px) {
    #main {
        width: 60%;
    }
}

@media only screen and (max-width: 660px) {
    #main {
        width: 58%;
    }
}

@media only screen and (max-width: 630px) {
    #main {
        width: 92%;
    }

    #sidebar {
        margin-left: -220px;
    }

    #sidebar ul li.show-menu {
        display: block;
    }
}

@media only screen and (max-width: 560px) {
    #main {
        width: 88%;
    }
}