/* fonts */

@font-face {
    font-display: swap;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: normal;
    src: url('../font/Raleway-Light.ttf');
}

@font-face {
    font-display: swap;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: bold;
    src: url('../font/Raleway-Medium.ttf');
}

@font-face {
    font-display: swap;
    font-family: 'Raleway';
    font-style: italic;
    font-weight: bold;
    src: url('../font/Raleway-LightItalic.ttf');
}

/* @font-face { */
/*     font-display: swap; */
/*     font-family: 'Lato'; */
/*     font-style: italic; */
/*     font-weight: normal; */
/*     src: url('../font/Lato-LigIta.ttf'); */
/* } */

/* @font-face { */
/*     font-display: swap; */
/*     font-family: 'Lato'; */
/*     font-style: normal; */
/*     font-weight: normal; */
/*     src: url('../font/Lato-Lig.ttf'); */
/* } */

/* @font-face { */
/*     font-display: swap; */
/*     font-family: 'Raleway'; */
/*     font-style: normal; */
/*     font-weight: bold; */
/*     src: url('../font/texgyreadventor-bold.otf'); */
/* } */

/* @font-face { */
/*     font-display: swap; */
/*     font-family: 'Raleway'; */
/*     font-style: italic; */
/*     font-weight: bold; */
/*     src: url('../font/texgyreadventor-bolditalic.otf'); */
/* } */

/* @font-face { */
/*     font-display: swap; */
/*     font-family: 'Raleway'; */
/*     font-style: italic; */
/*     font-weight: normal; */
/*     src: url('../font/texgyreadventor-italic.otf'); */
/* } */

/* @font-face { */
/*     font-display: swap; */
/*     font-family: 'Raleway'; */
/*     font-style: normal; */
/*     font-weight: normal; */
/*     src: url('../font/texgyreadventor-regular.otf'); */
/* } */

/* global */

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

a {
    color: inherit;
    text-decoration: none;
}

time {
    color: gray;
    margin-left: 1rem;
    min-width: 5rem;
}

#wrapper {
    background-color: #FAFAFA;
    display: flex;
    flex-direction: column;
    font-display: swap;
    font-family: 'Raleway', 'Times New Roman', serif;
    min-height: 100vh;
    padding: 1rem;
    word-break: break-word;
}

.link {
    /* color: #AA0000; */
    color: #fe6601;
    text-decoration: underline;
}

.paginator {
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem;
}

::-webkit-scrollbar {
    background-color: #FAFAFA;
    height: 8px;
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #AAAAAA;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #888888;
}

/* header */

#header {
    align-items: center;
    display: flex;
    flex-direction: column;
}

#header > h1 {
    text-align: center;
}

@media screen and (min-width: 40%) {
    #header > h1 {
        font-size: 2.8rem;
    }
}

#header > nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* max-width: 40%; */
    width: 80%;
}

#header > nav > span > a {
    font-size: 1.2rem;
}

/* main */

#main {
    align-self: center;
    display: flex;
    font-display: swap;
    flex-direction: column;
    flex-grow: 1;
    /* max-width: 40%; */
    padding: 2rem 0;
    width: calc(80% - 2rem);
}

/* footer */

#footer {
    align-items: center;
    display: flex;
    font-size: .9rem;
    flex-direction: column;;
}

#footer > .footnote {
    text-align: center;
}

/* Main menu drop-down menu stuff!! */
/* .no-js .menu__btn { */
/*   display: none; */
/* } */

/* .menu__btn { */
/*   /\* display: block; *\/ */
/*   /\* width: 100%; *\/ */
/*   /\* padding: 0; *\/ */
/*   font: inherit; */
/*   /\* color: #fff; *\/ */
/*   /\* background: #2a2a2a; *\/ */
/*   /\* border: 0; *\/ */
/*   /\* outline: 0; *\/ */
/* } */

/* .menu__btn-title { */
/*   position: relative; */
/*   display: block; */
/*   /\* padding: 10px 15px; *\/ */
/*   /\* padding: 0.625rem 0.9375rem; *\/ */
/*   /\* font-weight: 700; *\/ */
/*   text-align: right; */
/*   text-transform: uppercase; */
/*   cursor: pointer; */
/*   -webkit-user-select: none; */
/*   -moz-user-select: none; */
/*   -ms-user-select: none; */
/*   -o-user-select: none; */
/*   user-select: none; */
/* } */

