﻿body {
    background-color:#F5F5F5;
    font-family: Montserrat, sans-serif;
    font-weight:300;
    font-size: 13px;
}

h1, h2, h3, h4, h5 {
    font-family: Montserrat, sans-serif;
    font-weight:400;
}

/*.modal-body {
   max-height:560px;
   height:560px;
   width:550px;
   overflow:hidden;
}*/

.overflowtable {
    overflow-x: auto;
    min-height: 0.01%;    
}


/* -----------------
Accordian styles
------------------ */

.accordian {
  margin: 0 0 2em;
  border: 1px solid dashed;
}

.accordian label {
  cursor: pointer;
  color: #555;
  font-weight: bold;
}

.accordian input {
  position: relative;
  top: -2px;
  left: -3px;
}

.accordian--content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: all 1s ease;
}

.accordian input:checked ~ .accordian--content {
  height: auto;
  opacity: 1;
}

.accordian--inner {
  padding: 10px 0 0;
}
   

/* =============== Navigation =============== */
.navbar {
	margin-bottom: 10px;
}
.navbar-inner {
    margin-bottom: 0px;
    min-height: 60px;
    padding-right: 20px;
    padding-left: 20px;
    /*background: #287AA2;*/
    background: #546A8B;
    filter: none;
    border: none;
    color: #fff;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    *zoom: 1;
}

    .navbar-inner ul.nav > li {
        line-height:40px;
        margin-right:10px;
    }

.navbar .nav > li > a {
    color:white;
    text-shadow:none;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    background-color:rgba(0,0,0,0.3);
    line-height:20px;
    margin-top:14px;
    border-radius:5px;
    padding: 6px 15px;    
}

    .navbar .nav > li > a.security {
        background-color:#fff;
        color: #24406A;
        
    }


.navbar .nav > li.active > a {
    color: #555;
    text-decoration: none;
    background-color: #e5e5e5;
    -webkit-box-shadow: inset 0 3px 8px rgba(0,0,0,0.125);
    -moz-box-shadow: inset 0 3px 8px rgba(0,0,0,0.125);
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.125);
    /*background-color:#3298C9;
        color:#ddd;
        cursor:default;*/
}

    .navbar .nav > li > a:hover {
        background-color:#3298C9;
        color:white;
    }

.navbar .nav.pull-right > li > a {
    color:#ccc;
}

    .navbar .nav > li > a:hover {
        background-color:#8595AC;
        color:white;
    }

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
    cursor:default;
}

.navbar .brand {
    margin-right:50px;
}
/* =============== End Navigation =============== */


/* =============== Sidebar Navigation =============== */
.sidebar-nav > ul {
    margin: 0px 0px 0px 0px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: none;
    border-right: none;
    padding-bottom: 1px;
    text-align: center !important;
    font-size: 12px;
}

    /* Inline expand for active items only; flyout menus use .sidebar-flyout-menu instead */
    .sidebar-nav > ul > li:not(.sidebar-flyout) > ul {
        list-style: none;
        margin: 0px 0px 0px 0px;
        display: none;
    }

/* Allow flyout panels to extend past the narrow sidebar column */
#sidebar-left,
#sidebar-left .sidebar-nav,
#sidebar-left .sidebar-nav > ul {
    overflow: visible !important;
}

/* Hangfire (and similar) sidebar items: flyout submenu to the right on hover */
.sidebar-nav > ul > li.sidebar-flyout {
    position: relative;
    z-index: 1;
}

.sidebar-nav > ul > li.sidebar-flyout:hover,
.sidebar-nav > ul > li.sidebar-flyout.open {
    z-index: 1100;
}

.sidebar-nav > ul > li.sidebar-flyout > ul.sidebar-flyout-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 170px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 5px 5px 0;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1101;
    text-align: left;
}

.sidebar-nav > ul > li.sidebar-flyout:hover > ul.sidebar-flyout-menu,
.sidebar-nav > ul > li.sidebar-flyout.open > ul.sidebar-flyout-menu,
.sidebar-nav > ul > li.sidebar-flyout:focus-within > ul.sidebar-flyout-menu {
    display: block !important;
}

/* Invisible bridge so the pointer can reach the flyout without losing hover */
.sidebar-nav > ul > li.sidebar-flyout::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 0;
    width: 14px;
    height: 100%;
    background: transparent;
}

