/*General config regular classes*/
input.form-control,select.form-select{
    cursor:pointer;
}
/*General custom classes*/
.btn-gray-border {
    border-color:var(--bs-border-color);
}  
.custom-sticky-bottom{
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    bottom:0;
    position:sticky;
    background-color: var(--bs-body-bg);
}
.input-edit{
    border:none;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
}
/*to change border when dragging file*/
.border-drag{
    border-color: var(--bs-body-color) !important;
}

/*custom deck widgets*/
button.deck-widget-custom .bi::before{
    color:var(--bs-secondary-color, #616166);
}
button.deck-widget-custom:hover .bi::before{
    color:var(--bs-body-color, rgb(24, 24, 26));
}

.border-on-hover {
  border: 1px solid transparent;
}
.border-on-hover:hover {
  border-color: var(--bs-body-color); /* Exemplo de cor do Bootstrap Primary */
}

/*toggle button*/
.form-check-input:checked {
    background-color: var(--bs-body-color);  /* Bootstrap primary */
    border-color: var(--bs-body-color);
}

.form-switch .form-check-input {
    cursor: pointer;
}

/*Tooltip section*/
.map-tooltip {
    position: absolute;
    z-index: 2;
    pointer-events: auto;
    max-width: 280px;
    display: none;
}
.tooltip-close {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}
.tooltip-content {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-family: Inter, Helvetica Neue, sans-serif;
    font-size: 13px;
    padding: 20px 48px 18px 20px;
    pointer-events: auto;
    max-width: 300px;
    border: 1px solid var(--bs-secondary-bg);
    line-height: 1.4;
    pointer-events: auto;
    /*max-height: 300px;
    overflow: auto;*/
}
.tooltip-content .tooltip-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--bs-body-bg);
}
/*For xxl modal with two panels on each side*/
.modal-dialog.modal-xxl{
    max-width: min(1360px, 90vw);
}
/*For button role inside cards - text muted that change on hover*/
.btn-highlight:hover{
    color: var(--bs-body-color) !important;
}
/*Buttons rewrite*/
.btn-outline-dark {
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-border-color: var(--bs-body-color);
    --bs-btn-hover-color: var(--bs-body-bg);
    --bs-btn-hover-bg: var(--bs-body-color);
    --bs-btn-hover-border-color: var(--bs-body-color);
    --bs-btn-focus-shadow-rgb: 33, 37, 41;
    --bs-btn-active-color: var(--bs-body-bg);
    --bs-btn-active-bg: var(--bs-body-color);
    --bs-btn-active-border-color: var(--bs-body-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-body-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-body-color);
    --bs-gradient: none;
}

.btn-dark {
    --bs-btn-color: var(--bs-body-bg);
    --bs-btn-bg: var(--bs-body-color);
    --bs-btn-border-color: var(--bs-body-color);
    --bs-btn-hover-color: var(--bs-body-bg);
    --bs-btn-hover-bg: var(--bs-secondary-color);/*#424649;*/
    --bs-btn-hover-border-color: var(--bs-secondary-color);/*#373b3e;*/
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: var(--bs-body-bg);
    --bs-btn-active-bg: var(--bs-secondary-color);/*#4d5154;*/
    --bs-btn-active-border-color: var(--bs-secondary-color);/*#373b3e;*/
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-body-bg);
    --bs-btn-disabled-bg: var(--bs-body-color);
    --bs-btn-disabled-border-color: var(--bs-body-color);
}

.btn-close {
    --bs-btn-close-color: var(--bs-body-color);
    --bs-btn-close-bg: '';
    --bs-btn-close-white-filter: none;
    font-size: 1.25rem;
    margin-top: 0.1rem; /*slight correction of upper bias*/
    display: flex;
    align-items: center;
    justify-content: center;    
}

.btn-close::before {
  content: "\f659";           /* Unicode for bi-x-lg */
  font-family: "bootstrap-icons";
  font-size: inherit;
  color: currentColor;
  display: inline-block;
}

/*Extent classes*/
.btn-close.btn-expand::before{
    content: "\F113";
}

.btn-close.btn-collapse::before{
    content: "\F114";
}

