li { display: inline; }
:root {  
--grayL: #666973;
--gray: #383840;
--grayD: #212126;
--black: #0D0D0D;

--light: #f2f2f2;

--primaryL: #834bff;
--primary: #6b42d5;
--primaryD: #533aac;
--secondary: #ed68ab;
--accent: #ffd775;

--font: 'Open Sans',sans-serif;
}
::selection {
background: var(--primary); /* Safari */
}
::-moz-selection {
background: var(--primary); /* Firefox */
}

*, *:before, *:after {
  box-sizing: border-box;
 /*transition: all 0.1s ease-out;*/
  outline: none;
}
a {
  color: inherit;
}
img,
video {
  max-width: 100%;
  max-height: 100%;
  outline: none;
}
iframe {
  border: 0;
}
button {
  font-size: 14px;
  cursor: pointer;
  color: inherit;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 8px;
  text-decoration: none;
  color: var(--light);
  border-radius: 4px;
  border: 2px solid var(--primary);
  background: var(--primary);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.overlay,.embed_overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2vh 2vh 5vh;
  min-height: 100vh;
  z-index: 110;
  background: rgba(0, 0, 0, 0.8);
}

#alert_bottom {
	color:#ffffff;
	text-align: left;
	padding:10px 20px;	
	font-size:16px;
	text-shadow:1px 1px 0 rgba(0,0,0,.5);	
	position:fixed;
	bottom:0;
	left:0;
	right:0;
	z-index:500;	
}
#alert_bottom a {	color:#fff; }
.alert_green { background-color:rgba(60,143,109,0.8); }
.alert_red { background-color: rgba(237,28,41,0.8); }
#alert_bottom a.close {
	float:right;
	font-size:20px;
	line-height:20px;
	padding-left:20px;
	text-decoration:none;
}



.avatar img {
  border-radius:50%;
  margin-right:3px;
  width:26px;
  height:26px;
}

.profile-page-title .avatar img {
  border-radius:50%;
  width:64px;
  height:64px;
  margin-bottom: -10px;
}


.text-center {
  text-align: center;
}
[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer;
}
[data-tooltip]:after {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}
[data-tooltip]:before {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-bottom: 5px;
  margin-left: -80px;
  padding: 7px;
  width: 160px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}


body {
  position: relative;
  height: 100%;
  margin: 0;
  font-size: 14px;
  font-family: var(--font);
  color: var(--light);
  background: var(--black);
}
main {
  padding: 0;
}
aside {
  float: right;
}
header {
  display: flex;
  flex-direction: column;
  background: var(--grayD);
}
nav {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 10px;
  top: 0;
  font-size: 15px;
  z-index: 101;
}
.wrapper {
  width: 100%;
  max-width: 1048px;
  margin: 0 auto;
}


.index_body_bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -5px;
  height: 420px;
  z-index: -1;
  overflow:hidden;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);

}

.body_bg {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -5px;
  height: 420px;
  background-image:  url(https://www.toptal.com/designers/subtlepatterns/patterns/cartographer.png);
  background-position: center;
  filter: brightness(0.6);
  z-index: -1;
}
body.bg header {
  /*min-height: 350px;*/
  background: transparent;
}
body.bg main {
  padding: 0 5vw;
}


.page {
  background: var(--grayD);
  font-size: 16px;
  border-radius: 4px;
  margin-top: 20px;
  margin-bottom: 40px;
}
.page-head {
  padding: 20px;
  border-radius: 4px 4px 0 0;
  background-image: linear-gradient(120deg, var(--primary) 30%, var(--secondary) 100%);
}
.page-head h1 {
  margin: 30px 0 15px;
}
.page-head .subtitle {
  margin: 0 0 40px;
  opacity: 0.6;
}
.page-body {
  line-height: 175%;
  padding: 20px; 
}

.post-page {
  margin-top: 20px;
  display: flex;
}
.post-page main {
  flex-basis: 730px;
}
.post-page aside {
  margin: 0 0 0 20px;
  flex-basis: 300px;
}
nav {
  position: relative;
}
.logo {
  height: 32px;
  display: inline-block;
}
.menu {
  display:none;
  width: 160px;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #efefef;
  color: var(--gray);
  position: absolute;
  top: 60px;
  left: 20px;
  border-radius: 4px;
}
.menu:before {
  content: ''; 
  position: absolute; /* Абсолютное позиционирование */
  left: 20px; 
  top: -19px; /* Положение треугольника */
  border: 10px solid transparent; /* Прозрачные границы */
  border-bottom: 10px solid #efefef; /* Добавляем треугольник */
}
.menu a {
  width: 100%;
  display: inline-block;
  padding: 10px 18px;
  text-decoration: none;
}
.menu a:first-child{
  border-radius: 4px 4px 0 0;
}
.menu a:last-child{
  border-radius: 0 0 4px 4px;
}
.menu a:hover {
  background: #ddd;
}
.menu.is_active {
  display: block;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  margin-right: 20px;
  background: none;
  font-size: 10px;  
  color: var(--light);
  text-decoration: none;
  border: none;
  border-radius: 50px;  
  cursor: pointer;
  opacity: 0.6;
}
.menu-btn:hover {
  opacity: 1;
}
.upload-btn {
box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.upload-btn > i {
  margin-right: 4px;
}
.user-nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.user-nav li {
  display: inline-block;
  margin-left: 4px;
}
.user-nav li a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px 2px;
  border-radius: 16px;
  font-size: 15px;
  height: 32px;
  text-decoration: none;
}
.user-nav li a:hover {
  background: rgba(0, 0, 0, 0.5);
}
li.user-nav-profile {
  display: inline-flex;
  justify-content: center;
}
li.user-nav-profile a {
  margin-right: 4px;
  padding: 0;
  border-radius: 0;
  font-size: 15px;
  height: auto;
}
li.user-nav-profile a:hover { 
  background: none;
}
li.user-nav-profile var { 
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-style: normal;
}
li.user-nav-profile var:before {
  content: "(";
  margin-right: 1px;
}
li.user-nav-profile var:after {
  content: ")";
  margin-left: 1px;
}
li.user-nav-profile var:before,
li.user-nav-profile var:after {
  opacity: 0.4;
}

.search-box {
  margin: auto;
  overflow: hidden;
} 
.search-form {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
}
.search-input {
  height: 100%;
  padding: 0 10px;
  border: none;
  color: var(--light);
  background: none;
  outline: none;
  font-size: 14px;
  
}
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 32px;
  width: 32px;
  font-size: inherit;
  background: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

.index-page-title {
  font-size: 20px;
  margin: 15px 0 0;
}
.trending-tags {
  margin: 16px 0;
  padding: 0 5vw;
  display: inline-block;
}
.trending-tags_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  padding: 0 6px;  
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.5px;
  text-align: left;
  text-transform: uppercase;
}
.trending-tags_label {
  opacity: .7;   
}
.trending-tags_toggle {
  opacity: .7;
  text-decoration: none;
}
.trending-tags_toggle:hover {
  opacity: 1;
}
.trending-tags_list {
  margin: 0;
  padding: 5px 0 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: left;
  height: 145px;
  overflow: hidden;
}
.trending-tags_list.is_active {
  height: auto;
}
.trending-tags_list li > a {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 110px;
  height: 130px;
  margin: 6px;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  /*
  background-image: url(https://i.imgur.com/c9WHHFu_d.jpg?maxwidth=800&shape=thumb&fidelity=high);
  background-repeat: repeat-x;
  background-position: 100% 0;
  */
  background-size: auto 70px;
  transition: 0.25s; 
}
.trending-tags_list li > a:hover {
  margin-top: -2px;
}
.trending-tags_list b {
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
  text-transform: capitalize;
  word-break: break-word;
  background: var(--primary);
  
  text-shadow: 0px 0px 3px black;
  
}
.trending-tags_list b > span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.5;
}
/*.trending-tags_list li:nth-child(1) > a {
  background-image: url(https://i.imgur.com/e9C2F3w_d.jpg?maxwidth=800&shape=thumb&fidelity=high);
}
.trending-tags_list li:nth-child(3) > a {
  background-image: url(https://i.imgur.com/gmFssAG_d.jpg?maxwidth=800&shape=thumb&fidelity=high);
}
.trending-tags_list li:nth-child(4) > a {
  background-image: url(https://i.imgur.com/tUX1dpv_d.jpg?maxwidth=800&shape=thumb&fidelity=high);
}
.trending-tags_list li:nth-child(1) b {
  background-color: #3c2a44;
}
.trending-tags_list li:nth-child(3) b {
  background-color: #303e48;
}
.trending-tags li:nth-child(4) b {
  background-color: #263ba7;
}*/

