@font-face {
    font-family: "Vazir";
    src: url(../fonts/Vazir-Bold.ttf) format(ttf);
}

@font-face {
    font-family: "Vazir-medium";
    src: url(../fonts/Vazir-Medium.woff) format(woff);

}



.select-container {
            position: relative;
            display: inline-block;
            margin-bottom: 20px;
        }

        .options {
            display: none;
            position: absolute;
            background-color: white;
            border: 1px solid #ccc;
            z-index: 1;
            width: 200px;
            padding-right: 0.5rem;
            
        }

        .option {
            padding: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            
        }

        .option:hover {
            background-color: #f0f0f0;
        }

        .select-button {
              padding: 10px;
              border: 1px solid #626262;
              cursor: pointer;
              width: 200px;
              text-align: center;
              border-radius: 1rem;
              background: aliceblue;
        }
        
        .select-button:hover {
          background-color: #ccc;
          transition: var(--transation);
        }


        .lbl2:hover {
          background-color: var(--color-hover);
          transition: var(--transation);
        }
       

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Vazir-medium";

    --color-hover: #C5E1A5;
    --transation:all 0.2s ease;
}


.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 78px;
    height: 100%;
    background-color: white;
    padding: 6px 16px;
    transition: var(--transation);
    
   


}

.sidebar.expand{
    width: 250px;
    transition: var(--transation);
    overflow:auto;
}

.nav-header{
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;

}

.nav-header .logo{
    color: #37474f;
    font-size: 20px;
    font-weight: 600;
    opacity: 0;
    transition: var(--transation);

}

.sidebar.expand  .nav-header .logo{
    opacity: 1;
    transition: var(--transation);

}

.top_area {
  height: 2.5rem;
  background-color: #37474f;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 3px;
}

.top_area_t {
  color: white;
  font-size: 1.2rem;
  padding-right: 1rem;
  margin-left: 1rem;
}


     .top_cap{
            display: none;
        }
        
        .sign_area{
        	display: none;
        }
        
        .top_text{
        display: none;
        }

        
         /* استایل مخصوص چاپ */
        @media print {
            body {
                margin-left: 1rem;
                margin-right: 1rem;
                margin-top: 2rem;
                padding: 2rem;
                background-color: #fff;
                border: 1px solid #000;
                
            }
            button {
                display: none; /* پنهان کردن دکمه در حالت چاپ */
            }
            #printableArea {
                box-shadow: none; /* حذف سایه در حالت چاپ */
                border: none; /* حذف حاشیه در حالت چاپ */
                
                
            }
            
            #modalDescription{
            
            margin-top:1.5rem;
            
            }
            
            .sign_area{
            	display: flex;
            	 justify-content: space-between;
            	 margin-top: 2rem;
            	
            }
            
            .top_text{
            	display: flex;
            	justify-content: space-between;
            }
            
            .top_cap{
            display: inline;
              text-align: center;
                font-size: 18px; /* کوچک‌تر کردن سایز فونت سرصفحه */
                font-weight: bold;
                margin-bottom: 9rem;
                margin-right: 12rem;
            }
            
            
        }

.print_t {
  margin-left: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color:white;
}

.print_t:hover{
    
     cursor: pointer;
    
}

.nav-header .btn-menu{
    position: absolute;
    color:  #000;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 23px;
    margin-right: 10px;
}

.sidebar.expand .nav-header .btn-menu {
    right: 83%;
    margin-right: 0;
}


.nav-links{
    margin-top: 20px;
    height: 100%;

}

.nav-links li{
    position: relative;
    margin: 8px 0;
    list-style: none;
    height: 40px;
}

 .nav-links .tooltip{
    position: absolute;
    margin-right: 60px;
    top: -20px;
    z-index: 3;
    background-color: #ffffff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    padding: 0 14px;
    font-size: 15px;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition: 0s;
    white-space: nowrap;
}

