@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

BODY, HTML {
	padding: 0px;
	margin: 0px;
	font-size: 13px;
	width: 100%;
	height: 100%;
}

A {
	color: #376a8e;
}

* {
	font-family: 'Montserrat', sans-serif;
}

IMG {
	vertical-align: top;
}

H1 {
	font-size: 1.5em;
	font-weight: 700;
	padding: 0px;
	margin: 0px;
}

.wrapper {
	display: block;
	min-width: 100%;
	min-height: 100%;
	position: relative;
	box-sizing: border-box;
	padding-bottom: 120px;
}

.content {
	padding-top: 10px;
	width: 100%;
	height: 100%;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
	position: relative;
}

.footer {
	width: 100%;
	position: absolute;
	left: 0px;
	bottom: 0px;
}

/* :) */

#map {
	width: 100%;
	height: 600px;
}

.message {
	font-size: 1.2em;
	font-weight: bold;
}

.loading {
	background-image: url('/template/images/loading.gif');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.need-login, .wait-result {
	font-size: 1.2em;
	margin: 20px 0px;
}

/* Form */

.form input[type=text],
.form input[type=password],
.form textarea {
	padding: 5px;
	font-size: 1.1em;
	box-sizing: border-box;
	border: 1px solid #ddd;
	width: 100%;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

input.error,
textarea.error {
	border: 1px solid #e33d3d !important;
}

.form label {
	margin: 20px 0px 5px 0px;
	display: block;
}

.form button, .vote button {
	background-color: #42a1e0;
	color: #fff;
	border: none;
	padding: 6px 10px;
	font-size: 1.1em;
	margin: 20px 0px 0px 0px;
	cursor: pointer;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.form button:hover, .vote button:hover {
	background-color: #2c87c4;
}

.form button:disabled, .vote button:disabled {
	background-color: #777;
}

.form > div > div {
	position: relative;
}

.form input[type=checkbox] {
	position: absolute;
	left: 0px;
	top: 0px;
	margin-left: 0px;
}

.form .no-block {
	padding-left: 22px;
}

.form .error-message {
	margin: 10px 0px;
	padding: 10px;
	background-color: #ffaeae;
	border: 1px solid #f77b7b;
}

/* Tabs */

.tabs .tabs-links > div {
	display: inline-block;
	vertical-align: top;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	background-color: #fff;
}

.tabs .tabs-links > div > a {
	display: block;
	padding: 10px;
	color: #000;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	position: relative;
	background-color: #f7f7f7;
}

.tabs .tabs-links > div:last-child {
	border-right: 1px solid #ddd;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topright: 6px;
	border-top-right-radius: 6px;
}

.tabs .tabs-links > div:last-child > a {
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topright: 6px;
	border-top-right-radius: 6px;
}

.tabs .tabs-links > div:first-child {
	-webkit-border-top-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	border-top-left-radius: 6px;	
}

.tabs .tabs-links > div:first-child > a {
	-webkit-border-top-left-radius: 6px;
	-moz-border-radius-topleft: 6px;
	border-top-left-radius: 6px;	
}

.tabs .tabs-links > div > a.selected {
	border-bottom: none;
	background-color: #fff;
}

.tabs .tabs-links > div > a.selected:after {
	content: "a";
	display: block;
	position: absolute;
	left: 0px;
	bottom: -2px;
	background-color: #fff;
	width: 100%;
	height: 2px;
	font-size: 0px;
}

.tabs .tabs-content {
	border: 1px solid #ddd;
	padding: 10px;
	margin-top: -1px;
	-webkit-border-bottom-right-radius: 6px;
	-webkit-border-radius: 6px;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius: 6px;
	-moz-border-radius-topleft: 0;
	border-radius: 6px;
	border-top-left-radius: 0;
}

.register {
	background-color: #fff;
	border: 1px solid #eee;
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.login {
	background-color: #fff;
	border: 1px solid #eee;
	max-width: 500px;
	margin: 0 auto;
	padding: 20px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.login .restore {
	margin-top: 10px;
}

.office {
	max-width: 1000px;
	margin: 0 auto;
}

.office .confirm {
	padding: 5px 0px;
}

.office .confirm strong {
	color: #f00;
}

.office .confirm i {
	font-style: normal;
	color: #18ba1c;
}

.office .confirm input {
	width: 200px;
}

.office .confirm button {
	margin-top: 0px;
	margin-left: 10px;
}

.office #map {
	width: 300px;
	height: 100px;
}

.office .admin-list-table > table {
	border-collapse: collapse;
	width: 100%;
	box-sizing: border-box;
}

.office .admin-list-table th,
.office .admin-list-table td {
	padding: 10px;
	text-align: left;
}

.office .admin-list-table td {
	border-top: 1px solid #ddd;
	cursor: pointer;
}

.office .admin-list-table > table > tbody > tr > td:first-child {
	width: 150px;	
}

.office .admin-list-table tr:hover {
	background-color: #f8f8f8;
}

.office .admin-list-table .not-readed {
	font-weight: bold;
}

.office .user-image {
	width: 300px;
	height: 300px;
	padding: 3px;
	border: 1px solid #ddd;
}

.office .user-image img {
	width: 300px;
	height: 300px;
}

/* Vote */

.vote-category, .vote-title, .votes, .vote {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.vote-title {
	font-size: 1.5em;
}

.votes-status {
	margin-bottom: 20px;
}

.votes-status:before {
    content: "Статус: ";
    font-weight: bold;
}

.votes-status > div {
	display: inline-block;
	vertical-align: top;
	margin: 0px 0px 0px 20px;
	padding: 0px 2px 3px 2px;
}

.votes-status > div.selected {
	border-bottom: 2px solid #42a1e0;
}

.votes-status > div a {
	color: #000;
	text-decoration: none;
}

.votes > div {
	width: 280px;
	display: inline-block;
	vertical-align: top;
	border: 1px solid #eee;
	background-color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.votes > div:hover {
	border: 1px solid #ddd;	
}

.votes > div > div:first-child {
	background-color: #eee;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;

}

.votes > div > div:first-child img {
	width: 100%;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.votes > div > div:nth-child(2) {
	padding: 20px 10px;
	font-size: 1.1em;
	height: 35px;
}

.votes > div > div:nth-child(2) a {
	color: #000;
	text-decoration: none;
}

.votes > div > div:nth-child(2) a:hover {
	text-decoration: underline;
}

.votes > div > div:nth-child(3) {
	padding: 10px;
	opacity: 0.5;
	text-transform: uppercase;
}

.votes .to-vote-1 a {
	display: inline-block;
	background-color: #42a1e0;
	color: #fff;
	border: none;
	padding: 6px 10px;
	font-size: 1.1em;
	margin: 10px;
	cursor: pointer;
	text-decoration: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.votes .to-vote-1 a:hover {
	background-color: #2c87c4;
}

.votes .to-vote-2 a {
	display: inline-block;
	background-color: #ff591b;
	color: #fff;
	border: none;
	padding: 6px 10px;
	font-size: 1.1em;
	margin: 10px;
	cursor: pointer;
	text-decoration: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.votes .to-vote-2 a:hover {
	background-color: #ed5720;
}

.vote .category {
	line-height: 40px;
	opacity: 0.5;
	text-transform: uppercase;
}

.vote .vote-images > div {
	display: inline-block;
	vertical-align: top;
	width: 100px;
	height: 75px;
	margin: 10px 10px 10px 0px;
}

.vote .vote-images > div img {
	width: 100px;
	height: 75px;	
}

.vote .question {
	margin: 40px 0px 0px 0px;
	padding: 10px 0px;
}

.vote .question > div:first-child {
	font-size: 1.5em;
	font-weight: bold;
}

.vote .question-description {
	padding: 10px 0px;
}

.vote .question-count {
	padding-bottom: 10px;
	font-weight: bold;
}

.vote .question-count:before {
	content: "Необходимо выбрать вариантов: ";
}

.vote .question-images > div {
	display: inline-block;
	vertical-align: top;
	width: 75px;
	height: 75px;
	margin: 10px 10px 10px 0px;
}

.vote .question-images > div img {
	width: 75px;
	height: 75px;	
}

.vote .answers > div {
	margin: 0px 0px 0px 0px;
	border-top: 1px dotted #ddd;
	padding: 20px 0px 20px 60px;
	background-image: url('/template/images/answer.png');
	background-position: left 10px center;
	background-repeat: no-repeat;
	background-size: 30px;
	cursor: pointer;
	position: relative;
}

.vote .answers > div:hover {
	background-color: #f8f8f8;
	background-image: url('/template/images/answer-checked.png');
}

.vote .answers > div.selected {
	background-image: url('/template/images/answer-checked.png');
}

.vote .answers > div > div:first-child {
	font-weight: bold;
}

.vote .answers > div > div.answer-description {
	opacity: 0.5;
}

.vote .answers > div.answer-with-images {
	height: 60px;
	padding-left: 150px;
}

.vote .answer-images {
	position: absolute;
	width: 75px;
	height: 75px;
	left: 60px;
	top: 0px;
}

.vote .answer-images > div {
	display: inline-block;
	vertical-align: top;
	width: 75px;
	height: 75px;
	margin: 10px 10px 10px 0px;
	position: absolute;
	left: 0px;
	top: 0px;
	display: none;
}

.vote .answer-images > div:first-child {
	display: block;
}

.vote .answer-images > div img {
	width: 75px;
	height: 75px;	
}

.vote .vote-result:before {
	content: "Итоги";
	display: block;
	padding-left: 50px;
	line-height: 32px;
	background-image: url('/template/images/result.png');
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 32px;
	font-size: 1.5em;
	font-weight: bold;
	margin-top: 30px;
	color: #ff591b;
}

.vote .vote-decision:before {
	content: "Решение";
	display: block;
	padding-left: 50px;
	line-height: 32px;
	background-image: url('/template/images/decision.png');
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 32px;
	font-size: 1.5em;
	font-weight: bold;
	margin-top: 30px;
	color: #00b63f;
}

.vote .vote-decision-images > div {
	display: inline-block;
	vertical-align: top;
	margin: 0px 10px 10px 0px;
}

.vote .vote-decision-images > div img {
	width: 75px;
	height: 75px;
}

.vote .resilt-questions:before {
	content: "Вопросы голосования";
	display: block;
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 10px;
}

.vote .resilt-questions {
	padding: 10px;
	margin: 20px 0px;
	background-color: #f8f8f8;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.vote .resilt-questions .result-question {
	padding-top: 20px;
	margin-bottom: 20px;
	border-top: 1px dotted #ddd;
}

.vote .resilt-questions .result-question > div:first-child {
	font-weight: bold;
	font-size: 1.2em;
}

.vote .resilt-questions .result-question .result-question-count:before {
	content: "Необходимо было выбрать вариантов: ";
}

.vote .resilt-questions .result-question .result-question-count {
	font-weight: bold;
	margin-top: 10px;
}

.vote .resilt-questions .result-question .result-answer {
	margin-top: 10px;
}

.vote .resilt-questions .result-question .result-answer-with-images {
	padding-left: 90px;
	position: relative;
	min-height: 75px;
}

.vote .resilt-questions .result-question .result-answer-images {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 75px;
	height: 75px;
}

.vote .resilt-questions .result-question .result-answer-images > div {
	display: inline-block;
	vertical-align: top;
	width: 75px;
	height: 75px;
	position: absolute;
	left: 0px;
	top: 0px;
	display: none;
}

.vote .resilt-questions .result-question .result-answer-images > div:first-child {
	display: block;
}

.vote .resilt-questions .result-question .result-answer-images img {
	width: 75px;
	height: 75px;
}

.vote .resilt-questions .result-question .result-answer-answer {
	font-weight: bold;
}

.vote .result-answers > div > div {
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
	font-size: 1.2em;
}

/* Event */

.event-category, .event-title, .content > .events, .content > .event {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.content > .events > div {
	width: 280px;
	margin: 0px 20px 20px 0px;
	display: inline-block;
	vertical-align: top;
	border: 1px solid #eee;
	background-color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.content > .events > div:nth-child(4n) {
	margin-right: 0px;
}

.content > .events > div:hover {
	border: 1px solid #ddd;	
}

.content > .events > div > div:first-child {
	background-color: #eee;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;

}

.content > .events > div > div:first-child img {
	width: 100%;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.content > .events > div > div:nth-child(3) {
	padding: 10px 10px;
	font-size: 1.1em;
}

.content > .events > div > div:nth-child(3) a {
	color: #000;
	text-decoration: none;
}

.content > .events > div > div:nth-child(3) a:hover {
	text-decoration: underline;
}

.content > .events > div > div:nth-child(2) {
	padding: 10px;
	opacity: 0.5;
	text-transform: uppercase;
}

.content > .events > div > div:nth-child(4) {
	padding: 10px;
	opacity: 0.5;
}

.content > .event .category {
	line-height: 40px;
	opacity: 0.5;
	text-transform: uppercase;
}

.content > .event .datetime {
	line-height: 40px;
	opacity: 0.5;
}

/* Category */

.content > .category  {
	margin-bottom: 20px;
}

.content > .category > div {
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
}

.content > .category > div > div {
	display: inline-block;
	vertical-align: top;
	position: relative;
	line-height: 30px;
	font-size: 1.1em;
}

.content > .category > div > div:first-child {
	width: 24px;
	height: 24px;
	margin-right: 10px;
}

.content > .category > div > div:first-child > div {
	vertical-align: top;
	position: absolute;
	left: 0px;
	top: 0px;
	display: none;
}

.content > .category > div > div:first-child > div:first-child {
	display: inline-block;
}

.content > .category > div > div:first-child > div img {
	width: 24px;
	height: 24px;
}

.content > .category a {
	color: #000;
	text-decoration: none;
	line-height: 30px;
}

.content > .category a:hover {
	text-decoration: underline;
}

.content > .category .selected {
	border-bottom: 2px solid #42a1e0;
}

/* News */

.news-category, .news-title, .all-news, .news {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.news-title {
	font-size: 1.5em; 
}

.all-news > div {
	width: 280px;
	display: inline-block;
	vertical-align: top;
	border: 1px solid #eee;
	background-color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.all-news > div:hover {
	border: 1px solid #ddd;	
}

.all-news > div > div:first-child {
	background-color: #eee;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;

}

.all-news > div > div:first-child img {
	width: 100%;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.all-news > div > div:nth-child(3) {
	padding: 10px 10px;
	font-size: 1.1em;
}

.all-news > div > div:nth-child(3) a {
	color: #000;
	text-decoration: none;
}

.all-news > div > div:nth-child(3) a:hover {
	text-decoration: underline;
}

.all-news > div > div:nth-child(2) {
	padding: 10px;
	opacity: 0.5;
	text-transform: uppercase;
}

.all-news > div > div:nth-child(4) {
	padding: 10px;
	opacity: 0.5;
}

.news .category {
	line-height: 40px;
	opacity: 0.5;
	text-transform: uppercase;
}

.news .datetime {
	line-height: 40px;
	opacity: 0.5;
}

/* Project */

.project-category, .project-title, .all-project, .project {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.all-project > div {
	width: 280px;
	margin: 0px 20px 20px 0px;
	display: inline-block;
	vertical-align: top;
	border: 1px solid #eee;
	background-color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.all-project > div:nth-child(4n) {
	margin-right: 0px;
}

.all-project > div:hover {
	border: 1px solid #ddd;	
}

.all-project > div > div:first-child {
	background-color: #eee;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;

}

.all-project > div > div:first-child img {
	width: 100%;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.all-project > div > div:nth-child(3) {
	padding: 10px 10px;
	font-size: 1.1em;
}

.all-project > div > div:nth-child(3) a {
	color: #000;
	text-decoration: none;
}

.all-project > div > div:nth-child(3) a:hover {
	text-decoration: underline;
}

.all-project > div > div:nth-child(2) {
	padding: 10px;
	opacity: 0.5;
	text-transform: uppercase;
}

.all-project > div > div:nth-child(4) {
	padding: 10px;
	opacity: 0.5;
}

.project .category {
	line-height: 40px;
	opacity: 0.5;
	text-transform: uppercase;
}

.project .datetime {
	line-height: 40px;
	opacity: 0.5;
}

/* Chat */

.chat {
	width: 100%;
	margin: 10px 0px;
	min-height: 100%;
	box-sizing: border-box;
	border: 1px solid #ddd;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.chat .chat-form {
	position: relative;
	background-color: #f8f8f8;
	padding: 10px 120px 10px 10px;
	border-top: 1px solid #ddd;
	box-sizing: border-box;
	-webkit-border-bottom-right-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
}

.chat .chat-form textarea {
	border: 1px solid #ddd;
	line-height: 20px;
	padding: 5px;
	width: 100%;
	height: 20px;
	min-height: 20px;
	max-height: 200px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.chat .chat-form button {
	display: block;
	cursor: pointer;
	width: 42px;
	height: 24px;
	background:none;
	background-image: url('/template/images/send.png');
	background-size: 42px 24px;
	background-position: center center;
	background-repeat: no-repeat;
	border: none;
	position: absolute;
	right: 10px;
	top: 15px;
}

.chat .chat-form .loading {
	display: inline-block;
	vertical-align: top;
	width: 32px;
	height: 32px;
	position: absolute;
	right: 15px;
	top: 10px;
}

.chat .chat-form .user-image-editor {
	position: absolute;
	top: 10px;
	right: 60px;
	background-color: transparent;
	border: none;
	min-width: 24px;
	width: 24px;
	height: 24px;
	background-image: url('/template/images/image.png');
	background-position: center center;
	background-size: 24px;
	background-repeat: no-repeat;
}

.chat .chat-form .user-image-editor input[type=file] {
	display: inline-block;
	width: 24px;
	height: 24px;
	opacity: 0;
}

.chat .chat-items {
	padding: 10px;
	height: 300px;
	overflow-y: scroll;
}

.chat .chat-items > div {
	margin-bottom: 20px;
	position: relative;
	padding-left: 50px;
}

.chat .chat-items > div.date {
	text-align: center;
	color: #555;
	margin: 20px 0px;
}

.chat .chat-items > div > div:first-child {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 40px;
	height: 40px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background-color: #f8f8f8;
}

.chat .chat-items > div > div:first-child img {
	width: 40px;
	height: 40px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.chat .chat-items > div > div:nth-child(2) > div {
	display: inline-block;
	vertical-align: top;
}

.chat .chat-items > div > div:nth-child(2) > div:first-child {
	padding-right: 20px;
	font-weight: bold;
}

.chat .chat-items > div > div:nth-child(2) > div:nth-child(2) {
	color: #999;
}

.chat .chat-items > div > div:nth-child(3) {
	padding: 5px 0px;
}

.chat .chat-items .reply {
	margin-left: 20px;
	cursor: pointer;
	color: #376a8e;
	font-size: 0.8em;
	opacity: 0.5;
	line-height: 18px;
}

.chat .chat-items .complaint {
	margin-left: 20px;
	cursor: pointer;
	color: #ec7272;
	font-size: 0.8em;
	opacity: 0.5;
	line-height: 18px;
}

.chat .reply-to {
	display: block;
	line-height: 30px;
	color: #42a1e0;
}

.chat .reply-to > div {
	color: #f00;
	cursor: pointer;
	display: inline-block;
	vertical-align: top;
	margin-left: 10px;
}

.chat .item .reply-user {
	background-color: #f8f8f8;
	margin: 5px 0px;
	font-size: 0.8em;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.chat .item .reply-user > div {
	padding: 5px 10px;
	opacity: 0.5;
}

.chat .item .reply-user > div:first-child {
	font-weight: bold;
}

.chat .chat-items .reply:hover, .chat .chat-items .complaint:hover {
	text-decoration: underline;
	opacity: 1;
}

.chat .message-image img {
	width: 64px;
	height: 64px;
	margin: 10px 10px 0px 0px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;	
}

.division-title {
	margin-bottom: 20px;
}

.beautification-date {
	margin: 10px 0px;
	opacity: 0.5;
}

/* Petition */

.petition-add > h1 {
	margin-bottom: 20px;
}

.petition-add .petition-type {
	padding-bottom: 20px;
}

.petition-add .petition-type:before {
	content: "Тип обращения";
	font-weight: bold;
	font-size: 1.2em;
	display: block;
	margin-bottom: 20px;
}

.petition-add .petition-type > div {
	display: inline-block;
	vertical-align: top;
	padding: 5px 10px;
	margin: 0px 10px 10px 0px;
	cursor: pointer;
}

.petition-add .petition-type > div:hover {
	text-decoration: underline;
}

.petition-add .petition-type > div.selected {
	background-color: #42a1e0;
	color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.petition-add .petition-public {
	line-height: 24px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-top: 1px dotted #ddd;
	border-bottom: 1px dotted #ddd;
}

.petition-add .petition-public:before {
	content: "Для всех";
	font-weight: bold;
	font-size: 1.2em;
	margin-right: 20px;
}

.petition-add .petition-public > div > div {
	display: inline-block;
	vertical-align: top;
	color: #fff;
	width: 28px;
	height: 28px;
	text-align: center;
	background-color: #fff;
	-webkit-border-radius: 17px;
	-moz-border-radius: 17px;
	border-radius: 17px;
	cursor: pointer;
}

.petition-add .petition-public > div {
	display: inline-block;
	background-color: #42a1e0;
	padding: 4px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.petition-add .petition-public > div > div.selected {
	background-color: transparent;
}

.petition-add .petition-public.no > div {
	background-color: #ddd;
}

.petition-add .petition-category {
	margin-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dotted #ddd;
}

.petition-add .petition-category:before {
	content: "Категория";
	font-weight: bold;
	font-size: 1.2em;
	display: block;
	margin-bottom: 20px;
}

.petition-add .petition-category > div {
	display: inline-block;
	vertical-align: top;
	padding: 5px 10px;
	margin: 0px 10px 10px 0px;
	cursor: pointer;
}

.petition-add .petition-category > div:hover {
	text-decoration: underline;
}

.petition-add .petition-category > div.selected {
	background-color: #42a1e0;
	color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.petition-add .petition-form label {
	font-weight: bold;
	font-size: 1.2em;
	display: block;
	margin-bottom: 20px;
}

.petition-add .petition-form textarea {
	width: 100%;
	height: 150px;
	box-sizing: border-box;
	padding: 5px;
	border: 1px solid #ddd;
}

.petition-add .petition-map {
	height: 300px !important;
	margin: 20px 0px;
	margin-bottom: 60px;
}

.petition-add .petition-map:before {
	content: "Место на карте";
	font-weight: bold;
	font-size: 1.2em;
	display: block;
	margin-bottom: 20px;
}

.petitions-add {
	background-color: #52ac62;
	line-height: 36px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	cursor: pointer;
}

.petitions-add:before {
	content: "+";
	color: #52ac62;
	background-color: #fff;
	height: 28px;
	width: 28px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	text-align: center;
	line-height: 28px;
	display: inline-block;
	font-weight: bold;
	font-size: 2em;
	position: absolute;
	top: 4px;
	left: 4px;
}

.petitions-add:hover {
	background-color: #47a157;
}

.petitions-add a {
	color: #fff;
	text-decoration: none;
	padding: 0px 10px 0px 40px;
	cursor: pointer;
}

.petitions-view {
	line-height: 28px;
	padding: 2px;
	background-color: #42a1e0;
	padding: 4px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.petitions-view > div {
	display: inline-block;
	vertical-align: top;
	height: 28px;
	padding: 0px 18px;
	text-align: center;
	-webkit-border-radius: 17px;
	-moz-border-radius: 17px;
	border-radius: 17px;
	cursor: pointer;
}

.petitions-view > div > a {
	color: #fff;
	text-decoration: none;
}

.petitions-view > div.selected {
	background-color: #fff;
}

.petitions-view > div.selected a {
	color: #000;
}

.petitions-type {
	margin-bottom: 25px;
}

.petitions-status{
	margin-bottom: 30px;
}

.petitions-type:before {
	content: "Категория: ";
	font-weight: bold;
}

.petitions-status:before{
	content: "Статус: ";
	font-weight: bold;
}

.petitions-type > div, .petitions-status > div {
	display: inline-block;
	vertical-align: top;
	margin: 0px 20px 0px 0px;
	padding: 0px 2px 3px 2px;
}

.petitions-type > div:first-child, .petitions-status > div:first-child {
	margin-left: 20px;	
}

.petitions-type > div a, .petitions-status > div a {
	color: #000;
	text-decoration: none;
}

.petitions-type > div a:hover, .petitions-status > div a:hover {
	text-decoration: underline;
}

.petitions-type > div.selected, .petitions-status > div.selected {
	border-bottom: 2px solid #42a1e0;	
}

.petitions > div {
	display: inline-block;
	vertical-align: top;
	margin: 0px 40px 40px 0px;
	cursor: pointer;
}

.petitions > div .image, .petition-info > .image {
	width: 270px;
	height: 200px;
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;
}

.petitions > div .image img, .petition-info > .image img {
	width: 270px;
	height: 200px;
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;
}

.petitions > div .no-image, .petition-info > .no-image {
	background-image: url('/template/images/no-image.png');
	background-size: 270px 200px;
	background-position: center center;
	background-repeat: no-repeat;
}

.petitions > div .category, .petition-info > .category {
	padding: 10px 8px;
}

.petitions > div .category:before, .petition-info > .category:before {
	content: "Категория: ";
	font-weight: bold;
}

.petitions > div .datetime, .petition-info > .datetime {
	padding: 5px  8px;
	opacity: 0.5;	
}

.petitions > div .user, .petition-info > .user {
	padding: 0px 8px 5px 8px;
}

.petitions > div .user > div, .petition-info > .user > div {
	display: inline-block;
	vertical-align: top;
	line-height: 24px;
}

.petitions > div .user > div:first-child, .petition-info > .user > div:first-child {
	width: 24px;
	height: 24px;
	margin-right: 5px;
	background-image: url('/template/images/user.png');
	background-size: 18px;
	background-position: center center;
	background-repeat: no-repeat;
}

.petitions > div .user > div:first-child > img, .petition-info > .user > div:first-child > img {
	width: 24px;
	height: 24px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.petition-info > a {
	color: #fff;
	display: inline-block;
	cursor: pointer;
	margin: 10px;
	text-decoration: none;
	line-height: 28px;
	padding: 0px 10px;
	background-color: #42a1e0;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.petition-info > a:hover {
	background-color: #2c89c7;
}

.petition > h1 {
	margin-bottom: 10px;
}

.petition .user {
	padding: 10px 0px;
}

.petition .user > div {
	display: inline-block;
	vertical-align: top;
	line-height: 24px;
}

.petition .user > div:first-child {
	width: 24px;
	height: 24px;
	margin-right: 5px;
	background-image: url('/template/images/user.png');
	background-size: 18px;
	background-position: center center;
	background-repeat: no-repeat;
}

.petition .user > div:first-child > img {
	width: 24px;
	height: 24px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.petition .category {
	padding: 10px 0px;
}

.petition .category:before {
	content: "Категория: ";
	font-weight: bold;
}

.petition .status {
	padding: 10px 0px;
}

.petition .status:before {
	content: "Текущий статус: ";
	font-weight: bold;
}

.petition .datetime {
	padding: 10px  0px;
	opacity: 0.5;	
}

.petition .datetime:before {
	content: "Добавлено: ";
}

/* Comment */

.comment {
	margin: 20px 0px;
}

.comment:before {
	display: block;
	content: "Комментарии";
	font-weight: bold;
}

.comment-add {
	display: inline-block;
	margin: 20px 0px;
	position: relative;
	padding-left: 34px;
	padding-right: 110px;
}


.comment-add > div:first-child {
	position: absolute;
	top: 4px;
	left: 0px;
	width: 24px;
	height: 24px;
	background-image: url('/template/images/user.png');
	background-size: 18px;
	background-position: center center;
	background-repeat: no-repeat;
}

.comment-add > div:first-child > img {
	width: 24px;
	height: 24px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.comment-add > div:nth-child(2) textarea {
	border: 1px solid #ddd;
	line-height: 20px;
	padding: 5px;
	width: 100%;
	height: 20px;
	min-height: 20px;
	max-height: 200px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.comment-add > div:nth-child(3) {
	position: absolute;
	top: 0px;
	right: 0px;
}

.comment-add button {
	display: block;
	cursor: pointer;
	width: 42px;
	height: 24px;
	background:none;
	background-image: url('/template/images/send.png');
	background-size: 42px 24px;
	background-position: center center;
	background-repeat: no-repeat;
	border: none;
	margin: 4px 0px 0px 0px;
}

.comment-add .reply-to {
	display: block;
	padding-left: 40px;
	line-height: 30px;
	color: #42a1e0;
}

.comment-add .reply-to > div {
	color: #f00;
	cursor: pointer;
	display: inline-block;
	vertical-align: top;
	margin-left: 10px;
}

.comment-add .user-image-editor {
	position: absolute;
	top: 0px;
	right: 50px;
	background-color: transparent;
	border: none;
	min-width: 24px;
	width: 24px;
	height: 24px;
	background-image: url('/template/images/image.png');
	background-position: center center;
	background-size: 24px;
	background-repeat: no-repeat;
}

.comment-add .user-image-editor input[type=file] {
	display: inline-block;
	width: 24px;
	height: 24px;
	opacity: 0;
}

.comment-add .loading {
	display: inline-block;
	vertical-align: top;
	width: 32px;
	height: 32px;
	margin-left: 60px;
}

.comment-add .error {
	padding: 5px 0px 0px 40px;
	color: #f00;
}

.comments .comment-view {
	position: relative;
	border-top: 1px dotted #ddd;
}

.comments .comment-view > div:first-child {
	margin-top: 10px;
	display: inline-block;
	vertical-align: top;
	width: 24px;
	height: 24px;
	margin-right: 10px;
	background-image: url('/template/images/user.png');
	background-size: 18px;
	background-position: center center;
	background-repeat: no-repeat;
}

.comments .comment-view > div:first-child > img {
	width: 24px;
	height: 24px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.comments .comment-view > div:nth-child(2) {
	margin-top: 10px;
	display: inline-block;
	vertical-align: top;
	line-height: 24px;
}

.comments .comment-view > div:nth-child(3) {
	margin: 10px 0px;
	padding-left: 35px;
}

.comments .comment-view > div.comment-last {
	position: relative;
	display: inline-block;
	vertical-align: top;
	line-height: 24px;
	color: #999;
	padding-left: 35px;
	margin-bottom: 10px;
}

.comments .comment-view > div.comment-image {
	padding-left: 30px;
}

.comments .comment-view > div.comment-image img {
	width: 64px;
	height: 64px;
	margin: 5px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;	
}

.comments .comment-view .reply {
	position: absolute;
	cursor: pointer;
	top: 0px;
	left: 180px;
	color: #376a8e;
	font-size: 0.8em;
	opacity: 0.5;
}

.comments .comment-view .complaint {
	position: absolute;
	cursor: pointer;
	top: 0px;
	left: 250px;
	color: #ec7272;
	font-size: 0.8em;
	opacity: 0.5;
}

.comments .comment-view .reply:hover, .comments .comment-view .complaint:hover {
	text-decoration: underline;
	opacity: 1;
}

.comments .comment-view > .comment-view {
	margin-left: 30px;
}

/* Documents */

.documents > div {
	margin: 0px 20px 20px 0px;
}

.documents > div > div:first-child {
	font-weight: bold;
	padding-bottom: 5px;
}

.documents > div > div:nth-child(4) {
	opacity: 0.5;
	padding: 5px 0px;
}

.documents > div > div:last-child > div {
	display: inline-block;
	vertical-align: top;
	margin: 0px 20px 0px 0px;
}

.r-menu {
	text-align: center;
}

.r-menu > a {
	display: inline-block;
	vertical-align: top;
	margin: 10px;
	text-decoration: none;
	color: #000;
}

.r-menu > a.selected {
	font-weight: bold;
}

/* Page */

.page {
	text-align: center;
	margin-top: 30px;
}

.page > a {
	text-decoration: none;
	color: #000;
	display: inline-block;
	padding: 3px;
	cursor: pointer;
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 50%;
}

.page > a:first-child {
	width: auto;
	display: inline-block !important;
	margin-right: 15px;
}

.page > a:last-child {
	width: auto;
	display: inline-block !important;
	margin-left: 15px;
}

.page > a:hover {
	text-decoration: underline;	
}

.page > a.hidden {
	display: none;
}

.page > a.selected {
	background-color: #eee;
	font-weight: bold;
	display: inline-block;
}