.tag-titile {
  margin: 0;
  font-size: 52px;
}
.tag-subtitile {
  text-transform: uppercase;
  font-size: 16px;
  margin: 10px 0 20px;
  letter-spacing: 0.5px;
  font-weight: 500;
  opacity: 0.7;
}
.gallery-change {
  display: flex;
  margin: 0 0 16px;
  padding: 0 5vw;
}
.gallery-view {
  flex-shrink: 0;
  margin-left: 20px;
}
.gallery-view > span {
  display: inline-block;
  width: 30px;
  height: 30px;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  margin-left: 5px;
  cursor: pointer;
  opacity: 0.5;
  text-shadow: 0px 0px 3px black;
}
.gallery-view > span.pause {
  margin-right: 15px;
}
.gallery-view > span.is_active {
  opacity: 1;
}

.gallery-sort {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}
.sort-item {
  position: relative;
  margin-left: 16px;
}
.sort-item-link {
  height: 30px;
  border: none;
  background: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;  
  opacity: 0.7;
  text-shadow: 0px 0px 3px black;
}
.sort-item-link > i {
  margin-left: 4px;
}
.sort-item-menu {
  display: none;
  position: absolute;
  top: 36px;
  right: -22px;
  margin: 0;
  padding: 5px 0 10px;
  list-style: none;
  border-radius: 6px;
  background: var(--grayD);
  box-shadow: 0 9px 25px 0 rgba(0,0,0,.78);
  z-index: 10;
}
.sort-item.is_active .sort-item-menu {
  display: block;
}
.sort-item-menu:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: -9px;
  right: 24px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--grayD);
}
.sort-item-menu li {

}
.sort-item-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.7;
  cursor: pointer;
}
.sort-item-menu a.is_active {
  font-weight: 500;
  opacity: 1;
}
.sort-item-menu li:hover {
  background-color: rgba(204, 204, 204, 0.3)
}


.post-list {
  text-align: center;
}
.post-list .post-item {
  text-align: left;
}
.post-list .item-media img,
.post-list .item-media video {
  max-width: none;
  max-height: none;
  width: 230px;
  height: 185px;
  object-fit: cover;
}


.profile-content
{
	width:100%;
}

.post-grid {
  margin: 20px auto;
}


.post-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;

  border-radius: 4px;
  background: var(--grayD);
  overflow: hidden;
  
  width: 230px;
  margin-right:20px;
  
margin-left: 5px;
margin-right: 5px;  
}

.item-media {
  font-size: 0;
}
.item-media img {

}
.item-meta {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 12px;
  line-height: 16px;
}
.item-meta > span {
  display: inline-block;
  padding: 2px 7px 1px;
  border-radius: 3px;
}
.item-meta-count {
  background: var(--grayD);
}

.item-title-box {
  padding: 12px 15px;
  width: 100%;
}
.item-title {
  font-size: 16px;
  word-break: break-word;
}
.item-info {
  list-style: none;
  margin: 8px 0 2px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  opacity: 0.5
}
.item-info li  {
  
}
.item-info li > i {
  margin-right: 3px;
}
.item-info li a {
  text-decoration: none;
}
.item-info li.count-votes {

}
.item-info li.count-votes.is_active .count-votes-dislike {
  color: var(--secondary);
}
.item-info li.count-votes.is_active .count-votes-like {
  color: #4ae643;
} 

.item-info li.count-comments {

}

