body,
div,
dl,
dt,
dd,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
menu {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img,
abbr {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ul li {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

legend {
  color: #000;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font: 14px/18px 'Open Sans', sans-serif;
  font-family: 'Open Sans', sans-serif;
  color: #1f2021;
  background: #f6f6f6;
}
.hide {
    display: none;
}
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
}

.input, .textarea, .select {
	background:#f6f6f6;
	border:1px solid #d6d6d6;
	width: 100%;
	margin-bottom:10px;
	padding:7.5px 10px;
	font-weight:400;
	box-sizing:border-box;
}

.button {
	background:#00c63a;
	border:none;
	color:#fff;
	height:36px;
	padding: 0 20px;
	display:inline-block;
	line-height:36px;
	text-decoration:none;
	cursor:pointer;
	margin-top: 10px;
}
.button.disabled{
    color: #595d6e;
    background-color: #e2e5ec;
    border-color: #e2e5ec;
    cursor: default;
}
label,legend {
	font-weight:400;
	margin-bottom:5px;
}

input[type=checkbox] {
	vertical-align: middle;
}

menu {
  background: #1a1a1a;
  color: #fff;
}

menu .menu {
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
  height: 40px;
}

menu li {
  display: inline-block;
  padding-right: 20px;
}

menu li:last-child {
  padding-right: 0;
}

menu li a {
  color: #fff;
  text-decoration: none;
  line-height: 40px;
}

menu li a i {
  padding-right: 8px;
  line-height: 40px !important;
}

menu li a:hover {
  color: #00c63a;
}

menu span {
  float: right;
}

header {
  background: url("../img/head.jpg") no-repeat 50% bottom;
  height: 243px;
  border-bottom: 1px solid #eeeeee;
  align-items: center;
  display: flex;
  width: 100%;
}

header .logo {
  font-size: 30px;
  color: #fff;
  background: rgba(96, 197, 73, 0.5);
  height: 85px;
  line-height: 85px;
  text-align: center;
  width: 100%;
  padding: 0 10px;
}

nav {
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: -25px;
  margin-bottom: 40px;
}

hr {
    border-bottom: 1px solid #e9e9e9;
    border-top:none;
    border-left:none;
    border-right:none;
	margin: 13px 0;
}

nav .menu {
  background: #1a1a1a;
  height: 50px;
}

nav li {
  display: inline-block;
  line-height: 50px;
}

nav li a {
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  display: block;
  padding: 0 15px;
}

nav li.active {
  background: #00c63a !important;
}

nav li:hover {
  background: #00c63a;
}

main {
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

main .sidebar {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 5px;
  margin-right: 5px;
  width: calc(25% - 10px);
}

main .sidebar .block {
  margin-bottom: 30px;
}

main .sidebar .block .title_block {
  background: #1a1a1a;
  height: 40px;
  color: #fff;
  line-height: 40px;
  text-transform: uppercase;
}

main .sidebar .block .title_block .icon {
  float: left;
  background: #00c63a;
  height: 40px;
  width: 40px;
  margin-right: 15px;
  justify-content: center;
  display: flex;
  align-items: center;
}

main .sidebar .block > ul {
  background: #fff;
  border: 1px solid #dcdcdc;
}

main .sidebar .block ul li {
  border-bottom: 1px solid #e9e9e9;
}

main .sidebar .block  ul li:last-child {
  border-bottom: none;
}

main .sidebar .block ul li a {
  padding: 10px 15px;
  text-decoration: none;
  color: #7a7a7a;
  display: block;
}
main .sidebar .block ul li a i {
	float: right;
    margin-top: 4px;
}
main .sidebar .block ul li a:hover {
  color:#1f2021;
}
main .sidebar .block ul li ul {
	border-top: 1px solid #e9e9e9;
	display:none;
}
main .sidebar .block ul li ul li a {
	padding: 10px 15px 10px 25px;
}
main .sidebar .block .text {
  background: #fff;
  border: 1px solid #dcdcdc;
  padding: 20px;
  color: #7a7a7a;
  font-size: 13px;
}

main .sidebar .block .text h3 {
	font-size: 14px;
    margin-bottom: 5px;
}

main .sidebar .block .text a {
  display: block;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  margin-top: 5px;
}

main .sidebar .block .text a:not(:last-child) {
	margin-bottom: 20px;
}

main .sidebar .block .text a:hover {
	text-decoration:none;
}

main .content {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 5px;
  margin-right: 5px;
  width: calc(75% - 10px);
}
main .content ul{
    padding-left: 40px;
	margin:unset;
}
main .content ul li {
    list-style: unset;
}
main .content:not(:last-child) {
	margin-bottom: 30px;
}

main .content .forum .title {
	font-size: 15px;
	border-bottom: 1px solid #dcdcdc;
	color: #1f2021;
	padding:15px 25px;
	position:relative;
}
main .content .forum .noForum {
	font-size: 15px;
	color: #1f2021;
	padding:15px 25px;
	position:relative;
}
main .content .forumRight {
	float: right;
    max-width: 265px;
	width:100%;
    display: inline-block;
}
main .content .forumRight div {
	display:inline-block;
	text-align:center;
}
main .content .forumRight .ntheme {
	width:60px;
}
main .content .forumRight .nmess {
	width:110px;
}
main .content .forumRight .act {
	width:95px;
}
main .content .title .forumRight .act {
	text-align:right;
}
main .content .forum .title:after {
  content: "";
  display: block;
  border-bottom: 2px solid #2172cd;
  width: 100px;
  margin-bottom: -1px;
  position: absolute;
  bottom: 0;
}
main .content .forum {
  border: 1px solid #dcdcdc;
  background: #fff;
  margin-bottom: 10px;
}
main .content .forum .forumItem {
	padding: 20px 25px;
	color:#707070;
}
main .content .forum .forumItem .forumRight {
	font-weight:600;
	margin-top:10px;
}
main .content .forum .forumItem:nth-child(even) {
	background:#ecf1fc;
}
main .content .forumPost {
	color:#1a1a1a;
}
main .content .forumPost .date {
	display: inline-block;
    float: right;
    margin-top: 10px;
    font-weight: 600;
	color:#707070;
	font-size: 12px;
}
main .content .forumPost .author {
	color:#707070;
	font-weight:600;
	margin: 10px 0 15px;
	display: inline-block;
	text-decoration:none;
}
main .content .forumPost .postTitle {
	font-size: 18px;
    margin-top: 5px;
    margin-left: 65px;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e9e9e9;
}
main .content .forumLeft {
    display: inline-block;
	max-width:calc(100% - 285px);
	width:100%;
}
main .content .forumLeft .author {
	color:#707070;
	font-style:italic;
	font-size:13px;
}
main .content .forumLeft .author a {
	text-decoration:none;
	color:#707070;
}
main .content .forumLeft .img, main .content .forumPost .img {
	width: 65px;
    height: 65px;
    float: left;
}
main .content .forumLeft .img img, main .content .forumPost .img img {
	width: 40px;
    height: 40px;
	object-fit: cover;
	border-radius: 2px;
}
main .content .forumLeft .img span, main .content .forumPost .img span {
	display: block;
    background: #499ec5;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    color: #fff;
    border-radius: 2px;
}
main .content .forumLeft .img span i, main .content .forumPost .img span i  {
	line-height: 40px;
}
main .content .forumLeft .forumLink {
	text-decoration:none;
	color:#1a1a1a;
	margin: 10px 0 15px;
    display: block;
}
main .content .postText blockquote {
	border-left: 5px solid #ccc;
    padding: 10px 15px;
    margin-bottom: 5px;
    font-style: italic;
    background: aliceblue;
}
main .content .forumBottom {
	text-align: right;
}
main .content .forumBottom a {
	font-size:18px;
	color:#cbcbcb;
}
main .content .forumBottom a:not(:first-child) {
	margin-left:10px;
}
main .content .forumBottom a.quote_btn:hover {
	color:#60c549;
}
main .content .forumBottom a.del_btn:hover {
	color:#f33223;
}
main .content .forumLeft p, main .content .postText  {
	margin-left:65px;
	word-break: break-word;
}
main .content .cont {
  border: 1px solid #dcdcdc;
  padding: 20px;
  background: #fff;
  margin-bottom: 20px;
  overflow-x: auto;
}
main .content .cont > .title {
  font-size: 18px;
  border-bottom: 1px solid #e9e9e9;
  color: #1f2021;
}

main .content .cont > .title:after {
  content: "";
  display: block;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 10px;
  width: 30px;
  margin-bottom: -1px;
}

main .content .cont .text {
  border-bottom: 1px solid #e9e9e9;
  padding: 20px 0 20px;
  font-weight: 400;
}
main .content .cont .text.comm .img {
	width: 65px;
    height: 65px;
    float: left;
}
main .content .cont .text.comm .img img{
	width: 40px;
    height: 40px;
	object-fit: cover;
    border-radius: 2px;
}
main .content .cont .text.comm .comment {
  margin-left: 65px;
}
main .content .cont .text.comm .comment .author {
	color: #707070;
    font-weight: 600;
    margin-bottom:10px;
    display: inline-block;
    text-decoration: none;
}
main .content .cont .text.comm .comment .date {
    display: inline-block;
    float: right;
    font-weight: 600;
    color: #707070;
	font-size: 12px;
}
main .content .cont .notice:after {
	content:"";
	clear:both;
	display: table;
}

main .content .cont .notice img{
	max-width:250px;
	width:100%;
	max-height:250px;
	height:100%;
	object-fit:contain;
	margin-right:20px;
	float:left;
}

main .content .cont .profile:after {
	content:"";
	clear:both;
	display: table;
}

main .content .cont .profile .ava {
	width: 280px;
    display: inline-block;
    float: left;
	position:relative;
}

main .content .cont .profile .ava > a {
	position: absolute;
    left: 0;
    top: 0;
    padding: 5px 10px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    border-bottom-right-radius: 5px;
}

main .content .cont .profile .ava img {
	width:250px;
	height: 250px;
    object-fit: cover;
}

main .content .cont .profile p {
	font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px dotted #ccc;
    margin-left: 280px;
}

main .content .cont .profile a {
	color:#1a1a1a;
}

main .content .cont .profile a:hover {
	text-decoration:none;
}

main .content .cont .profile p span, main .content .cont .votes span  {
	color:#7a7a7a;
	font-weight:400;
}

main .content .cont .profile #myfoto {
	display:none;
}

main .content .cont .profile #myfotolabel {
	background:#1a1a1a;
	margin-bottom:20px;
	color:#fff;
	width:250px;
	display:block;
	line-height:36px;
	text-align:center;
	font-size:13px;
	cursor:pointer;
}
main .content .cont .profile .editlink {
	font-size: 13px;
    text-align: center;
    display: block;
    margin: 20px 0;
}
main .content .cont .votes legend, main .content .cont .votes label {
	font-weight:600;
}

main .content .cont .votes form label {
    margin: 8px 0;
}
main .content .cont .votes .addre {
	display: inline-block;
    vertical-align: top;
    width: calc(100% - 300px);
    margin-left: 10px;
}
main .content .cont .info,main .content .cont .next {
  box-sizing: border-box;
  word-wrap: break-word;
  display:inline-block;
  width: calc(50% - 2px);
  color:#7a7a7a;
  line-height: 46px;
}
main .content .cont .info i ,main .content .cont .next i {
    color:#1f2021;
    margin-right:5px;
}

main .content .cont .info a {
    color:#7a7a7a;
    text-decoration:none;
}

main .content .cont .info a:hover {
    text-decoration:underline;
}

main .content .cont .next {
    text-align:right;
}
main .content .cont .file {
	width: calc(48% - 2px);
    display: inline-block;
}
main .content .cont .file:not(:nth-last-child(-n+2)) {
	margin-bottom:30px;
}
main .content .cont .file:nth-child(odd) {
	margin-left:4%;
}
main .content .cont .file .title {
	width:calc(100% - 206px);
	float:left;
	padding:0 10px;
	margin-top: -4px;
}
main .content .cont .file .title p {
	font-size:13px;
	color:#959595;
	margin-top: 4px;
}
main .content .cont .file .img {
	width:65px;
	float:left;
	position:relative;
	text-align: center;
}
main .content .cont .file .img:after {
	content:"";
	display:block;
	position:absolute;
	border-right:1px solid #d6d6d6;
	width:1px;
	height:100%;
	top:0;
	right:0;
}
main .content .cont .file .down {
	width:70px;
	display: inline-block;
	position:relative;
	float: left;
}
main .content .cont .file .view {
	width:50px;
	display: inline-block;
	position:relative;
}
main .content .cont .file .down:before {
	content:"";
	display:block;
	position:absolute;
	border-left:1px solid #d6d6d6;
	width:1px;
	height:100%;
	top:0;
	left:0;
}
main .content .cont .file .down a {
	display:block;
	background:#00c63a;
	width:50px;
	height:50px;
	color:#fff;
	text-align: center;
    font-size: 23px;
	border-radius:2px;
	margin-left:10px;
}
main .content .cont .file .view a {
	display:block;
	background:#49acc5;
	width:50px;
	height:50px;
	color:#fff;
	text-align: center;
    font-size: 23px;
	border-radius:2px;
}
main .content .cont .file .view a.not {
	background:#8c8c8c;
	opacity:1 !important;
}
main .content .cont .file .down a i, main .content .cont .file .view a i {
	line-height:50px;
}
main .content .cont .file .down a:hover, main .content .cont .file .view a:hover {
	opacity:0.7;
}
main .content .cont .file:after {
	content:"";
	clear:both;
	display:block;
}
main .link {
	color:inherit;
	padding:0 10px;
	display:inline-block;
}
main .link:hover {
	text-decoration:none;
}
main .pagination {
	text-align:center;
	margin-bottom: 20px;
}
main .pagination a {
    min-width: 24px;
    border: 1px solid #ccc;
    text-decoration: none;
	color:inherit;
	padding: 5px 2px;
	font-weight:600;
	display: inline-block;
}
main .pagination a i {
	vertical-align: middle;
}
main .pagination a.active,main .pagination a:hover {
	background: #00c63a;
	border-color:#00c63a;
	color:#fff;
}
main table {
	width:100%;
	text-align: center;
}
main table thead {
	border-bottom: 1px dotted #e9e9e9;
}
main table thead th {
	text-align: center;
	color:#818080;
	font-style:italic;
	padding: 10px 0;
	position:relative;
}
main table tfoot tr {
	border-top: 1px dotted #e9e9e9;
	color:#818080;
	font-weight:600;
}

main table tr:not(:last-child) {
	border-bottom: 1px dotted #e9e9e9;
}

main table tr td {
	padding: 10px;
	min-width:100px;
	position:relative;
}
main table tr td:not(:last-child):after,main table thead th:not(:last-child):after {
	content: "";
    border-left: 1px solid #131313;
    position: absolute;
    right: 0;
    display: block;
	height: 16px;
    width: 1px;
    top: calc(50% - 8px);
}
main table b {
	font-weight:600;
}
main table a {
	color: inherit;
    font-size: 14px;
    text-decoration: none;
}
main table a:hover {
	text-decoration:underline;
}
main table a i {
	margin-right:5px;
}

progress {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  max-width: 280px;
  width:100%;
  height: 20px;
  border: none;
  background: #dddddd;
  border-radius: 3px;
  margin-bottom: 15px;
}

progress::-webkit-progress-bar {
  background: #dddddd;
  border-radius: 3px;
}

progress::-webkit-progress-value {
  background-color: var(--prcolor);
  border-radius: 3px;
}

progress::-moz-progress-bar {
  background-color: var(--prcolor);
  border-radius: 3px;
}

input[type="checkbox"]:checked,
input[type="checkbox"]:not(:checked),
input[type="radio"]:checked,
input[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

input[type="checkbox"]:checked + label,
input[type="checkbox"]:not(:checked) + label,
input[type="radio"]:checked + label,
input[type="radio"]:not(:checked) + label {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    line-height: 20px;
    cursor: pointer;
}

input[type="checkbox"]:checked + label:before,
input[type="checkbox"]:not(:checked) + label:before,
input[type="radio"]:checked + label:before,
input[type="radio"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 18px;
    height: 18px;
    border: 1px solid #d6d6d6;
    background-color: #f6f6f6;
}

input[type="checkbox"]:checked + label:before,
input[type="checkbox"]:not(:checked) + label:before,
input[type="radio"]:checked + label:before,
input[type="radio"]:not(:checked) + label:before {
    border-radius: 2px;
}

input[type="checkbox"]:checked + label:after,
input[type="checkbox"]:not(:checked) + label:after,
input[type="radio"]:checked + label:after,
input[type="radio"]:not(:checked) + label:after {
    content: "";
    position: absolute;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked + label:after,
input[type="checkbox"]:not(:checked) + label:after,
input[type="radio"]:checked + label:after,
input[type="radio"]:not(:checked) + label:after {
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
	background:#00c63a;
    border-radius: 2px;
}

input[type="checkbox"]:not(:checked) + label:after,
input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
}

input[type="checkbox"]:checked + label:after,
input[type="radio"]:checked + label:after {
    opacity: 1;
}

footer {
  margin-bottom: 20px;
  margin-top: 20px;
}

footer .block {
  background: #fff;
  border: 1px solid #dcdcdc;
  padding: 0 20px;
}

footer .about {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 5px;
  margin-right: 5px;
  width: calc(50% - 10px);
  color: #7a7a7a;
}

footer .about .title {
  width: calc(50% - 10px);
}

footer .info {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 5px;
  margin-right: 5px;
  width: calc(25% - 10px);
  padding-right: 20px;
}

footer .info li {
  list-style: disc;
  margin-left: 20px;
  border-bottom: 1px dashed #dcdcdc;
  padding: 2px 0;
}

footer .contact {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 5px;
  margin-right: 5px;
  width: calc(25% - 10px);
}

footer .contact li {
  padding: 8px 0;
}

footer .title {
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #e9e9e9;
  color: #1f2021;
  margin-bottom: 10px;
  text-transform: uppercase;
  padding-top: 20px;
}

footer .title:after {
  content: "";
  display: block;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 10px;
  width: 30px;
  margin-bottom: -1px;
}

footer a {
  text-decoration: none;
  color: #7a7a7a;
}

footer a i {
  color: #000;
  padding-right: 10px;
}

footer .copy {
  margin-top: 20px;
  border-top: 1px solid #e9e9e9;
  line-height: 50px;
  color: #7a7a7a;
  display: flex;
  justify-content: space-between;
}
footer .copy a {
    color: #004eff;
}
.ck-content.ck-editor__editable {
    min-height: 200px;
}
.burger {
	display:none;
}
.message {
    margin-bottom: 20px;
    padding: 10px 20px 10px 60px;
    position: relative;
    font-weight: 600;
	min-height: 35px;
}
.message i {
	position: absolute;
    left: 10px;
    font-size: 35px;
}
.message.margin-top {
    margin-top: 10px;
    margin-bottom: 0;
}
.message.errors {
	background: rgba(255, 0, 0, 0.3);
	border: 1px solid red;
}
.message.errors i {
	color: orangered;
}
.message.infos {
	background: rgba(255, 165, 0, 0.3);
    border: 1px solid orange;
}
.message.infos i {
	color: orange;
}
.flexMenu-viewMore {
	position:relative;
}
.flexMenu-popup {
	background: #1a1a1a;
	right: 0;
    top: 65px;
}
.flexMenu-popup li {
	display:block;
}
.flexMenu-popup li a {
	white-space: nowrap;
}
.flexMenu-popup::before {
	content:"";
	position:absolute;
	background: #1a1a1a;
	width:20px;
	height:20px;
	top: -10px;
    right: 30px;
    transform: rotateZ(45deg);
	z-index: -1;
}
.impotant {
    background: red;
    color: #fff;
    padding: 0 5px;
}
.btn-red {
    height: 36px;
    width: 36px;
    background: orangered;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    vertical-align: top;
}
/* свойства модального окна по умолчанию */
.modal {
    position: fixed; /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5); /* цвет фона */
    z-index: 1050;
    opacity: 0; /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 200ms ease-in;
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in; /* анимация перехода */
    pointer-events: none; /* элемент невидим для событий мыши */
    margin: 0;
    padding: 0;
}
/* при отображении модального окно */
.modal-open {
    opacity: 1; /* делаем окно видимым */
    pointer-events: auto; /* элемент видим для событий мыши */
    overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}
@media (min-width: 576px) {
    .modal-dialog {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -90%);
        max-width: 500px;
        width: 100%;
    }
}
/* свойства для блока, содержащего контент модального окна */
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: 0 0 13px 0 rgba(82,63,105,0.1);
    border: 1px solid #ebedf2;
    outline: 0;
    max-width: 500px;
    width: 100%;
}

