﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    margin: 0;
    margin-top: 60px;
}

@-ms-viewport { width: device-width; }

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.navbar {
    min-height: 40px;
}
.navbar-header > .breadcrumb {
    float: left;
    background: transparent;
    padding: 0;
    margin: 11px 25px 9px 15px;
}
@media (min-width: 768px) {
    .navbar-header > .breadcrumb {
        margin-left: 0;
    }
}
.navbar-header > .breadcrumb > .active > h1 {
    display: inline;
    font-size: 18px;
}
@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
.navbar-toggle {
    margin-top: 3px;
    margin-bottom: 3px;
}

/* Undo Bootstrap's clearfix for the main div, because clearfix prevents the top
   margin of the first p or h1..h6 from collapsing with the body margin. */
#main:before {
    display: block;
}

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

footer, 
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}


/* TAB MENU   
----------------------------------------------------------*/
ul#menu {
    border-bottom: 1px #5C87B2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li {
    display: inline;
    list-style: none;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #034af3;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

ul#menu li a:hover {
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active {
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"]:not(.form-control):not(.ui-pg-input),
input[type="password"]:not(.form-control) {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"]:not(.btn) {
    font-size: 1.2em;
    padding: 5px;
    color: #000;
}

/* TABLE
----------------------------------------------------------*/

table:not(.table) {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table:not(.table) td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table:not(.table) th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}
.temp-message {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}
.appname {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 3px;
    font-size: 1.7em;
}
.warning {
    position: relative;
    margin-bottom: 0px;
    color: goldenrod;
    padding: 3px;
    font-size: 0.90em;
}
.rightalign {
    text-align: right
}

div#title {
    display: block;
    float: left;
    text-align: left;
}
div#sitewarning {
    display: block;
    float: left;
    text-align: left;
}
#logindisplay {
    font-size: 1.0em;
    display: block;
    text-align: right;
    margin: 10px;
    color: #034af3;
}

#logindisplay a:link {
    color: #034af3;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: #034af3;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: #034af3;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

/* Styles to have two form submits horizontal align
    --------------------------------------------------------*/
.button_row {
    float:left; width: 100%;
} 
.button_row form {
    float:left; width: 20%;
} 
.button_cell_left {
    float:left; width: 20%;
} 
.button_cell_right {
    float:left; width: 20%;
} 
/* Styles for Images
    ---------------------------------------------------------*/
.float_left {
    float: left; margin-right: 1em
}

input.small[type="submit"] {
    font-size: 0.9em;
    padding: 1px 3px;
}

.gridcell {
    vertical-align: top;
}

/* ReSharper disable Html.CssClassElementsNotFound */
/* used by Angular "date" directive */
.gridcell .date { display: block; }
.gridcell .date, .gridcell .time { white-space: nowrap; }
.time { border-bottom: 1px dashed #CCC; }
/* ReSharper restore Html.CssClassElementsNotFound */

.log-message {
    white-space: pre-wrap;
}
.log-addendum {
    font-size: 75%;
    -ms-opacity: 0.4;
    opacity: 0.4;
}