/*!
Theme Name: NWITA
Theme URI: http://underscores.me/
Author: Jason Vasilev
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nwita
Tags: custom-background, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

NWITA is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*
--------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css?family=Muli:400,400i,700&display=swap");

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 24px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 54px;
  margin: 0 0 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}

/* GENERAL */

html {
  background: black;
  font-family: "Muli", Arial, Helvetica, sans-serif;
  color: white;
}

a {
  color: white;
}

.elementor a {
  border-bottom: 1px solid white;
}
.small {
  display: none;
}

.elementor a:hover,
.elementor a:focus {
  border-bottom-color: transparent;
}

a.elementor-toggle-title,
.elementor-image a {
  border-bottom: 0;
}

h1.elementor-heading-title,
h1 {
  max-width: 1000px;
  margin-bottom: 40px;

  line-height: 62px;
  font-weight: 700;
}

h2.elementor-heading-title,
h2 {
  font-size: 46px;
  line-height: 52px;
  font-weight: 700;
}

h3.elementor-heading-title,
h3 {
  margin: 0 0 16px;

  font-size: 14px;
  line-height: 24px;
  color: #808080;
  font-weight: 700;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.menu-main-container {
  display: none;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  left: 100%;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  width: 100%;
  margin: 0 40px 0 0;
  float: left;
  position: relative;
}

.main-navigation li:last-of-type {
  margin-right: 16px;
}

.main-navigation a {
  display: block;
  text-decoration: none;

  font-size: 14px;

  /* identical to box height, or 143% */
  letter-spacing: 0.06em;
}

/* Small menu. */
.main-navigation.toggled-menu {
  width: 100%;
  margin-right: 57px;
  text-align: center;
}

.menu-toggle {
  cursor: pointer;
  padding: 12px 0;
  background-color: transparent;
  border: 0;

  position: absolute;
  right: 20px;
  top: 20px;
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  transition: all 0.2s ease-in-out;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
  background: white;
  content: "";
  width: 20px;
  height: 2px;
  transition: all 0.2s ease-in-out;
}

.menu-toggle span::before {
  top: -8px;
}

.menu-toggle span::after {
  top: 8px;
}

.toggled-menu .menu-toggle span {
  background: transparent;
}
.toggled-menu .menu-toggle span:before {
  transform: rotate(45deg) translate(5px, 6px);
}

.toggled-menu .menu-toggle span:after {
  transform: rotate(-45deg) translate(5px, -6px);
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* HEADER */

.masthead {
  width: 100%;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  background-color: rgba(0, 0, 0, 0.8);
  transition: background 0.3s;

  z-index: 1;
}

.masthead:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.masthead__container {
  max-width: 1120px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
}

/* Mobile menu is open */

.masthead__container.toggled-menu {
  align-items: center;
  flex-flow: column;
  padding-bottom: 30px;
}

.toggled-menu .main-navigation ul,
.toggled-menu .menu-main-container {
  display: block;
}

.toggled-menu .main-navigation {
  width: 100%;
  flex-flow: column;
  padding-top: 20px;
}

.masthead__brand {
  display: flex;
  align-items: center;
}

.masthead__logo {
  max-width: 54px;
  width: 100%;
  max-height: 54px;
  height: 100%;
  margin: 8px 16px 8px 0;

  display: inline-block;
  transition-duration: 1s;
}

.masthead__name:active .masthead__logo,
.masthead__name:focus .masthead__logo,
.masthead__name:hover .masthead__logo {
  transform: scale(1.2);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

.masthead__name {
  display: flex;
  align-items: center;
  width: 210px;
  padding: 0 16px 0 0;

  font-size: 14px;
  line-height: 16px;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.masthead__year {
  color: white;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu a {
  padding: 8px 20px;

  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  line-height: 20px;
  color: white;
  text-align: center;
}

.nav-menu a::after {
  width: 0%;
  height: 1px;
  background-color: white;
  content: " ";
  position: absolute;
  top: 34px;
  left: 50%;
  transition: left 0.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    width 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.nav-menu a:hover::after,
.current-menu-item a::after {
  width: 100%;
  height: 1px;
  display: block;
  background-color: white;
  content: " ";
  position: absolute;
  top: 34px;
  left: 0;

  opacity: 0.7;
}

.menu-item {
  margin: 0 8px;
}

.main-navigation ul li:hover > .sub-menu {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Buttons */

input[type="button"].elementor-button,
input[type="button"].elementor-button:visited,
a.elementor-button,
a.elementor-button:visited,
.menu-item-4037.menu-item-4037 > a {
  padding: 6px 13px;

  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.06em;
  color: black;

  background-color: white;
  border: 1px solid transparent;
  border-radius: 2px;

  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  cursor: pointer;
}

input[type="button"].elementor-button:hover,
a.elementor-button:hover,
input[type="button"].elementor-button:focus,
a.elementor-button:focus,
.menu-item-4037.menu-item-4037 > a:focus,
.menu-item-4037.menu-item-4037 > a:hover {
  background-color: transparent;
  border-color: white;
  color: white;
}

.menu-item-4037.menu-item-4037 > a:after,
.menu-item-4037.menu-item-4037 > a:hover:after,
.menu-item-4037.menu-item-4037 > a:focus:after {
  display: none;
}

.elementor-element.elementor-button-info a.elementor-button {
  padding-left: 0;
  padding-right: 0;
  border: 0;
  border-bottom: 1px solid white;
  border-radius: 0;
  background-color: transparent;
  color: white;
}

/* FOOTER */

.site-footer {
  padding-top: 40px;
  overflow: hidden;
  background: white;
  color: black;
}

.site-footer a {
  color: inherit;
}

.site-footer__container {
  max-width: 1120px;
  margin: 20px auto 0 auto;
  padding: 0 16px;
}

.site-footer__logo {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
}

.site-footer__left {
  margin: 0 0 32px;

  font-size: 20px;
  line-height: 24px;
}

.site-footer__right {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
}

.footer-some {
  margin-right: 14px;
  opacity: 0.6;
  transition: opacity 0.25s ease-in-out;
  text-decoration: none;
}

.footer-some:hover,
.footer-some:focus {
  opacity: 1;
}

.footer-some:last-of-type {
  margin-right: 0;
}

.footer-some svg {
  width: 44px;
  height: 44px;
  line-height: 44px;
}

.site-footer__right p {
  margin: 0 0 24px;
}

.site-footer__bottom {
  margin-top: 10px;
  margin-bottom: 32px;
  width: 100%;
  clear: both;

  font-size: 14px;
  line-height: 20px;
}

/* CATEGORIES */

.categories {
  margin: 0;
  padding: 0;

  list-style: none;
  counter-reset: item;
}

.categories__item {
  padding: 24px 16px 66px 20vw;
  border-top: 2px solid white;
  counter-increment: item;
  position: relative;
}

.categories__item::before {
  counter-increment: li;
  content: counter(item, decimal-leading-zero);

  font-size: 24px;
  line-height: 32px;
  color: white;
  opacity: 0.7;

  position: absolute;
  left: 0;
  top: 24px;
}

.categories__item-title {
  font-size: 24px;
  line-height: 32px;
  color: white;
}

.categories__item-text {
  margin: 0;
}

/* Timeline module on home page */
.timeline {
  display: flex;
  align-items: flex-start;
  flex-flow: wrap column;

  max-width: 305px;
  margin: 40px auto 80px auto;
  padding: 0;
  border-left: 1px solid white;

  color: #ffffff;

  list-style-type: none;
}

.timeline__item {
  position: relative;
  display: inline-block;
  padding: 0 16px 44px 16px;

  font-size: 14px;
  line-height: 20px;
}

.timeline__item::after {
  position: absolute;
  left: -6px;
  bottom: 40px;

  width: 12px;
  height: 12px;
  margin: 0 auto;

  background-color: white;
  border-radius: 50%;

  content: "";
}

.timeline__item--past {
  color: grey;
}

.timeline__date {
  display: block;

  font-weight: bold;
  font-size: 32px;
  line-height: 36px;
}

@media screen and (min-width: 768px) {
  .timeline {
    display: flex;
    flex-flow: nowrap row;
    justify-content: space-around;
    align-items: flex-end;
    max-width: 100%;
    border-left: none;
    border-bottom: 1px solid white;
    margin-bottom: 40px;

    text-align: center;
  }

  .timeline__item {
    padding-bottom: 24px;
  }

  .timeline__item::after {
    right: 0;
    bottom: -6px;
    left: 0;
  }

  .main-navigation ul li:hover > .sub-menu {
    width: auto;
    background-color: rgba(0, 0, 0, 0.9);
  }
}

/* RESPONSIVE */

@media screen and (min-width: 888px) {
  h1.elementor-heading-title,
  h1 {
    font-size: 64px;
  }

  h2.elementor-heading-title,
  h2 {
    font-size: 56px;
    line-height: 62px;
  }

  /* HEADER & NAV */
  .nav-menu a {
    padding-right: 0;
    padding-left: 0;
  }

  .masthead__container {
    justify-content: space-between;
  }

  .menu-main-container {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .main-navigation li {
    width: auto;
  }

  /* FOOTER */
  .site-footer__columns {
    display: flex;
    justify-content: space-between;
  }

  .site-footer__left {
    max-width: 40%;
    width: 100%;
    padding-right: 16px;
  }

  .site-footer__right {
    max-width: 60%;
    padding-left: 16px;

    font-size: 16px;
    line-height: 24px;
  }

  /* CATEGORIES */

  .categories__item {
    padding-top: 50px;
    padding-left: 35vw;
  }

  .categories__item-title,
  .categories__item::before {
    font-size: 48px;
    line-height: 56px;
  }

  .categories__item::before {
    top: 50px;
  }
}

@media screen and (min-width: 1150px) {
  .categories__item {
    padding-left: 50%;
  }
}

.winners-2019 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.winners-2019__card {
  width: 100%;
  max-width: 325px;
  padding: 8px 8px 16px;
  margin: 0 8px 16px;

  text-align: center;
}

.winners-2019__image {
  display: block;
}

.winners-2019__category {
  padding: 8px;
  margin: 0;

  font-weight: bold;
  font-size: 20px;
  line-height: 28px;
}

.winners-2019__name {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
}

#wpforms-35 .wpforms-form {
  width: 80%;
  margin: 0 auto;
}

/* a11y */
.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
