
.hh-gallery {
  margin: 1em auto;
  position: relative;
}

input {
  display: none;
}

.hh-gallery-inner {
  width: 621.2%;
  line-height: 0;
}

article {
  width: 16.1%;
  float: left;
  position: relative;
}
article img {
  width: 100%;
}

.hh-gallery-prev-next-control {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 100%;
  padding: 0px 12px;
}
.hh-gallery-prev-next-control label {
  display: none;
  width: 110px;
  height: 90px;
  background: #fff;
}
@media only screen and (max-width: 1050px){
  .hh-gallery-prev-next-control label {
    display: none;
    width: 80px;
    height: 60px;
    background: #fff;
  }
}
.hh-gallery-prev-next-control label:hover {
  background: #DDCAAA;
}

.hh-gallery-dot-control {
  position: absolute;
  width: 100%;
  bottom: -50px;
  text-align: center;
}
.hh-gallery-dot-control label {
  cursor: pointer;
  border-radius: 50px;
  display: inline-block;
  width: 26px;
  height: 9px;
  background: #D8D8CA;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.hh-gallery-dot-control label:hover {
  background: #ccc;
  border-color: #777;
}

.hh-gallery-wrapper {
  width: 100%;
  overflow: hidden;
  background: #fff;
  background: #fcfff4;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
.hh-gallery-wrapper .hh-gallery-inner {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -moz-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
}

#hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(6)::after,
#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(5)::after,
#hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(4)::after,
#hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(3)::after,
#hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(2)::after,
#hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(1)::after,

#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(1)::after,
#hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(6)::after,
#hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(5)::after,
#hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(4)::after,
#hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(3)::after,
#hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(2)::after
{
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  margin: 0;
  line-height: 38px;
  font-size: 2em;
  display: block;
  color: #03011F;
}

#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(1)::after, 
#hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(6)::after, #hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(5)::after, #hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(4)::after, #hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(3)::after, #hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(2)::after {
  content: "";
}

#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(1),
#hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(6),
#hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(5),
#hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(4), 
#hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(3), 
#hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(2) {
  display: flex;
    float: right;
    margin-left: 2px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(6),
#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(5), 
#hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(4), 
#hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(3), 
#hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(2), 
#hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(1) {
  display: flex;
    float: left;
    margin-left: 5px;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 127px;
    cursor: pointer;
}
@media only screen and (max-width: 1050px){
  #hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(6),
  #hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(5), #hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(4), #hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(3), #hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(2), #hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(1) {
    display: flex;
      float: left;
      margin-left: 5px;
      align-items: center;
      justify-content: center;
      position: absolute;
      right: 95px;
  }
}

#hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(6)::after,
#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(5)::after, #hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(4)::after, #hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(3)::after, #hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(2)::after, #hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(1)::after {
  content: "";
}

#hh-gallery-carousel6:checked ~ .hh-gallery-dot-control label:nth-child(6), 
#hh-gallery-carousel5:checked ~ .hh-gallery-dot-control label:nth-child(5), 
#hh-gallery-carousel4:checked ~ .hh-gallery-dot-control label:nth-child(4), 
#hh-gallery-carousel3:checked ~ .hh-gallery-dot-control label:nth-child(3), 
#hh-gallery-carousel2:checked ~ .hh-gallery-dot-control label:nth-child(2), 
#hh-gallery-carousel1:checked ~ .hh-gallery-dot-control label:nth-child(1) {
  background: #51512F;
}

#hh-gallery-carousel1:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: 0%;
}
#hh-gallery-carousel2:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -100%;
}
#hh-gallery-carousel3:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -200%;
}
#hh-gallery-carousel4:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -300%;
}
#hh-gallery-carousel5:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -400%;
}
#hh-gallery-carousel6:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -400%;
}













#hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(6)::after,
#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(5)::after, #hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(4)::after, #hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(3)::after, #hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(2)::after, #hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(1)::after,

#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(1)::after,
#hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(6)::after, #hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(5)::after, #hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(4)::after, #hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(3)::after, #hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(2)::after {
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  margin: 0;
  line-height: 38px;
  font-size: 2em;
  display: block;
  color: #03011F;
}

#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(1)::after,
#hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(6)::after, #hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(5)::after, #hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(4)::after, #hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(3)::after, #hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(2)::after {
  content: "";
}

#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(1), 
#hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(6), 
#hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(5), 
#hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(4), 
#hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(3), 
#hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(2) {
  display: flex;
    float: right;
    margin-left: 2px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(6),
#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(5), 
#hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(4),
#hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(3), 
#hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(2), 
#hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(1) {
  display: flex;
    float: left;
    margin-left: 5px;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 127px;
    cursor: pointer;
}
@media only screen and (max-width: 1050px){
  #hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(6), 
  #hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(5), #hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(4), #hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(3), #hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(2), #hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(1) {
    display: flex;
      float: left;
      margin-left: 5px;
      align-items: center;
      justify-content: center;
      position: absolute;
      right: 95px;
  }
}

#hh-gallery-carousel1:checked ~ .hh-gallery-prev-next-control label:nth-child(6)::after, 
#hh-gallery-carousel6:checked ~ .hh-gallery-prev-next-control label:nth-child(5)::after, #hh-gallery-carousel5:checked ~ .hh-gallery-prev-next-control label:nth-child(4)::after, #hh-gallery-carousel4:checked ~ .hh-gallery-prev-next-control label:nth-child(3)::after, #hh-gallery-carousel3:checked ~ .hh-gallery-prev-next-control label:nth-child(2)::after, #hh-gallery-carousel2:checked ~ .hh-gallery-prev-next-control label:nth-child(1)::after {
  content: "";
}

#hh-gallery-carousel6:checked ~ .hh-gallery-dot-control label:nth-child(6),
#hh-gallery-carousel5:checked ~ .hh-gallery-dot-control label:nth-child(5), 
#hh-gallery-carousel4:checked ~ .hh-gallery-dot-control label:nth-child(4), 
#hh-gallery-carousel3:checked ~ .hh-gallery-dot-control label:nth-child(3), 
#hh-gallery-carousel2:checked ~ .hh-gallery-dot-control label:nth-child(2), 
#hh-gallery-carousel1:checked ~ .hh-gallery-dot-control label:nth-child(1) {
  background: #51512F;
}

#hh-gallery-carousel1:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: 0%;
}
#hh-gallery-carousel2:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -100%;
}
#hh-gallery-carousel3:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -200%;
}
#hh-gallery-carousel4:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -300%;
}
#hh-gallery-carousel5:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -400%;
}
#hh-gallery-carousel6:checked ~ .hh-gallery-wrapper .hh-gallery-inner {
  margin-left: -500%;
}

@media only screen and (max-width: 850px) and (min-width: 450px) {
  .hh-gallery-wrapper {
    border-radius: 0;
  }
}

@media only screen and (max-width: 450px) {
  .hh-gallery-wrapper {
    border-radius: 0;
  }
}