* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
form,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
li {
  margin: 0;
  padding: 0;
}

body {
  background: #e2e2e2;
  color: #000;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  font-size: 12px;
  line-height: 1;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}

.invisible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

a {
  color: #3c78a7;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #97b5de;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #3c78a7;
  font-weight: 400;
  margin: 0 0 12px;
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

p {
  color: #494949;
  font-size: 13px;
  line-height: 21px;
  margin-bottom: 12px;
}

ul,
ol {
  margin: 0 0 12px 20px;
}

li {
  color: #494949;
  font-size: 13px;
  line-height: 21px;
  padding-bottom: 10px;
}

button,
.archive-button {
  border: 1px solid #2d5e84;
  background: #3c78a7;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  min-width: 200px;
  padding: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

button a,
.archive-button {
  color: #fff;
  display: block;
  font-size: 18px;
  line-height: 1.2;
  padding: 20px 40px;
}

button:hover,
button:focus,
.archive-button:hover,
.archive-button:focus {
  background: #dedede;
  color: #3c78a7;
}

button:hover a,
button:focus a {
  color: #3c78a7;
}

#wrapper {
  background: #f8f8f8;
  box-shadow: 5px 5px 20px 5px rgba(145, 144, 144, 0.4);
  margin: 20px auto;
  max-width: 1240px;
}

#header {
  background: #fff;
  min-height: 10px;
}

#header .inside,
#navigation .inside,
.mainwrap,
#footer .inside {
  margin: 0 auto;
  max-width: 1240px;
}

#header .inside {
  min-height: 10px;
  padding-top: 10px;
}

#navigation {
  background: #2c2c2c;
}

#navigation .inside {
  background: #2c2c2c;
}

.mainnav {
  display: none;
  overflow: hidden;
}

.mainnav ul {
  list-style: none;
  margin: 0 10px;
}

.mainnav li {
  float: left;
  line-height: 1;
  padding: 0;
}

.mainnav a,
.mainnav strong {
  color: #fff;
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 40px;
  padding: 5px;
}

.mainnav a:hover,
.mainnav a:focus,
.mainnav .active {
  background: #3c78a7;
  color: #c9d2e3;
}

.quicknav {
  padding: 2% 0;
}

.quicknav select {
  display: block;
  margin: 0 auto;
  max-width: 420px;
  padding: 6px;
  text-align: center;
  width: 80%;
}

#container {
  background: #f8f8f8;
  overflow: hidden;
  padding: 30px 5px;
}

#mainfull,
#mainleft,
#mainright {
  width: 100%;
}

#rightx {
  background: #cad6e6;
  margin-top: 16px;
  padding: 0 5px;
  width: 100%;
}

.content-section {
  clear: both;
  overflow: hidden;
  padding: 2.5%;
  width: 100%;
}

.content-section.compact {
  padding-top: 0;
}

.center {
  text-align: center;
}

.center p,
.center h1,
.center h2,
.center h3,
.center h4 {
  text-align: center;
}

.img100 {
  margin-bottom: 2.5%;
  width: 100%;
}

.img50r,
.img30l {
  margin-bottom: 2.5%;
  width: 100%;
}

.slider {
  overflow: hidden;
  position: relative;
  visibility: visible;
  width: 100%;
}

.slider-track {
  display: grid;
  grid-template-areas: "slide";
}

.slide {
  grid-area: slide;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  aspect-ratio: 920 / 301;
  object-fit: cover;
  width: 100%;
}

.slider-control {
  height: 30px;
  position: relative;
}

.slider-control button {
  background: transparent;
  border: 0;
  color: #3c78a7;
  font-size: 12px;
  line-height: 1;
  min-width: auto;
  padding: 9px 0;
  position: absolute;
  top: 0;
}

.slider-control button:hover,
.slider-control button:focus {
  background: transparent;
  color: #97b5de;
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-menu {
  left: 50%;
  position: absolute;
  text-align: center;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  width: 50%;
}

.slider-dot {
  background: transparent;
  border: 0;
  color: #bbb;
  cursor: pointer;
  font-size: 27px;
  line-height: 30px;
  min-width: auto;
  padding: 0 3px;
  position: static;
}

.slider-dot.active {
  color: #666;
}

.profile-image {
  margin-bottom: 14px;
}

.actions {
  margin-top: 8px;
  text-align: center;
}

.actions p {
  text-align: center;
}

#footer {
  background: #2c2c2c;
  clear: both;
  margin-bottom: 20px;
  text-align: center;
}

#footer .inside {
  background: #2c2c2c;
  overflow: hidden;
}

#footer .footer-col {
  display: block;
  float: left;
  margin-bottom: 2.5%;
  padding: 2.5%;
  width: 100%;
}

#footer p,
#footer li {
  color: #fff;
  font-size: 12px;
}

#footer a {
  color: #fff;
}

#footer a:hover,
#footer a:focus {
  color: #cad6e6;
}

#footer h3 {
  color: #fff;
  text-align: center;
}

.toplink-wrap {
  background: #3c78a7;
  display: none;
  padding: 20px 40px 20px 20px;
  position: fixed;
  right: 0;
  top: 80%;
  z-index: 5;
}

.toplink-wrap.visible {
  display: block;
}

.toplink-wrap img {
  width: 29px;
}

.note {
  background: #edf1f6;
  border-left: 4px solid #3c78a7;
  margin: 16px 0;
  padding: 14px 16px;
}

@media screen and (min-width: 800px) {
  #navigation .mainnav {
    display: block;
  }

  .quicknav {
    display: none;
  }

  #container {
    padding-left: 0;
    padding-right: 0;
  }

  #mainleft {
    float: left;
    width: 66%;
  }

  #mainright {
    float: left;
    width: 66%;
  }

  #rightx {
    float: left;
    margin-left: 3%;
    width: 30%;
  }

  .img50r {
    float: right;
    margin-left: 2.5%;
    width: 50%;
  }

  .img30l {
    float: left;
    margin-right: 2.5%;
    width: 30%;
  }

  .profile-image {
    margin-bottom: 8px;
  }

  #footer .footer-col {
    margin-right: 2%;
    width: 31.333%;
  }

  #footer .footer-col.last {
    margin-right: 0;
    text-align: right;
  }

  #footer .footer-col.last p,
  #footer .footer-col.last a {
    text-align: right;
  }
}

@media screen and (max-width: 520px) {
  #wrapper {
    margin-top: 0;
  }

  .slider-control {
    height: 40px;
  }

  .slider-menu {
    width: 42%;
  }

  button a,
  .archive-button {
    padding-left: 22px;
    padding-right: 22px;
  }
}
