/* 
    Contents
    -----------------------------------
    - Imports
    - Colours
    - Native
    - Generic classes
    - Content
        - Header
        - Aside / Menu
        - Content
            - Dashboard
        - Footer
*/


/* Imports
-----------------------------------------------*/
@import url(https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700);

/* Colours
-----------------------------------------------*/
/* Main - Blue / #0099CC ------------*/
#topbar, .panel-default > .panel-heading, .nav-tabs > li > a, .btn-primary { background-color: #0099CC; }
#menu > li > a:hover, #menu > li.open li:hover, #menu > li.open li.active, h1, .table-hover a, .table-hover a:hover { color: #0099CC; }
.form-control-static { border-color: #0099CC; }

/* Main - Dark / #007DA7 ------------*/
#page-wrapper, .btn-primary { border-color: #007DA7; }
#topbar-menus .menu, .nav > li > a:focus, .nav > li > a:hover, .btn-primary:hover { background-color: #007DA7; }

/* Main - Light / #BFE5F2 -----------*/

/* Contrast - #21242C ---------------*/
body { background-color: #21242C; }

/* Contrast - Darker 1 - #1C1E25 ----*/
#menu > li:hover, #menu > li.open, #menu > li li { background-color: #1C1E25; }

/* Contrast - Darker 2 - #15171C ----*/
#menu > li.active, #menu > li li:hover, #menu > li.open li.active { background-color: #15171C; }

/* White #FFFFFF --------------------*/
#logo, #topbar-menus .icon, #topbar-menus .open .icon, #topbar-menus .menu, .bg-red, .bg-amber, .bg-green, .bg-blue,
.panel-default > .panel-heading, .panel-danger > .panel-heading, .panel-heading h2 small,
.nav-tabs > li > a, .report-box { color: #FFFFFF; }
.full-table, .panel-heading .btn-danger, .panel-heading .btn-success, .tab-content { background-color: #FFFFFF; }

/* V. Light Grey #EEEEEE------------ */
.striped-bg:nth-child(even) { background-color: #EEEEEE; }

/* Light Grey #E7E7E7 ---------------*/
#page-wrapper { background-color: #E7E7E7; }

/* Grey #AAAAAA ---------------------*/
aside { color: #AAAAAA; }
.full-table * { border-color: #AAAAAA; }
.striped-bg:nth-child(odd), .vr { background-color: #AAAAAA; }

/* Dark Grey #353D39 ----------------*/

/* Black #000000 --------------------*/

/* RGBA colours 
----------------------*/
/* White 0.5 ------------------------*/
.notification { background-color: rgba(255, 255, 255, 0.5); }

/* White 0.1 ------------------------*/
#topbar-menus .icon { background-color: rgba(255, 255, 255, 0.1); }

/* Black 0.1 ------------------------*/
#logo, #topbar-menus .open .icon, #topbar-menus .icon:hover { background-color: rgba(0, 0, 0, 0.1); }

/* Black 0.3 ------------------------*/
#logo:hover, #topbar-menus .menu li:hover { background-color: rgba(0, 0, 0, 0.3); }

/* Bootstrap colours
----------------------*/
/* Red ------------------------------*/
.bg-red, .panel-danger > .panel-heading { background-color: #A94442; }
.panel-heading .btn-danger { color: #A94442; }

/* Light */
.notification-danger i, td > a > .fa-trash, td > a > .fa-ban  { color: #FF6961; }

/* Dark */
td > a > .fa-trash:hover, td > a > .fa-ban:hover { color: #C9302C; }

/* Amber ----------------------------*/
.bg-amber { background-color: #F0AD4E; }

/* Green ----------------------------*/
.notification-success i, .panel-heading .btn-success, .ajax-response { color: #5CB85C; }
.bg-green { background-color: #5CB85C; }

/* Dark */
.panel-heading .btn-success:hover { color: #449D44; }

/* Blue -----------------------------*/
.bg-blue { background-color: #0099CC; }

/* Yellow -----------------------------*/
.bg-yellow { background-color: #F7CA18; }

/* Karki ------------------------------*/
.bg-karki { background-color: #748B75; }

/* Native
-----------------------------------------------*/
body {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    margin: 0;
    padding: 0;
    height: 100vh;
}

a, a:hover, a:focus {
    color: inherit;
    cursor: pointer;
    outline: none;
    text-decoration: none;
}

img {
    border: none;
    max-width: 100%;
}

h1 {
    float: left;
    font-weight: 300;
    line-height: 40px;
    margin-top: 0;
}

h1 + .row {
    clear: both;
}



/* Generic classes
-----------------------------------------------*/
.ajax-form, .growl-hide, #logo, a, li, span, i, #topbar-menus .icon, input[type="submit"], #topbar-menus .icon::after,
.btn, .panel-heading::after, .status-toggle i, .panel-heading_button {
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    -ms-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    transition: all 0.25s linear;
}

.left   { float: left;}
.right  { float: right;}

.small { font-size: 10px;}

.clear  { clear: both;}

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

.breadcrumbs li {
    display: inline;
    padding-right: 10px;
}

.breadcrumbs li:last-child {
    font-weight: 700;
}

.breadcrumbs li::after {
    content: '\00bb';
    padding-left: 10px;
}

.breadcrumbs li:last-child::after {
    content: '';
}

.breadcrumbs li a:hover {
    margin-top: -5px;
}

.notification {
    margin: 10px 0;
    padding: 8px;
}

.notification .row > div:nth-child(2) {
    line-height: 29px;
}

.form-horizontal, .nav-tabs {
    clear: both;
}

.clone-hidden {
    display: none;
}

.clone {
    margin: 10px 0;
}
.add-remove_item {
    padding: 5px 10px;
}
.add-remove_item .form-control, .add-remove_item .btn {
    margin: 5px 0;
}

.add-remove label {
    display: table-cell;
    font-weight: 400;
    height: 65px;
    margin-bottom: 0px;
    vertical-align: bottom;
    width: 100%;
}

#growl-msg-holder {
    position: absolute;
    right: 10px;
    top: 111px;
    z-index: 9;
}
#growl-msg-holder .growl-msg {
    background: #09c;
    color: white;
    padding: 20px;
    margin-bottom: 5px;
    border: solid 1px #fff;
    position: relative;
}
@keyframes growl-msg-timer {
    0%   {width: 0%;}
    100% {width: 100%;}
}
#growl-msg-holder .growl-msg.hide-fast {
    display: none;
}
#growl-msg-holder .growl-msg::after {
    position: absolute;
    content: '';
    background-color: rgba(255,255,255,0.5);
    bottom: 0;
    left: 0;
    width: 100%;
    animation: growl-msg-timer 3s linear;
    display: block;
    height: 5px;
}
#growl-msg-holder .growl-msg:hover .growl-hide {
    opacity: 1;
}
#growl-msg-holder .growl-msg .growl-hide {
    position: absolute;
    cursor: pointer;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: #09c;
}
#growl-msg-holder .growl-msg .growl-hide span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
}

@keyframes ajax-response-in {
    0%   {bottom: 15px;}
    100% {bottom: 0;}
}
.ajax-form {
    padding: 8px 0;
    position: relative;
}
.ajax-form.with-response {
    padding: 0 0 16px 0;
}
.ajax-form select {
    position: relative;
    z-index: 2;
}
.ajax-response {
    animation: ajax-response-in 0.25s linear;
    bottom: 0;
    font-size: 12px;
    position: absolute;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.checkbox-inline, .radio-inline {
    margin-left: 10px;
}

.vr {
    display: inline-block;
    margin: 0px 5px;
    vertical-align: bottom;
    width: 1px;
}

td .vr {
    height: 20px;
}

.panel-heading {
    cursor: pointer;
    position: relative;
    /*padding-right: 40px;*/
}

.panel-heading::after {
    content: '\f078';
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    right: 15px;
    top: 50%;
    width: 15px;
    transform: rotate(180deg) translateY(-50%);
    transform-origin: top center;
}
.closed .panel-heading::after {
    transform: rotate(0) translateY(-50%);;
}

.panel-heading h2 {
    display: inline-block;
    font-weight: 300;
    margin: 0px;
}

.panel-heading h2 small {
    font-weight: 100;
    font-size: 15px;
}

.panel-heading_buttons {
    position: absolute;
    right: 45px;
    top: 0;
    height: 100%;
}
.panel-heading_button {
    height: 100%;
    padding: 0 10px;
    position: relative;
}
.panel-heading_button:hover {
    background: #FFFFFF;
    color: #0099CC;
}
.panel-heading_button a {
    display: block;
    height: 100%;
}
.panel-heading_button span {
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.panel-filters input[type="submit"] {
    margin-top: 26px;
}

.panel.closed .panel-body {
    display: none;
}

.form-control-static {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-bottom: 0;
}

.form-group.no-margin {
    margin-bottom: 0;
}

.nav > li > a:focus, .nav > li > a:hover {
    border: 1px solid transparent;
}

.tab-content {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 15px;
    border: solid 1px #ddd;
    border-top: transparent;
}

.status-toggle {
    line-height: 22px;
    border: solid 1px #bbb;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
}
.status-toggle.open i {
    transform: rotate(180deg);
}
#status-container {
    display: none;
}

.checkbox {
    margin-right: 10px;
    display: inline-block;
}

.checkbox label {
    border-right: dotted 1px #ddd;
    padding-right: 10px;
}


/* Content
-----------------------------------------------*/
    .content-header-right {
        float: right;
    }

    .content-header-right .btn {
        line-height: 38px;
        padding: 0 10px;
    }

    .k-modal {
        background: rgba(0, 0, 0, .5);
        height: 100%;
        left: 0;
        opacity: 0;
        position: fixed;
        top: 0;
        transition: all .3s linear;
        visibility: hidden;
        width: 100%;
        z-index: 99;
    }
    .k-modal.active {
        opacity: 1;
        visibility: visible;
    }
    .k-modal-content {
        background: #FFF;
        border: solid 5px #09F;
        display: inline-block;
        left: 50%;
        padding: 15px;
        position: relative;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .k-modal-close {
        background: #09F;
        color: white;
        cursor: pointer;
        line-height: 40px;
        position: absolute;
        right: -3px;
        text-align: center;
        top: -3px;
        width: 40px;
    }
    .k-modal-close:hover {
        color: #FF0000;        
    }
    .k-modal-title {
        background: #09F;
        color: white;
        font-weight: bold;
        line-height: 30px;
        margin: -15px -15px 15px -15px;
        padding: 5px;
    }

    /* Header
    -----------------------------------------------*/
    #topbar, #logo {
        height: 100px;
    }

    #logo .logo_small { display: none; }
    #logo a {

    }
    #logo a img {
        height: 100px;
    }

    #logo a {
        display: block;
        font-size: 30px;
        text-align: center;
    }

    #topbar-menus {
        height: 100%;
        margin-left: 250px;
    }

    #topbar-menus .icon {
        cursor: pointer;
        height: 100%;
    }

    #topbar-menus .icon > i {
        font-size: 40px;
        line-height: 100px;
        text-align: center;
        width: 100%;
    }

    #topbar-menus > div {
        float: right;
        position: relative;
        width: 100px;
    }
    
    #topbar-menus .menu {
        display: none;
        position: absolute;
        right: 0;
        top: 101px;
        width: 150px;
        z-index: 99;
    }

    #topbar-menus .menu ul {
        margin: 0;
        padding: 0;
    }

    #topbar-menus .menu li {
        list-style-type: none;
        text-align: right;
    }
    
    #topbar-menus .menu li a {
        padding: 5px 20px;
    }

    #topbar-menus .icon::after {
        border-color: transparent transparent #007DA7 transparent;
        border-style: solid;
        border-width: 0 15px 15px 15px;
        bottom: 0;
        content: '';
        opacity: 0;
        height: 0;
        left: 50%;
        position: absolute;
        transform: translatex(-50%);
        width: 0;
        z-index: 9;
    }

    #topbar-menus .open .icon::after {
        opacity: 1;
    }

    #topbar-menus a {
        display: block;
    }

    
    /* Aside / Menu
    -----------------------------------------------*/
    aside {
        margin-top: -100px;
        position: absolute;
        width: 250px;
        z-index: 99;
    }

    #menu, #menu ul {
        margin: 0;
        padding: 0;
    }

    #menu a {
        display: block;
    }

    #menu li {
        list-style-type: none;
        position: relative;
    }

    #menu > li.parent > a::after {
        content: "\f078";
        font: normal normal normal 14px/1 FontAwesome;
        font-size: 10px;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
    }

    #menu > li.active > a::before {
        right: -1px;
        top: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(255, 255, 255, 0);
        border-right-color: #e7e7e7;
        border-width: 15px;
        margin-top: -15px;
    }

    #menu > li.parent.open > a::after {
        content: "\f077";

    }

    #menu > li > a > i {
        font-size: 34px;
        display: inline-block;
        width: 100%;
    }

    #menu > li > a {
        font-weight: bold;
        text-align: center;
        text-transform: uppercase;
        padding: 20px 0;
        position: relative;
    }

    

    #menu > li > ul {
        display: none;
    }

    #menu > li li {
        font-size: 13px;
        padding: 5px 30px;
    }


    /* Content
    -----------------------------------------------*/
    /* Buttons / Font awesome */
    .btn-success::before {
        font: normal normal normal 14px/1 FontAwesome;
        padding-right: 10px;
        text-align: center;
        width: 1.28571429em;
    }
    .btn-success.fa-check::before { content: "\f00c"; }
    .btn-success.fa-plus::before { content: "\f067"; }
    .btn > i {
        padding-right: 10px;
    }

    .tabbed-submit {
        position: absolute;
        right: 0;
        top: -53px;
    }


    #page-wrapper {
        border-style: solid;
        border-width: 1px 0 0 0;
        margin-left: 250px;
        min-height: calc(100vh - 100px);
        padding: 20px;
        width: auto;
    }

    .table-hover td:not(.icon-links) a {
        display: block;
    }

    .table-hover a:hover {
        text-decoration: underline;
    }
    
    .newDROW {
        display: inline-block;
        vertical-align: bottom;
        width: auto;
    }
    
    .vi-ca-hrow, .vi-ca-t-hrow {
        font-weight: 700;
    }

    .vi-ca-row, .vi-ca-t-row {
        padding-bottom: 5px;
    }

    .toggle-completed-corrective, .toggle-timeline {
        color: #09C;
        cursor: pointer;
        display: inline-block;
        text-decoration: underline;
    }

    .vi-ca-t, .completed-action {
        display: none;
    }

    .vi-ca-t {
        padding: 10px;
        background: #eee;
    }

        /* Dashboard
        -----------------------------------------------*/
            /* Dashboard Report Boxes */
            .report-box {
                margin: 5px -10px;
                padding: 0;
            }
            .report-box_title {
                font-size: 30px;
                font-weight: 100;
            }
            .report-box_data {
                text-align: right;
                font-size: 25px;
            }
            .report-box .report-box-body {
                position: relative;
                padding: 30px 15px 15px 15px;
            }
                .report-box .report-box-body .report-box_title  {
                    line-height: 30px;
                    margin-bottom: 25px;
                    min-height: 60px;
                }
                .report-box .report-box-body .report-box_data   {
                    text-align: left;
                }
                .report-box .report-box-body .report-box_icon   {
                    position: absolute;
                    right: 30px;
                    top: 35px;
                    font-size: 72px;
                    color: rgba(0,0,0,0.1);
                }
            .report-box .report-box-footer {
                display: block;
                padding: 15px;
                background: rgba(0,0,0,0.05);
            }
            .report-box .report-box-footer:hover {
                background: rgba(0,0,0,0.1);
            }

        /* Reports
        -----------------------------------------------*/
        .report-form {
            margin: 10px 0;
        }


    /* Footer
    -----------------------------------------------*/



.table > tbody > tr > td { vertical-align: middle; }
.bootstrap-switch-label, .bootstrap-switch-handle-on, .bootstrap-switch-handle-off { height: auto !important; }
