.cg-gallery {
  width: 100%;
}
.cg-gallery, .cg-gallery * {
  margin: 0;
  padding: 0;
}
.cg-gallery .cg-image-wrapper {
  width: 376px;
  /* height: 265px; */
  height: 376px;
  margin-bottom: 5px;
  position: relative;
  overflow: hidden;
  border: 1px solid #223a59;
}
.cg-gallery .cg-image-wrapper .cg-loader {
  position: absolute;
  z-index: 10;
  top: 48%;
  left: 48%;
  border: 1px solid #CCC;
}
.cg-gallery .cg-image-wrapper .cg-next {
  position: absolute;
  right: 0;
  top: 0;
  width: 25%;
  height: 100%;
  cursor: pointer;
  display: block;
  z-index: 100;
}
.cg-gallery .cg-image-wrapper .cg-prev {
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  height: 100%;
  cursor: pointer;
  display: block;
  z-index: 100;
}

.cg-gallery .cg-image-wrapper .cg-prev .cg-prev-image, .cg-gallery .cg-image-wrapper .cg-next .cg-next-image {
  background: url(images/ad_prev.png);
  width: 30px;
  height: 30px;
  display: none;
  position: absolute;
  top: 47%;
  left: 0;
  z-index: 101;
}
.cg-gallery .cg-image-wrapper .cg-next .cg-next-image {
  background: url(images/ad_next.png);
  width: 30px;
  height: 30px;
  right: 0;
  left: auto;
}
.cg-gallery .cg-image-wrapper .cg-image {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 9;
}

.cg-gallery .cg-image-wrapper .cg-image .cg-image-description .cg-description-title {
  display: none;
}

.cg-gallery .cg-controls {
  display: none;
  height: 20px;
}
.cg-gallery .cg-info {
  float: left;
}
.cg-gallery .cg-slideshow-controls {
  float: right;
}
.cg-gallery .cg-slideshow-controls .cg-slideshow-start, .cg-gallery .cg-slideshow-controls .cg-slideshow-stop {
  padding-left: 5px;
  cursor: pointer;
}
.cg-gallery .cg-slideshow-controls .cg-slideshow-countdown {
  padding-left: 5px;
  font-size: 0.9em;
}
.cg-gallery .cg-slideshow-running .cg-slideshow-start {
  cursor: default;
  font-style: italic;
}
.cg-gallery .cg-nav {
  width: 100%;
  position: relative;
  float:left;
}
.cg-gallery .cg-nav-video {
    width:320px;
  }
.cg-gallery .cg-forward, .cg-gallery .cg-back {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 10;
}
/* IE 6 doesn't like height: 100% */
* html .cg-gallery .cg-forward, .cg-gallery .cg-back {
  height: 100px;
}
.cg-gallery .cg-back {
  cursor: pointer;
  left: -20px;
  width: 13px;
  display: block;
  background: url(images/ad_scroll_back.png) 0px 18px no-repeat;
}
.cg-gallery .cg-forward {
  cursor: pointer;
  display: block;
  right: -20px;
  width: 13px;
  background: url(images/ad_scroll_forward.png) 0px 18px no-repeat;
}
.cg-gallery .cg-nav .cg-thumbs {
  overflow: hidden;
  width: 100%;
}

/*
.cg-gallery h4 {
  border-bottom:1px solid #CCCCCC;
  font-size:0.95em;
  margin-bottom:0.8em;
  text-transform:uppercase;
}
*/

.cg-gallery .cg-thumbs .cg-thumb-list {
  float: left;
  width: 9000px;
  list-style: none;
}
.cg-gallery .cg-thumbs li {
  float: left;
  padding-right: 6px;
}
.cg-gallery .cg-thumbs li a {
  display: block;
  border:#223a59 1px solid;
}
.cg-gallery .cg-thumbs li a:active, .cg-gallery .cg-thumbs li a:focus {
    outline:none;
}
.cg-gallery .cg-thumbs li a img {
  /*border: 2px solid #6c6c6c;*/
  border:#223a59 1px solid;
  border: none;
  display: block;
}

.cg-gallery .cg-thumbs li a.cg-active {
  /*border: 2px solid #616161;;*/
  border:#223a59 1px solid;
}
/* Can't do display none, since Opera won't load the images then */
.cg-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}


#coolgallery_video_play_container {
    float: right;
}

#coolgallery_video_play {
    cursor: pointer;
}
#coolgallery_video_overlay {
	
    /* must be initially hidden */
    display:none;

    /* place overlay on top of other elements */
    z-index:10000;

    /* styling */
    background-color:#000;
    width:642px;	
    min-height:391px;
    border:10px solid #000000;

    /* CSS3 styling for latest browsers */
    -moz-box-shadow:0 0 90px 5px #000;
    -webkit-box-shadow: 0 0 90px #000;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;

}

/* close button positioned on upper right corner */
#coolgallery_video_overlay .close {
	background-image:url(images/close.png);
	position:absolute;
	right:-15px;
	top:-15px;
	cursor:pointer;
	height:35px;
	width:35px;
}