/* ------------- ОБЩЕЕ ------------- */

@font-face {
  font-family: Roboto;
  src: url("fonts/Roboto.ttf");
}

html{
    height: 100%;
}

body {
	font-family:Montserrat-Medium;
	width: 100%;
    margin: 0 auto;
	display: flex;
	flex-direction:column;
	min-width:360px;
		min-height: 100vh;
		height: auto;
	color:#514f4f;
		overflow-x:hidden;
		position:relative;
}

#app {
	font-family:Montserrat-Medium;
	width: 100%;
    margin: 0 auto;
	display: flex;
	flex-direction:column;
	min-width:370px;
	flex: 1;
		height: auto;
	color:#514f4f;
		overflow-x:hidden;
		position:relative;
	padding-bottom: 75px;
}

a {
	text-decoration: none;	
	color: #514f4f;
}

a:hover {
	text-decoration: none;	
}

h1, h2 {
	color: #514f4f;
	font-size: 26px;
	margin: 15px;
	text-align:center;
}

#app p {
    text-align:center;
}

#app img {
    margin: 0 auto;
}

/* button {
	width: 165px;
    font-weight: bold;
    font-size: 83%;
    color: #23527c;
    background-color: white;
    cursor: pointer;
    font-family: tahoma;
    margin-bottom: 20px;
    min-height: 30px;
}

button:hover {
	box-shadow: 1px 1px 5px 2px #8f5280; 
} */

button.paste_button {
    height: auto;
    padding:5px;
}

#clear {
    display:none;
}

#question_text_wrap {
    display:none;
}

#error_message {
    display:none;
    color:red;
}

#limit_box {
    display:none;
}

#clear {
    display:none;
}

#question_text_wrap {
    display:none;
}

#nextQuestionWrap {
    display:none;
}

#counter {
    display:none;
    position:fixed;
    width:200px;
    height:100px;
    border:1px solid grey;
    right:5%;
    background-color:white;
    padding-bottom:10px;
}

.pointer:hover {
    cursor:pointer;
    text-decoration:underline;
}

#question_text, #answers_text {
	width:432px;
	height:100px;
	padding:10px;
	font-size: 120%;
	color: #23527c;
}


/* ------------------------------------------------ */

.hide {
	display: none !important;
}

.table {
	display: flex;
	flex-direction:column;
}

.table .table_row {
	display: flex;
	align-items: center;
}

.table .table_colum {
	display: flex;
}

/* ------------- ШАБЛОН И ГЛАВНАЯ СТРАНИЦА ------------- */

#header_conteiner {
	border-bottom: 1px solid #D3D3D3;
	min-height:75px;
	margin: 0 auto;
	width:100%;
}

#header {
	margin: 0 auto;
	display: flex;
	justify-content:space-between;
/* 	max-width: 960px; */
	align-items:center;
	padding-left:15px;
	height:100%;
	min-height:75px;
}

#header a {
	text-decoration: none;
}

#header #logo {
	font-size:150%;
	font-weight:bold;
	color:#2874A6;
}

#reglog {
	height: 25px;
    width: 220px;
    margin-right: 3%;
}

#reglog p {
	display: inline-block;  
	margin: 3px;
	white-space: nowrap;
}

#reglog a {
	color:#2874A6;
}

#reglog a:hover {
	color:#0d6efd;
}

.user_name {
	margin-right: 5px;
}

#reglog p:first-child {
	padding-right: 11px; 
	border-right: 2px solid black; 
}

#user_button {
	padding-right:15px;
}

#user_button p {
	text-align:right;
	cursor:pointer;
}

#user_button p img {
	width: 37px;
}

#user_button p:hover {
	text-decoration:underline;
}

#user_menu {
/* border:1px solid grey; */
	display: block;
	width:200px;
	height:121px;
	background-color:white;
	z-index:2;
	position:absolute;
	right:13px;
	top:65px;
	box-shadow: -1px 0px 4px 0px grey;
}