.post-page {

}
.post-header {
  padding: 20px;
}
.post-title {
  display: block;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
}
.post-title-meta {
  color: var(--grayL);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.post-title-meta .Avatar {    
  display: inline-flex;
  font-size: 0;    
}
.post-title-meta .Avatar img {
  margin-right: 5px;
  height: 24px;
  width: 24px;
}
.post-title-meta a {
  font-weight: 500;
  text-decoration: none;
}
.post-title-meta a.avatar {
  font-size: 0;
}
.post-title-meta time {

}
.post-title-meta time:before,
.post-title-meta a.meta-link:before {
  content: '·';
  margin: 0 4px;
}
.post-title-meta span {
  
}
.next-prev {
  float: right;
  display: inline-flex;
}
.next-prev > a {
  margin: 0 2px;
  font-size: 14px;
  line-height: 14px;
}
.next-prev > a i {
  margin: 0 4px;
}
.post-container {
  background: var(--grayD);
}

.post-image-meta {
  padding: 20px;
}
.post-images figure {
  margin: 0;
  font-size: 0;
  text-align: center;
  background: #000;
}
.post-images figcaption {
  font-size: 15px;
  line-height: 140%;
  padding: 10px 20px;
  text-align: left;
  background: var(--grayD);
}
.post-images figcaption > p {
  margin-top: 0;
}
.post-image-tags {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.post-image-tags li {
  display: inline-block;
  margin: 0 10px 0 0;
}
.post-image-tags a {
  display: inline-flex;
  padding: 0 20px;
  height: 36px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--gray);
  border-radius: 36px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-shadow: 0 0 4px #000;
}
.tag-bg {
  background-position: center;
  background-size: cover; 
}


.post-image-action {
  display: flex;
  align-items: center;
}
.post-image-rating {
  font-size: 16px;
}
.post-image-rating button,
.favorite-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  padding: 0;  
  border: 0;
  border-radius: 3px;
  background-color: var(--gray);
  transition: 200ms;
}
.post-image-rating button:hover,
.favorite-btn:hover {
  opacity: 0.8;
}
.rating-up {

}
.rating-down {

}

.rating-up.is_active, .rating-down.is_active
{
	background-color: var(--primary);
}

.rating-count {
  padding: 0 5px;
  font-weight: 700;
  cursor: default;  
}
.favorite-btn {
  opacity: 0.5;
  margin-left: 10px;
  background: none;
  font-size: 16px;
  white-space: nowrap;
}

.social {
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.social li {
  display: inline-block;
  margin-right: 15px; 
}
.social a, .social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  border-radius: 32px;
  text-decoration: none;
}
.siuf {
  color: var(--grayL);
  line-height: 175%;
  padding: 0 5vw;
}
.index-link-more {
  display: block;
  width: 230px;
  margin: 20px auto;
  border: 2px solid var(--grayD);
  padding: 10px;
  border-radius: 4px;
  color: var(--grayL);  
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
}
.index-link-more:hover {
  border-color: var(--grayL);
  color: var(--light);
}
.social i {

}
.i-facebook {
  background-color: #4267b2;
}
.i-vk {
  background-color: #4a76a8;
}
.i-twitter {
  background-color: #55acee;
}
.i-news2 {  
  color: transparent;
  background: url(../images/news2.png) center center no-repeat;
  background-size: 50%;
  background-color: #4bbd3a;
}




.post-image-options {
  position: relative;
}
.post-image-options > span {
  display: inline-block;
  height: 32px;
  padding: 0 10px;
  line-height: 32px;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.5;
}
.post-image-options.is_active > span {
  color: var(--gray);
  background: var(--light); 
  border-radius: 3px 3px 0 0;
  opacity: 1;
}
.post-image-options-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 5px 0;

  position: absolute;
  top: 27px;
  right: 0;
  border-radius: 3px 0 3px 3px;
  background: var(--light);
  z-index: 10;
}
.post-image-options.is_active .post-image-options-list {
  display: inline-block;
}
.post-image-options-list li {
  
}
.post-image-options-list a {
  display: block;
  padding: 6px 12px 6px 10px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--grayD);
  opacity: 0.8;
}
.post-image-options-list a:hover {
  opacity: 1;
}
.post-image-options-list i {
  display: inline-block;
  width: 14px;
  text-align: center;
  margin-right: 8px;
  font-size: 14px;
  color: var(--grayL);
}
.post-image-options-list span {
  font-weight: 600;
}



.comment-form {
  background: var(--grayD);
  position: relative;
  margin: 12px 0 0 30px;
  padding: 10px 15px 15px;
  border: none;
  border-radius: 0 3px 3px 3px;
  cursor: text;
}
.comment-form:before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  left: -9px;
  border-width: 0 10px 10px 0;
  border-style: solid;
  border-color: transparent var(--grayD);
}
.comment-text {
  display: block;
  width: 100%;
  height: 55px;
  resize: none;
  padding: 6px 30px 6px 0;
  margin: 0 0 10px;
  border-radius: 4px;
  font-size: 15px;
  border: none;
  outline: none;
  background: none;
  color: var(--light);
  font-family: var(--font);
}

.comment-img-preview {
  display: inline-block;
  position: relative;
  max-height: 100px;
  overflow: hidden;
  border-radius: 3px;
}
.comment-img-preview img {
  height: 100px;
}
.comment-img-preview i {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-block;
  width: 15px;
  padding: 0 1px 0 0;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0.6;
}
.comment-img-preview i:hover {
  opacity: 1;
}
.comment-form-panel {
  display: flex;
  align-items: center;
}
.comment-send-btn {
  min-height: 40px;
  padding: 0 12px;
}
.comment-send-btn:disabled {
  background: var(--grayL);
  border-color: var(--grayL);
  cursor: not-allowed;
}
.comment-gif-btn {
  min-height: 28px;
  padding: 0 6px;
  margin: 0 20px 0 5px; 
  color: var(--light);
  border-color: var(--light);
  background: none;
  outline: none;
}
.comment-rules {
  align-self: flex-end;
  margin-right: auto;
  text-decoration: none;
  opacity: 0.5;
  font-size: 12px;
}
.comment-rules:hover {
  opacity: 0.8;
  color: var(--secondary);
}
.comment-symbol-counter {
  position: absolute;
  top: 30px;
  right: 15px;
  font-size: 12px;
  opacity: 0.5;
  z-index: 2;
}
.comment-form-replay-closeBtn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 16px;
  opacity: 0.5;
  z-index: 2;
  cursor: pointer;
}
.comment-form-replay-closeBtn:hover {
  opacity: 1;
}


