/*Import Google Font cdn Link */
@import url("https://fonts.googleapis.com/css2?/family=poppins:wght@400;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@200;300;400&family=Noto+Serif:ital,wght@0,100;0,200;0,300;1,100;1,200&display=swap');

*{
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
    font-family: 'Noto Sans Lao', 'Noto Serif',  "Poppins", sans-serif, serif ;

}

body{
    display: flex;
    margin: 0;
    padding: 0;
}

.sidebar{
    position: sticky;
    font-size: 15px;
    top: 0;
    left: 0;
    bottom: 0;
    width: 92px;
    height: 100vh;
    padding: 0 1.5rem;
    /* color: #fff; */
    color: #e0e0e058;
    overflow: hidden;
    transition: All 0.5s linear;
    background: rgba(0, 0, 128, 255);
}
.sidebar:hover{
    width: 240px;
    transition: 0.5s;
    color: #e0e0e058;
    padding: 0 1.5rem;
    height: 100vh;
}
 
.user_profile{
    background: rgb(236, 240, 240);
    border-radius: 2%;
    /* text-align: center; */
    margin: 5px;
    padding: 5px;
}

.logo {
    height: 80px;
    padding: 16px;
}

.menu {
    /* height: 88%; */
    position: relative;
    list-style: none;
    padding: 0;
    margin:0;
     
}

.submenu{
    position: sticky;
    height: 2px;
    left: 20px;
    list-style: none;
    position: relative;
    overflow: hidden;
    align-items: flex-end;
    transition: all 0s ease;

}

.submenu:hover{
    /* background: red; */
    height: 100%;
    transition: 0.5s;
}

.menu li{
    padding: 0.4rem;
    margin: 8px 0;
    border-radius: 8px 0;
    transition: all 0.5s ease-in-out;
}
.submenu li{
    padding: 0.5rem;
    margin-right: 12px;
    border-radius: 5px 0;
    transition: all 0.5s ease-in-out;
}

.menu li:hover, .active{
    background: #e0e0e058;
}
.submenu li:hover{
    background: #e0e085;
    display: block;
}

.menu a{
    /* color: #fff; */
    color:   #abb2b9;
    font-size: 14x;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap:12px;
}

.menu a span{
    overflow: hidden;
}
.menu a i {
    font-size: 1.3rem;
}

.submenu a i {
    font-size: 1.3rem;
}

.logout{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    gap:12px;
    transition: All 0.5s linear;
    overflow: hidden;
    padding: 0 1.7rem;
     
}
.logout a{
    color:   #abb2b9;
    font-size: 14x;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap:13px;
 
}
 
.logout a span{
    overflow: hidden;
    font-size: 1.2rem;
}
.logout a i {
    padding-left: 0.2rem;
    font-size: 1.4rem;
 
}

/* ***** Main body Section */

.main-content{
    position: relative;
    background: #ebe9e9;
    /* height: 100%; */
    width: 100%;
    padding: 0.5rem;

    /* margin-top: 0; */
}

.header-wrapper img{
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
}

.header-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 10px;
    padding: 10px 2rem;
    margin-bottom: 1rem;
    height: 80px;
}
 

.user-info{
    display: flex;
    align-items: center;
    gap: 1rem;
    /* background: #C62828; */
}


.search-box{
    background: rgb(237, 237, 237);
    border-radius: 15px;
    /* color: rgba(113, 99, 186, 255); */
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
}

.search-box input{
    background: transparent;
    padding: 10px;
}

.search-box i{
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.5s ease-out;
}

.search-box i:hover{
    transform: scale(1.2);
}

/* **** card container ***** */
.card-container{
    background: #fff;
    padding: 0.5rem;
    border-radius: 10px;
}

.card-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.card-header span{
    padding-bottom: 15px;
    font-size: 16px;
}

.card-box{
    background: rgb(229, 223, 223);
    border-radius: 10px;
    padding: 1.2rem;
    width: calc(100% /5 - 15px);
    height: 160px;
    display: block
}

.content-list{
    /* display: block; */
    position: relative;
    background: #fff;
    /* padding: 10px 2rem; */
    padding: 18px;
    border-radius: 10px;
    margin-top: 15px;
    /* height: calc(100% - 30vh); */
    /* justify-content: space-between; */
    gap:15px;
    
}
.issue-list{
    width: 100%;
    /* width: calc(100% - 0); */
    /* background: rgb(229, 223, 223); */
    border-radius: 6px;
    /* padding: 1rem; */
    margin: 0;
    padding: 0;
}
.fixasset-list{
    width: 100%;
    /* width: calc(100% - 0); */
    /* background: rgb(229, 223, 223); */
    border-radius: 6px;
    /* padding: 1rem; */
    margin: 0;
    padding: 0;
}

