@charset "utf-8";
* {
	margin: 0;
	padding: 0;
	border: 0;
}
article, aside, figcaption, figure, footer, header, hgroup, nav, section, time {
	display: block;
}
html, body {
	height: 100%;
	font: 100%/1.5em Verdana, Arial, Helvetica, sans-serif;
}
body {
	background: rgba(0, 0, 0, 0.016);
}
.wrapper {
	min-height: 100%;
}
.project {
	display: table;
	padding: 15px 0;
	width: 100%;
}
.logo {
	display: table-footer-group;
	width: 100%;
	background-image: url(logo-m.jpg);
	background-repeat: no-repeat;
	background-position: center;
}
.logo a {
	display: block;
	width: 100%;
	height: 50px;
}
.ident {
	display: table-header-group;
	width: 100%;
	text-align: right;
	font-size: 14px;
}
.ident a {
	display: inline-block;
	margin: 0 20px 30px 0;
	font-size: 14px;
}
#menu {
	padding: 10px 0;
	width: 100%;
	font-size: 16px;
}
#menu li {
	display: block;
	height: 60px;
	list-style-type: none;
}
#menu a {
	display: block;
	box-sizing: border-box;
	color: #222;
}
#menu a:hover {
	background: #177245;
	color: #fff;
	text-decoration: none;
}
#menu_active {
	font-size: 50px;
}
#menu_add {
	display: none;
	padding: 10px 0;
	text-align: center;
}
#menu_add a {
	padding: 15px 40px;
	height: 60px;
	*height: 30px;
}
#menu_add_open a {
	margin: 15px;
	padding: 6px 22px;
	border: 1px solid #777;
	border-radius: 0 0.3em 0 0.3em;
	height: 40px;
}
#menu_add_open:hover {
	cursor: pointer;
}
article {
	padding-bottom: 80px;
	font-size: 13px;
}
article * {
	box-sizing: border-box;
}
article h1 {
	margin: 1em 0;
	font-size: 18px;
	font-family: Verdana, sans-serif, Arial, Helvetica;
	color: #414243;
	font-weight: 500;
}
article img {
	max-width: 100%;
	height: auto;
}
.menu_extra {
	margin-top: 1px;
	padding: 8px 15px;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	border-top: 1px solid #777;
	color: #000000;
	font-family: Lato, Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	text-align: left;
}
.menu_extra a {
	color: #337cbb;
}
.menu_extra a:hover {
	color: #337cbb;
}
footer {
	margin-top: -80px;
	padding: 20px 20px 10px 20px;
	border-top: 1px solid #ddd;
	height: 49px;
	font-size: 12px;
	color: #777;
}
.clear {
	clear: both;
}
.error {
	margin: 20px 0;
	padding: 15px 20px;
	border-radius: 2px;
	background: #f16162;
	font-size: 12px;
	color: #fff;
	text-align: left;
}
.content {
	margin: 0 0 30px;
	width: 100%;
}
.content_info {
	display: none;
}
.cl {
	margin: 0 0 1em;
	padding: 0 1em;
	text-align: center;
}
.cl-1, .cl-2, .cl-3, .cl-4, .cl-5, .cl-6, .cl-7, .cl-8, .cl-9, .cl-10, .cl-11, .cl-12 {
	width: 100%;
}
.cl-010, .cl-20, .cl-30, .cl-40, .cl-50, .cl-60, .cl-70, .cl-80, .cl-90 {
	float: left;
}
.cl-010 { width: 10%; }
.cl-20 { width: 20%; }
.cl-30 { width: 30%; }
.cl-40 { width: 40%; }
.cl-50 { width: 50%; }
.cl-60 { width: 60%; }
.cl-70 { width: 70%; }
.cl-80 { width: 80%; }
.cl-90 { width: 90%; }

/* Главная страница */

