@keyframes fade {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

nav ul {
    margin: 1rem 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

nav a {
    margin: 0 1rem;
    color: #566B78;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: flex-start;
}

.app>* {
    display: none;
}

.app>*:last-child {
    display: block;
}

.app>*:target {
    display: block;
    animation: fade 300ms linear 1;
}

.app>*:target~* {
    display: none;
}


.nav-link {
    text-align: center;
    color: white;
}

.nav-link.vertical {
    text-align: center;
    color: rgb(72, 72, 72);
    margin-top: 5px;
    margin-bottom: 5px;
}

.nav-link.vertical.active .vertical-title {
    display: block;
    font-size: .9em;
}

.nav-link.vertical.active .fa {
    display: block;
    font-size: 2.2em;
}

.nav-link.vertical:not(active) .vertical-title {
    display: none;
}

.nav-link.vertical:not(active) .fa {
    font-size: 1.8em;
}

.nav-link.tab {
    text-align: center;
    color: red;
}

.fa-moon.fa-duotone:after,
.fad:after {
    color: gray;
}


.nav-link.tab.active {
    text-align: center;
    color: rgb(4, 21, 74);
    font-weight: 700;
}

.nav-link.tab:not(active) {
    text-align: center;
    background-color: rgb(213, 213, 213);
    font-weight: 600;
    border-radius: 10px 10px 0px 0px;
}

.iconName {
    font-size: .5em;
}

.navbar {
    border-radius: 1rem 1rem 0 0;
    padding-top: .5em;
    padding-bottom: 0.1em;

}

.tab-content.sidebar {
    overflow-y: scroll;
    height: 600px;
    border: 1px solid rgb(216, 216, 216);
    border-radius: 8px;
    padding: 8px;
}

.tab-content.offside {
    overflow-y: scroll;
    height: 500px;
    border: 1px solid rgb(216, 216, 216);
    border-radius: 8px;
    padding: 8px;
}

.navbar>.container-fluid {
    display: flex;
    align-items: stretch;
}


/* Style the active class, and buttons on mouse-over */
.active,
.nav-link:hover {
    color: rgb(41, 10, 181);
    font-size: 1em;
}

.active,
.nav-link .tab-pane {
    color: rgb(21, 21, 21);
    font-size: 1em;
}

.nav.flex-column.nav-pills {
    min-width: 20%;
    max-width: 20%;
}

/* If the screen size is 900px wide or more, do something */
@media (min-width: 900px) {
    .nav.flex-column.nav-pills {
        min-width: 8%;
        max-width: 8%;
    }
}

/* If the screen size is between 600px and 899.99px wide, do something */
@media only screen and (min-width: 600px) and (max-width: 899.99px) {
    .nav.flex-column.nav-pills {
        min-width: 15%;
        max-width: 15%;
    }
}

.nav-pills .nav-link.active {
    background-color: rgb(254, 172, 100);
}

.nav-link.vertical.active {
    background-color: rgb(100, 180, 254);
}

.tab-text {
    color: rgb(249, 0, 0) !important;
}

.dark-mode {
    background-color: black;
    color: white;
}


/* FOOTER TAB STYLING - START */
.tab-nav-container {
    background-color: #fff;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-top: 1px solid gray;
    width: 100%;
    position: fixed;
    bottom: 0;
    text-decoration: none !important;
}

.tab-nav-container .tab {
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    margin: 3px 8px;
    transition: background 0.5 linear;
    text-decoration: none !important;
}

.tab-nav-container .tab i {
    font-size: 2em;
    color: white;
}

.tab-nav-container .tab.active i {
    font-size: 1.5em;
}

.tab-nav-container .tab p {
    overflow: hidden;
    max-width: 0;
}

.tab-nav-container .tab.active p {
    margin-left: 10px;
    max-width: 200px;
    transition: max-width 0.4s linear;
    padding: 5px;
}

.tab-nav-container .tab.active.purple {
    background-color: rgba(5, 176, 51, 0.2);
    color: rgb(3, 168, 14);
}

.tab-nav-container .tab.active.purple i {
    color: rgb(3, 188, 43);
}

.tab-nav-container .tab.active.pink {
    background-color: rgba(243, 185, 226, 0.2);
    color: rgb(255, 138, 220);
}

.tab-nav-container .tab.active.pink i {
    color: rgb(255, 138, 220);
}

.tab-nav-container .tab.active.yellow {
    background-color: rgba(230, 169, 25, 0.2);
    color: rgba(230, 169, 25, 1);
}

.tab-nav-container .tab.active.yellow i {
    color: rgba(230, 169, 25, 1);
}

.tab-nav-container .tab.active.teal {
    background-color: rgba(237, 164, 196, 0.167);
    color: rgb(69, 142, 245);
}

.tab-nav-container .tab.active.teal i {
    color: rgb(69, 142, 245);
}

.tab-nav-container .tab.active.orange {
    background-color: rgba(237, 164, 196, 0.167);
    color: rgb(35, 255, 207);
}

.tab-nav-container .tab.active.orange i {
    color: rgb(35, 255, 207);
}

@media (max-width: 450px) {
    .tab-nav-container .tab {
        padding: 3px 8px;
        margin: 0;
    }

    .tab-nav-container .tab i {
        font-size: 1.7em;
    }
}

/* FOOTER TAB STYLING - END */

button {
    cursor: pointer;
}

.form {
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.form label {
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

table {
    border-collapse: collapse;
}

td,
th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

input {
    border-radius: 5px;
    border: 1px solid gray;
    margin: 0px 8px;
    padding: 2px 5px;
}

#modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
}

#modal .backdrop {
    background-color: rgba(43, 40, 40, 0.5);
    width: 100vw;
    height: 100vh;
}

#modal .form {
    background-color: #fff;
    border: 1px solid blue;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 90%;
}

.fa {
    pointer-events: none;
}

.offcanvas {
    overflow-y: auto;
    max-width: 75%;
}

.nav-tabs .nav-link.active {
    background-color: rgb(247, 247, 247);
    border-bottom: 2px solid rgb(31, 145, 42) !important;
    border-radius: 0px;
    border-color: #9f9c9c26;
}

.offcanvasIcon {
    font-size: 1.5em;
}


.icon {
    margin-right: 10px;
}

li .icon {
    margin-right: none !important;
}

.body li {
    transition: 1s all;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    padding: 15px;
    margin-top: 0px;
    list-style: none;
    display: block;
    border-bottom: 1px solid #716c6c69;
}

li:hover {
    transition: 1s all;
    cursor: pointer;
}

.body>li {
    float: left;
}

.body li ul {
    background: #1E2B32;
    margin-left: 280px;
    margin-top: -38px;
    display: none;
    position: absolute;
}

.body li:hover>ul {
    display: block;
    cursor: pointer;
}



.menu .menu-item .menu-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    list-style: none;
    position: relative;
    color: var(--ct-menu-item-color);
    gap: var(--ct-menu-link-item-gap);
    -webkit-transition: var(--ct-menu-transition);
    transition: var(--ct-menu-transition);
    border-radius: var(--ct-border-radius);
    font-size: var(--ct-menu-item-font-size);
    padding: var(--ct-menu-link-padding-y) var(--ct-menu-link-padding-x);
}


