.headerGallery.desktop {
  display: block;
}

.headerGallery.mobile {
  display: none;
}

@media (max-width: 417px) {
  .headerGallery.desktop {
    display: none;
  }
  .headerGallery.mobile {
    display: block;
  }
}

.backgrounds {
  position: relative;
  overflow: hidden;
  height: 100%;
  /*max-height: 415px;*/
}

#home .backgrounds {
  max-height: 100%;
}

.backgrounds .background {
  display: block;
  width: 100%;
  height: auto;
  background-position: center center;
  background-size: cover;
  bottom: 0px;
  top: auto
}

.backgrounds .cycle-overlay {
  color: #065199;
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  justify-content: left;
  align-items: top;
  clear: both;
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: left;
}

@media (max-width:767px) {
  .backgrounds .cycle-overlay {
    padding: 0;
    justify-content: end;
    align-items: end;
  }
}

.headerGallery .cycle-overlay div {
  margin-top: 0px;
  min-width: 225px;
}

.headerGallery .cycle-overlay div.img-title.position-top {
  position: absolute;
  top: 40px;
  left: 0;
  bottom: auto;
  right: 0;
}

.headerGallery .cycle-overlay div.img-title.position-bottom {
  position: absolute;
  top: auto;
  left: 0;
  bottom: 40px;
  right: 0;
}

.headerGallery .cycle-overlay div.img-title.position-left {
  position: absolute;
  top: 0;
  left: 40px;
  bottom: 0;
  right: auto;
}

.headerGallery .cycle-overlay div.img-title.position-right {
  position: absolute;
  top: 0;
  left: auto;
  bottom: 40px;
  right: 0;
}

.headerGallery .cycle-overlay div.img-title.position-top-left {
  position: absolute;
  top: 40px;
  left: 0;
  bottom: auto;
  right: auto;
}

.headerGallery .cycle-overlay div.img-title.position-top-right {
  position: absolute;
  top: 40px;
  right: 0;
  bottom: auto;
  left: auto;
}

.headerGallery .cycle-overlay div.img-title.position-bottom-left {
  position: absolute;
  bottom: 40px;
  left: 0;
  top: auto;
  right: auto;
}

.headerGallery .cycle-overlay div.img-title.position-bottom-right {
  position: absolute;
  bottom: 40px;
  right: 0;
  top: auto;
  left: auto;
}

.headerGallery .cycle-overlay div.img-title {
  padding: 35px 45px;
  background: rgba(6, 50, 117, 0.44);
}

.headerGallery .cycle-overlay div.img-title p,
.headerGallery .cycle-overlay div.img-title h1,
.headerGallery .cycle-overlay div.img-title h2,
.headerGallery .cycle-overlay div.img-title h3,
.headerGallery .cycle-overlay div.img-title h4,
.headerGallery .cycle-overlay div.img-title h5,
.headerGallery .cycle-overlay div.img-title h6 {
  line-height: 1;
}

.headerGallery .cycle-overlay div.img-title :last-of-type {
  margin-bottom: 0;
}

@media (max-width:991px) {
  .headerGallery .cycle-overlay div.img-title {
    padding: 15px;
  }
}

@media (max-width:767px) {
  .headerGallery .cycle-overlay div.img-title {
    font-size: 9px;
  }
  .headerGallery .cycle-overlay div.img-title.position-top {
    top: 15px;
  }
  .headerGallery .cycle-overlay div.img-title.position-bottom {
    bottom: 15px;
  }
  .headerGallery .cycle-overlay div.img-title.position-left {
    left: 15px;
  }
  .headerGallery .cycle-overlay div.img-title.position-right {
    bottom: 15px;
  }
  .headerGallery .cycle-overlay div.img-title.position-top-left {
    top: 15px;
  }
  .headerGallery .cycle-overlay div.img-title.position-top-right {
    top: 15px;
  }
  .headerGallery .cycle-overlay div.img-title.position-bottom-left {
    bottom: 15px;
  }
  .headerGallery .cycle-overlay div.img-title.position-bottom-right {
    bottom: 15px;
  }
  .headerGallery .cycle-overlay {
    padding-left: 0
  }
  .headerGallery .cycle-overlay div.img-title {
    padding: 7.5px;
    text-align: center;
    width: 100%;
  }
  .headerGallery .cycle-overlay div.img-title,
  .headerGallery .cycle-overlay div.img-title h1,
  .headerGallery .cycle-overlay div.img-title h2,
  .headerGallery .cycle-overlay div.img-title h3,
  .headerGallery .cycle-overlay div.img-title h4,
  .headerGallery .cycle-overlay div.img-title h5,
  .headerGallery .cycle-overlay div.img-title h6 {}
}