html,
body {
  padding: 0;
  margin: 0;
}

html {
  text-align: center;
}

body {
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-size: 14pt;
  line-height: 140%;
  position: relative;
}

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

body .overlay {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 500ms;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, .95);
  z-index: 999;
}

body .overlay-body {
  fill: #555;
  color: #555;
  padding: 25px;
}

body .overlay-body i {
  display: block;
  text-align: center;
  margin-bottom: 5px;
}

body .overlay-body i svg {
  display: inline-block;
}

body .overlay-body h2 {
  font-size: 26px;
  line-height: 36px;
  font-weight: bold;
  margin-bottom: 5px;
}

body .overlay-body p {
  font-size: 20px;
  line-height: 30px;
}

header > div,
main > div,
footer > div {
  display: inline-flex;
  justify-content: center;
  text-align: left;
  width: 100%;
  max-width: 1680px;
}

header {
  padding: 25px;
}

header .logo {
  width: auto;
  min-width: auto;
  height: 35px;
  min-height: 35px;
  max-height: 35px;
  margin-top: 5px;
}

header .logo img {
  display: block;
  width: auto;
  height: 100%;
  max-height: 35px;
}

header nav {
  display: flex;
  align-items: center;
  margin-left: 50px;
  fill: #555;
}

header nav .toggle-menu {
  display: none;
  text-align: center;
  cursor: pointer;
}

header nav .toggle-menu i {
  display: inline-block;
}

header nav .toggle-menu i hr {
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 35px;
  height: 0;
  border: none;
  border-bottom: 3px solid #555;
}

header nav .toggle-menu i.close hr {
  width: 40px;
}

header nav .toggle-menu i.close hr:nth-child(1) {
  transform: rotate(-45deg);
  margin-top: -10px;
}

header nav .toggle-menu i.close hr:nth-child(2) {
  transform: rotate(45deg);
  margin-top: -12px;
}

header nav .toggle-menu i.close hr:nth-child(3) {
  display: none;
}

header nav ul {
  display: flex;
  align-items: center;
  list-style: none;
}

header nav ul li {
  padding-left: 5px;
  padding-right: 5px;
}

header nav ul li a {
  all: reset;
  font-size: inherit;
  line-height: normal;
  color: #555;
  text-decoration: none;
  transition: color .2s;
}

header nav > ul li a .chevron {
  width: 16px;
  height: 16px;
  margin-bottom: -3px;
}

header nav ul li > a {
  padding-left: 10px;
  padding-right: 10px;
}

header nav ul li a:hover {
  color: #000;
}

header nav ul li svg {
  transition: fill 250ms;
  fill: #555;
  cursor: pointer;
}

header nav ul li.active svg,
header nav ul li:active svg {
  fill: #000;
}

header nav ul li.has-submenu {
  position: relative;
}

header nav ul li.has-submenu.active > a {
  color: #000;
}

header nav ul li ul {
  display: none;
  visibility: hidden;
  position: absolute;
  left: -5px;
  padding: 5px;
  margin-top: 10px;
  white-space: nowrap;
  background-color: #fff;
  border-radius: 3px;
  transition: visibility .2s;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

header nav ul li.has-submenu.active ul {
  display: block;
  visibility: visible;
}

header nav ul li ul:after {
  display: inline-block;
  position: absolute;
  top: -6px;
  left: 18px;
  width: 0; 
  height: 0; 
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  content: '';
}

header nav ul li ul li {
  padding: 5px;
}

header .search {
  margin-left: auto;
}

header .search fieldset {
  display: inline-flex;
  position: relative;
  align-items: center;
  border: none;
}

header .search fieldset input {
  font-family: inherit;
  font-size: 90%;
  font-weight: normal;
  line-height: normal;
  width: 250px;
  min-width: 250px;
  height: 35px;
  padding-left: 10px;
  border: 1px solid #ddd;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.10);
}

header .search fieldset button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  fill: #fff;
  width: 45px;
  height: 35px;
  margin-left: -1px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  border: none;
  background-color: #000;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.10);
  transition: background .1s;
  cursor: pointer;
}

header .search fieldset button:hover {
  background-color: #222;
}

header .search fieldset button:active {
  background-color: #444;
}

header .search fieldset input:focus,
header .search fieldset input:focus + button {
  /* border: 1px solid #bbb; */
}

header .search fieldset button svg {
  display: block;
  margin-top: -2px;
  margin-left: -2px;
}

header .search fieldset .suggestions {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  right: 0;
  padding: 0;
  padding-bottom: 10px;
  margin: 0;
  min-width: 360px;
  border: 1px solid #ddd;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #fff;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
  text-align: left;
  max-height: 250px;
  overflow: auto;
  z-index: 10;
}

header .search fieldset .suggestions.active {
  display: block;
}

header .search fieldset .suggestions table,
header .search fieldset .suggestions table tr {
  width: 100%;
  border-collapse: collapse;
  padding: 0;
  margin: 0;
  list-style: none;
}

header .search fieldset .suggestions table tr {
  white-space: nowrap;
  transition: background-color 250ms;
}

header .search fieldset .suggestions table tr td {
  font-size: 90%;
  line-height: normal;
  padding: 5px;
  user-select: none;
}

header .search fieldset .suggestions table tr td:nth-child(2) {
  width: 100%;
}

header .search fieldset .suggestions table tr td a {
  display: block;
  color: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

header .search fieldset .suggestions table li td a svg {
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
}

header .search fieldset .suggestions table tr a:hover {
  color: #555;
}

header .search fieldset .suggestions table tr a:active {
  color: #000;
}

header .search fieldset .suggestions table tr a:active label {
  color: #fff;
  background-color: #aaa;
}

header .search fieldset .suggestions table tr label {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  line-height: 13px;
  padding: 4px;
  padding-left: 8px;
  padding-right: 8px;
  color: #fff;
  border-radius: 25px;
  background-color: #bbb;
}

footer {
  padding: 25px;
  color: #999;
  fill: #999;
  text-align: center;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
  background-color: #fff;
}

footer > div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

footer > div > * {
  width: 100%;
}

footer .logo img {
  display: inline-block;
  width: auto;
  height: 100%;
  max-height: 35px;
}

footer .links ul,
footer .links ul li {
  padding: 0;
  margin: 0;
  list-style: none;
}

footer .links ul li a {
  font-size: 90%;
  line-height: 125%;
  white-space: nowrap;
  padding: 10px;
  color: inherit;
  text-decoration: none;
  transition: color 250ms;
}

footer .links ul li a:active {
  color: #000;
}

footer .links ul {
  display: flex;
  align-items: center;
}

footer .scroll-top {
  text-align: right;
}

footer .scroll-top div {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 40px;
  fill: #777;
  background-color: #fff;
  transition: all .2s ease-in;
}

footer .scroll-top div svg {
  margin-top: -4px;
}

footer .scroll-top div:active {
  background-color: #eee;
}