/* Kudoo's to:
  www.love2dec.com for good practices
  www.w3schools.com for general HTML/CSS/PHP/JS
  css-tricks.com for general HTML/CSS/PHP/JS
  www.tympanus.net for 3D buttons on links
  www.stackoverflow.com/questions/34525309/collapse-an-element-when-expand-another-element-only-css
  www.rapidtables.com/web/html/html-codes.html
  www.useiconic.com/open for free and open use of Iconic
  iconfinder.com/search for icons
  uxwing.com/ for icons
  blog.hootsuite.com/social-media-icons/ for icon guidelines
  github.com/dharmatype for free and open fonts
  www.fontsquirrel.com/fonts for free fonts
  google-webfonts-helper.herokuapp.com/ for free fonts in eot, ttf, svg, woff & woff2 formats (under "Best Support")
*/

/* CSS reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Cool font */
@font-face {
    font-family: 'artifikamedium';
    src: url('fonts/artifika-regular-webfont.woff2') format('woff2'),
         url('fonts/artifika-regular-webfont.woff') format('woff'),
         url('fonts/Artifika-Regular.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

/* symbol fonts */
@font-face {
    font-family: 'open-iconic';
    src: url('../open-iconic/font/fonts/open-iconic.woff') format('woff'),
         url('../open-iconic/font/fonts/open-iconic.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

h3 { /* Change color */
 color: blue;
}

.image {
  max-width: 100%;
  height: auto;
}

/* set html/body elements to 100% */
html, body, form {
  width: 100%;
  height: 100%;
  font-size: 15px;
  text-align: left;
  top: 0;
  bottom: 0;
  margin: 0;
} 
.ifram { padding: 32px 10px 12px 35px; }
.dshift { padding: 0 0 0 35px; }
/* General table format */
table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
}

/* to change background color per row */
table tr:nth-child(even) {
  background-color: #ddd;
}
table tr:nth-child(odd) {
 background-color: #fff;
}
table th {
  background-color: #999;
}

/* Button visiable but not div after unless "checked" */
.toggle-box {
  display: none;
}
.toggle-box + label {
  /* Font defaults close to H3 (Changed to Blue, Changed Family, Size changed from 1.17em to 18px) */
  font-size: 18px;
  color: blue;
  font-family: 'artifikamedium';
  font-weight: bold;
  margin-left: 35px;
  margin-right: 0px;
  margin-top: 1em;
  margin-bottom: 1em;

  cursor: pointer;
  display: block;
  max-width: 350px;
  min-width: 150px;
  height:41px;
  padding: 10px 0 5px 5px;
  background-color:#3bb3e0;
  text-decoration:none;
  position:relative;
  border-left:solid 1px #2ab7ec;
  background-image: linear-gradient(bottom, rgb(44,160,202) 0, rgb(62,184,229) 100%);
  background-image: -o-linear-gradient(bottom, rgb(44,160,202) 0, rgb(62,184,229) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(44,160,202) 0, rgb(62,184,229) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(44,160,202) 0, rgb(62,184,229) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(44,160,202) 0, rgb(62,184,229) 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, rgb(44,160,202)),
  color-stop(1, rgb(62,184,229))
  );
  -webkit-border-top-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-bottomright: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  -webkit-box-shadow: inset 0 1px 0 #2ab7ec, 0 5px 0 0 #156785, 0 10px 5px #999;
  -moz-box-shadow: inset 0 1px 0 #2ab7ec, 0 5px 0 0px #156785, 0 10px 5px #999;
  -o-box-shadow: inset 0 1px 0 #2ab7ec, 0 5px 0 0px #156785, 0 10px 5px #999;
  box-shadow: inset 0 1px 0 #2ab7ec, 0 5px 0 0px #156785, 0 10px 5px #999;
}
.toggle-box + label + div {
  display: none;
  margin-bottom: 10px;
  margin-left: 20px;
}
.toggle-box:checked + label + div {
  display: block;
}
.toggle-box + label:before {
  background-color:#2561b4;
  content: '\e09b';
  font-family: "open-iconic";
  text-align: center;
  max-height:33px;
  height:100%;
  position:absolute;
  display:block;
  top: 0px;
  padding-top:8px;
  width:35px;
  left:-36px;
  font-size:24px;
  /* font-weight:bold;
     color: #8fd1ea; */
  color: white;
  text-shadow:1px 1px 0 #07526e;
  border-right:solid 1px #07526e;
  background-image: linear-gradient(bottom, rgb(10,94,125) 0%, rgb(14,139,184) 100%);
  background-image: -o-linear-gradient(bottom, rgb(10,94,125) 0%, rgb(14,139,184) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(10,94,125) 0%, rgb(14,139,184) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(10,94,125) 0%, rgb(14,139,184) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(10,94,125) 0%, rgb(14,139,184) 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, rgb(10,94,125)),
  color-stop(1, rgb(14,139,184))
  );
  -webkit-border-top-left-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  -webkit-box-shadow:inset 0 1px 0 #2ab7ec, 0 5px 0 0px #032b3a, 0 10px 5px #999 ;
  -moz-box-shadow:inset 0 1px 0 #2ab7ec, 0 5px 0 0px #032b3a, 0 10px 5px #999 ;
  -o-box-shadow:inset 0 1px 0 #2ab7ec, 0 5px 0 0px #032b3a, 0 10px 5px #999 ;
  box-shadow:inset 0 1px 0 #2ab7ec, 0 5px 0 0px #032b3a, 0 10px 5px #999 ;
}


/* change Menu to X on check */
.toggle-box:checked + label:before {
  top:-3px;
  -webkit-box-shadow:inset 0 1px 0 #2ab7ec, 0 5px 0 0px #032b3a, 1px 1px 0 0px #044a64, 2px 2px 0 0px #044a64, 2px 5px 0 0px #044a64, 6px 4px 2px #0b698b, 0 10px 5px #999 ;
  -moz-box-shadow:inset 0 1px 0 #2ab7ec, 0 5px 0 0px #032b3a, 1px 1px 0 0px #044a64, 2px 2px 0 0px #044a64, 2px 5px 0 0px #044a64, 6px 4px 2px #0b698b, 0 10px 5px #999 ;
  -o-box-shadow:inset 0 1px 0 #2ab7ec, 0 5px 0 0px #032b3a, 1px 1px 0 0px #044a64, 2px 2px 0 0px #044a64, 2px 5px 0 0px #044a64, 6px 4px 2px #0b698b, 0 10px 5px #999 ;
  box-shadow:inset 0 1px 0 #2ab7ec, 0 5px 0 0px #032b3a, 1px 1px 0 0px #044a64, 2px 2px 0 0px #044a64, 2px 5px 0 0px #044a64, 6px 4px 2px #0b698b, 0 10px 5px #999 ;
  content: '\e0db';
  font-family: "open-iconic";
}

.toggle-box:checked + label {
  font-family: 'artifikamedium';
  top:3px;
  background-image: linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
  background-image: -o-linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
  background-image: -webkit-gradient(
  linear,
  left bottom,
  left top,
  color-stop(0, rgb(62,184,229)),
  color-stop(1, rgb(44,160,202))
  );
  -webkit-box-shadow: inset 0 1px 0 #2ab7ec, 0 2px 0 0px #156785, 0 5px 3px #999;
  -moz-box-shadow: inset 0 1px 0 #2ab7ec, 0 2px 0 0px #156785, 0 5px 3px #999;
  -o-box-shadow: inset 0 1px 0 #2ab7ec, 0 2px 0 0px #156785, 0 5px 3px #999;
  box-shadow: inset 0 1px 0 #2ab7ec, 0 2px 0 0px #156785, 0 5px 3px #999;
}

/* Standard navigation on wider screens */
.botnav { float: left; padding: 4px 4px; width: 35px; position: fixed; left: 0; top: 22px; z-index: 99 }
.topnav, .sidenav {
  color: white;
  overflow: hidden; /* no scroll bars */
  position: fixed; /* Set the navbar to fixed position, so always at top */
  width: 100%; /* Full width */
  background-color: Gray; /* #333; */
  z-index: 99; /* Insure on top */
}
.topnav a, .sidenav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  font-family: 'artifikamedium';
  padding: 14px 8px;
  text-decoration: none;
}
.topnav a:hover, .sidenav a:hover {
  color: red;
  font-weight: bold;
}
.botnav .sicon:hover { transform: scale(1.25,1.6); } /* increase by 25% */
.topnav .face:hover, .sidenav .face:hover {
  transform: scale(2.0); /* double img size */
}
.scale2 {
  transform: scale(2.0); /* double img size */
}
.topnav a.active, .sidenav a.active {
  color: green;
  font-weight: bold;
}
.topnav .search-container {
  float: right;
}
.topnav .results, .topnav .results a {
  float: none;
  text-align: right;
}
.topnav input[type=text], .sidenav input[type=text] {
  padding: 6px;
  margin-top: 8px;
  border: "1px solid #A5ACB2";
  border-radius: 15px; /* rounded corners */
}
.topnav .svgFill {
  fill: white;
}
.topnav .svgFill:hover {
  fill: red;
}

