html, body {
    margin: 0;
    padding: 0
}
.span9 li {padding-bottom:8px;}
.addcursor {cursor:pointer;}
#login-form, #fp-page {
    width: 400px;
    margin: 100px auto;
}
.title-logo {float:left;margin-right:15px;}
.span10 h2 {line-height:25px;margin-top:6px;}

.content-container {
    min-height: 500px;
}

#sidebar {position:fixed;width:234px;}
#sidebar .nav {width:auto;}
#contentarea {float:right;}
 
#navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

#navbar-footer-container {
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

#navbar-side-links {
    height: 30px;
    background: #FFFFFF;
}

#default-container {
    margin: 100px auto 50px auto;
}

#logout-link:hover,
.no-decoration-link:hover,
.block-header-side-links:hover {
    text-decoration: none;
}

.no-decoration-link {
    cursor: pointer;
}

.divider-vertical {
    margin: 0 !important;
}

.content-well,
.content-nav > li > a {
    background: #FDFDFD;
}

.action-icon {
    cursor: pointer;
}

span.help-inline {
    font-size: 12px;
    font-style: italic;
    color: #B94A48;
}

.modal-backdrop {
    background-color: #FFFFFF;
}

.permissions-table label {
    margin-bottom: 0;
}

.permissions-table td {
    vertical-align: middle;
}

.image-gallery {
    list-style: none;
}

.image-gallery li {
    float: left;
    margin: 10px;
}

.lightbox-a,
.lightbox-a:hover {
    text-decoration: none;
    display: block;
}

.lightbox-a.image-removed {
    opacity: 0.4;
}

.lightbox-a img {
    height: 100px;
    width: 100px;
    margin-bottom: 5px;
}

.remove-image, .undo-remove-image {
    border-radius: 10px;
    margin-top: -260px;
    margin-left: 100px;
}

#map img {
    max-width: none !important;
}

.block {
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    margin: 20px 0;
    border: 1px solid #dcdcdc;
}

.block .block-header {
    font-size: 14px;
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #dcdcdc;
}

.block .block-content {
    padding: 10px;
}

.block-header-side-links {
    font-size: 14px;
    font-weight: normal;
}

#add-orderables-table,
#add-orderables-table input.input-block-level,
#add-orderables-table select.input-block-level {
    margin-bottom: 0;
}

#add-orderables-table th,
#add-orderables-table td {
    border-top: 0;
}

#import-facility-modal {
    width: 700px !important;
    margin-left: -350px !important;
}

.calendar-table {
    table-layout: fixed;
}

.calendar-table td {
    padding: 5px;
    height: 40px;
    vertical-align: middle;
}

.calendar-table td.calendar-daysofweek {
    text-align: center;
    font-weight: bold;
}

.calendar-loading {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(255,255,255, 0.4);
}

.calendar-loading .modal {
    width: 300px; 
    margin-left: -150px; 
    top: 40%;
}

.calendar-loading p {
    margin-bottom: 0; 
    text-align: center;
}

/*
 * DataTables
 */
div.dataTables_length select {
    width: 100px;
}
 
div.dataTables_filter label {
    float: right;
}
 
div.dataTables_info {
    padding-top: 8px;
}
 
div.dataTables_paginate {
    float: right;
    margin: 0;
}

.paginate_enabled_previous { background: url('../img/back_enabled.png') no-repeat top left; }
.paginate_enabled_previous:hover { background: url('../img/back_enabled_hover.png') no-repeat top left; }
.paginate_disabled_previous { background: url('../img/back_disabled.png') no-repeat top left; }

.paginate_enabled_next { background: url('../img/forward_enabled.png') no-repeat top right; }
.paginate_enabled_next:hover { background: url('../img/forward_enabled_hover.png') no-repeat top right; }
.paginate_disabled_next { background: url('../img/forward_disabled.png') no-repeat top right; }

.sorting { background: url('../img/sort_both.png') no-repeat center right; }
.sorting_asc { background: url('../img/sort_asc.png') no-repeat center right; }
.sorting_desc { background: url('../img/sort_desc.png') no-repeat center right; }

.sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
.sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }
/*
 * End DataTables
 */


 /*
 * CHECKBOX
 */

.regular-checkbox {
    display: none !important;
}

