@import url(https://fonts.googleapis.com/css?family=Open+Sans&subset=latin,latin-ext);

html, body {
    padding: 0;
    margin: 0;
}

body{
    font-family: 'Open Sans', sans-serif;
}
.window-center{
    margin: 10% 33%;
}

.connectedSortable, #importacao, #exportacao{
    min-width: 20px;
    min-height: 20px;
}

#vincular_dupla_chosen{
    width: 85% !important;
}

.noresize {
    resize: none;
    height: 200px !important;
}

.thead-scoa {
    background-color: #E8EEF7;
    color: #4682b4;
}

.text-bold{
    font-weight: bold;
}

.text-white{
    color: #FFFFFF !important;
}

.bg-yellow{
    background-color: #FFF200;
    font-weight: bolder;
}

.bg-black{
    background-color: #000;
    color: #FFF;
    font-weight: bolder;
}

.bg-orange{
    background-color: rgba(255, 109, 37, 0.60)
}

.text-orange{
    color: #FF6D25
}

.bg-purple{
    background-color: rgb(75, 0, 130);
    color: #FFF;
}

.text-purple{
    color: rgba(143, 0, 236, 0.91)
}

.text-red{
    color: #FF0000;
}

.sinalizador-danger{
    background-color: rgba(255, 0, 0, 0.5);
}

.sinalizador-success{
    background-color: rgba(0, 127, 18, 0.5);
}

.sinalizador-info{
    background-color: rgba(0, 200, 255, 0.5);
}

.text-scoa{
    color: #4682B4;
}

.bg-scoa, 
.card-header {
    background-color: #4682B4 !important;
    color: #FFF !important;
    font-weight: 400;
}

.bg-red{
    background-color: #FF0000 !important;
    color: #FFFFFF;
    font-weight: bold;
}

.bg-gray{
    background-color: #CCCCCC;
    color: #555555;
    font-weight: bold;
}

.bg-firebrick{
    background-color: firebrick !important;    
}

.bg-green{
    background-color: darkgreen !important;
}


#ui-datepicker-div{
    z-index: 999999999 !important;
}

.transparent{
    background: transparent none repeat scroll 0 0;
    border: none;
    border-bottom: 0.05em solid #000;
    border-image: none;
    position: relative;
    width: 100%;
    text-align: center;
    font-weight: 100;
}

.none {
    display: none;
}

.pointer{
    cursor: pointer;    
}
.pointer:hover{
    text-decoration: underline;
    color: #0056b3;
}
.move{
    cursor: move;
}

.navbar-default .navbar-nav > li > a.color-white, .navbar-default .navbar-nav > li > a.color-white:hover{
    color: #fff;
    background-color: #4682B4;
}

.navbar-default .navbar-nav > li > a.btn-off, .navbar-default .navbar-nav > li > a.btn-off:hover{
    color: #fff;
    background-color: #FF0000;
}

input[type="file"] {
    height: auto;
}

p{
    margin: 10px 0;
}

#modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, 1 ) 50% 50% no-repeat;
}

#bg-loading {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 0, 0, 0, 0.6 ) 50% 50% no-repeat;
}

#loading-page {
    position: fixed;
    z-index: 9999999;
    top: 35%;
    left: 40%;
    height: 150px;
    width: 350px;
    background: rgba( 255, 255, 255, 1 ) 50% 50% no-repeat;
    border-radius: 10px;
}

#loading-dash{
    top: -22px;
    left: -30px;
    position: relative;
    width: 100%;
}

#loading-head {
    position: relative;
    top: -40px;
    text-align: center;
    font-size: 16px;
}

#loading-body {
    position: relative;
    top: -30px;
    text-align: justify;
    font-size: 14px;
    padding: 10px;
    height: 100px;
    width: auto;
}

#progressbar{
    top: 40%;
    left: 20%;
    position: relative;
    width: 60%;
    height: 4em;
}

#tabs li .ui-icon-close { float: left; margin: 0.4em 0.2em 0 0; cursor: pointer; }

div#tabs, ul.ui-widget-header { background: none !important; border: none !important }

ul.ui-widget-header {
    background-color: #1d2859 !important;
    border-color: #1d2859 !important;
}

.ui-datepicker-year, .ui-datepicker-month {color: #000}

.ui-draggable{
    width: 100% !important;
}

.modal-xl {
    width: 95%;
    height: 95%;
    overflow: auto;
}

.btn-right{
    float: right;
    top: -30px;
    position: relative;
    right: 30px;
}

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

.highcharts-button{
    display: none !important;
}

.input-sm-3 {
    width: 49%;
}

.fixed-top {
    position: fixed;
    z-index: 5;
    width: 100%;
    background-color: #FFF;
    margin-top: -20px;
}

.textarea-comunicacao{
    height: 100px !important;
}

.fa-comunicacao{
    font-size: 20px;
    padding: 5px;
}

.input-inline {
    margin-right: 10px;
}

.fixed{
  top:0;
  position:fixed;
  width:auto;
  display:none;
  border:none;
}

.notification {
    position: fixed;
    bottom: 0;
    right: 15px;
    background: #E23737;
    color: #fff;
    margin-left: 40px;
    padding: 10px;
    text-transform: uppercase;
    border: 1px solid #B52C2C;
    box-shadow: 2px -2px 0px rgba(0, 0, 0, 0.1);
    float: left;
    border-radius: 15px 15px 0 0;
}

.middle {
    text-align: center;
    vertical-align: middle !important;
}


.popover-crmx {
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1060;
    display: none;
    min-width: 450px;
    padding: 1px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: normal;
    letter-spacing: normal;
    line-break: auto;
    line-height: 1.42857143;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    white-space: normal;
    word-break: normal;
    word-spacing: normal;
    word-wrap: normal;
    font-size: 14px;
    background-color: #ffffff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.link {
    color: #007bff;
}

.link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn-clean-date {
    border: none;
    background: transparent;
    cursor: pointer;
    position: absolute;
    margin-top: -30px;
    right: 25px;
}

.btn-clean-date:active, .btn-clean-date:focus {
    outline: none;
}

.required {
    color: red;
    font-weight: bold;
}

label.error {
    color: red;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}
/* Participantes - layout clean */
#block_participantes{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.participante-row{
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr 38px;
    gap: 10px;
    align-items: center;

    padding: 10px;
    border: 1px solid #e8eef5;
    border-radius: 10px;
    background: #fafcff;
}

