﻿* {
    margin: 0;
    padding: 0;
    --predominantTone: RGBA(65, 66, 145);
    --backgroundTone: RGBA(216, 224, 239);
    --alertTone: RGBA(197, 43, 139);
    --alertBg: RGBA(197, 43, 139, 0.4);
    --defaultColor: RGBA(0, 0, 0);
    --whatsAppColor: RGBA(7, 94, 84);
    font-family: Poppins, 'FontAwesome';
    font-display: swap;
    font-weight: 500;
    font-size: 18px;
}

#loader {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--alertBg);
    z-index: 9999;
}

    #loader div {
        width: 3rem;
        height: 3rem;
        border: 0.5rem solid var(--predominantTone);
        border-top: 0.5rem solid var(--predominantTone);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body {
    background-color: var(--backgroundTone);
    font-family: 'Poppins',, 'FontAwesome';
    color: var(--defaultColor);
    height: 100%;
    font-size: 1rem;
}

.bodyLogin {
    background-color: var(--predominantTone);
    background-image: url(../../App_Files/bg-grafismo.png);
    background-position: right -5rem;
    background-repeat: no-repeat;
    font-size: 1rem;
}

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

    .container #ImbLogotipo {
        cursor: pointer;
        transition: all 0.5s ease;
        height: 7rem;
    }

    .container p {
        padding-top: 0;
    }

#imbLogotipoReduzido {
    height: 6rem;
    margin-bottom: 1rem;
}

.loginForm {
    display: flex;
    flex-direction: column;
    background: var(--backgroundTone);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.25rem var(--predominantTone);
    text-align: Left;
    font-size: 1rem;
}

    .loginForm label {
        margin: 0;
        margin-top: 1rem;
    }

    .loginForm input {
        margin-top: 0.25rem;
        margin-bottom: 1rem;
        padding: 0.5rem;
        width: 15rem;
    }

        .loginForm button, .loginForm input[type="submit"] {
            margin-bottom: 0;
            background-color: var(--predominantTone);
            transition: all 0.5s ease;
            color: var(--backgroundTone);
            border: none;
            border-radius: 0.25rem;
            width: auto;
            cursor: pointer;
        }

        .loginForm button:hover, .loginForm input[type="submit"]:hover {
            background-color: var(--alertTone);
            color: var(--predominantTone);
            transition: all 0.5s ease;
        }

.validacao {
    margin-bottom: 1rem;
    background-color: var(--alertTone);
    padding: 0.5rem;
    text-align: center;
    color: var(--predominantTone);
    border: none;
    border-radius: 0.5rem;
}

i {
    text-decoration: none;
    font-style: normal;
    font-size: 1rem;
}

#ImbLogotipo {
    cursor: pointer;
    transition: all 0.5s ease;
    height: 2rem;
}