.advantage {
	padding: 0 1em;
	min-height: 230px;
	background-position: bottom center;
	background-repeat: no-repeat;
	text-align: center;
	font-family: Lato, Verdana, Arial, Helvetica, sans-serif;
	color: #9d9d9d;
	font-weight: 500;
	font-size: 13px;
}
.advantage a {
	font-family: Lato, Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #9d9d9d;
}
.advantage a:hover {
	text-decoration: none;
	color: #9d9d9d;
}
.advantage h1 {
	font-family: Lato, Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
	font-weight: 500;
	font-size: 14px;
}
#advant_1 {
	min-height: 264px;
	background-image: url(BihubClub.jpg);
}
#advant_2 {
	min-height: 264px;
	background-image: url(MutualAid.jpg);
}
#advant_2 a {
	color: #000000;
	font-size: 13px;
}
#advant_3 {
	background-image: url(Useful.jpg);
}
#advant_4 {
	background-image: url(Forum.jpg);
}
.adv_2aux1, .adv_2aux2, .adv_2aux3 {
	padding: 2px;
	border: 1px solid #000000;
}
.adv_2aux1 {
	position: absolute;
	width:120px;
	margin-top: 4%;
	left: 1em;
}
.adv_2aux2 {
	position: absolute;
	width:120px;
	margin-top: 11%;
	right: 1em;
}
.adv_2aux3 {
	display: none;
	position: absolute;
	width:160px;
	margin-top: 20%;
	left: 1em;
}
.adv_4aux {
	padding: 1px;
	text-align: left;
}
.adv_4aux a{
	font-size: 13px;
}

/* Форма */

form {
	font-size: 14px;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	color: #444;
}
form p {
	font-size: 13px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: red;
}
form .cl {
	text-align: left;
}
input {
	display: block;
	margin-top: 8px;
	padding: 5px 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
	width: 90%;
	max-width: 100%;
}
select {
	margin: 8px 1% 0 0;
	padding: 5px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	min-width: 29%;
}
.gender input {
	display: inline;
	margin: 16px 0px 0px;
	width: 30px;
}
textarea {
	border: 1px solid #ddd;
	width: 90%;
}

/* Персональная страница */

.input_img {
	display: inline-block;
	padding: 0;
	border: 0;
	width: auto;
}
.button_img {
	display: inline-block;
	width: auto;
	padding: 6px 10px;
	border: none;
	background-color: #222222;
	color: #ffffff;
	font-family: Lato, Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	border-radius: 0px 4px 0px 4px;
}
.button_img:hover {
	background-color: #111111;
	cursor: pointer;
}
.parent_img {
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.7);
	display: none;
	position: fixed;
	overflow: auto;
}
.child_img {
	left: 0;
	right: 0;
	width: 90%;
	height: 90%;
	top: 5%;
	bottom: 5%;
	padding: 0;
	margin: 0 auto;
	background-color: #ffffff;
	border: 0;
	position: absolute;
}
.nav_img {
	width: 50%;
	height: 100%;
	float: left;
}
.nav_img a {
	display: block;
	height: 100%;
}
.content_img {
	position: absolute;
	margin: 0 auto;
	left: 0;
	right: 0;
	width: 750px;
	max-width: 90%;
}
.content_img a {
	text-decoration: none;
	color: #9d9d9d;
	font-family: Lato, Verdana, Arial, Helvetica, sans-serif; 
	font-size: 14px;
}
.page {
	padding: 15px 0.3%;
	background-color: #ffffff;
}
.page_str {
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #00A8E8;
	text-align: center;
	color: #ffffff;
	font-size: 14px;
}
.page_str a, .page_str a:hover {
	color: #ffffff;
	font-size: 15px;
	font-family: sans-serif, Verdana, Arial, Helvetica;
}
.page_news {
	margin: 0 auto;
	padding: 1em 0 0;
	max-width: 600px;
	text-align: left;
}
.page_news textarea {
	width: 100%;
}
.page_img {
    height: 132px;
    overflow: hidden; 
}
.page_img img {
	margin: 5px;
	border: 0;
	width: 80px;
	height: 80px;
}

/* Авторизация */

.account {
	margin: 0 auto 15px;
	padding: 20px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	max-width: 290px;
	background: rgba(0, 0, 0, 0.016);
	text-align: left;
}
.account div {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #ddd;
	text-align: center;
}
.account a {
	font-size: 12px;
}
.login, .password, .account_button {
	margin: 0 0 14px;
	width: 100%;
	font-size: 16px;
}

/* Регистрация */

.registration #resCity a {
	display: block;
	font-size: 12px;
}
.registration #resCity a:hover {
	cursor: pointer;
}

/* Контакты */

.bl_c {
	display: block;
}
.bl_c a {
	display: inline-block;
	margin-top: 1em;
}

/* Сообщения */

