.container{
	overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #fff59d;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    overflow: hidden;
    padding: 60px 20px 20px;
    position: relative !important;
}
#poll-item, #poll-item h1{
	text-align: center;
}
#poll-item .counttests{
	margin-bottom: 5px;
}
.content {
	-webkit-align-self: stretch;
	align-self: stretch;
	overflow: hidden;
	/*padding: 2em 2em 6em;
	width: 50%;*/
	position: relative;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-flex-direction: column;
	flex-direction: column;
}

.stack {
	margin: 0 auto;
	position: relative;
	z-index: 1000;
	width: 320px;
	height: 400px;
	padding: 0;
	list-style: none;
    pointer-events: none;
}

.stack__item {
	background: transparent;
	height: 100%;
	width: 100%;
	
	text-align: center;
	overflow: hidden;
	position: absolute;
	opacity: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: auto;
	padding: 0px !important;
}

.stack__item img {
	width: 100%;
	display: block;
	pointer-events: none;
}

.controls {
    position: relative;
    width: 320px;
    margin: 5px 3px 10px 3px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-around;
    -webkit-flex-wrap: nowrap;
}
.button--reject{
	background: #246AB2 url('../images/poll.prev.png') center center no-repeat;
	width: 75px;
	height: 55px;
	padding: 15px;
	outline: none;
    border: none;
}
.button--accept{
	background: #246AB2 url('../images/poll.next.png') center center no-repeat;
	width: 75px;
	height: 55px;
	padding: 15px;
	outline: none;
    border: none;
}
.button--help{
	background: #246AB2 url('../images/poll.answer.png') center center no-repeat;
	width: 55px;
	height: 55px;
	padding: 15px;
	outline: none;
    border: none;
}
.button--help.reverse{
	background: #246AB2 url('../images/poll.question.png') center center no-repeat;
}
.button--back{
	background:  url('../images/poll.back.png') center center no-repeat;
	width: 72px;
	height: 52px;
	padding: 15px;
	display: inline-block;	
}

/*.button {
	border: none;
	background: none;
	position: relative;
	display: inline-block;
	padding: 0.25em;
	margin: 0 0.5em;
	cursor: pointer;
	font-size: 1.5em;
	width: 50px;
	height: 50px;
	z-index: 100;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

.button .fa {
	pointer-events: none;
}

.button--default {
	background: #333;
	border-radius: 3px;
	color: #fff;
	font-size: 0.95em;
	font-weight: bold;
	padding: 0.65em 2em;
	width: auto;
	height: auto;
}

.button--sonar {
	border-radius: 50%;
	background: #fff;
}

.button--sonar::before {
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 50%;
	content: '';
	opacity: 0;
	pointer-events: none;
	border: 4px solid rgba(255,255,255,0.5);
	margin: -35px 0 0 -35px;
	width: 70px;
	height: 70px;
}
//эффект нажатия на кнопку
.button--sonar.button--active::before {
	-webkit-animation: anim-effect-sonar 0.3s ease-out forwards;
	animation: anim-effect-sonar 0.3s ease-out forwards;
}

@-webkit-keyframes anim-effect-sonar {
	0% {
		opacity: 1;
		-webkit-transform: scale3d(0.9, 0.9, 1);
		transform: scale3d(0.9, 0.9, 1);
	}
	to {
		opacity: 0;
		-webkit-transform: scale3d(1.4, 1.4, 1);
		transform: scale3d(1.4, 1.4, 1);
	}
}

@keyframes anim-effect-sonar {
	0% {
		opacity: 1;
		-webkit-transform: scale3d(0.9, 0.9, 1);
		transform: scale3d(0.9, 0.9, 1);
	}
	to {
		opacity: 0;
		-webkit-transform: scale3d(1.4, 1.4, 1);
		transform: scale3d(1.4, 1.4, 1);
	}
}

.button--accept {
	color: #81d47d;
}

.button--reject {
	color: #e66868;
}
*/
.button:focus {
	outline: none;
}
.button--reject.disabled{
	opacity: .5;
	cursor: default;
}


.text-hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	color: transparent;
	display: block;
}

/* Animations */
.stack__item--reject,
.stack__item--accept {
	pointer-events: none;
}



/***********************************************/
/******************** krisna *******************/
/***********************************************/


.stack--krisna .stack__item--reject {
	-webkit-animation: krisnaReject 0.5s forwards;
	animation: krisnaReject 0.5s forwards;
}

@-webkit-keyframes krisnaReject {
	from  {
		-webkit-transform: translate3d(-25vw,0,0) translate3d(-60%,0,0) rotate3d(0,0,1,-5deg);
		transform: translate3d(-25vw,0,0) translate3d(-60%,0,0) rotate3d(0,0,1,-5deg);
	}
	to {
		-webkit-transform: translate3d(0,0,0) translate3d(0,0,0) rotate3d(0,0,1,0deg);
		transform: translate3d(0,0,0) translate3d(0,0,0) rotate3d(0,0,1,0deg);
	}
}