.issue-title {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 1px;
}
.issue-title button{
    background: #2d2d98;
    border-radius: 5px;
    /* width: 100%; */
    padding: 3px;
    margin-right: 1rem;
}
.issue-title button a{
    color: #f2f2f2;
    font-size: 16;
    font-weight: 500;
    text-decoration: none;
}
.issue-detail{
    position: relative;
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}
.fixasset-detail{
    position: relative;
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}
.issue-detail table{
    /* width: fit-content; */
    border-collapse: collapse;
    border: 1px solid #ddd;

}
.fixasset-detail table{
    /* width: fit-content; */
    border-collapse: collapse;
    border: 1px solid #ddd;

}
.issue-detail table tr:nth-child(odd){
    background-color: #f8f8fb;
}
.fixasset-detail table tr:nth-child(odd){
    background-color: #f8f8fb;
}
.issue-detail table th{
    background-color: #f4f4fb;
}
.fixasset-detail table th{
    background-color: #f4f4fb;
}
.issue-detail table th, .issue-detail table td{
    /* padding: 0.1rem 0.1rem; */
    /* min-width: 80px; */
    font-size: 14px;
    text-align: left;
    /* align-items: center; */
}
.issue-detail table tr:hover {
    background-color: #f2f2f2;
    bottom: 2px solid #2d2d98;

}
.fixasset-detail table tr:hover {
    background-color: #f2f2f2;
    bottom: 2px solid #2d2d98;

}

.status{
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1;
    font-size: 0.7rem;
    text-align: left;
}
.Onprogress{
    background-color: #fff2d7;
    color: #ffa705;
}

.Fixed{
    background-color: #fff2d7;
    color: green; 
}
.Success{
    background-color: #078607;
    color:rgb(203, 215, 203); 
}
.online{
    background-color: #078607;
    color:rgb(203, 215, 203); 
}
.Pending{
    background-color: #fff2d7;
    color:grey;
}
.offline{
    background-color: #fff2d7;
    color:grey;
}

.priority{
    padding: 10px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1;
    font-size: 0.7rem;
    /* text-align: center; */
}
.Normal{
    background-color: none;
    color: #5a5858;
}
.Hight{
    background-color: yellow;
    color: #5a5858;
}
.Urgent{
    background-color: rgb(250, 4, 4);
    color: #5a5858;
}

.task-list{
    width: 100%;
    /* width: calc(100% - 0); */
    /* background: rgb(229, 223, 223); */
    border-radius: 6px;
    padding: 0.2rem;
    margin: 0;
}
.fixasset-list{
    width: 100%;
    /* width: calc(100% - 0); */
    /* background: rgb(229, 223, 223); */
    border-radius: 6px;
    padding: 0.2rem;
    margin: 0;
}

.task-title{
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    padding-top: 0;
}
.fixasset-title{
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    padding-top: 0;
}

/* #issueTable_length{
    display: none;
}
#taskTable_length{
    display: none;
} */
.task-detail{
    width: 100%;
}
.task-detail table{
    /* width: 100%; */
    border-collapse: collapse;
    border: 1px solid #ddd;

}
.task-detail table tr:nth-child(odd){
    background-color: #f8f8fb;
}
.task-detail table th{
    background-color: #f4f4fb;
}
.task-detail table th, .task-detail table td{
    /* padding: 0.1rem 0.1rem; */
    /* min-width: 80px; */
    font-size: 14px;
    text-align: left;
}
.task-detail table tr:hover {
    background-color: #f2f2f2;
    bottom: 2px solid #2d2d98;

}
.fixasset-detail{
    width: 100%;
}
.fixasset-detail table{
    /* width: 100%; */
    border-collapse: collapse;
    border: 1px solid #ddd;

}
.fixasset-detail table tr:nth-child(odd){
    background-color: #f8f8fb;
}
.fixasset-detail table th{
    background-color: #f4f4fb;
}
.fixasset-detail table th, .fixasset-detail table td{
    /* padding: 0.1rem 0.1rem; */
    /* min-width: 80px; */
    font-size: 14px;
    text-align: left;
}
.fixasset-detail table tr:hover {
    background-color: #f2f2f2;
    bottom: 2px solid #2d2d98;

}
.task-title button{
    background: #2d2d98;
    border-radius: 5px;
    /* width: 70px; */
    padding: 3px;
    margin-right: 1rem;
}
.task-title button a{
    color: #f2f2f2;
    font-size: 16;
    font-weight: 500;
    text-decoration: none;
}
.fixasset-title button{
    background: #2d2d98;
    border-radius: 5px;
    /* width: 70px; */
    padding: 3px;
    margin-right: 1rem;
}
.fixasset-title button a{
    color: #f2f2f2;
    font-size: 16;
    font-weight: 500;
    text-decoration: none;
}

.subcatlevel{
    margin-top: 0.1rem;
    display: flex;
    /* background: red; */
    justify-content: space-between;
}
.subcatlevel i{
    background:green;
    /* border: 1px solid black; */
    color: white;
    border-radius: 50%;
    margin-top: 0.2rem;
    margin-right: 0.2rem;
    font-size: 14px;
}


.modal-body{
    font-size: 15px;
    color: gray;
    /* width: 800px; */
}

