@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

html,
body {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 100%;
}

.container p {
    font-size: 16px;
    line-height: 32px;
    overflow-wrap: break-word;
    font-style: normal;
    font-weight: normal;
    color: #555555;
}


.badge {
    background: blue;
}

.btn-delete-badge {
    display: inline-block !important;
    padding: .25em .4em !important;
    font-size: 75% !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
    border-radius: .25rem !important;
}

.form-delete {
    display: inline;
}

.logo-nav-img img {
    width: 200px;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
    }

    /* .navbar .nav-item:hover .nav-link {} */

    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }

    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
    }
}

/* ============ desktop view .end// ============ */


/* ============ Footer ============ */

/* Footer */
/* @import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'); */

section {
    padding: 60px 0;
}

section .section-title {
    text-align: center;
    color: #007b5e;
    margin-bottom: 50px;
    text-transform: uppercase;
}

#footer {
    background: #343a40 !important;
}

#footer h5 {
    padding-left: 10px;
    border-left: 3px solid #eeeeee;
    padding-bottom: 6px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

#footer a {
    color: #ffffff;
    text-decoration: none !important;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

#footer p {
    color: #ffffff;
    background-color: transparent;
    margin-block: 5px;
    -webkit-text-decoration-skip: objects;
}

#footer ul.social li {
    padding: 3px 0;
}

#footer ul.social li a i {
    margin-right: 5px;
    font-size: 25px;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}

#footer ul.social li:hover a i {
    font-size: 30px;
    margin-top: -10px;
}

#footer ul.social li a,
#footer ul.quick-links li a {
    color: #ffffff;
}

#footer ul.social li a:hover {
    color: #eeeeee;
}

#footer ul.quick-links li {
    padding: 3px 0;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}

#footer ul.quick-links li:hover {
    padding: 3px 0;
    margin-left: 5px;
    font-weight: 700;
}

#footer ul.quick-links li a i {
    margin-right: 5px;
}

#footer ul.quick-links li:hover a i {
    font-weight: 700;
}

@media (max-width:767px) {
    #footer h5 {
        padding-left: 0;
        border-left: transparent;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }
}

/* CSS para página HOME */
/* .jumbotron {
    background-image: url("../images/index_background.jpg");
    background-size: cover;
  } */

/* CSS para página de edição de perfil */
.photo-perfil {
    width: 160px;
    height: 160px;
    background-position: center center;
    background-size: cover;
}

.sign-perfil {
    background-color: rgb(215, 211, 211, 0.5);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    /* opacity: 0.7; */
    width: 80%;
    height: 92px;
}

.img-admin_background {
    background-image: url("../images/alpha.png");
    background-position: center center;
    background-repeat: repeat;
}

.img-admin {
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    /* opacity: 0.7; */
    width: 80%;
    height: 92px;
}

.img-admin2 {
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    /* opacity: 0.7; */
    width: 300px;
    height: 300px;
}

.img-admin-favicon {
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    /* opacity: 0.7; */
    width: 80%;
    height: 92px;
}

.admin-link {
    color: black;
    text-decoration: none;
}

.admin-link:hover {
    color: #555555;
    text-decoration: none;
}

.show-password {
    width: auto;
}

.show-password-input {
    margin-left: 15px;
    width: 57%;
}

.left-border-no-radius input,
.left-border-no-radius button,
.left-border-no-radius span {
    -webkit-border-top-left-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}

.right-border-no-radius input,
.right-border-no-radius button,
.right-border-no-radius span {
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 0px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.i-center {
    margin-left: auto;
    margin-right: auto;
}

.choices__list--multiple .choices__item {
    background-color: #d99000 !important;
    border: 1px solid #ae7605 !important;
}

.choices[data-type*="select-multiple"] .choices__button,
.choices[data-type*="text"] .choices__button {
    border-left: 1px solid #ae7605 !important;
}


/* Para os collapse ficar parecidos com o accordion do bootstrap5 */
.card-header .title {
    font-size: 17px;
    color: #000;
}

.card-header .accicon {
    float: right;
    font-size: 20px;
    width: 1.2em;
}

.card-header {
    cursor: pointer;
    border-bottom: none;
}

.card {
    border: 1px solid #ddd;
}

.card-body {
    border-top: 1px solid #ddd;
}

.card-header:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
}

/* stilos para página principal */

.card-index {
    width: 25%;
}

