

button:focus {
	outline: none;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

.note {
	padding: 1.5em 1.5em 2.5em;
	font-size: 1.75em;
}

/* Header */
.codrops-header {
	padding: 3em 1em 4em;
	text-align: center;
}

.codrops-header h1 {
	margin: 0.5em 0 0 0;
	font-weight: 400;
	font-size: 3em;
	line-height: 1;
	font-family: 'Lustria', 'Goudy Old Style', Garamond, 'Big Caslon', 'Times New Roman', serif;
}

.codrops-header h1 span {
	display: block;
	padding: 1em;
	color: #999;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.275em;
	font-family: 'Quattrocento Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Top Navigation Style */
.codrops-links {
	position: relative;
	display: inline-block;
	text-align: center;
	white-space: nowrap;
}

.codrops-links::after {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1px;
	height: 100%;
	background: #ddd;
	content: '';
	-webkit-transform: rotate3d(0,0,1,22.5deg);
	transform: rotate3d(0,0,1,22.5deg);
}

.codrops-icon {
	display: inline-block;
	margin: 0.5em;
	padding: 0em 0;
	width: 1.5em;
	text-decoration: none;
}

.codrops-icon span {
	display: none;
}

.codrops-icon:before {
	margin: 0 5px;
	text-transform: none;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	font-family: 'codropsicons';
	line-height: 1;

	speak: none;
	-webkit-font-smoothing: antialiased;
}

.codrops-icon--drop:before {
	content: "\e001";
}

.codrops-icon--prev:before {
	content: "\e004";
}

/* Demo links */
.codrops-demos {
	margin: 2em 0 0;
	font-size: 1.35em;
}

.codrops-demos a {
	display: inline-block;
	margin: 0.5em;
	border-width: 1px 0;
	border-style: solid;
	padding: 0.35em;
	min-width: 120px;
	font-family: 'Lustria', 'Goudy Old Style', Garamond, 'Big Caslon', 'Times New Roman', serif;
}

.codrops-demos a.current-demo {
	color: #7D87AE;
}

/* Related demos */
.content {
	
}

.content--related {
	padding: 5em 0;
}

.media-item {
	display: inline-block;
	padding: 1em;
	vertical-align: top;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}

.media-item__img {
	max-width: 100%;
	opacity: 0.3;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.media-item:hover .media-item__img,
.media-item:focus .media-item__img {
	opacity: 1;
}

.media-item__title {
	margin: 0;
	padding: 0.5em;
	font-size: 1em;
}

@media screen and (max-width: 50em) {
	.codrops-header {
		padding: 3em 10% 4em;
	}
}

@media screen and (max-width: 40em) {
	.codrops-header h1 {
		font-size: 2.8em;
	}
}

.gallery {
    width: 100%;

    position: relative;

}

.gallery-pictures {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: -webkit-grab;
    -webkit-transform: rotateY(0);
    white-space: nowrap;
    font-size: 0;
	width:9880px;
}

.gallery-picture {
    width: 700px;
    margin-right: 60px;
	/*height:394px;*/
	height:428px;
    display: inline-block;
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
}

.gallery-pagination {
   display:block; width:1140px; background:#dde1e8; padding-left:60px; margin:44px auto 0 ; height:12px; border-radius:50px 50px;
}

.gallery-pagination-dot {
    float:left; display:inline; border:none; outline:none; width:8px; height:8px; background:#fff; border-radius:50% 50%; margin-right:80px; margin-top:2px; cursor:pointer;
}
.dtv-dot li{ float:left; display:inline; width:8px; height:8px; background:#fff; border-radius:50% 50%; margin-right:80px; margin-top:2px; cursor:pointer;
}
.gallery-pagination-dot:hover{ background:#df463b;}
.gallery-pagination-dot:nth-last-child(1){ margin-right:0px;}
.dtv-dot li.current{background:#df463b;
		opacity:1;-webkit-transition: all 1s ease .3s;
		-moz-transition: all 1s ease .3s;
		-o-transition: all 1s ease .3s;
		transition: all 1s ease .3s; }
.dtv-dot li.current span{ float:left; display:inline; width:16px; height:16px; background:#e93c2a; opacity:.3; border-radius:50% 50%; left:50%; top:50%; margin-left:-4px; margin-top:-4px;
	webkit-animation: revolving 2s 0s infinite;
  animation: revolving 2s 0s infinite;}

.gallery-pagination-dot-selected {
   background:#df463b;
		opacity:1;-webkit-transition: all 1s ease .3s;
		-moz-transition: all 1s ease .3s;
		-o-transition: all 1s ease .3s;
		transition: all 1s ease .3s;
}
.gallery-pagination-dot-selected span{ float:left; display:inline; width:16px; height:16px; background:#e93c2a; opacity:.3; border-radius:50% 50%; left:50%; top:50%; margin-left:-4px; margin-top:-4px;
	webkit-animation: revolving 2s 0s infinite;
  animation: revolving 2s 0s infinite;}
  
  @-webkit-keyframes revolving{
  0%{
   -moz-transform: scale(1,1);
   -webkit-transform: scale(1,1);
   -o-transform: scale(1,1);
   -ms-transform: scale(1,1);
   transform: scale(1,1);
  }
  50%{
   -moz-transform: scale(0.6,0.6);
   -webkit-transform: scale(0.6,0.6);
   -o-transform: scale(0.6,0.6);
   -ms-transform: scale(0.6,0.6);
   transform: scale(0.6,0.6);
  }
  100%{
     -moz-transform: scale(1,1);
   -webkit-transform: scale(1,1);
   -o-transform: scale(1,1);
   -ms-transform: scale(1,1);
   transform: scale(1,1);
  }
}