html, body, div, span, applet, object, iframe,form,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,button,td,tr,tbody {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;}
form {overflow: hidden;text-align: center;}
hr {
color: #DCDCDC;
background-color: #DCDCDC;
border: 0px none;
height: 1px;
clear: both;
margin: 6px;
}
a {color: #88209A;
text-decoration: none;}
a:hover {
color: #9C27B0;
text-decoration: underline;
}
.header {background-color: #9C27B0;
overflow: hidden;padding: 0 20px;}

.header_block {
	max-width: 1200px;
	margin: auto;
}

#header_table {
overflow: hidden;}

#search_table {overflow: hidden;display:none;}

#menu_button div {border-top: 5px solid #FEFEFE;
margin: 5px 0;}

#menu_button {
width: 35px;height: 36px;background: #88209A;
float: right;
overflow: hidden;
padding: 32px 28px;
cursor: pointer;
display: block;}

#header_find_button {
background: url('/f/im/find.png') no-repeat;background-color: #88209A;
background-size: 35px;
background-position: 30px 31px;
width: 91px;height: 100px;
margin: 0 16px;
float: right;
cursor: pointer;
display:block;}

.search_block {margin: 17px 0 0 0;
overflow: hidden;padding: 0 20px 0 0;}
.search_block input[type="text"] {height: 45px;
padding: 0 10px;margin: 10px 10px 10px 2px;
border: 0;
border-radius: 2px;width: 98%;
font-size: 15px;outline-color: #88209A;}
#search_button {
background: url('/f/im/find.png') no-repeat;background-color: #88209A;background-size: 35px;
background-position: 30px 31px;
width: 91px;height: 100px;
margin: auto;
float: right;
cursor: pointer;}

.content {
max-width: 1200px;
margin: auto;
min-height: 300px;
padding: 0;
font-size: 15px;
line-height: 23px;
font-family: arial,tahoma,sans-serif;
cursor: default;
}

.logo {
color: rgb(255, 255, 255);margin: 23px 210px 0 0;
background: url('/f/im/logo.png') no-repeat;background-size: 330px;height: 56px;
display: block;
text-indent: -999em;}

.question_block {
    /* border: 1px solid #D0D0D0; */
    padding: 9px;
    background: #FFF;
    margin: 3% 1% 3% 0%;
}
.answer_block {
/* border: 1px solid #D0D0D0; */
padding: 9px;
background: #FFF;
margin: 3% 0% 3% 1%;
}
.solution_block {
border-top: 2px solid #D0D0D0;
padding: 9px;
background: #FFF;
margin: 3% 0% 3% 0%;
}
.q_block {width: 50%;/* float: left; */display: inline-block;vertical-align: top;}

.tema {
    padding: 0 0 5px 0;
    color: #222222;
}
.tema_title {
font-weight: bold;
color: #9C27B0;
}
.tema_text {
	text-indent: 25px;
}
.question_block img, .solution_block img, .answer_block img {
vertical-align: middle;
}
.answer {
color: #9D9D9D;
}
.otvet.yes {
color: #1B5E20;
}
span.plus-min {
font-weight: bold;
}
.a_block {
clear: both;
}

@media (max-width: 730px) {
	.content {
	font-size: 14px;
	overflow: hidden;
}
	.header {
	overflow: hidden;
	padding: 0 0 0 7px;
}
	.logo {
	margin: 13px 85px 0px 0;
	background: url('/f/im/logo45.png') no-repeat;
	background-size: 254px;
	height: 45px;
	}
	.q_block {
		width: 100%;
		float: none;
	}
	.question_block {
    border: 0;
    padding: 0 9px;
    background: #FFF;
    margin: 2% 0% 3% 0%;
	}
	.answer_block {
	border: 0;
	border-top: 2px solid #D0D0D0;
    padding: 9px;
    background: #FFF;
    margin: 3% 0% 3% 0%;
	}
	.solution_block {
	border: 0;
	border-top: 2px solid #D0D0D0;
    padding: 9px;
    background: #FFF;
    margin: 3% 0% 3% 0%;
	}
	#find_button {
	width: 63px;
	height: 63px;
	border-radius: 50%;
	box-shadow: rgba(0, 0, 0, 0.258824) 0px 2px 6px;
	bottom: 8px;
	right: 8px;
	cursor: pointer;
	position: fixed;
	background: url('/f/im/find.png') no-repeat;
	background-color: rgb(156, 39, 176);
	background-size: 35px;
	background-position: 15px;
	z-index: 5000;
	}
	#header_find_button {
	display:none;
	}

	#menu_button {
	width: 35px;
	height: 35px;
	float:right;
	overflow: hidden;
	padding: 15px 18px;
	cursor: pointer;
	display:block;
	}

	.search_block {
    margin: 0;
    overflow: hidden;
    padding: 0 14px 0 0;
	}
	.search_block input[type="text"] {
    height: 45px;
    padding: 0 10px;
    margin: 10px 10px 10px 0;
    border: 0;
    border-radius: 2px;
    width: 95%;
    font-size: 15px;
 }
	#search_button {
    background: url('/f/im/find.png') no-repeat;
    background-size: 35px;
    background-color: #88209A;
    background-position: 18px 14px;
    width: 71px;
    height: 65px;
    margin: auto;
    float: right;
 }
}