.nav-links li:hover .tooltip{
    opacity: 1;
    pointer-events: auto;
    transition: var(--transation);
    top: 50%;
    transform: translateY(-50%);
} 

.sidebar.expand .nav-links li .tooltip{
    display: none;
}

.nav-links i{
    color: #000;
    height: 50px;
    min-height: 50px;
    font-size: 21px;
    text-align: center;
    line-height: 50px;
}


.nav-links li .index{
    background-color: #5584E3;
}

.nav-links a{
    display: flex;
    height: 100%;
    width: 100%;
    border-radius: 12px;
    align-items: center;
    text-decoration: none;
    background-color: #fff;
    padding-right: 11px;
}

.nav-links a .list-texts{
    color: #000;
    font-size: 15px;
    font-weight: 400px;
    display: none;
    transition: var(--transation);
}

.sidebar.expand .nav-links a .list-texts{
    display: block;
    transition: var(--transation);

}

 .nav-links li:hover a{
    background-color: #3E5FA25E;

}



.txt_mngr {
 background-color: burlywood;
  margin-top: 1rem;
  margin-left: 45rem;
  margin-right: 2rem;
  border-radius:0.5rem;
  border-right:10px solid #bf6d027a;
}

.home{
    position: relative;
    top: 0;
    height: fit-content;
    right: 78px;
    background-color: #e2e2e2;
    min-height: 100vh;
    width: calc(100% - 78px);
    z-index: 6;
    overflow: auto;
}



.sidebar.expand ~ .home{
    right: 250px;
    width: calc(100% - 250px);
    transition: var(--transation);
}

.top_bar{

    height: 3.8rem;
  background-color: #fff;
  box-shadow: 10px 10px 5px -5px #6666665e;
    
    
    
}

.contl{
    background-color: #fff;
    margin-top: 3rem;
    margin-left: 3rem;
    margin-right: 3rem;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px;
    padding-bottom: 1rem;
}

.state_links {
  margin-top: 1.2rem;
  text-decoration: none;
  color: crimson;
}

.state_links:hover {
  color: #2196F3;
}


.exit_and_profile_section{
    display: block;
    text-align: left;
    margin-left: 1rem;
    
    justify-content: center;
    
    
    
    
}


.t_cap {
  margin-right: 1rem;
  margin-top: 1rem;
}


a.btn_view:hover {
    color: aqua;
}




.exit_icon, .profile_ic{
    width: 2rem;
    text-align: left;
    margin-right: 1rem;
    border-radius: -3rem;
    margin-top: 0.5rem;
}

.exit_link {
  text-decoration: none;
  color: #fff;
}

.exit_link:hover {
  color: #c6c6c6;
}

.top_caption_back{
  background-color: #3E5FA2;
  height: 4rem;
  display: block;
  margin-bottom: 1rem;
  margin-left: -2rem;
  align-items: center;
  overflow:hidden;
  display: flex;
  justify-content: space-between;
  padding-left: 3.5rem;
  box-shadow: rgba(0, 0, 0, 0.83) 0px 1px 3px;
    
}

.top_caption_text{

     color: #fff;
     display: inline-block;
    
     
    
}

.top_caption_edit{
    color: #fff;
    display: block;
    text-align: center;
    padding-top: 1rem;
    font-size: 1.5rem;
}



.section_info{
    
  background-color: #FEFFFF;
  display: flex;
  align-items: center;
  box-shadow: 0px 10px 5px -5px #66666696;
  align-content: space-between;
  gap: 30rem;
  border-radius:1rem;
    
}

.frmsearch{
    text-align: left;
    margin-left: 6rem;
}

.part1{
    width: 40rem;
    margin-top: 1rem;
}

.part2{
    margin-top: 1rem;
    width: 30rem;
}

.date_filter {
  margin-right: 6rem;
  background-color: #d0d0d0;
  margin-left: 55rem;
  padding: 1rem;
  border-radius: 0.8rem;
  box-shadow: 4px 3px 8px rgb(192, 192, 192);
      width: max-content;
      margin-top: 2rem;
}