div#cf0 .comment-form {
  margin: 20px 0 40px;
  border: 2px solid var(--gray);
  border-radius: 4px;
}
div#cf0 .comment-form:before {
  display: none;
}
div#cf0 .comment-symbol-counter {
  top: 10px;
}




































.comment-gif-container {
  position: relative;
}
.gifpicker {
  display: none;
  position: absolute;
  bottom: 55px;
  left: -148px;  
  width: 350px;
  height: 490px;
  border-radius: 6px;
  background-image: linear-gradient(to top,#474a51,#1f2b59);
  box-shadow: 0 13px 47px 0 #141518, 0 0 30px 0 rgba(0,0,0,.26);
  z-index: 101;
}
.gifpicker.is_active {
  display: block;
}
.gifpicker::after {
  content: ' ';
  display: block;
  position: absolute;
  vertical-align: middle;
  margin-left: -12px;
  border-top: solid 12px #474a51;
  border-left: solid 12px transparent;
  border-right: solid 12px transparent;
  bottom: -12px;
  left: 50%;
  width: 5px;
}
.gifpicker-header {
  display: flex;
  align-items: center;
  height: 60px;
  background: linear-gradient(to bottom,#353aab,#5745ca);
  border-radius: 6px 6px 0 0;
  padding: 0 0 0 30px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #fff;
}

.gifpicker-subheader {
  display: flex;
  align-items: center;
  margin: 10px 0 -20px;
  padding: 0 30px;
  min-height: 50px;
  font-size: 18px;
}
.gifpicker-subheader h3 {
  margin: 0 25px 0 0;
  width: 100%;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.gifpicker-back {
  display: inline-block;
  width: 25px;
  height: 30px;
  line-height: 30px;
  text-decoration: none; 
}

.gifpicker-scroll-content {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.gifpicker-scroll-content::after {
  content: ' ';
  display: block;
  position: absolute;
  height: 30px;
  background: linear-gradient(to bottom,rgba(71,74,81,0),#454850);
  width: 100%;
  z-index: 2;
  bottom: 0;
  left: 0;
}
.pane {
  position: absolute;
  top: 30px;
  bottom: 0;
  right: 0;
  padding: 0 10px; 
  width: 6px;
  transition: .2s;
  box-sizing: content-box;
}
.slider {
  position: relative;
  width: 6px;
  border-radius: 3px;
  background: var(--light);
  opacity: 0.15;
}
.gifpicker-body {
  position: absolute;
  overflow: scroll;
  overflow-x: hidden;
  height: 400px;
  left: 0;
  right: -17px;
}
.gifpicker-list {
  list-style: none;
  margin: 0;
  padding: 30px;
  display: block;
  column-gap: 7px;
  column-count: 2;
}
.gifpicker-list li {
  position: relative;
  display: block;
  margin: 0 0 7px;
  font-size: 0;
  border-radius: 3px;
  overflow: hidden;
}
.gifpicker-list a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  width: 100%;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.2);
  outline-offset: -4px;
  outline: transparent solid 4px;
}
.gifpicker-list a:hover {
  outline: var(--secondary) solid 4px;
}
.gifpicker-list a:hover h2 {
  text-shadow: 0 2px 4px rgba(0,0,0,.5), 0 2px 24px var(--secondary); 
}
.gifpicker-list h2 {
  position: absolute;
  margin: 0;
  padding: 2px;
  width: 100%;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,.5), 0 2px 24px rgba(0,0,0,.5);
}
.gifpicker-list img {
  max-height: none;
}



.comments {
  margin: 0 0 60px;
}
.comments b {
  display: inline-block;
  text-transform: uppercase;
  height: 20px;
  line-height: 20px;
}
.comment-box {
  position: relative;
  margin: 20px 0;
}
.comment-vote {
  opacity: 0;
  position: absolute;
  top: 0;
  left: -50px;
  padding: 3px 20px 20px 10px;
  display: flex;
  flex-direction: column;
}
.comment-vote button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 25px;
  border: 0;
  width: 30px;
  background-color: var(--gray);
  transition: 200ms; 
}
.comment-vote-up {
  border-radius: 3px 3px 0 0;
  padding-top: 2px;
}
.comment-vote-down {
  border-radius: 0 0 3px 3px;
  padding-bottom: 2px;
}

.language-select {
  border: 0;
  border-radius: 20px;
  padding: 8px;
  text-transform: uppercase;
  font-size: 11px;
  margin-left: 5px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--light);
  outline: none;
  cursor: pointer;
}
.language-select option {
  background: rgba(0, 0, 0, 0.5); 
}
.usertext {
  position: relative;
  margin: 0 0 12px;
  padding: 10px 15px;
  border-radius: 3px 3px 3px 0;
  background: var(--gray);
}
.usertext:before {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: -9px;
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: transparent var(--gray);
}
.usertext:hover .comment-vote,
.usertext:hover .usertext-create-reply {
  opacity: 1;
}
.usertext-head {
  color: var(--grayL);
  font-size: 14px;
}
.usertext-author {
  color: var(--accent);
  margin-right: 10px;
  text-decoration: none;
}
.usertext-date {
  margin-right: 5px;
}
.usertext-options {
  display: inline-block;
  position: relative;
}
.usertext-options-btn {
  display: inline-block;
  padding: 3px 10px;
  cursor: pointer;
}
.usertext-options-btn:hover {
  color: var(--light);
  opacity: 0.6;
}
.usertext-options-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 5px 0;
  border-radius: 0 3px 3px 3px;
  overflow: hidden;
  position: absolute;
  left: 0px;
  top: 20px;
  color: var(--gray);
  background: var(--light);
}
.usertext-options-list li {
}
.usertext-options-list a {
  display: block;
  padding: 6px 12px 6px 10px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--grayD);
  opacity: 0.8;
}
.usertext-options-list a:hover {
  opacity: 1;
}
.usertext-options.is_active .usertext-options-list {
  display: inline-block;
}
.usertext-options.is_active .usertext-options-btn {
  color: var(--gray);
  background: var(--light);
  border-radius: 3px 3px 0 0;
  opacity: 1;
}
.usertext-create-reply {
  opacity: 0;
  display: flex;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 0 3px 3px 0;
  background: var(--grayL);
  cursor: pointer;
}
.usertext-body {
  font-size: 15px;
  line-height: 140%;
  margin: 3px 0;
}
.comment-replay-count {
  display: none;
}
.usertext-body .c_img img,
.comment-form .img_placeholder > img {
  max-height:90px;
}


