/* Google Font - Nunito-sans */
/* @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,200&family=Nunito:wght@200&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
}
:root{
    --main-color:#111c43;
}
.roottextclr{
    color: var(--main-color);
}
.rootbgclr{
    background-color: var(--main-color);
}
body {
    background-color: #f6f7fb;
    color: #888da8;
    letter-spacing: 0.2px;
    /* font-family: 'Nunito', sans-serif; */
    font-family: "Poppins", sans-serif !important;
    font-weight: 100 !important;
    font-style: normal !important;


    padding: 0;
    margin: 0;
}

a,p,span,div,li,td {
    font-weight: 300!important;
}

::placeholder {
    color: #ccc !important;
    font-weight: 300;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #ccc !important;
    font-weight: 300;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #ccc !important;
    font-weight: 300;
}

input {
    border-color: #d8e0e5;
    border-radius: 2px !important;
    box-shadow: none !important;
    font-weight: 300 !important;
}

.form-control:disabled,.form-control[readonly] {
    background-color: #f6f7fb;
}

button.btn {
    border-radius: 2px !important;
    box-shadow: none !important;
}

button.btn.btn-primary {
    background-color: #0e9aee !important;
}

button.btn.btn-primary:hover {
    background-color: #0879c8 !important;
}


#left-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    background-color: var(--main-color);
    overflow-y: auto;
    height: calc(100vh - 60px);
    border-right: 1px solid #e6ecf5;
    margin-top: 60px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    overflow-x: hidden;
    z-index: 2;
}

#left-menu.small-left-menu,#logo.small-left-menu {
    width: 60px;
}

#left-menu ul {
    padding: 0;
    margin: 0;
}

#left-menu ul li {
    padding: 0 10px;
    display: block;
    position: relative;
}

#left-menu > ul > li {
    margin: 15px 0;
}

/**menu color**/
#left-menu ul li a {
    color: #A3AED1;
    width: 100%;
    display: inline-block;
    width: 260px;
    height: 37px;
    position: relative;
    text-decoration: none;
}

#left-menu ul li a i {
    font-size: 18px;
    text-align: center;
    width: 35px;
    height: 35px;
    display: inline-block;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#left-menu ul li:hover a span{
    color: #ffffff;
}

#left-menu ul li:hover a i{
    color: #ffffff;
}

/**menu-icon**/
#left-menu ul li a span {
    width: 100%;
    height: 35px;
    padding-left: 10px;
    color: #A3AED1;
   
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#left-menu ul li.active a {
    border-bottom: 2px solid #0e9aee;
}

#left-menu ul li.active a span {
    color: #fff;
}

#left-menu ul li.active a i {
    background-color: #0e9aee;
    color: #fff;
}

#left-menu li.has-sub ul {
    background-color: #454e62;
    margin: 0 -10px;
    padding-left: 45px;
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#left-menu li.has-sub ul > li {
    padding-top: 10px;
}


a:hover {
    text-decoration: none;
}

#logo {
    position: fixed;
    top: 0;
    z-index: 2;
    left: 0;
    background-color: var(--main-color);
    border-color: #464e62;
    height: 60px;
    width: 249px;
    font-size: 30px;
    line-height: 2em;
    /* border-right: 1px solid #e6ecf52f; */
    border-bottom:1px solid #2c3553;
    z-index: 4;
    color: #fff;
    padding-left: 15px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

#header {
    background-color: #fff;
    height: 60px;
    border-bottom: 1px solid #e6ecf5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

#header .header-left {
    padding-left: 260px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#header .header-right {
    padding-right: 40px;
}

#header .header-right i,#header .header-left i {
    font-size: 30px;
    line-height: 2em;
    padding: 0 5px;
    cursor: pointer;
}

#header div i{
    color: #536485;
    font-size: 20px !important;
}

.header-right div{
    padding:0px 10px;
}

#main-content {
    /* min-height: calc(100vh - 60px);
    clear: both; */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #EAF1F3;
}

#page-container {
    padding-top: 40px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #EAF1F3;
    color:#333335;
    flex:1;
}

@media (min-width: 768px) {
    #page-container {
        padding-left: 250px;
    }
}

#page-container.small-left-menu,
#header .header-left.small-left-menu {
    padding-left: 80px;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg); /* Adjust the angle as needed */
    }
}

.rotate-cog {
    animation: rotate 5s linear infinite;
}
.fa-cog {
    color: white;
    font-size: 1.5em;
    cursor: pointer;
}

.stroke-transparent {
-webkit-text-stroke: 2px #536485;
-webkit-text-fill-color: transparent;
}

.card {
    border: 1px solid #e6ecf5;
    margin-bottom: 1em;
    font-weight: 300;
}

.card .title {
    padding: 15px 20px;
    border-bottom: 1px solid #e6ecf5;
    margin-bottom: 10px;
    color: #000;
    font-size: 18px;
}

