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

html,
body {
  display: flex;
  flex-flow: column wrap;
  min-height: 100vh;
  margin: 0;
  text-align: center;

  font-family: Segoe UI, SegoeUI, Helvetica Neue, Helvetica, Arial, sans-serif;
}

body>* {
  width: 100%;
}

a,
a:link,
a:hover,
a:visited,
a:active {
  text-decoration: none;
}

h1 {
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 60px;
  margin: 0;
}

h2 {
  font-weight: 700;
  font-size: 50px;
  margin: 0;
}

h3 {
  margin: revert;
}

ol {
  padding: revert;
  margin: revert;
}

p {
  margin: revert;
}

table {
  width: 100%;
  margin-bottom: 1em;
  border-collapse: collapse;
}

th {
  font-weight: bold;
  background-color: #ddd;
}

th,
td {
  padding: 0.5em;
  border: 1px solid #ccc;
}

header {
  color: #fff;
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  background: linear-gradient(180deg,
      #16478e 0%,
      rgba(12, 16, 73, 0.9) 100%);
  user-select: none;
}

main {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  flex: 1;
  margin-top: 20px;
}

header>.header-content,
main>div {
  flex: 1;
  max-width: 1980px;
}

.header-content {
  width: 100%;
}

.branding {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  padding: 20px;
}

.logo {
  width: 430px;
}

.logo img {
  width: 100%;
  height: 100%;
}

nav {
  font-weight: 600;
  font-size: 60px;
  margin: 0 8px;
}

nav ul {
  list-style: none;
  display: none;
  margin-bottom: 10px;
  flex-flow: row wrap;
  justify-content: flex-start;
  height: 0;
  transition-duration: 0.3s;
}

nav li {
  display: flex;
  width: 100%;
  text-align: left;
  padding-left: 40px;
}

nav a {
  color: #fff;
  font-size: 36px;
  transition: all 0.3s ease 0s;
  padding: 9px 25px;
}

nav a:hover {
  color: rgba(10, 100, 256, 0.9);
}

.nav-active-page a:hover,
.nav-active-page a {
  color: #fff;
  background: rgba(10, 100, 256, 0.3);
  border-radius: 50px;
  cursor: default;
}

.navbar-toggle {
  position: absolute;
  top: 120px;
  right: 60px;
  cursor: pointer;
  font-size: 24px;
  height: 60px;
  width: 60px;
}

#menu-checkbox {
  display: none;
}

#menu-checkbox:checked~ul {
  display: flex;
  height: auto;
}

#menu-checkbox:checked~.navbar-toggle .menu-icon-left,
#menu-checkbox:checked~.navbar-toggle .menu-icon-right {
  background: transparent;
}

#menu-checkbox:checked~.navbar-toggle .menu-icon-left:before {
  transform: rotateZ(45deg) scaleX(1.4) translate(4px, 4px);
}

#menu-checkbox:checked~.navbar-toggle .menu-icon-left:after {
  transform: rotateZ(-45deg) scaleX(1.4) translate(4px, -4px);
}

#menu-checkbox:checked~.navbar-toggle .menu-icon-right:before {
  transform: rotateZ(-45deg) scaleX(1.4) translate(-4px, 4px);
}

#menu-checkbox:checked~.navbar-toggle .menu-icon-right:after {
  transform: rotateZ(45deg) scaleX(1.4) translate(-4px, -4px);
}

.menu-icon-right:before,
.menu-icon-right:after,
.menu-icon-right,
.menu-icon-left:before,
.menu-icon-left:after,
.menu-icon-left {
  position: absolute;
  width: 30px;
  height: 6px;
  background-color: #fff;
  top: 30px;
  left: 0px;
  content: "";
  transition-duration: 0.3s;
}

.menu-icon-right:before,
.menu-icon-left:before {
  top: -20px;
}

.menu-icon-right:after,
.menu-icon-left:after {
  top: 20px;
}

.menu-icon-right {
  left: 30px;
}

/*--------------------------------*/
.waves {
  padding: 0;
  width: 100%;
}

.waves svg {
  /* position: relative; */
  width: 100%;
  height: 75px;
  margin-bottom: -7px;
}