.sidebar-nav > ul > li.sidebar-flyout > ul.sidebar-flyout-menu > li > a {
    display: block;
    margin: 0;
    padding: 10px 16px;
    color: #666;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    text-shadow: none;
    border: none;
    background: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.sidebar-nav > ul > li.sidebar-flyout > ul.sidebar-flyout-menu > li > a:hover {
    color: #287AA2;
    background: #f5f8fa;
}

.nav-tabs.nav-stacked > li > a,
.nav-tabs.nav-stacked > li > ul > li > a {
    margin: 1px 0px 0px 0px;
    padding: 15px 0px;
    color: #666;
    text-shadow: 0px 1px 0px #fff;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: none;
    border-right: none;
    background: transparent;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    text-decoration: none;
}

.nav-tabs.nav-stacked > li > ul > li {
    padding: 5px 0px;
}

    .nav-tabs.nav-stacked > li > a > i,
    .nav-tabs.nav-stacked > li > ul > li > a > i {
        opacity: 1;
        filter: alpha(opacity=100);
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        font-size: 22px;
        display: inline-block;
        width: 100%;
    }

    .nav-tabs.nav-stacked > li > ul > li > a > i {
        font-size: 20px;
    }

.nav-tabs.nav-stacked > li > a:hover > i {
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.nav-tabs.nav-stacked > li > a:hover {
    margin: 1px 0px 0px 0px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: none;
    border-right: none;
    color: #287AA2;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.nav-tabs.nav-stacked > li > a:hover,
.nav-tabs.nav-stacked > li > ul > li > a:hover {
    margin: 1px 0px 0px 0px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: none;
    border-right: none;
    color: #287AA2;
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.nav-tabs.nav-stacked > li.active > a {
    margin: 1px 0px 0px 0px;
    border: 1px solid #ddd;
    border-right: none;
    color: #3b3b41;
    background: #fff;
    -webkit-border-radius: 5px 0px 0px 5px !important;
    -moz-border-radius: 5px 0px 0px 5px !important;
    border-radius: 5px 0px 0px 5px !important;
    position: relative;
    z-index: 20;
}

.nav-tabs.nav-stacked > li.active > ul {
    margin: -4px 0px 0px 0px;
    border: 2px solid #eee;
    padding: 5px 0px;
    border-top: none;
    border-right: none;
    color: #3b3b41;
    background: #fff;
    -webkit-border-radius: 0px 0px 0px 5px !important;
    -moz-border-radius: 0px 0px 0px 5px !important;
    border-radius: 0px 0px 0px 5px !important;
    position: relative;
    z-index: 21;
}

.nav-tabs.nav-stacked > li:first-child > a {
    margin: 0px 0px 0px 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.nav-tabs.nav-stacked > li:last-child > a {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
/* =============== End Sidebar Navigation =============== */

/* =============== Content =============== */
h1 {
    font-size:24px;
    font-weight:600;
    color:#666;
    line-height:24px;
    margin-bottom:20px;
}

    h1:first-child {
        margin-top:0;
    }

h2 {
    font-size:20px;
    font-weight:600;
    color:#666;
}

legend {
    font-size:18px;
    font-weight:400;
    color:#666;
}

#content {
    background: #ffffff;
    filter: none;
    min-height: 500px;
    padding: 20px 20px;
    -webkit-border-radius: 0px 5px 5px 5px;
    -moz-border-radius: 0px 5px 5px 5px;
    border-radius: 0px 5px 5px 5px;
    border: 1px solid #ddd;
    position: relative;
    z-index: 0;
}

.alert ul {
    margin-bottom:0;
}

.validation-summary-errors, .field-validation-error {
    color: #a94442;
}

.right-inner-addon {
    position: relative;
}
.right-inner-addon input {
    padding-right: 30px;    
}
.right-inner-addon i {
    position: absolute;
    right: 0px;
    padding: 9px 8px;
    pointer-events: none;
}
/* =============== End Content =============== */

/* =============== People =============== */

img.img-polaroid {
    max-height: 75px;
    margin-right:20px;
}
img.img-polaroid-large {
    max-height: 150px;
    margin-right:20px;
}
#profile h3 {
    margin-top:0;    
}
#Details input.display {
    border:0;
    box-shadow:none;
    padding: 5px 6px;
}

#Details .control-label {
    padding-top:0;
    font-weight:bold;
}

#people-tab-navigation .tab-content {
    overflow:visible;
}

#people-tab-navigation label {
    font-weight:bold;
}

/* =============== End People =============== */

/* ===============  Calendar  =============== */
.ui-datepicker {
    width: auto;
}
.ui-datepicker .ui-datepicker-title select
{
    padding: 0;
    width:auto;
}
/* ============== End Calendar ============== */

/* ================  Loader  ================ */
.imgLoader {
    position: absolute;
    top: 20px;
    left: 20px;
    display: none;
}
/* ==============  End Loader  ============== */

/* ==============    Filter    ============== */
div.filter-horizontal {
    background-color: #f3f3f3;
    padding: 15px 10px 0 10px;
    
    border-top: 1px solid #ddd;
}
div.filter-horizontal div.control-group {
    margin-right: 15px;
    float: left;
}
/* ==============  End Filter  ============== */

/* ==============  Level 3 Nav ============== */
#lvl3-nav {
    margin-bottom: 0px; 
    border-bottom:0px;
    z-index: 100;
}
/* ============  End Level 3 Nav  =========== */

/************************************************************************************
Modal Boxes
*************************************************************************************/
.modal-header {
    background-color:#777;
    color:#fff;
    font-weight: normal;
}
.modal-header h3 {
    font-weight:normal;
}
.modal-header .close {
    color:#fff;
    text-shadow:none;
    opacity:1;
}

.img-responsive {
  display: block;
  max-width: 100%; /* Set a maximum relative to the parent */
  height: auto;    /* Scale the height according to the width, otherwise you get stretching */
}

body.modal-open {
    overflow: hidden;
}


/************************************************************************************
Right Column
*************************************************************************************/

.form-right {
    float: right;
}

.btn-transparent {
    background-color: transparent !important;
    color: #fff;
    font-weight: bold;
}

input, select {
    font-family: Montserrat, sans-serif;
    font-weight:normal;
    font-size:12px;
}

.left-justify {
    text-align: left;
}

.right-justify {
    text-align: right;
}