.avatar {
	display: inline-block;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	line-height: 46px;
	width: 50px;
	height: 50px;
	background-color: #F2F1F1;
	border: 1px solid #ccc;
	border-radius: 50%;
}
.avatar.xs {
	font-size: 16px;
	line-height: 30px;
	height: 32px;
	width: 32px;
}
.avatar.md {
	font-size: 16px;
	line-height: 30px;
	height: 42px;
	width: 42px;
}
.avatar.xl {
	font-size: 36px;
	line-height: 78px;
	width: 80px;
	height: 80px;
}
.avatar.xxl {
	font-size: 64px;
	line-height: 112px;
	width: 120px;
	height: 120px;
}

.single-slide {
	position: relative;
	text-align: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	align-self: center;
}
.single-slide img {
	max-height: 100%;
}
.single-slide .embed-responsive {
	width: 100%;
	margin: 0 auto;
}
.swiper-pagination-bullet { 
	background-color: #33414E;
	border: 2px solid #33414E;
}
.swiper-button-prev {
	left: 0;
}
.swiper-button-next {
	right: 0;
}

.post .overlay {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	color: #fff;
	background-color: rgba(0, 0, 0, .7);
	padding: .75rem 1rem;
}
.prevdoc {
	font-size: .875rem;
	line-height: 1.1;
	max-height: 1.93rem;
	overflow: hidden;
}

.writebox {
	position: relative;
	padding: 0 0 0 50px;
}
.writebox .avatar {
	position: absolute;
	left: 0;
	top: 0;
}
.comment {
	position: relative;
	margin-bottom: 1rem;
}
.comment-in {
	padding: 0 0 0 50px;
}
.reply .comment-in {
	padding: 0 0 0 90px;
}
.comment .avatar {
	position: absolute;
	left: 0;
	top: 4px;
}
.comment.reply .comment-in .avatar {
	left: 40px;
}
.cm-content {
	position: relative;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px;
}
.cm-content:before {
	position: absolute;
	top: 10px;
	left: -11px;
	content: '';
	border-bottom: 10px solid transparent;
	border-right: 11px solid #ddd;
	border-top: 10px solid transparent;
}
.cm-content:after {
	border-bottom: 8px solid transparent;
    border-right: 9px solid #fff;
    border-top: 8px solid transparent;
    left: -9px;
    top: 12px;
    position: absolute;
    content: '';
}
.cm-content.pending {
	border-color: #dc3545;
}
.cm-content.pending:before {
	border-right-color: #dc3545;
}
.comment-wrap {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

/* image viewer */
#imgviewer {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	padding: 0;
	z-index: 10100;
}
.closeviewer {
	position: absolute;
	top: 0;
	right: 0;
	line-height: 1;
	padding: 0 5px;
	z-index: 19900;
}

/* songplayer */
.songprogress {
	background-color: #ddd;
	border-radius: 2px;
	height: 3px;
	overflow: hidden;
}
.songprogress div {
	background-color: #007BFF;
	width: 0;
	height: 100%;
}
.songend {
	position: absolute;
	top: 0;
	right: 0;
}

#grid {
	width: 100%;
	max-width: 100%;
}
.grid-sizer {
	width: 100%;
	max-width: 100%;
}
.grid-item {
	position: relative;
	width: 100%;
}
.grid-item .content {
	display: block;
	position: relative;
	border: 1px solid rgba(0, 0, 0, 0.22);
	z-index: 2;
}
.grid-item .title {
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 2;
}
.grid-item .title .fs--2 {
	color: #e9e9e9;
}
.content.overlay:after{
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .1), rgba(0, 0, 0, .4));
    content: '';
    z-index: 1;
}
.tagdesc {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	color: #fff;
	background-color: rgba(0, 0, 0, .7);
	padding: 0 1rem;
	z-index: 2;
}

.arrow-box {
	position: relative;
}
.arrow-box:before {
	position: absolute;
	top: 10px;
	left: -11px;
	content: '';
	border-bottom: 10px solid transparent;
	border-right: 11px solid #ced4da;
	border-top: 10px solid transparent;
}
.arrow-box:after {
	border-bottom: 8px solid transparent;
    border-right: 9px solid #fff;
    border-top: 8px solid transparent;
    left: -9px;
    top: 12px;
    position: absolute;
    content: '';
}


@media (min-width: 768px) {
	.grid-item, .grid-sizer {
		float: left;
		width: 50%;
	}
}
@media (min-width: 992px) {
	.grid-item, .grid-sizer {
		width: 33.33333%;
	}
	.single-slide .embed-responsive {
		max-width: 920px;
	}
}
@media (min-width: 1024px) {
	
}
@media (min-width: 1200px) {
	.grid-item, .grid-sizer {
		width: 25%;
	}
}
@media (pointer:coarse) {
	.swiper-button-next, .swiper-button-prev {
/*		display: none;*/
	}
}
@media (max-width: 620px) {
	.swiper-button-next, .swiper-button-prev {
/*		display: none;*/
	}
}