/* colours */
/* vendor prefixes */
/* loading */
@keyframes expandWidth {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
@-webkit-keyframes expandWidth {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
@-moz-keyframes expandWidth {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
.body-loading {
  position: fixed;
  z-index: 999999999;
  top: 0;
  left: 0;
  height: 3px;
  background-color: #ffffff;
  display: none;
}
body.loading .body-loading {
  display: block;
  -webkit-animation: expandWidth 2s linear 1;
  -khtml-animation: expandWidth 2s linear 1;
  -moz-animation: expandWidth 2s linear 1;
  animation: expandWidth 2s linear 1;
}
/* layout */
.constrain {
  position: relative;
}
.center-xy {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -khtml-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.center-x {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -khtml-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
}
.center-y {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -khtml-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}
.fill {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.height100 {
  position: relative;
  min-height: -moz-fill-available;
  min-height: fill-available;
  min-height: 100vh;
}
/* Avoid Chrome to see Safari hack */
@supports (-webkit-touch-callout: none) {
  .height100 {
    /* The hack for Safari */
    min-height: -webkit-fill-available;
  }
}
.fullwidth {
  width: 100%;
}
.fullscreen {
  position: relative;
  min-height: -moz-fill-available;
  min-height: fill-available;
  min-height: 100vh;
  width: 100%;
}
html,
body,
html a {
  -webkit-font-smoothing: antialiased !important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
}
img {
  border: 0;
  outline: 0;
  display: block;
  height: auto;
  max-width: 100%;
}
figure {
  width: auto !important;
}
/* page layout */
#wrapper {
  margin: 0 auto;
}
/* the content */
@media (max-width: 921px) {
  #menu-toggle {
    position: absolute;
    top: 16px;
    left: 14px;
    display: block;
    width: 30px;
    z-index: 998;
    /* toggle link */
    /* menu open */
  }
  #menu-toggle:hover {
    text-decoration: none !important;
  }
  #menu-toggle:focus {
    text-decoration: none;
  }
  #menu-toggle i {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    margin-bottom: 10px;
    display: block;
    /* bar 1 */
    /* bar 2 */
    /* bar 3 */
    /* odd bars */
  }
  #menu-toggle i span {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    opacity: 1;
    z-index: 999;
    background-color: #ffffff;
    -webkit-transition: background-color 0.5s ease-in-out 0, opacity 0.5s ease-in-out 0.3s;
    -khtml-transition: background-color 0.5s ease-in-out 0, opacity 0.5s ease-in-out 0.3s;
    -moz-transition: background-color 0.5s ease-in-out 0, opacity 0.5s ease-in-out 0.3s;
    transition: background-color 0.5s ease-in-out 0, opacity 0.5s ease-in-out 0.3s;
  }
  #menu-toggle i span:nth-of-type(1) {
    top: 0;
  }
  #menu-toggle i span:nth-of-type(2) {
    top: 9px;
    -webkit-transition: background-color 0.2s ease-in-out 0s, opacity 0s ease-in-out 0.5s;
    -khtml-transition: background-color 0.2s ease-in-out 0s, opacity 0s ease-in-out 0.5s;
    -moz-transition: background-color 0.2s ease-in-out 0s, opacity 0s ease-in-out 0.5s;
    transition: background-color 0.2s ease-in-out 0s, opacity 0s ease-in-out 0.5s;
  }
  #menu-toggle i span:nth-of-type(3) {
    top: 18px;
  }
  #menu-toggle i span:nth-of-type(odd) {
    -webkit-transition: background-color 0.2s ease-in-out 0s, transform 0.3s ease-in-out 0s, top 0.3s ease-in-out 0.3s;
    -khtml-transition: background-color 0.2s ease-in-out 0s, transform 0.3s ease-in-out 0s, top 0.3s ease-in-out 0.3s;
    -moz-transition: background-color 0.2s ease-in-out 0s, transform 0.3s ease-in-out 0s, top 0.3s ease-in-out 0.3s;
    transition: background-color 0.2s ease-in-out 0s, transform 0.3s ease-in-out 0s, top 0.3s ease-in-out 0.3s;
  }
  .menu-open #menu-toggle {
    /* dropdown bars */
  }
  .menu-open #menu-toggle i {
    /* bar 1 */
    /* bar 2 */
    /* bar 3 */
    /* odd bars */
  }
  .menu-open #menu-toggle i span {
    background-color: #ffffff;
  }
  .menu-open #menu-toggle i span:nth-of-type(1) {
    top: 9px;
    -webkit-transform: rotate(45deg);
    -khtml-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .menu-open #menu-toggle i span:nth-of-type(2) {
    opacity: 0;
    -webkit-transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    -khtml-transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    -moz-transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
  }
  .menu-open #menu-toggle i span:nth-of-type(3) {
    top: 9px;
    transform: rotate(-45deg);
  }
  .menu-open #menu-toggle i span:nth-of-type(odd) {
    -webkit-transition: background-color 0.2s ease-in-out 0s, transform 0.1s ease-in-out 0.2s, top 0.1s ease-in-out 0s;
    -khtml-transition: background-color 0.2s ease-in-out 0s, transform 0.1s ease-in-out 0.2s, top 0.1s ease-in-out 0s;
    -moz-transition: background-color 0.2s ease-in-out 0s, transform 0.1s ease-in-out 0.2s, top 0.1s ease-in-out 0s;
    transition: background-color 0.2s ease-in-out 0s, transform 0.1s ease-in-out 0.2s, top 0.1s ease-in-out 0s;
  }
}
