body {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
}

/* make dropdown hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

#site-navbar {
    padding-top: 3px;
}


.navbar-default .navbar-brand {
    color: #973735;
    font-weight: bold;
}
a.navbar-brand img {
    margin:-12px 3px 0px 0px; height:42px;
}
a.navbar-brand br {
    display:none;
}
a.navbar-brand span {
    width: auto;
    display: inline-block;
}

/** temp **/
.sidebar-nav .nav>li.active>a,
#accordion li.active>a {
    background: #bcd2f9;
    border-radius: 3px;
    margin-bottom:2px;
}

#accordion li.active>a {
    padding: 1px 3px;
    background: #D2E0F8;
    color: #3771A3;
}

#main-navbar .navbar-nav>li.active>a{
    background: #d8e2f9;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.grid-view {padding: 0}
h1 {margin-top: 4px;}



/*********************************/
@media (max-width: 991px) and (min-width: 768px) {
    /*************NAVBAR collapse earlier********************/
   /* .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-collapse.collapse.in { display: block!important; margin-top: 0px; }
    */

    /*************NAVBAR smaller********************/
    .navbar-brand {
        font-size: 15px;
        font-weight: bold;
        padding: 0px;
        margin-right: 10px;
    }
    a.navbar-brand img {
        margin:0px 3px 0px 0px;
        height:100%;
    }
    a.navbar-brand {
        display: block;
        line-height: normal;
        text-align: center;

    }
    a.navbar-brand br {
        display:inline;
    }


    .navbar-nav {
        margin-top: 6px;
    }
    .navbar-nav>li>a {
        padding: 12px 8px;
        font-size: 15px;
    }
}
@media (max-width: 767px) {

}
/********************************************************/


.grid-view tbody tr .glyphicon-trash {display:none}
.grid-view tbody tr:hover .glyphicon-trash {display:inline-block}
/*.grid-view tbody tr:hover td {background: #eef}*/
.grid-view thead tr.filters td{background: #f7f7ed}


.nowrap {white-space: nowrap}


/*.row-offcanvas-left {min-height: 800px}*/
.well.sidebar-nav .nav>li {
    border-bottom: 1px dashed #dde;
}

.page-title {
    font-size: 120%;
    font-weight: bold;
    color: black; /*#ab3508;*/
    text-align: center;
}

.grid-table {
    margin: 2px 0px;
    background: white;
    /*overflow: auto;
    overflow-x: auto;
    overflow-y: hidden;*/
}
.grid-container {
    /*border: 3px solid rgb(213, 226, 213);
    background: rgb(213, 226, 213);*/
    border-radius: 4px;
    display: inline-block;
    margin: 3px 0px 12px;
}
.grid-container .status-box {
    font-size: 80%;
    color: #648364;
    text-align: left;
}

.grid-table.table>thead>tr>th,
.grid-table.table>tbody>tr>th,
.grid-table.table>tfoot>tr>th,
.grid-table.table>thead>tr>td,
.grid-table.table>tbody>tr>td,
.grid-table.table>tfoot>tr>td {
    padding: 4px;
    text-align: center;
}

.grid-table .grid-title {
    background: rgb(234, 246, 234);
}

.grid-table th {
    background: rgb(216, 214, 230);
}

/*#content {text-align: center}*/

.datefieldmorph {text-align: center}
.form-group .datefieldmorph {text-align: left}




.flash{

    -moz-animation: flash 1s ease-out;
    -moz-animation-iteration-count: 1;

    -webkit-animation: flash 1s ease-out;
    -webkit-animation-iteration-count: 1;

    -ms-animation: flash 1s ease-out;
    -ms-animation-iteration-count: 1;

}
@-webkit-keyframes flash {
    0% { background-color:inherit;}
    50% { background-color: #fbec77;}
    100% {background-color:inherit;}
}
@-moz-keyframes flash {
    0% { background-color:inherit;}
    50% { background-color:#fbec77;}
    100% {background-color:inherit;}
}
@-ms-keyframes flash {
    0% { background-color:inherit;}
    50% { background-color:#fbec77;}
    100% {background-color:inherit;}
}


.menu-label {
    font-weight: bold;
    color: #77a;
}

.pagination {margin: 0px}
.summary {text-align: right; font-size: 90%;}

.peak-alert-panel {
    padding:8px;
    border: 1px solid #E7C38B;
    background: #F6D7A5;
    border-radius: 3px;
}

#accordion ul {
    margin-left: 10px;
    padding-left: 0px;
}
#accordion .panel-title>a {
    color: #77a;
    font-weight: bold;
    font-size: 85%;
}
#accordion .panel-body {
    padding: 5px 5px 0px 15px;
}

#chart-data-panel .panel-heading {
    color: #77a;
    font-weight: bold;
    font-size: 120%;
}