.card-gray {
    background-color: #d9dde2;
    display: flex;
    flex-direction: column;
    border-radius: .25rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.card-without-color {
    display: flex;
    flex-direction: column;
    border-radius: .25rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.img-card-index {
    width: 50%;
    margin-block: 15px;
    margin-inline: auto;
}

.img-logos-index {
    height: 130px;
    margin-block: 15px;
    margin-inline: auto;
}

.a-logos-index {
    align-content: center;
    display: flex;
}

.btn-panel-events {
    width: 118px;
}

/* Para quebrar a linha dentro das colunas do DataTAbles */
.datatable-column-wrap {
    word-wrap: anywhere;
}

p.link {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}

p.link:hover {
    text-decoration: none;
    cursor: pointer;
}

/* Classe do Loader */
.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    /* Safari */
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loading {
    background-color: #ddd;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999999;
    border-radius: 70px;
    padding: 12px;
}

.page-loading {
    position: absolute;
    height: 100px;
    width: 100px;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    animation: spinner-grow 2.0s linear infinite !important;
    background-color: #ddd;
    z-index: 9999999;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cor de fundo semi-transparente */
    background-color: rgba(0, 0, 0, 0.5);
    /* Efeito de desfoque */
    backdrop-filter: blur(5px);
    /* Garante que o overlay esteja acima de todos os elementos */
    z-index: 9999;
}


/* Removendo as setas da coluna com checkbox */
.no-sort::after {
    display: none !important;
}

.no-sort::before {
    display: none !important;
}

.no-sort {
    cursor: default !important;
}

/* Estilo para check-box */
.table-check-input {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
}

.table-check-input::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    transition: background-color 0.3s;
}

.table-check-input:checked::before {
    background-color: #007bff;
    font-family: "Font Awesome 5 Free";
    content: '\f00c';
    color: rgb(255, 255, 255);
    font-size: 14px;
    font-weight: bold;
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* Estilos para a página de visualização view_all */
.form-view-all {
    display: contents;
}

/* Estilos para visualização dos capture_path da página de dispositivos */
.capture-path input {
    padding: 1.5rem 1.25rem;
}

.capture-path span {
    padding: 1rem 1.25rem;
}

.capture-path input[disabled] {
    background-color: transparent;
}

/* Estilo para tabela de eventos */
.align-td-middle td {
    vertical-align: middle !important;
}

/*Estilo para cards do youtube*/
.card-header,
.card-body {
    border: none !important;
}

.card-body {
    padding-top: 0 !important;
    cursor: pointer;
    min-height: 315px;
}

/* Add a z-index to the overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: none;
    z-index: 9999;
}

.cardsContainer {
    background-color: white;
}

.ytplayer {
    pointer-events: none;
}

/* Páginas de edição: estilos para lista de itens desabilitados */
.list-group-item.disabled-item {
    background-color: #f8f9fa;
    color: #6c757d;
    pointer-events: none;
    opacity: 0.6;
}

.disabled-input,
.capture-path input .disabled-input {
    background-color: #f8f9fa !important;
    color: #6c757d;
    pointer-events: none;
    opacity: 0.6;
}

.diagnosis-badge {
    font-size: 1.0em !important; 
    padding: 0.5em 0.8em !important;
}



/* Tabela para row interna do panel_semfogo.html */
.table-div {
    width: 100%;
    display: block;
    border-collapse: collapse;
    margin-bottom: 20px;
}

/* Table header */
.table-header-div {
    font-weight: bold;
    display: block;
    width: 100%;
}

.table-row-div {
    display: flex;
    padding: 8px 0;
}

.table-row-div:hover {
    background-color: #f1f1f1;
}

/* Table cells */
.table-cell-div {
    flex: 1;
    /* Flexibly expand to take up equal space */
    padding: 8px;
    border-right: 1px solid #ddd;
    text-align: left;
}

.table-cell-div:last-child {
    border-right: none;
    /* Remove right border for the last cell */
}

/* Add specific width if needed */
.table-cell-div:nth-child(1),
.table-cell-div:nth-child(2) {
    flex-basis: 20%;
}

.table-cell-div:nth-child(3) {
    flex-basis: 25%;
}

.table-cell-div:nth-child(4) {
    flex-basis: 35%;
}

/* Bordered table */
.table.table-bordered .table-row-div {
    border: 1px solid #ddd;
}

.table.table-bordered .table-cell-div {
    border-right: 1px solid #ddd;
}

.table.table-bordered .table-cell-div:last-child {
    border-right: none;
}

/* Hover effect */
.table.table-hover .table-row-div:hover {
    background-color: #f9f9f9;
}

.inactive {
    display: none;
}

.pager {
    margin-top: 15px;
    text-align: center;
}

.pager-item {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    z-index: 1000;
}

.pager-item.selected {
    background-color: #0056b3;
}

.pager-item:hover {
    background-color: #0056b3;
}