fieldset {
    border-right: 0px;
    border-left: 0px;
    border-bottom: 0px;
}

fieldset legend {
    color: #2a2f5b;
    font-weight: bold;
    font-size: 17px;
}

.p-top-2 {
    padding-top: 2px;
    text-align: center;
}

.m-top-2 {
    margin-top: 2px;
}

.m-top-4 {
    margin-top: 4px;
}

.m-top-10 {
    margin-top: 10px;
}

.m-top-12 {
    margin-top: 12px;
}

.text-center {
    text-align: center;
    align-content: center;
}

/* Alerts */

.alert {
    font-weight: 400;
}

.alert .close {
    background: rgba(255, 255, 255, 0.8);
    width: 25px;
    height: 25px;
    line-height: 25px;
    top: 0 !important;
    border-radius: 50%;
}

/*    Alert States    */
.alert-black {
    border-left: 4px solid #1a2035;
}

.alert-black [data-notify="icon"]:before {
    background: #1a2035;
}

.alert-primary {
    border-left: 4px solid #1572e8;
}
.alert-primary [data-notify="icon"]:before {
    background: #1572e8;
}

.alert-secondary {
    border-left: 4px solid #6861ce;
}
.alert-secondary [data-notify="icon"]:before {
    background: #6861ce;
}

.alert-info {
    border-left: 4px solid #0091ff !important;
}
.alert-info [data-notify="icon"]:before {
    background: #0091ff;
}

.alert-success {
    border-left: 4px solid #17d980;
}

.alert-success [data-notify="icon"]:before {
    background: #17d980;
}

.alert-warning {
    border-left: 4px solid #ffac33;
}
.alert-warning [data-notify="icon"]:before {
    background: #ffac33;
}

.alert-danger {
    border-left: 4px solid #f25961;
}

.alert-danger [data-notify="icon"]:before {
    background: #f25961;
}

.login-aside {
    background-color: #45e199;
}

#logout-form {
    display: inline;
}

#logout-form button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: nonde;
}

.form-control:disabled,
.form-control[readonly] {
    background: #ffffff !important;
    border-color: #ffffff !important;
}

.help-block-error {
    color: #ffffff !important;
    font-size: 80% !important;
    margin-top: 0.5rem;
    background: #f25961;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.badge-secondary-2 {
    background-color: #efefef !important;
    color: #5f5f5f;
}

.badge-success-2 {
    background-color: #e7fbf2 !important;
    color: #17d980;
}

.badge-warning-2 {
    background-color: #fff6e8 !important;
    color: #eb8e41 !important;
}

.badge-danger-2 {
    background-color: #ffeae5 !important;
    color: #f5694e !important;
}

/* Botões */

.btn-primary {
    color: #ffffff;
    background-color: #0091ff !important;
    border-color: #0091ff !important;
}

.btn-primary:hover {
    color: #ffffff;
    background-color: #0091ff !important;
    border-color: #0091ff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:disabled {
    background: #0091ff !important;
    border-color: #0091ff !important;
}

.btn-success {
    /*color: #0091ff;*/
    background-color: #17d980 !important;
    border-color: #17d980 !important;
}

.btn-success:hover {
    /*color: #0091ff;*/
    background-color: #17d980 !important;
    border-color: #17d980 !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:disabled {
    /*color: #0091ff !important;*/
    background: #17d980 !important;
    border-color: #17d980 !important;
}

.btn-outline-primary {
    color: #0091ff;
    border-color: #0091ff;
}

.btn-outline-primary:hover {
    color: #ffffff;
    background-color: #0091ff;
    border-color: #0091ff;
}

.btn-outline-success {
    color: #17d980;
    border-color: #17d980;
}

.btn-outline-success:hover {
    /*color: #0091ff;*/
    background-color: #17d980;
    border-color: #17d980;
}

.btn-round-primary {
    color: #0091ff;
    border-color: #0091ff;
    background-color: transparent;
}

.btn-round-primary:hover {
    color: #ffffff;
    background-color: #0091ff;
    border-color: #0091ff;
}

.btn-round-success {
    color: #17d980;
    border-color: #17d980;
    background-color: transparent;
}

.btn-round-success:hover {
    color: #ffffff;
    background-color: #17d980;
    border-color: #17d980;
}

.btn-warning {
    background-color: #ffbe60 !important;
    border-color: #ffbe60 !important;
}

.btn-warning:hover {
    background-color: #ffbe60 !important;
    border-color: #ffbe60 !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:disabled {
    background: #ffbe60 !important;
    border-color: #ffbe60 !important;
}

/* Footer */
footer a {
    color: #17d980;
}

/* Feed items */

