section.quiz {
	display: none;
}

.poehali {
	display: block;
	margin: 0 auto;
	width: 260px;
	position: absolute;
	left: 0;
	right: 0;
	top: 100px;
	z-index: 100;
	background: rgba(255,255,255,.6);
	border-radius: 15px;
	padding: 10px;
	border: 3px solid #295ffd;
}

.poehali:hover{
	background: rgba(255,255,255,1);
}

.poehali a {
	background: blue;
	color: white;
	padding: 5px 20px;
	border-radius: 25px;
}

.slidertitle {
	font-size: 21px;
}

.poehali a:hover, .poehali a:focus {
	cursor: pointer;
	background: darkblue;
	text-decoration: none;
}

.quizBackgr {
	background: url('/images/quiz/quiz-backgr-opacity-step1.jpg') no-repeat center center;
	background-size: cover;
	width: 100%;
	max-width: 1000px;
	height: 100%;
	max-height: 679px;
}

.quizBottom {
	position: absolute;
	bottom: 20px;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	left: 0;
	right: 0;
}

.quizFirstStep .quizBlock input {
	display: none;
}

.quizThirdStep .quizBlock input {
	display: none;
}

.quizFourthStep .quizBlock input {
	display: none;
}

.quizBlock {
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 5px 10px 10px 10px;
}

.quizFirstStep .quizBlock:last-child {
	margin-right: auto;
}

.quizFirstStep .quizBlock:last-child {
	margin-right: 41.2%;
}

#quizFirstAnswer8 {
	max-width: 146px;
	height: 104px;
	font-size: 14px;
	line-height: 16px;
}

.quizBlock img {
	height: 100px;
	width: auto;
	-webkit-filter: brightness(80%);
	filter: brightness(80%);
	margin: 0 auto;
	display: block;
}

.quizBlock label:hover {
	cursor: pointer;
}

.quizBlock:hover img {
	-webkit-filter: brightness(100%);
	filter: brightness(100%);
}

.quizBlock:hover .quizAnswerTitle {
	color: black;
	text-decoration: none;
}

.quizFifthStep .quizBlock img {
	width: 200px;
	height: auto !important;
}

.quizFifthStep .quizBlock .naselennyi {
	width: 200px;
	margin-top: 15px;
}

#quizSeventhAnswer1 {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'), linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    background-repeat: no-repeat, repeat;
    background-position: right 1em top 50%, 0 0;
    background-size: .65em auto, 100%;
    appearance: none;
	border-radius: 30px;    
    outline: 0;
    border: 0;
	width: 200px;
}

#formaQuiz input[type="text"], #formaQuiz input[type="number"] {
	border-radius: 30px;    
    outline: 0;
	border: 1px solid gray;
}

.quizAnswersWithImages {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 50px;
}

.activeChoise img {
	-webkit-filter: brightness(100%);
	filter: brightness(100%);
}

.activeChoise {
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.quizAnswerTitle {
	text-align: center;
	font-size: 12px;
	width: 133px;
	margin: 0 auto;
}

.activeChoise .quizAnswerTitle {
	color: black;
}

.quizDalee a, .quizNazad a {
	background: lightgray;
	color: #7f7f7f;
	border-radius: 15px;
	padding: 5px 20px;
	text-decoration: none !important;
}

#btncontcallQuiz {
	background: blue;
	color: white !important;
}

#btncontcallQuiz:hover {
	background: darkblue;
}

#agreeQuiz {
	width: 17px;
	height: 17px;
}

.quizNazad a:hover {
	color: white;
	background: red;
}

.quizDalee a.activeDalee {
	background: blue;
	color: white !important;
}

.quizDalee a.activeDalee:hover {
	text-decoration: none !important;
	background: darkblue;
}

.quizSecondStep {
	display: none;
}
.quizThirdStep {
	display: none;
}

.quizFourthStep {
	display: none;
}

.quizFifthStep {
	display: none;
}

.quizSixthStep {
	display: none;
}

.quizSeventhStep {
	display: none;
}

.quizSeventhStep .quizAnswerTitle {
	width: auto;
}

@media (max-width: 400px) {
	.quizBlock img {		
		height: auto;
	}
	.quizBlock {
		margin-right: 0px;
		margin-bottom: 30px;
	}
}