
.header_container {
  position: relative;

  -webkit-mask-image: linear-gradient(
    rgb(0, 0, 0, 1) 97.5%,
    rgb(0, 0, 0, 0.94) 99%,
    transparent);

  mask-image: linear-gradient(
    rgb(0, 0, 0, 1) 97.5%,
    rgb(0, 0, 0, 0.94) 99%,
    transparent);
}

.header_overlay {
 position: absolute;
 right:0;
 top:0;
 background:linear-gradient(to right, var(--header-gradient));
 width: 100%;
 height: 100%;
}

.header_overlay .main-title{
  margin-top:12vw;
  margin-left:6vw;
  color:var(--vanilla);
  font-size:70px;
  font-weight:bold;
}

.header_overlay .sub-title{
  margin-left:6vw;
  max-width:850px;
  color:white;
  font-size:25px;
}

.header_overlay .row_of_links{
  position:absolute;
  width:88vw;
  bottom:7vw;
  padding-top:4px;
  left:6vw;
  display:flex;
  flex-direction:row;
  gap:12vw;
  border-color:var(--vanilla);
  border-style:solid;
  border-width:2px 0 0 0;
}

.row_of_links a{
  border:none;
  font-size:20px;
  font-weight:bold;
  color:var(--vanilla);
}

.header_container_img{
  width: 100%;
  height:100%;
  display:block;
}


.row_of_links .arrow_icon{
  background-color: var(--vanilla);
  fill: #1c1c1c;
  border-radius: 2px;
  padding: 1px;
  margin-left:3px;
}





.progressTracker_column{
  margin-top: 105px;
}




  
.progressTracker_div{
    display:flex; 
    flex-direction:column; 
    position:-webkit-sticky;
    top:85px;
    margin-right:2em;
    width:17em;

    position:sticky;


    /*border: 1px solid rgba(255, 246, 246, 0.10);*/

}
  
.progressTracker_Link{
    transition: 200ms ease-in-out;
    border-radius: 15px;
    padding-block: 3px;
    padding-inline: 5px;
    font-weight: bold;
    font-size: smaller;
    
    opacity: 0.9;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
}

.progressTracker_Link:hover{
  border-color: var(--vanilla);


}







.progressTracker_button_column{
  margin-top:110px;
}


.progressTracker_button_div{
  display:flex; 
  flex-direction:column; 
  position:-webkit-sticky;
  top:91px;
  margin-right:7px;
  position:sticky;

}


.toggleButton2{
  background-color:var(--grey_lightDark_transition);
  cursor:pointer;
  border-radius:5px;
  fill:var(--text-colour);
  outline: 1px solid rgba(255, 246, 246, 0.10);
  opacity:0.7;
  transition:all 170ms linear;
}

.toggleButton2:hover{
  opacity: 1;
}

  
  
  .paragraph_section_bottom_border {
    border-style:solid;
    border-width: 0 0 4px 0;
    border-color: rgba(0, 0, 0, 0.2);
    transition: all 800ms ease-in-out;
    margin-bottom:20px;
  
  
  }

  .paragraph_subsection_colored{
    text-decoration: underline;
    text-decoration-color: var(--vanilla);
    color:var(--paragraph-subsection-color);
  }
  
  .bottom_border_vanilla{
    border-style:solid;
    border-width: 0 0 4px 0;
    border-color: var(--vanilla);
    transition: all 800ms ease-in-out;
    margin-bottom:20px;


  }


  .Images-paragraph_setup{
    height:auto; 
    border-style:dashed; 
    border-width: 0px 0 2px 0; 
    border-color:var(--image-background-colour);
    border-radius: 3px 3px 0 0;
    background-color: var(--image-background-colour);
    border-color: var(--vanilla_black_transition);
    transition: 0.7s ease-in-out;
    max-width: 1500px;
    cursor: pointer;
  }

  .figures-container {
    display: flex;
    justify-content: center;
  }
  
  .sideByside-figures{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width:50%;
  }


  .Images-figCap, .Quotes-figcap{
    transition: 0.7s ease-in-out;
    max-width: 1500px;
    background-color: var(--grey_lightDark_transition);
    border-radius: 0 0 3px 3px;
    font-size: smaller;
    padding-block: 2px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .Quotes-figcap{
    background-color:transparent;
  }


  .justify_text {
    text-align: justify;
    text-align-last: left;
  }







  .accordion {
    background-color: var(--accordion-stationary-colour);
    color: var(--accordion-text-colour);
    cursor: pointer;
    padding: 10px;
    display: flex;
    border: none;
    border-radius: 2px 2px 0 0;
    text-align: left;
    outline: none;
    font-size: 18px;
    transition: 0.4s;
    font-weight: bolder;
  }

  .active, .accordion:hover {
    background-color: var(--accordion-hover-colour);
    color: var(--accordion-hover-text-colour);

  }

  .accordion:hover .accordion_plus_minus, .active .accordion_plus_minus{
    fill: var(--accordion-hover-text-colour);
  }


  .accordion_plus_minus{
    transition: 0.4s;
    align-self: center;
    fill: var(--accordion-text-colour);
    margin-left: auto;

  }


  
  .panel {
    padding-inline:25px;
    background-color: var(--accordion-colour);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    border-radius: 0 0 2px 2px;
    /* remove overflow-wrap:break-word and add these two lines if you wish for a horizontal scrollbar instead
    overflow-x: auto;
    overflow-y: none;
*/

  }



  .accordion-list, .accordion-list-paragraph{
    list-style-type: decimal;
    margin:0;
    padding: 15px;
    overflow-wrap: break-word;

  }

  .accordion-list li, .accordion-list-paragraph{
    overflow-wrap: anywhere;
    padding-block: 5px;
  }
  .accordion-list li::marker, .accordion-list-paragraph li::marker{
    color:var(--references-numberColor);
  }

  .bullet_points{
    list-style-type:inherit;
  }

  .bullet_points li{
    padding-block: 2px;
  }






#overlay {
  position: fixed;
  display: none;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.14); 
  z-index: 1001; 
  cursor: pointer;
  -webkit-backdrop-filter: blur(1.25px);
  backdrop-filter: blur(1.25px);
}