/*New bs5 icons*/
.bi-polygon::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='12 8 232 232' stroke='currentColor' stroke-width='7'><path d='M227.8,52.2a28,28,0,0,0-39.6,0h0a28,28,0,0,0-5.88,8.65l-34.55-9.42A28,28,0,0,0,100.2,28.2h0a28,28,0,0,0-3.47,35.36L57.92,98.49A28,28,0,0,0,20.2,100.2h0a28,28,0,0,0,39.6,39.6l.18-.19,75.31,55.23A28,28,0,1,0,173,183.2l29.55-83.75A28,28,0,0,0,227.8,91.8,28,28,0,0,0,227.8,52.2ZM105.86,33.86h0a20,20,0,1,1,0,28.28A20,20,0,0,1,105.86,33.86Zm-80,100.28a20,20,0,0,1,0-28.28h0a20,20,0,1,1,0,28.28Zm148.28,88a20,20,0,0,1-28.28-28.28h0a20,20,0,0,1,28.28,28.28Zm-8.69-41.59a28,28,0,0,0-25.25,7.65h0l-.18.19L64.71,133.16a28.06,28.06,0,0,0-1.44-28.72l38.81-34.93a28,28,0,0,0,43.6-10.36l34.55,9.42A28,28,0,0,0,195,96.8Zm56.69-94.41a20,20,0,0,1-28.28-28.28h0a20,20,0,0,1,28.28,28.28Z'/></svg>") no-repeat center;
  background-size: contain;
}

.bi-square-anchor::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' stroke='currentColor' stroke-width='0.25'><path d='M12.55 0C5.662 0 0 5.661 0 12.55c0 6.017 4.317 11.096 10 12.286v50.428c-5.683 1.19-10 6.27-10 12.287C0 94.44 5.661 100.1 12.55 100.1c6.047 0 11.09-4.374 12.241-10.1h50.455c1.152 5.732 6.253 10.1 12.305 10.1c6.65 0 12.105-5.288 12.478-11.852a3.5 3.5 0 0 0 .07-.697a3.5 3.5 0 0 0-.07-.697C99.703 81.117 95.495 76.356 90 75.246V24.854c5.495-1.11 9.703-5.87 10.03-11.606a3.5 3.5 0 0 0 .07-.697a3.5 3.5 0 0 0-.07-.697C99.655 5.29 94.201 0 87.55 0c-6.016 0-11.096 4.317-12.286 10H24.77C23.58 4.324 18.56 0 12.55 0zm0 7c3.107 0 5.55 2.444 5.55 5.55c0 3.107-2.443 5.55-5.55 5.55C9.445 18.1 7 15.657 7 12.55C7 9.445 9.444 7 12.55 7zm75 0c3.107 0 5.55 2.444 5.55 5.55c0 3.107-2.443 5.55-5.55 5.55c-3.106 0-5.55-2.443-5.55-5.55C82 9.445 84.444 7 87.55 7zM24.218 17h51.62A12.678 12.678 0 0 0 83 24.225v51.65A12.684 12.684 0 0 0 75.875 83h-51.7A12.64 12.64 0 0 0 17 75.838V24.262A12.638 12.638 0 0 0 24.217 17zM12.55 82c3.106 0 5.549 2.444 5.549 5.55c0 3.107-2.443 5.55-5.55 5.55C9.445 93.1 7 90.657 7 87.55C7 84.445 9.444 82 12.55 82zm75 0c3.106 0 5.549 2.444 5.549 5.55c0 3.107-2.443 5.55-5.55 5.55c-3.106 0-5.55-2.443-5.55-5.55c0-3.106 2.444-5.55 5.55-5.55z'/></svg>") no-repeat center;
  background-size: contain;
}

.bi-line-chart::before{
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-3 0 32 32' stroke='currentColor' stroke-width='0.5'><path d='M23.36 9.32c-1.32 0-2.36 1.080-2.36 2.36 0 0.28 0.040 0.56 0.12 0.8l-4.8 4.080c-0.32-0.2-0.72-0.28-1.16-0.28s-0.88 0.12-1.24 0.36l-2.72-2.2c0.080-0.24 0.12-0.44 0.12-0.72 0-1.32-1.080-2.36-2.36-2.36-1.32 0-2.36 1.080-2.36 2.36 0 0.36 0.080 0.68 0.2 0.96l-3.44 3.44c-0.28-0.12-0.64-0.2-0.96-0.2-1.32 0-2.36 1.080-2.36 2.36 0 1.32 1.080 2.36 2.36 2.36s2.36-1.080 2.36-2.36c0-0.36-0.080-0.68-0.2-0.96l3.44-3.44c0.28 0.12 0.64 0.2 0.96 0.2 0.44 0 0.88-0.12 1.24-0.36l2.76 2.12c-0.080 0.24-0.080 0.44-0.080 0.72 0 1.32 1.080 2.36 2.36 2.36s2.36-1.080 2.36-2.36c0-0.28-0.040-0.56-0.12-0.8l4.8-4.080c0.32 0.2 0.72 0.28 1.16 0.28 1.32 0 2.36-1.080 2.36-2.36-0.040-1.2-1.16-2.28-2.44-2.28zM2.36 21c-0.36 0-0.68-0.32-0.68-0.68 0-0.4 0.32-0.68 0.68-0.68s0.68 0.32 0.68 0.68c0 0.36-0.28 0.68-0.68 0.68zM8.24 13.76c0-0.4 0.32-0.68 0.68-0.68s0.68 0.32 0.68 0.68-0.32 0.68-0.68 0.68c-0.36 0-0.68-0.32-0.68-0.68zM15.2 19.28c-0.4 0-0.68-0.32-0.68-0.68s0.32-0.68 0.68-0.68 0.68 0.32 0.68 0.68c-0.040 0.4-0.28 0.68-0.68 0.68zM23.36 12.36c-0.36 0-0.68-0.32-0.68-0.68 0-0.4 0.32-0.68 0.68-0.68 0.4 0 0.68 0.32 0.68 0.68 0 0.4-0.32 0.68-0.68 0.68z'/></svg>") no-repeat center;
  background-size: contain;    
}

