.backgrounds {
   position: relative;
   overflow: hidden;
   max-height: 100%;
}

.backgrounds .background {
   display: block;
   width: 100%;
   height: auto;
   background-position: center center;
   background-size: cover;
   bottom: 0px;
   top: auto
}

.backgrounds .background a {
   display: block;
   width: 100%;
   height: 100%;
}

.backgrounds .cycle-overlay {
   color: #FFF;
   position: relative;
   top: 0;
   left: 0;
   display: block;
   clear: both;
   width: 100%;
   height: 100%;
   padding: 0;
   text-align: left;
}

@media (max-width:767px) {
   .backgrounds .cycle-overlay {
      padding: 30px 15px
   }
}

#headerGallery .cycle-overlay div {
   margin-top: 0px;
   min-width: 225px;
}

#headerGallery .cycle-overlay div.img-title.position-top-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: auto;
  right: auto;
}

#headerGallery .cycle-overlay div.img-title.position-top-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
}

#headerGallery .cycle-overlay div.img-title.position-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  top: auto;
  right: auto;
}

#headerGallery .cycle-overlay div.img-title.position-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  top: auto;
  left: auto;
}

#headerGallery .cycle-overlay div.img-title {
   font-size: 45px;
   line-height: 48px;
   position: absolute;
   left: auto;
   right: 0;
   top: 0;
   bottom: auto;
   padding: 80px 160px 80px 160px;
   text-shadow: 0px 0px 2px #000;
}

@media (max-width:991px) {
   #headerGallery .cycle-overlay div.img-title {
      font-size: 30px;
      line-height: 33px;
      padding: 40px 80px 40px 80px;
   }

}

@media (max-width:767px) {
   #headerGallery .cycle-overlay {
      padding-left: 0
   }
   #headerGallery .cycle-overlay div.img-title {
      font-size: 20px;
      line-height: 23px;
      padding: 30px 15px;
      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 {
      font-size: 20px;
      line-height: 23px;
   }
}

.backgrounds > .cycle-prev,
.backgrounds > .cycle-next {
   position: absolute;
   top: 50%;
   margin-top: -30px;
   width: 21px;
   height: 60px;
   background-color: transparent;
   background-repeat: no-repeat;
   background-position: center center;
   background-size: 21px 60px;
   z-index: 999;
   cursor: pointer;
}

.backgrounds > .cycle-prev {
   left: 40px;
   background-image: url(../../../../uploads/theme/other/prev.png);
}

.backgrounds > .cycle-next {
   right: 40px;
   background-image: url(../../../../uploads/theme/other/next.png);
}

.backgrounds > .cycle-pager {
   text-align: center;
   position: absolute;
   bottom: 30px;
   left: 0;
   right: 0;
   font-size: 0;
   z-index: 999;
   margin-left: -9.5px;
   margin-right: -9.5px;
   height: 3px;
}

.backgrounds > .cycle-pager > a {
   display: inline-block;
   width: 18px;
   height: 3px;
   background: #FFF;
   margin-left: 9.5px;
   margin-right: 9.5px;
   position: relative;
}

.backgrounds > .cycle-pager > a:nth-child(2n):before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 7px 3px 0;
  border-color: transparent #FFF transparent transparent;
  line-height: 0px;
  _border-color: #000000 #FFF #000000 #000000;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
  position: absolute;
  left: -7px;
  top: 0;
}

.backgrounds > .cycle-pager > a:nth-child(2n+1):before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 3px 7px;
  border-color: transparent transparent #FFF transparent;
  line-height: 0px;
  _border-color: #000000 #000000 #FFF #000000;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
  position: absolute;
  left: -7px;
  top: 0;
}

.backgrounds > .cycle-pager > a:nth-child(2n):after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3px 7px 0 0;
  border-color: #FFF transparent transparent transparent;
  line-height: 0px;
  _border-color: #FFF #000000 #000000 #000000;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
  position: absolute;
  right: -7px;
  top: 0;
}

.backgrounds > .cycle-pager > a:nth-child(2n+1):after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3px 0 0 7px;
  border-color: transparent transparent transparent #FFF;
  line-height: 0px;
  _border-color: #000000 #000000 #000000 #FFF;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
  position: absolute;
  right: -7px;
  top: 0;
}

.backgrounds > .cycle-pager > a.cycle-pager-active {
   background: #AFCB1E;
}

.backgrounds > .cycle-pager > a:nth-child(2n).cycle-pager-active:before {
  border-color: transparent #AFCB1E transparent transparent;
  _border-color: #000000 #AFCB1E #000000 #000000;
}

.backgrounds > .cycle-pager > a:nth-child(2n+1).cycle-pager-active:before {
  border-color: transparent transparent #AFCB1E transparent;
  _border-color: #000000 #000000 #AFCB1E #000000;
}

.backgrounds > .cycle-pager > a:nth-child(2n).cycle-pager-active:after {
  border-color: #AFCB1E transparent transparent transparent;
  _border-color: #AFCB1E #000000 #000000 #000000;
}

.backgrounds > .cycle-pager > a:nth-child(2n+1).cycle-pager-active:after {
  border-color: transparent transparent transparent #AFCB1E;
  _border-color: #000000 #000000 #000000 #AFCB1E;
}

@media (max-width: 767px) {
   .backgrounds > .cycle-pager {
      bottom: 15px;
   }
}