.regular-checkbox + label {
    background-color: #fafafa;
    border: 1px solid #888;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
    padding: 9px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
}

.regular-checkbox + label:active, .regular-checkbox:checked + label:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.regular-checkbox:checked + label {
    background-color: #e9ecee;
    border: 1px solid #888;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: #7cb63d;
}

.regular-checkbox:checked + label:after {
    content: '\2714';
    font-size: 24px;
    position: absolute;
    top: -2px;
    left: 2px;
    color: #7cb63d;
}

.regular-checkbox.disabled:checked + label,
.regular-checkbox.disabled:checked + label:after {
    color: #999999;
}

.big-checkbox + label {
    padding: 18px;
}
 
.big-checkbox:checked + label:after {
    font-size: 28px;
    left: 6px;
}


/*
* BOOTSTRAP TREE
*/

.tree {
    /*-webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);
    -moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);
    box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);
    background-color:#fbfbfb;*/
    overflow-y:auto;
    /*padding:19px;*/
}

.tree a {
    display:inline;
    overflow:hidden;
    text-overflow:ellipsis;
    width:90%;
}

.tree li {
    list-style-type:none;
    position:relative;
    margin:0;
    padding:4px 0 0 2px;
}

.tree li::before,.tree li::after {
    content:'';
    left:-20px;
    position:absolute;
    right:auto;
}

.tree li::before {
    border-left:1px solid #999;
    bottom:50px;
    height:100%;
    top:0;
    width:1px;
    -webkit-transition:"border-color 0.1s ease 0.1s";
    -moz-transition:"border-color 0.1s ease 0.1s";
    -o-transition:"border-color 0.1s ease 0.1s";
    transition:"border-color 0.1s ease 0.1s";
}

.tree li::after {
    border-top:1px solid #999;
    height:20px;
    top:13px;
    width:23px;
    -webkit-transition:"border-color 0.1s ease 0.1s";
    -moz-transition:"border-color 0.1s ease 0.1s";
    -o-transition:"border-color 0.1s ease 0.1s";
    transition:"border-color 0.1s ease 0.1s";
}

.tree li span:not(.leaf) {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border:1px solid #999;
    border-radius:5px;
    display:inline-block;
    line-height:14px;
    text-decoration:none;
    -webkit-transition:color .2s ease .1s,background-color .2s ease .1s,border-color .3s ease .2s;
    -moz-transition:color .2s ease .1s,background-color .2s ease .1s,border-color .3s ease .2s;
    -o-transition:color .2s ease .1s,background-color .2s ease .1s,border-color .3s ease .2s;
    transition:color .2s ease .1s,background-color .2s ease .1s,border-color .3s ease .2s;
    padding:2px 4px;
    cursor: pointer;
}

.tree li span.leaf {
    display:inline-block;
    line-height:14px;
    text-decoration:none;
    padding:2px 4px;
}

.tree li.parent_li>span:hover {
    background-color:#df8505;
    border:1px solid #c67605;
    color:#fff;
}

.tree li.parent_li>span:hover+ul li::after {
    border-top-color:#f89406;
}

.tree li.parent_li>span:hover+ul li::before {
    border-left-color:#f89406;
}

/*.tree li.parent_li>span:hover+ul li span {
    background:#fddfb3;
    border:1px solid #faa937;
    color:#000;
}*/

.tree li:last-child::before {
    height:30px;
}

.tree>ul>li::before,.tree>ul>li::after {
    border:0;
}

#s2id_frm_sel_facilities{
    width:98%;
}

#s2id_frm_sel_facilities{
    width:98%;
}

.float_right{
    float:right;
    margin-bottom:40px;
}

.row-fluid .top_btn_pos{
    float:right;
    width:auto;
    margin-top:18px;
}

.regular-checkbox + label{
    margin:5px 0 0;
}

/*
 * Facility Inspections
 */

.inspection-group-block .block-content {
    padding: 0;
}

.inspection-group-block input[type="text"] {
    margin-bottom: 0
}

.inspection-group-block table td {
    vertical-align: middle;
}

.inspection-group-block .rating-star-group .rating-star {
    font-size: 2.5em;
    cursor: pointer;
}

.inspection-group-block .rating-star-group i.icon-star {
    color: #980BA6;
}

.clr{
    clear: both;
    margin-bottom: 5px;
}