@import url('https://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext');
* {box-sizing: border-box;}
html {font-family: Lato;color: #012C34;overflow-y: scroll;}
body {
  background-color: #96BBC2;
  margin: 0;
  padding: 0;
}

/* Main container for centering content */
body > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

a:link    {color :#550800;}
a:visited {color :#801F15;}
a:hover   {color :#AA4339;}
li {margin-bottom: 15px;}
p {text-align: justify;}
h1,h2,h3,h4,h5 {clear: both;}

/* For mobile phones: */
[class*="col-"] {
    width: 100%;
    float:left;
    padding: 15px;
    background-color: #BED6DA;
}

h1 {text-align: center;}
h2 {text-align: center;}

.row {
  max-width: 870px;
  background-color: #012C34;
  margin: auto;
}

.row::after {
    content: "";
    clear: both;
    display: block;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background-color: #012C34;
  height: 100%;
}

nav ul li {margin: 0;}

nav ul li a {
    display: block;
    color: #BED6DA;
    text-align: center;
    padding: 6px 16px;
    text-decoration: none;
}

nav ul li a:hover:not(.active) {
    background-color: #0F444F;
}

nav ul li a:link    {color :#BED6DA;}
nav ul li a:visited {color :#BED6DA;}
nav ul li a:hover   {color :#BED6DA;}
nav[class*="col-"] {padding: 0px;}
.active {background-color: #801F15;}

ul h2 {
  color:#801F15;
}

.myphoto {
  float:both;
  width:90%;
  display: block;
  margin: auto;
  margin-left: 10px;
  margin-right: 10px;
}

.mylogo {
  height: 25px;
}


img.pdfbutton {
  height: 1.5em;
  margin:0;
  padding: 0;
}

a.pdfbutton {
  border-radius: 5px;
  background-color: #012C34; 
  margin:0px 0px 2px 10px;
  padding:7px 7px 4px 7px;
  color: #BED6DA;
  text-decoration: none;
  font-weight:700;
  font-size: 70%;
}


table {
  border:2px solid black;
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid black;
}
td {
  padding: 5px 15px;
}
td:first-child {
  max-width: 400px;
}
thead tr {
  font-weight:bold;
}

td:last-child {
  text-align: center;
}

td.booktitle {
  font-style: italic;
}

.stress {
  font-weight: bold;
}

/* Responsive helpers */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}
.table-scroll > table {
  min-width: 640px; /* allow horizontal scroll on phones */
  width: 100%;
}

/* Content wrapper for pages */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  body { padding: 6px; }
  a, button, input, select { font-size: 16px; }
  table { width: 100%; }
}

/* New dual nav bars */
.nav-public,
.nav-edit {
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap; /* wrap to next line on small screens instead of horizontal scroll */
  gap: 6px 8px;
}
.nav-public {
  background: #2c3e50; /* dark blue */
}
.nav-edit {
  background: #8e2450; /* distinct accent for edit */
}
.nav-public a,
.nav-edit a {
  color: #fff;
  text-decoration: none;
  padding: 6px 10px;
  display: inline-block;
}
.nav-public a:hover { background: #34495e; }
.nav-edit a:hover { background: #a02a5b; }
.nav-public .sep,
.nav-edit .sep { color: #cfd8dc; margin: 0 2px; }

@media only screen and (min-width: 400px) {
    /* For tablets: */
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}
    .myphoto {
      float:right;
      width:200px;
    }
    nav ul {
      columns: 2;
      -webkit-columns: 2;
      -moz-columns: 2;
      -webkit-column-gap: 0px; /* Chrome, Safari, Opera */
      -moz-column-gap: 0px; /* Firefox */
      column-gap: 0px;
    }

nav ul li a {padding: 14px 16px;}

    h1 {text-align: left;}
    h2 {text-align: left;}
}
@media only screen and (min-width: 850px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
    nav ul {
      columns: 1;
      -webkit-columns: 1;
      -moz-columns: 1;
    }
}

