/* START CUSTOM STYLES */
:root{
    --chscrl-display: hidden;
    --panels-display: hidden;
    --showchatul-margintop: 0px;
}

#show_chat ul::-webkit-scrollbar{
    visibility: hidden;
    width:10px;
}
#show_chat ul::-webkit-scrollbar-thumb {
    visibility: var(--chscrl-display);
    background-color: #03add8;
    border-radius: 5px;
    border: 1px solid black;
}
#show_chat ul:hover{
    --chscrl-display: visible;
}

.panels::-webkit-scrollbar{
    visibility: hidden;
    width:10px;
}
.panels::-webkit-scrollbar-thumb {
    visibility: var(--panels-display);
    background-color: #03add8;
    border-radius: 5px;
    border: 1px solid black;
}
.panels:hover{
    --panels-display: visible;
}


#show_chat .fancybox img{
    object-fit: contain;
    max-height: 300px;
    width: min-content;
    object-position: right;
    border-radius: 25px;
    max-width: 100%;
}
.my_text p {
    width: fit-content;
    max-width: 70%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 20px;
    contain: layout;
}
.log1, .log2 {
    background-color: unset !important;
}
.my_text_content, .username, .logs_date, .delete_log  {
    opacity: 100%;
}
#warp_show_chat {
    background: #181818;
    border-radius: 35px 35px 0px 0px;

}
#inside_wrap_chat .background_box {
    background: unset !important;
}

#inner_header{
    margin-left: 0px !important;
}

#main_emoticon{
    display: none;
}

#submit_button{
    color: #fff;
    border-radius: 100px;
}

#content{
    border-radius: 100px;
}

#send_image i{
    opacity: 1;
    font-size: 20px;
}
#emo_item i{
    opacity: 1;
    font-size: 25px;
}
#show_chat_input{
    bottom: 13px;
    justify-self: center;
    width: 80%;
    position: absolute;
}
#inputt_middle{
    margin: 5px;
}
#inputt_left{
    background-color: #282828;
    padding: 4px;
    border-radius: 100px;
}
#menu_private_target{
    justify-self: center;
}
#menu_private{
    background-color: unset
}


#inside_group, #ainside_group, #minside_group, #mtd_group, #atd_group{
    border-collapse: unset;
}
#atd_input{
    width: max-content;
}
#ainside_group {
    width: 100%;
}

#show_chat_music{
    width: 80%;
    justify-self: center;
    position: absolute;
    z-index: 1000;
    display: none;
}
#container_music {
    padding: 5px 0 0 0;
}
#td_music {
    height: 100%;
}
#musict_left {
    background-color: #282828;
    padding: 4px;
    border-radius: 100px;
}
#musci_b{

    width: 98%;
    height: 100%;
    padding: 0;
    padding: 0 1%;
    float: right;
}
#music_close, #music_play {
    width: 38px;
    height: 100%;
    text-align: center;
    font-size: 24px;
    border-radius: 0 5px 5px 0;
    z-index: 1;
    position: relative;
}
.audioplayer{

}

.videoplayer{
    width: 100%;
    max-height: 450px;
    max-width: 450;
}

#show_chat_ul{
    margin-bottom: 65px;
    top: 0px;
    margin-top: var(--showchatul-margintop);
}

#inputt_attach {
    position: absolute;
    bottom: 50px;
    justify-self: anchor-center;
    margin-right: 17%;
    background-color: #282828;
    z-index: 4;
    border-bottom: 1px solid #121212;
    border-radius: 15px;
    display: none;
}

#attach_close i {
    opacity: 1;
    font-size: 20px;
}

#attach_preview {
    width: 70px;
    height: 70px;
    margin: 5px;
    border-radius: 10px;
    object-fit: cover;
}
#attach_name, #attach_info {
    width: calc(100% - 100px);
    background-color: transparent;
    border: 0px;
    color: white;
    font-size: larger;
    text-align: center;
    margin-top: 10px;
}
#attach_info{
    color: #7e7e7e;
    margin: 0px;
}

/* END CUSTOM STYLE */



.chat_wrap_content {
	width:100%;
	min-height:40px;
	padding:5px 0;
	display:table-row;
}
.chat_wrap_wrap {
	width:98% !important;
	height:auto;
	display:table;
	padding:5px 1%;
}
.chat_avatar {
	width:45px;
	height:100%;
	display:table-cell;
}
.chat_avatar_wrap, .chat_avatar_wrap2{
	width:36px;
	height:36px;
	border-radius:18px;
	overflow:hidden;
}
.chat_avatar_wrap img, .chat_avatar_wrap2 img {
	width:36px;
	height:auto;
	display:block;
	vertical-align:middle;
}
.chat_name {
	display:table-cell;
	width:auto;
	vertical-align:top;
	line-height:24px;
}
.chat_name p {
	padding-top:7px;
}
.chat_name img {
	vertical-align:middle;
}
#show_chat .fancybox-video img, #show_chat .fancybox-vimeo img, #show_chat .fancybox img{
	position:relative;
	margin-bottom:-12px;
}

#show_chat li:first-child {
	border-top:none;
}
#show_chat li:last-child {
	border-bottom:none;
}
#show_chat li {
	position:relative;
}
.logs_date {
	font-size:10px;
	top:0;
	left:0; /*Edited from right */
	margin-left:8px; /*Edited from right */
    float: left;
    color: grey !important;
}
.delete_log {
	bottom:0;
	left:0; /* Edited from left to right */
	margin-bottom:2px;
	margin-left:8px; /* Edited from left to right */
    color: red;
    float: left;
}
.emo_chat {
	margin-bottom:-6px;
}
#menu_private {
	width:100%;
	height:34px;
	padding:3px 0;
	display:none;
}
.hide_this {
	display:none;
}
#menu_private_options {
	width:auto;
	height:100%;
	float:right;
}
#menu_private_options img {
	height:100%;
	width:auto;
	float:right;
	display:block;
	margin-right:8px;
}
.private_friend {
	padding-right:10px;
	font-weight:bold;
	font-size:15px;
}