/* css styles */

/* FONTS */
@font-face {
  font-family: "HurmeGeometricSans3Light";
  src: url('./webFonts/HurmeGeometricSans3Light/font.woff') format('woff');
}

@font-face {
  font-family: "HurmeGeometricSans3Regular";
  src: url('./webFonts/HurmeGeometricSans3Regular/font.woff') format('woff');
}

@font-face {
  font-family: "HurmeGeometricSans3Bold";
  src: url('./webFonts/HurmeGeometricSans3Bold/font.woff') format('woff');
}

/*********************************************************************/
/* NAVIGATION BAR DETAILS */

/* specify heigh of the logo */
.navbar-logo {
  max-height: 50px;
}

/* Specify color navigation bar color and border */
.navbar {
  background-color: white;
  border-bottom: 2px solid #00975f;
  font-family: HurmeGeometricSans3Bold;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.75px;
  align-content: center;
  --bs-navbar-hover-color: #00975f !important;
  --bs-navbar-brand-hover-color: #00975f !important;
  --bs-navbar-active-color: #00975f !important;
}

.navbar-dark, .navbar[data-bs-theme=dark] {
  --bs-navbar-brand-hover-color: #00975f !important;
  --bs-navbar-active-color: #00975f !important;
}

/* Specify font color for Home page text */
.navbar-nav .nav-link.active, 
.navbar-nav 
.nav-link.show {
  color: #373636;
  font-weight: bold;
  --bs-nav-link-hover-color: #00975F;
}

/* Drop down menu */
.dropdown-item {
  font-family: HurmeGeometricSans3Regular;
  color: #373636;
  --bs-dropdown-link-active-bg:#00975F !important;
}


/* Specify font color for drop-down menu in navigation bar */
.nav-link {
  color: #373636;
  font-weight: bold;
  letter-spacing: -0.75px;
  margin-right: 9px;
}

/* Hover color */
.nav-link:hover{
  color: #00975f;
}

.nav-link:active{
  color: #00975f;
}

/* Color and size of search button */
.navbar #quarto-search.type-overlay .aa-Autocomplete svg.aa-SubmitIcon {
    width: 26px;
    height: 26px;
    color: #00975f; 
    opacity: 1;
}

/* Space before the search button */
@media (max-width: 991.98px){
  .navbar #quarto-search {
    margin-left: 675px;
  }
}

@media (min-width: 992px){
    .navbar #quarto-search {
    margin-left: 12px;
  }
}

/* Drop down arrow */
.dropdown-toggle::after {
  border: none !important;
  content: url(./Images/chevron-down.svg) !important;
  width: 12px;
  position: absolute;
  margin-top: -5px;
  margin-left: 5px;
}

.navbar .navbar-nav .nav-link.dropdown-toggle::after {
    vertical-align: 0em;
}
  
/*********************************************************************************/
/* TITLE BANNER*/

.quarto-title-banner h1, .quarto-title-banner .h1, .quarto-title-banner h2, .quarto-title-banner .h2 {
    color: white;
    letter-spacing: -0.75px;
    font-family: HurmeGeometricSans3Bold;
}

/* Details on background image for banner*/

.quarto-title-block .quarto-title-banner{
  background-size: relative;
  background-repeat: no-repeat;
  height: 350px;
  background-position: center center;
}

.quarto-title-banner .quarto-title .title {
   font-size: 50px;
   text-align: start;
}

.quarto-title-banner h1, .quarto-title-banner .h1, .quarto-title-banner h2, .quarto-title-banner .h2 {
    color: white;
}

.lead {
    color: white;
}

#title-block-header.quarto-title-block.default .quarto-title-meta-heading {
  color: white;
}

#title-block-header.quarto-title-block.default .quarto-title-meta-contents p, #title-block-header.quarto-title-block.default .quarto-title-authors p, #title-block-header.quarto-title-block.default .quarto-title-affiliations p {
    color: white;
}

h1, .h1 {
  letter-spacing: -0.75px;
}

body .page-columns {
      display: grid;
      align-content: center;
      text-align: start;
      font-family: HurmeGeometricSans3Regular;
      grid-template-columns: [screen-start] 1.5em [screen-start-inset] 5fr [page-start page-start-inset] 5px [body-start-outset] 5px [body-start] 1.5em [body-content-start] minmax(500px, calc(850px - 3em)) [body-content-end] 1.5em [body-end] 5px [body-end-outset] minmax(75px, 145px) [page-end-inset] 5px [page-end] 5fr [screen-end-inset] 1.5em [screen-end];
}