#show-lable {
    opacity: 0;
    visibility: hidden;
    left: 80px;
    font-weight: 300;
    padding: 6px 15px;
    background-color: #0e9aee;
    position: fixed;
    color: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#left-menu.small-left-menu li.has-sub::after{
    content: '';
}

#left-menu.small-left-menu li.has-sub ul{
    position: fixed;
    width: 280px;
    z-index: 123;
    height: 0;
    left: 69px;
    padding-left: 15px;
}

@media only screen and (max-width: 992px) {
    #left-menu,#logo {
        width: 60px;
    }
    
    #page-container,#header .header-left {
        padding-left: 50px;
    }
    
    #toggle-left-menu,.big-logo{
        display: none;
    }

}

@media only screen and (min-width: 992px) {
    #left-menu li.has-sub::after {
        font-family: "FontAwesome";
        content: "\f0d7";
        position: absolute;
        top: 3px;
        right: 10px;
        cursor: pointer;
        transform: rotate(0deg);
        -webkit-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
        color:#fff;
    }
    #left-menu li.has-sub.rotate:after {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
        color:#fff;
    }
    .small-logo{
        display: none;
    }
    
} 

/** Popup css **/
.popup-wrapper {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 400px; /* Adjust the width as needed */
    background: rgba(0, 0, 0, 0.5);
}

.popup-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 80px 20px;
    max-width: 500px;
    box-sizing: border-box;
    overflow-y: auto;
}

#popupWrapper {
    z-index: 1050; /* or any higher value */
}

.close-button {
    position: absolute;
    top: 80px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    /* Apply mobile-specific styles here */
    .popup-content {
        max-width: none;
        position: absolute;
        left: 0px;
        top: 0px;
    }
}

.color-switcher .theme-buttons-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.color-switcher .theme-buttons-container .theme-buttons{
    display: block;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin:5px;
    cursor: pointer;
}

/** Notification **/
.notification-badge {
    position: relative;
}

.notification-badge .badge {
    position: absolute;
    top: -2px;
    right: -1px;
    padding: 3px 6px;
    border-radius: 50%;
    background-color: red;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.3);
    }
    50% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        transform: scale(0.9);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.3);
    }
}   

#profileItems{
    background-color: #fff;
    margin-top:10px;
    padding:0px;
    position: absolute;
    border-radius:5px;
    box-shadow: 10px rgba(0, 0, 0, 0.1);
    display: none;
    right: 10%;    
}

#notifyItems{
    background-color: #fff;
    margin-top:10px;
    position: absolute;
    border-radius:5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    right: 10%; 
    max-height: 300px; /* Set a maximum height for the dropdown */
    overflow-y: auto; 
    padding:0px;
}
#notifyItems a {
    display: block;
    padding: 5px;
    text-decoration: none;
}
.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #e7e7e7;
}

.notification-item.unread {
    background-color: #f8f9fa;
    font-weight: bold;
}
.notification-item:last-child{
    border-bottom:none;
}

.mark-as-read {
    cursor: pointer;
    color: #007bff;
}

/** Button color*/
.btn-clr{
    background-color: var(--main-color);
    border:none;
    color: #fff;
    width:150px; height:50px; padding:5px;margin-left:8px;
    border-radius:5px;
}

.red-clr{
    background-color: #ff0000;
    border:none;
    color: #fff;
    width:150px; height:50px; padding:5px;margin-left:8px;
    border-radius:5px;
}

.btn-clr:disabled {
    background-color: #ccc; 
    color: #666; 
    cursor: not-allowed;
}
.red-clr:disabled {
    background-color: #ccc; 
    color: #666; 
    cursor: not-allowed;
}

.form-button-clr{
    background: var(--main-color);
    border:none;
    padding:6px 20px 6px 20px;
    color:#fff;
    border-radius:3px;
}

.inner-container{
    background-color:#fff;
    border-radius:3px;
}
.contentpart{
    padding:25px;
}
.titlepart{
    padding:10px 25px;
}
.titlepart h5{
    font-size:18px;
    font-weight: bold;
    color:#333335;
}

.showbreak-container .showbreak {
    display: none; /* Initially hide the showbreak container */
}

.showbreak-container .showbreak {
    display: none; /* Initially hide the showbreak container */
}
.no-border-top th {
    border-top: none !important;
    border-bottom:none !important;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}
table th{
    color:#6c757d;
}
.table-name a{
    text-decoration:none;
    color:#6C757D;
}
.py-clr{
    background: var(--main-color);
    color:#fff;
}

.py-clr:hover{
    color:#ffffff;
}

