@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,400;6..12,700;6..12,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,400;1,700&family=Sora:wght@100&display=swap');

html,
body {
    overflow: auto;
    /* ou scroll */
}

/* Para navegadores baseados em WebKit (Chrome, Safari) */
body::-webkit-scrollbar {
    width: 12px;
    /* Ajuste para a largura desejada */
}

body::-webkit-scrollbar-thumb {
    background-color: #E16F7Cf0;
    /* Cor da barra de rolagem */
    border-radius: 6px;
}

body::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    /* Cor do fundo da barra de rolagem */
}


html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    background-color: #EFF0F6 !important;
    font-family: 'Poppins'sans-serif !important;
}

.mr-4 {
    margin-right: 1rem !important;
}

.form-floating>.form-control:disabled~label::after,
.form-floating>:disabled~label::after,
.form-floating>.form-control-plaintext~label::after,
.form-floating>.form-control:focus~label::after,
.form-floating>.form-control:not(:placeholder-shown)~label::after,
.form-floating>.form-select~label::after {
    background-color: #f9f9f9 !important;
}

.form-control,
.form-select {
    background-color: #f9f9f9 !important;
    height: 60px !important;
}

.logo-fonseca {
    width: 100px;
}

.position-fixed {
    top: 0;
    left: 0;
}

#button-secondary {
    background-color: #3D3A39;
}

#button-adicionar {
    border: 1ps solid #3D3A39;
}

#button-adicionar:hover {
    background-color: #3D3A39;
}

#text-primary {
    color: #3D3A39 !important;
}

#text-secondary {
    color: #3D3A39;
}

#text-success {
    color: #50C980 !important;
}

#bg-secondary {
    background-color: #F9F9F9;
}

.text-tab {
    color: #3D3A39 !important;
}

.text-ligth {
    color: #746B6B !important;
}

.align-left {
    display: block;
    text-align: left !important;
    padding-left: 10px;
}

h2 {
    color: #3D3a39 !important;
}

.btn-lg {
    height: 60px !important;
    line-height: 40px !important;
}

.btn-outline {
    border: 2px dashed #746B6B !important;
}

.bg-fonseca {
    background-color: #851418;
    height: 250px;
}

.logo-home {
    width: 150px;
}

.link-hover:hover {
    background-color: #851418 !important;
}

.link-hover {
    color: #3D3A39 !important;
}

.link-hover-clicked {
    background-color: #851418 !important;
}

#text-hover:hover {
    color: white !important;
}

.text-hover-clicked {
    color: white !important;
}

.link-hover:hover .bi,
.link-hover:hover .nav-item {
    color: white !important;
}

.icon-logo {
    background-color: #851418;
    width: 45px;
}

.header {
    height: 70px;
    width: 100% !important;
}

.btn-success {
    background-color: #50C980 !important;

}

.btn-secondary {
    background-color: #3D3A39 !important;
}

.btn-secondary:hover {
    background-color: #545251 !important;
}

.button-add {
    width: 100%;
    height: 60px;
    border: 2px dashed #EFF0F6;
    background-color: #F9F9F9;
}

.navbar-min-height {
    min-height: 100%;
}

.text-disable {
    color: rgb(187, 187, 187);
    cursor: not-allowed !important;
}

.text-danger {
    color: #851418 !important;
}

#text-danger {
    color: #851418 !important;
}

.btn-danger {
    background-color: #851418 !important;
    border: none !important;
}

.btn-danger:hover {
    background-color: #a3282c !important;
}

.img-entidade {
    width: 80px !important;
    height: 80px;
    object-fit: fill;
}

.img-perfil {
    width: 100%;
}

.file-img {
    width: 100%;
    height: 175px !important;
    border: 2px dashed #EFF0F6;
    background-color: #F9F9F9;
    display: flex;
    align-content: center;
    justify-content: center;
}

.container-img-file {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.url_photo_entity {
    width: 100% !important;
    height: 185px !important;
    object-fit: cover !important;
    align-self: center !important;
    position: relative !important;
}

body>div.container-fluid>div>div.col-md-9.col-lg-10.p-0.offset-md-2.m-0>div.row.p-4>div>div.container-fluid.d-md-flex.p-2>div.col-sm-12.col-md-2.col-6.mb-4>div>label>div>div:hover,
body>div.container-fluid>div>div.col-md-9.col-lg-10.p-0.offset-md-2.m-0>form>div.row.p-4>div>div.container-fluid.d-md-flex.p-2>div.col-sm-12.col-md-2.col-6.mb-4>div>label>div>div {
    cursor: pointer;
}

.entidade {
    height: 120px !important;
}

.img-responsive {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
}

.card-entidade {
    height: 100px !important;
}

.avatar-entidade {
    width: 100%;
}

.small {
    font-size: small !important;
}

.file {
    width: 150px;
    height: 150px;
    border: 2px dashed #EFF0F6;
    background-color: #F9F9F9;
}

.file-doc {
    width: 95%;
    height: 250px;
    border: 2px dashed #746B6B;
    background-color: #F9F9F9;
}

.file-doc:hover {
    box-shadow: 0px 0px 35px #e3e3e3;
}

.img-doc {
    width: 100%;
    height: 250px;
}

.input-img {
    cursor: pointer !important;
}

.link-doc {
    transition: transform 0.3s ease;
}

.link-doc:hover {
    transform: scale(1.05);
}

.text-small {
    font-size: 12px;
}

.disabled {
    cursor: not-allowed !important;
}

.enabled {
    cursor: pointer;
}

#staticBackdrop {
    background-color: #50C980 !important;
    border: none;
    height: 100px;
}

.btn-close {
    color: #fff !important;
}

.dropdown-menu {
    width: 280px !important;
}

