@font-face {
  font-family: ProximaNova;
  src: url(../fonts/ProximaNova-Reg.eot);
  src: url(../fonts/ProximaNova-Reg.eot?#iefix) format('embedded-opentype'),url(../fonts/ProximaNova-Reg.woff) format('woff'),url(../fonts/ProximaNova-Reg.ttf) format('truetype'),url(../fonts/ProximaNova-Reg.svg#d41d8cd98f00b204e9800998ecf8427e) format('svg');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family:ProximaLight;src:url(../fonts/ProximaNova-Light.eot);src:url(../fonts/ProximaNova-Light.eot?#iefix) format('embedded-opentype'),url(../fonts/ProximaNova-Light.woff) format('woff'),url(../fonts/ProximaNova-Light.ttf) format('truetype'),url(../fonts/ProximaNova-Light.svg#d41d8cd98f00b204e9800998ecf8427e) format('svg');font-style:normal;font-weight:200;
}

@font-face {
  font-family:ProximaNova;src:url(../fonts/ProximaNova-Bold.eot);src:url(../fonts/ProximaNova-Bold.eot?#iefix) format('embedded-opentype'),url(../fonts/ProximaNova-Bold.woff) format('woff'),url(../fonts/ProximaNova-Bold.ttf) format('truetype'),url(../fonts/ProximaNova-Bold.svg#d41d8cd98f00b204e9800998ecf8427e) format('svg');font-weight:700;
}

.sprite-app-factory {
  width: 181px;
  height: 30px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -98px;
}

.sprite-app-mobil {
  width: 150px;
  height: 30px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -128px;
}

.sprite-app-science {
  width: 188px;
  height: 30px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -38px;
}

.sprite-app-system {
  width: 177px;
  height: 30px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -68px;
}

.sprite-arrow-down,aside .past-events:after {
  width: 38px;
  height: 38px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -195px;
}

.sprite-arrow-hover,nav ul li:hover a:after {
  width: 18px;
  height: 57px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -290px;
}

.sprite-arrow,nav ul li a:after {
  width: 18px;
  height: 57px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -233px;
}

.sprite-diary,aside .past-events:before {
  width: 37px;
  height: 37px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -158px;
}

.logo,.sprite-logo {
  width: 670px;
  padding-top: 40px;
  height: 110px;
  padding-left: 150px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -347px;
}

.sprite-mobile-arrow {
  width: 57px;
  height: 18px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 0;
}

.sprite-year-arrow,aside .year .past-event-year-title:after {
  width: 41px;
  height: 20px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
  background-position: 0 -18px;
}

body {
  background: url(../img/background.jpg) top/cover no-repeat #000;
  font-family: ProximaNova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
  color: #fff;
  padding-bottom: 60px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,h2,h3,h4, .hwsw-event-title, .past-event-year-title {
  color: #fff;
  margin: 0;
  padding: 0;
}

h2.hwsw-event-description {
    margin: 20px auto 0;
    font-size: 13px;
    line-height: 22px;
    font-weight: normal;
}

a {
  text-decoration: none;
  color: #fff;
}

a,p,time {
  font-family: ProximaNova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
  line-height: 22px;
}

.wrapper {
  max-width: 1040px;
  padding-left: 40px;
  padding-right: 40px;
  margin: 0 auto;
}

#header {
  max-width: 910px;
  margin: 0 auto;
  overflow: hidden;
}

#header:after {
  content: "";
  clear: both;
  display: block;
}

#header .fb-like {
  margin: 20px 0 0 35px;
}

.logo {
  margin: 0 auto;
  font-family: ProximaLight;
  font-size: 40px;
}

.logo strong {
  font-family: ProximaNova;
  font-weight: 700;
}

aside .hwsw-event-title,nav .hwsw-event-title {
  white-space: nowrap;
  word-spacing: keep-all;
  font-family: ProximaNova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
  font-weight: 200;
  font-size: 33px;
  cursor: pointer;
  margin: 0 auto 10px;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px){
  aside .hwsw-event-title,nav .hwsw-event-title {
    font-size: 28px;
  }
}

