html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Variáveis */
:root {
    --blue: #107C7C;
    --gradient: linear-gradient(#107C7C, #1E4656); 
    --menuTextColor: aliceblue;
}



/*******************************************/
/* Menu e Footer */
header, footer, .module-items, .submenu, .accountMenu {
    background: var(--gradient) !important;
}

.submenu-item {
    color: var(--menuTextColor);
}

.submenu-item:hover {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    background: transparent;
    color: var(--menuTextColor);
}

.nav-link, footer div, footer div a {
    color: var(--menuTextColor) !important;
    text-decoration: none;
}

.navbar-toggler {
    border: var(--menuTextColor) 1px solid !important;
}

.navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

footer div a:hover {
    text-decoration: underline;
}

.nav-link:hover, .nav-link:active {
    color: var(--menuTextColor) !important;
}

#btnSwitch {
    color: var(--menuTextColor) !important;
}

.my-header {
    display: flex;
    align-items: baseline;
    padding: .5rem;
    gap: 1rem;
    background: none;
    border-radius: .25rem
}

.button-link{
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    padding: .5rem;
    border-radius: .25rem;
    color: white;
    font-size:larger;
}

.my-dropdown.active > .button-link,
.button-link:hover {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.my-dropdown {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    position: relative;
}

.my-dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + .25rem);
    background: var(--gradient);
    padding: .75rem;
    border-radius: .25rem;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
    pointer-events: none;
    z-index: 9999;
}

.my-dropdown.active > .button-link + .my-dropdown-menu{
    opacity: 1;
    transform: translateY(0px);
    pointer-events: auto;
}

.information-grid{
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 2rem;
}

.dropdown-links{
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin-top: .25rem;
}

.dropdown-heading{
    color: white;
    font-size: larger;
    border-bottom: 2px solid white;
}

.link {
    text-decoration: none;
    color: white !important;
    cursor: pointer;
    padding: .25rem;
}

.link:hover {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    border-radius: .25rem;
}
/*******************************************/
/*******************************************/
/* Outros items */
#updates {
    background: var(--gradient);
    color: var(--menuTextColor);
    border: none;
}
/*******************************************/

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin-bottom: 2vh;
}

.navbar{
    z-index: 1000;
}

iframe {
    display: block;
    border: none;
    height: 80vh;
    width: 100%;
}


.dropdown-item {
    vertical-align: central;
    border-radius: 5px;
}

.faturarProcesso:hover{
    background-color: green;
    color: white
}

.editarProcesso:hover {
    background-color: #0d6efd;
    color: white;
}

.eliminarProcesso:hover{
    background-color: darkred;
    color: white;
}

.myTr:hover {
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.myTr:active {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.myTr label:hover{
    cursor: pointer;
}


#cliEmail {
    width: 350px;
}
#cliEmail div {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#pagination {
    cursor: pointer;
}

#body {
    padding: 2vh 4vw
}

.dropdown .submenu {
    display: none;
}

.dropdown:hover > .submenu, .dropend:hover > .submenu {
    display: block;
    margin-top: .125em;
}

.dropend:hover > .submenu {
    position: absolute;
    top: 0;
    left: 100%;
}

@media (max-width: 575px) {
    .dropdown-with-submenu {
        width: 90% !important;
        max-width: 50% !important;
    }

    .dropdown ul {
        /*padding-left: 10px !important;*/
    }
}

#btnSwitch {
    border: none !important;
}

.accountMenu {
    position: absolute;
    border: none;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    left: -140px !important;
}


/* BOTÕES */
/* Botão Principal (Primary) */
.main-btn {
    background: var(--gradient);
    border: none;
    color: white;
}

.main-btn:hover {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    color: white;
}

.main-btn:focus, .main-btn:active {
    background-color: #1E4656 !important;
    outline: none !important;
    box-shadow: none !important;
    color: white !important;
    border: 1px solid white;
}

/* TEXTO */
.text-danger {
    color: #c60651 !important;
    font-size: smaller;
}

/* INPUTS */
.form-control:focus, .form-control:active, .form-check-input:focus, .form-check-input:active, .form-check-input,
.remove-outline:focus, .remove-outline.active {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--blue) !important;
}

.form-check-input:focus {
    border-color: var(--blue) !important;
}

.form-check-input:checked {
    background-color: var(--blue) !important;
}

/* Tabela Licencas */
/* Animation */
/* Adiciona as classes de animação diretamente nas linhas da tabela */

/* Keyframe animation */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut{
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20);
    }
}

/* Adiciona a classe de animação diretamente nas linhas que deseja animar */
tr.grouped-row.show {
    display: table-row;
    animation: slideIn 0.5s ease forwards;
}

.table_clients_app {
    display: none;
}

.table_clients_app.show {
    display: inherit;
    animation: slideIn 0.5s ease-in-out forwards;
}

.table_licenses_client_app {
    display: none !important;
}

.table_licenses_client_app.show {
    display: inherit !important;
    animation: slideIn 0.5s ease-in-out forwards !important;
}

@media (width >= 450px) {
    .table_licenses_client_app {
        overflow: hidden !important;
    }
}