﻿body {
    background: #f9f9f9;
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
}
h1, h2 {
    font-weight: 600;
    color: #242A36;
}

.preloader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url("/Content/cos/images/loader.svg") center no-repeat #ffffff60;
}

h5.card-title{
    font-size: 1.1rem;
    font-weight: bold;
}

.sticky-top .btn {
    font-size: .8rem;
    min-width: 100px;
}
.top-bar{
    margin: 10px 0;
}

.bg-cos-success {
    background-color: #11c190;
}

a.work-order-link .work-order-id{
    font-weight: 600;
}

li.breadcrumb-item {
    color: #a4a4a4;
}

a.work-order-link {
    color: inherit;
    display: block;
}

a.work-order-link td {
    text-align: right;
}

a.work-order-link:hover {
    text-decoration: none;
}
a.work-order-link:hover .card, a.work-order-link:active .card {
    border-color: #11C190;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: none;
}

.accordion-button:not(.collapsed) {
    background-color: #e7f5f1;
}

.card-header {
    background-color: #e7f5f1;
}

.card-tooltip, .step .icon {
    position: absolute;
    right: 10px;
    top: 12px;
}

.step.locked {
    background-color: #e9e9e9;
}

/*.step.locked table, .step.locked h4 {
    color: #6c757d;
}*/

.completed .icon i {
    color: #28a745 !important;
}
.assigned-to-other .icon i {
    color: #dc3545 !important;
}
.card-title .location {
    font-weight: 400;
    font-size: .8rem;
    padding: 0;
}
.card-title .badge-light{
    background-color: #fff;
}
.breadcrumb-item i {
    padding-right: .2rem;
}

.current {
    background: #11C190;
    box-shadow: 0 0 0 rgba(17,193,144, 0.5);
    animation: pulse 2s infinite;
}

.scan-success {
    background: #11C190;
    box-shadow: 0 0 0 rgba(17,193,144, 0.5);
    animation: pulse 2s infinite;
    animation-iteration-count: 1;
}

.bg-light.current {
    background: #fff !important;
}
.pulse:hover {
    animation: none;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(17,193,144, 0.5);
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(17,193,144, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(17,193,144, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(17,193,144, 0.5);
        box-shadow: 0 0 0 0 rgba(17,193,144, 0.5);
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(17,193,144, 0);
        box-shadow: 0 0 0 10px rgba(17,193,144, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(17,193,144, 0);
        box-shadow: 0 0 0 0 rgba(17,193,144, 0);
    }
}

.step .badge{
    font-size: 14px;
}

.work-order-link .badge{
    text-align: left;
    font-size: 12px;
}

.card .badge.location {
    vertical-align: middle;
    margin-top: -0.3em;
}
.breadcrumb {
    background: none;
    background: none;
    padding: 0;
    margin: 0;
    justify-content: space-evenly;
}

.breadcrumb-item.active {
    font-weight: bold;
    text-decoration: underline;
    margin: 0;
    color: #6c757d;
}
.preview {
    display: inline-block;
    position: relative;
}
form .error {
    color: #fd6674;
    font-size: small;
}

a#start-scan, a#stop-scan {
    padding: 12px 15px 12px 15px;
    align-self: center;
}
#loading {
    position: absolute;
    top: 10%;
    left: 28%;
    font-size: 3rem;
    color: #bcbcbc;
}

legend{
    padding: 0 5px;
    background: #fff;
    font-size: inherit;
    margin-bottom: 0;
    font-weight: bold;
}
#previewImage {
    max-width: 120px;
    height: 90px;
}
#previewImage.no-img {
    background-image: none;
}
button[disabled]:hover{
    cursor:not-allowed;
}

label:hover{
    cursor: pointer;
}

.top-bar ul{
    list-style: none;
    padding: 0;
    font-size: 12px;
}
.top-bar ul li {
    display: inline-block;
    margin: 0 10px;
}
.logged-in{
    font-weight: bold;
    line-height: 2rem;
}

.step-img img{
    display: block;
    margin: 0 auto;
    height: 150px;
}
.form-signin .form-signin-heading {
    margin-bottom: 10px;
}

.form-signin .form-control
{
    position: relative;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.form-signin .form-control:focus
{
    z-index: 2;
}
.form-group {
    position: relative;
    margin-bottom: 15px;
}
.form-group .far {
    position: absolute;
    right: 15px;
    top: 16px;
    color: #999;
    z-index: 9999;
    font-size: 16px;
}
.form-control 
{
    width: 100%;
    height: 50px;
    border: none;
    padding: 5px 7px 5px 15px;
    background: #fff;
    color: #666;
    border: 2px solid #ddd;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.form-control:focus + .fa {
    color: #11C190;
}
::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.login-width {
    max-width: 400px;
}

.recovery-width {
    max-width: 600px;
}

video#preview.inactive {
    display: none;
}