/* Waves Animation */
.waves .parallax>use {
  animation: move-forever 50s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.waves .parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 51s;
}

.waves .parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 51s;
}

.waves .parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 51s;
}

.waves .parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 51s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-176px, 0, 0);
  }

  100% {
    transform: translate3d(0px, 0, 0);
  }
}

footer {
  margin-top: auto;
  /* Sticks it to the bottom */
  color: #fff;
  font-weight: bold;
  /*background-color: rgba(27, 35, 142, 0.9);*/
  background-color: #16478e;
  padding: 20px 0;
}

.not-found-container {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found-container img {
  margin-top: 60px;
  padding-bottom: 20px;
}

@media screen and (min-width: 981px) {
  #menu-checkbox:checked+ul {
    display: flex;
  }

  nav ul {
    display: flex;
    justify-content: space-evenly;
    height: auto;
  }

  nav ul li {
    margin: 0;
    width: auto;
    text-align: center;
    padding-left: 0;
  }

  .navbar-toggle {
    display: none;
  }

  nav a {
    font-size: 28px;
  }
}

/*-----------------------------------------*/

.contact-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: end;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  flex-flow: column nowrap;
  justify-content: left;
  font-size: 28px;
}

.contact-info>div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: left;
  margin-bottom: 20px;
}

.contact-info>div>div {
  margin: 0 40px;
  text-align: left;
  flex-shrink: 0;
}

.contact-info .label {
  font-weight: bold;
  width: 110px;
}

.hours>div {
  display: flex;
  flex-flow: column nowrap;
}

.hours>div>div {
  display: flex;
  flex-flow: row nowrap;
}

.hours>div>div>div:nth-child(odd) {
  width: 180px;
}

.address-map {
  display: flex;
  margin-top: 40px;
}

/*-----------------------------------------*/

main>div:has(.limited-text) {
  display: flex;
  justify-content: center;
}

.limited-text {
  text-align: left;
  max-width: 900px;
  padding: 0 20px 40px 20px;
  font-size: 22px;
}

.limited-text .nav-back {
  font-size: 22px;
  font-weight: 600;
}

.nav-back a:link,
.nav-back a:visited,
.nav-back a:active,
.notice-list a:link,
.notice-list a:visited,
.notice-list a:active {
  /*color: rgba(27, 35, 142, 0.9);*/
  color: #16478e;
  text-decoration: none;
}

.nav-back a:hover,
.notice-list a:hover {
  color: rgba(10, 100, 256, 0.9);
}

.notice-date,
.notice-content {
  font-size: 22px;
}

.notice-list {
  text-align: left;
}

.notice-list ul {
  list-style-type: none;
  font-size: 36px;
  padding: 0;
}

.notice-list li {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 60px;
  padding: 10px;
}

.notice-list li:hover {
  background-color: rgba(0,0,0,.05);
  border-radius: 15px;
}

.notice-entry {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
}

.notice-read-more {
  font-size: 28px;
}

.post-title a {
  font-weight: 600;
}

.post-date {
  flex-grow: 1;
  flex-shrink: 0;
  text-align: right;
  font-size: 30px;
  margin-top: 3px;
  padding-left: 14px;
  color: initial;
}

.notice-excerpt {
  width: 100%;
  margin-top: 14px;
  font-size: 30px;
  position: relative;
  max-height: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  content: "";
  color: initial;
}

.notice-excerpt:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  /* background: linear-gradient(transparent 50%, #fff 100%); */
  background: linear-gradient(transparent 50%, #fff);
}

.notice-list li:hover .notice-excerpt:before {
  background: initial;
}

@media screen and (max-width: 780px) {
  .company-name h1 {
    font-size: 32px;
  }

  .logo {
    width: 300px;
  }

  .navbar-toggle {
    top: 60px;
  }

  .contact-info>div>div {
    margin: 0 20px;
  }
}

@media screen and (max-width: 620px) {
  .address-map>iframe {
    max-width: 400px;
  }

  .contact-info {
    font-size: 22px;
  }

  .contact-info>div>div {
    margin: 0;
  }

  .hours>div>div>div:nth-child(odd) {
    width: 130px;
  }
}

@media screen and (max-width: 500px) {
  .navbar-toggle {
    right: 12px;
  }
}