﻿html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

authorizeview {
    width: 100% !important
}

a, .btn-link {
    color: #0366d6;
}

.table {
    border-radius: 10px;
}
.fa-icon {
    font-size: 1.8em !important;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #000;
    }

    .separator:not(:empty)::before {
        margin-right: .25em;
    }

    .separator:not(:empty)::after {
        margin-left: .25em;
    }

.color-primary {
    color: #fff !important;
    background-color: #4472c4 !important;
    border-color: #1861ac !important;
}
.btn-alternative {
    color: #fff !important;
    background-color: #C55A11 !important;
}
    .btn-alternative:hover {
        color: #fff !important;
    }

.btn-warning-light {
    background-color: #FFF2CC !important;
    color: #000 !important;
}
.btn-success-light {
    background-color: #E2F0D9 !important;
    color: #000 !important;
}

.btn-danger-light {
    background-color: #dc3545 !important;
    color: #000 !important;
}

.btn-guide {
    color: #272727 !important;
    background-color: #fff !important;
    border-color: #727272 !important;
}

.btn-primary {
    color: #fff;
    background-color: #4472c4;
    border-color: #1861ac;
}
    .btn-primary:hover {
/*        color: #000000;
*/    }

.bg-2 {
    background-color: #f3f2f1 !important;
}

.container-float-title {
    position: relative !important;
}

    .container-float-title .line {
        font-size: 1em !important;
        margin-bottom: 0.5em !important;
        color: black !important;
    }
.label-float-northwest {
    font-family: 'Lato', sans-serif;
    background: #fff !important;
    position: absolute !important;
    left: 1% !important;
    font-size: 1em !important;
    top: calc(0% - 0.8em) !important;
    width: 35% !important;
}

.text-accent {
    color: #767171 !important;
    font-size: 0.8em !important;
}


.bg-gray2 {
    background-color: #767171 !important;
}


.min-vh-5 {
    min-height: 5vh !important;
}

