body {
  margin-top: 50px; /* Add a top margin to avoid content overlay */
  font-family: Lucida Sans Unicode;
  background-color: #FFFFFF;
  color: #002200;
  background: url('./img/background_tr.png') repeat-y center;
  background-position-y: top;
  background-size: 96%;
  background-origin: border-box;
}

a:link {
  color: #0D3F18;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 5%;
}

a:visited {
  color: #002200;
}

a:hover {
  background-color: #0D3F18;
  color: #FFFFFF;
  text-decoration: none;
}

a:active {
  color: #0D3F18;
  text-decoration: none;
}

.top10 {
	color:#FFFFFF;
	background-color:#DCEEC4;
}

ol.yearrange {
	list-style-type: none;
	padding-left: 10px;
}

p.box {
	border: 1px solid;
	padding: 10px;
	box-shadow: 5px 10px #0D3F18;
  background-image: linear-gradient(to right, #ffffff, #F1FFF4);
}

h2 {
	color: #0C7725;
}

h3 {
	font-style: italic;
	background-image: linear-gradient(to right, #CEE8CE, #F1FFF4);
}

h3.column {
	font-style: italic;
	background-image: linear-gradient(to right, #CEE8CE, #F1FFF4);
	color: #40554a;
}

th {
	text-align: left;
	vertical-align: top;
}

td {
	text-align: left;
	vertical-align: top;
}


/* The navigation bar */
@media screen {
	/* Main content */
	.main {
	  margin-top: 50px; /* Add a top margin to avoid content overlay */
	} 
	.navbar {
	  overflow: hidden;
	  color: #f2f2f2;
	  background-color: #0D3F18;
	  position: fixed; /* Set the navbar to fixed position */
	  top: 0; /* Position the navbar at the top of the page */
	  left: 0; 
	  width: 100%; /* Full width */
	}
}
@media print {
	.navbar {
	  overflow: hidden;
	  color: #f2f2f2;
	  background-color: #0D3F18;
	  top: 0; /* Position the navbar at the top of the page */
	  left: 0; 
	  width: 100%; /* Full width */
      padding: 4px 4px;
      font-size: 75%;
	}
}

/* Links inside the navbar */
.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 6px 6px;
  text-decoration: none;
}

/* Change background on mouse-over */
.navbar a:hover {
  background: #ddd;
  color: #0D3F18;
}

.navbar a.current {
  background: #ffffff;
  color: #0D3F18;
}

/* Create a right-aligned (split) link inside the navigation bar */
.navbar a.split {
  float: right;
  background-color: #AED8AE;
  color: #002200;
  padding: 6px 12px;
}

/* Change background on mouse-over */
.navbar a.split:hover {
  background: #ddd;
  color: #0D3F18;
}

/* Create a right-aligned (split) link inside the navigation bar */
.navbar a.site2pdf {
  float: right;
  background-color: #06200b;
  color: #a3cbac;
  padding: 6px 12px;
}

/* Change background on mouse-over */
.navbar a.site2pdf:hover {
  background: #ddd;
  color: #0D3F18;
}

/* Add responsiveness - will automatically display the navbar vertically instead of horizontally on screens less than 500 pixels */
@media screen and (max-width: 900px) {
  .navbar a {
    float: none;
    padding: 4px 4px;
    font-size: 75%;
	display: inline-block;
  }
}

@media print {
	.pagebreak { 
		min-height: 1px; 
		page-break-before: always; 
	} /* page-break-after works, as well */
}

/* container */
.left-sidebar {
    display:flex;
    flex-wrap:wrap;
}

/* columns */
.left-sidebar > * {
    width:100%;
    padding:1rem;
}

/* tablet breakpoint */
@media (min-width:768px) {
    .left-sidebar > *:nth-child(1) {
        width:calc(100% / 3 * 2);
    }
    .left-sidebar > *:nth-child(2) {
        width:calc(100% / 3);
        order:-1;
    }
}

/* container */
.responsive-two-column-grid {
    display:block;
}

/* columns */
.responsive-two-column-grid > * {
    padding:1rem;
}

/* tablet breakpoint */
@media (min-width:768px) {
    .responsive-two-column-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* container */
.two-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* columns */
.two-columns-grid > * {
    padding:1rem;
}

/* Add responsiveness - will automatically display the navbar vertically instead of horizontally on screens less than 500 pixels */
@media screen and (max-width: 768px) {
  .navbar a {
    float: none;
    padding: 4px 4px;
    font-size: 75%;
	display: inline-block;
  }
}

@media print {
	.pagebreak { 
		min-height: 1px; 
		page-break-before: always; 
	} /* page-break-after works, as well */
}

/* columns */
.responsive-three-column-grid > * {
		padding:1rem;
}

/* tablet breakpoint */
  @media (min-width:500px) {
  .responsive-three-column-grid {
      display: grid;
      grid-auto-rows: 1fr;
      grid-template-columns: 1fr 1fr 1fr;
  }
}

/* container */
.right-sidebar {
    display:flex;
    flex-wrap:wrap;
}

/* columns */
.right-sidebar > * {
    width:100%;
    padding:1rem;
}

/* tablet breakpoint */
@media (min-width:768px) {
    .right-sidebar > *:nth-child(1) {
        width:calc((100% / 3) * 2);
    }
    .right-sidebar > *:nth-child(2) {
        width:calc(100% / 3);
    }
}
