.quiz {
    position: relative;
    padding-bottom: 50px;
}
.quiz .head__content
{
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 31px;
	margin-bottom: 74px;
}

.quiz .buttons__content {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
}

.quiz .button
{
	background: #FFFFFF;
	border: 4px solid #D8D8D8;
	
	width: calc((100% - 60px) / 3);
	
	margin: 0 10px;
	margin-bottom: 20px;
	
	display: flex;
    align-items: center;
	cursor: pointer;
	
	position: relative;
	min-height: 173px;
	
	font-family: 'Arial';
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 18px;
	text-align: center;
}
.quiz .button:hover,
.quiz .button.button_correct{
	border: 4px solid #ce2a31;
	background-color: #ce2a31;
	color: #FFFFFF;
}

.quiz .button span{
	display: inline-block;
	width: 100%;
	text-align: center;
	padding: 0 48px;
}
.quiz .button .test_desc{
	display: none;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    list-style: none;
    transition: all .3s;
    z-index: 9;
    background-color: #ce2a31;
    top: 0;
	padding: 0px 25px;
	font-weight: 400;
	color: #FFFFFF;
}
.quiz .button:hover .test_desc,
.quiz .button.button_correct .test_desc{
	display: flex;
    align-items: center;
    opacity: 1;
}

.button_correct
{
	background: #5EB97D;
}

.quiz__footer {
    position: absolute;
    bottom: 20px;
}
.quiz__footer div{
	font-weight: 600;
    text-decoration: underline;
	cursor: pointer;
}


.quiz .test_results{
	clear: both;
	width: 100%;
}
.test_results .g-title--with-arrows{
	height: 22px;
    margin-bottom: 10px;
    margin-top: -22px;
}


.content-container .show_test{
	float: right;
    height: 37px;
    line-height: 37px;
    background: #CE2A31;
    padding: 0 20px;
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 800;
    font-size: 12px;
    color: #FFFFFF;

	clear: both;
    display: block;
    float: left;
    margin-right: calc(100% - 220px);
    margin-top: 20px;
}
.content-container .show_test:hover{
	color: #FFFFFF;
}
.modal-dialog--big{
	max-width: 90%;
}
.modal-dialog--big .modal-content{
	padding: 20px;
	padding-top: 30px;
	height: 773px;
	position: relative;
}
.content-container h1{
	overflow: hidden;
}


@media (max-width: 1200px) { 
	.quiz .button .test_desc{
		padding: 0 20px;
		font-size: 14px;
		line-height: 17px;
	}
}
@media (min-width: 1024px) { 
.content-container .show_test{
	float: right;

	clear: both;
    display: inline-block;
    margin-right: 0;
    margin-top: 0px;
}
}
@media (max-width: 1024px) { 
	.modal-dialog--big {
		max-width: 94%;
	}
	.quiz .button{
		width: calc((100% - 42px) / 3);
		margin: 0 7px;
		margin-bottom: 14px;
	}
	.quiz .button .test_desc{
		padding: 0 15px;
		font-size: 13px;
		line-height: 16px;
	}
	.quiz .head__content {
		padding-bottom: 21px;
		margin-bottom: 54px;
		font-size: 26px;
		line-height: 34px;
	}
}

@media (max-width: 840px) { 
	.quiz .button{
		width: calc((100% - 40px) / 2);
		margin: 0 10px;
		margin-bottom: 20px;
	}
	.modal-dialog--big .modal-content{
		padding-top: 20px;
		height: 900px;
	}
	.quiz .head__content {
		padding-bottom: 15px;
		margin-bottom: 34px;
		font-size: 22px;
		line-height: 30px;
	}
}

@media (max-width: 600px) { 
	.quiz .button{
		width: 100%;
		margin: 0 auto;
		margin-bottom: 15px;
	}
	.quiz .button{
		min-height: 133px;
	}
	.modal-dialog--big .modal-content{
		height: auto;
	}
}