/*
  Plugin Name: flaket
*/

/* On the front page */
.flaket-newsfeed,
.flaket-image,
.flaket-newspost,
.flaket-content-row {
  width: 100%;
}
.flaket-col4 {
  flex: 2 0 100%;
  margin: 0 10px;
  order: 0;
}
.flaket-col4 .flaket-newspost h2 {
  font-weight: bold;
}
.flaket-col4 .flaket-newspost .input-word {
  color: #de3c0e;
}
.flaket-col4 .newsList .input-word {
  color: #d81f2e;
}
.flaket-col4 .item-h1 .news-text h2 a {
  font-size: 36px;
}
@media only screen and (min-width: 920px) {
  .flaket-col4 {
    margin: 0;
  }
}
.flaket-content-row {
  padding: 1em 0;
}
.flaket-col2,
.flaket-col2 .flaket-left-column {
  width: 100%;
}
.flaket-col1.one-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.flaket-col1.one-item .flaket-left-column,
.flaket-col1.one-item .flaket-right-column {
  flex: 1;
}
.flaket-col1.one-item .flaket-left-column {
  margin-right: 1em;
}
.flaket-col1 .flaket-left-column,
.flaket-col1 .flaket-right-column {
  display: flex;
  flex-wrap: wrap;
}
.flaket-col1 .newsList .newsItem-h2 {
    flex: 0 50%;
    min-height: unset !important;
    max-width: 50%;
}
.flaket-col1.one-item .newsList .newsItem-h2 {
  flex: 1;
  max-width: 100%;
}
.flaket-col1 .newsList .newsItem.item-h1,
.flaket-col1.one-item .newsList .newsItem-h2  {
    min-height: unset !important;
}
.newsList .newsItem {
    width: auto;
}
.flaket-newspost a {
  color: #000;
}
.flaket-newspost a img {
  height: auto;
  width: 100%;
}
.flaket-col4.full-width-extended .secondary {
    background: none;
    display: flex;
    flex: nowrap;
    justify-content: space-between;
    margin-bottom: 15px;
    margin-top: 15px;
}
.flaket-col4.full-width-extended .secondary .half-width {
    background-color: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 15%);
    flex: 0 0 auto;
    width: 49%;
}
.flaket-col4.full-width-extended .half-width .image {
    max-height: 325px;
    overflow: hidden;
}
.flaket-col4.full-width-extended .half-width .image img {
    aspect-ratio: 2;
    object-fit: cover;
    object-position: top;
}
.flaket-col4.full-width-extended .secondary .half-width h3 {
    font-size: 15px;
}
@media only screen and (min-width: 768px) {
    .flaket-col4.full-width-extended .secondary {
        margin-bottom: 0;
    }
    .flaket-col4.full-width-extended .secondary .half-width {
    }
    .flaket-col4.full-width-extended .secondary .half-width h3 {
        font-size: 20px;
    }
}
/* START: Vinjett for Flaket image content type */
.flaket-image {
  position: relative;
}
.flaket-image-vinjett {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999;
}
.flaket-image-vinjett p {
  background: inherit !important;
  font-size: 1.4em !important;
  font-weight: bold !important;
  margin: 0.5em 0 !important;
  text-align: center !important;
}
.flaket-image-vinjett span.input-word {
  text-transform: uppercase !important;
}
.flaket-col2 .newsItem .input-word,
.flaket-col1 .newsItem .input-word {
  color: #d81f2e;
}
/* END: Vinjett for Flaket image content type */
/* START: Colours */
.black-bg,
.black-bg p {
  background-color: #000;
  color: #fff !important;
}
.red {
  color: #d81f2e;
}
.red-bg,
.red-bg p {
  background-color: #d81f2e;
  color: #fff !important;
}
.pink {
  color: #e30076;
}
.pink-bg,
.pink-bg p {
  background-color: #e30076;
  color: #fff !important;
}
.light-yellow {
  color: #f3bf35;
}
.light-yellow-bg,
.light-yellow-bg p {
  background-color: #f3bf35;
  color: #000 !important;
}
.dark-yellow {
  color: #de8230;
}
.dark-yellow-bg,
.dark-yellow-bg p {
  background-color: #de8230;
  color: #000 !important;
}
.green {
  color: #51aa41;
}
.green-bg,
.green-bg p {
  background-color: #51aa41;
  color: #000 !important;
}
.orange {
  color: #ea6129;
}
.orange-bg,
.orange-bg p {
  background-color: #ea6129;
  color: #000 !important;
}
/* END: Colours */

/* START: Video */
.flaket-video {
    width: 100%;
}
.flaket-image.video a {
    display: block;
    height: calc(100% - 7rem);
    left: 2rem;
    position: absolute;
    top: 3rem;
    width: calc(100% - 4rem);
}
/* END: Video */