.participante-row input.form-control{
    border-radius: 8px;
    height: 34px;
}

.participante-row input.form-control:focus{
    box-shadow: 0 0 0 .15rem rgba(13,110,253,.15);
}

.remover-participante{
    border-radius: 10px;
    height: 34px;
    width: 38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border: 1px solid #e6e6e6;
}

.remover-participante:hover{
    background: #ffecec;
    border-color: #ffb3b3;
}

/* Responsivo (se a tela apertar) */
@media (max-width: 1200px){
    .participante-row{
        grid-template-columns: 1fr 1fr 1fr 38px;
    }
}
@media (max-width: 900px){
    .participante-row{
        grid-template-columns: 1fr;
    }
    .remover-participante{
        width: 100%;
    }
}

@media (max-width: 900px){
    .participante-row.catalogo-row{
        grid-template-columns: 1fr;
    }
    .participante-row.catalogo-row .d-flex{
        justify-content: stretch;
    }
    .participante-row.catalogo-row .btn{
        width: 100%;
    }
}


.participantes-header{
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr 38px;
    gap: 10px;
    align-items: center;

    padding: 6px 10px;
    margin-bottom: -4px;

    font-weight: 600;
    font-size: 12px;
    color: #6b7785;
    text-transform: uppercase;
}

.participante-row input {
    text-transform: uppercase;
}

/* Catï¿½logo: aï¿½ï¿½es precisam de mais espaï¿½o */
.catalogo-row{
    grid-template-columns: 1.2fr 1fr 1.4fr 110px;
}

.catalogo-row .btn{
    height: 34px;
}

/* Catï¿½logo: coluna de aï¿½ï¿½es maior */
.participante-row.catalogo-row{
    grid-template-columns: 1.2fr 1fr 1.4fr 170px; /* pode ajustar 150~220 */
}

/* Botï¿½es lado a lado sem quebrar */
.participante-row.catalogo-row .d-flex{
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.participante-row.catalogo-row .btn{
    height: 34px;
    padding: 6px 10px;
    white-space: nowrap;
}

/* ===== Compactaï¿½ï¿½o do bloco de Participantes ===== */

.card-participantes .card-header {
    font-size: 15px;
    padding: 10px 12px;
}

.card-participantes .card-header strong {
    font-weight: 600;
}

/* Inputs */
.card-participantes .form-control {
    font-size: 13px;
    height: 32px;
    padding: 4px 8px;
}

/* Inputs readonly (catï¿½logo) */
.card-participantes .form-control[readonly] {
    background-color: #eef1f4;
}

/* Botï¿½es */
.card-participantes .btn {
    font-size: 13px;
    padding: 4px 10px;
}

/* Botï¿½es pequenos (Adicionar / Remover) */
.card-participantes .btn-sm {
    font-size: 12px;
    padding: 3px 8px;
}

/* Cabeï¿½alho das colunas (Nome / Cargo / Empresa) */
.card-participantes .participantes-header {
    font-size: 12px;
    padding: 6px 0;
}

/* Espaï¿½amento entre linhas */
.card-participantes .participante-linha,
.card-participantes .participante-row {
    margin-bottom: 6px;
}

.card-participantes .catalogo-row > div:last-child {
    display: flex;
    justify-content: center;
}

/* Centraliza as colunas Nome / Cargo / Empresa (container) */
.card-participantes .participantes-header > div:not(:last-child) {
    text-align: center;
}

.card-participantes .catalogo-row > input {
    margin: 0 auto;
}

/* garante largura consistente */
.card-participantes .catalogo-row > input {
    width: 95%;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.mr-0 {
    margin-right: 0px;
  }
  
  .mr-1 {
    margin-right: 10px;
  }

  .mr-2 {
    margin-right: 20px;
  }

  .mr-3 {
    margin-right: 30px;
  }

  .mr-4 {
    margin-right: 40px;
  }

  .mr-5 {
    margin-right: 50px;
  }

  .ml-0 {
    margin-left: 0px;
  }
  
  .ml-1 {
    margin-left: 10px;
  }

  .ml-2 {
    margin-left: 20px;
  }

  .ml-3 {
    margin-left: 30px;
  }

  .ml-4 {
    margin-left: 40px;
  }

  .ml-5 {
    margin-left: 50px;
  }

.form-fields-bordered {
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    padding: 10px;
}

/* Botões padrão do CRMX */
.crmx-botoes .btn {
    font-size: 13px;
    padding: 4px 10px;
}

.crmx-botoes .btn-sm {
    font-size: 12px;
    padding: 3px 8px;
}

/* Ações futuras - compactar inputs e botões */
#card_acoes_futuras .form-control {
    height: 32px;
    padding: 4px 10px;
    font-size: 13px;
}

#card_acoes_futuras label {
    font-size: 13px;
}

/* Botões (herda card-participantes, mas garantimos aqui) */
#card_acoes_futuras .btn {
    font-size: 13px;
    padding: 4px 10px;
}

#card_acoes_futuras .btn-sm {
    font-size: 12px;
    padding: 3px 8px;
}