/* :focus > .menu__btn-title { */
/*   box-shadow: inset 0 0 1px 3px #e22d30; */
/* } */

/* button:not(:-moz-focusring):focus > .menu__btn-title { */
/*   box-shadow: none; */
/* } */

/* .menu__btn:focus, */
/* .menu__btn-title:focus { */
/*   outline: 0; */
/* } */

.js .menu__btn--active {
  /* color: #e22d30; */
   color: #fe6601;
}

/* .menu__list, */
/* .submenu__list { */
/*   list-style: none; */
/*   /\* background: #2a2a2a; *\/ */
/* } */

.menu__item:hover > a {
  /* color: #AA0000; */
   color: #fe6601;
}

/* .menu__item:first-child { */
/*   border: 0; */
/* } */

/* .menu__item--active { */
/*   /\* background: #e22d30; *\/ */
/* } */

.menu__link {
  /* display: block; */

  font-size: 1.2rem;
  display: flex;
  font-display: swap;
  flex-direction: row;
  justify-content: space-around;
  max-width: 768px;
  width: 100%;

  /* padding: 0px 15px; */
  padding: 0rem 2rem;
  /* font-weight: 700; */
  /* /\* color: #fff; *\/ */
  /* text-transform: uppercase; */
}

.menu__list .menu__item .submenu__list {
  background: #FAFAFA;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  /* max-width: 15rem; */
  transition: all 0.5s ease;
  /* border-top: 5px solid #e22d30; */
  display: none;

}

.menu__item.menu__dropdown input[type="checkbox"] {
  display: none;
}

.menu__list .menu__item:hover > .submenu__list,
.menu__list .menu__item:focus-within > .submenu__list,
.menu__list .menu__item .submenu__list:hover,
.menu__list .menu__item .submenu__list:focus {
  visibility: visible;
  opacity: 1;
  display: block;
}

.menu__link:hover {
  color: #fff;
}

.js .menu__list {
  position: absolute;
  z-index: 1;
  width: 100%;
  visibility: hidden;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: top left;
  transform-origin: top left;

}

.js .menu__list--active {
  visibility: visible;
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

.menu__list--transition {
  transition: visibility 0.15s ease, transform 0.15s ease,
    -webkit-transform 0.15s ease;
}

/* Remove the dot markers for lists */
ul {
  list-style-type: none;
}

@media screen and (min-width: 767px) {
  /* /\* .menu { *\/ Adds red bar */
  /*   border-bottom: 5px solid #e22d30; */
  /* } */

  .menu__btn {
    display: none;
  }

  .menu__list,
  .js .menu__list {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    visibility: visible;
    /* border: 0; */
    -webkit-transform: none;
    transform: none;

  }

  .menu__item {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* @media screen and (max-width: 767px) { */
/*   .menu__item.menu__dropdown .drop-icon { */
/*     position: absolute; */
/*     /\* right: 1rem; *\/ */
/*     top: auto; */
/*   } */

/*   .menu__item.menu__dropdown input[type="checkbox"] + .submenu__list { */
/*     display: none; */
/*   } */

/*   /\* .menu__item.menu__dropdown input[type="checkbox"]:checked + .submenu__list { *\/ */
/*   /\*   border: none; *\/ */
/*   /\*   padding-left: 20px; *\/ */
/*   /\*   visibility: visible; *\/ */
/*   /\*   opacity: 1; *\/ */
/*   /\*   display: block; *\/ */
/*   /\*   position: relative; *\/ */
/*   /\*   max-width: 100%; *\/ */
/*   /\* } *\/ */
/* } */

/* @media screen and (max-width: 620px) { */
/*   /\* .menu__item.menu__dropdown .drop-icon { *\/ */
/*   /\*   position: absolute; *\/ */
/*   /\*   right: 1rem; *\/ */
/*   /\*   top: auto; *\/ */
/*   /\* } *\/ */

/*   .menu__item.menu__dropdown input[type="checkbox"] + .submenu__list { */
/*     display: none; */
/*   } */

/*   .menu__item.menu__dropdown input[type="checkbox"]:checked + .submenu__list { */
/*     border: none; */
/*     padding-left: 20px; */
/*     visibility: visible; */
/*     opacity: 1; */
/*     display: block; */
/*     position: relative; */
/*     max-width: 100%; */
/*   } */
/* } */