.side-gallery {
  
}
.sg-header {
  padding: 10px 0;
}
.sg-title {
  font-weight: 400;
  text-transform: uppercase;
}
.sg-subtitle {

}
.sg-list {
 list-style: none;
 margin: 0;
 padding: 0;
}
.sg-item {
}
.sg-item a {
  display: flex;
  align-items: center;
  height: 80px;
  margin-bottom: 4px; 
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  background: var(--grayD);
}
.sg-item i {
  display: inline-block;
  height: 100px;
  width: 100px;
  background-position: center;
  background-size: cover;
}
.sg-image {
  width: 90px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sg-image img {
  object-fit: contain;
}
.sg-item span {
  position: relative;
  display: inline-block;
  max-height: 100%;
  padding: 10px;
  overflow: hidden;
}
.sg-item span:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(transparent 0%, var(--grayD) 100%);
}
.upload-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
}
.upload-box {
  position: absolute; 
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  margin: 10vh auto;
  background: var(--gray);
  border-radius: 6px;
}
.upload-box > .close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -20px;
  right: -20px;
  width: 42px;
  height: 42px;
  border-radius: 32px;
  background: var(--grayL);
  outline: none;
  z-index: 6;
  font-size: 20px;
  border: 0;
  box-shadow: 0 0 5px rgba(13, 13, 13, 0.3), 0 0 15px rgba(13, 13, 13, 0.5);
}
.upload-dragdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 0;
  width: 100%;
  border-radius: 6px 6px 0 0;
  /*background-image: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);*/
  background: url(../images/upload_bg.jpg) 50% 50% no-repeat;
  background-size: cover;
}
.btn-upload {
  padding: 14px;
  line-height: 20px;
  font-size: 18px;
  border: 0;
  margin: 15px 20px 20px;
  display: block;
  width: calc(100% - 40px);
  background: #359826; 
}

.upload-dragdrop-label {
  display: flex;
  width: 270px;
  margin: 0 auto;
  height: 72px;
  align-items: center;
  justify-content: center;
  border: 3px dashed rgba(255, 255, 255, 0.4);
  border-radius: 6px;
}
.upload-actions {
  text-align: center;
  padding: 50px 0 0;
}
.upload-file {
	min-height:230px;
}
.upload-divider {
  display: inline-block;
  position: relative;
  margin: 10px auto 20px;
  padding: 0 50px;
  height: 23px;
  font-weight: 500;
}
.upload-divider::before,
.upload-divider::after {
  content: '';
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--light);
  opacity: .12; 
}
.upload-divider::before {
  top: 11px;
  left: 0;
}
.upload-divider::after {
  top: 11px;
  right: 0;
}
.upload-link {
  height: 36px;
  width: 270px;
  margin: 0 auto 20px;
}
.upload-link input {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  text-align: center;
  font-size: 15px;
  color: var(--light);
  background: var(--grayD);
  border: none;
  outline: none;
  font-family: var(--font);
  border: 1px solid transparent;
}
.upload-link input::-webkit-input-placeholder {color: var(--light);}
.upload-link input::-moz-placeholder          {color: var(--light);}
.upload-link input:-moz-placeholder           {color: var(--light);}
.upload-link input:-ms-input-placeholder      {color: var(--light);}

.upload-link input:hover {
  opacity: 0.6;
  border-color: var(--primary);
}
.upload-rules {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0;
  opacity: 0.8;
  font-size: 13px;
}
.upload-rules a {
  text-decoration: none;
  color: var(--secondary);
}


.upload-title {
  position: relative;
  margin: 32px 0 16px;
}
.upload-title input {
  display: flex;
  width: 100%;
  padding: 2px 0;
  border: 0; 
  background: none;
  height: 34px;
  line-height: 30px;
  font-size: 24px;
  color: var(--light);
  outline: none;
}
.upload-title label {
  position: absolute;
  display: none;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0.5;
  width: 100%;
  padding: 2px 0;
  height: 34px;
  line-height: 30px;
  font-size: 24px;
  cursor: text;
}
.upload-title input:not(:focus) + label {
  display: flex;
}
.upload-title input:valid + label {
  display: none;
}
.upload-content {
  position: relative;
  margin-bottom: 32px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--gray);
}
.upload-file {
  position: relative;
  font-size: 0;
  text-align: center;
  background: var(--grayD);
}
.upload-file:hover .upload-file-options {
  display: block;
}
.upload-file-options {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
}
.upload-file-options .btn {
  background: var(--grayD);
  border-color: var(--grayD);
}
.upload-file-options .btn:hover {
  background: var(--gray);
  border-color: var(--gray);
}

.share-link-box {
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px;
  font-size: initial;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.75);
}
.upload-file:hover .share-link-box {
  height: auto;
}
.share-link-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 5px;
}
.share-link-group:first-child {
  padding-top: 10px;
}
.share-link-group:last-child {
  margin-bottom: 0;
  padding-bottom: 10px;
}
.share-link-group label {
  font-size: 12px;
  margin: 0 0 6px;
  font-weight: 600;
}
.share-link-group label span {
  font-weight: 400;
  color: var(--grayL);
}
.share-link-group > i {
  display: block;
  font-style: normal;
  position: relative;
  height: 27px;
}
.share-link-group input {
  border: 0;
  padding: 5px 10px;
  border-radius: 2px;  
  width: 100%;
  height: 100%;
  color: var(--grayL);
  background: rgba(0, 0, 0, 0.6);
}
.share-link-group button {
  position: absolute;
  right: 0;
  top: -3px;
  bottom: 0;
  border: 0;
  padding: 5px 10px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  line-height: 17px;
  font-size: 13px;
  background: none;
}