.menu .menu-item .menu-link>.menu-icon {
    width: var(--ct-menu-item-icon-size);
    font-size: var(--ct-menu-item-icon-size);
    line-height: var(--ct-menu-item-icon-size);
    -webkit-transition: var(--ct-menu-transition);
    transition: var(--ct-menu-transition);
}

.menu .menu-item .menu-link>.menu-arrow {
    margin-left: auto;
    -webkit-transition: var(--ct-menu-transition);
    transition: var(--ct-menu-transition);
    line-height: var(--ct-menu-item-font-size);
    font-size: calc(var(--ct-menu-item-font-size) * 1.18);
}

a.menu-text {
    color: black;
    font-size: 1.2em;
    padding-left: 10px;

}

.menu-text {
    color: black;
    font-size: 1.2em
}

li .icon {
    font-size: 1.5em;
    margin-right: 5px;
}

.card.menu .body>ul>li>span {
    display: flex;
    color: red !important
}


.iconSelect .custom-control-label::before,
.iconSelect .custom-control-label::after {
    top: auto;
    left: 0;
    right: 0;
    bottom: 1rem;
    margin: auto;
    display: none;
}


.custom-control-label::after {
    cursor: pointer;
    pointer-events: none;
    display: none;
}

.custom-control-label::before {
    cursor: pointer;
    pointer-events: none;
    display: none;
}

.custom-checkbox input {
    display: none;
}

.accordion-button:not(.collapsed) {
    font-size: 1.1em;
    font-weight: 600;
    background-color: #dc3545 !important;
    color: white;
    border-radius: 4px 4px 0px 0px;
}

.accordion-button:not(.collapsed) i {
    color: white !important;
}

.accordion-button.collapsed {
    font-size: .9em;
    border: 1px solid #959595 !important;
    border-radius: 4px;
}

.accordion-button.collapsed i {
    color: green;
}

.accordion-button {
    display: block;
    text-align: center;
}

.submitRecord {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    padding-top: 10px;
    border-top: 2px solid gray;
    text-align: center;
    z-index: 1000;
}