.pm {
	margin: 0 6px 1em;
	padding: 0.5em;
	min-width: 60%;
	max-width: 90%;
	border-radius: 4px;
}
.pmleft {
	float: left;
	border: 1px solid #ddd;
	background: rgba(0, 0, 0, 0.016);
}
.pmright {
	float: right;
	border: 1px solid #99ffcc;
	background: rgba(0, 816, 0, 0.116);
}
.pmb {
	padding: 0.2em;
	background-color: #E1E7ED;
}

/* Поиск друзей */

.su img {
	border-radius: 50%;
	max-width: 80%;
}
.su a {
	font-size: 13px;
}
.su a:hover {
	text-decoration: none;
}

/* Форум */

.f {
	padding: 7px 1em;
}

/* Взаимопомощь */

/* Полезное */

.u p {
	margin: 0;
	padding-left: 15px;
}
.u h2 {
	margin: 1em 0;
	font-size: 15px;
	font-family: Verdana, sans-serif, Arial, Helvetica;
	color: #414243;
	font-weight: 500;
}
.u h3 {
	padding: 7px 1em;
	color: #0F68B1;
	font-weight: 500;
}
.u h3:hover {
	text-decoration: underline;
	cursor: pointer;
}
.u a {
	color: #666;
	font-size: 13px;
	text-decoration: none;
}
.u a:hover {
	text-decoration: none;
}
.u_adv {
		margin: 0 1em 1em;
		padding: 10px 8px 4px 9%;
		border: solid 1px #ddd;
		border-radius: 4px;
		min-height: 80px;
		background-image: url(spon.png);
		background-color: #ffffff;
		background-repeat: repeat-y;
		text-align: left;
		font-size: 9px;
		line-height: 1.4;
}
.u_adv img {
	height: 90px;
}
#rating_main {
	position: relative;
	width: 80px; 
	height: 16px;
}
#rating_selected, .rating_selected {
	position: absolute;
	top: 0;
	height: 16px;
	background-color: #FFD401;
}
#rating_main:hover #rating_change {
	position: absolute;
	top: 0;
	height: 16px;
	background-color: #FFD401;
}
#rating_main:hover #rating_selected {
	display: none;
}
#rating_background {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-size: 16px; 
	background-image: url(rating-m.gif); 
	background-repeat: repeat-x;
}

/* Добавиить компанию */
.addu p {
	color: #666;
}

/* Другое */

