:root {
    --red: #c20e1a
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html, body {
    height: 100%;
    margin: 0;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

body {
    margin-bottom: 60px;
}

.float-right {
    float: right;
}

.pager {
    padding-left: 0;
    margin: 5px;
    list-style: none;
    text-align-last: end;
    margin-right: 1rem;
}

    .pager li {
        display: inline;
    }

.avatar img {
    vertical-align: middle;
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.required-field > label:after {
    color: #e02b27;
    content: '*';
    font-size: 0.7rem;
    margin: 0 0 0 0.25rem;
}

.select2-container .select2-selection--single {
    height: 38px !important;
    color: #495057;
    background-color: #fff;
    background-position: right .75rem center;
    border: 1px solid #ced4da !important;
    border-radius: .25rem;
}

    .select2-container .select2-selection--single .select2-selection__rendered {
        padding: .47rem 1.75rem .47rem .75rem !important;
    }

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5 !important;
}

#fullscreenDiv {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    color: white;
    font-size: 24px;
    text-align: center;
    padding-top: 40vh;
}

#spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
    margin-top: 20px;
}

#scroll-top.fixed {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

#scroll-top {
    margin-right: 0 !important;
}

#scroll-top {
    background-color: rgba(67, 73, 78, 0.5);
    border-radius: 0;
    bottom: 0;
    color: #fff;
    font-size: 16px;
    height: 40px;
    line-height: 1;
    opacity: 0;
    padding: 11px 0;
    position: fixed;
    right: 15px;
    text-align: center;
    transform: translateY(40px);
    transition: all .3s, margin-right 0s;
    visibility: hidden;
    width: 40px;
    z-index: 9999;
}

#map {
    height: 200px;
    width: 100%;
    border-radius: 5px;
}

.gallery-zoom-tip {
    font-size: 0.95rem;
    color: #bbb;
    user-select: none;
    pointer-events: none; /* para não atrapalhar cliques */
    text-align: center;
    margin-bottom: 0.5rem;
}

.importando-msg {
    display: inline-block;
    padding: 10px 24px;
    background: #fffbea;
    border: 1px solid #fadf25;
    border-radius: 16px;
    color: #9c7900;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px 0 #fadf2577;
    margin-top: 10px;
    animation: pulseImporta 1.3s infinite;
}

@keyframes pulseImporta {
    0% {
        box-shadow: 0 2px 8px 0 #fadf2577;
    }

    50% {
        box-shadow: 0 0 24px 4px #fadf2580;
    }

    100% {
        box-shadow: 0 2px 8px 0 #fadf2577;
    }
}

.text-dark {
    color: black !important;
}

.pergunta-placeholder {
    border: 2px dashed #0d6efd;
    height: 3rem;
    margin-bottom: .75rem
}

.alt-placeholder {
    border: 2px dashed #6c757d;
    height: 2.5rem;
    margin: .25rem 0
}

.smaller {
    font-size: 10px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #5b73e8;
    font-weight: 700;
    background-color: #fff;
    border-color: #6571e673;
}

.nav-tabs {
    border-bottom: 1px solid #6571e673;
}


.was-validated .form-control:valid {
    border-color: #28a745 !important;
}

.was-validated .form-control:invalid {
    border-color: #dc3545 !important;
}