.min-vh-sidebar {
    min-height: 93vh !important;
}
.btn-block {
    display: block;
    width: 100%;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

label {
    font-family: 'Lato', sans-serif;
}

p, span {
    font-family: 'Lato', sans-serif;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: fixed;
    z-index: 999;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

select {
    /* Reset Select */
    appearance: none;
    outline: 0;
    border: 0;
    box-shadow: none;
    /* Personalize */
    flex: 1;
    padding: 0 1em;
    background-image: none;
    cursor: pointer;
}
    /* Remove IE arrow */
    select::-ms-expand {
        display: none;
    }

.wd-text-login {
    width: 53.2% !important;
}
.custom-select {
    position: relative;
}


select {
    width: 100%;
    font-size: 1rem;
    padding: 5px 40px 5px 10px;
    background-color: #fff !important;
    color: #767171 !important;
    outline: none;
}

.custom-select span {
    position: absolute;
    width: 30px;
    height: 100%;
    background-color: #767171 !important;
    right: 0;
    top: 0;
    pointer-events: none;
}

    .custom-select span::after {
        position: absolute;
        content: "";
        border-style: solid;
        border-width: 10px;
        border-color: #fff transparent transparent transparent;
        top: 40%;
        left: 15%;
    }
/* Transition */
@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}
/* Animations */
@keyframes bounce {
    0% {
        transform: scale(1);
    }

    33% {
        transform: scale(0.9);
    }

    66% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* HEADER AND SIDEBAR */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7vh !important;
    background-color: #4472c4;
    display: flex;
    align-items: center;
}
    .header a {
        font-family: 'Lato', sans-serif;
        font-weight: bold !important;
        color: #fff !important;
        text-decoration: none !important;
    }

/* LOGIN */
.login-component {
    display: flex;
    align-items: center;
}

.img-prefeitura-mini {
    width: 0; /*Alterar para 100% para mostrar logo*/
    height: auto !important;
}

.link-cadastro {
    position: absolute;
    bottom: 2%;
}

.banner-overlay {
    background-image: url("../images/modelo_o2.png");
    background-position: 120%, center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 999;
}

.banner {
    background: rgb(49,96,180);
    background: -moz-linear-gradient(90deg, rgba(49,96,180,1) 48%, rgba(84,131,212,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(49,96,180,1) 48%, rgba(84,131,212,1) 100%);
    background: linear-gradient(90deg, rgba(49,96,180,1) 48%, rgba(84,131,212,1) 100%);
/*    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3160b4",endColorstr="#5483d4",GradientType=1);
*/}
/***/

/* BODY */
.content-main {
    top: 7vh !important;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
}

/* SIDEBAR */
.nav-item {
    width: 100% !important;
}
    .nav-item a {
        color: #767171;
        border-radius: 0 !important;
        font-size: 1.1rem;
    }
    .nav-item a:hover {
        background-color: #4472c4 !important;
        color: white !important;
    }
    .nav-item a.active {
        background-color: #c00000 !important;
        color: white !important;
    }
        .nav-item a span {
            text-align: center;
            font-weight: bold;
            font-size: .9rem;
        }

/***********/

.btn-delete-user {
    width: 40px;
    text-align: center;
    box-sizing: content-box;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    hr {
        height: .1rem;
    }
/* 
    below styles were copied from bootstrap 4.5.0 and renamed to be compatible with blazor
    - '.validation-message' == bootstrap '.invalid-feedback'
    - '.invalid' == bootstrap '.is-invalid'
*/

.validation-message {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

    .invalid ~ .validation-message {
        display: block;
    }
.hideShowPassword-wrapper .invalid + .validation-message {
    display: block;
}

.form-control.invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
}

    .form-control.invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

textarea.form-control.invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.form-check-input.invalid ~ .form-check-label {
    color: #dc3545;
}

.form-check-input.invalid ~ .validation-message {
    display: block;
}

.alert-fixed {
    position: fixed;
    margin: 5% auto; /* Will not center vertically and won't work in IE6/7. */
    left: 0;
    right: 0;
    z-index: 9999;
    border-radius: 0px
}

/* Component Styles - Steps */
.steps {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0 0 2rem 0;
    list-style: none;
}

.step {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    position: relative;
    pointer-events: none;
    font-family: 'Lato', sans-serif;
}

.step--active, .step--complete {
    cursor: pointer;
    pointer-events: all;
}

.step:not(:last-child):before, .step:not(:last-child):after {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 0.25rem;
    content: '';
    transform: translateY(-50%);
    will-change: width;
    z-index: -1;
}

.step:before {
    width: 100%;
    background-color: #e6e7e8;
}

.step:after {
    width: 0;
    background-color: #4472c4;
}

.step--complete:after {
    width: 100% !important;
    opacity: 1;
    transition: width 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 6rem;
    height: 6rem;
    background-color: #fff;
    border: 0.6rem solid #96afde;
    border-radius: 50%;
    color: transparent;
    font-size: 3rem;
    font-weight: bold;
}

    .step__icon:before {
        display: block;
        color: #96afde;
        content: '\2713';
    }

.step--complete.step--active .step__icon {
    color: #fff;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.step--incomplete.step--active .step__icon {
    border-color: #ff2267;
    transition-delay: 0.5s;
}

.step--complete .step__icon {
    animation: bounce 0.5s ease-in-out;
/*    background-color: #ff2267;
*/  border-color: #4472c4 !important;
    color: #fff;
}

.step--complete .step__icon:before {
    color: #4472c4;
}

.step__label {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    margin-top: 1rem;
    font-size: 0.8rem;
    text-align: center;
    color: #96afde;
    font-weight: bold;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.step--incomplete.step--inactive .step__label {
    color: #e6e7e8;
}

.step--incomplete.step--active .step__label {
    color: #fff;
}

.step--active .step__label {
    transition: color 0.3s ease-in-out;
    transition-delay: 0.5s;
    color: #4472c4 !important
}

.step--active .step__icon {
    border-color:#96aa;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #000;
}

.environment-badge {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 0.5rem 1.5rem;
    background-color: rgb(255, 255, 0, 0.5);
    color: black;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 1000;
}

/* RESPONSIVE */

/* Small */
@media (max-width: 768px) {
    app {
        flex-direction: row;
    }

    .content-main {
        top: 12vh !important;
    }

    .header {
        text-align: center;
        height: 12vh !important;
    }

    .min-vh-sidebar {
        min-height: 88vh !important;
    }

    .label-float-northwest {
        left: 25% !important;
        width: 50% !important;
    }
}

/* Medium */
@media (min-width: 992px) {
    .text-md-left {
        text-align: left !important;
    }
    .text-md-right {
        text-align: right !important;
    }
}

/* Large */
@media (min-width: 1200px) {
    .text-lg-left {
        text-align: left !important;
    }

    .text-lg-right {
        text-align: right !important;
    }
}

@media (max-width: 1089px) and (min-width: 789px) {
    .banner-overlay {
        background-size: 70%;
    }

    h2 {
        font-size: 1.4rem;
    }

    .d-screen-lg {
        display: none;
    }

    .label-float-northwest {
        left: 25% !important;
        width: 50% !important;
    }
}

@media (max-width: 1679px) and (min-width: 789px) {

    .d-screen-md {
        display: block !important;
    }

    .d-screen-lg {
        display: none !important;
    }
}

@media (min-width: 1680px) {

    h2 {
        font-size: 3rem !important;
    }

    .d-screen-md {
        display: none !important;
    }

    .d-screen-lg {
        display: block !important;
    }

    .content-main {
        top: 5vh !important;
    }

    .header {
        height: 5vh !important;
    }

        .header a {
            font-size: 1.3rem !important;
        }

    .min-vh-sidebar {
        min-height: 95vh !important;
    }
}