main header {
    background-color: var(--predominantTone);
    color: var(--backgroundTone);
    display: flex;
    align-items: center;
    padding: 1rem;
}

    main header > div {
        flex: 1;
        display: flex;
        align-items: center;
    }

    main header > div:nth-child(1) {
        justify-content: flex-start;
    }

    main header > div:nth-child(2) {
        justify-content: center;
    }

    main header > div:nth-child(3) {
        justify-content: flex-end;
    }

        main header > div:nth-child(3) input {
            margin: 0 0.5rem 0 0.25rem;
            height: 1rem;
        }

    main header > div:nth-child(2) img {
        height: 2rem;
    }

    .columns {
        display: block;
        text-align: left;
    }

    .columns div {
        display: block;
    }

    .menu-sanduiche {
        position: relative;
    }

    .menu-icon {
        display: inline-block;
        cursor: pointer;
        width: 1.5rem;
        height: 2rem;
        position: relative;
    }

    .menu-icon span {
        display: block;
        width: 100%;
        height: 0.25rem;
        background: var(--backgroundTone);
        margin: 0.25rem 0;
        transition: 0.4s;
    }

    .menu {
        display: none;
        position: absolute;
        top: 0.25rem;
        left: 2.5rem;
        width: 10rem;
        background: var(--backgroundTone);
        border-radius: 0.25rem;
    }

    .menu button {
        display: block;
        width: 100%;
        background: transparent;
        border: none;
        text-align: right;
        padding: 0.5rem;
        font-size: 1rem;
        cursor: pointer;
    }

    .menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu ul li a {
        display: block;
        padding: 0.5rem;
        text-decoration: none;
        color: var(--predominantTone);
        transition: all 0.5s ease;
    }

    .menu ul li a:hover {
        color: var(--backgroundTone);
        background: var(--alertTone);
        transition: all 0.5s ease;
    }

    #menu-toggle:checked ~ .menu {
        display: block;
        transition: all 0.5s ease;
    }

    #menu-toggle {
        display: none;
        transition: all 0.5s ease;
    }

    .circulo {
        margin-right: 0.25rem;
        padding: 0.25rem;
        font-weight: 700;
        text-align: center;
        color: var(--predominantTone);
        border-radius: 0.25rem;
        background-color: var(--backgroundTone);
        cursor: pointer;
    }

    section {
        margin: 0;
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
        color: var(--predominantTone);
    }

    h2 {
        color: var(--predominantTone);
        margin-top: 0.25rem;
    }

    h3 {
        margin-top: 0.25rem;
        font-size: 0.75rem;
    }

    h4 {
        margin-top: 0.5rem;
        margin-bottom: 0.25rem;
        font-size: 0.75rem;
    }

    p {
        margin: 0;
        padding: 1rem 0 0.5rem 0;
        color: var(--predominantTone);
    }

    hr {
        margin-top: 1rem;
        margin-bottom: 1rem;
        border-bottom: solid 0.1rem var(--predominantTone);
    }

    a:link, a:visited, a:active {
        font-size: 1rem;
        font-style: normal;
        text-decoration: none;
        color: var(--predominantTone);
        transition: all 0.5s ease;
    }

    /*a:hover {
        transition: 0.25s;
    }*/

    #divFiltros {
        display: block;
        margin-bottom: 0;
    }

    #divFiltros input[type="text"] {
        width: auto;
        transition: all 0.5s ease;
    }

    .divGrid {
        margin-top: 2rem;
    }

    .divGrid div {
        margin-bottom: 1rem;
        padding: 0.5rem;
        border-bottom: solid 0.1rem var(--predominantTone);
        transition: all 0.5s ease;
    }

    .divGrid div:hover {
        background-color: var(--alertBg);
        transition: all 0.5s ease;
        cursor: pointer;
    }

    #divPaginacao {
        text-align: center;
    }

    #divPaginacao input[type="text"] {
        width: 2rem;
        text-align: center;
    }

    #divCadastro {
        margin-top: 1rem;
        margin-bottom: 5rem;
    }

    #divBotoes {
        /*
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        margin: 2rem;*/
        text-align: right;
    }

    input[type="text"], textarea, input[type="file"], select {
        border: solid 0.1rem var(--predominantTone);
        border-radius: 0.25rem;
        padding: 0.5rem;
        width: -webkit-fill-available;
        font-size: 1rem;
        transition: all 0.5s ease;
    }

    input[type="text"]:hover, textarea:hover, input[type="file"]:hover, select:hover {
        border: solid 0.1rem var(--alertTone);
        background-color: var(--alertBg);
        transition: all 0.5s ease;
    }

    input[type="text"]:focus, textarea:focus, input[type="file"]:focus, select:focus {
        border: solid 0.1rem var(--alertTone);
        background-color: var(--alertBg);
        transition: all 0.5s ease;
    }

    button, input[type="submit"] {
        background-color: var(--predominantTone);
        border: solid 0.1rem var(--predominantTone);
        border-radius: 0.25rem;
        padding: 0.5rem;
        color: var(--backgroundTone);
        font-size: 1rem;
        transition: all 0.5s ease;
        cursor: pointer;
    }

    .btnExcluir {
        background-color: var(--alertTone) !important;
        color: var(--predominantTone) !important;
        font-size: 1rem;
        transition: all 0.5s ease;
    }

    #divBotoes button, #divBotoes input[type="submit"] {
        min-width: 8rem;
        margin-bottom: 0.25rem;
    }

    .btnExcluir:hover {
        background-color: var(--backgroundTone) !important;
        color: var(--predominantTone) !important;
        transition: all 0.5s ease;
    }