@media (max-width: 410px) {
	.header {
	overflow: hidden;
	padding: 0 0 0 7px;
	}
	.logo {
	margin: 12px 67px 0px 0;
	background: url('/f/im/logo35.png') no-repeat;
	background-size: 197px;
	height: 35px;
	}
	#menu_button {
	width: 30px;
	height: 30px;
	padding: 10px 15px 15px 15px;
	}
	.search_block input[type="text"] {
    height: 35px;
	}
	#search_button {
	background: url('/f/im/find.png') no-repeat;
	background-size: 35px;
	background-color: #88209A;
	background-position: 12px 10px;
	width: 60px;
	height: 55px;
	margin: auto;
	float: right;
	}
}

.maintext {
margin: auto;
max-width: 840px;
text-align: center;
padding: 7px;color: #777;}

.footer {
height: 60px;
}
.counter {
position: fixed;
right: -400px;
bottom: -400px;
opacity: 0;
}

/*subject*/
.sub_q_block {
width: 50%;
float: left;
font-size: 15px;
}
.sub_q_block a {
border: 1px solid rgb(223, 223, 223);
padding: 10px;
margin: 10px;
display:block;
}
.sub_question img {
vertical-align: middle;
max-width: 100%;
}
.sub_page {
overflow: hidden;
margin: 20px 0 0 0;
}
.pages {
clear: both;
text-align: center;
overflow: hidden;
margin: 20px;
}

.pages a {
font-weight: bold;
background: #9C27B0;
display: block;
color: #fff;
width: 50%;
float: left;
margin: 2% 0;
text-decoration: none;
padding: 0.7% 0;
}
.pages a:hover {
background: #8B189E;
}

@media (max-width: 730px) {
	.sub_q_block {
	width: 100%;
	float: none;
	font-size: 14px;
	}
}


/*main page*/
.link_m {
width: 33%;
float: left;
}
.main_page a {
margin: 5px 20px;
display: block;
}
.main_page {
padding: 25px 0px 2px 0px;
overflow: hidden;
}
.main_page h1 {
font-size: 18px;
text-align: center;
margin: 0 5px 10px 5px;color: #525252;}
.main_search_block {
margin: 17px auto 18px auto;
overflow: hidden;
padding: 9px;
width: 79%;
font-size: 15px;border: 2px solid #D4D4D4;
color: #B3B3B3;
cursor: text;}

@media (max-width: 730px) {
	.link_m {
	width: 50%;
	}
	.main_search_block {
	margin: 5px auto 10px auto;
    padding: 7px;
	width: 90%;
	}
}

@media (max-width: 410px) {
	.link_m {
	width: 100%;
	}
	.search_block input[type="text"] {
    height: 35px;
	}
	.main_search_block {
	margin: 5px auto 10px auto;
    padding: 6px;
	width: 90%;
	}
}

.not_result {
padding: 10px;
color: #272727;
max-width: 500px;
margin: auto;
}
.not_result b {
color: #CF0000;
}
.sub_page h1 {
font-size: 18px;
text-align: center;
margin: 0 5px 10px 5px;color: #525252;}

/*add*/
.addon {max-width: 728px;min-height: 90px;width: 100%;margin: 17px auto 0 auto;}

.ad_dipl {
    margin: 17px auto 1px auto;
    clear: both;
    max-width: 277px;
}
.ad_dipl a {
    text-align: center;
    border: 2px solid #803C3C;
    padding: 8px;
    max-width: 245px;
    clear: both;
    margin: 8px auto;
    color: #FFFFFF;
    font-size: 100%;
    cursor: pointer;
    background-color: #9E4D4D;
    font-weight: bold;
    border-radius: 3px;
}
.ad_dipl a:hover {
    background-color: #803C3C;
    text-decoration: none;
}


/*help*/
.help_block {
    padding: 12px;
    max-width: 400px;
    margin: auto;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    margin-top: 19px;
}

.help_button {
    font-weight: bold;
    text-align: center;
}

.help_form {
    padding-top: 10px;
}

.help_form textarea {
    border: 1px solid #d9d9d9;
    resize: none;
    padding: 10px;
    outline: 0;
    display: inline-block;
    vertical-align: top;
}

.help_form textarea:focus {border-color: #8880ca;}

.help_form button,.help_form a {
    background-color: #6183c2;
    color: #fff;
    padding: 4px 11px;
    border-radius: 2px;
    margin-left: 11px;
    margin-top: 14px;
    cursor: pointer;
}

.help_thank {
    padding-top: 17px;
    text-align: center;
		display: none;
}


.all_answers_a {
    display: block;
    padding: 12px 30px 12px 12px;
    background-color: #9c27b0;
    width: 258px;
    margin: 15px auto 7px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    border-radius: 3px;
    letter-spacing: 0.06em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    position: relative;
}

.all_answers_a:hover {
    background-color: #8b1d9d;
    color: #fff;
    text-decoration: none;
}

.all_answers_a:after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23eee' d='M8.122 24l-4.122-4 8-8-8-8 4.122-4 11.878 12z'/%3E%3C/svg%3E");
    position: absolute;
    right: 10px;
    top: 15px;
    width: 14px;
    height: 14px;
    background-size: 100%;
    transition: 0.3s;
}

.all_answers_a:hover::after {
    right: 7px;
}