@keyframes krisnaReject {
	from {
		-webkit-transform: translate3d(-25vw,0,0) translate3d(-60%,0,0) rotate3d(0,0,1,-5deg);
		transform: translate3d(-25vw,0,0) translate3d(-60%,0,0) rotate3d(0,0,1,-5deg);
	}
	to {
		-webkit-transform: translate3d(0,0,0) translate3d(0,0,0) rotate3d(0,0,1,0deg);
		transform: translate3d(0,0,0) translate3d(0,0,0) rotate3d(0,0,1,0deg);
	}	
}

.stack--krisna .stack__item--accept {
	-webkit-animation: krisnaAccept 0.5s forwards;
	animation: krisnaAccept 0.5s forwards;
}

@-webkit-keyframes krisnaAccept {
	to {
		-webkit-transform: translate3d(25vw,0,0) translate3d(60%,0,0) rotate3d(0,0,1,5deg);
		transform: translate3d(25vw,0,0) translate3d(60%,0,0) rotate3d(0,0,1,5deg);
	}
}

@keyframes krisnaAccept {
	to {
		-webkit-transform: translate3d(25vw,0,0) translate3d(60%,0,0) rotate3d(0,0,1,5deg);
		transform: translate3d(25vw,0,0) translate3d(60%,0,0) rotate3d(0,0,1,5deg);
	}
}

/* ...when content has 100% viewport width */
@media screen and (max-width: 60em) {
	@-webkit-keyframes krisnaReject {
		to {
			-webkit-transform: translate3d(-50vw,0,0) translate3d(-60%,0,0) rotate3d(0,0,1,-5deg);
			transform: translate3d(-50vw,0,0) translate3d(-60%,0,0) rotate3d(0,0,1,-5deg);
		}
	}

	@keyframes krisnaReject {
		to {
			-webkit-transform: translate3d(-50vw,0,0) translate3d(-60%,0,0) rotate3d(0,0,1,-5deg);
			transform: translate3d(-50vw,0,0) translate3d(-60%,0,0) rotate3d(0,0,1,-5deg);
		}
	}

	@-webkit-keyframes krisnaAccept {
		to {
			-webkit-transform: translate3d(50vw,0,0) translate3d(60%,0,0) rotate3d(0,0,1,5deg);
			transform: translate3d(50vw,0,0) translate3d(60%,0,0) rotate3d(0,0,1,5deg);
		}
	}

	@keyframes krisnaAccept {
		to {
			-webkit-transform: translate3d(50vw,0,0) translate3d(60%,0,0) rotate3d(0,0,1,5deg);
			transform: translate3d(50vw,0,0) translate3d(60%,0,0) rotate3d(0,0,1,5deg);
		}
	}
}

.question
{
		background-color: #9FEC00;
	border:1px solid #9ce800;
}
.answer
{
	background-color: #D2FF77;
	border:1px solid #acff00;
}

.question .question-wrapper, .answer .answer-wrapper{
	padding: 20px;
	    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
    box-sizing: border-box;
}
.question .question-image, .answer .answer-image{
	max-height: 80px;
	margin: 0 auto;
}
.question-image img, .answer-image img
{
	width: auto;
margin: 0 !important;
	}

.question .question-image img, .answer .answer-image img{
	max-height: inherit;
}
.question-wrapper fieldset, .answer-wrapper fieldset{
	text-align: left;
}
.question-wrapper fieldset div, .answer-wrapper fieldset div{
	display: flex;
	align-items: baseline;
}
.stack-flip-container.stack-click .stack-flipper/*, .stack-flip-container:hover .zafront */{
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
}
.stack-flipper {
	transition: 0.6s;
	transform-style: preserve-3d;
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	position: relative;
}
.question, .answer {
	width: 	318px;
	height:398px;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	background-size: contain !important;
	cursor: pointer;
	    line-height: 1.5;
}
.question {
	z-index: 2;
	transform: rotateY(0deg);
	-webkit-transform: rotateY(0deg);
}
.answer {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
}
.stack-flip-container.stack-click .answer {
	-ms-transform: rotateY(0deg);
}

.stack-flip-container.stack-click .zafront {
	-ms-transform: rotateY(180deg);
}
.comment{
	text-align: right;
    font-size: 8px;
    color: green;
}
.comment-text{
	text-align: left;
}
.text-answer{
	color:#0d62c0;
	text-align: left;
}
@media (min-width: 300px) and (max-width: 460px)
{
.stack{
	width: 320px !important;
	height: 400px !important;
}
	.button--help{
		background: #246AB2 url('../images/poll.answer.png') center center no-repeat !important;
		border:none !important;
	}
}