/* Navigation parts for smaller screens */
.topnav .icon, .topnav .return, .sidenav a, .sidenav .search-container {
  display: none; /* generally do not display, unless somthing else turns on */
}
.topnav .menu {
  display: block; /* but want to see "menu" if small screen */
}
/* change nav & font-size & padding on tiny screens */
@media screen and (max-width: 990px) {
  .row-flex > div { font-size: 12px; }
  .toggle-box + label { font-size: 10px; }
  .flex-container > div { font-size: 12px; }
  .dshift { padding: 0 0 0 0; }
  .ifram { padding: 32px 10px 12px 0; }
  .sidenav.responsive { height: 100%; width: 300px; z-index: 990; top: 0; left: 0; }
  .topnav.responsive .return { display: block; position: absolute; top: 0; left: 0; font-size: 36px; z-index: 110; }
  .topnav a, .topnav .search-container, .topnav.responsive .menu { display: none; }
  .topnav a.icon { float: left; display: block; }
  .sidenav.responsive a, .sidenav.responsive .search-container { float: none; display: block; text-align: left; }
  .sidenav.responsive a { padding: 6px 8px; }
  .botnav { padding: 4px 4px; width: 250px; position: fixed; left: 40px; top: 2px; z-index: 99; }
}

/* special glue for search "results" */
.results a {
  z-index: 990; /* Insure on top */
  float: none;
  display: block;
  color: blue;  /* #f2f2f2; */
  text-align: left;
  padding: 1px 2px;
  text-decoration: none;
}