.login-wrapper {
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
}

.login-wrapper h1 {
    font-size: 2rem;
    text-align: center;
    margin: 15px 0px 15px 0;
}
.login-title
{
    font-size: 22px;
    font-weight: 400;
    display: block;
}
.login-wrapper .form-control, .login-wrapper .btn {
    font-size: 14px;
}
.logo {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin-top: -98px;
    border: 10px solid rgba(233, 233, 233, 0.4);
}
.card-body h1{
    font-size: 1.4rem;
}
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}
#filesTable.table-sm td, #filesTable.table-sm th,
#notesTable.table-sm td, #notesTable.table-sm th,
#equipmentTable.table-sm td, #equipmentTable.table-sm th {
    white-space: nowrap;
}
#notesTable.table-sm td.note,
#equipmentTable.table-sm td.equipment {
    white-space: normal;
    min-width: 500px;
}
.top-banner-wrapper {
    background: #fff;
    border-bottom: 1px solid #afb9c1;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.25);
}
.nav-tabs .nav-item span, .nav-tabs .nav-link:hover {
    border-color: #bcbcbc;
    margin-right: 2px;
    border-bottom-color: #dee2e6;
}

.nav-tabs .nav-link {
    background: #fff;
}

.nav.nav-tabs {
    border-bottom: 1px solid #bcbcbc;
}

.nav-item i.far.fa-check {
    color: #11C190;
}

.nav-tabs .nav-link.active {
    border-color: #11C190;
    background: #11C190;
    color: #000;
}

.nav-tabs .nav-link.active.locked {
    border-color: #a4a4a4;
    border-bottom-color: #ededed;
}
.nav-tabs .nav-link.active.locked .far {
    color: inherit;
}

.nav-tabs .nav-item span.nav-link.complete {
    border: 1px solid #11c190;
    margin-right: 2px;
    border-bottom-color: #dee2e6;
}

.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.required::before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f069";
    color: red;
    font-size: x-small;
    vertical-align: super;
}

#message {
    display: none;
    margin-top: -5px;
    margin-bottom: 0;
}

#btnLogin:focus {
    outline: none;
}

.desc{
    font-size:16px;
    display: block;
}
.checkbox {
    padding-left: 5px;
}
.checkbox label{
    font-weight: bold;
}

[type="file"] {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    white-space: nowrap;
    width: 1px;
}

.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.icon.notes::before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f056";
}
.collapsed .icon.notes::before {
    content: "\f055";
}
    .rotate-90 {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.rotate-180 {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.rotate-270 {
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
}

.flip {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}

.flip-and-rotate-90 {
    -moz-transform: rotate(90deg) scaleX(-1);
    -webkit-transform: rotate(90deg) scaleX(-1);
    -o-transform: rotate(90deg) scaleX(-1);
    transform: rotate(90deg) scaleX(-1);
}

.flip-and-rotate-180 {
    -moz-transform: rotate(180deg) scaleX(-1);
    -webkit-transform: rotate(180deg) scaleX(-1);
    -o-transform: rotate(180deg) scaleX(-1);
    transform: rotate(180deg) scaleX(-1);
}

.flip-and-rotate-270 {
    -moz-transform: rotate(270deg) scaleX(-1);
    -webkit-transform: rotate(270deg) scaleX(-1);
    -o-transform: rotate(270deg) scaleX(-1);
    transform: rotate(270deg) scaleX(-1);
}
a[href^="http://maps.google.com/maps"] {
    display: none !important
}

a[href^="https://maps.google.com/maps"] {
    display: none !important
}

.gmnoprint a, .gmnoprint span, .gm-style-cc {
    display: none;
}

.step .table-sm td{
    width: 60%;
    vertical-align: middle;
}

.step .table-sm th{
    width: 40%;
}

.workorder dl{
    margin-bottom: .5rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.5rem;
    font-size: small;
}

.table tr:last-child {
    margin-bottom: 0;
}
.card .table{
    margin-bottom: 0;
}


/*filtering*/

.daterangepicker.auto-apply .drp-buttons{
    display: block;
}

.daterangepicker.auto-apply .drp-buttons .applyBtn{
    display: none;
}

.SumoSelect > .CaptionCont > span.placeholder {
    background-color: inherit;
    color: #000;
    opacity: .8;
}

.SumoSelect > .CaptionCont, input#from-filter::placeholder {
    color: #000;
    opacity: .8;
}

#workorder-filter-wrapper #filters, #workorder-filter-wrapper .filtering, #workorder-filter-wrapper #sorting {
    flex-wrap: wrap;
    display: flex;
}

