body, html
{
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 0;
	font-size: 16px;
	font-family: helvetica, arial;
	background: #648798;
	color: #111;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
body{
	background: #1775b1;
	display: table;
	width: 1000px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;

}
.wrapper
{

	margin-right: auto;
	margin-left: auto;
}
.wrapper-1
{
	display: table;
	width: 1100px;
	height: auto;
	margin-top: 100px;
}
.main-1
{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 1000px;
	margin-right: auto;
	margin-left: auto;

}
.quiz__head-1
{
	font-size: 20pt;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 50px;
}
.head__content-1
{
	margin-top: 60px;
	padding-left: 30px;
	padding-right: 30px;
}
.quiz__footer-1
{
	position: absolute;
	/* bottom: 0; */
	top: 12px;
	display: block;
	margin-top: 30px;

}
.footer__content-1
{
	padding: 5px;
	width: 1000px;
	color: white;

}



.quiz-frame
{
	border: 0;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	margin-top: 10px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;

}

/* ______ Кнопка назад ____ */
.button-back{
	width: 130px;
	height: 40px;
	z-index: 99;
	top: 5px;
	
	font-size: 14px;
	
	position: relative;
	text-decoration: none;
	
	display: block;
	color: white;
	padding: 10px 20px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 2%;
	margin-right: 10px;
	border-radius: 10px;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	background-image: linear-gradient(to right, #ffd600 0%, #e70f0f 51%, #ffd600 100%);
	background-size: 200% auto;
	box-shadow: 0 0 20px rgba(0, 0, 0, .1);
	transition: .5s;
}
.button-back:hover {
	background-position: right center;
}

a{
	text-decoration: none;
}

.wrapper
{
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.main
{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.quiz-frame
{
	border: 0;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	width: 1000px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.quiz__head
{
	font-size: 20pt;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 5px;
}

.head__content
{
	margin-top: 15px;
	padding-left: 30px;
	padding-right: 30px;
	width: 940px;
	color: white;
}

.quiz__body
{
	margin: 5px;
}

.quiz__footer
{
	position: absolute;
	bottom: 0;
	display: block;
	width: 100%;
}

.footer__content
{
	padding: 5px;
}
.buttons__content{
	margin-bottom: 50px;
	width: 1000px;
}
.button
{
	width: 780px;
	text-decoration: none;
	background-color: #0d7aad;
	display: inline-block;
	padding: 12px 30px;
	margin: 5px 20px;
	border-radius: 30px;
	background-position: 100% 0;
	background-size: 200% 200%;
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 300;
	color: #ffffff;
	box-shadow: 0 16px 32px 0 rgba(0, 40, 120, .35);
}
.button:hover{
	background-color: #006290;
}
.button_wrong
{
	background: #EB6465;
}
.button_wrong:hover{
	background: #EB6465;
}

.button_correct
{
	background: #5EB97D;
}
.button_correct:hover{
	background: #5EB97D;
}

.button_passive
{
	background: #B3B3B3;
}
.button_passive:hover{
	background: #B3B3B3;
}

/* _______________  Подсказка _______________________________ */
.helptip {
	z-index: 9;

	float: right;
	transform: translateY(-50px);

	font-size: 16px;
	padding: 8px 7px;
	margin: 5px;
	margin-right: 10px;
	border: 1px solid #000000;
	cursor: pointer;
	border-radius: 10px;
	
	position: relative;
	width: auto;	
	
	text-decoration: none;
	
	display: block;
	color: #ffffff;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 2px;
	background-image: linear-gradient(to right, #00ff1c 0%, #6bc614 51%, #27c737 100%);
	background-size: 200% auto;
	box-shadow: 0 0 20px rgba(0, 0, 0, .1);
	transition: .5s;
}
.helptip:hover {
	background-position: right center;
}
.helptip div,
.helptip span {
	padding: 8px;
	margin: 5px;
	color: #000000;
	border-radius: 5px;
	border: 1px solid #ffffff;
	position: absolute; /* Важно!
    Абсолютное позиционирование */
	display: none; /* Важно! Скрыть */

	/* Новое окно от правой границы кнопки */
	right: 5px;
	/* Новое окно от верхней границы кнопки*/
	top: 30px;
	/* Новое окно раскрывается вниз*/
	bottom: auto;
	z-index: 99; /* Важно!
    Всплывающие подсказки всегда выше
    нижеследующих элементов */

	/* Ширина подсказки */
	min-width: 930px;

	box-shadow: 0 0 5px rgba(0,0,0,0.3);
	cursor: default;
	background: #eae6e6;
	font-size: 15px;
}
.helptip div,
.helptip span {
	background: #fff;
}
/* Media
=========================================
 */
@media (max-width: 900px) {
	body,html{
		width: 500px;
	}
	body{
		width: 500px;
	}
	.wrapper-1
	{
		display: table;
		width: 500px;
		height: auto;
		margin-top: 100px;
	}
	.main-1
	{
		display: table-cell;
		vertical-align: middle;
		text-align: center;
		width: 500px;
		margin-right: auto;
		margin-left: auto;

	}
	.quiz-frame{
		width: 500px;
	}
	.wrapper{
		width: 500px;
	}
	.main{
		width: 500px;
	}

	.head__content{
		width: 440px;
	}
	.buttons__content{
		width: 500px;
		margin-bottom: 15px;
	}
	.button{
		width: 450px;
	}
	.footer__content-1{
		width: 490px;
	}
	/* Ширина подсказки */
	.helptip span{
		min-width: 430px;
	}

}
@media (max-width: 480px) {
	body,html{
		width: 350px;
	}
	body{
		width: 350px;
	}
	.wrapper-1
	{
		display: table;
		width: 350px;
		height: auto;
		margin-top: 100px;
	}
	.main-1
	{
		display: table-cell;
		vertical-align: middle;
		text-align: center;
		width: 350px;
		margin-right: auto;
		margin-left: auto;

	}
	.quiz-frame{
		width: 350px;
	}
	.wrapper{
		width: 350px;
	}
	.main{
		width: 350px;
	}

	/* .button-back{
		margin: 5px 10px;
		left: 10%;
		top: 30px;
		width: 95px;
		height: 38px;
	} */

	.head__content{
		width: 290px;
	}
	.buttons__content{
		width: 350px;
		margin-bottom: 15px;
	}
	.button{
		width: 300px;
	}
	.footer__content-1{
		width: 340px;
	}
	/* .helptip{
		right: 10%;
		top: 32px;
		width: 80px;
		height: 17px;
		font-size: 13px;
		padding: 9px 9px;
	} */
	.helptip span{
		min-width: 270px;
		font-size: 14px;
	}
}


