/* Views Galleriffic default css
 * Based off of css from original: http://www.twospy.com/galleriffic/index.html
 */

#galleriffic .content a, #galleriffic .navigation a {
  text-decoration: none;
  color: #777;
}
#galleriffic .content  a:focus, #galleriffic .content  a:hover, #galleriffic .content  a:active {
  text-decoration: underline;
}
#galleriffic .controls {
  width: 508px;
}
#galleriffic .controls a {
  padding: 0 5px;
}
#galleriffic .ss-controls {
  float: left;
}
#galleriffic .nav-controls {
  float: right;
}

#galleriffic .loader {
  /*background-image: url('loader.gif');
  background-repeat: no-repeat;
  background-position: center;*/
  width: 510px;
  height: 350px
}
#galleriffic .slideshow {
  height: 500px;
  width: 700px;
  position: relative;
}
#galleriffic .slideshow img {
  border: none;
  display: block;
}
#galleriffic .download {
  float: right;
}
#galleriffic .image-title {
  border-bottom: 1px solid #666;
  color: #333;
  font-weight: bold;
  clear: both;
  display: block;
  
  font-size: 13px;
  line-height: 1.5em;
  text-transform: uppercase;
}
#galleriffic .image-title,
#galleriffic .image-title p {
	margin: 0;
	clear: both;
}
#galleriffic .image-desc {
  line-height: 1.3em;
  padding-top: 12px;
}
#galleriffic ul.thumbs {
  clear: both;
  margin: 0px 18px;
  padding: 0;
}
#galleriffic ul.thumbs li { 
  float: left;
  padding: 0;
  margin: 0 5px 0 0;
  list-style: none;
}
#galleriffic a.thumb {
  display: block;
}
#galleriffic ul.thumbs li.selected a.thumb {
   border: #d30004 2px solid;
}
#galleriffic ul.thumbs li.selected a.thumb img {
	width: 64px;
	height: 64px;
}
#galleriffic a.thumb:focus {
  outline: none;
}
#galleriffic ul.thumbs img {
  border: none;
  display: block;
}
#galleriffic .pagination {
  clear: both;
  position: relative;
 
}
#galleriffic .navigation.top {
  margin-bottom: 12px;
  height: 11px;
}
#galleriffic .navigation.bottom {
  margin-top: 12px;
}

#galleriffic .navigation {
	height: 105px;
  float: left;
  clear: both;
	padding: 0;
	position: relative;
}

#galleriffic .navigation ul {
	padding: 18px 0;
}

#galleriffic .navigation a.pageLink,
#galleriffic .navigation a.prev.disabled:hover  {
	background: transparent url(../images/gallery-ctrls.png) no-repeat 0 0;
	display: block;
	height: 105px;
	position: absolute;
	top: 3px;
	width: 25px;
}

#galleriffic .navigation a.prev {
	left: 0;
}

#galleriffic .navigation a.next,
#galleriffic .navigation a.next.disabled:hover  {
	background-position: -35px 0;
	right: 6px;
}

#galleriffic .navigation a.prev:hover {
		background-position: 0 -99px;
}

#galleriffic .navigation a.next:hover {
	background-position: -35px -99px;
}

#galleriffic .navigation a.disabled,
#galleriffic .navigation a.disabled:hover {
  opacity: 0.5;
  filter: alpha(opacity = 50); /*--ie---*/
  cursor: default;
}

#galleriffic .pagination a, #galleriffic .pagination span.current {
  display: block;
  float: left;
  margin-right: 2px;
  padding: 4px 7px 2px 7px;
  border: 1px solid #ccc;
}
#galleriffic .pagination a:hover {
  background-color: #eee;
  text-decoration: none;
}
#galleriffic .pagination span.current {
  font-weight: bold;
  background-color: #000;
  border-color: #000;
  color: #fff;
}
#galleriffic .slideshow,
#galleriffic .loader,
#galleriffic .slideshow a.advance-link,
#galleriffic .caption-container {
  clear: both;
}
#galleriffic .slideshow-container {
  position: relative;
  clear: both;
  float: left;
}
#galleriffic .loader {
  position: absolute;
  /*background-image: url('loader.gif');
  background-repeat: no-repeat;
  background-position: center;*/
}
#galleriffic .slideshow span.image-wrapper {
  display: block;
  position: absolute;
  left: 0;
}
#galleriffic .slideshow a.advance-link {
  display: block;
  line-height: 0px; /* This should be set to be at least the height of the largest image in the slideshow with padding */
  text-align: center;
  display: block;
}

