@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;
    overflow: hidden;
}

.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: #362dff;
    /* color: rgb(8, 3, 3); */
}

.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 {
    /* overflow-y: scroll;
    height: 500px; */
    /* border-top: 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;
}

.nav-tabs {
    border-bottom: 0px;
}

/* 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: 18%;
    max-width: 18%;
}

.nav-pills .nav-link.active {
    background-color: #dc3545;
}

.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: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    margin: 5px 10px;
    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.6em;
}

.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: 5px 10px;
        margin: 0;
    }

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

    .tab-nav-container .tab:not(active) i.fa-circle-plus {
        font-size: 2.1em;
    }

    .tab-nav-container .tab.active i.fa-circle-plus {
        font-size: 2em;
    }
}

/* 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%;
}

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




/* HALF STAR STYLING */
.panel {
    background-color: white;
    text-align: center;
    display: flex;
    justify-content: space-around;
}

fieldset,
label {
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 20px 0 20px;
}

.rateIt {
    border: none;
    float: left;
}

.rateIt>input {
    display: none;
}

/* If the screen size is smaller than 540px, do something */
@media (max-width:540px) {
    .rateIt>label:before {
        margin: 12px;
        font-size: 1.5em;
        font-family: FontAwesome;
        display: inline-block;
        content: "\f005";
    }

    .rateIt.badIcons>label:before {
        font-family: FontAwesome;
        display: inline-block;
        content: "\f556";
    }
}

/* If the screen size is 541px wide or more, do something */
@media (min-width: 541px) {
    .rateIt>label:before {
        margin: 10px;
        font-size: 4em;
        font-family: FontAwesome;
        display: inline-block;
        content: "\f005";
    }

    .rateIt.badIcons>label:before {
        font-family: FontAwesome;
        display: inline-block;
        content: "\f556";
    }
}


.rateIt>.half:before {
    content: "\f089";
    position: absolute;
}

.rateIt>label {
    color: #ddd;
    float: right;
}

.rateIt>input:checked~label,
/* show gold star when clicked */
.rateIt:not(:checked)>label:hover,
/* hover current star */
.rateIt:not(:checked)>label:hover~label {
    color: #ffd608;
}

.rateIt.badIcons>input:checked~label,
/* show gold star when clicked */
.rateIt.badIcons:not(:checked)>label:hover,
/* hover current star */
.rateIt.badIcons:not(:checked)>label:hover~label {
    color: #ec4444;
}

/* hover previous stars in list */
.rateIt>input:checked+label:hover,
/* hover current star when changing rateIt */
.rateIt>input:checked~label:hover,
.rateIt>label:hover~input:checked~label,
/* lighten current selection */
.rateIt>input:checked~label:hover~label {
    color: #f4b804;
}

/* hover previous stars in list */
.rateIt.badIcons>input:checked+label:hover,
/* hover current star when changing rateIt */
.rateIt.badIcons>input:checked~label:hover,
.rateIt.badIcons>label:hover~input:checked~label,
/* lighten current selection */
.rateIt.badIcons>input:checked~label:hover~label {
    color: #bf0440;
}

/* .fa-circle-plus {
    color: red;
    font-size: 40px;
    margin: 10px;
} */

.fa-heart:before {
    content: "\f004";
    font-family: FontAwesome;
}


.fa {
    cursor: pointer;
    pointer-events: none;
}

label {
    display: block;
    font-size: 1em;
    font-weight: 500;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
}

.nav-tabs .nav-link {
    border: 1px solid rgb(220, 219, 219);
}

.nav-tabs .nav-link.active {
    background-color: #c2d8f0;
    border-bottom: 2px solid rgb(37, 127, 46);
    border-radius: 10px 10px 0px 0px;
    border-top: 1px solid rgb(37, 127, 46);
    border-left: 1px solid rgb(37, 127, 46);
    border-right: 1px solid rgb(37, 127, 46);
}

/* #myTabContent {
    height: 70vh;
    border-radius: 0px 0px 10px 10px;
} */

.element::-webkit-scrollbar {
    display: none;
    /* or width: 0; height: 0; */
}

.iconSelect .custom-control-input:checked~.custom-control-label.good {
    background: #599716;
    color: #fff;
}

.iconSelect .custom-control-input:checked~.custom-control-label.neutralDay {
    background: #919391;
    color: #fff;

}

.iconSelect .custom-control-input:checked~.custom-control-label.good .fa {
    color: #fff !important;
}

.iconSelect .custom-control-input:checked~.custom-control-label.neutralDay .fa {
    color: #fff !important;
}

.iconSelect .custom-control-input:checked~.custom-control-label.bad .fa {
    color: #fff !important;
}

.iconSelect .custom-control-input:checked~.custom-control-label.bad {
    background: #e10284;
    color: #fff;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-toggle::after {
    display: none;
}

.dayTable {
    max-height: 50vh;
    overflow: scroll;
    overflow-x: hidden;
    width: 98%;
}

.badCard {
    border: 2px solid red;
    background-color: rgba(255, 0, 0, 0.15);
}

.goodCard {
    border: 2px solid rgb(106, 163, 0);
    background-color: rgba(130, 255, 144, 0.15);
}

.neutralCard {
    border: 2px solid rgb(63, 63, 63);
    background-color: rgba(133, 135, 134, 0.15);
}

.dayCardIcon {
    font-size: 2.2em;
}

.flatpickrSelect {
    font-size: 1.2em;
}

#addGoodItems {
    max-height: 120px;
    overflow: hidden;
    overflow-y: scroll;
}

#addBadItems {
    max-height: 120px;
    overflow: hidden;
    overflow-y: scroll;
}

.form-check-input:checked {
    background-color: #198754;
    border-color: rgb(37, 127, 46);
}

#addBadItems .form-check-input:checked {
    background-color: #ec0000;
    border-color: rgb(219, 0, 18);
}

.goodCount,
.badCount,
.neutralCount,
.goodCountAll,
.badCountAll,
.neutralCountAll {
    font-size: .9em;
}

p {
    margin-bottom: 0px;
}

.settings-item {
    padding: 10px 0px;
}

.settings-item p {
    color: gray;
    font-weight: 400;
    font-size: .9em;
    padding-top: 5px;
}

/* html,
body {
    width: 100%;
    height: 100vh;
    margin: 0;
    overflow: hidden;
} */