/* flexbox in columns */
.flex-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  background-color: White;
}
.flex-container > div {
  background-color: #f1f1f1;
  margin: 10px;
  text-align: center;
}

/* flexbox in rows */
.row-flex {
  display: flex;
  flex-flow: row nowrap;
  background-color: White;
  flex: 1 1 500px; /* Which means start this flexbox width at 500px, but can grow or shrink */
}
.row-flex > div {
  background-color: #f1f1f1;
  width: 100%;
  margin: 10px;
  text-align: left;
}
.row-flex-pic {
    flex: 0 1 320px; /* Which means this flexbox max-width is 320px */
    /*    | |   +- start at 320px (shorthand for flex-basis)
     *    | +----- shrink or not (shorthand for flex-shrink)
     *    +------- grow or not (shorthand for flex-grow) */
}
.row-flex-wrap {
  display: flex;
  flex-flow: row wrap;
  background-color: White;
  flex: 0 1 350px; /* Which means start this flexbox max-width is 350px (ie can only shrink) */
}
.row-flex-wrap > div {
  background-color: #f1f1f1;
  max-width: 350px;
  margin: 10px;
  text-align: left;
}
p {
  margin-top: 0em;
  margin-bottom: 1.0em;
}

ul {
  margin-left: 0;
  padding-left: 20px;
}

ol {
  margin-left: 0;
  padding-left: 20px;
}
ul.myUL {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: none;
}
