﻿@charset "UTF-8";

/* general styles */

body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  background-color: var(--background-color);
  background-image: var(--canvas-image);
}
 
table {
  font-family: var(--font-family);
  font-size: var(--font-size);
}
 
a {
  color: var(--link-color);
  text-decoration: none;
}
a:hover {
  color: var(--link-color);
  text-decoration: underline;
}

.page-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

@media (orientation: landscape) {
  .page-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 0 var(--page-margin) 0 var(--page-margin);
    height: 88%;
    overflow-y: auto;
  }
}

@media (orientation: portrait) {
  .page-content {
    position: relative;
    float: left;
    width: 100%;
    height: 88%;
    overflow-y: auto;
  }
}

/* front page styles */

@media (orientation: landscape) {
  .front-picture {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: var(--frontpage-image);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
  }
}

@media (orientation: portrait) {
  .front-picture {
    position: relative;
    width: 100%;
    height: 40%;
    background-image: var(--frontpage-image);
    background-size: 100%;
    background-repeat: no-repeat;
  }
}

@media (orientation: landscape) { 
  .front-block1 {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 40%;
  }
}

@media (orientation: portrait) { 
  .front-block1 {
    position: relative;
    width: 100%;
  }
}

@media (orientation: landscape) {
  .front-block2 {
    position: absolute;
    float: left;
    bottom: 5%;
    left: 5%;
    width: 35%;
  }
}

@media (orientation: portrait) {
  .front-block2 {
    position: relative;
    float: left;
    width: 100%;
  }
}

/* copyright styles */

.copyright {
  position: fixed;
  bottom: 0;
  width: 95%;
  text-align: right;
  color: var(--copyright-color);
  font-size: 90%;
}
.copyright:after {
  content: var(--copyright);
}

/* text box styles */

@media (min-aspect-ratio: 3/2) {
  .box_container {
    width: 31%;
    float: left;
    margin: 1%;
  }
}

@media (orientation: landscape) {
  .box_container1 {
    width: 98%;
    float: left;
    margin: 1%;
  }
}

@media (orientation: portrait) {
  .box_container1 {
    width: 98%;
    float: left;
    margin: 1%;
  }
}

@media (orientation: landscape) {
  .box_container2 {
    width: 48%;
    float: left;
    margin: 1%;
  }
}

@media (orientation: portrait) {
  .box_container2 {
    width: 98%;
    float: left;
    margin: 1%;
  }
}

@media (orientation: landscape) {
  .box_container3 {
    width: 31%;
    float: left;
    margin: 1%;
  }
}

@media (orientation: portrait) {
  .box_container3 {
    width: 98%;
    float: left;
    margin: 1%;
  }
}

.box_header {
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  border-style: solid;
  border-width: 1px;
  border-color: Gray;
  box-shadow: 2px 2px lightgray;
  background-color: var(--header-color);
  color: white;
  padding: 0 10px 0 10px;
  margin: 0 0 2px 0;
}

.box {
  text-align: left;
  background-color: white;
  border-style: solid;
  border-width: 1px;
  border-color: gray;
  box-shadow: 2px 2px lightgray;
  padding: 0 10px 0 10px;
}

/* banner and menu line styles */

@media (orientation: landscape) {
  .top-line {
    display: flex;
    align-items: center;
    line-height: 60px;
    flex-wrap: wrap;
    background-color: var(--menu-background-color);
  }
}

@media (orientation: portrait) {
  .top-line {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--menu-background-color);
  }
}

@media (orientation: landscape) {
  .banner {
    float: left;
    width: var(--banner-image-width);
    height: 60px;
    background-color: var(--menu-background-color);
    background-image: var(--banner-image);
    background-repeat: no-repeat;
    background-size: contain;
  }
}

@media (orientation: portrait) {
  .banner {
    width: 100%;
    height: 60px;
    background-color: var(--menu-background-color);
    background-image: var(--banner-image);
    background-height: 100%;
    background-repeat: no-repeat;
  }
}

@media (orientation: landscape) {
  .menu-button {
    background-color: var(--menu-background-color);
    color: var(--menu-color);
    padding: 5px 10px;
    margin: 15px 0;
    cursor: pointer;
    float: right;
    display: none;
  }
}

@media (orientation: portrait) {
  .menu-button {
    background-color: var(--menu-background-color);
    color: var(--menu-color);
    padding: 5px 10px;
    margin: 15px 0;
    cursor: pointer;
    float: right;
    display: block;
  }
}

@media (orientation: landscape) {
  .menu-line {}
}

@media (orientation: portrait) {
  .menu-line {
    display: none;
  }
}

