/* Header */

  body {
    padding-top: 3.5em;
  }

  #header {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    background-color: #ffffff;
    border-bottom: solid 1px rgba(160, 160, 160, 0.3);
    height: 4.5em;
    left: 0;
    line-height: 4.5em;
    top: 0;
    width: 100%;
    z-index: 10000;
    position: fixed;
  }

    #header a {
      color: inherit;
      text-decoration: none;
    }

    #header ul {
      list-style: none;
      margin: 0;
      padding-left: 0;
    }

      #header ul li {
        display: inline-block;
        padding-left: 0;
      }

    #header h1 {
      height: inherit;
      line-height: inherit;
      padding: 0 1em 0 1em;
      white-space: nowrap;
    }

      #header h1 a {
        /*font-size: 0.7em;*/
      }

    #header .links {
      -moz-flex: 1;
      -webkit-flex: 1;
      -ms-flex: 1;
      flex: 1;
      border-left: solid 1px rgba(160, 160, 160, 0.3);
      height: inherit;
      line-height: inherit;
      /*margin-left: 1.5em;*/
      overflow: hidden;
      padding-left: 1.5em;
    }

      #header .links ul li {
        border-left: solid 1px rgba(160, 160, 160, 0.3);
        line-height: 1;
        margin-left: 1em;
        padding-left: 1em;
      }

        #header .links ul li:first-child {
          border-left: 0;
          margin-left: 0;
          padding-left: 0;
        }

        #header .links ul li a {
          border-bottom: 0;
          /*font-family: "Raleway", Helvetica, sans-serif;*/
          font-size: 0.9em;
          font-weight: 400;
          letter-spacing: 0.25em;
          text-transform: uppercase;
        }

    #header .main {
      height: inherit;
      line-height: inherit;
      text-align: right;
    }

      #header .main ul {
        height: inherit;
        line-height: inherit;
      }

        #header .main ul li {
          border-left: solid 1px rgba(160, 160, 160, 0.3);
          height: inherit;
          line-height: inherit;
          white-space: nowrap;
        }

          #header .main ul li > * {
            display: block;
            float: left;
          }

          #header .main ul li > a {
            text-decoration: none;
            border-bottom: 0;
            color: #aaaaaa;
            overflow: hidden;
            position: relative;
            text-indent: 4em;
            width: 4em;
          }

            #header .main ul li > a:before {
              -moz-osx-font-smoothing: grayscale;
              -webkit-font-smoothing: antialiased;
              display: inline-block;
              font-style: normal;
              font-variant: normal;
              text-rendering: auto;
              line-height: 1;
              text-transform: none !important;
              font-family: 'Font Awesome 5 Free';
              font-weight: 900;
            }

            #header .main ul li > a:before {
              display: block;
              height: inherit;
              left: 0;
              line-height: inherit;
              position: absolute;
              text-align: center;
              text-indent: 0;
              top: 0;
              width: inherit;
            }

    #header form {
      margin: 0;
    }

      #header form input {
        display: inline-block;
        height: 2.5em;
        position: relative;
        top: -2px;
        vertical-align: middle;
      }

    #header #search {
      -moz-transition: all 0.5s ease;
      -webkit-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
      transition: all 0.5s ease;
      max-width: 0;
      opacity: 0;
      overflow: hidden;
      padding: 0;
      white-space: nowrap;
    }

      #header #search input {
        width: 12em;
      }

      #header #search.visible {
        max-width: 12.5em;
        opacity: 1;
        padding: 0 0.5em 0 0;
      }

    @media screen and (max-width: 980px) {

      #header .links {
        display: none;
      }

    }

    @media screen and (max-width: 736px) {

      #header {
        height: 2.75em;
        line-height: 2.75em;
      }

        #header h1 {
          padding: 0 0 0 1em;
        }

        #header .main .search {
          display: none;
        }

    }

/* Menu */

  #menu {
    -moz-transform: translateX(25em);
    -webkit-transform: translateX(25em);
    -ms-transform: translateX(25em);
    transform: translateX(25em);
    -moz-transition: -moz-transform 0.5s ease, visibility 0.5s;
    -webkit-transition: -webkit-transform 0.5s ease, visibility 0.5s;
    -ms-transition: -ms-transform 0.5s ease, visibility 0.5s;
    transition: transform 0.5s ease, visibility 0.5s;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border-left: solid 1px rgba(160, 160, 160, 0.3);
    box-shadow: none;
    height: 100%;
    max-width: 80%;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    width: 25em;
    z-index: 10002;
  }

    #menu > * {
      border-top: solid 1px rgba(160, 160, 160, 0.3);
      padding: 3em;
    }

      #menu > * > :last-child {
        margin-bottom: 0;
      }

    #menu > :first-child {
      border-top: 0;
    }

    #menu .links {
      list-style: none;
      padding: 0;
    }

      #menu .links > li {
        border: 0;
        border-top: dotted 1px rgba(160, 160, 160, 0.3);
        margin: 1.5em 0 0 0;
        padding: 1.5em 0 0 0;
      }
      
      #menu .links > li {
        border: 0;
        border-top: dotted 1px rgba(160, 160, 160, 0.3);
        margin: 1.5em 0 0 0;
        padding: 1.5em 0 0 0;
      }
        #menu .links > li a:link {
          text-decoration: none;
        }

          #menu .links > li a h3 {
            -moz-transition: color 0.2s ease;
            -webkit-transition: color 0.2s ease;
            -ms-transition: color 0.2s ease;
            transition: color 0.2s ease;
            font-size: 1.5em;
          }

          #menu .links > li a p {
            font-size: 0.8em;
            font-weight: 400;
            letter-spacing: 0.25em;
            margin-bottom: 0;
            text-decoration: none;
            text-transform: uppercase;
          }

          #menu .links > li a:hover h3 {
            color: #2ebaae;
          }

        #menu .links > li:first-child {
          border-top: 0;
          margin-top: 0;
          padding-top: 0;
        }

    body.is-menu-visible #menu {
      -moz-transform: translateX(0);
      -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
      transform: translateX(0);
      visibility: visible;
    }

    @media screen and (max-width: 736px) {

      #menu > * {
        padding: 1.5em;
      }

    }