/**
 * Basic colorbox styling, plus custom close button.
 */

 
@media screen and (max-width: 480px) {
	#colorbox,
	#cboxOverlay,
	#cboxWrapper {
	top:80%;
	 z-index: 99999999999;
	}
	
}
#colorbox,
#cboxOverlay,
#cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: visible;
}
#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}
#cboxMiddleLeft,
#cboxBottomLeft {
  clear: left;
}
#cboxContent {
  position: relative;
}
#cboxLoadedContent {
  overflow: auto;
}
#cboxTitle {
  margin: 0;
}
#cboxLoadingOverlay,
#cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
  cursor: pointer;
}

#cboxClose {
  /* top: -6px; */
  top:0px;
  /* right: -6px; */
  right: -1px;
  background: url("images/new-popup-close-button.png") no-repeat;
  width: 27px;
  height: 27px;
  position: absolute;
  border: 0 none;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  padding: 0;
}
