/* 
    Created on : 03-Jun-2014, 15:15:03
    Author     : David Simpson
*/
body {
    background: #000000;
    overflow-x: hidden;
}

a {
    color: #D0021B;
}

.modal {
    overflow: auto;
}

.modal-header {
    background-color: #D0021B;
    color: white;
}

.page-container {
    width: 80%;
}

.btn-primary {
    background: #D0021B;
    border-color: #D0021B;
    border-radius: 0px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
    background: #840111;
    border-color: #D0021B;
    border-radius: 0px;
}



#header-row {
    background-color: white;
    margin: 0 0 70px 0;
    padding: 18px 0 20px 0;
    height: 116px;
    max-height: 116px;
}

#header-row .main-title {
    font-size: 28px;
    margin: 18px 0 0 0;
    font-weight: normal;
    color: #D0021B;
}

#header-row .log-out-btn {
    margin-top: 24px;
    margin-left: 28px;
}

#header-row .col-md-6:first-child {
    padding-left: 0;
}

#header-row .col-md-6:last-child {
    padding-right: 0;
}

#main-nav {
    margin: 0;
    border: none;
}

#main-content {
    background-color: white;
    height: auto;
    padding: 30px;
    margin-left: 1px;
    /*width: 992px;*/
}

#main-content-header {
    margin: 0 0 10px 0;
}

#main-content-header .col-md-6:first-child, #main-content-header .col-md-4:first-child {
    padding-left: 0;
}

#main-content-header .col-md-6:last-child, #main-content-header .col-md-8:last-child {
    padding-right: 0;
}

#main-content-header .col-md-6:last-child .btn, #main-content-header .col-md-8:last-child .btn {
    margin-left: 10px;
}



h1 {
    margin: 4px 0 0 0;
    line-height: 22px;
    font-size: 22px;
    color: #D0021B;
}

h2 {
    color: #D0021B;
    font-size: 16px;
    background-color: #e1e1e1;
    padding: 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 20px 0 20px 0;
}
#main-content-header h1 {
    padding-bttom: 0px;
    
}

#main-content-header small {
    color: #D0021B;
    
}


.no-border-tbl>thead>tr>th, .no-border-tbl>tbody>tr>th, .no-border-tbl>tfoot>tr>th, .no-border-tbl>thead>tr>td, .no-border-tbl>tbody>tr>td, .no-border-tbl>tfoot>tr>td {
    border: none;
}

.two-col-tbl tr td:first-child {
    width: 20%;
}

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

.no-margin {
    margin: 0;
}

.alt-input-group-addon {
    top: 0;
}

.submit-btn-wrap {
    margin-top: 16px;
}

.hidden-input {
    display: none;
}

.span-link {
    cursor: pointer;
}

#index-search-form .form-control {
    max-width: 200px;
}

#index-search-form span {
    margin-top: 8px;
    margin-right: 10px;
}

.next-prev-row {
    margin-top: 30px;
}

.next-prev-row .center-col {
    padding-top: 10px;
}

.underline {
    text-decoration: underline;
}

.margin-right-sixpx {
    margin-right: 6px;
}

.margin-top-twentypx {
    margin-top: 20px;
}

.modal-footer-row {
    margin-top: 20px;
}

#featured-image-row {
    margin-bottom: 20px;
}

#featured-image-row img {
    margin-bottom: 4px;
    margin-right: 15px;
}

.data-row {
    margin: 5px 0 0 0;
    background-color: #e1e1e1;
    padding: 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.data-row ul {
    margin: 0;
}

#property-accordion-wrap {
    margin-top: 20px;
    margin-bottom: 0;
}

#property-accordion-wrap .panel {
    margin: 0;
    border: none;
    border-top: solid 1px #D0021B;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

#property-accordion-wrap .panel .panel-heading {
    background-image: none;
    border: none;
    background-color: white;
    padding-left: 0;
}

#property-accordion-wrap .panel .panel-heading a {
    color: #D0021B;
}

#property-accordion-wrap .panel .panel-body {
    border: none;
    padding: 10px 0 35px 0;
}