.feed-item-primary::after {
    background: #0091ff !important;
}

.feed-item-success::after {
    background: #17d980 !important;
}

/* Paginação */

.pagination .page-link {
    color: #ff9641;
    border-color: #ff9641;
}

.pagination .page-link:hover {
    color: #ffffff;
    background-color: #ff9641;
    border-color: #ff9641;
}

.pagination .page-item.active .page-link {
    color: #ffffff;
    background-color: #ff9641;
    border-color: #ff9641;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: transparent;
    border-color: #dee2e6;
}

.input_foto {
    display: block;
    color: #333333;
    font-style: oblique;
}

.input_foto::file-selector-button {
    display: none;
}

/* .table td, .table th {
    font-size: 12px;
} */

.list-permissions li {
    background-color: #e5f4ff;
    color: #17d980;
}

.list-permissions .list-group-item {
    border: 1px solid #ffffff;
}

.permissions-select option,
select[name="group_permissions"] {
    text-transform: uppercase;
    color: #333333;
    margin-top: 2px;
}

table.permissions td {
    text-transform: uppercase;
}

/*.table thead th {
    color: #0091ff;
}*/
.table thead th a {
    color: #17d980;
}

.icon-check-permissions-denied {
    color: #dc3545;
}

.icon-check-permissions-allowed {
    color: #17d980;
}

.form-check > label.form-check-label {
    margin-top: 10pt;
}

.form-check-low-height div.form-check {
    margin-bottom: 0 !important;
    padding: 0px !important;
}

.form-check-low-height input.form-radio-input {
    margin-top: 0.1rem !important;
}

.hide {
    display: none;
}

/* Sidebar and topbar */

.navbar-header[data-background-color="blue"] {
    background: #0091ff !important;
}

.logo-header[data-background-color="blue"] {
    background: #17d980 !important;
}

.navbar-header[data-background-color="green"] {
    background: #17d980 !important;
}

.logo-header[data-background-color="green"] {
    background: #17d980 !important;
}

.sidebar.sidebar-style-2 .nav.nav-primary > .nav-item.active > a p,
.sidebar.sidebar-style-2 .nav.nav-primary > .nav-item.active > a i,
.sidebar.sidebar-style-2 .nav.nav-primary > .nav-item.active > a .caret,
.sidebar.sidebar-style-2 .nav.nav-primary > .nav-item.active > a span {
    color: #ffffff !important;
}

.sidebar.sidebar-style-2 .nav.nav-primary > .nav-item.active > a[data-toggle="collapse"][aria-expanded="true"] i {
    color: #0091ff !important;
}

.sidebar.sidebar-style-2 .nav.nav-primary > .nav-item.active > a {
    background: #17d980 !important;
    box-shadow:
        4px 4px 10px 0 rgba(0, 0, 0, 0.1),
        4px 4px 15px -5px rgba(21, 232, 186, 0.39);
}

.sidebar.sidebar-style-2 .nav .nav-item .active a {
    background: #e7fbf2;
    color: #2edd8c;
}

.sidebar .nav-collapse li.active > a,
.sidebar[data-background-color="white"] .nav-collapse li.active > a {
    font-weight: 800;
}

.sidebar .nav > .nav-item a,
.sidebar[data-background-color="white"] .nav > .nav-item a {
    display: flex;
    align-items: center;
    color: #5f5f5f;
    padding: 6px 25px;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    margin-bottom: 3px;
}

.color-blue,
.blue {
    color: #0091ff !important;
}

.color-white,
.white {
    color: #ffffff !important;
}

.color-grey,
.grey {
    color: #6f6f6f;
}

.color-grey:hover,
.grey:hover {
    color: #6f6f6f;
}

.color-green,
.green {
    color: #17d980;
}

.color-green:hover,
.green:hover {
    color: #17d980;
}

/* Navbar links */
.nav-link.active {
    border-color: #17d980;
    color: #17d980;
}

.nav-link {
    color: #17d980;
}

.nav-link:hover {
    color: #ffac33;
}

.nav.nav-simple.nav-color-info .nav-link:hover,
.nav.nav-simple.nav-color-info .nav-link:focus {
    color: #ffac33;
}

