html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /* margin-bottom: 80px; */
}

.jumbotron {
    background-image: url("../images/jumbotron_bg.png");
    background-size: cover;
}

footer.site {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #fff;
    padding-top: 20px;
    border-top: 2px solid #E8E8E8;
}

.home-wrapper {
    background: url('/public/images/jumbotron_bg.png') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.fill-height {
    min-height: 100%;
    height: 100%;
}

.table-noheading tbody tr:first-child > td {
    border: none;
}

.table-borderless td, .table-borderless th {
    border: none;
}

.overview-container { }

.overview-icon {
    font-size: 10px;
}

.overview-icon-link {
    padding: 0 0 2px 5px;
    font-size: 1em;
}

.overview-container .item-deleted {
    color: #ccc;
}

.overview-container .action-placeholder a {
    float: right;
}

.icon-rotated {
    transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
}

.form-group.required .control-label:after {
    content: " *";
    color: red;
}

.form-condensed .form-group {
    margin-top: 0;
    margin-bottom: 5px;
}

label.required:after {
    content: " *";
    color: red;
}

label.error, span.error {
    color: red;
    font-size: 12px;
    font-weight: normal;
}

.help-block {
    /* display: none; */
    margin: 0;
    padding: 0;
}

.editable, .createable {
    border-bottom: 1px dashed #84ae84;
    cursor: pointer;
}

.editable-text {
    width: 100%;
    margin: -3px;
}

.table-borderless tbody tr td,
.table-borderless tbody tr th,
.table-borderless thead tr th {
    border: none;
}

.link-unstyled {
    color: inherit;
    text-decoration: inherit;
}

.link-unstyled:link {
    color: inherit;
    text-decoration: inherit;
}

.link-unstyled:hover {
    color: inherit;
    text-decoration: inherit;
}

/* Main layout */

.navbar-company-link {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-company-link img {
    border-radius: 4px;
    max-height: 29px;
}

/* Tree Navigation */
ul.tree-nav li.active {
    background-color: #d3d3d3;
}

ul.tree-nav li a.new-link::before {
    content: '';
}

/* Buttons */

.btn-orange1 {
    color: #ffffff;
    background-color: #ff9933;
    border-color: #f0780a;
}

.btn-orange1:hover,
.btn-orange:focus,
.btn-orange:active,
.btn-orange.active,
.open > .dropdown-toggle.btn-orange {
    background: #ffad4e;
    color: #ffffff;
}

.btn-orange {
    background-color: #ff8b26;
    border-color: #ff8120;
    color: #ffffff;
}

.btn-orange:hover,
.btn-orange:focus,
.btn-orange:active,
.btn-orange.active {
    background-color: #ff6d05;
    border-color: #f0780a;
    color: #ffffff;
}

.btn-orange.disabled:hover,
.btn-orange.disabled:focus,
.btn-orange.disabled:active,
.btn-orange.disabled.active,
.btn-orange[disabled]:hover,
.btn-orange[disabled]:focus,
.btn-orange[disabled]:active,
.btn-orange[disabled].active,
fieldset[disabled] .btn-orange:hover,
fieldset[disabled] .btn-orange:focus,
fieldset[disabled] .btn-orange:active,
fieldset[disabled] .btn-orange.active {
    background-color: #ff9933;
    border-color: #ff8120;
}

.buttons {
    margin-bottom: 20px;
}

.buttons .btn {
    margin-right: 5px;
}

/* Panels */

.panel-orange {
    border-color: #ffbd63;
}

.panel-orange .panel-heading {
    color: #ffffff;
    background-color: #ffad4e;
    border-color: #eea236;
}

.panel-details {
    background-color: #f3f3f3;
}

/* jQuery Autocomplete Bootstrap fix */

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-autocomplete .ui-menu-item a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
}

.ui-autocomplete .ui-menu-item a.ui-corner-all.ui-state-hover,
.ui-autocomplete .ui-menu-item a.ui-corner-all.ui-state-active {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

/* Details page */
.person-photo {
    max-width: 150px;
    margin: 5px;
    padding: 3px;
    border: 1px solid gray;
}

div.details .tab-selector {
    max-width: 300px;
}

div.details div.markdown img {
    max-width: 100%;
}

/* Show page */

.action-buttons {
    margin-top: 20px;
}

.long-button {
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.extraBody {
    margin-top: 20px;
}

.disabled-result {
    color: #CCC;
}

/* Dashboard */

span.status {
    padding: 0.15em 4px;
    text-transform: uppercase;
    font-size: 0.6em;
    color: #ffffff;
    background-color: #57c26c;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.tree {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #fbfbfb;
    border: 1px solid #999;
    -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);
}

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

.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;
}

.tree li::after {
    border-top: 1px solid #999;
    height: 20px;
    top: 25px;
    width: 25px;
}

.tree li span {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #999;
    border-radius: 5px;
    display: inline-block;
    padding: 3px 8px;
    text-decoration: none;
}

.tree li.parent_li > span {
    cursor: pointer;
}

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

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

.tree li.parent_li > span:hover,
.tree li.parent_li > span:hover + ul li span {
    background: #eee;
    border: 1px solid #94a0b4;
    color: #000;
}

.list-group.list-group-root {
    padding: 0;
    overflow: hidden;
}

.list-group.list-group-root .list-group {
    margin-bottom: 0;
}

.list-group.list-group-root .list-group-item {
    border-radius: 0;
    border-width: 1px 0 0 0;
}

.list-group.list-group-root > .list-group-item:first-child {
    border-top-width: 0;
}

.list-group.list-group-root > .list-group > .list-group-item {
    padding-left: 30px;
}

.list-group.list-group-root > .list-group > .list-group > .list-group-item {
    padding-left: 45px;
}

.list-group-item .glyphicon {
    margin-right: 5px;
}

li.borderless {
    border-top: 0 none;
}

#errorspot,
#flashspot {
    position: relative;
    z-index: 999;
}