aside .assign-app:before,nav .assign-app:before {
  display: inline-block;
  content: "App!";
  font-weight: 700;
}

.title-prefix {
    font-weight: 700;
    font-family: ProximaNova;
}

aside .assign-hwsw,nav .assign-hwsw {
  font-family: ProximaLight;
}

aside .assign-hwsw:before,nav .assign-hwsw:before {
  display: inline-block;
  padding-right: 5px;
  content: "HWSW";
  font-weight: 700;
  font-family: ProximaNova;
}

aside .assign-hwsw:after,nav .assign-hwsw:after {
  display: inline-block;
  content: "!";
  font-family: ProximaLight;
}

aside .assign-noname,nav .assign-noname {
    text-transform: capitalize;
    display: block;
    padding-right: 5px;
    font-weight: 700;
    font-family: ProximaNova;
}

aside .assign-noname:after,nav .assign-noname:after {
  display: inline-block;
  content: "!";
  font-family: ProximaLight;
}


nav {
  margin-top: 60px;
}

nav ul {
  position: relative;
  text-align: center;
  display: flex;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}

nav ul li {
  -webkit-box-flex: 1;
  -webkit-flex: auto;
  -ms-flex: auto;
  flex: auto;
  cursor: pointer;
  position: relative;
  width: 250px;
  padding: 15px;
  margin: 0 auto;
  padding-bottom: 130px;
  padding-left: 24px;
  padding-right: 24px;
  border-left: 1px solid rgba(128,128,128,.2);
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

nav ul li > a:last-child {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px){
  nav ul li {
    -webkit-box-flex: none;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    width: 100% !important;
    -moz-box-sizing: none;
    box-sizing: none;
  }
}

nav ul li:first-child {
  border-left: 0;
}

nav ul li a {
  width: 100%;
  height: 100%;
}

nav ul li time {
  font-size: 24px;
  color: #8ac53e;
  font-weight: 200;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px){
  nav ul li time {
    font-size: 22px;
  }
}

nav ul li p {
  margin: 20px auto 0;
  font-size: 13px;
  line-height: 22px;
}

nav ul li .hwsw-event-description:before {
  margin: 20px auto;
  display: block;
  content: "";
  width: 30px;
  height: 2px;
  background: #fff;
}

nav ul li:hover {
  background: #8ac53e;
}

nav ul li:hover h2 a,nav ul li:hover time {
  color: #000;
}

nav ul li a:after {
  position: absolute;
  left: 50%;
  margin-left: -9px;
  margin-bottom: 60px;
  bottom: -15px;
  display: inline-block;
  content: "";
}

html.no-flexbox nav ul {
  display: table;
}

html.no-flexbox nav ul li {
  display: table-cell;
  border: 1px solid red;
  vertical-align: top;
}

50% {
  -webkit-transform: translate3d(0,10px,0);
  -webkit-animation-timing-function: ease-in;
}

100% {
  -webkit-transform: translate3d(0,0,0);
}

aside {
  max-width: 1040px;
  margin: 60px auto;
}

aside.opened .container {
  max-height: 9999px;
}

aside.opened .past-events {
  border-bottom: 1px solid rgba(128,128,128,.2);
}

aside.opened .past-events:after {
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
}

aside .container {
  overflow: hidden;
  max-height: 0;
  background: #0e0e0e;
}

aside .container .past-events {
  border-bottom: 0;
}

aside .past-events {
  cursor: pointer;
  position: relative;
  border-top: 1px solid rgba(128,128,128,.2);
  line-height: 60px;
  font-family: ProximaNova,"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
  padding-left: 90px;
  background: rgba(255,255,255,.1);
  font-size: 1.17em;
  font-weight: 700;
}

aside .past-events:before {
  position: absolute;
  top: 10px;
  left: 25px;
  display: inline-block;
  content: "";
}

aside .past-events:after {
  position: absolute;
  top: 10px;
  right: 25px;
  display: inline-block;
  content: "";
  -webkit-transition: 1s;
  transition: 1s;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

aside .year {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(38,38,38,.4);
  display: table;
  width: 100%;
}

aside .year .past-event-year-title {
  display: table-cell;
  padding-top: 20px;
  text-align: center;
  width: 170px;
  vertical-align: top;
  font-size: 26px;
  color: #8ac53e;
  font-weight: 200;
}

aside .year .hwsw-event-description {
    font-size: 16px;
    margin-top: 0;
    font-weight: normal;
}

aside .year .past-event-year-title:after {
  margin-left: 20px;
  display: inline-block;
  content: "";
}

aside .year .events {
  position: relative;
}

aside .year ul {
  margin: 0 auto;
  position: relative;
  display: block;
  overflow: hidden;
  max-width: 870px;
  background: url(../img/app_hwsw-logo.png) 0 0/215px 130px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

aside .year ul:after {
  content: "";
  display: table;
  clear: both;
}

aside .year ul li {
  background: #0e0e0e;
  float: left;
  width: 215px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
min-height: 130px;
}

aside .year ul li .hwsw-event-title {
  position: relative;
  font-size: 23px;
  font-family: ProximaLight;
}

aside .year ul li .hwsw-event-title.empty {
  margin-top: -4px;
  opacity: .2;
  display: block;
}

aside .year ul li a:hover .hwsw-event-title {
  color: #8ac53e;
}

aside .year ul li time {
  font-size: 16px;
  color: #8ac53e;
  font-weight: 200;
}

html.no-flexbox aside ul {
  display: block;
}

html.no-flexbox aside ul li {
  display: inline-block;
  float: left;
}

@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx) {
  .sprite-app-factory {
    width: 181px;
    height: 30px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -98px;
    background-size: 188px 547px;
  }

  .sprite-app-mobil {
    width: 150px;
    height: 30px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -128px;
    background-size: 188px 547px;
  }

  .sprite-app-science {
    width: 188px;
    height: 30px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -38px;
    background-size: 188px 547px;
  }

  .sprite-app-system {
    width: 177px;
    height: 30px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -68px;
    background-size: 188px 547px;
  }

  .sprite-arrow-down,aside .past-events:after {
    width: 38px;
    height: 38px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -195px;
    background-size: 188px 547px;
  }

  .sprite-arrow-hover,nav ul li:hover a:after {
    width: 18px;
    height: 57px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -290px;
    background-size: 188px 547px;
  }

  .sprite-arrow,nav ul li a:after {
    width: 18px;
    height: 58px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -233px;
    background-size: 188px 547px;
    transform: rotate(90deg);
    opacity: 1;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -webkit-animation: movedown 2s linear infinite;
    -moz-animation: movedown 2s linear infinite;
    animation: movedown 2s linear infinite;
  }

  @keyframes movedown {
    0% { bottom: -15px; }
    50% { bottom: -5px; }
    100% { bottom: -15px; }
  }
  @-webkit-keyframes movedown {
    0% { bottom: -15px; }
    50% { bottom: -5px; }
    100% { bottom: -15px; }
  }

  .sprite-diary,aside .past-events:before {
    width: 37px;
    height: 37px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -158px;
    background-size: 188px 547px;
  }

  .sprite-logo {
    width: 121.5px;
    height: 200px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -347px;
    background-size: 188px 547px;
  }

  .sprite-mobile-arrow {
    width: 57px;
    height: 18px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 188px 547px;
  }

  .sprite-year-arrow,aside .year .past-event-year-title:after {
    width: 41px;
    height: 20px;
    background-image: url(../img/sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 -18px;
    background-size: 188px 547px;
  }
}

@media (max-width:600px) {
  .wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width:1080px) {
  nav ul li {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 1 1;
    -ms-flex: 1 1 1 1;
    flex: 1 1 1 1;
    border-left: 0;
  }

  aside .year ul {
    background: 0 0;
  }

  aside .year ul li {
    width: 50%;
  }
}

@media (min-width:1081px) {
    nav ul li {
        flex: none;
        border-left: none;
        margin: 0;
    }
}

@media (max-width:945px) {
  #header .logo {
    float: none;
  }

  #header .fb-like {
    float: none;
    margin-top: 0;
  }
}

@media (max-width:850px) {
  .logo {
    width: 560px;
    font-size: 35px;
  }
}

@media (max-width:750px) {
  .logo {
    width: 480px;
    font-size: 30px;
  }
}

@media (max-width:685px) {
  .logo {
    width: 355px;
    padding-top: 25px;
  }
}

@media (max-width:555px) {
  .logo {
    width: 205px;
    font-size: 20px;
    padding-left: 135px;
  }
}

@media (max-width:680px) {
  nav ul li {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 1 1;
    -ms-flex: 1 1 1 1;
    flex: 1 1 1 1;
    width: 200px;
    border-left: 0;
  }
}

@media (max-width:420px) {

  nav ul li:after {
    margin: 0 auto;
    background: url(../img/sprites/mobile-arrow@2x.png) center center/67px 18px no-repeat;
    width: 57px;
    height: 18px;
    -webkit-animation: bounce 1s infinite;
    animation: bounce 1s infinite;
  }
}

@media (max-width:940px) {
  aside .year ul {
    background: 0 0;
  }

  aside .year ul li {
    width: 100%;
  }
}

@media (max-width:640px) {
  aside {
    margin-top: 15px;
  }

  aside .past-events {
    padding-left: 15px;
  }

  aside .past-events:before {
    display: none;
  }

  aside .year .past-event-year-title {
    display: block;
    margin: 0 auto 10px;
  }

  aside .year .past-event-year-title:after {
    display: none;
  }

  aside .year ul {
    background: 0 0;
  }

  aside .year ul li {
    width: 100%;
  }
}

@media (max-width: 380px) {

	.logo {
		width: 195px;
		padding-top: 20px;
		padding-left: 140px;

	}
}

.permission {
  background: rgba(0, 0, 0, 0.2);
  height: 100%;
  left: 0;
  display: flex;
  overflow: auto;
  padding: 1.5em;
  position: fixed;
  top: 0;
  transition: opacity 0.2s;
  width: 100%;
  z-index: 9999;
  animation: fade-in 250ms ease-out;
}
.permission[aria-hidden=true] {
  display: none;
}
.permission__content {
  box-sizing: border-box;
  position: fixed;
  width: calc(100% - 2rem);
  top: 72px;
  padding: 24px;
  display: flex;
  margin: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  background-color: #fff;
  box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);
  z-index: 10000;
  animation: reveal 250ms ease-out;
}
@media (min-width: 25.875rem) {
  .permission__content {
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: 25rem;
  }
}
.permission__content img {
  width: 64px;
  height: auto;
  margin-right: 16px;
}
.permission__content p {
  max-width: calc(100% - (64px + 18px));
  font-size: 1rem;
  margin: 0;
  color: #000;
}
.permission__actions {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
}
@media (min-width: 25.875rem) {
  .permission__actions {
    margin-left: auto;
    max-width: calc(100% - (64px + 18px));
  }
}
.permission button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.875rem;
  font-size: 0.875rem;
  height: 2.625rem;
  width: 50%;
  line-height: 1.2;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgba(32, 32, 32, 0.19);
  vertical-align: middle;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid #000;
}
@media (min-width: 25.875rem) {
  .permission button {
    width: auto;
    padding: 0 0.875rem;
  }
}
.permission button[aria-label=close] {
  background-color: #fff;
}
.permission button:not([aria-label=close]) {
  background: #000;
  color: #fff;
}
.permission button + button {
  margin-left: 12px;
}
@keyframes reveal {
  from {
    opacity: 0;
    scale: 0.8;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
