﻿@-ms-viewport {
    width: auto !important;
}

html, body {
    font-family: Open Sans, sans-serif;
    background: #fafafa;
    position: relative;
    height: inherit;
    background: #fff;
}

p {
    font-family: Open Sans, sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    color: #999;
}

a, a:hover, a:focus {
    color: #337ab7;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.wrapper {
    display: flex;
    align-items: stretch;
    height: 100%
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------------------------------------------
    SEARCHBOX STYLE
----------------------------------------------------- */
.search-box {
    background: #E8E8E4;
    position: absolute;
    top: 60px;
    right: 40px;
    width: 300px;
    height: 60px;
    line-height: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-top: 4px solid #065272;
    padding: 10px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}

    .search-box:before {
        content: "";
        position: absolute;
        top: -32px;
        right: 13px;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 14px solid transparent;
        border-bottom: 14px solid #065272;
    }

    .search-box .input-group, #search-input {
        width: 100%;
        height: 100%;
    }

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.sidebar {
    width: 250px;
    background: #075b7f;
    color: #fff;
    transition: all 0.3s;
    height: 100%;
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
}

    .sidebar .sidebar-header {
        padding: 15px;
        background: #075b7f;
        height: 56px;
        border-bottom: 1px solid #2c7c9f;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sidebar ul.components {
        padding: 20px 0;
    }

    .sidebar p {
        color: #fff;
        padding: 10px;
    }

    .sidebar .fa, .sidebar .fas {
        color: #fff;
        font-size: 16px;
    }

    .sidebar ul li a {
        padding: 10px;
        font-size: 16px;
        display: block;
    }

        .sidebar ul li a:hover {
            color: #fff;
            background: #2c7c9f;
        }

    .sidebar ul li.active > a {
        color: #fff;
        background: #2c7c9f;
    }

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    overflow-x: auto;
    min-height: 100vh;
    transition: all 0.3s;
    margin-left: 250px;
}

.container-fluid {
    padding: 20px;
    margin-bottom: 46px; /* Height of the Footer */
}

.content-header {
    padding: 15px;
    border-bottom: 1px solid #E0E0E0;
    height: 56px;
}

.content-title {
    font-size: 18px;
}

div.navbar-icons {
    float: right;
    font-size: 24px;
}

    div.navbar-icons .navbar-icon {
        padding-left: 10px;
        display: inline-block;
        color: #666666;
    }

        div.navbar-icons .navbar-icon .badge-notification {
            background: #E41700;
            position: absolute;
            left: 9px;
            bottom: 15px;
            font-size: 10px;
            z-index: 3;
        }

div.navbar-information {
    position: relative;
    top: -5px;
    float: right;
    display: inline-block;
    padding-right: 15px;
    line-height: 40px;
}

    div.navbar-information .navbar-information-top a,
    div.navbar-information .navbar-information-top a:hover,
    div.navbar-information .navbar-information-top a:focus {
        color: #41719C;
        text-decoration: none;
        transition: all 0.3s;
    }

.navbar-icon a {
    color: #666666 !important;
}

.navbar-icons a:hover {
    color: #96CDFF;
    transition: all 0.2s;
}

.form-inline {
    margin-bottom: 10px;
}

    .form-inline label {
        margin-right: 5px;
    }

.notifications .k-notification {
    margin-bottom: 20px;
}

td.icon-column {
    width: 65px;
    text-align: center;
    color: #337ab7;
}

th.icon-column {
    width: 65px;
    text-align: center !important;
}

.footer-spacer {
    height: 40px;
}

/* ---------------------------------------------------
    FOOTER STYLE
----------------------------------------------------- */
.footer {
    background-color: #ffffff;
    position: fixed;
    bottom: 0;
    right: 0;
    height: 46px;
    color: #818384;
    transition: all 0.3s;
}

    .footer p {
        margin: 0;
        position: relative;
        top: 10px;
    }

/* ---------------------------------------------------
    Collapsible styles for accordion
----------------------------------------------------- */
#accordion .panel {
    background-color: #fafafa;
}

#accordion .panel-default > .panel-heading {
    background-color: #fafafa
}

.panel-group {
    margin: 20px 0;
}

.borderless-panel {
    border: none;
    box-shadow: none;
}

.borderless-panel-default > .borderless-panel-heading {
    /*background-color: #fff;*/
    border-bottom: 1px solid #ddd;
}

.borderless-panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
    content: "\e114"; /* adjust as needed, taken from bootstrap.css */
    float: left; /* adjust as needed */
    color: grey; /* adjust as needed */
    padding-right: 5px;
}

.borderless-panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080"; /* adjust as needed, taken from bootstrap.css */
}

/* ---------------------------------------------------
    Form Validation
----------------------------------------------------- */
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

/* ---------------------------------------------------
    OVERRIDES
----------------------------------------------------- */
.modal-header, .k-dialog.k-confirm .k-dialog-titlebar {
    background: #075b7f;
    color: #fff;
}

.k-notification-wrap {
    white-space: pre-wrap;
}

    .k-notification-wrap .k-icon {
        padding: 0 20px 0 0;
    }

.k-grid-content {
    min-height: 323px;
}

.form-group .row {
    margin-bottom: 10px;
}

.k-dialog.k-confirm {
    border-style: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    min-width: 20%;
}

.hr-nomargin {
    margin-top: 0;
    margin-bottom: 0;
}

/* ---------------------------------------------------
    MEDIAQUERIES
    max-width -> If [device width] is less than or equal to x
    min-width -> If [device width] is greater than or equal to x
----------------------------------------------------- */
@media (max-width: 468px) {
    .search-box {
        width: 200px;
    }
}

@media (max-width: 1400px) {
    .footer p {
        font-size: 0.7em
    }
}

@media print {
    html, body {
        width: 100% !important;
        overflow: visible !important;
    }

    .wrapper, .container-fluid {
        display: block;
    }

    #content {
        width: 100% !important;
        overflow: visible !important;
        margin: 0 !important;
    }

    .content-header, .footer, .sidebar {
        display: none;
    }
}
