@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

body {
  margin: 0;
  padding: 0 15% 0 15%;
  font-size: 1.2em;
  background-color: #f1f1f1;
  /*background-image: url('images/greysky.JPG');*/
  background-image: url('TempTestFar.png');
  background-size: cover;
  background-repeat: no-repeat;
}

header {
  border-left: 2px solid hsl(197, 71%, 65%);
}

ul {
    list-style-type: circle;
}

ul li {
    padding-bottom: 10px;
}

/* top navigation bar */
nav {
  color: white;
}

/* h1, h2 for now equivalent */
h1, h2 {
  font-size: 1.5em;
  text-align: center;
}

h3 {
  font-size: 1.1em;
  font-style: italic;
}

.topnav {
  overflow: hidden;
  background-color: slateblue;
  font-size: 1.2em;
  border-right: 2px solid hsl(197, 71%, 55%);
  border-bottom: 3px solid hsl(197, 71%, 55%);
}

/* topnav links */
.topnav a {
  float: left;
  /* width: 33%;*/
  display: block;
  /* color: #f2f2f2; if I set a color HERE it'll overwrite the color in .active */
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  background-color: hsl(248, 53%, 78%);
  color: slateblue;
  /*border-left: 2px solid hsl(197, 71%, 65%);
  border-right: 2px solid hsl(197, 71%, 18%);*/
}

/* Active menu option - where am I? */
.active {
    background-color: white;
    color: slateblue; 
    border: none;
}

.inactive {
  color: hsl(0, 0%, 96%); 
}

/* not in use atm - for now, <details> and <summary> do the job */
.faq {
  /* border: 1px solid red; -- just for testing */ 
  margin: 0 0 10px 0;
}

summary {
  border: 1px solid darkgrey;
}
  
details {
  margin: 0 0 10px 0;
}

.langswitch {
  float: right;
}

.langimg {
  width: 32px;
  height: 24px;
}

.langimgUK {
  width: 24px;
  height: 24px;
}

.langtable {
  min-width: 50px;
  max-width: 150px;
}

.tableicon {
  max-width: 50px;
  max-height: 100px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* Container for the main, well, content of the site */
.content {
  /* background-color: lightgrey; */
  background-color: hsl(0, 0%, 96%);
  padding: 10px;
  min-height: 785px;
  border-left: 2px solid hsl(197, 71%, 65%);
  border-right: 2px solid hsl(197, 71%, 18%);
}

.title {
  overflow: hidden;
  background-color: hsl(248, 53%, 62%); /* This is hsl for slateblue with lightness (58%) made brighter */
  color: white;
  text-align: center;
  font-size: 1.4em;
  letter-spacing: 9px;
  height: 75px;
  border-top: 10px double hsl(197, 71%, 55%);
  border-bottom: 10px double hsl(197, 71%, 55%);
  border-right: 2px solid hsl(197, 71%, 55%);
  display: flex;
  align-items: center;
  justify-content: center;
}


table, td {
  border: 1px solid;
  padding: 5px;
  border-collapse: collapse;
  background-color: white;
  color: black;
  text-align: center;
}

th {
  text-align: center;
  /* not working? */
}

.note {
  font-style: italic;
  color: red;
  /* To hide all notes toggle this on (but be aware of weird white space):
  visibility: hidden; */
}

.italic {
  font-style: italic;
}

.underline {
  text-decoration: underline;
}

.txtcenter {
  text-align: center;
}

.txtleft {
  text-align: left;
}

.image-left {
  float: left;
  margin: 5px 10px 5px 10px;
}

/* footer has been removed b/c there's no need for one - as of now */
.footer {
  position: fixed;
  background-color: #ddd;
  height: 20px; /*height doesnt go below ca. 50px for some reason */
  padding: 0px 0px 50px 10px;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}