@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@import "navbar.css";
@import "media-query.css";
@import "card.css";
@import "form.css";

:root {
    /* change mode color */
    --body_background: #dedede;
    --blue_color: rgba(1,43,88,255);
    --blue_hover_color:rgba(2,101,166,255);
    --disabled: rgb(143, 143, 143);
    --white:#ffffff;
    --black:#122535;
}

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

body h5 {
    font-size: 1rem!important;
}

label, p {
    color: var(--black)!important;
}

body p {
    font-weight: 400;
}

.m-unset{
    margin: unset!important;
}
.p-unset {
    padding: unset!important;
}

.mr-10{
    margin-right: 10px;
}

.mr-5{
    margin-right: 5px;
}

.lang-select {
    min-width: 180px;
}

.color-blue {
    color:rgba(2,101,166,255);
}

.field-error {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

body .table {
    cursor: default!important;
}

#sidebar a,
#sidebar a:hover,
#sidebar a:focus,
#sidebar a:active {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 300px;
    max-width: 300px;
    max-height: calc(100vh - 250px);
    background: white;
    color: #fff;
    transition: all 0.3s;
    position: sticky;
    margin: 10px;
    border-radius: 5px;
    overflow: auto;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: var(--blue_hover_color);
    border-bottom: 1px solid var(--blue_hover_color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    border-radius: 5px 5px 0px 0px;
}

.header-logo {
    width: 50px;
    height: 50px;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em!important;
    display: block;
}

#sidebar ul li a:hover {
    color: var(--white);
    background: var(--blue_color);
}

.menu-active {
    color: #043960 !important;
    background: #fff !important;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: var(--white);
    background: var(--blue_color);
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 50px !important;
    background: var(--blue_color);
}

#sidebar ul ul a:hover {
    color:white;
    background-color: #3a8ee9;
}

body .sv-active {
    background: var(--blue_hover_color);
    color: var(--white);
}

body .title-ul {
    background-color: var(--blue_hover_color);
}

body ul.submenu-a li a {
    background-color: white!important;
    color:var(--blue_color)!important;
}

body ul.submenu-a li a:hover {
    background-color: var(--blue_color)!important;
    color:white!important;
}

ul.CTAs a {
    text-align: center;
    display: block;
    border-radius: 5px;
    font-size: 1.1em!important;
    margin-bottom: 5px;
}


a.article,
a.article:hover {
    background: var(--blue_hover_color) !important;
    color: var(--white) !important;
    border: 1px solid var(--blue_hover_color);
}

#content {
    width: 100%;
    height: calc(100vh - 230px)!important;
    transition: all 0.3s;
    padding-top: 10px;
    padding-right: 10px;
}

.menu-icon {
    color: white;
    -webkit-filter: grayscale(1) invert(1);
    filter: grayscale(1) invert(1);
    margin-right: 10px;
}

.menu-item-container {
    display: flex;
    align-items: center;
    padding: 0px 40px 0px 5px;
}
.list-submenu{
    text-align: left;
}

body .btn-primary {
    background-color: rgba(2,101,166,255);;
    border-color: rgba(2,101,166,255);;
}

body .btn-primary:hover {
    background-color: rgba(1,43,88,255);!important;
    border-color: rgba(1,43,88,255);!important;
    color:white;
}

body .add-button{
    background-color: var(--blue_color);
    border-color: var(--blue_color);
    color: var(--white);
}

body .add-button:hover {
    border-color:#3a8ee9;
    color: white;
    background-color:#3a8ee9;
}

body .menu-item-container img {
    width: 25px;
}

body .table-dark th{
    background-color: var(--blue_hover_color);
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px;
    color:white;
}

body .table-modal-header table thead tr td{
    background-color: var(--blue_hover_color);
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px;
    color:white;
}

body .table-dark th:first-child,
body .table-modal-header table thead tr td:first-child{
    border-radius: 5px 0 0;
}

body .table-dark th:last-child,
body .table-modal-header table thead tr td:last-child{
    border-radius: 0 5px 0 0;
}

body .page-item .page-link{
    background-color:var(--blue_hover_color);
    border-color: var(--blue_color);
    color:var(--white);
    padding:10px 15px;
}

body .page-item .page-link:hover{
    background-color:  var(--blue_color);
    border-color: var(--blue_hover_color);
    color:var(--white)
}

body .logout-button {
    color:white;
    background-color: var(--blue_color);
}

body .logout-button:hover {
    color:white;
    background-color: #3a8ee9;
}

/* TABS */
.nav-tabs {
    background-color: var(--white);;
}
.nav-item button{
    color: var(--black) !important;
    border-right: 1px solid #DEE2E6!important;
}
.nav-link.active {
    background-color: var(--blue_hover_color)!important;
    color: var(--white)!important;
}
.tab-content {
    background-color: var(--white);
    padding: 10px;
}

body .page-item.active .page-link {
    background-color: var(--blue_color);
    border-color: var(--blue_color);
}

body .sv-border-table {
    border-width: 0px 1px 1px 1px;
}

body thead tr th {
    vertical-align: middle;
}

body .sv-table-history thead tr th {
    width: 33.3%;
}

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

    #sidebar.active {
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }
}
.select-change-language{
    background: none;
    border: none;
    outline: none;
    border-bottom: 1px solid white;
    border-radius: 0px;
    color: white;
    width: 100%;
}
.select-change-language:focus{
    box-shadow: none;
}
.select-change-language>option{
    background: var(--blue_color);
}

.tab-pane.organization-tab[data-display-toggle=false]{
    display: none;
}

.tab-pane.organization-tab[data-display-toggle=true]{
    display: block;
}

.dd-financing-source-table{
    background-color:rgba(0, 0, 0, 0.05)!important;
}

.dd-table-row-h{
    height: 40px;
}

.tab-button-container{
    display: flex;
    flex-direction: row-reverse;
    padding: 1rem;
    gap: 1rem;
}

[data-required-label="true"]::after{
    content: " *";
    color: red;
    font-size: 1.25rem;
    font-weight: bold;
}

dialog{
    padding: 0;
    border: 0;
}
*::-webkit-scrollbar {
    width: 7px;
}

*::-webkit-scrollbar-track {
    background: white;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--blue_color);
    border-radius: 20px;
    border: 3px solid var(--blue_color);
}

.disabled-link a{
    text-decoration: none;
    color: darkgrey;
    pointer-events: none;
}

.disabled-link a{
    text-decoration: none;
    color: darkgrey;
    pointer-events: none;
}

.m-unset {
        font-family: Arial;

}
body .footer-img img {
    width: 100px;
    height: 60px;
}

body .footer-container{
    background: white;
}