.bg-primary-gradient {
    background: #0091ff !important;
    background: -webkit-linear-gradient(legacy-direction(-45deg), #0091ff, #152770) !important;
    background: linear-gradient(-45deg, #152770, #0091ff) !important;
}

.label-wrap {
    white-space: pre-wrap !important;
}

/* Error pages */
.page-not-found {
    background: #0091ff;
    background-size: cover;
    background-position: center;
    image-rendering: pixelated;
}

.page-not-found .wrapper.not-found {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #ffffff;
    /* background: rgba(0, 0, 0, 0.61); */
}

.error-page-text {
    font-size: 17px;
}

/* Password redefinition */

.passwd-redefinition-bg {
    background: #0091ff;
    background-size: cover;
    background-position: center;
    image-rendering: pixelated;
}

/* Margin */

.mt-15 {
    margin-top: 15px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-100 {
    margin-top: 100px;
}

.mt-150 {
    margin-top: 150px;
}

/* Top right meu */

.icon-top-right-menu {
    font-size: 35px !important;
    color: #e9e9e9 !important;
    text-align: center !important;
}

.avatar-lg {
    text-align: center !important;
}

.circles-text {
    color: #0091ff;
}

.text-color-blue {
    color: #0091ff;
}

.text-color-green {
    color: #17d980;
}

.text-color-red {
    color: #dc3545 !important;
}

.custom-file-input {
    visibility: hidden;
    width: 0;
}

.custom-file-label {
    display: inline-block;
    background-color: #fff; /* Cor personalizada */
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.custom-file-label:hover {
    background-color: #fff; /* Cor de hover */
}

.custom-file-input:lang(en) ~ .custom-file-label::after {
    content: "Selecionar arquivo";
    background-color: #f5f5f5;
    color: #0091ff;
}

.s3-image {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Crops the image to fit */
    margin: 0 auto;
}

.s3-image-no-crop {
    max-width: 300px; /* Limit width to 300px */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto;
}

.alert-success-box {
    background-color: #17d980 !important;
    color: white !important;
    font-weight: 700;
    padding: 10px;
    border-radius: 5px;
    text-align: center !important;
}

.alert-danger-box {
    background-color: #f25961 !important;
    color: white !important;
    font-weight: 700;
    padding: 10px;
    border-radius: 5px;
    text-align: center !important;
}

.bg-info-gradient {
    background: #0091ff !important;
    background: -webkit-linear-gradient(legacy-direction(-45deg), #4cb2ff, #0091ff) !important;
    background: linear-gradient(-45deg, #4cb2ff, #0091ff) !important;
}

.bg-success-gradient {
    background: #17d980 !important;
    background: -webkit-linear-gradient(legacy-direction(-45deg), #54bd80, #17d980) !important;
    background: linear-gradient(-45deg, #54bd80, #17d980) !important;
}

.bg-warning-gradient {
    background: #ffad46 !important;
    background: -webkit-linear-gradient(legacy-direction(-45deg), #ffd200, #ffad46) !important;
    background: linear-gradient(-45deg, #ffd200, #ffad46) !important;
}

.bg-danger-gradient {
    background: #f25961 !important;
    background: -webkit-linear-gradient(legacy-direction(-45deg), #e80a15, #f25961) !important;
    background: linear-gradient(-45deg, #e80a15, #f25961) !important;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: #ffdaa5;
    color: #333;
}

::selection {
    background: #ffedd2;
    color: #6f6f6f;
    text-shadow: none;
}

::-moz-selection {
    background: #ffedd2;
    color: #6f6f6f;
    text-shadow: none;
}

.table-striped tbody tr:nth-of-type(2n + 1) {
    background-color: #e7fbf2;
}

.card-sub-primary {
    display: block;
    margin: 5px 0 10px 0;
    font-size: 0.9rem;
    background: #e5f4ff;
    color: #199cff;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
    line-height: 1.82;
}

.card-sub-warning {
    display: block;
    margin: 5px 0 10px 0;
    font-size: 0.9rem;
    background: #ffedd2;
    color: #ff9641;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
    line-height: 1.82;
}

.btn-outline-success:focus {
    color: #17d980;
    border-color: #17d980;
}

/*.nav-search .form-control {
    border: 0;
    background: transparent !important;
    font-size: 14px;
    padding: 0.75em 1em;
    min-width: 200px;
    max-width: 100%;
}*/

/*.main-header .navbar-header[data-background-color] .nav-search .input-group,
.main-header[data-background-color="custom"] .navbar-header .nav-search .input-group {
    border: 0;
    background: #fff6e8 !important;
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.07);
    transition: all 0.4s;
}*/

/*input.investiment-search-bar {
    background: #fff6e8 !important;
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.07);
    transition: all 0.4s;
}

input.investiment-search-bar:focus {
    border-color: #ffb54a;
}

div.investiment-search-bar > div.input-group-prepend > span.input-group-text {
    background: #ffe3bb !important;
}*/

table.table-investiments a:hover {
    text-decoration-style: dashed;
}

table.table-investiments a:active,
table.table-investiments a:focus {
    color: #6f6f6f;
}

.text-success {
    color: #17d980 !important;
}
