
#colorbox, #cboxOverlay, #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
}

#colorbox {
  outline: 0;
}

#cboxWrapper {
  max-width: none;
}

#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #6e6b6b;
}

#cboxMiddleLeft, #cboxBottomLeft {
  clear: left;
}

#cboxContent {
  position: relative;
  background: transparent;
  overflow: hidden;
}

#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0px;
}

#cboxLoadingOverlay, #cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#cboxLoadingOverlay {
  background: url(loading_background.png) no-repeat center center;
}

#cboxLoadingGraphic {
  background: url(loading.gif) no-repeat center center;
}

.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
  -ms-interpolation-mode: bicubic;
}

.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #fff;
}

#colorbox, #cboxContent, #cboxLoadedContent {
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
}

#cboxTopLeft,
#cboxTopRight,
#cboxBottomLeft,
#cboxBottomRight {
  width: 21px;
  height: 21px;
}

#cboxMiddleLeft,
#cboxMiddleRight {
  width: 21px;
}

#cboxTopCenter,
#cboxBottomCenter {
  height: 21px;
}

#cboxError {
  padding: 50px;
  border: 1px solid #ccc;
}

#cboxTitle {
  position: absolute;
  margin: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  width: 90%;
  padding: 0 5% 15px 5%;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px #2D2D2D;
 /* background-color: #383838cc;*/
}

#cboxTitle span {
  font-weight: normal;
  color: #fe9800;
}

#cboxCurrent {
  position: absolute;
  top: 15px;
  left: 0;
  color: #F2F2F2;
  font-size: 1em;
  font-weight: normal;
  padding: 0 0 15px 5px;
}

#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none;
  cursor: pointer;
}

#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {
  outline: 0;
}

#cboxSlideshow {
  position: absolute;
  bottom: 4px;
  right: 30px;
  color: #0092ef;
}

#cboxPrevious {
  position: absolute;
  bottom: 50%;
  left: 0;
  background: url(previous.png) no-repeat;
  width: 40px;
  height: 65px;
  text-indent: -9999px;
  opacity: .7;
}

#cboxPrevious:hover {
  background-position: center -65px;
  opacity: 1;
}

#cboxNext {
  position: absolute;
  bottom: 50%;
  right: 0;
  background: url(next.png) no-repeat;
  width: 40px;
  height: 65px;
  text-indent: -9999px;
  opacity: .7;
}

#cboxNext:hover {
  background-position: center -65px;
  opacity: 1;
}

#cboxClose {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: url(close_round.png) no-repeat;
  width: 50px;
  height: 50px;
  text-indent: -9999px;
  opacity: .7;
}

#cboxClose:hover {
  background-position: center -50px;
  opacity: 1;
}
.gallery-item.private_.cboxElement {
    opacity: 0.4;
	transition: all ease 1.7s;
    display: inline-block;
}
.gallery-item.private_.cboxElement:hover {
    opacity: 0.9;
	transform: scale(1.08);
}
.gallery-item.private_.cboxElement:hover:nth-child(2n+1) {
    transform: rotate(-1deg) scale(1.07);
    transition: all ease 0.5s;
}
.gallery-item.private_.cboxElement:hover:nth-child(2n) {
    transform: rotate(1deg) scale(1.07);
    transition: all ease 0.5s;

@media screen and (min-width: 0em) {
  #cboxCurrent {
    display: none!important;
  }
  #cboxLoadedContent {
    margin-bottom: 0;
    padding-top: 0;
  }
  #cboxTopLeft,
  #cboxTopRight,
  #cboxBottomLeft,
  #cboxBottomRight {
    width: 0;
    height: 0;
  }
  #cboxMiddleLeft,
  #cboxMiddleRight {
    width: 0;
  }
  #cboxTopCenter,
  #cboxBottomCenter {
    height: 0;
  }
}

@media screen and (min-width: 45em) {
  #cboxCurrent {
    display: block!important;
  }
  #cboxLoadedContent {
    padding-top: 52px;
    padding-bottom: 52px;
   /* background-color: #344a4a;*/
  }
  #cboxTopLeft,
  #cboxTopRight,
  #cboxBottomLeft,
  #cboxBottomRight {
    width: 1em;
    height: 5px;
  }
  #cboxTopLeft,
  #cboxTopRight {
    height: 5px;
  }
  #cboxMiddleLeft,
  #cboxMiddleRight {
    width: 1em;
  }
  #cboxBottomCenter {
    height: 5px;
  }
  #cboxTopCenter {
    height: 5px;
  }
}
