html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
html {
  background: #333;
  color: #999;
  font: 12px/1.5em arial, helvetica, sans-serif;
}
body {
  font-size: 100%;
  text-align: center;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  position: relative;
  display: block;
  z-index: 1;
  margin: 0;
  padding: 0;
  zoom: 1;
}
header ul,
footer ul,
nav ul {
  list-style: none;
}
@font-face {
  font-family: 'WebSymbolsRegular';
  src: url('/html5/fonts/websymbols-regular-webfont.eot');
  src: url('/html5/fonts/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'), url('/html5/fonts/websymbols-regular-webfont.woff') format('woff'), url('/html5/fonts/websymbols-regular-webfont.ttf') format('truetype'), url('/html5/fonts/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
}
/*
#debug{
	width: @contentWidth;
	heigth: @galleryImageHeight;
	overflow: auto;
}
*/
#main {
  width: 100%;
  min-width: 320px;
  max-width: 960px;
  margin: 0 auto;
}
#main .slideshow {
  width: 100%;
  max-width: 855px;
  /*
		max-height: @galleryHeight;
		*/

  margin: 0 auto;
}
#main .slideshow input {
  display: none;
}
#main .slideshow section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
#main .slideshow section.inner {
  width: 500%;
  min-width: 500%;
  max-width: 500%;
  line-height: 0;
}
#main .slideshow section.overflow {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  overflow: hidden;
}
#main .slideshow section figure {
  position: relative;
  float: left;
  width: 20%;
  overflow: hidden;
}
#main .slideshow section figure img {
  /* this will help scale the image's width and height */

  width: 100%;
  min-width: 100%;
  max-width: 100%;
}
#main .slideshow section figure figcaption {
  position: absolute;
  display: block;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 0;
  width: 100%;
  line-height: 1.5em;
  height: auto;
  background: #666;
  background: rgba(0, 0, 0, 0.3);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
  color: #fff;
  float: none;
  overflow: hidden;
}
#main .slideshow .controls {
  position: relative;
  /*
			margin: -((@galleryImageHeight / 2) + (@controlHeight/2)) 0 0 0;
			*/

  margin: -33% 0 0;
  width: 100%;
  height: 50px;
  z-index: 2;
}
#main .slideshow .controls label {
  display: none;
  width: 50px;
  height: 50px;
  zoom: 1;
  filter: alpha(opacity= 30 );
  opacity: 0.3;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
  font-family: WebSymbolsRegular;
  font-size: 45px;
  line-height: 50px;
  cursor: pointer;
}
#main .slideshow .controls label:hover {
  zoom: 1;
  filter: alpha(opacity= 80 );
  opacity: 0.8;
}
#main .slideshow .active {
  /*
			margin: (@galleryImageHeight / 2 - (@controlHeight/2) ) 0 0;
			*/

  margin: 30% 0 0 0;
  text-align: center;
  z-index: 2;
  clear: both;
  cursor: default;
}
#main .slideshow .active label {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #bbb;
  color: #fff;
}
#main .slideshow .active label:hover {
  background: #ccc;
  border-color: #777 !important;
}
#main .slideshow #slide1:checked ~ .controls label:nth-child(2),
#main .slideshow #slide2:checked ~ .controls label:nth-child(3),
#main .slideshow #slide3:checked ~ .controls label:nth-child(4),
#main .slideshow #slide4:checked ~ .controls label:nth-child(5),
#main .slideshow #slide5:checked ~ .controls label:nth-child(1) {
  float: right;
  display: block;
}
#main .slideshow #slide1:checked ~ .controls label:nth-child(2):after,
#main .slideshow #slide2:checked ~ .controls label:nth-child(3):after,
#main .slideshow #slide3:checked ~ .controls label:nth-child(4):after,
#main .slideshow #slide4:checked ~ .controls label:nth-child(5):after,
#main .slideshow #slide5:checked ~ .controls label:nth-child(1):after {
  content: ")";
  display: block;
}
#main .slideshow #slide1:checked ~ .controls label:nth-child(5),
#main .slideshow #slide2:checked ~ .controls label:nth-child(1),
#main .slideshow #slide3:checked ~ .controls label:nth-child(2),
#main .slideshow #slide4:checked ~ .controls label:nth-child(3),
#main .slideshow #slide5:checked ~ .controls label:nth-child(4) {
  float: left;
  display: block;
}
#main .slideshow #slide1:checked ~ .controls label:nth-child(5):before,
#main .slideshow #slide2:checked ~ .controls label:nth-child(1):before,
#main .slideshow #slide3:checked ~ .controls label:nth-child(2):before,
#main .slideshow #slide4:checked ~ .controls label:nth-child(3):before,
#main .slideshow #slide5:checked ~ .controls label:nth-child(4):before {
  content: "(";
  display: block;
}
#main .slideshow #slide1:checked ~ .active label:nth-child(1),
#main .slideshow #slide2:checked ~ .active label:nth-child(2),
#main .slideshow #slide3:checked ~ .active label:nth-child(3),
#main .slideshow #slide4:checked ~ .active label:nth-child(4),
#main .slideshow #slide5:checked ~ .active label:nth-child(5) {
  background: #f30;
  border-color: #f30 !important;
}
.ie #main .slideshow input {
  display: inline-block;
  position: absolute;
  left: -2000px;
}
#main .slideshow .controls label.next {
  float: right;
  display: block;
}
#main .slideshow .controls label.next:after {
  content: ")";
  display: block;
}
#main .slideshow .controls label.next .a {
  display: block;
}
#main .slideshow .controls label.next .b {
  display: none;
}
#main .slideshow .controls label.prev {
  float: left;
  display: block;
}
#main .slideshow .controls label.prev:before {
  content: "(";
  display: block;
}
#main .slideshow .controls label.prev .a {
  display: none;
}
#main .slideshow .controls label.prev .b {
  display: block;
}
#main .slideshow .active label.on {
  background: #fff;
  border-color: #fff !important;
}
#main .slideshow .slide1 .inner {
  margin-left: 0;
}
#main .slideshow .slide2 .inner {
  margin-left: -100%;
}
#main .slideshow .slide3 .inner {
  margin-left: -200%;
}
#main .slideshow .slide4 .inner {
  margin-left: -300%;
}
#main .slideshow .slide5 .inner {
  margin-left: -400%;
}
/* Animation */
.no-cssanimations #main .js-slideshow .slide1 .inner {
  margin-left: 0;
}
.no-cssanimations #main .js-slideshow .slide2 .inner {
  margin-left: 0;
}
.no-cssanimations #main .js-slideshow .slide3 .inner {
  margin-left: 0;
}
.no-cssanimations #main .js-slideshow .slide4 .inner {
  margin-left: 0;
}
.no-cssanimations #main .js-slideshow .slide5 .inner {
  margin-left: 0;
}
.cssanimations #main #slide1:checked ~ .overflow .inner {
  margin-left: 0;
}
.cssanimations #main #slide2:checked ~ .overflow .inner {
  margin-left: -100%;
}
.cssanimations #main #slide3:checked ~ .overflow .inner {
  margin-left: -200%;
}
.cssanimations #main #slide4:checked ~ .overflow .inner {
  margin-left: -300%;
}
.cssanimations #main #slide5:checked ~ .overflow .inner {
  margin-left: -400%;
}
.cssanimations #main .slideshow .inner {
  -webkit-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);
  -ms-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -o-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -webkit-transition-timing-function: c cubic-bezier(0.77, 0, 0.175, 1);
  -moz-transition-timing-function: c cubic-bezier(0.77, 0, 0.175, 1);
  -ms-transition-timing-function: c cubic-bezier(0.77, 0, 0.175, 1);
  -o-transition-timing-function: c cubic-bezier(0.77, 0, 0.175, 1);
  transition-timing-function: c cubic-bezier(0.77, 0, 0.175, 1);
  /* easeInOutQuart */

}
.cssanimations #main .slideshow .overflow {
  -webkit-transform: translateZ(0);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  /* easeInOutQuart */

}
.cssanimations #main .controls label {
  -webkit-transform: translateZ(0);
  -webkit-transition: opacity 0.2s ease-out;
  -moz-transition: opacity 0.2s ease-out;
  -ms-transition: opacity 0.2s ease-out;
  -o-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;
  /* easeInOutQuart */

}
.cssanimations #main #slide1:checked ~ .slideshow article:nth-child(1) .info,
.cssanimations #main #slide2:checked ~ .slideshow article:nth-child(2) .info,
.cssanimations #main #slide3:checked ~ .slideshow article:nth-child(3) .info,
.cssanimations #main #slide4:checked ~ .slideshow article:nth-child(4) .info,
.cssanimations #main #slide5:checked ~ .slideshow article:nth-child(5) .info {
  zoom: 1;
  filter: alpha(opacity= 100 );
  opacity: 1;
  -webkit-transition: all 1s ease-out 0.6s;
  -moz-transition: all 1s ease-out 0.6s;
  -ms-transition: all 1s ease-out 0.6s;
  -o-transition: all 1s ease-out 0.6s;
  transition: all 1s ease-out 0.6s;
  /* easeInOutQuart */

}
.cssanimations #main .info,
.cssanimations #main .controls,
.cssanimations #main .slideshow,
.cssanimations #main .active,
.cssanimations #main .active label,
.cssanimations #main .info h3,
.cssanimations #main .desktop,
.cssanimations #main .tablet,
.cssanimations #main .mobile {
  -webkit-transform: translateZ(0);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  /* easeInOutQuart */

}
/* webkit only scrollbar styles */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
