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

body {
  height: 100vh;
  font-family: Arial, sans-serif;
  color: white;
}

.green {
  background: #94bf36;
}

.red {
  background: #990035;
}

.orange {
  background: #f0801a;
}

.black {
  background: #46535b;
}

.slider {
  width: 100%;
  height: 80%;
  position: relative;
  overflow: hidden !important;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: all 0.5s;
}

.slide > div {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.btn {
  display: none;
  position: absolute;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: none;
  border-radius: 50%;
  z-index: 10px;
  cursor: pointer;
  background-color: #46535b;
  opacity: 0.2;
  font-size: 18px;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.btn > .right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.btn > .left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.btn:active {
  transform: scale(1.1);
}

.btn-prev {
  top: 50%;
  left: 2%;
}

.btn-next {
  top: 50%;
  right: 2%;
}

.days {
  display: flex;
  height: 20%;
  overflow: hidden;
}

.days > div {
  display: flex;
  flex-grow: 1;
  border: 1px solid white;
  cursor: pointer;
  border-bottom: 0px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5px;
}

.days > div.active {
  border-top: 0px;
  font-weight: bold;
}

.days > div:first-child {
  border-left: 0px;
}

.days > div:last-child {
  border-right: 0px;
}

.info {
  max-width: 70%;
}

.info .date {
  font-size: 1.2em;
  font-weight: bolder;
}

.info .title {
  font-size: 3em;
  padding-top: 25px;
  padding-bottom: 25px;
}

.info .desc {
  font-size: 1.3em;
}

.slide .img {
  background: url(power-icon.svg) no-repeat 50% 50%;
  background-size: contain;
  width: 100%;
  max-width: 139px;
  height: 100%;
  margin-right: 25px;
}

@media (max-width: 769px) {
  .slide > div {
    flex-direction: column;
  }

  .slide .img {
    width: 100%;
    height: 100%;
    max-height: 100px;
    margin: 10px 10px;
  }

  .info {
    text-align: center;
    max-width: 100%;
    padding: 10px;
  }

  .info .date {
    font-size: 1em;
    font-weight: bolder;
  }

  .info .title {
    font-size: 2em;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .info .desc {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .slide > div {
    flex-direction: column;
  }

  .slide .img {
    display: none;
  }

  .info {
    text-align: center;
    max-width: 100%;
  }

  .info .date {
    font-size: 1em;
    font-weight: bolder;
  }

  .info .title {
    font-size: 1.8em;
    padding-top: 1px;
    padding-bottom: 10px;
  }

  .info .desc {
    font-size: 1em;
  }

  .days > div {
    font-size: 0.8em;
    word-break: break-word;
  }
}

@media (max-width: 320px) {
  .slide > div {
    flex-direction: column;
  }

  .slide .img {
    display: none;
  }

  .info {
    text-align: center;
    max-width: 100%;
  }

  .info .date {
    font-size: 0.9em;
    font-weight: bolder;
  }

  .info .title {
    font-size: 1.3em;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .info .desc {
    font-size: 0.8em;
  }

  .days > div {
    font-size: 0.7em;
    word-break: break-word;
  }
}

/*TYPO3 specific styles*/
.frame-default {
  color: black;
}