@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@300;600&display=swap');

html, body {
  font-family: 'Overpass', sans-serif;
  font-weight: 300;
  line-height: 1.5em;
  overflow-x: hidden;
}

body {
  background: url(/media/white_wave.png) #f0f1f4 repeat;
}

h1 {
  color: #326294;
}

img {
  max-width: 100%;
}

a {
  color: #326294;
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: underline;
}

.container {
  max-width: 1280px;
  margin: 1em auto;
  padding: 0 1em;
}
@media screen and (max-width:1023px) {
  .container {
    padding: 0 0.5em;
  }
}

/* menu */
ul.menu {
  list-style-type: none;
  padding: 0;
  display: flex;
}
ul.menu li span a, ul.menu li span a:visited {
  display: block;
  text-decoration: none;
}
ul.menu li span.selected a {
  text-decoration: underline;
}

/* main menu */
.row-1 {
  margin-bottom: -0.5em;
}
.row-2 {
  position: relative;
}
div.main-menu-bg {
  background-color: #326294;
  margin: 0.5em -100%;
  height: 2.5em;
}
ul#menu-main {
  position: absolute;
  top: 0;
  margin: 0.5em;
}
ul#menu-main li {
  margin-right: 2em;
}
ul#menu-main li span a {
  color: white;
}
ul#menu-main li span a:hover {
  color: #aec8e4;
}

/* sidebar */
ul#sideboxes {
  font-size: 90%;
  line-height: 1.2em;
}
ul#sideboxes p {
  text-align: left;
}
ul#sideboxes, ul#sideboxes ul.menu {
  flex-direction: column;
  margin: 0;
}
ul#sideboxes > li {
  margin-bottom: 0.5em;
  padding: 1em 0.75em;
  background-color: white;
}
ul#sideboxes > li:last-child {
  margin-bottom: 0;
}
ul#sideboxes > li > span > a {
  font-size: 105%;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 0.5em;
}
ul#sideboxes li span a:not([href="/#"]):hover {
  text-decoration: underline;
}
ul#sideboxes li span a[href="/#"]:after {
  display: block;
  float: right;
  font-size: 150%;
  content: "\25be";
}
ul#sideboxes ul.menu.level-2 {
  list-style-type: disc;
  padding-left: 1.5em;
}
a.sponsor, a.sponsor>span, ul#sideboxes li>a, ul#sideboxes li>a>span {
  display: block;
  text-align: center;
}
ul#sideboxes li>a:not(:first-child) {
  border-top: 1px solid #e8e8e8;
  margin-top: 0.5em;
  padding-top:0.5em;
}

/* content */
.flex-on-desk {
  display: flex;
}
.flex-on-desk .sidebar {
  min-width: 16em;
  max-width: 25em;
  margin-left: 0.5em;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width:1023px) {
  .flex-on-desk {
    flex-direction: column;
  }
  .flex-on-desk .sidebar {
    margin-top: 0.5em;
    margin-left: 0;
  }
}
main {
  background-color: white;
  padding: 1em;
  flex-grow: 1;
}
a.readmore>span {
  font-style: italic;
}

/* table */
table {
  border-collapse: collapse;
}
table td {
  padding: 0.2em 0.3em;
}
table.striped tr {
    background: #f8fbfe;
}
table.striped tr:nth-child(even) {
    background: #f1f2f5;
}

/* ul dashed */
ul.dashed {
  list-style: none;
  padding-left: 0;
  margin-left: 1em;
}

ul.dashed > li {
  text-indent: -1em
}

ul.dashed > li::before {
  display: inline-block;
  width: 1em;
  content: "\2013\00a0";
  text-indent: 0em
}

/* text format */
span.line-through {
  text-decoration: line-through;
}

/* text aligns */
@media screen and (max-width:1023px) {
  p {
    text-align: left;
  }
}
@media screen and (min-width:1024px) {
  p {
    text-align: justify;
  }
}
.text-center {
  text-align: center;
}

/* block aligns & sizes */
.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width:1023px) {
  .width-50 {
    width: 100%;
  }
}
@media screen and (min-width:1024px) {
  .width-50 {
    width: 50%;
  }
}