a {
    color:#00975F
}

/* Sidebar details */

.sidebar-menu-container {
  font-family: HurmeGeometricSans3Regular;
}


.sidebar-menu-container a:hover {
  color: #00975a;
}

div.sidebar-item-container .active, div.sidebar-item-container .show>.nav-link, div.sidebar-item-container .sidebar-link>code {
color: #00975a;
}

.sidebar nav[role=doc-toc] ul>li>a:hover, .sidebar nav[role=doc-toc] ul>li>ul>li>a:hover {
color: #00975a !important;
}

.sidebar nav[role=doc-toc] ul>li>a.active, .sidebar nav[role=doc-toc] ul>li>ul>li>a.active {
border-left: 1px solid #00975a;
color: #00975a !important;
}


.quarto-sidebar {
  font-family: HurmeGeometricSans3Bold;
}


/***********************************************************************************************/
/* FOOTER */

footer {
  letter-spacing: 0.005em;
  position: fixed; 
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: solid white;
  z-index: 1000;
}
.nav-footer-centre {
  letter-spacing: 0.005em;
}

/*********************************************************************************************/
/* FIGURE CAPTIONS */
figcaption {
  margin: auto;
  text-align: start;
  font-size: 15px;
  color: black;
}


/* Note callout details */
div.callout-note.callout {
    border-left-color: #00975a;
}

div.callout.callout-style-default>.callout-header {
    background-color: #F6F6F6;
}

/*********************************************************************************************/
/* BUTTON */

.btn {
  width: 100%;
}

.btn-primary {
  text-align: start;
  border: 1px solid lightgrey;
  color: #373636;
  --bs-btn-active-text: white;
  --bs-btn-padding-x: -2rem;
  --bs-btn-padding-y: -2rem;
  --bs-btn-border-radius: 0rem;
  margin-block: 3px;
}

.btn-primary:focus {
  color: white !important;
  background-color: #00975a !important;
  border-color: #00975a !important;
}

.btn-primary:hover {
  color: white !important;
  background-color: #00975a !important;
  border-color: #00975a !important;
}

.btn-primary:active {
  color: white !important;
  background-color: #00975a !important;
  border-color: #00975a !important;
}

.btn-outline-secondary {
  text-align: start;
  border-color: transparent;
  color: white;
  margin-left: 15px;
}

@media (max-width: 991.98px){
  h3, .h3, h4, .h4 {
      opacity: .9;
      margin-top: 1.5rem;
      margin-left: 30px;
      font-size: 18px;
  }
}

@media (min-width: 992px){
  h3, .h3, h4, .h4 {
      opacity: .9;
      margin-top: 1.5rem;
      margin-left: 30px;
  }
}

h6 {
  color: #00975a;
}

.btn-outline-secondary:hover {
  color: white;
  background-color: transparent;
  border-color: transparent;
  text-decoration: underline;
}

.btn-outline-secondary:active{
  color: white;
  background-color: transparent;
  border-color: transparent
}

.quarto-layout-panel {
    margin-bottom: 0em;
}

/*********************************************************************************************/
/* Download button */
.btn-download-body {
  color: #00975a;
  background: white;
  border: 2px solid #00975f;
  text-align: center;
  width: 50%;
  border-width: medium;
  padding-top: 10px;
  padding-bottom: 10px;
  display: block;
  text-decoration: none;
}

.btn-download-body:hover {
  color: white;
  background: #00975a;
  border: 2px solid #00975f;
  text-align: center;
  width: 50%;
  border-width: medium;
  padding-top: 10px;
  padding-bottom: 10px;
  display: block;
}

.btn-download-side {
  color: #00975a;
  background: white;
  border: 2px solid #00975f;
  text-align: center;
  width: 100% !important
  border-width: medium;
  padding-top: 10px;
  padding-bottom: 10px;
  display: block;
  text-decoration: none;
}

.btn-download-side:hover {
  color: white;
  background: #00975a;
  border: 2px solid #00975f;
  text-align: center;
  width: 100% !important;
  border-width: medium;
  padding-top: 10px;
  padding-bottom: 10px;
  display: block;
}