/* свойства для заголовка модального окна */
.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #f0f3ff;
}
.modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 18px;
    font-weight: 500;
    color:#1f2021;
}
/* свойства для кнопки "Закрыть" */
.close {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    text-decoration: none;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}
/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
    overflow: auto;
}
@media screen and (max-width: 780px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  menu li a span {
    display: none;
  }
  menu .menu {
    padding-left: 10px;
    padding-right: 10px;
  }

  nav {
    padding-left: 10px;
    padding-right: 10px;
  }

  main {
    padding-left: 10px;
    padding-right: 10px;
  }

  main .sidebar {
    width: calc(33.333333333333336% - 10px);
  }

  main .content {
    width: calc(66.66666666666667% - 10px);
  }

  main .content .cont .file {
    width: 100%;
  }
  main .content .cont .file:nth-child(odd) {
    margin-left: 0;
  }
  main .content .cont .file:not(:last-child) {
	margin-bottom:30px;
  }
  main .content .forumLeft {
	max-width:100%;
  }
  main .content .forum .title {
	padding: 15px 10px;
  }
  main .content .forum .forumItem {
	padding: 10px 10px;
  }
  main .content .forumLeft .img, main .content .forumPost .img {
	width: 50px;
    height: 40px;
  }
  main .content .forumLeft p, main .content .postText {
	margin-left: 50px;
  }
  main .content .forumPost .postTitle {
	margin-left: 50px;
  }
  main .content .forumPost .date {
	float: unset;
	display: block;
    margin-top: 0;
	margin-bottom:10px;
  }
  main .content .forumPost .author {
	margin:0;
  }
  main .content .forumLeft .forumLink {
	margin:0;
  }
  main .content .forum .forumRight {
	display:none;
  }
  main .content .cont .votes .addre {
	display: block;
    width: 100%;
	margin-left:0;
}
  .burger {
	line-height: 50px;
    background: #1a1a1a;
    color: #fff;
    width: calc(100% - 40px);
	display:block;
	padding:0 20px;
	font-size:20px;
  }
  .burger i {
	padding-right:10px;
  }
  nav .menu {
	display: none;
    position: absolute;
    width: calc(100% - 20px);
    z-index: 1000;
  }
  nav .menu li {
	display: block;
    width: 100%;
    background: #1a1a1a;
  }
  nav .menu.show {
	  display: block;
 }
}

@media screen and (max-width: 560px) {

    header {
        height: 140px;
    }

  header .logo {
    font-size: 24px;
  }
  main .sidebar {
    width: calc(100% - 10px);
    order: 1;
  }

  main .content {
    width: calc(100% - 10px);
    order: 0;
  }
  main .content .cont .profile .ava {
	float:unset;
	width: 100%;
    text-align: center;
  }
  main .content .cont .profile .ava form{
	display: inline-block;
  }
  main .content .cont .profile p {
	margin-left:0;
  }
    main .content .cont .notice img {
        display: block;
        max-width: unset;
    }
    main .content .cont .info.notice {
        display: block;
        width: 100%;
    }
  footer .about {
    width: calc(100% - 10px);
  }

  footer .about .title {
    width: 100%;
  }

  footer .info {
    width: calc(100% - 10px);
  }

  footer .info {
    padding-right: 0px;
  }

  footer .contact {
    width: calc(100% - 10px);
  }
  footer .copy {
      display: block;
  }
}