.doc-file {
    height: 240px;
    border: dashed 1px #746B6B !important;
}


.bi-filetype-pdf {
    font-size: 3rem !important;
}

.menu-lateral {
    width: 25% !important;
    min-width: 200px !important;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    overflow-y: auto;
}

#preview {
    position: relative;
    opacity: 1;
    filter: none;
    width: 100%;
}

#preview:hover {
    opacity: 0.8;
    filter: brightness(40%);
}

#preview:hover #icon-upload-image {
    display: block;
}

#icon-upload-image {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -30%);
    scale: 1.4;
    color: #fff !important;
}

#remove-image {
    font-size: 30px;
    color: red;
    display: block;
}

#left-column {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    max-width: 200px;
    padding-right: 10px;
    padding-left: 10px;
}

.doc-container {
    width: 170px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Image hover styles for photo upload */
.image-hover-container {
    position: relative;
    display: inline-block;
}

.choose-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.image-hover-container:hover .choose-photo-overlay {
    opacity: 1;
}

.title-doc {
    max-width: 145px;
}

.card-client {
    height: 100px;
}

.content-card-entity {
    max-width: 250px !important;
}

.label-btn-create {
    display: inline;
}

.preview-doc-img {
    object-fit: 'cover';
    cursor: 'pointer';
    background-position: 'center';
    height: 250px;
    width: 170px;
}

.underline {
    content: "";
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: rgba(0, 0, 0, 0.87);
    margin-top: 5px;
}

.nav-tabs-client {
    text-decoration: none;
    padding: 15px;
    color: #3d3a39a9 !important;
    font-weight: bold;
    font-size: large;
}

.clicked {
    color: rgba(0, 0, 0, 0.87) !important;
}

.modal-lg {
    max-width: 90%;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: 5px;
}

.modal-body-full {
    height: 80vh;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.modal-body-full iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

#img-dialog {
    width: auto;
    height: auto;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da !important;
    border-radius: .25rem !important;
    padding: .375rem .75rem !important;
    height: auto !important;
    min-height: 38px !important;
}

#selected-items-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.selected-item {
    background-color: #0d6efd !important;
    border: none !important;
    color: white !important;
    padding: .25rem .5rem !important;
    border-radius: .25rem !important;
    margin: .25rem !important;
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap;
}

.select2-container .select2-dropdown {
    border-radius: .25rem !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
}

.select2-container .select2-results__option {
    padding: .5rem 1rem !important;
}

#status_id {
    width: 100% !important;
}

.hidden {
    display: none;
}

.label-date {
    margin-top: 8px !important;
    margin-left: 12px !important;
}

@media (max-width: 1100.98px) {
    .content-card-entity {
        max-width: 170px !important;
    }

    .label-btn-create {
        display: none;
    }
}

.navbar-img-user {
    width: 60px !important;
    height: 60px !important;
}

.active {
    background-color: black;
}

.form-search {
    display: flex !important;
}

.select2-container {
    background-color: #f9f9f9 !important;
    height: calc(3.35rem + 6px) !important;
    border-radius: 15px !important;
    border: 1px solid #ced4da !important;
    display: flex !important;
    align-items: center !important;
}

.select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    padding-left: 12px !important;
    height: 100% !important;
}

.select2-selection__arrow {
    height: calc(3.35rem + 6px) !important;
    display: flex !important;
    align-items: center !important;
    padding-right: 2.2rem !important;
}

.select2-dropdown {
    border-radius: 15px !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    padding: 5px !important;
    background-color: #f9f9f9 !important;
    top: 0px;
}

.select2-results {
    background-color: #f9f9f9 !important;
}

.select2-results__option {
    padding: .375rem .75rem !important;
    background-color: #f9f9f9 !important;
    color: black !important;
}

.select2-results__option[aria-disabled=true] {
    color: rgb(122, 122, 122) !important;
}

.select2-results:hover {
    background-color: #f9f9f9 !important;
    color: black !important;
}

.select2-selection {
    word-wrap: normal !important;
    border: none !important;
    box-shadow: none !important;
    background-color: #f9f9f9 !important;
    align-content: center !important;
    max-width: 18vw !important;
}

.select2-search__field {
    border-radius: 10px !important;
}

.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: rotate(180deg) !important;
}

.custom-menu {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

@media (max-width: 991.98px) {
    .menu-lateral {
        width: 100%;
        min-width: 0;
        height: auto;
        position: static;
        overflow-y: hidden;
    }

    .card-entidade {
        height: 100px !important;
        max-width: 500px !important;
    }

    .content-card-entity {
        max-width: 100px !important;
    }

    @media (max-width: 767px) {
        #left-column {
            max-width: 100%;
            width: 100%;
        }

        .url_photo_entity {
            max-width: 100% !important;
            width: 100% !important;
            height: 180px !important;
            object-fit: cover !important;
        }

        .content-card-entity {
            max-width: 100% !important;
        }

        #div-search-financial {
            padding-left: 0px !important;
            padding-right: 0px !important;
        }

        #form-financial {
            padding: 0 !important;
            margin: 0 !important;
        }

        .select2-selection {
            max-width: 100% !important;
        }

        @media (max-width: 767px) {
            .select2-selection {
                max-width: 80vw !important;
            }
        }
    }
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #851418;
}

input:focus+.slider {
    box-shadow: 0 0 1px #851418;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

span.selection {
    width: 100%;
}

.form-control:focus {
    border-color: #9b0312 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.35) !important;
}

/* Estilo para os checkboxes "Selecionar Tudo" da tela de configuração de relatórios */
.select-all-columns {
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin-top: 0.3rem !important;
    margin-right: 0.6rem !important;
    transform: scale(1.05) !important;
}