a {
	color: #222;
	text-decoration: none;
}
a:hover {
	color: #000;
	text-decoration: underline;
}
hr {
	margin: 8px 1em;
	border-style: inset;
	border-width: 1px;
}
.ai a {
	font-size: 11px;
	color: #00A8E8!important;
}
.ai img {
	border-radius: 50%;
	max-width: 42%;
}
.af {
	margin: 0 0 0.3em;
	padding: 0.5em;
	border-bottom: 1px solid #ddd;
}
.afb {
	padding: 0 0.5em 0 0;
}
.afb img {
	width: 45px;
	height: 45px;
	border-radius: 50%;
}
.afc {
	padding: 0 0 0.5em;
	font-size: 12px;
	font-weight: 600;
}
#parent_popup {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
}
#popup {
	position: absolute;
	padding: 15px;
	border-radius: 6px;
	background-color: #ffffff;
	height: 200px;
	width: 290px;
	top: 25%;
	left: 0;
	right: 0;
	color: #f00;
	margin: 0 auto;
}
#outside {
	position: relative;
	padding: 15px;
	min-height: 450px;
	overflow: auto;
	font-size: 14px;
}
#outside #resCity {
	display: none;
}
#outside ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#outside ul a {
	color: #0F68B1;
}
.button {
	margin: 8px 5% 0;
	padding: 6px 0;
	border: none!important;
	width: 90%;
	max-width: 260px;
	background-color: #222;
	font-size: 16px;
	color: #ffffff;
}
.account_button {
	margin: 0 0 14px;
	width: 100%;
}
.button:hover {
	background-color: #177245;
	cursor: pointer;
}
.float_left {
	float: left;
}
.float_right {
	float: right;
}
.left {
	text-align: left;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.inline {
	display: inline;
	width: auto;
}
.line {
	border-bottom: 1px solid #ddd;
}
.border-radius {
	border-radius: 50%;
}
.chapter {
	font-size: 14px;
}
.chapter a {
	color: #00A8E8;
	color: #0F68B1;
}
.none:hover {
	text-decoration: none;
}
.h-40 {
	min-height: 40px;
	font-size: 12px;
}
.s-9 {
	font-size: 9px;
}
.s-11 {
	font-size: 11px;
}
.s-12 {
	font-size: 12px;
}
.s-13 {
	font-size: 13px;
}
.s-14 {
	font-size: 14px;
}
.pt7 {
	padding-top: 7px;
}
.pt10 {
	padding-top: 10px;
}
.pb10 {
	padding-bottom: 10px;
}
.c-FF0000 {
	color: #FF0000;
}
.c-008000 {
	color: #008000;
}
.c-00A8E8 {
	color: #00A8E8;
}
.c-019404 {
	color: #019404;
}

@media all and (min-width: 450px) {
	textarea {
		width: 85%;
	}
	.su img {
		border-radius: 50%;
		max-width: 60%;
	}
	.max_width_50 {
		max-width: 50%;
	}

	/* Главная страница */

	.advantage h1 {
		font-size: 15px;
	}
	#advant_1, #advant_2, #advant_3, #advant_4 {
		min-height: 290px;
		font-size: 14px;
	}
	#advant_1 {
		min-height: 300px;
		background-image: url(BihubClub-450.jpg);
	}
	#advant_2 {
		background-image: url(MutualAid-450.jpg);
	}
	#advant_2 a {
		font-size: 14.5px;
	}
	#advant_3 {
		background-image: url(Useful-450.jpg);
	}
	#advant_4 {
		background-image: url(Forum-450.jpg);
	}
	.adv_2aux1, .adv_2aux2, .adv_2aux3 {
		padding: 3.5px;
	}
	.adv_4aux {
		padding: 3px;
	}
	.adv_4aux a {
		font-size: 15px;
	}

	/* Полезное */

	.u_adv {
		font-size: 10px;
	}
	.u_adv img {
		height: 120px;
	}
}
@media all and (min-width: 525px) {
	textarea {
		width: 75%;
	}
	.afb img {
		width: 65px;
		height: 65px;
	}

	/* Полезное */

	.u_adv {
		font-size: 11px;
	}
	.u_adv img {
		height: 140px;
	}
}
@media all and (min-width: 600px) {
	textarea {
		width: 65%;
	}
	.su img {
		border-radius: 50%;
		max-width: 50%;
	}

	/* Полезное */

	.u_adv {
		font-size: 12px;
	}
	.u_adv img {
		height: 165px;
	}
}
@media all and (min-width: 700px) {
	body {
		margin: 0 auto;
		max-width: 1200px;
	}
	.project {
		padding: 0;
		height: 87px;
	}
	.logo {
		display: table-cell;
		width: 50%;
		background-image: url(logo.jpg);
		background-repeat: no-repeat;
		background-position: left;
	}
	.logo a {
		display: block;
		width: 100%;
		height: 87px;
	}
	.ident {
		display: table-cell;
		width: 50%;
		vertical-align: middle;
	}
	.ident a {
		margin: 0 40px 0 0;
	}
	#menu {
		position: relative;
		padding: 0;
		height: 60px;
		background: #222;
		text-align: center;
	}
	#menu li {
		display: inline-block;
	}
	#menu a {
		padding: 15px 40px;
		height: 100%;
		color: #fff;
	}
	#menu_add {
		position: absolute;
		margin-right: 1px;
		padding: 0;
		z-index: 2;
		background: #222;
		right: 0;
		text-align: left;
	}
	#menu_add li {
		display: block;
		height: 50px;
	}
	#menu_add a {
		padding: 10px 50px;
		border-top: 1px solid rgba(255,255,255,0.2);
	}
	#menu_add_open a {
		margin: 0;
		padding: 15px 40px;
		border: 0;
		border-radius: 0;
		min-width: 150px;
		height: 100%;
	}
	.content {
		float: left;
		margin: 0 1% 30px;
		padding: 1em 0 0;
		border: solid 1px #ddd;
		border-radius: 4px;
		width: 68%;
		background-color: #ffffff;
	}
	.content_info {
		display: block;
		float: left;
		margin: 0 1% 30px 0;
		width: 29%;
	}
	.spon {
		margin-bottom: 15px;
		padding: 25px;
		border: solid 1px #ddd;
		border-radius: 4px;
		min-height: 250px;
		background-image: url(spon.png);
		background-color: #ffffff;
		background-repeat: repeat-y;
		font-size: 12px;
		font-family: Arial, Lato, Verdana;
		color: #888888;
		text-align: justify;
	}
	.adv {
		padding-left: 16px;
		border: solid 1px #ddd;
		border-radius: 4px;
		min-height: 250px;
		background-image: url(adv.png);
		background-color: #ffffff;
		background-repeat: repeat-y;
		text-align: center;
	}
	.cl {
		float: left;
	}
	.cl-1 { width: 8.33333333333%; }
	.cl-2 { width: 16.6666666666%; }
	.cl-3 { width: 25%; }
	.cl-4 { width: 33.3333333333%; }
	.cl-5 { width: 41.6666666666%; }
	.cl-6 { width: 50%; }
	.cl-7 { width: 58.3333333333%; }
	.cl-8 { width: 66.6666666666%; }
	.cl-9 { width: 75%; }
	.cl-10 { width: 83.3333333333%; }
	.cl-11 { width: 91.6666666666%; }
	.cl-12 { width: 100%; }

	/* Главная страница */

	.advantage h1 {
		font-size: 18px;
	}
	#advant_1, #advant_2, #advant_3, #advant_4 {
		min-height: 368px;
		font-size: 16px;
	}
	#advant_1 {
		background-image: url(BihubClub-700.jpg);
	}
	#advant_2 {
		background-image: url(MutualAid-700.jpg);
	}
	#advant_3 {
		background-image: url(Useful-700.jpg);
	}
	#advant_4 {
		background-image: url(Forum-700.jpg);
	}
	.adv_2aux1, .adv_2aux2, .adv_2aux3 {
		padding: 3.5px;
	}
	.adv_2aux3 {
		display: block;
	}
	.adv_4aux {
		padding: 15px 0 5px 10px;
	}
	.adv_4aux a{
		font-size: 16.5px;
	}

	/* Форма */

	textarea {
		width: 80%;
	}

	/* Персональная страница */

	.page {
		margin: 0 auto 15px;
		border: solid 1px #ddd;
		max-width: 99%;
	}
	.page_nested {
		margin: 0 auto;
		max-width: 800px;
	}
	.page_img {
		height: auto;
		overflow: visible; 
	}
	.page_img img {
		width: 98px;
		height: 98px;
	}

	/* Регистрация */

	.registration p {
		padding-top: 30px;
	}

	/* Контакты */

	.bl_c {
		margin-right: 50px;
		text-align: right;
	}
	.bl_c a {
		margin-top: 20px;
	}

	/* Поиск друзей */

	.su img {
		border-radius: 0%;
		max-width: 130px;
	}

	/* Полезное */

	.u_adv img {
		height: 115px;
	}
	#rating_background {
		background-image: url(rating-p.gif); 
	}

	/* Другое */

	.ai img {
		border-radius: 0%;
		max-width: 103px;
	}
	.af {
		padding: 1em;
	}
	#outside {
		margin: -1px;
		border: solid 1px #ddd;
		border-radius: 4px;
		background-color: #ffffff;
	}
	#outside #resCity {
		padding: 10px;
		margin: 10px 25px;
		border: 1px solid rgb(221, 221, 221);
	}
	#outside ul {
		float: left;
	}
	.k-2 {
		padding-right: 2%!important;
		width: 48%;
	}
	.k-3 {
		padding-right: 1.3%!important;
		width: 32%;
	}
	.border-radius {
		border-radius: 0%;
	}
}
@media all and (min-width: 900px) {
	textarea {
		width: 60%;
	}
	.afb img {
		width: 80px;
		height: 80px;
	}

	/* Главная страница */

	.advantage h1 {
		font-size: 20px;
	}
	#advant_1, #advant_2, #advant_3, #advant_4 {
		min-height: 500px;
		font-size: 16.5px;
	}
	#advant_1 {
		background-image: url(BihubClub-950.jpg);
	}
	#advant_2 {
		background-image: url(MutualAid-950.jpg);
	}
	#advant_3 {
		background-image: url(Useful-950.jpg);
	}
	#advant_4 {
		background-image: url(Forum-950.jpg);
	}
	.adv_2aux1 {
		left: 14%;
	}
	.adv_2aux2 {
		right: 12%;
	}
	.adv_2aux3 {
		left: 10%;
	}
	.adv_4aux {
		padding: 2.4% 0 1% 2.4%;
	}

	/* Персональная страница */

	.page_img img {
		width: 110px;
		height: 110px;
	}
	
	/* Полезное */

	.u_adv img {
		height: 175px;
	}
}