.upload-file img {

}
.upload-file-description {

}
.upload-file-description textarea {
  display: block;
  width: calc(100% - 40px);
  resize: vertical;
  height: 50px;
  padding: 10px 20px;
  margin: 0;
  border-radius: 4px;
  font-size: 16px;
  line-height: 150%;
  border: none;
  outline: none;
  background: none;
  color: var(--light);
  font-family: var(--font);
  box-sizing: content-box;
}
.upload-file-description textarea::-webkit-input-placeholder {color: var(--light);opacity: 0.6;}
.upload-file-description textarea::-moz-placeholder          {color: var(--light);opacity: 0.6;}
.upload-file-description textarea:-moz-placeholder           {color: var(--light);opacity: 0.6;}
.upload-file-description textarea:-ms-input-placeholder      {color: var(--light);opacity: 0.6;}

.blinking-cursor:after {
  content: "|";
  font-weight: 100;
  -webkit-animation: 1s blink step-end infinite;
  -moz-animation: 1s blink step-end infinite;
  -ms-animation: 1s blink step-end infinite;
  -o-animation: 1s blink step-end infinite;
  animation: 1s blink step-end infinite;
}


@keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: inherit;
  }
}

@-moz-keyframes blink {
  from, to {
    color: transparent;
  }
  50% {
    color: inherit;
  }
}

@-webkit-keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: inherit;
  }
}

@-ms-keyframes "blink" {
  from, to {
    color: transparent;
  }
  50% {
    color: inherit;
  }
}

.ui-sortable {
  list-style: none;
  margin: 0 -10px;
  padding: 0;
  font-size: 0;
  counter-reset: section;
}
.ui-sortable li {
  display: inline-block;
  position: relative;
  counter-increment: section;
  cursor: grab;
  margin: 10px;
  border-radius: 3px;
  overflow: hidden;
}
.ui-sortable li:before {
  content: counters(section,"");
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 24px;
  font-size: 14px;
  background: var(--primary);
}


.post-page aside.upload-aside {
  margin: 70px 0 0 40px;
}
.options {
  margin-bottom: 60px;
}
.options-title {
  display: inline-block;
  text-transform: uppercase;
  height: 20px;
  line-height: 20px;
  margin-bottom: 10px;
}
.options-body {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}
.options-body a {    
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  font-size: 16px;
  opacity: 0.6;
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
}
.options-body a > i {
  display: inline-block;
  margin-right: 15px;
}
.options-body a:hover {
  opacity: 1;
}
.options-body a.is_active {
  opacity: 1;
  color: var(--secondary);
}




.option-toggled {
  display: inline-flex;
}
.option-toggled input[type=checkbox]{
  margin: 0;
  height: 0;
  width: 0;
  visibility: hidden;
}
.option-toggled label {
  cursor: pointer;
  text-indent: -100px;
  margin-left: 100px;
  width: 28px;
  height: 16px;
  line-height: 16px;
  background: var(--gray);
  display: block;
  border-radius: 24px;
  position: relative;
}
.option-toggled label:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: var(--light);
  border-radius: 20px;
  transition: 0.3s;
}
.option-toggled input:checked + label {
  background: var(--primary);
}
.option-toggled input:checked + label:after {
  left: calc(100% - 2px);
  transform: translateX(-100%);
}
.option-toggled label:active:after {
  width: 24px;
}









.PostSubmit .btn {
  height: 48px;
  margin: 10px 0;
  padding: 10px 20px;
  border-radius: 4px; 
  font-weight: 600;
  font-size: inherit;
  letter-spacing: 0.2px;
}
.PostSubmit .btn-community {
  margin-right: 8px;
}
.PostSubmit .btn-hidden {
  background: var(--grayD);
  border-color: var(--grayD);
}

.is-mature {
  margin: 10px 0;
}
.checkbox {
  position: absolute;
  opacity: 0;
}
.checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0;
}
.checkbox + label:before {
  content: '';
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  background-color: var(--grayD);
}
.checkbox:hover + label:before {
  background: var(--gray);
}
.checkbox:checked + label:before {
  background: var(--gray);
}
.checkbox:disabled + label {
  color: #b8b8b8;
  cursor: auto;
}
.checkbox:disabled + label:before {
  box-shadow: none;
  background: #ddd;
}
.checkbox:checked + label:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 9px;
  background: white;
  width: 2px;
  height: 2px;
  box-shadow: 2px 0 0 white,
              4px 0 0 white,
              4px -2px 0 white,
              4px -4px 0 white,
              4px -6px 0 white,
              4px -8px 0 white;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}



#trigger-upload {
    color: white;
    background-color: #00ABC7;
    padding: 7px 20px;
    background-image: none;
}


.login-page {
  margin-top: 20px;
}
.sing {
  display: flex;
  background: var(--gray);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  height: 550px;  
}
.sing-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 50%;
  width: 50%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;  
  text-align: center;
  font-size: 16px;
  transition: all 1.2s ease-in-out;
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 2;
}
.sing-overlay h2 {
  font-size: 30px;
  margin: 0 auto 16px;
}
.sing-overlay p {
  margin: 0 auto 32px;
}
.sing-overlay button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  background: none;
  border: 2px solid;
  border-radius: 4px;
}
.register-overlay { 
  display: none;
}
.sing.up .sing-overlay      {left: 0;}
.sing.up .register-overlay  {display: initial;}
.sing.up .login-overlay     {display: none;}


.sing-form {
  background: var(--grayD);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 16px;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}