.page-item.active .page-link{
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.showbreak-container .fa-chevron-down:before{
    font-size:12px;
}
.showbreak-container .fa-chevron-up{
    font-size:12px;
}
.fc .fc-button-primary{
    background-color:var(--main-color);
}
input[type=text]{
    font-weight:normal;
}
label{
    font-weight:normal;
}
.btn-edit{
    color:#37a7e7;
    background-color: #cdeaf8;
    padding:4px 10px;
    border-radius:5px;
}
.btn-edit:hover{
    color:#37a7e7;
}
.btn-delete{
    color:#E6533C;
    background-color: #E6533C1A;
    padding:4px 10px;
    border-radius:5px;
}
.btn-delete:hover{
    color:#E6533C;
}
.btn-view{
    color:#574d4d;
    background-color: #dddddd;
    padding:4px 10px;
    border-radius:5px;
}
.btn-view:hover{
    color:#574d4d;
}
.btn-applied{
    color:#01c22b;
    background-color: rgb(208, 250, 216);
    padding:4px 10px;
    border-radius:5px;
    border:none;
}
.btn-pending{
    color:#E6533C;
    background-color: #E6533C1A;
    padding:4px 10px;
    border-radius:5px;
    border:none;
}

/* Custom styles for the badge */
.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

/* Styles for the success badge */
.badge.bg-outline-success {
    color: #28a745;
    background-color: transparent;
    border: 1px solid #28a745;
}

/* Styles for the danger badge */
.badge.bg-outline-danger {
    color: #dc3545;
    background-color: transparent;
    border: 1px solid #dc3545;
}
.bg-badge{
    background-color: rgb(226, 226, 226);
}

.social-icons div{
    border:1px solid #888888;
    padding:8px 14px;
    border-radius: 26px;
    color:#fff;
    margin:0px 10px;
}
.social-icons{
    display: flex;
    justify-content: center;
    margin-top:18px;
}

.social-icons div a i{
    color: #fff;
}

.popup i{
    font-size:80px;
    color:var(--main-color);
}

.popup{
    width: 80%;
    max-width: 400px;
    background:#fff;
    border-radius: 6px;
    position: absolute;
    top:0;
    left:50%;
    transform: translate(-50%,-50%) scale(0.1);
    text-align:center;
    padding:30px;
    color: #333;
    visibility:hidden;
    transition: transform 0.4s, top 0.4s;
}
@media (max-width: 767px) {
    .popup {
        width: 90%; 
        margin-top: -40px;
    }

    .popup i{
        width: 100%; 
        height: auto;
    }
}
.popup button{
    width: 100%;
    background: var(--main-color);
    color: #fff;
    border:0;
    outline:none;
    font-size:18px;
    margin:0px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}
.open-popup{
    visibility:visible;
    top:50%;
    transform: translate(-50%, -50%) scale(1);
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 998;
}
.popup {
    z-index: 999;
}

/*** Filter width ***/
.filter-width{
    width:20%;
}
@media (max-width: 767px) {
    .filter-width{
        width:80%;
    }
}
/* Adjust the max-width for popup modal */
.custom-sm-modal{
    max-width: 300px; 
    margin: auto;
}

.cardimg{
    border:1px solid rgb(209, 209, 209);
    padding:5px;
    border-radius:40px;
}

/*************** Custom tooltip for leavelist, projectlist *********************/
.tooltip-container {
    position: relative;
    display: inline-block; /* Allows positioning of the tooltip */
}

.tooltip {
    visibility: hidden; /* Hidden by default */
    /* Width of the tooltip */
    background-color: #333; /* Background color of the tooltip */
    color: #fff; /* Text color */
    text-align: center; /* Center text */
    border-radius: 5px; /* Rounded corners */
    padding: 5px 10px; /* Padding */
    position: absolute; /* Position relative to the container */
    z-index: 1; /* Ensure it appears above other elements */
    bottom: 125%; /* Position above the icon */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center the tooltip */
    opacity: 0; /* Invisible initially */
    transition: opacity 0.3s; /* Fade-in effect */
}

/* Caret (triangle) */
.tooltip-caret {
    position: absolute;
    top: 100%; /* Position at the bottom of the tooltip */
    left: 50%; /* Center horizontally */
    margin-left: -5px; /* Adjust for half the width of the caret */
    border-width: 5px; /* Size of the caret */
    border-style: solid;
    border-color: #333 transparent transparent transparent; /* Color of the caret */
}

/* Show the tooltip on hover */
.tooltip-container:hover .tooltip {
    visibility: visible; /* Show the tooltip */
    opacity: 1; /* Make it fully visible */
}

/***** user dashboard ****/
.userProfile h6{
    color:#7e7e7e;
}
.py-clr{
    background: var(--main-color);
    color:#fff;
}
.da-icons-clr{
    color:#9a9b9c;
    font-size:22px;
}
.week-timelogs {
    text-align: center;
}

.day-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.day-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #f1f1f1;
    color: #333;
    cursor: pointer;
}

.day-button.active {
    background-color: red;
    color: #fff;
}

.slider-container {
    margin-top: 20px;
}

.slider {
    position: relative;
    height: 20px;
    width: 100%;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #007bff;
    transition: width 0.4s ease;
}
.day-button {
    background-color: #f8f9fa; /* Default background */
    border: none;
    padding: 10px;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    color: #343a40;
}

.day-button.active {
    background-color: var(--main-color); /* Active background */
    color: white; /* Active text color */
}