﻿html { /*height: 100%;*/
}

.fixed-btm {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

body {
    height: 100%;
    min-height: 100%;
    min-width: 320px;
    background-color: #e7e7e7;
    overflow-y: scroll;
}

    body.loginpage {
        background-color: #222;
    }

#site {
    height: 100%; /*padding-top: 50px;*/
}

.top.full-width.pos-fixed {
    z-index: 50;
    top: 0;
}

.no-list {
    list-style: none;
    padding-left: 0;
}

.height-100 {
    height: 100%;
}

.btn {
    border-radius: 0;
    min-width: 70px;
    margin-top: 5px;
    margin-bottom: 5px;
}

label.error {
    display: none !important;
}

input.error {
    border-color: red !important;
}

.input-error {
    color: red !important;
}

.besigtigelses-rapport-opret .field-validation-error {
    color: red;
}

    .besigtigelses-rapport-opret .field-validation-error:before {
        content: "- ";
    }

input[type=text], input[type=number], input[type=tel], input[type=email], textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
}

label.custom-select {
    position: relative;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
}

    label.custom-select:after {
        content: "\f078";
        font-family: "FontAwesome";
        font-size: 11px;
        color: #aaa;
        right: 8px;
        top: 10px;
        padding: 0 0 2px;
        position: absolute;
        pointer-events: none;
    }

    label.custom-select:before {
        content: '';
        right: 4px;
        top: 0;
        width: 23px;
        height: 18px;
        position: absolute;
        pointer-events: none;
        display: block;
    }
/*** TOP BAR ***/

.container-fluid.pos-fixed {
    z-index: 1000;
    top: 0;
}

.top {
    z-index: 2;
}

a.custombtn {
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    padding: 5px;
    display: block;
    text-decoration: none;
    text-align: center;
    background-color: #E7E7E7;
    color: #000;
    margin-top: 2px;
}

    a.custombtn:hover {
        background-color: #BEBEBE;
    }

a.logout {
    background-color: #51ba20;
    color: #FFF;
}

    a.logout:hover {
        background-color: #09862e;
    }

.user-info-box {
    display: none;
    max-width: 320px;
    top: 40px;
    right: 0;
    z-index: 2;
}

.main-content {
    height: 100%;
}
/*** MAIN NAVIGATION ***/

.nav > li > a.active, .dropdown-menu > li > a.active, .navbar-inverse .navbar-nav > li > a:hover, .dropdown-menu > li > a:hover {
    color: white;
    background-color: rgb(100,100,100);
}

@media screen and (max-width:767px) {
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: white;
    }

        .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
            background-color: Rgb(100, 100, 100);
        }
}

.nav-page-name {
    color: #fff;
    float: left;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
}

.main-navigation {
}

    .main-navigation li {
    }

    .main-navigation a { /*-webkit-transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out; transition: all 0.25s ease-in-out;*/
    }

        .main-navigation a:hover {
            border-color: #0094ff;
        }

        .main-navigation a:hover, .main-navigation a:visited, .main-navigation a:active {
            background-color: #222 !important;
            box-shadow: inset 0px 0px 4px #222;
        }

.cal-button {
}

input, textarea, select {
    box-shadow: none !important;
}

.form-wrapper {
    float: left;
    width: 100%;
    position: relative;
}

.form-control {
    border-radius: 0;
    border-color: #e7e7e7;
    box-shadow: none;
    min-height: 40px;
}

    .form-control select {
        width: 100%;
    }

    .form-control.submit {
        height: auto;
        border: none;
    }

.loginpage .form-control {
    height: auto;
    outline: none;
}

.form-control:focus {
    border-color: #ccc;
}

.submit-btn {
    background-color: #ddd;
}

.invoice-btn {
    background-color: #fff;
    border: 2px solid #0094ff;
    color: #0094ff;
    font-weight: bold;
}

    .invoice-btn:hover {
        color: #0094ff;
        font-weight: bold;
    }

    .invoice-btn:before {
        content: "\f00c";
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        text-decoration: inherit;
        color: #51ba20;
        margin-right: 0.25em;
    }

.history-table-external-link {
    cursor: pointer;
}

    .history-table-external-link span:after {
        content: "\f08e";
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        text-decoration: inherit;
        margin-left: 0.25em;
    }
/*.timePicker { width: 110px; text-align: center; display: inline-block; }*/

body.loginside {
    margin-top: 0;
}

.login-box {
    box-shadow: 0 3px 10px #000;
    border-radius: 2px;
}

.login-container {
    background-color: #D4D4D4;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #c1c1c1;
    border-radius: 2px;
    padding: 15px;
    font-size: 16px;
}

    .login-container label {
        width: 100%;
    }

    .login-container input {
        width: 100%;
        padding: 5px 5px;
        font-size: 14px;
        border: 1px solid #c1c1c1;
    }

    .login-container .btn {
        background-color: #fff;
    }

.updated {
    display: none;
}