.panel-info > .panel-footer {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    text-align: center;
}


.highest {
    color: red;
    font-weight: bold;
    background: rgb(255, 255, 163) !important;
}

.chart-container .title {font-weight: bold}

legend {border: none; padding-left:12px;}

.no-border-top {
    border-top: none;
}

.legendLabel .no-data {
    color: red;
}

.no-peak-alert {
    border: 1px solid #f5f5f5;
    background: #fbfbfb;
    color: #bbb;
    font-style: italic;
    margin: 4px 0px;
}

#KepcoPeakPanel .nextupdate {
    margin:0px 4px;
    font-size: 11px;
    color: #ddd9c8;
    position:absolute;
    top:0; right:0;
}
.peak-alert-holder .nextupdate {
    margin:0px 4px;
    font-size: 11px;
    color: #ddd;
}
.peak-alert-panel .nextupdate {
    color: #DABE91;
}

.peak-panel {
    margin-left:auto; margin-right:auto; padding:5px;
}

.nav-tabs {
    margin-bottom: 6px;
}

body .grid-view-loading { background:url('../bootstrap/img/loading.gif') no-repeat; }
body .list-view-loading { background:url('../bootstrap/img/loading.gif') no-repeat; }

#site-navbar .mobile {display:none;}
#site-navbar .mobile img {height: 100%}


.template-var {
    background: #e4d85b;
    font-weight: bold;
    opacity: .7;
}

.emphasize {background: #ffe49b
}

.navbar-default {
    background-color: #d4dafa;
    border-color: #A1947D;
    background: linear-gradient(#f1f6f9, #e6ebee);
    box-shadow: 0px 2px 2px #bbb;
}
.navbar-default .navbar-nav>li>a {
    color: rgba(93, 76, 44, 0.64);
}

body div#main-navbar {
    background-color: transparent;
}

.img-caption {
    font-style: italic;
}

.main-container {
    min-height: 400px;
}

h1,h2,h3,h4,h5,h6 {font-family: "Neuton"}
h1{font-size: 30px}
h2{font-size: 26px}
body {font-family: "Roboto"; font-size: 14px;}


/*****FIRST level*/
.dctoggler {
    border: 1px solid #DFD9CD;
    background: rgba(223, 217, 205, 0.4);
    border-radius: 4px;
}
.dctoggler.level-1 {

}

#content .dctoggler.level-1 .dctoggle.init {
    margin-top: 0px;
    padding-top: 0px;
}

/*****SECOND level*/
#content .dctoggler.level-2 {
    background: rgba(223, 217, 205, .8);
    margin: 18px 0px;
}

/*****THIRD level*/
#content .dctoggler.level-3 {
    background: rgba(255, 255, 255, .6);
}
#content .dctoggler.level-3 .dctoggle {
    /*background: white;*/
}

.dctoggler img {
    width: 100%;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    padding: 8px;
    background: white;
}

body {
    background: white;
}

#mobile-left {display:none}

#main-navbar .navbar-nav>li.active>a {
    background: rgba(255,255,255,.5);
}

.dctoggler .dctitle img {
    width: 20%;
    padding: 0px;
    margin: 0px;
    margin-right: 10px;
    border: none;
}
#content .dctoggler.level-2 .dctitle {
    font-size:130%;
    color: rgba(0,0,0,.5);
}
#content .dctoggler.level-3 .dctitle {
    margin: 0px;
    padding: 5px;
    font-size: 15px;
    color: black;
}
#content .dctoggler.level-3 {
    padding: 0px;
    border-radius: 12px;
}


.dctitle span {
    /*font-size: 90%;*/
    text-decoration: none;
    opacity: .7;
}
.dctoggler.level-2 .dctitle span {
    float: left;
    font-size: 13px;
}
#content .dctoggler .dctitle span.view-all {
    left: inherit;
    right: 5px;
}

.dctoggler.level-2 .dctitle span {
    font-size: 12px;
}
.dctitle span:hover {
    color: rgb(240, 169, 40);
}


/*body div#main-navbar {
    background: rgb(211, 203, 182);
}*/


#content .dctoggler {
    position: relative;
}
#content .dctoggler .dctitle span {
    position: absolute;
    top: 5px;
    left: 5px;
}


/*******************MOBILE********************/
@media (max-width: 768px) {
    #content .dctoggler {
        position: relative;
        margin-left: 2px;
        margin-right: 2px;
    }
    .dctoggler img {
        border: none;
        padding: 0px;
    }
    #content .dctoggler .dctitle span {
        position: absolute;
        top: 3px;
        right: 3px;
        left: inherit;
    }
    #content div.dctoggler.ajaxed div.dctitle {
        padding-right: 50px;
    }

    #content .dctoggler {
        margin: 2px;
        padding: 0px;
    }
    #content .dctoggle {
        padding: 0px;
        margin: 0px;
    }

    form {
        padding: 5px;
    }
}
/*********************************************/