#user_menu ul {
	width:100%;
	display:flex;
	flex-direction:column;
	list-style: none;
	margin:0;
	padding:0;
	height:100%;
	justify-content: space-around;
}

#user_menu ul li {
	display:block;
	width:100%;
	flex-basis: 16%;
	cursor:pointer;
}

#user_menu ul li p {
	margin-left: 10px;
    margin-bottom: 9px;
    margin-top: 7px;
}

#user_menu ul li:hover { 
	background-color:#DDDCDC;
}

#user_menu ul li a {
	text-decoration:none;
	height: 100%;
    display: inline-block;
}

#new_message_note {
	width: 40px;
	height: 55px;
	background-image:url(/images/paper_note_pin.png);
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	right: 200px;
	top: 22px;
	display: flex;
    justify-content: center;
    align-items: center;
    font-size: 85%;
	cursor:pointer;
}

#new_message_note > span {
	margin:3px 2px;
	font-style:italic;
	color:red;
}

#mainpage_wrap {
	display: flex;
    max-width: 1040px;
    margin: 45px auto;
    height: 100%;
}

#mainpage_wrap a {
	margin-top: 32px;
}

#intro {
	height: auto;
    margin: 0 auto;
	width: 90%;
	text-align:justify;
	padding-left: 35px;
	padding-top: 50px;
}

#intro p {
	margin: 0;
	font-weight: bold;
	font-family: Georgia;
	line-height: 152%;
	font-style: italic;
	text-indent: 2.5em;
}

#section_link {
	width: 300px;
	margin: 6px 35px; 
	cursor: pointer;
}

#section_link img {
	width: 100%;
}

#kroshki {
	box-shadow: 0 0 4px 0px black;
    font-size: 83%;
    font-weight: bold;
    min-height: 19px;
    margin: 11px auto;
    padding: 2px 15px;
	margin: 0 auto;
	width: 100%;
	flex: 0 0 auto;
	background-color: #fff;
	opacity: 0.8;
}

#footer_conteiner {
	width:100%;
	height:75px;
	overflow:hidden;
}

#footer {
	display: flex;
	justify-content: space-between;
	box-shadow: 0 -1px 4px 0 #2e3232;
    margin: 1px auto;
	width: 100%;
	height: 100%;
	font-weight: bold;
	font-size:13px;
	align-items: center;
	color:grey;
}

#footer .footer_left {
	flex-basis: 32%;
	padding-left: 10px;
}

#footer .footer_right {
	flex-basis: 50%;
	padding-right: 10px;
}

#footer .footer_right p {
	text-align: right;
	margin: 0;
	margin-bottom: 5px;
}

#footer .footer_right a {
	color:grey;
}

#footer p {
	text-align: left;
}

@media (max-width:800px) {
	#mainpage_wrap {
		flex-direction: column;
	}
	#section_link {
		margin: 0 auto;
	}

	#intro {
		padding-left: 15px;	
		padding-right: 15px;
	}
}

@media (max-width:414px) { 
	#user_button .user_name {
		display: none;
	}
	#intro {
		padding-top: 0px;
	}
	#intro p {
		line-height: 135%;
		font-size: 80%;
	}
	#footer {
		font-size: 10px;
	}

	#footer p {
		text-align: center;
		margin: 15px 0;
	}
}



/*  -------------------   FORM   --------------------*/ 

#main_conteiner {
	border-bottom: 1px solid #D3D3D3;
	width: 100%;
	padding-bottom:25px;
	padding-top:30px;
	flex: 1; 
}

.message {
	color: red;
    text-align: center;
}

#form_conteiner {
	margin: 0 auto;
    min-height: 100px;
    max-width: 718px;
	/* padding:0 115px; */
	border-radius: 20px;
	padding-bottom:50px;
	font-family:sans-serif;
}

#form_conteiner_login {
	margin: 0 auto;
    min-height: 100px;
    width: 718px;
	padding:0 115px;
	border-radius: 20px;
	font-family:sans-serif;
}