.image-popup {
  position: fixed;
  display: flex;
  z-index: 10000;
  visibility: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  flex-direction: column;
}


.show-popup {
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition: 180ms ease;
  overflow-x: hidden;
  border-radius: 0px;
  background-color: white;
  border-radius: 5px;
}

.image-popup-figure{
  height: auto;
  width: auto;
  max-height: 80vh;
  padding: 2%;
  max-width: 95vw;
  object-fit: contain;
}

.popup-figcap{
  background-color: #f4f4ec;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: #1c1c1c;
}

.x{
  top: 0;
  right: 0;
  position: absolute;
  cursor: pointer;
  height: 45px;
  width: 45px;
  margin-top: 10px;
  margin-right: 10px;
  border-radius: 50px;
  filter: invert(0.5);
  z-index: 10;
  opacity: 0.6;
}





/*Tooltip stuff vv*/
.tooltip {
  position: relative;
  display: inline-block;
  transition: all 230ms ease-in-out;
  background-color: #ffe6a7;
  color: #1c1c1c;
  border-radius: 4px;
  padding-inline: 2px;

}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: var(--tooltip_color);
  text-align: left;
  padding: 3px 8px;
  border-radius: 8px;
  border: 2px solid var(--submenu-border);
  bottom: 100%;
  left: 0%;
  line-height: 1.5;
  position: absolute;
  font-size:18px;
  color: var(--text-colour);
  font-weight: normal;

}

.tooltip:hover .tooltiptext {
  visibility: visible;
}


/*tooltip stuff ^^*/


.tt_parts{
  position: relative;
  display: inline-block;
  background-color: #ffe6a7;
  color: #1c1c1c;
  border-radius: 4px;
  border-radius: 4px;
  padding-inline: 2px;
}

.tt_parts .tooltiptext{
  visibility: hidden;
  width: 250px;
  background-color: var(--tooltip_color);
  text-align: left;
  padding: 3px 8px;
  border-radius: 8px;
  border: 2px solid var(--submenu-border);
  bottom: 100%;
  left: 0%;
  line-height: 1.5;
  position: absolute;
  font-size:18px;
  color: var(--text-colour);
  font-weight: normal;
  margin-left:-55%;
}

.tt_parts:hover .tooltiptext {
  visibility: visible;
}


.pdf_iframe{
  aspect-ratio:16/10;
  border-radius: 2px;
  margin:10px 0;

}


.data-table{
  border-collapse: collapse;
  width: 100%;
  min-width:700px;
}

.data-table th{
  padding-top: 12px;
  padding-bottom: 12px;
  padding-right: 8px;
  text-align: left;

}

.data-table td{
  padding: 5px;

}

.data-table tr:nth-child(even){
  background-color: var(--table-rowColor);
}

.data-table tr:not(:first-child):hover{
  background-color: #1e8cc32d;
}

.video_style{
  background-color:var(--accordion-colour);
  padding:15px;
  border-radius:5px;
  aspect-ratio:16/10;
}




@media (max-width:1015px){
  .progressTracker_div{/*for when the progressTracker is zoomed in alot*/
    width:11em;
    margin-right:10px;
  }
}









@media (max-width: 870px) {/*So when the width of screen is 870px or less: change the following classes. USEFUL FOR MOBILE-VIEW*/


  .header_overlay .main-title{
    font-size:6vw;
  }

  .header_overlay .sub-title{
    font-size: 2.8vw;
    padding-right: 16vw;
  }

  .row_of_links a{
    font-size:2.5vw;
  }

  .header_overlay .row_of_links{
    gap:10.5vw;
  }

  .row_of_links .arrow_icon{
    width: 1.5vw;
    height: 1.5vw;
    border-radius: 1px;
  }



  .progressTracker_column{/*to make progress tracker dissappear*/
    display:none;
  }

  .toggleButton{
    display:none;
  }

  .figures-container{
    flex-direction:column; 

  }

  ol{
    font-size: 15px;
  }

  .sideByside-figures{
    width: 70%;
  }


  .accordion-list{
    font-size: small;
  }


  .tooltiptext{
    display:none;
  }




  .Images-figCap{
    font-size: small;
  }
  .Quotes-figcap{
    font-size: small;
  }
  


  .pdf_iframe{
    aspect-ratio:2/3;
  }


  .accordion-list{
    padding: 15px;
  }


  .justify_text{
    text-align: unset;
  }

}
