@font-face {
	font-family: 'oswald';
	src: url('9299.ttf');
}

body {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.flipdown.flipdown__theme-dark {
	/*font-family: sans-serif;*/
	font-weight: bold;
}
.text{
	text-align: center;
	font-size: 4vw;
	margin: 2vw 0;
}
a {
	text-decoration: none;
	color: inherit;
}


/* Rotor group headings */
.flipdown.flipdown__theme-dark .rotor-group-heading:before {
	color: #000000;
}
/* Delimeters */
.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before,
.flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after {
	background-color: #333;
}
/* Rotor tops */
.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front {
	color: #FFFFFF;
	background-color: #333;

}
/* Rotor bottoms */
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear {
	color: #EFEFEF;
	background-color: #333;
}
/* Hinge */
.flipdown.flipdown__theme-dark .rotor:after {
	border-top: solid 1px #151515;
}


/* END OF THEMES */
#card{
	text-align: center;
}
.flipdown {
	overflow: visible;
	display: inline-block;
	padding: 2vw;
}

.flipdown .rotor-group {
	position: relative;
	float: left;
	padding-right: 3vw;
}

.flipdown .rotor-group:last-child {
	padding-right: 0;
}

.flipdown .rotor-group-heading:before {
	display: block;
	height: 30px;
	line-height: 30px;
	text-align: center;
}

.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
	content: '';
	position: absolute;
	bottom: 3vw;
	left: 17.8vw;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
	content: '';
	position: absolute;
	bottom: 7vw;
	left: 17.8vw;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.flipdown .rotor {
	position: relative;
	float: left;
	width: .81em;
	height: 1.2em;
	margin: 0px 0.5vw 0px 0px;
	font-size: 10.2vw;
	font-family: 'oswald',sans-serif;
	text-align: center;
	text-shadow: 0 1px 2px #000;
	perspective: 20vw;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}
.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front,
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear{
	color: #ccc;
}

.flipdown .rotor:last-child {
	margin-right: 0;
}

.flipdown .rotor-top,
.flipdown .rotor-bottom {
	overflow: hidden;
	position: absolute;
	width: 8vw;
	height: 6vw;
	z-index: 1;
}

.flipdown .rotor-leaf {
	z-index: 1;
	position: absolute;
	width: .81em;
	height: 1.2em;
	transform-style: preserve-3d;
	transition: transform 0s;
	/*backface-visibility: hidden;*/
}

.flipdown .rotor-leaf.flipped {
	-webkit-animation: anim 1s linear infinite;
	-o-animation: anim 1s linear infinite;
	-moz-animation: anim 1s linear infinite;
	animation: anim 1s linear infinite;
}

.flipdown .rotor-bottom-shadow{
	background-image: linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0, 1));
	background-repeat: no-repeat;
	opacity: 1;
	background-position: top;
	width: 100%;
	height: 50%;
	visibility: hidden;
	position: absolute;
	bottom: 0;
	z-index: 1;
}

.flipdown .rotor-top-shadow {
	width: 98%;
	height: 50%;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0, 1));
	background-repeat: no-repeat;
	opacity: 0;
	background-position: bottom;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	position: absolute;
	visibility: hidden;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	z-index: 1;
}
.flipdown .active{
	visibility: visible;
	animation: shadows2 0.5s  linear infinite;
}

.flipdown .bottom-active{
	visibility: visible;
	animation: shadows 1s  linear infinite;
}

.flipdown .fadeout{
	animation: fadeout 1s linear infinite;
}

@keyframes fadeout {
	0%{
		opacity: 0.3;
	}
	100%{
		opacity: 1;
		transition: opacity 1s linear;
	}
}


@keyframes shadows {
	0%{
		opacity: 0;
	}
	40%{
		opacity: 0;
	}
	70%{
		opacity: 1;
		transition: opacity 1s ease-in-out;
	}
	100%{
		opacity: 1;
	}

}

@keyframes shadows2 {
	0%{
		opacity: 0;
	}
	70%{
		opacity: 1;
		transition: opacity 1s ease-in-out;
	}
	100%{
		opacity: 1;
	}
}



@keyframes anim {
	0% {
		z-index: 2;
		transform: rotateX(0deg);
	}
	50%{
		z-index: 4;
		transform: rotateX(-90deg);
	}

	100% {
		z-index: 4;
		transform: rotateX(-180deg);
	}
}



.flipdown .rotor-leaf-front,
.flipdown .rotor-leaf-rear {
	overflow: hidden;
	position: absolute;
	width: 8vw;
	height: 6vw;
	margin: 0;
	transform: rotateX(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.flipdown .rotor-leaf-front {
	line-height: 1.2em;
}

.flipdown .rotor-leaf-rear {
	line-height: 0px;
	transform: rotateX(-180deg);
}

.flipdown .rotor-top {
	line-height: 1.2em;
}

.flipdown .rotor-bottom {
	bottom: 0;
	line-height: 0px;
}

.flipdown .rotor:after {
	content: '';
	z-index: 2;
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 8vw;
	height: 6vw;
}

@media (max-width: 590px) {
	.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before,
	.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after{
		width: 8px;
		height: 8px;
	}
}
@media (max-width: 500px) {
	.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before,
	.flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after{
		width: 5px;
		height: 5px;
	}
}

@media (max-width: 300px) {
	.flipdown .rotor-top,
	.flipdown .rotor-leaf-front{
		line-height: 30px;
	}
	/*.flipdown .rotor-leaf-front, .flipdown .rotor-leaf-rear {*/
		/*width: 8vw;*/
	/*}*/
}