.labels{
    color: #464646;
    
}

.p_image{
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-left: 2rem;
    margin-top: 1rem;
}



.buttons{
    margin-top: 2rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;

    
}

.buttons_mngr{
    margin-top: 2rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    display: flex;

    justify-content: space-between;

}

.visible_btn{
    background-color: #37474F;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    padding: 1rem;
}

.hide_btn{
    background-color: #37474F;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    padding: 1rem;
}

.edit_bt{
    background-color: #F44336;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    padding: 1rem;
}



.btn_view{
    text-decoration: none;
    color: #fff;
    margin-right: 2rem;
    border: 1px solid;
    padding: 0.5rem;
    border-radius: 1rem;
}

button:hover {
  cursor: pointer;
  background-color: #9DB97E;
}

.modal{
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: fit-content;
    padding-bottom: 5rem;
    position: absolute;
    left: 1;
    right: auto;
    top: 0;
    z-index: 1;

    
   
   
    
    
}

.close_btn{
    color: red;
    cursor: pointer;

}

.submit_btn{
    
    text-align: left;
}

button {
    background-color: #26c249;
    border-radius: 0.4rem;
    padding: 0.2rem;
    transition: var(--transation);
    width: 6rem;
    box-shadow: 4px 3px 8px rgb(192, 192, 192);
    
    margin: 0.5rem;
    font-size: 11px;
}
    


.snd_eblagh{
    background-color: #26c249;
    border-radius: 0.4rem;
    padding: 0.2rem;
    transition: var(--transation);
    width: 6rem;
    box-shadow: 4px 3px 8px rgb(192, 192, 192);
    border: 1px solid #5c861a;
    margin: 0.5rem;
    font-size: 11px;
}

.back_btn{
  background-color: #C5E1A5;
  color: black;
  border-radius: 0.4rem;
  padding: 0.2rem;
  transition: var(--transation);
  width: 4rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.back_btn:hover{
     cursor: pointer;
    background-color: #9DB97E;
}


.cont_edit
{
    background-color: #e2e2e2;
    text-align: right;
	margin-top: -1rem;
	width: 100vw;
    display: flex;
    flex-wrap: wrap;
    padding-right: 2rem;
    padding-left: 2rem;
    flex-direction: column;
   
    
}



#submit{
    background-color: #558B2F;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 2rem;
    text-align: left;
    margin-left: 2rem;


    
}

#submit:hover{
    background-color: #21420a;
    cursor: pointer;
}


.inputs2{
    background-color: #fff;
    margin: 1% 8%;
    width: 80%;
    height: 100%;
    padding: 1rem;
    
    
}   

.answer_inputs{
    background-color: #fff;
    margin: 1% 8%;
    width: 80%;
    height: 100%;
    padding: 1rem;
    
}

.home p{
    
    font-weight: 500;
    /* color: #000; */
    display: inline-block;
    margin: 20px;
    padding-left: 1px;
    
}

.container_home{

    margin-right: auto;
    margin-left: auto;
    min-height: 100vh;
    width: calc(100% - 78px);
    border: 1px solid rebeccapurple;

}

.container_rule{
    /* width: 50%; */
    height: fit-content;    
    /* margin-top: 5rem; */
    padding-top: 5rem;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    gap: 3rem;
}

.container_employment{
    margin-right: auto;
    margin-left: auto;
    min-height: 100vh;
    width: calc(100% - 78px);
    /* border: 1px solid rebeccapurple; */

}

.top_info{
    display: flex;
    justify-content: space-between;
}

.personal_info{
    display: flex;
}

.user_information{
    height: auto;
    margin-right: 1rem;
    margin-top: 1.5rem;
    margin-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 6rem;
    margin-bottom: 3rem;
    /* border: 1px solid black; */


}

.p1{
    display: inline;
   
}


.p2{
text-align: center;
display: flex;
flex-wrap: wrap;
}


