.site-index {
    margin-top: -50px;
}

.site-index .col-md-4 {
    text-align: center;
}

#customer-create-facility {
    margin-bottom: 30px;
}

#customer-tabs-container,
#facility-tabs-container,
#service-tabs-container {
    position: relative;
}

.delete-image-button {
    display: none;
    position: absolute;
    right: 17px;
    top: 2px;
}

#document-list-container img {
    width: 24px;
}

#facility-create-service,
#facility-create-supervision {
    margin-bottom: 10px;
}

.facility-view .nav-tabs,
.customer-view .nav-tabs,
.service-view .nav-tabs {
    margin-top: 30px;
}

.facility-view .tab-pane,
.customer-view .tab-pane,
.service-view .tab-pane {
    padding-top: 5px;
}

#full-image-modal-header .delete-image-button {
    display: block;
    float: right;
    margin-right: 30px;
    margin-top: 10px;
}

img {
    max-width: 100%;
}

.nav-tabs li a span {
    margin-bottom: 6px;
}

.new-heatpump-button-standalone {
    float: right;
    margin-top: -15px;
}

#not-performed-services table td:last-child,
#upcoming-services table td:last-child {
    text-align: right;
    width: 130px;
}

#performed-services table td:last-child {
    text-align: right;
    width: 95px;
}

#not-performed-services table td:first-child,
#performed-services table td:first-child,
#upcoming-services table td:first-child {
    text-align: left;
}

.panel-heading .btn {
    float: right;
}

.remove-heatpump-button {
    float: right;
}

.service-index .tab-pane,
.supervision-index .tab-pane,
.facility-index .tab-pane {
    padding-top: 10px;
}

.facility-index table td:last-child,
#invoices td:last-child {
    min-width: 92px;
}

#service-performed-modal .datepicker {
    margin: 0 auto;
}

#sync-customer-files-button,
#sync-facility-files-button,
#sync-service-files-button {
    position: absolute;
    right: 0;
    top: 0;
}

.table .btn {
    float: right;
    margin-left: 3px;
}

.table td {
    vertical-align: middle !important;
}

.thumbnail-container {
    margin-bottom: 5px;
}



@media (min-width: 768px) {
    .site-index {
        margin-top: 0;
    }

    #document-list-container img {
        max-height: 120px;
        width: auto;
    }

    .facility-quick-edit-add-service {
        position: absolute;
        right: 5px;
        top: 13px;
    }

    .quick-edit-service-form {
        margin: 0;
    }

    #facility-quick-edit-table td {
        vertical-align: top !important;
    }

    #facility-quick-edit-table td:first-child,
    #facility-quick-edit-table td:nth-child(2) {
        padding-top: 16px;
    }

    #facility-quick-edit-table td:nth-child(3) {
        width: 152px;
    }

    #facility-quick-edit-table td:nth-child(6) {
        position: relative;
        width: 265px;
    }

    #facility-quick-edit-table td:nth-child(6) div.input-group,
    #facility-quick-edit-table td:nth-child(6) input {
        float: left;
        width: 96px;
    }

    #facility-quick-edit-table td:nth-child(6) select {
        float: left;
        width: 80px;
    }

    #facility-quick-edit-table td:nth-child(6) div.input-group {
        margin-right: 5px;
    }

    .file-list {
        clear: both;
        float: left;
        max-width: 170px;
        overflow-x: hidden;
        padding-left: 17px;
        position: relative;
    }

    .file-list .glyphicon {
        left: 0;
        position: absolute;
        top: 2px;
    }

    #not-performed-services table td:last-child,
    #upcoming-services table td:last-child {
        width: 265px;
    }

    #performed-services table td:last-child {
        width: 195px;
    }

    .quick-edit-service-list {
        clear: both;
        margin: 0;
        padding: 5px 0 0px 20px;
    }
}

@media (min-width: 992px) {
    #customer-create-facility {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {}