html{ font-size: 16px }
	:root{
		/*--primary: #000000;
		--success: #3e6b19;
		--accent-pickled-bluewood: #000000;*/
	} 
/*a{ color: var(--primary); }*/
.dark-mode .nav-link{
	color: white;
} 
.tooltip { 
    pointer-events: none;
} 
.container-fluid{ max-width: 100% !important; }
.page-content{ max-width: 100%; }
.ratings-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    margin-top: 5px;
}
.mdk-drawer{ z-index: 10; }
.ratings-stars:before {
    font-family: "Font Awesome 5 Pro";
    content: "\f005\f005\f005\f005\f005";
    font-size: 1.25rem;
    color: #f9c32c;
    letter-spacing: 0.34rem;
    font-weight: 400;
}
.ratings-stars .ratings {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
}

.ratings-stars .ratings:before {
    font-family: "Font Awesome 5 Pro";
    content: "\f005\f005\f005\f005\f005";
    font-size: 1.25rem;
    color: #f9c32c;
    letter-spacing: 0.34rem;
    font-weight: 1000;
}
.rounded-circle img{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100% !important;
    height: 100% !important;
    transform: translate(-50%,-50%);
    object-fit: cover;
}
.badge.rounded-circle{ 
    min-width: 26px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
}
.badge.rounded-circle:empty{ display: none;} 

.font-size-10pt{ font-size: .625rem; }
.font-size-11pt{ font-size: .6875rem; }
.font-size-12pt{ font-size: .75rem; }
.font-size-13pt{ font-size: .8125rem; }
.font-size-14pt{ font-size: .875rem; }
.font-size-15pt{ font-size: .9375rem; }
.font-weight-300{ font-weight: 300 !important; }
.font-weight-400{ font-weight: 400 !important; }
.font-weight-500{ font-weight: 500 !important; }
.font-weight-600{ font-weight: 600 !important; }
.font-weight-700{ font-weight: 700 !important; }
.font-weight-900{ font-weight: 900 !important; }



#feed .card-body{ font-size: 15px; }
#feed .actions{ border-top:1px solid #ccc; padding: 10px 0; font-size: 15px; }
#feed .post.has_media .actions:first-child,
#feed .post.is_share .actions:first-child{ border-top: none;} 
#feed .actions a{  }
#feed .avatar-xs{ width: 1.4625rem; height: 1.4625rem; } 
.avatar{ z-index: 0;}
.avatar-sm {
    min-width: 2.5rem;
    min-height: 2.5rem;
    max-width: 2.5rem;
    max-height: 2.5rem;
}
#feed .media_content{ border-bottom: 1px solid #ccc; }
 .share{
	width: calc(100% - 30px);
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 0;
	margin: 0 auto; 
}
.post+.post.stack {
    border-radius: 0 0 8px 8px;
}

.comments, .reply_content{ list-style: none; padding: 0; width: 100%; }

.reply_content  > li{ padding-left: 40px; }
@media only screen and (min-width: 560px) {
    .reply_content  > li{ padding-left: 60px; }
    .comments .comment{ max-width: 90%; position: relative; } 
}

 .comment.has_comments .avatar-content:after,
 .comment.has_comments .replies .reply_content > li:after{
	 content:"";
	 width: 2px;
	 height: calc(100% - 20px);
	 top:  20px;
	 background: #f0f2f5;
	 left:20px;
	 z-index: 2;
	 position: absolute;
 }
 .comment.has_comments .replies .reply_content > li.comment:after{
	 height: 100%;
	 top:0;
 }
 .comment.has_comments .replies .reply_content > .is_last:after,
 .reply_content .avatar-content:after{ display: none; }
 
 .replies .fa-reply{
 	transform: rotate(180deg);
 }
 .comment.has_comments .replies .reply_content > li:before{
	 position: absolute;
	 left: 20px;
	 content:"";
	 border-bottom-left-radius: 10px;
	 height: 20px;
	 max-height: 50%;
	 width: 24px;
	 	border-bottom-color: #f0f2f5;
		border-bottom-left-radius: 10px;
		border-bottom-style: solid;
		border-bottom-width: 2px;
		border-left-color: #f0f2f5;
		border-left-style: solid;
		border-left-width: 2px;
		border-right-color: #f0f2f5; 
 }
 .comment li.list-inline-item{ position: relative; }
 .comment li.list-inline-item:after {
    content: "·";
    align-items: center;
    vertical-align: middle;
    position: absolute;
    right: -7px;
    line-height: 27px;
    color: #8a8d91;
}
 .comment li.list-inline-item:last-child:after{ content:"";}


 .share .media{ margin: -1px -15px; border-bottom: 1px solid #ccc; }
 .share .share_content{ padding: 10px 20px; }
 .share .share_content p{ margin: 0; }
.alert:empty{ display: none }
#post_placeholder .ph-item{
	box-shadow: 0 3px 3px -2px rgba(39,44,51,.1),0 3px 4px 0 rgba(39,44,51,.04),0 1px 8px 0 rgba(39,44,51,.02);
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid #dfe2e6;
	border-radius: .5rem;
	margin-bottom: 1.5rem;
}
.comment.fixed [data-username]:before {
    content: "\f08d";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    margin-right: .5rem;
}