.form_block {
	display:flex;
	width:100%;
	margin-top:35px;
	justify-content: center;
}

.form_block > div:not(.hidden) {
	display:flex;
	align-items:center;
    width:100%;
}

.form_block > div:nth-child(1) {
	color:#23527c;
	font-size: 100%;
	justify-content:flex-end;
	text-align:right;
	flex-basis:30%;
}

.form_block > div:nth-child(1) p {
	margin:0;
}

.form_block > div:nth-child(2) {
	padding-left:30px;
	text-align: left;
	flex-basis:40%;
}

.form_block > div:nth-child(3) {
	text-align: left;
	flex-basis:30%;
	color: red;
    font-size: 85%;
}
.form_block > div:nth-child(3) span {
	font-size:130%;
	font-weight: bold;
}

.form_block_table {
	font-size:14px;
	display:flex;	
	flex-direction:column;
}

.form_block_table .raw,.form_block_table .raw_kid,.form_block_table .raw_cond {
	display:flex;
	align-items:center;
}

.form_block_table .raw_kid {
	margin-top:5px;
}

.form_block_table .raw_cond {
	margin-top:10px;
}

.form_block_table .raw_cond select {
	/* font-size:105%; */
	font-size:90%;
}

.form_block_table .raw_cond input {
	font-size:105%;
}

.form_block_table .raw > div {
	/* margin:5px 0; */
	margin:10px 0;
}

.form_block_table .raw > div:nth-child(1) {
	/* width:30px; */
	width: 24px;
}

.form_block_table .radiolabel {
	vertical-align: baseline;
}

.form_block_table > div > div {
	margin:10px 0px;
}

.editing_form_block > div:nth-child(1) {
	color:#23527c;
	font-size: 100%;
	justify-content:flex-end;

	flex-basis:7%;
}
.editing_form_block > div:nth-child(2) {
	padding-left:30px;
	flex-basis:31%;
}

.editing_form_block > div:nth-child(3) {
	
	flex-basis:30%;
	/* background-color: #f6f6f6; */
   margin-left: 15px;
    font-size: 85%;
}
.editing_form_block > div:nth-child(4) {
	flex-basis:20%;
	/* background-color: #f6f6f6; */
    font-size: 85%;
	color:green;
}
.editing_form_block {
	flex-wrap:wrap;
}

#captcha_img {
	height:100%; 
	border: 1px solid #c6c6c6;
	margin-left:20px;
	display:block;
}

#captcha {
	width: 70px;
}

.img_update {
	cursor: pointer; 
	display:block;
	margin-left:20px;
}

.hidden {
	display:none;
}

.small_button {
	font-size: 12px;
}

.input_button {
	width: 165px;
    font-weight: bold;
    font-size: 83%;
    color: #23527c;
    background-color: white;
    cursor: pointer;
    font-family: tahoma;
    margin-bottom: 20px;
    height: 30px;
}

.input_button:hover {
	box-shadow: 1px 1px 10px 2px #8f5280; 
}

#google_auth_wrap {
	width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 35px;
}

#google_auth.input_button {
	width: 362px;
    height: 48px;
	background-image:url(/images/google_icon.png);
	background-repeat: no-repeat;
	background-size: 10%;
    background-position: left 10px top 4px;
}

#next_button:hover {
	box-shadow: 1px 1px 8px 1px grey; 
}

.input_editbutton {
	width: 118px; 
	font-weight: bold; 
	font-size: 91%; 
	color:#23527c; 
	background-color:white; 
	cursor: pointer;
	font-family: tahoma; 
	height: 29px;
	
}

.input_editbutton:hover {
	box-shadow: 0 1px 4px 0px #2e3232;
}

#disagree, #back {
	margin-left: 230px; 
}

#agree {
	margin-left: 318px; 
}

.agree {
	width: 63px;
	cursor:pointer;
	display: inline-block;
} 
.disagree {
	width: 75px;
	cursor:pointer;
	display: inline-block;
}

.agree:hover, .disagree:hover {
	color:	#FF8C00;
}