/* .users-info{
    display: flex;
    background: red!important;
} */
/* #users-info{
    display: flex;
    background: red!important;
}
  */

.dt-body-center{
    text-align: center;
}

/* .utaskadd{
    background-color: grey;
    color: white;
    border-radius: 50%;
} */
.utaskadd .fa{
    background-color: gray;
    color: white;
    border-radius: 50%;
}

.iut{
    width: auto;
    border-radius: 50%;
}

.login_container{
    position: relative;
    margin-top: 100px;
    margin-left: 40%;
    width: 450px;
    height: auto;
    background: #dedede;
    border-radius: 5px;
}
.loing_label{
    padding: 20px 130px;
    font-size: 35px;
    font-weight: bold;
    color: #130f40;
}
.login_form{
    padding: 20px 40px;

}
.login_form .font{
    font-size: 18px;
    color:#130f40;
    margin: 5px 0;
}

.login_form input{
    height: 40px;
    width: 350px;
    padding: 0 5px;
    font-size: 18px;
    outline: none;
    border: 1px solid silver;
}

.login_form .font2{
    margin-top: 30px;
}
.login_form button{
    margin: 10px 0 5px 0;
    height: 45px;
    width: 365px;
    font-size: 20px;
    color: white;
    outline: none;
    cursor: pointer;
    font-weight: bold;
    background: #1A237E;
    border-radius: 3px;
    border: 1px solid #3949AB;
    transition: .5s;
}

.login_form button:hover{
    background: #1c215a;
}
.login_form #user_error, #password_error{
    margin-top: 5px;
    width: 345px;
    font-size: 18px;
    color: #C62828;
    background: rgba(255,0,0,0.1);
    text-align: center;
    padding: 5px 8px;
    border-radius: 3px;
    border: 1px solid #EF9A9A;
    display: none;
}

.login_form .textregister{
    margin: 5px;
    display: flex;
    /* background-color: blue; */
    float: right;
    /* color: wheat; */
}

@media screen and (max-width:768px){
    .header-wrapper {
        /* display: inline-block; */
        justify-content: space-between;
        /* align-items: center; */
        /* flex-wrap: wrap; */
        /* background: #054eee; */
        border-radius: 10px;
        /* padding: 10px 2rem; */
        margin-bottom: 1rem;
        width: 100%;
        height: 10%;
}
.header-title{
    display: none;
}
.fa-bars{
    font-size: 26px;
}
.sidebar {
 
    padding: 0;

}
}

@media screen and (min-width:1900px){
    .issue-list{
        /* width: calc(100% - 300px); */
        /* background: rgb(229, 223, 223); */
        border-radius: 6px;
        /* padding: 1rem; */
        margin: 0;
        padding: 0;
        
    }

    .task-list{
        /* width: calc(100% - 600px); */
        /* background: rgb(229, 223, 223); */
        border-radius: 6px;
        /* padding: 1rem; */
        margin: 0;
        padding: 0;
    }
    .issue-detail{
        position: relative;
        width: 100%;
    }

}

@media screen and (max-width:960px){

    .header-title{
        /* display: none; */
        width: 10px;
        color: white;
    }
    .search-box{
        width:200px;
    }
    .card-box{
        background: rgb(229, 223, 223);
        border-radius: 10px;
        padding: 1.2rem;
        /* width: calc(100% /2 - 30px); */
        width: 100%;
        height: 160px;
        display: block
    }
    .content-list{
        display: block;
        background: #fff;
        height: auto;
    }      
    .issue-list{
        width: 100%;
        /* background: rgb(229, 223, 223); */
        border-radius: 6px;
        /* padding: 1rem; */
        margin-top: 0;
        padding: 0;
        overflow-x: auto;
        
    }

    .sidebar{
        display: block;
    }
    .task-list{
        width: 100%;
        /* background: rgb(229, 223, 223); */
        border-radius: 6px;
        padding: 0.5rem;
        margin-top: 20px;
        /* padding: 5px; */
        overflow-x: auto;
        
    }
    .task-detail table{
        width: 100%;
        border-collapse: collapse;
    }

    .login_container{
        /* position: relative; */
        margin-top: 100px;
        margin-left: 10px;
        padding: 0;
        width: 350px;
        height: auto;
        background: #dedede;
        border-radius: 5px;
        justify-content: center;
    }
    .loing_label{
        margin: 15px;
        padding: 0;
        width: 350px;
        font-size: 35px;
        font-weight: bold;
        color: #130f40;
        text-align: center;
    }

    .login_form input{
        height: 40px;
        width: 280px;
        padding: 0 5px;
        font-size: 18px;
        outline: none;
        border: 1px solid silver;
    }

    .login_form button{
        margin: 10px 0 5px 0;
        height: 45px;
        width: 280px;
        font-size: 20px;
        color: white;
        outline: none;
        cursor: pointer;
        font-weight: bold;
        background: #1A237E;
        border-radius: 3px;
        border: 1px solid #3949AB;
        transition: .5s;
    }

}