@media (orientation: landscape) {
  .menu {
    line-height: 60px;
    padding: 0 10px 0 10px;
    font-size: 110%;
    display: inline-block;
  }
}

@media (orientation: portrait) {
  .menu {
    line-height: 40px;
    padding: 0 10px 0 10px;
    font-size: 110%;
  }
}
.menu:hover {
  background-color: Black;
}

#menus a {
  color: var(--menu-color);
  text-decoration: none;
}

@media (orientation: landscape) {
  .dropdown {
    line-height: 60px;
    padding: 0 10px 0 10px;
    font-size: 110%;
    color: var(--menu-color);
    display: inline-block;
  }
  .dropdown:hover {
    background-color: Black;
  }
}

@media (orientation: portrait) {
  .dropdown {
    line-height: 40px;
    padding: 0 10px 0 10px;
    font-size: 110%;
    color: var(--menu-color);
  }
  .dropdown:hover {
    background-color: Black;
  }
}

@media (orientation: landscape) {
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--menu-background-color);
    color: var(--menu-color);
    min-width: 160px;
    line-height: 60px;
    z-index: 1;
  }
  .dropdown-content a {
    padding: 0 10px 0 10px;
    display: block;
  }
  .dropdown-content a:hover {
    background-color: Black
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

@media (orientation: portrait) {
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--menu-background-color);
    color: var(--menu-color);
    min-width: 160px;
    line-height: 40px;
    z-index: 1;
  }
  .dropdown-content a {
    padding: 0 10px 0 10px;
    display: block;
  }
  .dropdown-content a:hover {
    background-color: Black
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* picture gallery styles */

.gallery-thumbnails {}

.gallery-thumbnail {
  display: inline-flex;
  height: 120px;
  margin: 6px;
  padding: 3px;
  border: 1px solid LightGray;
}

.gallery-thumbnail img {
  width: auto;
  height: inherit;
}

.gallery-fullimage {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: Black;
  justify-content: center;
  align-items: center;
}

.gallery-fullimage img {
  margin: 0 auto 0 auto;
}

.gallery-fullimage-content {
  align: center;
  background-color: Gray;
}

.gallery-backward {
  position: absolute;
  bottom: 50%;
  left: 0;
  color: DarkGray;
  float: right;
  font-size: 72px;
  font-weight: bold;
}

.gallery-forward {
  position: absolute;
  bottom: 50%;
  right: 0;
  color: #aaa;
  float: right;
  font-size: 72px;
  font-weight: bold;
}

.gallery-close {
  position: absolute;
  color: #aaa;
  float: right;
  right: 0;
  font-size: 36px;
  font-weight: bold;
}

.gallery-backward:hover,
.gallery-backward:focus,
.gallery-forward:hover,
.gallery-forward:focus,
.gallery-close:hover,
.gallery-close:focus {
  color: DimGray;
  text-decoration: none;
  cursor: pointer;
}

.gallery-fullimage-description {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -40px);
  color: Gainsboro;
  align: center;
  font-size: 20px;
  background-color: rgba(0,0,0,.4);
}










* {
  box-sizing:border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position:relative;
  background-color:inherit;
  max-width:1200px;
  margin:0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content:'';
  position:absolute;
  width: 6px;
  background-color:Brown;
  top:0;
  bottom:0;
  left:50%;
  margin-left:-3px;
}

/* Container around content */
.container {
  padding:10px 40px;
  position:relative;
  background-color:inherit;
  width:50%;
  font-size:90%;
}

/* The circles on the timeline */
.container::after {
  content:'';
  position:absolute;
  width:25px;
  height:25px;
  right:-17px;
  background-color:inherit;
  border:4px solid Red;
  top:15px;
  border-radius:50%;
  z-index:1;
}

/* Place the container to the left */
.left {
  left:0;
}

/* Place the container to the right */
.right {
  left:50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content:" ";
  height:0;
  position:absolute;
  top:22px;
  width:0;
  z-index:1;
  right:30px;
  border:medium solid White;
  border-width:10px 0 10px 10px;
  border-color:transparent transparent transparent BlanchedAlmond;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height:0;
  position:absolute;
  top:22px;
  width:0;
  z-index:1;
  left:30px;
  border:medium solid White;
  border-width:10px 10px 10px 0;
  border-color:transparent BlanchedAlmond transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left:-16px;
}

/* The actual content */
.content {
  padding: 10px 10px;
  background-color: BlanchedAlmond;
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid White;
    border-width: 10px 10px 10px 0;
    border-color: transparent White transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}




 /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #ffffff;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}