.scale_yes {
	width:30px;
	height:30px;
	background-image: url(/images/scales_yes_grey.png);
	background-repeat: no-repeat;
	background-size: 100%;
}

.agree:hover .scale_yes {
	background-image: url(/images/scales_yes.png);
}

.scale_no {
	width:30px;
	height:30px;
	background-image: url(/images/scales_no_grey.png);
	background-repeat: no-repeat;
	background-size: 100%;
}

.disagree:hover .scale_no {
	background-image: url(/images/scales_no.png);
}

.radiolabel {
	display:inline-block;
    width:19px;
    height:19px;
    margin:-1px 4px 0 0;
    vertical-align:middle;
    background: url(/images/radio_sheet_y.webp) 2px top no-repeat;
    cursor:pointer;
	
}

input[id^="r"]:checked + label span {
    background: url(/images/radio_sheet_y.webp) -17px top no-repeat;
}

input[id^="n"]:checked + label span {
    background: url(/images/radio_sheet.webp) -17px top no-repeat;
}

input[id^="p"]:checked + label span {
    background: url(/images/radio_none.webp) -17px top no-repeat;
}

input[type="chackbox"] {
    display:none;
}

input[type="chackbox"] + label {
    font-family:Arial, sans-serif;
    font-size: 69%;
	margin-right: 30px;
}

.myselect {
	width: 200px !important;
    text-align: center;
    margin: 0 auto;
}

input[type=text],input[type=email],input[type=password] {
	border-radius: 4px; 
	border: 1px solid #cecece;
	font-size:14px;
}

input[type=number] {
	border-radius: 4px; 
	border: 1px solid #cecece;
}

input[type="radio"] + label {
		/* font-size: 78%; */
		font-size: 100%;
	}

input[name=codinn] {
	font-size:15px;
	width:84px;
}

input[name=phone_cod] {
	font-size:17px;
	width:19px;
}

input[name=phone] {
	font-size:17px;
	width:67px;
}

#questform_photo span, .add_photo span {
	width: 100px;
	height: 32px;
	background: #c1c0c0;
	border-radius: 4px;
	color: #fff;
	text-align: center;
	line-height: 32px;
	font-family: arial;
	font-size:14px;
	display: inline-block;
	vertical-align: top;
	cursor:pointer;
	}

#questform_photo div:hover,.add_photo span:hover {
	background: #67b838;
	cursor: pointer;
}

.add_photo p {
	color:green;
	margin:0px;
	font-size:120%;
	margin-bottom:8px;
	width:25px;
}

#f_name,.f_name {
	background: transparent;
	border: 0;
	display: inline-block;
	vertical-align: top;
	height: 30px;
	padding: 0 8px;
	width: 115px;
}

#questform_photo_title p {
	margin: 0;
}

#questform_photo_title span {
	font-size:70%;
	margin: 0 auto;
}

.main_input_file {
	display: none;
}

#form_conteiner .submit_div {
	flex-basis: 50%;
}

#new_evidence, #new_assertion, #best_evidence, #best_assertion {
	float: left;
    height: 195px;
    margin: 17px 0 27px 57px;
    width: 91%;
}

.headers_glavnaya {
	text-align: center; 
	margin: 5px 2px; 
	color:#233c87; 
	font-weight: bold
}

.text_top {
	color:#0000cd;
	font-size:71%; 
	margin:1px 4px; 
	text-align:justify;
	overflow: hidden;
	height: 27px;
}

.evid_content {
	height: 110px; 
	margin: 2px auto; 
	width: 196px
	
} 

.text_bottom {
	font-size: 71%; 
	margin: 1px 4px; 
	text-align:justify;
	overflow: hidden;
	
	
}

.proof_preview {
	border-right: 1px solid #cecece;
    border-top: 1px solid #cecece;
    box-shadow: -1px 1px 3px -1px black;
    float: left;
    height: 171px;
    margin: 9px 16px;
    width: 198px;
}