#workorder-filter-wrapper .SumoSelect, #filters .btn, #from-filter {
    margin-left: 10px;
}

span.sorting, span.filter {
    font-weight: bold;
    min-width: 2rem;
}


.SumoSelect label {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 12px;
}

.SumoSelect > .CaptionCont {
    border-radius: 4px;
    color: #000;
    opacity: .8;
}

#workorder-filter-wrapper .SumoSelect{
    width: auto;
}

#workorder-filter-wrapper .SumoSelect.sumo_street-filter, #workorder-filter-wrapper .SumoSelect.sumo_group-filter {
    width: 150px;
}

#workorder-filter-wrapper input[type=text] {
    height: 36px;
    border: 1px solid #A4A4A4;
    font-style: italic;
    padding-left: 8px;
}

.workorder .assigned-to-other, .workorder .completed {
    display: none;
}

.completed.show {
    display: table-row;
}

.completed.show th {
    background: linear-gradient(90deg, rgba(17,193,144,0.1) 0%, rgba(255,255,255,0) 70%);
}

.assigned-to-other.show {
    display: table-row;
}

.not-completed.show th{
    background: linear-gradient(90deg, rgba(255,0,0,0.1) 0%, rgba(255,255,255,0) 70%);
}

.assigned-to {
    font-weight: 500;
    font-size: small;
    font-style: italic;
}

#workorder-filter-wrapper input[value] {
    color: #666;
    font-style: italic;
}

#from-filter {
    border-radius: 4px;
}

.clearfix {
    display: block;
    clear: both;
    content: "";
}

::placeholder {
    color: #ccc;
}

.asc-desc{
    cursor: pointer;
}

.recaptcha-terms {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: xx-small;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* Speed test */

span.measure-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-left: 24px;
    color: rgb(78,78,78);
}

#speed-test-success, #speed-test-error {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#speed-test-btn {
    align-self: center;
    padding: 10px 60px;
    font-size: 1.2rem;
}

@media only screen and (max-width: 1150px) {
    #workorder-filter-wrapper #sorting {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

@media (max-width: 767px) {

    #workorder-filter-wrapper .btn, .vetro-link, .download-report {
        margin: 0 0 10px 0;
        display: block;
        width: 100%;
    }

    #workorder-filter-wrapper .SumoSelect, #workorder-filter-wrapper #from-filter {
        flex-basis: 100%;
        margin: 0 0 10px 0;
    }

    #workorder-filter-wrapper #filters, #workorder-filter-wrapper #sorting {
        flex-basis: 100%;
    }

    #workorder-filter-wrapper #sorting .SumoSelect {
        flex-basis: calc(100% - 32px);
        margin: 0;
    }
}

@media screen and (max-width: 479px) {
    .navbar {
        justify-content: center;
        flex-direction: column;
    }

    .navbar .buttons {
        margin-bottom: .5rem;
    }

    .workorder table tr, .step table tr {
        display: block;
    }

    .workorder .table td, .workorder .table th,
    .step .table td, .step .table th {
        display: block;
    }
    a.work-order-link td{
        text-align: left;
    }

    .step .table-sm td {
        width: 100%;
    }

    .step .table-sm th {
        width: 100%;
    }

    .table th {
        padding-top: 0.5rem;
    }

    .table td {
        border-top: none;
    }

    table td:last-child {
        border-bottom: 0;
    }
}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
    .nav-tabs .nav-item {
        flex-basis: 100%;
        text-align: center;
    }

    .nav-tabs .nav-link {
        border-radius: .25rem;
    }

    .nav-tabs .nav-item span.nav-link.complete, .nav-tabs .nav-link.active {
        border-color: #11c190;
    }

    .nav-tabs {
        border-bottom: none;
    }

    table.step, table.step thead, table.step tbody, table.step th, table.step td, table.step tr {
        display: block;
    }

    .workorder .table-sm th, .ticket .table-sm th, .workorder .table-sm td, .ticket .table-sm td {
        width: auto;
    }

    table.step td {
        border: none;
        position: relative;
        padding: .3rem .3rem .5rem;
    }

    table.step th {
        padding: .5rem .3rem 0rem;
    }
}

