

/** Glidejs styles **/
#slider .slider {
	position: relative;
	width: 100%;
	height:400px;
	overflow: hidden;
}
	
#slider .slides {
  height: 100%;
  overflow: hidden;
  /**	
   * Prevent blinking issue3
   * Not tested. Experimental.
   */
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;

   -webkit-transition: all 3000ms cubic-bezier(0.165, 0.840, 0.440, 1.000); 
   -moz-transition: all 3000ms cubic-bezier(0.165, 0.840, 0.440, 1.000); 
   -ms-transition: all 3000ms cubic-bezier(0.165, 0.840, 0.440, 1.000); 
   -o-transition: all 3000ms cubic-bezier(0.165, 0.840, 0.440, 1.000); 
   transition: all 3000ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
}
	
#slider .slide {
  height: 100%;
  float: left;
  clear: none;
}
#slider .slide figure {
  display: block;
  position: relative;
  text-align: center;
}
#slider .slide figure figcaption {
  position: absolute;
  right: 20%;
  font-size: 1.1em;
  font-weight: bold;
  padding: 8px 14px;
  color: #464646;
  background: rgba(255,255,255,0.8); 
}
#slider .slide figure figcaption a {
  color: #5a7fbc;
  text-decoration: none;
}
#slider .slide figure figcaption a:hover { text-decoration: underline; }

#slider .slide figure img {max-height: 400px; 1height: 400px;}



#slider .slider-arrows {}

#slider .slider-arrow {
  position: absolute;
  text-align:center;
  display: block;
  margin-bottom: -20px;
  width:46px;
  height:46px;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-size:40px;
  line-height:1;
  color: #fff;
  background-color:#09f;
  border-radius:23px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
#slider .slider-arrow:hover {
  background: #FFF;
  color: #000;
}
#slider .slider-arrow--right { bottom: 50%; right: 30px; }
#slider .slider-arrow--left { bottom: 50%; left: 30px; }


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

#slider .slider-nav__item {
  width: 16px;
  height: 16px;
  float: left;
  clear: none;
  display: block;
  margin: 0 5px;
  background: #fff;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
#slider .slider-nav__item:hover { background: #09f; }
#slider .slider-nav__item--current, #slider .slider-nav__item--current:hover { background:#09f; }



/** responsive styles **/
@media screen and (max-width: 1050px) {
  #w { padding: 0 15px; }
  #slider .slider-arrow { 1font-size: 1.8em; 1padding: 15px; }
  #slider .slide figure img {max-height: 300px;}
  #slider .slider li img {   height: 300px;}
	#slider .slider {
		position: relative;
		width: 100%;
		height:300px;
		overflow: hidden;
	}  
} 

@media screen and (max-width: 650px) {
  h1 { font-size: 2.9em; }
}

@media screen and (max-width: 450px) {
  h1 { font-size: 2.1em; }
}