.img-box {
    background: white;
    display: inline-block;
    border: 2px solid #ccc;
}
#content .img-box img {
    padding: 0px;
    width: auto;
    height: 250px;
    border: none;
    margin-bottom: 5px;;
}
#content .img-box .caption {
    font-weight: bold;
    font-size: 90%;
    margin: 0px;
    padding: 0px;
}

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

.inactive {
    opacity: .5;
}

.panel-default {
    border:none;
}


.subject-photo {
    padding: 5px;
}

.missing,
.has-error .form-control {
    background: yellow;
}
.has-error .control-label {
    color: inherit;
}
.has-error .help-inline,
.has-error .help-block {
    background: rgba(255, 233, 154, 0.5);
    color: #C70000;
    margin-top: 0px;
    padding-left: 5px;
}

#main-navbar .navbar-nav>li.active>a {
    color:black;
    background: rgba(255,255,255,.8);
    border: 1px solid #ccc;
    border-bottom: none;
}
#main-navbar.in .navbar-nav>li.active>a,
#main-navbar.collapsing .navbar-nav>li.active>a {
    background: rgba(255,255,255,.8);
    border: none;
    border-radius: 0px;
}


.navbar-default .navbar-nav>li>a {
    color: rgba(83, 76, 115, 0.64);
    font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Anton";
    text-transform: uppercase;
    color: #5d5c78;
}

.light {
    opacity:.5;
}

@media (max-width: 991px) and (min-width: 768px) {
    a.navbar-brand img {
        height: 45px;
    }
}

html {
    background: #D7E3EA;
}
body {background: linear-gradient(#71bee2, #D7E3EA)}
.body-container {
    background: white;
    border-radius: 4px;
    border:3px solid #dde;
}
.row {
    margin-left: 0px;
    margin-right: 0px;
}

a:hover, a:focus {
    color: darkorange;
    text-decoration: none;
}

.info {
    margin: 4px;
    padding: 4px;
    background-color: lightgoldenrodyellow;
}

table.table th,
#content label {
    color: #999;
    font-weight: normal;
}

.menu-label {
    font-size: 90%;
}

.todo {
    background: #ffd39f;
    margin: 5px;
    display: none;
}
.todo::before {
    content: 'TODO: ';
    font-weight: bold;
}
.info::before {
    content: 'NOTES: ';
    font-weight: bold;
}

.flag {
    opacity: .7;
    background: gold;
    font-size: 90%;
    padding: 1px;
    border-radius: 4px;
    color: darkgoldenrod;
}

.options {
    opacity: .9;
    background: #d6cff3;
    padding: 5px 5px;
    border-radius: 4px;
    color: #7a70bf;
    white-space: nowrap;
    font-weight: bold;
}
.options.unspecified {
    background: #ffdd97;
    color: darkorange;
}
.options i {
    font-size: 85%;
    font-weight: normal;
}

/*.alert-info {
    background-color: #ecf7dd;
    border-color: #d6f1bc;
    color: rgba(0,0,0,.6);
    margin-top: 4px;
}*/

.status-ordered {
    background: orange;
    color: white;
    padding: 0px 2px;
    border-radius: 3px;
    opacity: .7;
}
.status-filled {
    background: #B15555;
    color: white;
    padding: 0px 2px;
    border-radius: 3px;
    opacity: .85;
}

table.table label {
    color: #f9f9f9;
}

table.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: white;
}
table.table>tbody>tr:nth-child(odd)>td, table.table>tbody>tr:nth-child(odd)>th {
    background-color: rgba(200,200,200,.15);
}
table.table>tbody>tr:nth-child(even)>td, table.table>tbody>tr:nth-child(even)>th {
    background-color: rgba(200,200,200,.05);
}
table.table-hover>tbody>tr:hover {
    background-color: rgba(255, 255, 135, 0.53);
}

.inactive {opacity: .5}

.has-value {
    background: #cafad3;
}

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

.inv-nbr {
    font-size: 90%;
    color: #999;
}

.order-callin {
    font-size:90%;
    color: #00ceb7
}

.options-text {
    display: none
}

.mark-filled:hover,
.mark-filled {
    background: #B15555;
    color: white;
}
.mark-complete:hover,
.mark-complete {
    background: #51a251;
    color: white;
}
.mark-filled:hover, .mark-complete:hover {
    opacity: .8;
}

.wo-next-delivery {
    color: #555;
    font-weight: bold;
    padding-left: 5px;
    font-size: 11px;
}