html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Variáveis */
:root {
    /*--blue: #107C7C;*/
    --blue: #1f2937;
    --green: #20ae8f;
    --red: #c4515f;
    --menuTextColor: aliceblue;

    --gradient: linear-gradient(#212937, #002169);
    --grayGradient: linear-gradient(#95b1b0, #585c5c);
    --greenGradient: linear-gradient(#20ae8f, #585c5c);
    --redGradient: linear-gradient(#c4515f, #A10000);
}

.text-blue {
    color: var(--blue) !important;
}

.text-red {
    color: var(--red) !important;
}

.text-green {
    color: var(--green) !important;
}

.background-blue {
    background: var(--gradient) !important;
}

.background-gray {
    background: var(--grayGradient) !important;
}

.background-green {
    background: var(--greenGradient) !important;
}

.background-red {
    background: var(--redGradient) !important;
}

.gscloud-btn {
    border-radius: 5px !important;
    outline: none !important;
    box-shadow: 0 0 0 0px var(--gradient) !important;
    border-color: var(--gradient) !important;
    color: white;
}

.gscloud-btn:hover {
    color: white !important;
}

.gscloud-btn:active {
    -webkit-box-shadow: inset 1px 1px 15px #c1c1c1 !important;
    -moz-box-shadow: inset 10px 1px 15px #c1c1c1 !important;
    box-shadow: inset 1px 1px 15px #c1c1c1 !important;
    outline: none !important;
    transition: all .1s ease !important;
}

.border-blue {
    box-shadow: 0 0 0 0px var(--gradient) !important;
    border-color: var(--blue) !important;
}

/*******************************************/
/* Tooltip costumizada */
.gscloud-tooltip {
    --bs-tooltip-bg: var(--blue);
    --bs-tooltip-color: white !important;
}

/*******************************************/
/* Menu e Footer */
header, footer, .module-items, .submenu, .accountMenu {
    background-color: var(--blue) !important;
    color: white;
}

.submenu-item {
    color: var(--menuTextColor);
}

.nav-link, footer div, footer div a {
    /*color: var(--menuTextColor) !important;*/
    color: white;
    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(--blue);
    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-color: var(--blue);
    color: var(--menuTextColor);
}
/*******************************************/

.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 2vh;
}

.navbar{
    z-index: 1000;
}

iframe {
    display: block;
    border: none;
    height: 80vh;
    width: 100%;
}

.dropdown-item {
    vertical-align: central;
}

.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;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: var(--blue) !important;
}

.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;
    left: -110px !important;
}


/* BOTÕES */
/* Botão Principal (Primary) */
.main-btn {
    background-color: var(--blue);
    color: white;
}

.main-btn:hover {
    background-color: #1E4656;
    border: solid 1px #1E4656;
    color: white;
}

.main-btn:focus, .main-btn:active {
    background-color: #1E4656 !important;
    outline: none !important;
    box-shadow: none !important;
    color: white !important;
}

/* 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 {
    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;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* SELEÇÃO DE TÉCNICO - GESTÃO DE EQUIPAS */
.tecnicoItem:hover, .tecnicoItem:active {
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

