@import 'colors.css';
/************************* GLOBAL  ********************/

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100vh;
    overflow-x: hidden;
}

body {
    background-color: var(--white);
    min-height: 100vh;
}

.text-vertical-center {
    align-items: center !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

.abreviar-texto {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/************************* GLOBAL  ********************/

/************************* BARRA ROLAGEM *************************/

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: var(--dove-grey);
    border: 0px none var(--dove-grey);
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dove-grey);
}

::-webkit-scrollbar-thumb:active {
    background: var(--dove-grey);
}

::-webkit-scrollbar-track {
    background: var(--alto);
    border: 0px none var(--alto);
    border-radius: 50px;
}

::-webkit-scrollbar-track:hover {
    background: var(--alto);
}

::-webkit-scrollbar-track:active {
    background: var(--alto);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/************************* BARRA ROLAGEM *************************/

/***************************** LOGIN *****************************/

.page-login {
    display: flex;
    -ms-flex-align: center;
}

.page-login form {
    width: 100%;
    padding: 15px;
    margin: auto;
}

.page-login form .divform {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    margin: auto;
}

.page-login form .divform img {
    max-width: 200px;
    max-height: 200px;
}

/***************************** LOGIN *****************************/

/*************************** SNACKBAR ****************************/

#snackbarConfirmacao .snackbar-forma, #calendario-modal .calendario-forma {
    visibility: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.3;
    background-color: var(--mine-shaft);
    color: var(--white);
    text-align: center;
    position: fixed;
    z-index: 100;
    font-size: 17px;
}

#snackbarConfirmacao.show .snackbar-forma, #calendario-modal.show .calendario-forma {
    visibility: visible;
}

#snackbar, #snackbarConfirmacao div.snackbar-body {
    visibility: hidden;
    width: 40%;
    margin-left: 30%;
    background-color: var(--mine-shaft);
    color: var(--white);
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    bottom: 30px;
    font-size: 17px;
}

#snackbarConfirmacao.show div.snackbar-body {
    visibility: visible;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

#snackbar.hide, #snackbarConfirmacao.hide div.snackbar-body {
    -webkit-animation: fadeout 0.5s;
    animation: fadeout 0.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
        visibility: visible;
    }
    to {
        bottom: 0;
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
        visibility: visible;
    }
    to {
        bottom: 0;
        opacity: 0;
        visibility: hidden;
    }
}

/*************************** SNACKBAR ****************************/

/**************************** HEADER *****************************/

.navbar {
    padding: 0px 1rem!important;
}
.offcanvas-collapse ul li a.dropdown-toggle{
    height: 70px!important;
    line-height: 3.0;
    border: unset!important;
}

#navbar nav {
    background-color: var(--primary-color)!important;
    min-height: 70px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
}

.btn-outline-success {
    color: var(--white)!important;
    border-color: var(--white);
}

.btn-outline-success:hover, .btn-outline-success:active, .show>.btn-outline-success.dropdown-toggle, .btn-outline-success:not(:disabled):not(.disabled):active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.show>.btn-outline-success.dropdown-toggle:focus, .btn-outline-success:focus, .btn-outline-success:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 85, 167, 0.5);
}

.btn-primary, .nav-pills .nav-link.active {
    background-color: #006ebd;
    border-color: #006ebd;
}

@media screen and (max-width: 992px) {
    .offcanvas-collapse {
        background-color: var(--primary-color);
        ;
        position: fixed;
        top: 56px;
        bottom: 0;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    }
    .offcanvas-collapse .btn-outline-success {
        background-color: var(--secondary-color);
        ;
        border-color: var(--secondary-color);
        ;
    }
    .offcanvas-collapse ul {
        padding: unset!important;
    }
    .offcanvas-collapse ul li .dropdown-menu {
        display: block!important;
        padding: 0px!important;
        margin: unset!important;
    }
    .offcanvas-collapse ul li .dropdown-menu a {
        text-align: center!important;
        border-bottom: 1px solid #a0a0a0;
    }
    .offcanvas-collapse ul.navbar-nav:first-child {
        margin-bottom: 10px!important;
    }
    .offcanvas-collapse.open {
        visibility: visible;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    #navbarsExampleDefault ul.navbar-nav {
        border: none!important;
        margin-right: unset!important;
    }
    #navbarsExampleDefault ul.navbar-nav li.nav-item {
        margin-right: unset!important;
    }
    .dropdown-toggle::after {
        display: none!important;
    }
}

/**************************** HEADER *****************************/

/**************************** FOOTER *****************************/

.footer {
    border-top: 1px solid var(--alto);
    bottom: 0;
    text-align: left !important;
    padding: 7px 0;
    position: fixed;
    right: 0;
    background-color: var(--white);
    left: 0;
}

/**************************** FOOTER *****************************/

/**************************** PAINEL *****************************/

.painel-icon .bloco a {
    display: block;
}

.painel-icon .bloco:hover {
    background-color: rgba(0, 123, 255, 0.07);
    border-radius: 3%;
}

.painel-icon .bloco a:active, .painel-icon div a:link, .painel-icon div a:hover, .painel-icon div a:visited {
    text-decoration: none;
    color: var(--dove-grey) !important;
}

.painel-icon .bloco a div {
    text-align: center !important;
    font-weight: 500 !important;
}

/**************************** PAINEL *****************************/

/*************************** NAVEGACAO ***************************/

.tab-content {
    height: 100vh;
    will-change: transform;
    -webkit-perspective: 400px;
    perspective: 400px;
    overflow: hidden;
    -webkit-transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.section {
    will-change: transform;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    /* height: 100vh; */
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-active {
    -webkit-transform: translateX(0) rotateY(0);
    transform: translateX(0) rotateY(0);
    z-index: 2;
}

.section-hidden {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.section-wrapper {
    height: 100vh;
    width: 100%;
    /* max-width: 800px; */
    padding: 0 8vw;
    position: relative;
    overflow-y: auto;
}

.section-wrapper.except {
    max-width: unset;
}

.section-title {
    margin: 0 0 25px 0;
    font-size: 48px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.section-title:before {
    content: '';
    position: absolute;
    top: 5rem;
    left: 45%;
    margin: auto;
    width: 10%;
    height: 2px;
    background: var(--white);
}

/*************************** NAVEGACAO ***************************/

/************************* PRÉ LOADER *************************/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(134, 134, 134, 0.4);
    z-index: 20;
}

#preloader .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bolas>div {
    display: inline-block;
    background-color: var(--black);
    width: 20px;
    height: 20px;
    border-radius: 100%;
    margin: 3px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: animarBola;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.bolas>div:nth-child(1) {
    animation-duration: 0.75s;
    animation-delay: 0;
}

.bolas>div:nth-child(2) {
    animation-duration: 0.75s;
    animation-delay: 0.12s;
}

.bolas>div:nth-child(3) {
    animation-duration: 0.75s;
    animation-delay: 0.24s;
}

@keyframes animarBola {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    16% {
        -webkit-transform: scale(0.1);
        transform: scale(0.1);
        opacity: 0.7;
    }
    33% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

/************************* PRÉ LOADER *************************/

#filtros .icon {
    transition: opacity 0.3s, transform 0.3s;
    transform: rotate(-180deg) scale(0.5);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

#filtros .icon.show {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}