.news-wrapper {
  display: flex;
  flex-flow: column;
  width: 100%;
  height: 100%;
  text-align: left;
  background-color: #f1f1f1;
}

.news-wrapper button:hover {
    border: none;
}

.news-main-header {
  text-align: center;
  color: #1ec56b;
  font-size: 4rem;
  text-transform: uppercase;
}

.news-container {
  box-sizing: border-box;
  display: flex;
  flex-flow: row wrap;
}

.news-body-header {
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
}

.news-side {
  width: 60%;
  background-color: #000;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  opacity: 0.05;
  flex: 1;
  white-space: nowrap;
  overflow:hidden !important;
  text-overflow: ellipsis
}

.news-body {
  padding: 3em;
  color: white;
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  height: 100%;
}

.news-body p {
  border-top:  3px solid #fff;
  padding-top: 8px;
}

.news-body a {
  align-self: center;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  background-color: hsla(0, 0%, 0%, 0.1);
  padding: 0.8rem;
  border-radius: 30px 30px 30px / 8px 8px;
  transition: all 0.3s ease-in-out;
}

.a-purple:hover {
  background-color: #75009E;
  transition: all 0.3s ease-in-out;
}

.a-orange:hover {
  background-color: #F79C01;
  transition: all 0.3s ease-in-out;
}

.news-middle-box {
  display: flex;
  flex-flow: column;
  flex: 3;
}

/*.news-middle-box:nth-child(2) {

}*/

.news-box-purple {
  background: #8600b5; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(left top, #8600b5, #dd41fc); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(bottom right, #8600b5, #dd41fc); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(bottom right, #8600b5, #dd41fc); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to bottom right, #8600b5, #dd41fc); /* Standard syntax */
  margin-right: 5px;
}

.news-box-orange {
  background: #febd3f; /* For browsers that do not support gradients */
  background: -webkit-radial-gradient(#febd3f #febd3f); /* Safari 5.1 to 6.0 */
  background: -o-radial-gradient(#8600b5, #dd41fc); /* For Opera 11.6 to 12.0 */
  background: -moz-radial-gradient(#8600b5, #dd41fc); /* For Firefox 3.6 to 15 */
  background: radial-gradient(#fed36a, #febd3f); /* Standard syntax */
}

/*.news-middle-box:nth-child(3) {

}*/

.news-middle-box > img {
  width: 100%;
  /*height: 30%;*/
  height: auto;
  margin-top: 10px;
}

.news-side > img {
  width: 100%;
  height: 40%;
  margin-top: 10px;
}

/* iPADS and stuff */
@media only screen and (min-width : 801px) and (max-width : 1024px) {
  .news-body-header {
    font-size: 1.1rem;
  }

  .news-body > p {
    font-size: 0.8rem;
    padding: 0;
  }

  .news-body a {
    font-size: 0.9rem;
    padding: 0.7rem;
    border-radius: 5px;
}
  .news-side {
    width: 20%;
    flex: 0.2;
  }
}

/* iPADS */

/* small devices */

@media only screen and (min-width: 601px) and (max-width: 800px) {
  .news-body-header {
    font-size: 1rem;
  }

  .news-body > p {
    font-size: 0.8rem;
    padding: 0;
  }

  .news-body a {
    font-size: 0.7rem;
    padding: 0.5rem;
    border-radius: 5px;
}
  .news-side {
    display: none;
  }
}

/* small devices */

@media only screen and (max-width: 600px) {
  .news-container {
    display: flex;
    flex-flow: column;
  }

  .news-body-header {
    font-size: 1rem;
  }

  .news-body > p {
    font-size: 0.8rem;
    padding: 0;
  }

  .news-body a {
    font-size: 0.7rem;
    padding: 0.5rem;
    border-radius: 5px;
  }
  .news-side {
    display: none !important;
  }
}


/* external css: flickity.css */

.carousel {
  background: #EEE;
}

.carousel-cell {
  width: 100%;
  min-height: 80vh;
  margin-right: 10px;
  background: #fafafa;
  border-radius: 5px;
  counter-increment: carousel-cell;
}