.sing-form a {
  text-decoration: none;
}
.sing-form h2 {
  font-size: 30px;
  margin-top: 0;
}
.sing-form input {
  display: inline-block;
  width: 100%;
  padding: 12px 15px;
  margin: 8px 0;
  border: none;
  border-radius: 3px;
  color: var(--light);
  background: var(--gray);
  outline: none;
  font-size: inherit;
}
.sing-form span {
  display: block;
  font-size: 14px;
  opacity: 0.6;
  text-align: center;
  margin: 20px 0 6px;
}
.sing-form .btn {
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 24px;
}
.sing-form-group {
  display: flex;
  align-items: center;    
  justify-content: space-between;
  width: 100%;
}
a.pwd-help {
  font-size: 14px;
  color: var(--secondary);
  opacity: 0.8;
}
a.pwd-help:hover {
  opacity: 1;
}
.sing-form-end {
  margin-top: 12px;
}
.sing-form .img-captcha {
  height: 42px;
  border-radius: 3px;
  margin-right: 6px;
}
.vk-login {
  text-decoration: none;
  display: inline-block;
  padding: 12px 24px 12px 20px;
  font-size: 16px;  
  background: none;
  border: 2px solid var(--gray);
  border-radius: 4px;
}
.vk-login > i {
  color: #4a76a8;
  font-size: 18px;
  margin-right: 6px;
}
.vk-login:hover {
  border-color: #4a76a8;
}


.login {
  position: relative;
  width: 50%;
}
.register {
  position: relative;
  width: 50%;
}

.ui-helper-hidden-accessible {
  display: none;
}

#embed_placeholder {
  padding: 10px;
  background: var(--grayD);
  border-radius: 6px;
  max-width: 520px;
}
#embed_placeholder > h3 {
  font-size: 24px;
  margin: 0 0 6px;
}
#embed_placeholder > span {
  opacity: 0.6;
  display: inline-block;
  margin: 0 0 10px
}
#embed_placeholder blockquote {
  margin: 0;
}
/*
#embed_placeholder iframe {
  height: 100%;
  width: 100%;
  min-height: 500px;
  margin: 10px 0 0;
  padding: 0px;
  border: 0;
  border-radius: 4px;
}
*/
.repost-link {
  display: flex;
  margin-bottom: 16px;
}
.repost-link input {
  border: none;
  border-radius: 4px 0 0 4px;
  padding: 6px;
  flex-grow: 1;
}
.repost-link button {
  border-radius: 0 4px 4px 0; 
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-list li {
  padding: 15px;
  border-bottom: 1px solid var(--gray);
}
.faq-list li:last-child {
  border-bottom: none;
}
.faq-list .question-link {
  display: block;
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  font-size: 18px;
  margin: 8px 0;  
}
.faq-list li > p {
  margin: 0 0 8px;
  line-height: 175%;
}

.rule-list {
  margin: 0 0 0 16px;
  padding: 15px;
}
.rule-list li {
  margin-bottom: 16px;
}


.feedback .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.feedback .form-group label {
  opacity: 0.6;
  margin-bottom: 6px;
}
.feedback .form-group input[type="text"],
.feedback .form-group textarea {
  font-size: 16px;
  padding: 12px;
  line-height: 20px;
  color: var(--light);
  background: none;
  border: 1px solid var(--gray);
  border-radius: 2px;
  font-family: inherit;
}
.feedback .form-group textarea {
  resize: vertical;
}
.feedback .form-group .btn {
  align-self: flex-end;
  cursor: pointer;
  padding: 14px 20px;
  font-size: 16px;
  line-height: initial;
  height: auto;
}
.feedback .error_message {
  display: inline-block;
  margin-top: 6px;
  color: var(--secondary);
}

.profile-page {
  display: flex;
}
.profile-page-title {
  font-weight: 900;
  font-size: 60px;
  line-height: 54px;
  text-transform: uppercase;
  margin: 43px 0 50px;
  color: var(--primaryL);
  color: var(--grayL);
}
.profile-aside {
  width: 290px;
  margin-right: 30px;
}
/*
.profile-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background-image: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 4px;
  padding: 15px;
  padding-left: 95px;
  min-height: 100px;
}
.profile-card img {
  position: absolute;
  left: 15px;
  width: 64px;
  height: 64px;
  border-radius: 50px;
}
.profile-name {
  font-weight: 600;
}
.profile-settings {
  text-decoration: none;
}
*/
.profile-nav {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.profile-nav a {
  display: inline-block;
  padding: 10px;
  text-decoration: none;
  opacity: 0.6;
}
.profile-nav a:hover {
  opacity: 1;
}
.profile-nav a.is-active {
  opacity: 1;
  font-weight: 600;
  color: var(--secondary);
}

.settings-block {
  border: 1px solid var(--gray);
  border-radius: 4px;
  padding: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.form-group label {
  height: 21px;
  padding-bottom: 5px;
  font-size: 12px;
  color: var(--grayL);
  letter-spacing: 0.8px;
  line-height: 16px;
  text-transform: uppercase;
}
.form-group input {
  line-height: 40px;
  font-size: 19px;
  color: var(--light);
  background: var(--gray);
  border: 0;
  outline: 0;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border-radius: 4px;
}

.tip {
  margin: 6px;
  opacity: 0.6;
}
.avatar-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  margin-bottom: 15px;
}
.profile-avatar-image {
  border-radius: 100px;
  width: 128px;
  height: 128px;
}
.profile-avatar-random-btn {
  background: var(--grayD);
  border: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 30px;
  position: absolute;
  top: 0;
  left: 100px;
}
.profile-avatar-file-input {
  opacity: 0;
  position: absolute;
  z-index: -1;
}
.profile-avatar-file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  line-height: 20px;
  font-size: 15px;
  cursor: pointer;
}
.profile-form-divider {
  display: flex;
  text-transform: uppercase;
  margin: 40px 0 20px;
  font-size: 16px;
  position: relative;
}
.profile-form-divider:after {
  content: '';
  position: absolute;
  bottom: 50%;
  left: 0;
  right: 0;
  height: 1px;
  width: 100%;
  background: var(--gray);
  z-index: -1;
}
.profile-form-divider span {
  display: inline-block;
  padding-right: 15px;
  background: var(--black);
}
.profile-settings-save-btn {
  font-size: 19px;
  color: var(--light);
  outline: 0;
  height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  margin: 30px 0 0;
  border: 1px solid var(--primaryD);
  background: no-repeat;
}

.teaser {
  font-size:10px;
  opacity:0.5;
}

#alert_bottom {
  color:#fff;
  padding:10px 20px;
  font-size:16px;
  text-shadow:1px 1px 0 rgba(0,0,0,0.5);
  max-width: 1048px;
  margin: 0 auto 20px;  
}
#alert_bottom a {
  color:#fff;
  float:right;
  font-size:20px;
  line-height:20px;
  padding-left:20px;
  text-decoration:none;
}