#property-accordion-wrap .panel:last-child .panel-body {
    padding: 10px 0 0 0;
}

#property-accordion-wrap .panel .panel-body .accordion-table {
    margin: 0;
}

#property-accordion-wrap .panel .panel-body .accordion-table tr th, #property-accordion-wrap .panel .panel-body .accordion-table tr td {
    padding-left: 0;
}

.lightbox-modal .modal-footer {
    margin-top: 0;
}

.dashboard-wells-wrap {
    margin-bottom: 20px;
}

.last-row .dashboard-wells-wrap {
    margin-bottom: 0;
}

.dashboard-wells {
    margin: 0;
    padding: 20px;
    text-align: center;
    background-color: #EFEFEF;
    background-image: none;
    border-radius: 0px;
}

.dashboard-wells .answer {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 28px;
}

.alert-panel {
    margin: 0;
}

.alert-panel .panel-heading {
    background-image: none;
    background-color: #D0021B;
    color: white;
}

.alert-panel .panel-footer {
    font-size: 12px;
    text-align: center;
}

.alert-panel .panel-footer span {
    font-size: 16px;
    font-weight: bold;
    margin-left: 4px;
}

.alert-panel ul {
    margin: 0 0 0 4px;
    padding: 0;
    list-style-type: none;
}

.alert-panel ul .label {
    width: 10px;
    height: 10px;
    display: block;
    float: left;
    margin-top: 5px;
    margin-right: 8px;
}

.alert-panel ul li {
    margin-top: 8px;
}

.alert-panel ul li:first-child {
    margin-top: 0;
}

.alert-panel .panel-body .row {
    margin-top: 20px;
}

.alert-panel .panel-body .row .col-md-12 {
    padding-top: 4px;
}

.alert-panel .panel-body .row span {
    margin-right: 6px;
}

.label-low {
    background-color: #5cb85c;
}

.label-medium {
    background-color: #f0ad4e;
}

.label-high {
    background-color: #d9534f;
}

.row-low {
    background-color: #dff0d8;
}

.row-medium {
    background-color: #fcf8e3;
}

.row-high {
    background-color: #f2dede;
}

.fc-event {
    height: 65px;
    padding: 24px;
}

.fc-event-title{
    cursor: pointer;
}


.ui-datepicker {
    z-index: 2000 !important;
}
/************************************/
/***   Alt Display Styles Begin   ***/
/************************************/
/************************************/
/***   Alt Display Styles End     ***/
/************************************/

.error-message {
  padding: 15px;
  margin-top: 5px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-image: -webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);
  background-image: linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
  border-color: #dca7a7;
}

.img-thumbnail {
    max-width: 200px;
}

.navbar-header {
    height: 100px;
}

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    text-shadow: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:active {
    color: #D0021B;
}

@media (min-width: 768px) {
    .navbar-collapse {
        height: auto;
        border-top: 0;
        box-shadow: none;
        max-height: none;
        padding-left:0;
        padding-right:0;
    }
    .navbar-collapse.collapse {
        display: block !important;
        width: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }
    .navbar-collapse.in {
        overflow-x: visible;
    }

    .navbar {
        max-width: 300px;
        margin-right: 0;
        margin-left: 0;
        background-image: none;
        background-color: transparent;
        border: none;
        color: #ffffff;
    }   

    .navbar-nav,
    .navbar-nav > li,
    .navbar-left,
    .navbar-right,
    .navbar-header {
        float:none !important;
    }

    .navbar-right .dropdown-menu {left:0;right:auto;}
    .navbar-collapse .navbar-nav.navbar-right:last-child {
        margin-right: 0;
    }
}

.log-out-btn {
    margin-left: 20px;
}

.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th {
    background: #EFEFEF;
    border-bottom: 5px solid #ffffff;
    border-top: none;
    margin-bottom: 10px;
    background: #ffffff !important;
    color: #D0021B;
}



.table.table-condensed tr td, .table.table-condensed tr:hover td {
    background: #EFEFEF;
    background: #EFEFEF;
    border-bottom: 5px solid #ffffff;
    vertical-align: middle;

}

.dropdown-menu li {
    text-align: left;
}