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

body {
    margin-bottom: 30px;
}

body > .container {
    padding: 30px 15px 0;
}

.navbar-brand img {
    height: 20px;
}

.content-page {
    overflow: initial;
}

.back-button {
    font-size: 24px;
    height: 24px;
    margin: 24px 0;
    border: none;
    color: #313a46;
    background-color: #ffffff;
}

.items .control-label {
    text-align: left;
}

.spacer-20 {
    width: 20px;
    height: 20px;
}

.spacer-10 {
    width: 10px;
    height: 10px;
}

.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4 {
    font-size: 12px;
}

.ajax-loader {
    text-align: center;
}

.ajax-loader img {
    margin: 50px;
}

.m-t-10 {
    margin-top: 10px;
}

#main {
    min-height: 370px;
}

#assessorInfo {
    height: 192px;
}

#companyLogo img,
#profilePhoto img {
    margin: auto;
    height: 150px;
}

.forms-remaining {
    display: inline-block;
    margin-left: 10px;
}

#print {
    padding: 25px;
    border: 1px solid #cccccc;
    width: 900px;
    margin: 55px auto;
}

#payment-form,
#assessor-agreement-form {
    padding: 0 20px 0 20px;
    background: #fff;
}

.form-horizontal .control-label {
    text-align: left;
}

.label {
    padding-top: 0.3em;
}

.label-not-selected {
    background-color: #eee;
    color: #000;
}

.label-default {
    background-color: #777;
}

label.checkbox-inline.monitored {
    border: 1px solid #eee;
    padding: 5px 10px 5px 30px;
    border-radius: 5px;
    margin-bottom: -7px;
    background: #eee;
}

label.checkbox-inline.monitored input {
    margin-top: 5px;
}

label a {
    color: #000;
}

.tooltip-icon {
    font-size: 20px;
    float: left;
    margin-right: 5px;
}

.popover {
    max-width: 1000px;
    text-align: left;
}

.popover p {
    font-size: 14px;
    margin: 5px 0 5px 0;
}

.popover-tooltip {
    color: #797979;
}

.popover-tooltip:focus {
    outline:0;
}

.breadcrumb {
    margin-top: 14px;
}

#textAbove,
#textBelow {
    white-space: pre-wrap;
}

.jumbotron {
    background: #fff;
}

.jumbotron form p {
    margin-bottom: 0;
}

.jumbotron form p.form-control-static {
    padding-top: 0;
}

.signature canvas {
    cursor: default;
    background-color: #ffffff;
}

.signature-bordered {
    border: 1px solid #ddd;
}

.list-group-item p {
    margin-bottom: 0px;
}

.container .text-muted {
    margin: 6px 0;
}

div.watermark
{
    display:block;
    position:fixed;
    z-index:1;
    width:100%;
    height:100%;
}

div.watermark div {
    margin: 85px auto;
    width: 800px;
}

.form-control.form-control-half {
    width: 50%;
}

table {
    border-collapse: collapse;
}

table.bordered {
    margin: 5px 0 15px 0;
}

table.bordered td {
    padding: 2px 5px 2px 5px;
    border: 1px solid black;
    font-size: 13px;
}

.transfer-form {
    margin-top: 30px;
}

.input-warning,
.btn-border-warning {
    border-color: orange;
}

.input-danger {
    border-color: #d9534f;
}

#emailWindow .form-control {
    padding: 0 5px 0 5px;
}

#recentForms,
#expiringForms {
    max-height: 300px;
    overflow-y: auto;
}

.cranes .booked {
    width: 20px;
    height: 20px;
    background-color: #78c350;
    display: inline-block;
}

.cranes .follow-up {
    width: 20px;
    height: 20px;
    background-color: orange;
    display: inline-block;
}

.cranes .not-needed {
    width: 20px;
    height: 20px;
    background-color: red;
    display: inline-block;
}

#calendarEventForm .form-control {
    padding: 0 10px;
}

#calendarEventForm textarea.form-control {
    padding: 10px;
}

#invoice-form,
#invoice-settings-form {
    border: 1px solid #ccc;
    background: #fff;
    padding: 10px;
}

#page-utils-loading {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.8);
    z-index: 9999;
}

#page-utils-loading-inner {
    margin: auto;
    color: white;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Green Sticker Lookup */

#greenStickerPreviewInner {
    margin-top: 15px;
    padding: 15px;
    background: white;
}

#greenStickerPreview .progress-bar {
    background: white;
    box-shadow: none;
    -webkit-box-shadow: none;
}

#greenStickerPreview ul.progress-bar {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 0;
    list-style: none;
    background: white;
    box-shadow: none;
    -webkit-box-shadow: none;
}

#greenStickerPreview li.section {
    display: inline-block;
    padding-top: 45px;
    font-size: 13px;
    font-weight: bold;
    line-height: 16px;
    color: gray;
    vertical-align: top;
    position: relative;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

#greenStickerPreview li.section:before {
    content: 'x';
    position: absolute;
    top: 2px;
    left: calc(50% - 15px);
    z-index: 1;
    width: 30px;
    height: 30px;
    color: white;
    border: 2px solid white;
    border-radius: 17px;
    line-height: 30px;
    background: gray;
}
#greenStickerPreview .status-bar {
    height: 2px;
    background: gray;
    position: relative;
    top: 20px;
    margin: 0 auto;
}
#greenStickerPreview .current-status {
    height: 2px;
    width: 0;
    border-radius: 1px;
    background: mediumseagreen;
}

@keyframes changeBackground {
    from {background: gray}
    to {background: mediumseagreen}
}

#greenStickerPreview li.section.visited:before {
    content: '\2714';
    animation: changeBackground .5s linear;
    animation-fill-mode: forwards;
}

#greenStickerPreview li.section.visited.current:before {
    box-shadow: 0 0 0 2px mediumseagreen;
}

#ios-wrapper .container {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

#time-sheet-grid {
    min-width: 768px;
}

.time-sheet .btn-group {
    width: 100%;
    display: inline-flex;
}

.time-sheet .btn-group .btn {
    height: 65px;
}

.time-sheet .btn-group button.weekday {
    width: 100vw;
}

.time-sheet .btn-group button span {
    display: block;
}

.time-sheet .btn-group button span.time,
.time-sheet .btn-group button span.fas,
#time-sheet-grid span.time {
    font-size: 2.5rem;
}

#time-sheet-grid input.edit-time {
    font-size: 2.5rem;
    padding: 0 10px;
    margin: 0;
    width: 70%;
}

#time-sheet-grid span.time.recording {
    font-weight: bold;
}

.badge.recording {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: #f7531f;
}

#wrapper.sign-in .side-menu {
    display: none;
}

#wrapper.sign-in .content-page {
    margin-left: 0;
}

/* End Green Sticker Lookup */

@media screen and (max-width: 768px) {
    .container .jumbotron {
        padding: 15px;
    }

    .app-search {
        position: absolute;
        right: 0;
        top: -28px;
    }

    .app-search .form-control,
    .app-search .form-control:focus {
        margin-top: 0;
    }
}

@media screen and (min-width: 768px) {
    .container .jumbotron {
        padding: 30px;
    }
}

@media (max-width: 500px) {
    .hidden-xxs {
        display: none!important;
    }
}

@media print {
    #print {
        padding: 0;
        border: none;
        width: 700px;
        margin: 0 auto;
    }

    #main {
        margin: 0;
    }

    body {
        margin: 0;
        line-height: 1.1;
    }

    div.watermark div {
        margin: 50px auto;
        width: 800px;
    }

    .footer {
        display: none;
    }
}

@page{size:auto; margin-bottom:5mm;}