.alert_green {
  background-color:rgba(60,143,109,0.8);
}
.alert_red {
  background-color: rgba(237,28,41,0.8);
}

.h1_center {
  text-align:center;
}

.tag_head {
	text-align:center;
	height:220px;
}
.tag_head h1 {
	font-size:50px;
}

.mobile-menu {
  display: flex;
  flex-grow: 1;
}
.humburger {
  display: none;
  height: 32px;
  width: 32px;
  position: relative;
  margin-left: auto;
}
.humburger .l1,.humburger .l2,.humburger .l3 {
  position: absolute;
  display: block;
  margin: auto;
  top: 48%;
  left: 15%;
  height: 3px;
  width: 70%;
  background-color: var(--light);
  transition: all .2s ease-out;
}
.humburger .l1 {
  top: 23%;
}
.humburger .l3 {
  top: 73%;
}
.humburger.is-active .l1 {
  transform: rotate(45deg);
  top: 48%;
}
.humburger.is-active .l2{
  opacity: 0;
}
.humburger.is-active .l3 {
  transform: rotate(-45deg);
  top: 48%;
}




/*****************************************************/
/*** Стилизация тегов при публикации/рдактировании ***/
/*****************************************************/

.tags_clear { clear: both; width: 100%; height: 0px; }
.not_valid { background: #FBD8DB !important; color: #90111A !important;}

div.tagsinput {
  border: none;
  height: auto;
  background: rgba(33, 33, 38, 0.6);
  padding: 10px 5px;
  border-radius: 4px;
  overflow-y: auto;
}
div.tagsinput input {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  margin: 0;
  padding: 0 16px;
  color: var(--light) !important;
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border-radius: 36px; 
  border: 1px solid rgba(56, 56, 64, 0.2);
  background: transparent;
  outline: 0;
}
div.tagsinput span.tag {
  float: left;
  background: rgb(107, 66, 213);
  color: var(--light);
  margin-right: 6px;
  margin-bottom: 5px;
  border: none;
  margin: 0 6px 6px 0;
  font-family: var(--font);
  display: inline-flex;
  padding: 0 6px 0 16px;
  height: 36px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 36px;
  font-weight: 500;
  font-size: 14px;
  outline: 0;
}
#tags_tag {
  width: 100% !important;
}
div.tagsinput span.tag a {
  font-weight: bold;
  color: rgba(0, 0, 0, 0.3);
  text-decoration: none;
  height: 20px;
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  border-radius: 26px;
  font-size: 12px;
  padding: 0;
  line-height: 100%;
}

.ui-autocomplete {
  list-style: none;
  padding: 4px 0;
  margin: 25px 0 0;
  background: #efefef;
  color: var(--gray);
  position: absolute;
  border-radius: 4px;
}
.ui-autocomplete::before {
  content: '';
  position: absolute;
  left: 20px;
  top: -19px;
  border: 10px solid transparent;
  border-bottom: 10px solid #efefef;
}
li.ui-menu-item {
  padding: 10px 18px;
  cursor: pointer;    
}
li.ui-menu-item:hover {
  background: #ddd;
}
/*****************************************************/


































@media screen and (max-width: 800px) {
  .page {
    margin-top: 0;
    margin-bottom: 40px;
  }  
	/*aside	{
		display:none;
	}
	aside.upload-aside	{
		display:block;
	}	*/
  .page-head {
    border-radius: 0;
  }
  .post-page {
    /* На малых экранах мы выставляем элементы в колонку */
    flex-direction: column;
  }	
  .user-nav {
    flex-direction: column;
  }
  .user-nav li {
    width: 100%;
    margin: 5px 0;
    justify-content: flex-start;
  }
  .upload-box > .close-btn {
    right: 20px;
	}
  .qq-uploader {
    width: 100%; 
  }
  #fine-uploader-manual-trigger {
    margin: 20px;
    width: calc(100% - 40px);
  }
  .rule-list {
    margin: 0;
    padding: 10px;
    justify-content: flex-start;
  }
  .sing-overlay {
    display: none;
  }
  .login,
  .register {
    width: 100%;
  }
  .sing.in .register {
    display: none;
  }
  .sing.up .login {
    display: none;
  }
  .upload-title {
    padding: 0 10px;
  }
  .upload-title label {
    font-size: 18px;
  }
  .blinking-cursor:after {
    display: none;
  }
  .post-page aside.upload-aside {
    margin: 20px 10px;
    flex-direction: column-reverse;
    display: flex;
  }
  .post-page main {
    flex-basis: auto;
  }
}

















@media screen and (max-width: 1024px) {
  .post-page aside {
    margin: 0 10px;
  }
  .comments b {
    padding: 0 10px;
  }
  .mobile-menu {
    display: none;
  }
  .mobile-menu.is-active {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 50px 10px 15px;
    z-index: -1;
  }
  .menu-btn {
    margin-right: 10px;
  }
  .search-box {
    margin: 5px 0 15px;
  }
  .humburger {
    display: inline-block;
  }
  .profile-page {
    flex-direction: column;
  }
  .profile-page-title {
    margin: 20px 0 0;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .profile-page-title .avatar {
    margin-right: 6px;
    font-size: 0;
    height: 48px;
  }
  .profile-page-title .avatar img {
    height: 48px;
    width: 48px;
  }
  .profile-aside {
    width: 100%;
    margin-right: 0;
    padding: 0 10px;
  }
  .profile-nav {
    margin: 10px 10px 20px;
    text-align: center;
  }
  .profile-nav li {
    display: inline-block;
  }
}