html,
body {
    height: 100%;
}

.card,
.card-header:first-child,
.card-footer:last-child {
    border-radius: 0 !important;
}


.bg-nav {
    background-color: #1e344a !important;
    ;
}

.bold {
    font-weight: bold !important;

}

.italic {
    font-style: italic !important;
}

.text-link {
    color: #007bff;
}

.item-link:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5) !important;
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}


/* spinner */
.spinner {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0, 174, 239, .15);
    border-right: 6px solid rgba(0, 174, 239, .15);
    border-bottom: 6px solid rgba(0, 174, 239, .15);
    border-top: 6px solid rgba(0, 174, 239, .8);
    border-radius: 100%;
    z-index: 100;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

form div.required label:after {
    padding-left: 5px;
    content: "(obrigatório)";
    color: red;
    font-size: 0.7em;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -46px;
    padding: 0 0 45px;
}

.wrap>.container {
    padding: 70px 15px 20px;
}

.footer {
    height: 45px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.overlay.active {
    display: block;
    opacity: 1;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

.body-link:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5) !important;
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer !important;
}

.card-link:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 2px 2px #007bff !important;
    cursor: pointer !important;
}

.border-link:hover {
    box-shadow: 0 0 2px 2px #007bff !important;
    cursor: pointer !important;
}

.pointer:hover {
    cursor: pointer !important;
}

.text-bold {
    font-weight: bold !important;
}


.fs-2rem {
    font-size: 2rem;
}

.fs-s {
    font-size: small;
}

.fs-xs {
    font-size: x-small;
}

.fs-x {
    font-size: large;
}

.fs-xr {
    font-size: larger;
}

.fs-xl {
    font-size: x-large;
}

.fs-xxl {
    font-size: xx-large;
}

.fw-600 {
    font-weight: 600;
}

.glyphicon {
    font-family: "Font Awesome 5 Free";
    padding: 0 10px;
}

.glyphicon-eye-open:before {
    content: "\f06e";
    color: var(--success);
}

.glyphicon-pencil:before {
    content: "\f044";
    color: var(--primary);
}

.glyphicon-trash:before {
    content: "\f2ed";
    color: var(--danger);
}


label {
    margin-bottom: 0;
    font-size: small;
}

.card {
    background-color: #f8f9fa;
}

.breadcrumb {
    padding: 0.5rem 1rem;
    /*    background-color: #e5f2ff;*/
}

li.active {
    color: #000 !important;
}

.line-h1 {
    line-height: 1;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    opacity: 1;
    /* Firefox */
    font-style: italic !important;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    font-style: italic !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    font-style: italic !important;
}

.border-status {
    border-bottom: solid 2px rgb(191 185 185 / 55%);
}

/* Planning */
.resource-container {
    width: 100% !important;
    /*    overflow-x: auto;*/
    white-space: nowrap;
}

.resource-header-row {
    top: 0;
    position: sticky;
    z-index: 1;
    background-color: white;
    width: fit-content;
}

.main-services {
    max-height: 72vh;
    overflow: auto;
}

.service-detail-column {
    width: calc(100% - 420px);
    padding-left: 15px;
    padding-right: 2px;
}

.resource-column-large {
    width: 400px;
    min-width: 400px;
    padding-left: 2px;
    padding-right: 2px;
    border-right: dotted 2px #e0e0e0;
}

