
@font-face {
    font-family: 'Onest';
    src: url('Onest-font/WOFF/Onest-Regular.woff') format('woff'),
         url('Onest-font/TTF/Onest-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: url('Onest-font/WOFF/Onest-Bold.woff') format('woff'),
         url('Onest-font/TTF/Onest-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
  
  #type_statistics {
    width: 100%;
    border-collapse: collapse;
  }
  
  #type_statistics thead th {
    background-color: #f2f2f2;
    text-align: left;
    padding: 10px;
    font-size: 1.05em;
  }
  
  #type_statistics tbody td {
    padding: 10px;
    border-bottom: 1px solid #aaa;
  }
  
  #type_statistics tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  #type_statistics tbody tr:hover {
    background-color: #e0e0e0;
  }
  
  #type_statistics td,
  #type_statistics th {
    padding: 10px;
  }

  #Csv_download_btn{
    display: inline-block;
    margin: 0.2cm 0.8cm;
    padding: 0.15cm 0.4cm;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    background-color: #f0f0f0;
    color: #333;
    border: none;
    transition: background-color 0.3s ease;
    height: fit-content;
    width: fit-content;
    cursor: pointer;
  }
  
  #Csv_download_btn:hover {
    background-color: #ddd;
  }

  #Csv_download_btn:focus {
    outline: none;
  }

  #top_panel{
    margin: 0.5cm 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  #document_canvas{
    font-family:"Onest";
    box-sizing: border-box;
    padding: 2cm 2.5cm 1cm 2.5cm;
    background-color: #fefdfb; 
    display: flex;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    align-items: center;
    font-size: 0.4cm;
}

@media (max-width: 15cm){
      #document_canvas{
        padding: 0.5cm 0.6cm 0.25cm 0.6cm
      }
}

 #document_canvas p{
    font-family:"Onest";
    line-height: 1.4em;
    font-size: 1em;
  }
  
#document_canvas input{
    align-self: center;
    margin: 0 0.15em 0 1em;
    height: fit-content;
}

#document_canvas .marked_text{
    margin: 0.2cm 0 0.4cm 0;
    color: crimson;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

#document_header{
display: flex;
flex-direction: column;
width: 100%;
}

#document_canvas .vertical_column_group{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: fit-content;
}

#document_canvas .yes_no_column{
    display: flex;
    flex-direction: row;
}

#document_canvas .yes_no_column > label{
    height: fit-content;
}

#document_canvas .group > div{
    margin-bottom: 2em;
    width: 100%;
}

#document_canvas .group{
    width: 100%;
}

#document_canvas .checkbox_text{
    /*font-size: 1em;*/
}

#document_canvas p{
    margin: 0.3em;
}

#document_canvas table{
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

#document_canvas td, #document_canvas th {
    overflow-wrap: break-word;
    border: 1px solid;
    font-size: 0.9em;
    padding: 0.5em;
}

#document_canvas td{
    vertical-align: top;
}

#document_canvas th{
    background-color: #faefe1;
}

#Pdf_download_btn{
  width: 90%;
  box-sizing: border-box;
  display: inline-block;
  padding: 0.3em 0;
  margin-bottom: 1em;
  border: none;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  font-family: "Open Sans";
  background-color: #5B401F;
  color: white;
}

#Pdf_download_btn_container{
    margin-top: 0.5cm;
    display:flex;
    flex-direction: column;
    align-items: center;
}

#Pdf_download_btn:hover {
  transition: background-color 0.15s ease;
  background-color: #7B603F;
  color: white;
}

#document_canvas p{
    text-align: justify;
}

#expertize_list_wrap{
    font-family:"Onest";
    line-height: 1.4em;
    font-size: 0.4cm;
    margin: 20px;
    padding: 1cm;
    position: relative;
}

#expertize_list {
    margin: 0.8cm 0 0.5cm 0;
    list-style: none;
    padding: 0;
}

#expertize_list li{
    border: 0;
    margin-top: 8px;
    margin-left: 0;
}

#expertize_list .expertise_tab {
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 0.2cm 0.2cm 0.2cm 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.expertise_download_section{
    transition: max-height 0.15s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    overflow: hidden;
    max-height: 0;
}

.expertise_button{
    width: 2cm;
    margin: 0;
    padding: 0.1cm 7%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    box-sizing: content-box;
    text-align: center;
}

.expertise_word_button{
    border-radius: 0 0 0 0;
    background-color: white; 
}

.expertise_pdf_button{
    border-radius: 0 0 0.2cm 0;
    background-color: white;
}

.expertise_dropdown_button{
    box-sizing: content-box;
    position: relative; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    background-color: white;
    width: 1.2cm;
    padding: 0.2em 2%;
    border-radius: 0 0 0.2cm 0.2cm;
    margin: 0;
    border: 1px solid #ddd;
    font-size: 0.8em;
}

.expertise_dropdown_button::after {
    content: "\2227";
}

.expertise_retracted .expertise_dropdown_button::after {
    content: "\2228";
}

.expertise_list_top_panel{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.expertise_page_button{
    width: 0.8cm;
    height: 0.8cm;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 0.1cm;
    border: 1px solid #ccc;
    background-color: white;
    margin: 0.5cm 0.2cm 0.5cm 0;
}

.expertise_page_button.active{
    background-color: #eee;
}

#expertise_waiting_circle_container {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    padding: 0;
    margin: 0;
}

#expertise_waiting_circle {
    width: 1.5cm;
    height: 1.5cm;
    border-radius: 50%;
    border-style: solid;
    border-width: 0.3cm 0.3cm 0.3cm 0.3cm;
    border-color: #ccc #ccc #ccc transparent;
    background-color: transparent;
    animation: expertise_waiting_circle_rotate 0.5s linear infinite; 
}

@keyframes expertise_waiting_circle_rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

