/* Banners em modo carrossel */
html, body {
    font-family: 'Roboto', 'Lato', sans-serif;
    height: 100vh; 
} 
.titulo {
    font-family: 'Roboto'!important;
    font-size:1.3em!important;
}
@import "compass/css3";
@keyframes carousel{
    0%    { left:0; }
    11%   { left:0; }
    12.5% { left:-100%; }
    23.5% { left:-100%; }
    25%   { left:-200%; }
    36%   { left:-200%; }
    37.5% { left:-300%; }
    48.5% { left:-300%; }
    50%   { left:-400%; }
    61%   { left:-400%; }
    62.5% { left:-300%; }
    73.5% { left:-300%; }
    75%   { left:-200%; }
    86%   { left:-200%; }
    87.5% { left:-100%; }
    98.5% { left:-100%; }
    100%  { left:0; }
  /* daqui: https://csswizardry.com/2011/10/fully-fluid-responsive-css-carousel/ */
}
@keyframes go {
  0%    {  }
  100%  { left:-300%; }
}
@keyframes back {
  0%    { left:0; }
  100%  { left:100%; }
}
/* html, body {
    height:100%
} */
:root {
    --banner-article-width: 20%;
    --banner-panels-height: 100%;
    --banner-panels-width : 100%;
    --banner-section-width: 100%;
    --login-section-height: 25%;
    --banner-section-height:100%;
}
.panels {
    height   : var(--banner-section-height);
    width    : var(--banner-section-width ); 
    overflow : hidden;
    animation: carousel 20s infinite;
    position : relative;
}
article {
    float : left; 
    width : var(--banner-article-width); 
}
.section-carousel {
    height: var(--banner-panels-height);
    width : var(--banner-panels-width ); 
    overflow:hidden;
    opacity: 0.20;
}
.img-carousel { 
    height: var(--banner-panels-height); 
    width : var(--banner-panels-width );
}
input[type=checkbox]:checked ~ .panels {
    animation-play-state:paused; 
    animation: go 10s
}
.section-login {
    margin-top: -65vh;
    height : var(--login-section-height);
    display: flex;
    align-items: center;
}
.background-image {
    background-size: cover;
    background-position: center center;
    /* background-image: linear-gradient(white, #1A767F); */
}
.background-login {
    background: #fff;
    opacity: 0.90;
    padding: 25px;
    border-radius: 6px;
}
.status-validando {
    float: left;
    margin-left: 28px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
    color: white;
}
.status-validado {
    float: left;
    margin-left: 12px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
    color: white;
}
.mgt-5 {
    margin-top:5px;
}
.mgt-10 {
    margin-top:10px;
}
.mgt-15 { 
    margin-top:15px;
}
.mgt-18 {
    margin-top:18px;
}
/* Botão expandir de sub-detalhe datatable */
td.details-control {
    background: url('./imgs/details-open.png') no-repeat center center;
    cursor: pointer;
}
/* Botão recolher de sub-detalhe datatable */
tr.shown td.details-control {
    background: url('./imgs/details-close.png') no-repeat center center;
}
/* Botão de opções de itens de OS */
.list-inline li {
    height: 10px;
    width: 32px;
    font-size: 1.8em;
    color: #fff;
    padding: 0 5px;
}
/* Botão de opções de itens de OS */
.list-inline li a {
    color: #fff;
}
/* Alertas de mensagens de OS */
.coluna-status .badge {
    position: relative;
    top: -5px;
    left: -10px;
    background: red;
}
/* Alertas de mensagens de OS */
.list-inline li a i .badge {
    position: relative;
    top: -32px;
    left: 10px;
    background: red;
}
/* Botão flutuante */
.fab{
    position: fixed;
    bottom:5px;
    right:5px;
}
.fab button{
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    background-color: #3C8DBC;
    border: none;
    box-shadow: 0 1px 5px rgba(0,0,0,.4);
    font-size: 24px;
    color: white;
    -webkit-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    transition: .2s ease-out;
}
.fab button:focus{
    outline: none;
}
.fab button.main{
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background-color: #3C8DBC;
    right: 0px;
    bottom: 0px;
    z-index: 20;
}
.fab.show button.main,
.fab.show button.main{
    outline: none;
    background-color: #3C8DBC;
    box-shadow: 0 3px 8px rgba(0,0,0,.5);
}
.fab button.main:before{
    font-family: FontAwesome;
    content: "\f0c9";
}
.fab .badge{
    position: absolute;
    top: -5px;
    right: 0px;
    background: red;
}
.fab.show button.main:before,
.fab.show button.main:before{
    font-family: FontAwesome;
    content: "\f00d";
}
.fab.show button.main + ul,
.fab.show button.main + ul{
    bottom: 60px;
}
.fab.show button.main + ul li,
.fab.show button.main + ul li{
    margin-bottom: 10px;
    opacity: 1;
}
.fab.show button.main + ul li:hover label,
.fab.show button.main + ul li:hover label{
    border-radius: 3px;
    opacity: 1;
    height: 30px;
    margin-right: 5px;
    width: auto;
}
.fab ul{
    position:relative;
    bottom: 0;
    right: 0;
    padding:0;
    padding-right:5px;
    margin:0;
    list-style:none;
    z-index:10;
    
    -webkit-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    transition: .2s ease-out;
}
.fab ul li{
    display: flex;
    justify-content: flex-start;
    position: relative;
    margin-bottom: -50%;
    opacity: 0;
    
    -webkit-transition: .3s ease-out;
    -moz-transition: .3s ease-out;
    transition: .3s ease-out;
}
.fab ul li label{
    margin-right:10px;
    white-space: nowrap;
    display: block;
    margin-top: 10px;
    padding: 5px 8px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    border-radius:3px;
    height: 24px;
    font-size: 14px;
    pointer-events: none;
    opacity:0;
    
    -webkit-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    transition: .2s ease-out;
}
/* Gif de carregamento */
.lds-dual-ring.hidden { 
    display: none;
}
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 25% auto;
    border-radius: 50%;
    border: 10px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.8);
    z-index: 999;
    opacity: 1;
    transition: all 0.5s;
}
/* Chatbox */
.chat
{
    list-style: none;
    margin: 0;
    padding: 0;
}
.chat li
{
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #B3A9A9;
}
.chat li.left .chat-body
{
    margin-left: 60px;
}
.chat li.right .chat-body
{
    margin-right: 60px;
}
.chat li .chat-body p
{
    margin: 0;
    color: #777777;
}
.panel .slidedown .glyphicon, .chat .glyphicon
{
    margin-right: 5px;
}
.panel-body
{
    overflow-y: scroll;
    height: 250px;
}
::-webkit-scrollbar-track
{
    box-shadow: 0 3px 8px rgba(0,0,0,.5);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}