#galleriffic .slideshow a.advance-link:hover,
#galleriffic .slideshow a.advance-link:active,
#galleriffic .slideshow a.advance-link:visited {
  text-decoration: none;
}
#galleriffic .caption-container {
  padding: 0 0 0 2px;
  position: relative;
  margin-top: 20px;
}

#galleriffic .caption {
  padding: 0 5px;
}
#galleriffic span.image-caption {
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  margin-top: 20px;

}
#galleriffic .ellipsis {
  float: left;
}

#discover .emvideo object {
  clear: both;
}

/*#discover #galleriffic .slideshow {
  height: 540px !important;	
}*/
@media screen and (max-width:1170px) {
  #galleriffic .slideshow {
    height: 430px;
    width: 560px;
    position: relative;
  }
  #galleriffic .image-wrapper a img {
    height: auto;
  	width: 100% !important;
  }
  #discover #galleriffic .slideshow,
  #discoverbox #galleriffic .slideshow {
    height: 440px !important;	
  }
  #discover .emvideo object,
  #discoverbox .emvideo object {
    clear: both;
    margin-top: 0px;
    height: 430px;
    width: 560px;
  }
}

@media screen and (max-width:930px) {
  #galleriffic .slideshow {
    height: 340px;
    width: 470px;
  }
  #discover #galleriffic {
  	width: 320px;	
  }
  #discover #galleriffic .slideshow,
  #discoverbox #galleriffic .slideshow {
    height: 230px !important;
    width: 320px;	
  }
  #discover .view-dylan-gallery,
  #discoverbox .view-dylan-gallery {
  	margin: 0;
  }
  #galleriffic .emvideo object {
    clear: both;
    height: 340px;
    width: 470px;
  }
  #discover .emvideo object,
  #discoverbox .emvideo object {
    clear: both;
    margin-top: 0px;
    height: 230px;
    width: 330px;
  }
  #discover #galleriffic .navigation,
  #discoverbox #galleriffic .navigation {
  	height: auto;
  }
  #discover #galleriffic ul.thumbs li,
  #discoverbox #galleriffic ul.thumbs li {
  	margin: 0 3px 10px;
  }
  #discover #galleriffic .navigation a.next,
   #discoverbox #galleriffic .navigation a.next {
  	top: 25%;
  }
  #discover #galleriffic .navigation a.prev,
  #discoverbox #galleriffic .navigation a.prev {
  	top: 25%;
  }
  #galleriffic span.image-caption {
    width: 470px;
  }
}

@media screen and (max-width:670px) {
  #galleriffic .slideshow {
    height: 180px;
    width: 225px;
  }
  #galleriffic .navigation {
	  height: auto;
	  width: 225px;
  }
  #galleriffic a.pageLink {
  	top: 25%;
  }
  #galleriffic .navigation a.next,
  #galleriffic .navigation a.next.disabled:hover{
  	right: -19px;
  	
  }
  #galleriffic .navigation a.prev,
   #galleriffic .navigation a.prev.disabled:hover {
    left: -21px;
  }
  #galleriffic ul.thumbs {
  	margin: 0;
  }
  #galleriffic ul.thumbs li {
  	margin: 5px 3px;
  }
  #galleriffic .emvideo object {
    position: relative;
    top: -10px;
    height: 195px;
    width: 225px;
  }
  #galleriffic span.image-caption {
    width: 225px;
  }
  #discover .view-dylan-gallery,
  #discoverbox .view-dylan-gallery {
  	width: 225px;
  }
  #discover .view-dylan-gallery img,
  #discoverbox .view-dylan-gallery img {
  	width: 100%;
  }
  
}