.bi-scatter-chart::before{
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='currentColor' stroke-width='0.5'><path d='M19.5 4.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1zm-2 5a1 1 0 1 0 1-1 1 1 0 0 0-1 1zm-10 8a1 1 0 1 0-1 1 1 1 0 0 0 1-1zm5-2a1 1 0 1 0 1-1 1 1 0 0 0-1 1zm0-8a1 1 0 1 0 1 1 1 1 0 0 0-1-1zM2 1H1v22h22v-1H2z'></path></svg>") no-repeat center;
  background-size: contain;    
}
.bi-circle-dashed::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32.00 32.00' stroke='currentColor' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'><path d='M14.155 29.125c-1.348-0.192-2.566-0.559-3.698-1.081l0.082 0.034c-0.091-0.042-0.197-0.066-0.309-0.066-0.414 0-0.75 0.336-0.75 0.75 0 0.302 0.179 0.563 0.437 0.682l0.005 0.002c1.169 0.543 2.525 0.95 3.947 1.155l0.079 0.009c0.030 0.005 0.064 0.008 0.099 0.008 0.002 0 0.004 0 0.005-0h-0c0.414-0 0.749-0.336 0.749-0.75 0-0.378-0.279-0.69-0.643-0.742l-0.004-0zM2.75 16.077c-0.002-0.413-0.337-0.746-0.75-0.746 0 0 0 0 0 0h-0.004c-0.413 0.002-0.746 0.337-0.746 0.75 0 0.001 0 0.003 0 0.004v-0c0.007 1.48 0.231 2.906 0.643 4.25l-0.027-0.104c0.096 0.312 0.381 0.535 0.719 0.535h0c0.001 0 0.001 0 0.002 0 0.076 0 0.149-0.011 0.218-0.033l-0.005 0.001c0.312-0.096 0.535-0.382 0.535-0.72 0-0.076-0.011-0.15-0.033-0.219l0.001 0.005c-0.345-1.113-0.547-2.394-0.553-3.721v-0.003zM2.332 12.862c0.061 0.019 0.13 0.029 0.203 0.029 0.001 0 0.002 0 0.004 0h-0c0.341-0 0.628-0.228 0.719-0.539l0.001-0.005c0.38-1.306 0.906-2.446 1.575-3.486l-0.031 0.052c0.073-0.114 0.117-0.253 0.117-0.402 0-0.414-0.336-0.75-0.75-0.75-0.265 0-0.498 0.137-0.631 0.345l-0.002 0.003c-0.71 1.101-1.296 2.371-1.693 3.723l-0.026 0.104c-0.018 0.062-0.029 0.133-0.029 0.207 0 0.34 0.227 0.628 0.538 0.719l0.005 0.001zM21.391 3.891c1.218 0.551 2.267 1.223 3.204 2.023l-0.018-0.015c0.13 0.113 0.302 0.181 0.489 0.181 0.414 0 0.75-0.336 0.75-0.75 0-0.229-0.103-0.435-0.265-0.572l-0.001-0.001c-1.023-0.874-2.192-1.622-3.456-2.197l-0.092-0.038c-0.090-0.042-0.196-0.066-0.307-0.066-0.414 0-0.749 0.335-0.749 0.749 0 0.305 0.182 0.567 0.443 0.684l0.005 0.002zM6.753 6.237c0.001 0 0.001 0 0.002 0 0.189 0 0.362-0.071 0.494-0.187l-0.001 0.001c0.909-0.804 1.946-1.493 3.071-2.028l0.080-0.034c0.258-0.122 0.433-0.381 0.433-0.68 0-0.414-0.336-0.75-0.75-0.75-0.115 0-0.224 0.026-0.322 0.072l0.005-0.002c-1.341 0.634-2.496 1.401-3.523 2.309l0.016-0.014c-0.157 0.138-0.255 0.339-0.255 0.563 0 0.414 0.336 0.75 0.75 0.75 0 0 0 0 0 0v0zM4.885 23.217c-0.136-0.207-0.367-0.342-0.629-0.342-0.414 0-0.75 0.336-0.75 0.75 0 0.152 0.045 0.293 0.123 0.411l-0.002-0.003c0.791 1.205 1.703 2.242 2.741 3.138l0.019 0.016c0.131 0.113 0.302 0.182 0.489 0.182h0c0.414-0.001 0.749-0.336 0.749-0.75 0-0.227-0.1-0.43-0.259-0.567l-0.001-0.001c-0.95-0.819-1.77-1.751-2.45-2.784l-0.031-0.050zM29.395 12.656c0.078-0 0.153-0.012 0.224-0.035l-0.005 0.001c0.31-0.097 0.531-0.381 0.531-0.717 0-0.078-0.012-0.154-0.034-0.225l0.001 0.005c-0.449-1.444-1.056-2.702-1.819-3.847l0.034 0.054c-0.136-0.205-0.366-0.338-0.627-0.338-0.415 0-0.751 0.336-0.751 0.751 0 0.154 0.046 0.297 0.126 0.416l-0.002-0.003c0.656 0.98 1.202 2.109 1.58 3.313l0.025 0.093c0.097 0.31 0.381 0.53 0.716 0.53 0 0 0 0 0 0h-0zM30 15.168c-0.422 0.040-0.75 0.392-0.75 0.821 0 0.004 0 0.008 0 0.011v-0.001c0 0.006 0 0.012 0 0.018 0 1.322-0.194 2.598-0.555 3.802l0.024-0.093c-0.019 0.063-0.030 0.135-0.030 0.209 0 0.34 0.225 0.627 0.534 0.721l0.005 0.001c0.063 0.018 0.136 0.029 0.211 0.029h0c0.339-0.001 0.626-0.225 0.719-0.534l0.001-0.005c0.374-1.239 0.59-2.664 0.59-4.139 0-0.003 0-0.007 0-0.010v0.001-0.163c-0.007-0.373-0.311-0.672-0.685-0.672-0.023 0-0.045 0.001-0.068 0.003l0.003-0zM18.611 2.222c0.004-0.030 0.007-0.064 0.007-0.099 0-0.379-0.282-0.693-0.648-0.742l-0.004-0c-0.59-0.083-1.271-0.13-1.963-0.13-0.785 0-1.556 0.061-2.309 0.177l0.084-0.011c-0.365 0.055-0.641 0.366-0.641 0.742 0 0.414 0.336 0.75 0.75 0.75 0.041 0 0.081-0.003 0.12-0.010l-0.004 0.001c0.601-0.095 1.295-0.149 2.001-0.149 0.622 0 1.235 0.042 1.835 0.123l-0.070-0.008c0.027 0.003 0.059 0.005 0.091 0.005 0.381 0 0.696-0.28 0.752-0.646l0.001-0.004zM21.531 28.045c-1.048 0.494-2.263 0.867-3.538 1.059l-0.073 0.009c-0.365 0.055-0.642 0.366-0.642 0.742 0 0.414 0.336 0.75 0.75 0.75 0 0 0.001 0 0.001 0h-0c0.001 0 0.003 0 0.005 0 0.037 0 0.073-0.003 0.108-0.008l-0.004 0c1.5-0.225 2.852-0.641 4.109-1.228l-0.091 0.038c0.26-0.122 0.437-0.381 0.437-0.681 0-0.414-0.336-0.75-0.75-0.75-0.113 0-0.22 0.025-0.316 0.070l0.005-0.002zM28.191 22.924c-0.114-0.075-0.254-0.119-0.405-0.119-0.264 0-0.495 0.137-0.628 0.343l-0.002 0.003c-0.705 1.087-1.519 2.023-2.447 2.832l-0.016 0.014c-0.157 0.138-0.256 0.34-0.256 0.564 0 0.414 0.336 0.75 0.75 0.75 0.188 0 0.359-0.069 0.491-0.183l-0.001 0.001c1.051-0.916 1.957-1.958 2.705-3.113l0.035-0.057c0.075-0.114 0.119-0.254 0.119-0.405 0-0.264-0.137-0.495-0.343-0.628l-0.003-0.002z'/></svg>") no-repeat center;
  background-size: contain;
}