#feed .write_comment,
#feed .write_post{
	background: #F0F2F5;
	border-radius: 20px;
	width: 100%;
	height: 37px;
	resize: none; 
	overflow: hidden;
	font-size: 15px;
}
textarea.write_comment{ max-height: 150px; }
textarea.write_comment:focus{
	overflow-y: scroll !important;
}
#feed .emojionearea.write_comment{
	height: auto;
	padding-right: 22px;
}
#feed .write_comment.focused,
#feed .write_post.focused{
	overflow: visible;
	height: auto;
}
.post_content br {
    margin-bottom: 10px;
}
.emojionearea.write_post{  padding-bottom: 12px;}
#feed .write_comment:focus,
#feed .write_post:focus{ box-shadow: inset 0 1px 1px rgba(39,44,51,.075),0 0 0 1px rgba(0,0,0,.2); }
@media (any-pointer: fine) {
	.comment_actions{ visibility: hidden; }
}
.comment:hover .comment_actions{ visibility: visible; }


a[data-reaction]{ display: inline-flex; justify-content:center;}
img.reaction{ width: 21px; height: 21px; display: inline-block; position: relative; border: 2px solid #fff; }
img.reaction+img.reaction{ margin-left: -.60625rem;  }
img.reaction:nth-child(1), .avatar-group.avatar:nth-child(1){ z-index: 5; }
img.reaction:nth-child(2), .avatar-group.avatar:nth-child(2){ z-index: 4; }
img.reaction:nth-child(3), .avatar-group.avatar:nth-child(3){ z-index: 3; }
img.reaction:nth-child(4), .avatar-group.avatar:nth-child(4){ z-index: 2; }
img.reaction:nth-child(5), .avatar-group.avatar:nth-child(5){ z-index: 1; }
img.reaction:nth-child(6), .avatar-group.avatar:nth-child(6){ z-index: 0; }

.drop_zone{ position: relative; }

.drop_zone.drop_zone_dashed:after {
	content: attr(data-drop-label);
	text-transform: uppercase;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0; 
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    justify-content: center;
    display: flex;
    width: 100%;
	border: 2px dashed var(--primary);

}
.drop_zone.dragging:after {
	content: "RELEASE YOUR FILE HERE";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    justify-content: center;
    display: flex;
    width: 100%;
	border: 2px dashed var(--primary);
	color: white;

}
.popover-radius{ border-radius: 50px !important; }
.popover.box-shadow{ box-shadow: 0px 0px 6px 4px rgb(39 44 51 / 10%), 0 10px 14px 1px rgb(39 44 51 / 4%), 0 4px 18px 3px rgb(39 44 51 / 2%); }
.comment_reactions{
	border-radius: 50px; 
	background: white;
	padding: 2px 4px 2px 2px;
	box-shadow: 0 0 10px -5px #000; 
	z-index: 1;
	position: absolute;
	right: 0;
	bottom: 19px;
}
.comment_reactions img{ width: 20px; height: 20px; }
.comment_reactions .count{ vertical-align: middle; font-size: 13px; color: #000; font-weight: 500; margin-left: -3px; }

.mentionSpans { background-color: rgba(24,119,242,.2); -moz-border-radius: 1px; -webkit-border-radius: 1px; border-radius: 1px; }
.media_area:empty{ margin: 0;}
.media_area{ margin: 10px 0; border-radius: 10px; display: block; overflow: hidden; }

.chat_message.mine .message__body{ 
	margin-left: auto;
}
.chat_message.him .message__body{ 
	margin-left: 0;
}
.chat_message.mine .message__aside{ 
    margin-right: 0;
    margin-left: 1rem;
    order: 1;
}
.chat_message.him .message__aside{ 
    margin-right: 1rem;
    margin-left: 0;
    order: 0;
}
.emojionearea .emojionearea-editor{
	/*min-height: 1em; padding: 0;*/
	min-height: 41px;
}
.emojionearea .emojionearea-picker .emojionearea-search-panel{ padding: 5px 8px; }
.emojionearea .emojionearea-picker .emojionearea-search{ width: 100%; }
.emojionearea .emojionearea-picker .emojionearea-search > input{
	    padding: .5rem .75rem;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #edf0f2;
    border-radius: .25rem;
    box-shadow: inset 0 1px 1px rgba(39,44,51,.075);
    width: 100%;
}

.opt_area{
	position: relative;
}
.opt_area[data-plus] [class*="col"]:nth-child(5)::after{
    content: var(--plus);
    position: absolute;
    top: 0;
    left: 0;
    font-size: 30px;
    z-index: 10;
    color: #fff;
    background: rgba(0,0,0,0.58);
    width: 100%;
    height: 100%; 
    font-weight: bold;
    text-align: center;
    display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	text-align: center;
}
.opt_area .write_post_remove_media{
	position: absolute;
	top: 10px;
	right: 10px;
    display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	text-align: center;
}

.opt_area .square img,    
.opt_area .square > div{    
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    object-fit: cover;
	
}
.opt_area .square{
    height: 100%;
    overflow: hidden;
    position: relative;
}
.opt_area .square:before{
	content: "";
	display: block;
	padding-top: 100%; 	/* initial ratio of 1:1*/
}


.ph-item{ display: none; }
.modal.loading .modal-body {
	display: none;
} 
.modal.loading .ph-item{
	display: flex;
}




/* ADMIN */
div.dataTables_wrapper div.dataTables_filter label{ display: block; }
div.dataTables_wrapper div.dataTables_filter label input{ width: 100%; }
[dir] .nav-tabs .nav-item{ 
	display: block;  
    z-index: 1;
    position: relative;
    margin-right: -2px;
}
[dir] .nav-tabs .nav-link{
	padding: 10px !important;
	display: block;
}
[dir] .nav-tabs .nav-link.active{
    border-radius:0.25rem 0 0 0.25rem;
	background: white !important;
    border: 1px solid #dfe2e6 !important;
    border-right: 2px solid var(--primary) !important;
	box-shadow: 0 3px 3px -2px rgb(39 44 51 / 10%), 0 3px 4px 0 rgb(39 44 51 / 4%), 0 1px 8px 0 rgb(39 44 51 / 2%);
}


.modal-right{ 
	padding-right: 0 !important; 
}


.modal-right .title { vertical-align: middle; }
.modal-right .modal-dialog {
    width: 90%;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    height: 100vh;
}

.modal-right .modal-dialog .modal-content{
	height: 100%;
}



.card-toolbar {
    float: right;
}
.card-toolbar ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.card-toolbar ul>li {
    display: inline-block;
}

.dark-mode .modal-footer{
	border-top: 1px solid #272727;
}
.dark-mode .modal-header{
	border-bottom: 1px solid #272727;
}










.chat-container { position: fixed; bottom: 0; display: flex; right: 0; z-index: 10;  }

.chat-main{ 
	position: relative;
	width: 350px;  
	margin-right: 15px;
	box-shadow: 0 0 10px -4px rgba(0, 0, 0, 0.8);
	z-index: 100;
	transition: 0.25s ease all;
	bottom: 0;
}
.chat-main .media-area{ margin-bottom: 10px }
.chat-main .media-area:empty{ display: none; }
.chat-main .chat-content{ background: white; }
.chat-main .chat-header h5{
	
    white-space: nowrap;
    max-width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.chat-main .chat-header{
	background: #4267B2;
	padding-top: .74rem;
	padding-bottom: .74rem;
}
.chat-main .username i{
font-size: 9px;
}
.username h6{
display: inline-block;
font-size: 12px;
font-weight: 600;
}
.options i{
font-size: 14px;
font-weight: normal;
opacity: 0.7;
}
.options .live-video{
font-size: 6px;
}
.chats{
height: 400px;
overflow-x: scroll;
overflow-x: hidden;
}
.chats ul li{
list-style: none;
clear: both;
font-size: 13px;
}
.chats .send-msg{
float: right;
padding: 3px 5px;
}
.receive-msg img.rounded-circle{
border-radius: 100%;
height: 30px;
width: 12%;
} 
.receive-msg-img{
display: inline;
}
.receive-msg .receive-msg-desc,
.sent-msg .sent-msg-desc{
display: inline-block;
max-width: 85%;
}
.receive-msg .receive-msg-desc p{
background: #c1c1c1;
padding: 3px 5px;
}
.sent-msg .sent-msg-desc p{
background: var(--primary);
padding: 3px 5px;
	
}
.message-box textarea{
border: none;
font-size: 13px;
opacity: 0.7; 
padding: 5px;
}
.message-box textarea:focus{
outline: none;
}
.tools i{
color: #a1a1a1;
cursor: pointer;
font-size: 20px;
margin-right: 6px;
}

[dir] .navbar .ps{  
	max-height: calc(100vh - 60px);
}
 
[data-ribbon] {
  --d: 6px; /* folded part */
  --c: blue; /* color */
  --f: 16px; /* ribbon font-size */
 
}
.ribbon.ribbon-success{
	--c: var(--success);
}
.ribbon.ribbon-primary{
	--c: var(--primary);
}
.ribbon.ribbon-info{
	--c: var(--info);
}
.ribbon.ribbon-danger{
	--c: var(--danger);
}

[data-ribbon]::before {
  content: attr(data-ribbon);
  position: absolute;
  font-size: var(--f);
  top: 0;
  right: 0;
  transform: translate(29.29%, -100%) rotate(45deg);
  color: #fff;
  text-align: center;
  border: 1px solid transparent;
  border-bottom: 0;
  transform-origin: bottom left;
  padding: 5px 35px calc(var(--d) + 5px);
  background: linear-gradient(rgba(0, 0, 0, 0.5) 0 0) bottom/100% var(--d)
    no-repeat var(--c);
  background-clip: padding-box;
  clip-path: polygon(0 0,100% 0,100% 100%,calc(100% - var(--d)) calc(100% - var(--d)),var(--d) calc(100% - var(--d)),0 100%);
  -webkit-mask: linear-gradient(135deg,transparent calc(50% - var(--d) * 0.707),#fff 0) bottom left,
    linear-gradient(-135deg, transparent calc(50% - var(--d) * 0.707), #fff 0)bottom right;
  -webkit-mask-size: 300vmax 300vmax;
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}
.ribbon.ribbon-left::before {
  left: 0;
  right: auto;
  transform: translate(-29.29%, -100%) rotate(-45deg);
  transform-origin: bottom right;
} 
 
.position-absolute-top-center{
	position: absolute;
	top:0;
	left: 50%;
	transform: translateX(-50%);
}
.position-absolute-bottom-center{
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}
@keyframes ellipsis {
  to {
    width: 2rem;    
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 2rem;    
  }
}

.card.block:before{
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: 	white; 
	z-index: 101;
	font-size: 40px;
	overflow: hidden;
	display: inline-block;
	vertical-align: bottom;
	-webkit-animation: ellipsis steps(4,end) 900ms infinite;      
	animation: ellipsis steps(4,end) 900ms infinite;
	content: "\2026"; 
	width: 0px;
}
.card.block:after{
	content:"";
	top:0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.6);
	z-index: 100;
	position: absolute;
}

.custom-radio .custom-control-label:before,
.custom-radio .custom-control-label:after{ top: 50%; transform: translateY(-50%); } 



.fs .mdk-header,
.fs .toolbox{ display: none !important; } 