.values{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


.info1_head{
    text-align: center;
}

.subject_text{
    text-align: right;
    margin-top: 2rem;
    display: inline;
    
}


.add_personal{

    background-color: #558B2F;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    padding: 1rem;
}

#description{
    padding: 0.5rem;
}

#back_btn{
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1rem;
}

#back_btn:hover{
    background-color: #610000;
    transition: var(all 0.5s ease);
    cursor: pointer;
}

#send_answer{
    background-color: #558B2F;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1rem;
}

#send_answer:hover{
    background-color: #21420a;
    transition: var(all 0.5s ease);
    cursor: pointer;
}

.answer_ticket_btn{
    background-color: #558B2F;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    padding: 0.2rem;
    margin-left: 1rem;
}
.close_ticket_btn{
    background-color: #ea0000;
    color: #fff;
    text-decoration: none;
    border-radius: 1rem;
    padding: 0.2rem;
}

.bxs-edit, .bx-show{
    margin-left: 1rem;
    font-size: 1.5rem;
    
}

.list_box{
    position: relative;
}

.list_box::before{
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: .7rem;
    width: 0;
    height: 0;
    border: solid black;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
}

.ticket_area{
    margin-right: 2rem;
    
}


.add_personal:hover{
    background-color: #21420a;
    transition: var(all 0.5s ease);
}

.personal_list i{
    color: #000;
    font-size: 21px;
    text-align: center;
    
}

table{
    margin-top: 2rem;
    margin-right: auto;
    margin-left: auto;
    /* border: 1px solid black; */
    border-collapse: collapse;
    width: 90%;
}

th{
    background-color: #BCC3E8;
}

table, td, th{
    /* border: 1px solid black; */
    text-align: center;
}

th , td{
    border: 1px solid #aeaeae94;
    line-height: 3rem;
}

tr:hover {
  background-color: #cecece;
  transition: all 0.2s ease;
}


.bx.bxs-edit{
    color: #006a75;
}

.bx.bx-user-minus {
  color: #aa0505;
}

input[type="text"],input[type="tel"],input[type="number"],input[type="time"]{
    margin-top: 1.5rem;
    margin-right: 0.5rem;
    width: 15rem;
    border: 1px solid #ded9ee;
    padding: 10px;
    border-radius: 8px;
    color: #1b1b1b;

    transition: 180ms ease-in border-color;
}

.box:hover{
    background-color: #cbcbcb;
}

.selectors{
    margin-top: 1.5rem;
    margin-right: 1.5rem;
    width: 15rem;
    border: 1px solid #ded9ee;
    padding: 10px;
    border-radius: 8px;
    color: #1b1b1b;

    transition: 180ms ease-in border-color;
}





@media only screen and (min-width: 1200px) {
    .home {
        min-width: 960px;
    }
    
    .bg_cont {
 background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 18px;
  transition: transform 0.2s ease;
  width: 96%;
  overflow: auto;
   margin-right: 1.5rem;
   margin-top: 0.5rem;
 
  
}

    .top_caption_back_mob{
        display: none;
    }
  
    .mobile_top{
        display: flex;
        gap: 3rem;
        margin-right: 1.5rem;
         text-decoration: none;
            color: #fff;
        
    }
    
    
     .btn_mob1{
            background-color: #2E7D32;
            text-decoration: none;
            color: #fff;
            padding: 0.5rem;
            
           
            display: inline;
            margin-bottom: 0.5rem;
     }

     .btn_mob2{
            background-color: #EF6C00;
            text-decoration: none;
            color: #fff;
            padding: 0.5rem;
            
           display: inline;
           margin-bottom: 0.5rem;

        }
        .btn_mob3{
            display: block;
            background-color: #F44336;
            text-decoration: none;
            color: #fff;
            padding: 0.5rem;
           

        }

   

    
}

@media only screen and (max-width: 992px) {
    .home {
        max-width: 720px;
    }
    .top{
        display: none;
    }
    


    
}