.task-inner {
    display: flex;
    justify-content: space-between;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

    .task-inner.cut-span span {
        overflow: hidden;
        white-space: nowrap;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: block;
    }

.task-btn {
    bottom: 20px;
    width: 85%;
}

.task-status {
    top: 10px;
    right: 10px;
}

.emp-times-singleitem {
    border: 1px solid #e7e7e7;
}

.emp-item label:active {
    border-color: #09862e;
}

.row.table-row > [class*="col-"].custom {
    background-color: lightgrey;
    text-align: center;
}

.modal-table-invoice {
    padding: 0;
}

    .modal-table-invoice .alert {
        margin: 15px;
    }

    .modal-table-invoice table th:first-child {
        padding-left: 15px;
    }

    .modal-table-invoice table th:last-child {
        padding-right: 15px;
    }

    .modal-table-invoice table td:first-child {
        padding-left: 15px;
    }

    .modal-table-invoice table td:last-child {
        padding-right: 15px;
    }

    .modal-table-invoice table td.number, table td.number {
        text-align: right;
    }

.table-clickable tbody tr {
    cursor: pointer;
}

.td-with-btn-small {
    padding: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
}
.td-with-btn-small .btn-small {
    margin: 0 !important;
    padding: 0 10px !important;
    min-width: 0 !important;
}

.td-with-btn-small .btn-small span {
    margin-left: .5em !important;
    font-size: .85em !important;
}

/*Choice lists*/

.choice-list {
    height: 400px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 15px 10px;
    -webkit-overflow-scrolling: touch;
}

    .choice-list li {
        border-radius: 0;
    }

        .choice-list li:last-child {
            margin-bottom: 0;
        }
/*Signature pad*/

.m-signature-pad {
    height: auto;
    width: 100%;
}

.m-signature-pad-body canvas {
    width: 100%;
    height: 400px;
    border: 1px solid #ccc;
    position: relative;
    z-index: 1;
}

.m-signature-pad-body img {
    position: relative;
    z-index: 1;
}

.m-signature-pad-body {
    position: relative;
}

    .m-signature-pad-body.sigIsSaved canvas {
        border: 3px solid green;
    }

.m-signature-pad-signature-disclaimer {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    text-align: center;
    font-size: 24px;
    color: #dadada;
    z-index: 0;
}

.m-signature-pad-signature-line {
    position: absolute;
    bottom: 25%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    border-top: 1px solid #dadada;
    color: #dadada;
    font-size: 18px;
    z-index: 0;
}
/* Task list */

.task-list-emp {
    margin-top: 5px;
    padding: 0;
    list-style-type: none;
}

    .task-list-emp li {
        margin-bottom: 2px;
    }

.task-list-done {
    text-align: center;
    color: #0094ff;
    font-size: 120%;
    font-weight: bold;
    border: 2px dotted #0094ff;
    padding: 2px 0 2px 0;
    border-radius: 8px;
}


.task-box-done {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: #54a2e4;
    font-size: 120%;
    font-weight: bold;
    border: 2px dotted #54a2e4;
    padding: 6px 0;
    border-radius: 8px;
}


.task-box-not-done {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: #fff;
    font-size: 120%;
    font-weight: bold;
    border: 2px dotted #54a2e4;
    background-color: #54a2e4;
    padding: 6px 0;
    border-radius: 8px;
}

.task-box-plannedsighting {
    display: block;
    text-decoration: none !important;
    background-color: #ff00cf;
    color: #fff;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    text-align: center;
}


/*Besigtigelsesrapport*/

.besigtigelses-rapport {
}

.inline {
    display: inline !important;
}

.inspection-reports {
    position: relative;
}

    .inspection-reports a:hover, .inspection-reports a:focus, .inspection-reports a:active {
        text-decoration: none;
    }

.transferred {
    position: absolute;
    top: 20px;
    right: 20px;
}

a.remove-link-styles {
    color: initial;
    text-decoration: none;
}

    a.remove-link-styles:hover {
        color: initial;
        text-decoration: none;
    }

a.color-blue-add-link-style {
    color: rgb(0, 118, 208);
    font-size: .75em;
    vertical-align: top;
    display: inline-block;
    padding: 2px 0 0 5px;
    text-transform: capitalize;
    text-decoration: none;
    cursor: pointer;
}

    a.color-blue-add-link-style:hover {
        color: rgb(0, 94, 166);
    }

.job-form-bottom-nav {
    display: flex;
    -o-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
                     flex-direction:row;
}

/* Large Devices, Wide Screens */

@media only screen and (max-width : 1200px) {
}
/* Medium Devices, Desktops */

@media only screen and (max-width : 992px) {
}
/* Small Devices, Tablets */

@media only screen and (max-width : 768px) {
    #site { /*padding-top: 150px;*/
    }

    .job-form-bottom-nav {
        flex-direction: column;
    }

    .form-wrapper {
        margin-bottom: 180px;
    }
}
/* Extra Small Devices, Phones */

@media only screen and (max-width : 480px) {
    .task-preview {
        width: 100%;
    }
}
/* Custom, iPhone Retina */

@media only screen and (max-width : 320px) {
}


.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
    z-index: 1050;
}