.absolute-block {
    position: absolute;
    left: 0;
    right: 0;
}

#list_tasks thead th {
    cursor: pointer;
}

/* Feedback form */

#feedback {
    min-width: 400px;
    padding: 14px 14px 0;
    overflow: hidden;
}

#feedback .form-group {
    margin-bottom: 10px;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

blockquote.home {
    display: block;
    padding: 15px;
    margin: 0 0 20px;
    position: relative;
    border-left: none;
    text-align: right;
    /* Font */
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.2;
    color: #969696;
}

blockquote.home a {
    text-decoration: none;
    background: #eee;
    cursor: pointer;
    padding: 0 3px;
    color: #c76c0c;
}

blockquote.home a:hover {
    color: #666;
}

blockquote.home em {
    font-style: italic;
}

blockquote.home footer {
    display: block;
    font-size: 80%;
    color: #969696;
    text-align: right;
}

/* Tables */

/* .table icons for details-control were commented out */

.table-condensed-small {
    font-size: 14px;
}

.table-white,
.table-white tr,
.table-white td {
    background-color: white !important;
}

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

.table-xtra-condensed thead > tr > th,
.table-xtra-condensed > tbody > tr > th,
.table-xtra-condensed > tfoot > tr > th,
.table-xtra-condensed > thead > tr > td,
.table-xtra-condensed > tbody > tr > td,
.table-xtra-condensed > tfoot > tr > td {
    padding: 2px;
}

/* Lists */

.md-helper .progress {
    height: 6px;
}

.m_0 {
    margin: 0;
}

/* ----- Select ---- */
select.listFilter {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit;
    background-color: #f5f5f5;
    padding: 4px 20px 6px 15px;
    font-size: 16px;
    color: #242424;
    border: none;
    border-radius: 4px;
}

/* ----- Breadcrumbs ---- */

.breadcrumb li.ellipses {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ------ Timesheets ----- */

.panel-timesheet .panel-heading a.collapser:before {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: left;
    color: grey;
}

.panel-timesheet .panel-heading a.collapsed:before {
    content: "\e080";
}

.loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.6;
}

.spin-loader {
    height: 100px;
    /* background: url("http://i62.tinypic.com/2hzsro.gif") no-repeat center center transparent; */
    background: url("/public/images/loading1.gif") no-repeat center center transparent;
    position: relative;
    top: 25%;
}

@-webkit-keyframes blinker {
    from { opacity: 1.0; }
    to { opacity: 0.0; }
}

.blink {
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}

.rag-circle {
    border-radius: 50%;
    behavior: url(PIE.htc);
    /* remove if you don't care about IE8 */
    width: 36px;
    height: 36px;
    padding: 8px;
    background: #fff;
    border: 2px solid #666;
    color: #666;
    text-align: center;
    font: 16px Arial, sans-serif;
}

.tooltip {
    pointer-events: none;
}

.switch .tooltip-inner {
    min-width: 150px;
}

/* https://codepen.io/lehonti/pen/OzoXVa */
.list-group input[type="radio"] {
    display: none;
}

.list-group input[type="radio"] + .list-group-item {
    cursor: pointer;
}

.list-group input[type="radio"] + .list-group-item:before {
    content: "\2022";
    color: transparent;
    font-weight: bold;
    margin-right: 1em;
}

.list-group input[type="radio"]:checked + .list-group-item {
    background-color: #2196f3;
    color: #FFF;
}

.list-group input[type="radio"]:checked + .list-group-item:before {
    color: inherit;
}

div.red {
    color: red;
}