.customer-name {
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.col-fix-date {
    max-width: 200px;
}

.col-fix-sm {
    max-width: 100px;
    min-width: 100px;
    width: 100px;
}

.col-fix-100 {
    max-width: 100px;
    min-width: 100px;
    width: 100px;
}

.col-fix-150 {
    max-width: 150px;
    min-width: 150px;
    width: 150px;
}

.resource-column-small {
    width: 180px;
    min-width: 180px;
    padding-left: 2px;
    padding-right: 2px;
    border-right: dotted 2px #e0e0e0;
}

.resource-column {
    width: 300px;
    min-width: 300px;
    padding-left: 2px;
    padding-right: 2px;
    border-right: dotted 2px #e0e0e0;
}

.resource-header {
    padding-bottom: 2px;
    margin-bottom: 5px;
    /* border-bottom: dotted 2px #e0e0e0;*/
}

.card-service-header {
    min-height: 70px;
}

.card-service-item {
    margin-bottom: 10px;
    width: 100%;
}

.shadow-inset-1 {
    box-shadow: inset 0 0 60px #0062cc;
}

.shadow-inset-2 {
    box-shadow: inset 0 0 60px #212529;
}

.drag {
    cursor: move;
}

.bg-ghost {
    background-color: grey;
}

.text-overflow-elipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected {
    background-color: rgba(0, 123, 255, 0.5);
    /*    box-shadow: 0 0 2px 2px #000 !important;*/
}

.service-table-label {
    font-size: small;
    color: gray;
    text-align: right;
    padding-right: 5px;
}

.repair-compound {
    font-weight: 500;
    font-style: italic;
}

/*
  const Aguarda_Info      = '1';
  const Criado            = '2';
  const Em_Execução       = '3';
  const Programado        = '4';
  const Terminado         = '5';
  const Cancelado         = '6';
  const Arquivo           = '9';
  */

.service-status-stopped {
    background-color: rgb(255 0 0 / 0.15);
}

.service-status-1 {
    /*    border-color: #ffe600;*/
    background-color: rgb(255 230 0 / 0.15);
}

.service-status-2 {
    /*    border-color: #990099;*/
    background-color: rgb(153 0 153 / 0.15);
}

.service-status-3 {
    /*    border-color: #28a745;*/
    background-color: rgb(40 167 69 / 0.15);
}

.service-status-4 {
    /*    border-color: #ff6500;*/
    background-color: rgb(255 101 0 / 0.15);
}

.service-status-5 {
    /*    border-color: red;*/
    background-color: rgba(0, 42, 255, 0.15);
}

.service-status-6 {
    /*    border-color: #924b4b;*/
    background-color: #924b4b;
}

.service-status-9 {
    border-color: yellowgreen;
    background-color: rgb(154 205 50 / 0.15);
}

.service-badge-1 {
    background-color: #ffe600;
}

.service-badge-2 {
    background-color: #990099;
    color: #fff;
}

.service-badge-3 {
    background-color: #28a745;
    color: #fff;
}

.service-badge-4 {
    background-color: #ff6500;
    color: #fff;
}

.service-badge-5 {
    background-color: red;
}

.service-badge-6 {
    background-color: #924b4b;
    color: #fff;
}

.service-badge-9 {
    background-color: yellowgreen;
    color: #fff;
}


.col-repair-service {
    padding-left: 2px;
    padding-right: 2px;
    border-right: dotted 2px #e0e0e0 !important;
    border-left: dotted 2px #e0e0e0 !important;
}


/* Repair Status */

.repair-status-2{
    background-color: #ffffff !important;
}

.repair-status-3{
    background-color: #a4d0ff !important;
}

.repair-status-4{
    background-color: #8bdf99  !important;
}

.repair-status-5{
    background-color: #f895c7 !important;
}

.repair-status-6{
    background-color: #ffdf7f !important;
}

.repair-status-7{
    background-color: #9aa0a7 !important;
}

.repair-status-8{
    background-color: #ebb4f5 !important;
}

.repair-status-9{
    background-color: #fcbca2 !important;
}

/* timelline */
.timeline {
    counter-reset: seq 0;
    position: relative;
    padding-left: 0px;
}

.timeline li {
    list-style: none;
    float: left;
    width: 25%;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

ul:nth-child(1) {
    color: #17a2b8;
}

.timeline li:before {
    counter-increment: seq;
    content: counter(seq);
    width: 50px;
    height: 50px;
    border: 3px solid #17a2b8;
    border-radius: 50%;
    display: block;
    text-align: center;
    line-height: 42px;
    margin: 0 auto 10px auto;
    background: #F1F1F1;
    color: #17a2b8;
    transition: all ease-in-out .3s;
    /*        cursor: pointer;*/
    font-size: x-large;
}

.timeline li:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: grey;
    top: 25px;
    left: -50%;
    z-index: -999;
    transition: all ease-in-out .3s;
}

.timeline li:first-child:after {
    content: none;
}

.timeline li.active {
    /*        color: #555555;*/
    font-weight: 700;
}

.timeline li.active:before {
    background: #17a2b8;
    color: #F1F1F1;
}

.timeline li.active+li:after {
    background: #17a2b8;
}

.timeline li:hover {
    background: whitesmoke;
    box-shadow: 0 0 2px 2px #007bff !important;
}

.timeline li {
    padding: 10px;
    cursor: pointer;
}

/* fim timeline */



.face-border-dark {
    border: solid 1px black;
    padding: 1px;
}

.resource-image,
.face {
    border-radius: 50% !important;
    width: 50px;
    height: 50px;
}

.service-priority {
    background-color: #33691E;
    color: white;
}

.service-direct {
    background-color: #E91E63;
    color: white;
}

#table-mini .table th,
.table td {
    padding: 0.25rem 0.5rem;
}

.grid-buttons {
    text-align: center !important;
}

.grid-buttons>a {
    padding: 0px 8px;
}

.form-control-label {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
}

.srv-icon {
    color: #b2b2b2;
    font-size: x-small;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

.srv-icon::before {
    content: '\f013';
}

.btn-icon {
    border: 0;
    background-color: initial;
}

.btn-icon-primary {
    color: #007bff;
}

.btn-icon-primary:hover {
    color: #0069d9;
}

.bg-highlight{
    border-radius: 10px;
    padding: 0 5px;
    color: white;
    text-align: center;
}
