/* --------------- reset.css --------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i,  dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;                               /* обнуляем отступы и убираем бордюры */
	vertical-align: baseline;          /* приводим все к одной базовой линии */
	background: transparent;      /* чтобы не проскакивали левые фоны, установленные по умолчанию */
	font-size: 100%;                     /* размер шрифта всем одинаковый */
}
a {                                      	     /* ссылка не в общем списке чтобы не сбрасывать outline по умолчанию */
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	outline:none;
}
table {						/* устраняем отступы между ячейками таблицы */
	border-collapse: collapse; 
	border-spacing: 0;
}
td, td img {
	vertical-align: top;			/* возвращаем привычное вертикальное выравнивание */
} 
input, select, button, textarea {
	margin: 0; 				/* убираем отступы по умолчанию для элементов форм (в частности для checkbox и radio) */
	font-size: 100%; 			/* делаем размер шрифтов везде одинаковым */
	outline: none;
}
input[type="text"], input[type="password"], textarea {
	padding: 0; 				/* убираем внутренние отступы для текстовых полей */
}
input[type="checkbox"] { 		/* вертикальное выравнивание чекбоксов и радиобатонов относительно меток */
	vertical-align: bottom;
}
input[type="radio"] {
	vertical-align: text-bottom;
}
sub {
	vertical-align: sub;
	font-size: smaller;
}
sup {
	vertical-align: super;
	font-size: smaller;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display:block;
}
nav ul {
	 list-style:none;
}
/* --------------- /reset.css --------------- */

/* --------------- базовые настройки ---------*/
html {
	min-height:100%; /* всегда показываем вертикальную полосу прокрутки  */
}
body {
	background-image: url(../img/fontest1.jpg);
	background-position: left bottom;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-family: Arial, sans-serif; 
	color: #000;
	text-align: left;
	font-size: 1em; /* используем безопасные шрифтовые CSS стеки */
	min-height:100%;
}
a, a:visited { /* порядок правил для ссылок имеет значение */
	color: #e6618c;
	text-decoration: underline;
}
a:hover {
	color: #fdf208;
	text-decoration:none;
}
a:focus, a:active {
	color: #c83867;
	text-decoration: underline;
}
h1, h2, h3, h4, h5, h6{
	font-weight:normal;
}
img{

	max-width:100%;
}
.clr{
	clear:both;
}
.clearfix:after {
    clear: both;
    content: "";
    display: table;
}
/* --------------- /базовые настройки ---------*/
.title h2{
	padding-top: 115px;
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	padding-bottom: 25px;
}
.accordion{
	position: relative;
    background: rgba(255, 255, 0, 0.5);
    border: 2px solid #ff0;
    color: #000;
    cursor: pointer;
    padding: 20px;
    width: 100%;
    text-align: left;
    font-weight: bold;
    outline: none;
    transition: 0.4s;
}
.accordion i:before, .accordion i:after{
  position: absolute;
  float: right;
  right: 20px;
  content: '';
  width: 16px;
  height: 3px;
  background-color: white;
  transition: transform 250ms ease;
}
.accordion i:before{
  transform: translate(-5px, 8px) rotate(45deg);
}
.accordion i:after{
  transform: translate(5px, 8px) rotate(-45deg);
}
.active i:before{
  transform: translate(5px, 8px) rotate(45deg);
}
.active i:after{
  transform: translate(-5px, 8px) rotate(-45deg);
}
.accordion:hover {
    background: rgba(255, 255, 0, 0.7);
    transition: 0.1s linear;
}	
.panel{
	-webkit-backdrop-filter: blur(5px);
  	backdrop-filter: blur(5px);
	margin: 15px 0;
	background: rgba(255, 255, 0, 0.7);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.panel p{
	border: 2px solid #ff0;
	padding: 7px;
	font-size: 20px;
}
.panel a{
	color: #00f;
	text-decoration: none;
}
.link:hover{
	text-decoration: underline;
	color: #00f;
	cursor: pointer;
}
.screnshot-bonus, .screnshot-help{
	margin-top: 8px;
}
#upbutton{
    background-image: url(../img/up.png);
    background-repeat: no-repeat;
    height: 37px;
    width: 63px;
    bottom: 55px;
    right: 30px;
    cursor: pointer;
    display: none;
    position: fixed;
    z-index: 999;
}
.user-help{
	white-space: pre-line;
}
.user-help select, .user-help textarea, .user-help button{
	margin: 0 10px 10px 10px;
}
.captcha-help{
	display: flex;
}
.user-help textarea{
	width: 400px;
	height: 50px
}
.user-help button{
	margin: -10px 10px 10px 10px;
}
.mes-res-red, .mes-res-gre{
	background: rgb(0, 0, 0);
	color: #f00;
	font-weight: bold;
	padding: 3px;
}
.mes-res-gre{
	color: #0f0;
}
.footer{
	margin-top: 35px !important;
}
@media screen and (max-width: 1117px){
	.block-help{
		margin-left: 25px;
		margin-right: 25px;
	}
}	
@media screen and (max-width: 950px){
	.accordion{
    	padding-right: 38px;
	}
	.accordion i:before, .accordion i:after{
  		right: 15px;
	}
	#upbutton{
		background-image: url(/img/up2.png);
    	height: 25px;
    	width: 43px;
    	right: 10px;
    	bottom: 10px;
	}
	#upbutton:hover{
		background-color: rgba(0, 0, 0, 0.5);
	}
}