/* TABS */

.ajax__tab_tab {
    padding: 0.5rem;
    /*margin: 0.5rem;*/
}

.ajax__tab_default .ajax__tab_inner {
    margin-right: 0.5rem;
}

/*Header*/
.tab .ajax__tab_header {
    margin: 2rem 0 0 0;
    border-bottom: solid 0.25rem var(--predominantTone);
}

/*Tab Active*/
.tab .ajax__tab_active .ajax__tab_tab {
    color: var(--backgroundTone);
}

.tab .ajax__tab_active .ajax__tab_inner {
    background-color: var(--predominantTone);
}

.tab .ajax__tab_active .ajax__tab_outer {
}

/*Tab Hover*/
.tab .ajax__tab_hover .ajax__tab_tab {
    background-color: var(--predominantTone);
    color: var(--alertTone);
    transition-duration: 0.25s;
}

.tab .ajax__tab_hover .ajax__tab_inner {
    color: var(--alertTone);
    transition-duration: 0.25s;
}

.tab .ajax__tab_hover .ajax__tab_outer {
}

/*Tab Inactive*/
.tab .ajax__tab_tab {
    margin: 0.1rem;
    border: solid 0.1rem var(--predominantTone);
    color: var(--predominantTone);
}

.tab .ajax__tab_inner {
    border: none;
}

.tab .ajax__tab_outer {
    border: none;
}

/*Body*/
.tab .ajax__tab_body {
    padding: 0;
}

    .tab .ajax__tab_body table {
        width: 100%;
    }

    .tab .ajax__tab_body h3 {
        font-size: 1rem;
    }

button:hover, input[type="submit"]:hover {
    background: var(--backgroundTone);
    color: var(--predominantTone);
    transition: all 0.5s ease;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--alertBg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-box {
    background-color: var(--backgroundTone);
    padding: 2rem;
    border-radius: 0.25rem;
    width: auto;
    text-align: center;
    box-shadow: 0 0 2rem rgba(0,0,0,0.3);
}

.popup-message {
    font-size: 1rem;
    margin-bottom: 2rem;
    display: block;
}

.popup-close {
    background-color: var(--alertTone);
    border: none;
    padding: 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}


@media (min-width: 768px) {

    /*section {
        margin: 0 auto;
        width: 1366px;
    }*/

    h1 {
        font-size: 3rem;
    }

    #divFiltros {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 0.5rem;
    }

        #divFiltros input[type="text"] {
            width: 10rem;
            margin-left: 1rem;
        }

    #divCadastro {
        margin: 0 auto;
        margin-bottom: 7rem;
        width: 1366px;
    }

    .columns {
        display: flex;
        margin-top: 0;
        justify-content: center;
    }

        .columns div {
            display: block;
            padding: 0 2rem 0 0;
            flex: 1;
        }

        .columns > div:last-child {
            padding-right: 0;
        }

    #divBotoes {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        margin: 2rem;
    }

    .btnSalvar, .btnExcluir {
        margin-left: 2rem;
    }

    .btnVoltar {
        margin-right: 2rem;
    }

    #divBotoes button, #divBotoes input[type="submit"] {
        margin-bottom: 0;
    }
}
