.grid-row {
   /* Prevent vertical gaps */
   line-height: 0;
   -webkit-column-count: 5;
   -webkit-column-gap:   0px;
   -moz-column-count:    5;
   -moz-column-gap:      5px;
   column-count:         5;
   column-gap:           5px;
}

#photos img {
  /* Just in case there are inline attributes */
  width: 100% !important;
  height: auto !important;
}

/* Commentaries block */

.comments {
	background-color: #f6f7f9;
  margin-top: 1rem;
  width: calc(100% - 310px);
}

.comments .video-info {
  position: unset;
  margin: 0;
  padding: 0;
}

.tabs-menu {
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
  color: #26292a;
  padding: 5px 0 0 0;
  margin: 0 0 20px 0;
}

.tabs-menu ul {
	list-style: none;
	padding-left: 0;
}

.tab-content {
	display: block;
  color: #595959;
  background-color: #edeef0;
  box-shadow: unset;
  -webkit-box-shadow: unset;
  border-radius: 4px;
  border: 0;
  padding: 0;

}

.block-info {
  padding: 0.5rem 0;
  width: 100%;
}

.block-comment {
	width: 100%;
	overflow: hidden;
}

.list-comments,
.list-tags {
	letter-spacing: 0;
}

.list-comments {
	overflow: hidden;
	width: 100%;
  letter-spacing: -5px;
  background-color: #edeef0;
  border-radius: 4px;
}

.list-comments,
.list-tags {
	letter-spacing: 0;
}

.list-comments .margin-fix {
	margin: -10px 0 0 -10px;
}

.list-comments .item {
	margin: 10px 0 0 10px;
	color: #595959;
	padding: 10px;
	text-align: left;
	background-color: #edeef0;
}

.list-comments .item.reply-item:before {
  position: absolute;
  left: 0;
  top: -2px;
  width: 100%;
  height: 1px;
  content: '';
  background: #cdd2db;
}

.list-comments .item.reply-item {
  position: relative;
	border: 0;
	border-top: 1px solid #f5f8ff;
}

.list-comments .image {
	float: left;
	width: 86px;
	height: 86px;
	margin: 0 6px 0 0;
}

.list-comments .image .no-thumb {
	background: transparent;
  color: #595959;
  border: 1px solid #cccccc;
  border-radius: 4px;
	display: block;
	width: 86px;
	height: 86px;
	line-height: 86px;
	text-align: center;
}

.reply-item .image .no-thumb {
	font-size: 12px;
	line-height: 14px;
	font-family: Arial, Helvetica, sans-serif;
}

.list-comments .text {
	overflow: hidden;
}

.text {
	margin-top: 15px;
}

.list-comments .comment-options {
	display: flex;
	float: right;
	justify-content: center;
}

.list-comments .comment-options .positive {
	color: #2cb6d7;
	font-weight: 800;
  border: 1px solid #2cb6d7;
  border-radius: 4px;
	padding: 2px 10px;
}

.list-comments .comment-options span {
	background: #fff;
	padding: 2px 10px;
	font-weight: bold;
	float: left;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.list-comments .comment-options span {
	margin: 0 0 0 5px;
}

.list-comments .comment-options .comment-like {
	color: #595959;
}

.list-comments .comment-options .comment-dislike {
	color: #595959;
}

.list-comments .comment-options span:hover {
  color: #2cb6d7;
  border: 1px solid #2cb6d7;
	cursor: pointer;
}

.list-comments .comment-info {
	display: block;
	color: #595959;
	margin: 0 0 5px;
}

.list-comments .username {
	font-weight: bold;
	padding: 0 5px 0 0;
	color: #2cb6d7;
}

.list-comments .date {
	color: #5959598a;
	font-weight: 500;
	font-size: 12px;
	padding: 0 5px 0 0;
}

.original-text {
    display: block;
	color: #595959;
}

.comments .comment-reply {
	clear: both;
	padding-top: 2px;
	margin: 0;
	width: 100%;
}

.reply-item {
	margin: 5px 0 0 20px;
	border-top: 1px solid #595959;
}

.list-comments .reply-item .image,
.list-comments .reply-item .image .no-thumb {
	width: 75px;
	height: 75px;
	line-height: 75px;
}

.list-comments .item:after {
	content: "";
	display: block;
	clear: both;
}

/* End commentaries block */

@media (max-width: 1200px) {
  .grid-row {
  -moz-column-count:    4;
  -webkit-column-count: 4;
  column-count:         4;
  }
}
@media (max-width: 1000px) {
  .grid-row {
  -moz-column-count:    3;
  -webkit-column-count: 3;
  column-count:         3;
  }
}
@media (max-width: 800px) {
  .grid-row {
  -moz-column-count:    2;
  -webkit-column-count: 2;
  column-count:         2;
  }
}
@media (max-width: 400px) {
  .grid-row {
  -moz-column-count:    1;
  -webkit-column-count: 1;
  column-count:         1;
  }
}
.grid-item{
   cursor: pointer;
   display: none;
   position: relative;
   width: 100%;
}
/*		.grid-item::after{
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,225,225,.5);
	position: absolute;
}*/

/* Mobile commentaries block */
@media screen and (max-width: 768px) {
	.comments {
		width: 100%;
	}
}
@media screen and (max-width: 575px) {
    .list-comments .image {
        float: left;
        width: 53px;
        height: 53px;
        margin: 0 6px 0 0;
    }
    .list-comments .image .no-thumb {
        display: block;
        width: 53px;
        height: 53px;
        line-height: 20px;
        padding: 5px;
        text-align: center;
    }
    .reply-item .image .no-thumb {
        font-size: 12px;
        line-height: 14px;
        font-family: Arial, Helvetica, sans-serif;
    }
    .list-comments .reply-item .image, .list-comments .reply-item .image .no-thumb {
        width: 47px;
        height: 47px;
        line-height: 17px;
    }
    .list-comments .comment-options {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        float: unset;
        margin-bottom: 3px;
    }
    .list-comments .comment-info {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .comments .list-comments .text {
        margin-top: 3px;
    }
    .comments .list-comments .reply-item .text {
        margin-top: 0;
    }
    .original-text {
        width: 100%;
        display: block;
        margin-top: 10px;
    }
    .comments .list-comments .reply-item .original-text {
      margin-top: 8px;
    }
}

/* end of mobile commentaries block */