::-webkit-scrollbar
{
    width: 12px;
    background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb
{
    box-shadow: 0 3px 8px rgba(0,0,0,.5);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}
/* TextArea auto height */  
#chatbox {
    display: flex;
    flex-direction: column;
    height: 100%;
}
#div-mensagem {
    margin: 0;
    padding: 10px 10px;
    height: 20px;
    border-top: 1px solid gray;
    background-color: #eee;
}
#txt-mensagem {  
    overflow: hidden;
    margin:  0;
    padding: 0;
    border:  0;
    outline: 0;
    width: 100%;
    font-size: 15px;
    resize: none;
}
  
 /** DM */ 
div.slider {
    display: none;
}
table.dataTable tbody td.no-padding {
    padding: 0;
}
.callout {
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #eee;
    border-left-width: 10px;
    border-radius: 5px;
}
.callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.callout p:last-child {
    margin-bottom: 0;
}
.callout code {
    border-radius: 3px;
}
.callout + .bs-callout {
    margin-top: -5px;
}
.callout-FASE-INDEFINIDA {
    border-left-color: #777;
}
.callout-FASE-INDEFINIDA h4 {
    color: #777;
}
.fases .collapse.in { 
    overflow: visible; 
}
/** config modal  */
.modal-header{
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-content{
    border-radius: 8px;
}

/* Modal clean */
.chat-modal {
    border-radius: 16px;
    overflow: hidden;
    background: #f6f7fb;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.chat-header {
    background: #0d6efd;
    padding: 12px 16px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

/* Body */
.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Bolhas */
.chat-message {
    display: flex;
    gap: 10px;
    max-width: 80%;
    animation: fadeIn 0.15s ease-in-out;
}

.chat-message.self {
    margin-left: auto;
    flex-direction: row-reverse;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.07);
}

.chat-message.self .chat-bubble {
    background: #d1e7ff;
}

/* Footer */
.chat-footer {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-top: 1px solid #e1e1e1;
}

.chat-input {
    flex: 1;
    resize: none;
    height: 42px;
    max-height: 120px;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
}

/* Botão enviar */
.chat-send-btn {
    height: 42px;
    width: 62px;
    margin-left: 10px;
    background: #0d6efd;
    color: white;
    border: none;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Avatar das mensagens */
.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.radio-blue {
  display: inline-block;
  position: relative;
  padding: 0 6px;
  margin: 10px 0 0;
}
.radio-blue input[type='radio'] {
  display: none;
}
.radio-blue label {
  color: #666;
  font-weight: normal;
}
.radio-blue label:before {
  content: " ";
  display: inline-block;
  position: relative;
  top: 5px;
  margin: 0 5px 0 0;
  width: 20px;
  height: 20px;
  border-radius: 11px;
  border: 2px solid #004c97;
  background-color: transparent;
}
.radio-blue input[type=radio]:checked + label:after {
  border-radius: 11px;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 9px;
  left: 10px;
  content: " ";
  display: block;
  background: #004c97;
}
.modal-footer ul{
    list-style-type: none;
    font-size: 1.0em;
    font-weight: bold;
}
/* Classes de passwords */
.pass{
    height: 25px;
    line-height: 25px;
    border-radius: 3px;
    padding-left: 8px;
    font-weight: bold;
}
.blankpass{
    background: transparent;
    color: transparent;
}
.weakpass{
    background: red;
    color: #fff;
}
.stillweakpass{
    background: yellow;
    color: #000;
}
.goodpass{
    background: orange;
    color: #fff;
}
.strongpass{
    background: green;
    color: #fff;
}
.vrystrongpass{
    background: #2bda2b;
    color: #fff;
}
/* Classes de status */
.status-panel{
    height: 25px;
    line-height: 25px;
    border-radius: 3px;
    padding-left: 8px;
    font-weight: bold;
}
.status-blank{
    background: transparent;
    color: transparent;
}
.status-failed{
    background: red;
    color: #fff;
}
.status-info{
    background: yellow;
    color: #000;
}
.status-warning{
    background: orange;
    color: #fff;
}
.status-success{
    background: green;
    color: #fff;
}
.status-available{
    background: #2bda2b;
    color: #fff;
}
.avatar {
    position             : relative;
    float                : left;
    margin-top           : 0em;
    margin-right         : 0em;
    -webkit-border-radius: 50%;
    -moz-border-radius   : 50%;
    border-radius        : 50%;
    -webkit-box-shadow   : 0 0 0 3px #fff, 0 0 0 4px #999, 0 2px 5px 4px rgba(0,0,0,.2);
    -moz-box-shadow      : 0 0 0 3px #fff, 0 0 0 4px #999, 0 2px 5px 4px rgba(0,0,0,.2);
    box-shadow           : 0 0 0 3px #fff, 0 0 0 4px #999, 0 2px 5px 4px rgba(0,0,0,.2);
}
.btn-small-success-aprovacao {
    color           : white;
    background-color: #00a65a;
    border-color    : #008d4c;
    border-radius   : 10px;
    font-weight     : bold;
    white-space     : normal;
    display         : inline-flex;
    box-shadow      : rgb(93, 93, 93) 3px 3px 3px;
}
.btn-large-success-aprovacao {
    color           : white;
    background-color: #00a65a;
    border-color    : #008d4c;
    border-radius   : 10px;
    font-weight     : bold;
    white-space     : normal;
    align-items     : center;
    display         : inline-flex;
    min-width       : 135px;
    max-width       : 135px;
    box-shadow      : rgb(93, 93, 93) 3px 3px 3px;
} 

.badge.pull-left.success-aprovacao {
    background   : #007bff;
    color        : white;
    margin-right : 0px;
    font-size    : 12px;
    padding      : 4px 7px;
    border-radius: 10px;
    display      : inline-flex;
    align-items  : center;
}

.badge.pull-left.cancel-aprovacao {
    background   : #c8237e;
    color        : white;
    margin-right : 0px;        /* espaço entre o badge e o texto */
    font-size    : 12px;
    padding      : 4px 7px;
    border-radius: 10px;
    display      : inline-flex;
    align-items  : center;      /* centraliza verticalmente o número */
}

.fa-check.success-aprovacao {
    position   : relative;
    display    : inline-flex;
    align-items: center;
    color      : white;
    top        : 50%;
    left       : -1%;
}

.aprovacao-wrapper {
    display    : flex;
    align-items: center;   /* Ícone alinhado verticalmente às linhas */
    gap        : 1px;             /* Espaço entre ícone e lista */
}

.aprovacao-icone {
    display        : flex;
    align-items    : center;
    justify-content: center;
}

.aprovacao-lista .linha {
    display    : flex;
    align-items: center;
    gap        : 3px;
}

.badge.pull-left {
    margin-right: 4px;
}

.aprovacao-lista .linha {
    display        : flex;
    justify-content: space-between; /* empurra badge para a direita */
    width          : 100%;
    font-size      : 14px;
    line-height    : 18px;
}

.aprovacao-lista .linha:first-child {
    font-weight  : bold;
    margin-bottom: 4px;
}


/* Footer fixo quando não tem barra de rolagem */
.wrapper {
    display       : flex;
    display       : -webkit-flex;
    flex-direction: column;  
    min-height    : 100vh;
}
.wrapper .content-wrapper {
    flex-grow: 1;
}
.wrapper footer {
    flex-basis: 40px;
    z-index: 0;
}
/* Botões close dos modais */
.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #ffe;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 1.0;
}
button.close {
    /* padding: 0; */
    cursor: pointer;
    background: 0 0;
    border: 1px;
    border-color: #ffe;
}
/* Botões do jsonconfirm */
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button {
    min-width: 220px;
}
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button {
    min-width: 220px;
}
/* textarea.form-control.custom {
    height: 300px;
} */

.etapas-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
    font-family: Arial, sans-serif;
}

.etapa {
    text-align: center;
    position: relative;
}

.etapa .circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 6px solid #9e9e9e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    font-size: 32px;
    font-weight: bold;
    color: #9e9e9e;
}
.etapa.concluida .circle {
    border-color: #2db34a;
    color: #2db34a;
}

.etapa .label {
    font-size: 15px;
    font-weight: 600;
    width: 100px;
    height: 50px;
    word-wrap: break-word;
    color: #555;
    display: block;
    white-space: normal;
}

.connector {
    height: 10px;
    flex-grow: 1;
    margin-top: -60px;
    border-top: 10px dotted #9e9e9e;
}

.connector.concluida {
    border-top: 10px solid #2db34a;
    border-radius: 50px;
}
