/** page structure **/
#w {
  display: block;
  max-width: 480px;
  min-width: 280px;
  margin: 0 ;
  padding: 0px;
  border-radius: 1em; 
}


#w header {
  display: block;
  padding-top: 0px;
}



/** Glidejs styles **/
.slider {
	position: relative;
	width: 100%;
	height: 100%;/*638px;*/
	overflow: hidden;
	border-radius: 1em;
}
	
.slides {
  height: auto;
  overflow: hidden;
   -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
   -webkit-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000); 
   -moz-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000); 
   -ms-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000); 
   -o-transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000); 
   transition: all 500ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
   list-style-type: none;
   margin:0px;
   padding:0px;

}
	
.slide {
  height: 100%;
  float: left;
  clear: none;
  border-radius: 1em;
}
.slide figure {
  display: block;
  position: relative;
  text-align: center;
}
.slide figure figcaption {
	position: absolute;
	right: 5%;
	font-size: 0.8em;
	font-weight: bold;
	padding: 2px 4px;
	color: #464646;
	background: rgba(255,255,255,0.8);
	list-style-type: none;
	z-index: 2;
	top: 10px;
}
.slide figure figcaption a {
  color: #5a7fbc;
  text-decoration: none;
}
.slide figure figcaption a:hover { text-decoration: underline; }

.slide figure img {
  max-height: auto;/*638px;*/
}



.slider-arrows {}

.slider-arrow {
  position: absolute;
  display: block;
  margin-bottom: 1px;
  padding: 5px;
  /*background: url(../_images/control_left.jpg);*/
  font-family: 'Alegreya Sans', 'Trebuchet MS', sans-serif;
  text-decoration: none;
  font-weight: 1em;
  font-size: 0.8em;
  color: red;/* #fff;*/
  border: 1px solid red;/*#fff*/;
  border-radius: 3px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.slider-arrow:hover {
  background: #ddd;
  color: #aaa;
}
.slider-arrow--right { bottom: 50%; right: 30px; }
.slider-arrow--left { bottom: 50%; left: 30px; }


.slider-nav {
  position: absolute;
  bottom: 0px;
}

.slider-nav__item {
	width: 8px;
	height: 8px;
	float: left;
	clear: none;
	display: block;
	margin: 20px 5px;
	background: #fff;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
}
.slider-nav__item:hover { background: #bababa; }
.slider-nav__item--current, .slider-nav__item--current:hover { background: #999; }

/** responsive styles **/

@media screen and (min-width: 481px) {
 /* h1 { font-size: 2.9em; }*/
	.slider-arrow { font-size: 1em; margin-bottom: 10px; border-radius: 4px; }
	#w {max-width: 768px;min-width: 280px;}
	.slide figure figcaption {font-size: 1em;	padding: 6px 7px; }
	.slider-nav__item {width: 10px; height: 10px;}
}

@media screen and (min-width: 769px) {
/* #w { padding: 0 15px; }*/
	.slider-arrow { font-size: 2em; margin-bottom: 15px; border-radius: 8px;}
	#w {max-width: 960px;min-width: 280px;}
	.slide figure figcaption {font-size: 1.1em;	padding: 8px 14px; }
	.slider-nav__item {width: 12px; height: 12px;}
} 