/* breakpoints */
.image img {
  max-width: 100%;
  height: auto;
}

.image a {
  display: inline-block;
  max-width: 100%;
}

.image .image-caption {
  display: none;
}

.image-default-size img {
  max-width: none;
  width: auto !important;
}

.image-full-size img {
  width: 100% !important;
  height: auto !important;
}

.image-left .component-content > div > img {
  float: left;
}

.image-right .component-content > div > img {
  float: right;
}

.background-image {
  width: 100vw;
  max-width: 1440px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .background-image {
    -webkit-transform: translateX(-webkit-calc((100vw - 768px) / -2));
    -ms-transform: translateX(calc((100vw - 768px) / -2));
    transform: translateX(calc((100vw - 768px) / -2));
  }
}

@media only screen and (min-width: 1024px) {
  .background-image {
    -webkit-transform: translateX(-webkit-calc((100vw - 1024px) / -2));
    -ms-transform: translateX(calc((100vw - 1024px) / -2));
    transform: translateX(calc((100vw - 1024px) / -2));
  }
}

@media only screen and (min-width: 1280px) {
  .background-image {
    -webkit-transform: translateX(-webkit-calc((100vw - 1260px) / -2));
    -ms-transform: translateX(calc((100vw - 1260px) / -2));
    transform: translateX(calc((100vw - 1260px) / -2));
  }
}

@media only screen and (min-width: 1440px) {
  .background-image {
    -webkit-transform: translateX(-webkit-calc((1440px - 1260px) / -2));
    -ms-transform: translateX(calc((1440px - 1260px) / -2));
    transform: translateX(calc((1440px - 1260px) / -2));
  }
}

.image.rich-text-image {
  text-align: center;
}

.image.logobar {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 50%;
  flex: 0 1 50%;
  height: 120px;
  margin: 0 10px;
  max-width: -webkit-calc(50% - 20px);
  max-width: calc(50% - 20px);
}

.image.logobar .component-content {
  max-width: 180px;
}

@media only screen and (min-width: 768px) {
  .image.logobar {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 180px;
    flex: 0 1 180px;
  }
}

.image.logobar img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: .5;
  -webkit-transition: opacity .3s ease, -webkit-filter .3s ease;
  transition: opacity .3s ease, -webkit-filter .3s ease;
  transition: opacity .3s ease, filter .3s ease;
  transition: opacity .3s ease, filter .3s ease, -webkit-filter .3s ease;
}

.image.logobar:hover img {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
  opacity: 1;
  -webkit-transition: opacity .3s ease, -webkit-filter .3s ease;
  transition: opacity .3s ease, -webkit-filter .3s ease;
  transition: opacity .3s ease, filter .3s ease;
  transition: opacity .3s ease, filter .3s ease, -webkit-filter .3s ease;
}

.image.logobar .component-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.image.logobar .component-content a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