.assertion_preview  {
	border-right: 1px solid #cecece;
    border-top: 1px solid #cecece;
    box-shadow: -1px 1px 3px -1px black;
    float: left;
    height: 90px;
    margin: 9px 16px;
    width: 198px;
}


[id$="_panel"] {
	width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top:0px;
	left:0px;
	z-index: 2;
	display:flex;
	flex-direction:column;
	justify-content: center;
}
[id$="_panel_content"] {
	max-width: 90%;
	background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px #2e3232;
    padding: 50px;
    /* max-width: 399px; */
	font-size: 100%;
	overflow: auto;
	font-family:sans-serif;
    margin: 0 auto;
    height:auto;
	align-items: center;
	min-width: 350px;
	margin-top: 10px;
    margin-bottom: 10px;
	display:inline-block;
	width:auto;
}

.close_button_wrap {
	width:100%;
	margin:0 auto;
	position: relative;
	margin-bottom:40px;
}

.structure_conteiner {
	display:inline-block;
	margin: 0 70px;
}

.structure_box {
	border-left:2px solid green;
	margin-top:-14px;
	width:auto;
	display:flex;
	flex-direction: column;
}

.structure_block {
	position:relative;
	width:auto;
	display:inline-block;
	white-space: nowrap;
}

.structure_p,.structure_p_parent {
	display:inline-block;
	border:1px solid grey;
	padding:10px;
	max-width:300px;
	min-width:300px;
	font-size: 80%;
	white-space: wrap;
}

.structure_p_parent {
	position:relative;
}

.structure_p_parent:before {
	content: '';
    position: absolute;
    width: 3px;
    height: 15px;
    border-left: 2px solid green;
    bottom: -16px;
    left: 19px;
}

.structure_block:last-child:before {
	content:'';
	position:absolute;
	height:100%;
	width:10px;
	left:-5px;
	top:32px;
	background-color:white;
}

.structura_hr {
	border: none;
    border-bottom: 2px solid green;
    margin-left: -1px;
    width: 50px;
    float: left;
    margin-top: 30px;
    color: green;
}

#talking_text > div {
	display:flex;
	flex-direction:column;
	width:100%;
}

#talking_text > div > div {
	min-height:48px;
}

@media (max-width:800px) {
	#mainpage_wrap {
		flex-direction: column;
	}
	#section_link {
		margin: 0 auto;
	}

	#intro {
		padding-left: 15px;	
		padding-right: 15px;
	}
}

@media (max-width:760px) { 

	h1 {
		font-size: 150%;
	}
	#form_conteiner {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width:440px) {
	#main_conteiner {
		width: 98%;
	}
	#reglog {
		height: 25px;
		width: 105px;
		margin-right: 3%;
		margin-top: -25px;
	}
	#header #reglog p:first-child {
		border-right: none;
	}
	.form_block {
		flex-direction: column;
	}
	.form_block > div:first-child {
		margin-bottom: 15px;
	}
	.form_block > div:nth-child(1) {
		justify-content: flex-start;
		text-align: left;
	}
	.form_block > div:nth-child(2) {
		padding-left: 10px;
	}
	#nazad {
		display:none;
	}
	#google_auth_wrap {
		width: 90%;
		margin: 0 auto;
	}

	#google_auth_wrap button {
		max-width: 300px;
	}

	.submit_div {
		justify-content: center;
	}
	#form_conteiner .submit_div {
		padding-left: 0;
		justify-content: center;
	}
}

@media (max-width:414px) { 
	#user_button .user_name {
		display: none;
	}
	#intro {
		padding-top: 0px;
	}
	#intro p {
		line-height: 135%;
		font-size: 80%;
	}
	#footer {
		font-size: 70%;
	}

	#footer p {
		text-align: center;
		margin: 15px 0;
	}
}

#policy_conteiner {
	width: 80%;
	margin: 0 auto;
}

#policy_conteiner h2 {
	text-align: left;
	font-size: 120%;
	margin-left: 0;
}

#policy_conteiner p {
	font-size: 100%;
}