﻿.desktop-nav {
    display: block;
}

.kcheader {
    background-color: #01678e;
}

body.dark .kcheader {
    background-color: inherit;
}

.dark .dropdown-menu .dropdown-item:hover {
    color: #000;
    text-decoration: none;
    background-color: #ddd;
}

.dark .dropdown-menu .dropdown-item:active::before {
    background-color: #fff !important;
    color: #01a95e !important;
}

.dark .dropdown-menu .dropdown-item:active {
    background-color: #fff !important;
    color: #01a95e !important;
}

.dark .dropdown-menu .dropdown-item:active::after {
    background-color: #fff !important;
    color: #01a95e !important;
}

.dark .kcheader a {
    color: #fff;
}


.topnav {
    background-color: #01678e;
    height: 75px;
    padding: 10px;
}

    .topnav a {
        float: left;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
    }

    .topnav .active:before {
        position: absolute;
        content: "";
        border-bottom: 3px solid #ffff;
        width: 100%;
        transform: translateX(-50%);
        bottom: -7px;
        left: 50%;
    }

.home-logo:before {
    content: none !important;
}

.applogo-svg {
    width: 50px;
    height: 32px;
    left: 20px;
    top: 22px;
}

img {
    vertical-align: middle;
    border-style: none;
}

.logo-svg {
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.res-data {
    display: none;
}

.res-nav {
    width: 100%;
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
}

.icon {
    color: #ffffff;
}

img {
    vertical-align: middle;
    border-style: none;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

.bold {
    font-weight: bold;
}

#headerProfileImage {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #107c10;
    font-size: 25px;
    color: #fff;
    text-align: center;
    line-height: 40px;
}

.user {
    float: right;
    padding: 6px;
    margin-right: 20px;
    border: none;
    border-radius: 100px;
    height: 50px;
}

.profile-collapse .card-body {
    max-width: 322px;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.p-0 {
    padding: 0 !important;
}

.m-0 {
    margin: 0 !important;
}

.profile-ul li {
    list-style: none;
    padding: 5px 0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #868a8c;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#profileImage {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #107c10;
    font-size: 35px;
    color: #fff;
    text-align: center;
    line-height: 67px;
}

.profile-ul .user {
    height: 70px;
    margin-top: -10px;
    margin-right: 10px;
}

.float-left {
    float: left !important;
}

.profile-ul b {
    color: #000;
}

b, strong {
    font-weight: bolder;
}

.profile-ul a {
    font-size: 13px;
    color: #868a8c;
}

.profil-mail {
    font-size: 12px !important;
}

.profile-ul li {
    list-style: none;
    padding: 5px 0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #868a8c;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.icon-profile {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    float: left;
}

.pt-0, .py-0 {
    padding-top: 0 !important;
}

.toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px !important;
}

.toggle input[type="checkbox"] {
        height: 0;
        width: 0;
        visibility: hidden;
    }

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

.toggle label {
    cursor: pointer;
    text-indent: 0px;
    width: 66px;
    height: 28px;
    /* background: #00AA5E; */
    background: #107c10;
    display: block;
    border-radius: 100px;
    position: relative;
    float: right;
    margin: 0;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.toggle span.switch-light {
    color: #fff;
    font-size: 10px;
    /* left: 26px; */
    right: 10px;
    top: 7px;
    position: absolute;
    text-transform: uppercase;
}

.toggle span.switch-dark {
    color: #fff;
    font-size: 10px;
    /* left: 26px; */
    right: 28px;
    top: 7px;
    position: absolute;
    text-transform: uppercase;
    display: none;
}

.w-100 {
    width: 100% !important;
}

.profile-btn {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #DDDDDD;
    background: none;
    height: 40px;
    font-weight: 600;
    font-size: 14px;
    background-color: #107c10;
    color: #fff;
}

.profile-btn {
    background-color: #107c10 !important;
    color: #fff !important;
}

.desktop-nav .dropdown > .dropdown-menu, .dropdown .logo-svg > .dropdown-menu {
    display: block !important;
    margin: 50px 0 0 30px;
    z-index: 5000
}
.profile-menu{
        position: absolute;
    }
@media (min-width: 768px) {
    .userPanel {
        float: right;
        display: flex;
        flex-direction: row-reverse;
        position: relative;
    }
    .searchBox{
        float:right;
    }
    .profile-menu{
        margin: 40px 370px 0px 0px;
    }
    
}
@media (max-width: 768px) {

    .profile-menu{
        margin: 10px 300px 0px 15px;
    }
    
}
.dropdown-menu {
    padding: 20px 5px !important;
    max-height: 648px;
    overflow-y: auto;
    max-width: 450px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 20rem !important;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
}

.title-dropdawn {
    font-size: 15px;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.icon_list {
    float: right;
}

.dropdown-menu a {
    color: #000;
}

.title-dropdawn {
    font-size: 15px;
}

.dropdown-item {
    width: 100%; 
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    word-wrap: break-word; 
    overflow-wrap: break-word;
    white-space: normal !important;
    background-color: transparent;
    border: 0;
    font-family: 'Segoe UI Regular', Arial, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !important;
}

.dropdown-item {
    text-align: left !important;
    font-size: 14px !important;
}

.viewall {
    position: relative;
    width: 100%;
    margin-top: 10px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    background-color: #107c10;
    color: #fff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-family: 'Segoe UI Regular', Arial, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',  sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !important;
}

.topHeader {
    width: auto !important;
    float: left;
    /* text-align: center !important; */
    margin-left: 15%;
}

.imgMenuSize {
    height: 30px;
    width: 30px;
}

body.dark {
    background-color: #000 !important;
}

.toggle input:checked + label {
    /* background: #01a95e; */
    background: #107c10;
}

.toggle label:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.toggle input:checked + label span.switch-light {
    display: none;
}

.toggle input:checked + label span.switch-dark {
    display: block;
}

.dark .topnav {
    background-color: #1f1f1f;
}

.dark .card, .dark .card-body, .dark .todo1, .dark .submission, .dark .modal-content, .dark .checkgroup-modal {
    background-color: #1f1f1f;
    color: #fff !important;
}

.dark .title_main, .dark .title_sub, .dark .modal-header .close, .dark .profile-ul b {
    color: #fff;
}

.dark .dropdown-menu {
    background-color: #363636 !important;
    color: #fff !important;
}

.dark .topnav a {
    color: #fff;
}

.dark .dropdown-item:focus {
    color: #000;
}

.dropdown-item:focus, .dropdown-item:active {
    background-color: transparent !important;
    color: #01a95e !important;
}


.toggle label:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}


/* toggle switch */
.toggle input[type="checkbox"] {
    height: 0;
    width: 0;
    visibility: hidden;
}

.toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px !important;
}

    .toggle label {
        cursor: pointer;
        text-indent: 0px;
        width: 66px;
        height: 28px;
        /*background: #00AA5E;*/
        background: #107c10;
        display: block;
        border-radius: 100px;
        position: relative;
        float: right;
        margin: 0;
    }

        .toggle label:after {
            content: "";
            position: absolute;
            top: 5px;
            left: 5px;
            width: 18px;
            height: 18px;
            background: #fff;
            border-radius: 90px;
            transition: 0.3s;
        }

    .toggle span.switch-light {
        color: #fff;
        font-size: 10px;
        /* left: 26px; */
        right: 10px;
        top: 7px;
        position: absolute;
        text-transform: uppercase;
    }

    .toggle span.switch-dark {
        color: #fff;
        font-size: 10px;
        /* left: 26px; */
        right: 28px;
        top: 7px;
        position: absolute;
        text-transform: uppercase;
        display: none;
    }

    .toggle input:checked + label {
        /*background: #01a95e;*/
        background: #107c10;
    }

        .toggle input:checked + label span.switch-dark {
            display: block;
        }

        .toggle input:checked + label span.switch-light {
            display: none;
        }

        .toggle input:checked + label:after {
            left: calc(100% - 5px);
            transform: translateX(-100%);
        }

.header-component-nav-menu {
    font-family: 'Segoe UI Regular', Arial, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !important;
    font-size: 15px !important;
    font-weight: bold !important;
}
.header-component-text {
    color: #99C2D2;
    font-family: 'Segoe UI Regular', Arial, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-size: 40px;
}
button:hover.viewall {
    color: white !important;
    text-decoration: none !important;
}
 
/*Added for menu changes*/ 
.search-box {
        width: 100%;
        padding: 5px;
        margin-bottom: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
        margin-left: 10px;
}

.dropdown-item-container {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    width: 100%;
}
.dark .dropdown-item-container {
    display: flex;
    background-color: #363636 !important;
    color: #fff !important;
}

.dropdown-list {
    max-height: 560px;
    overflow-y: auto;
    background: #fff;
}

.dropdown-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 991.98px) {

    .dropdown-menu {   
    max-height: 370px;
    max-width: 310px;
     min-width: 15rem !important;
}
    .dropdown-list {
    max-height: 260px;
}

}

.dropdown-item-span {
    width: 75%; /* Ensure it takes up the full width of the container */
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    word-wrap: break-word; /* Ensure the text wraps within the container */
    overflow-wrap: break-word; /* Alternative property for text wrapping */
    white-space: normal !important; /* Ensure the text wraps */
    background-color: transparent;
    border: 0;
    font-family: 'Segoe UI Regular', Arial, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !important;
}

.dropdown-item-span {
    text-align: left !important;
    font-size: 14px !important;
}
.container {
        display: flex;
    }
    .right-align {
        margin-left: auto;
    }
.dark .kcheader span {
    color: #fff;
}