@media only screen and (max-width: 768px) {
    .home {
        max-width: 540px;
    }

   


}

@media only screen and (max-width: 576px) {
            .home {
                padding: 15px;
                overflow: auto;
                
            }
          
        
            .top_bar{
                display: none;
                overflow: hidden;
            }
            
            .bg_cont{
                
                margin-top: 0.5rem;
            }
            
            .part1{
                
                display: flex;
                flex-direction: column;
                
            }
            
            p {
                font-size: 14px;
                text-wrap: wrap;
                line-height: 20px;
            }

            .personal_image{
                display: inline-block;
                position: relative;
                
            }

            .section_info{
               display: block;
               overflow:hidden;
                line-height: 0.1rem;
                padding-left: 1.5rem;
                margin-top: 0.5rem;
            }

    


            .aligncenter{
                text-align: center;
            }

           .p_image{
            max-width: 50%;
            height: auto;
            position: relative;
            left: 50%;
            right: 50%;
           
           }

           .buttons{
            display: flex;
            gap: 50px;
            text-align: center;
            
           }

           .visible_btn, .hide_btn, .edit_bt{
            font-size: 0.8rem;
            margin-top: 1rem;
            display: block;
            text-align: center;
            
           }

          .visiblity_btn{
            margin: auto;
        
              margin-bottom: 2rem;
            
    
        }

        .values{
            width: auto;
            justify-content: center;
          
            
        }

        .insert_value{
            width: auto;
            padding-top: 10rem;
            justify-content: center;
            overflow-y: auto;
            
        }

        .p1{
            padding: auto;
            margin: auto;
        }

        .section_info_mngr{

        text-align: right;
        margin-top: 2rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;

        }
        
        .modal{
            overflow: auto;
        }

        .ticket_area{
            position: absolute;
            width: auto;
            height: fit-content;
            margin: auto;
            display: contents;
            overflow: hidden;
            
        }
       
        .ticket_sub{
            margin-top: 2rem;
            padding-top: 5rem;
        }
      
        .area{
            width: 15.5rem;
            margin: auto;
        }
          
       .box{
        height: 100px;
        
       }

       .box:hover{
        background-color: #b0b0b0;
       }
      
       .container_rule{
        display: flex;
        gap: 2rem;
       }
       
       table{
            margin-top: 1rem;
            margin-right: 0.1rem;
            /* border: 1px solid black; */
            border-collapse: collapse;
            width: 90%;
        
       }
       
       th , td{
    border-bottom: 1px solid #aeaeae94;
    line-height: 3rem;
    font-size:0.9rem;
        }

       .top_caption_back_mob{
        display: none;
       }
       
       
       .top_caption_back {
          background-color: #3E5FA2;
          height: 4rem;
          display: block;
          align-items: center;
          overflow: hidden;
          margin: auto;
        }
       

       .mobile_top{
        text-align: center;
        
        
       }

        .btn_mob1{
            background-color: #2E7D32;
            text-decoration: none;
            color: #fff;
            padding: 0.5rem;
            margin-right: auto;
            margin-left: auto;
            width: 100%;
            display: block;
            margin-bottom: 0.5rem;
           
        }
        .btn_mob2{
            background-color: #EF6C00;
            text-decoration: none;
            color: #fff;
            padding: 0.5rem;
            margin-right: auto;
            margin-left: auto;
           display: block;
           margin-bottom: 0.5rem;

        }
        .btn_mob3{
            display: block;
            background-color: #F44336;
            text-decoration: none;
            color: #fff;
            padding: 0.5rem;
            margin-right: auto;
            margin-left: auto;
            margin-bottom: 0.5rem;

        }
        
        button {
                background-color: #85c226;
              border-radius: 7rem;
              padding: 0.2rem;
              transition: var(--transation);
              width: 5rem;
              box-shadow: 0 2px 2px rgba(192, 192, 192, 0.8);
              border: 2px solid #5c861a;
              margin: 0.5rem;
        }

}