.personal_container  .badge{
	position: relative;
}

.abstract_modal_badge .badge{
	background: #fff;
	border-radius: 50%;
	padding: 7px;
	box-shadow: 0 1px 5px 0px rgba(0,0,0,0.2);
	display: flex;
	cursor: pointer;
	user-select: none;
}

.chatHistory{
	box-shadow: 0 1px 5px 0px rgba(0,0,0,0.2);
	background: #fff;
	position: fixed;
	bottom: 20px;
	right: 20px;
	border-radius: 7px;
	width: 300px;
    height: 50vh;
	z-index: 2;
}

.chatHistory .topic{
	padding: 10px;
	font-weight: bold;
	font-size: 1.2em;
	display: flex;
	justify-content: space-between;
}

.chatHistory .search{
	padding: 0 5px;
	padding-bottom: 10px;
	border-bottom: 1px solid #d8d9dc;
}

.chatHistory .search input{
	border: none !important;
	background: #f0f2f5;
	border-radius: 20px;
	padding: 5px 10px;
	padding-left: 40px;
	width: 100%;
}

.chatHistory .category{
	display: flex;
    border-bottom: 1px solid #d8d9dc;
	background: #f0f2f5;
}

.chatHistory .category .button{
	margin: 5px 10px;
	color: #b7b7b7;
}

.chatHistory .category .button.highlight{
	color: var(--main-font-color);
}

.chatHistory .category .unread{
	background: red;
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65em;
    position: absolute;
    top: -4px;
    left: 14px;
}

.chatHistory .chatListCard{
	padding: 10px;
	border-bottom: 1px solid #f0f2f5;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.chatHistory .chatListCard:hover{
	background: #f0f2f5;
}

.chatHistory .chatListCard .name{
	font-weight: bold;
}

.chatHistory .chatListCard .message{
	text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
	max-width: 240px;
}

.chatHistory .chatListCard .unread{
	background: red;
    color: #fff;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8em;
}

.chatHistory .groupCreator{
    padding: 10px;
    border-bottom: 1px solid #f0f2f5;
    cursor: pointer;
    display: flex;
	gap: 15px;
}

.chatHistory .groupCreator .svg{
	display: flex;
	border-radius: 50%;
    background: #f0f2f5;
    padding: 5px;
}

.chatHistory .groupCreator:hover{
	background: #f0f2f5;
}

.chatBox{
	position: fixed;
    /* right: 65px; */
	right: 20px;
    bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 5px 0px rgba(0,0,0,0.2);
    border-radius: 7px;
    width: 300px;
	z-index: 1;
}

.chatBox.minimize .operator,.chatBox.minimize .chatList,.chatBox.minimize .chat{
	display: none;
}

.chatBox .name .unread{
	background: red;
    color: white;
    font-size: 10px;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
}

.chatBox .name{
	padding: 10px;
    font-size: 1.1em;
    font-weight: bold;
	display: flex;
	justify-content: space-between;
}

.chatBox .name .label{
	max-width: 150px;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    display: inline-block;
}

.chatBox .name input{
	border-radius: 7px;
    border: 1px solid #d9dbdd;
    padding: 2px 10px;
    max-width: 150px;
}

.chatBox .chat{
	padding: 5px;
	display: flex;
	gap: 5px;
	position: relative;
}

.chatBox .chat input{
	border: none !important;
	background: #f0f2f5;
	border-radius: 20px;
	padding: 5px 15px;
	width: 100%;
}

.chatBox .chat .readyMadeMessage{
	background: #ffffff;
    position: absolute;
    bottom: 40px;
    right: 221px;
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.abstract_overlay .chatBox .chat .readyMadeMessage{
	bottom: 40px;
    right: 271px;
}

.chatBox .chat .readyMadeMessage .readyMadeMessageList{
	min-width: 350px;
    max-width: 350px;
    min-height: 50px;
    max-height: 70vh;
	overflow-y: auto;
}

.chatBox .chat .readyMadeMessage .messageItem{
	padding: 10px;
    border-bottom: 1px solid #f3f3f3;
    cursor: pointer;
	transition: .2s;
}

.chatBox .chat .readyMadeMessage .messageItem img{
	max-width: 50px;
}

.chatBox .chat .readyMadeMessage .messageItem:last-child{
	border: none;
}

.chatBox .chat .readyMadeMessage .messageItem:hover{
	background: #f9f9f9;
}

.chatBox .chatList{
	border-bottom: 1px solid #f0f2f5;
	border-top: 1px solid #f0f2f5;
	height: calc(40vh - 44px - 42px);
    max-height: calc(40vh - 44px - 42px);
    padding: 0 10px;
    overflow-y: auto;
}

.chatBox .chatList .message{
	background: #f0f2f5;
    border-radius: 20px;
    padding: 5px 10px;
	float: left;
	width: auto;
    clear: both;
	margin-top: 5px;
	max-width: 80%;
	position: relative;
	word-break: break-all;
}

.chatBox .chatList .receivedDate{
	float: left;
	width: auto;
    clear: both;
	margin-top: 2px;
	font-size: .8em;
	color: #868e96;
}

.chatBox .chatList .message .sender{
	position: absolute;
    right: 0;
    color: #868e96;
    top: -18px;
    font-size: .85em;
	white-space: nowrap;
}

.chatBox .chatList a.message.location{
	color: unset;
	text-decoration: none;
}

.chatBox .chatList .message.audio{
	background: unset;
	padding: 0;
	cursor: pointer;
}

.chatBox .chatList .message.audio audio{
	max-width: 100%;
}

.chatBox .chatList .message.image{
	background: unset;
	padding: 0;
	cursor: pointer;
}

.chatBox .chatList .message.image img{
	max-width: 100%;
	border-radius: 10px;
}


.chatBox .chatList .message.flexs a{
	text-decoration: none;
}

.chatBox .chatList .message.flexs a img{
	width: 100%;
	object-fit: cover;
    border-radius: 7px 7px 0 0;
}

.chatBox .chatList .message.flexs .box{
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.chatBox .chatList .message.flexs .box .button{
	border-radius: 7px;
    padding: 5px;
    text-align: center;
	color: #fff;
}

.chatBox .chatList .message.video{
	background: unset;
	padding: 0;
	cursor: pointer;
}

.chatBox .chatList .message.video video{
    max-width: 100%;
    border-radius: 10px;
}

.chatBox .chatList .message:first-child{
	margin-top: 20px;
}

.chatBox .chatList .message:last-child{
	margin-bottom: 5px;
}

.chatBox .chatList .message.owner{
	background: #06c755;
	color: #fff;
	float: right;
	margin-top: 18px;
}

.chatBox .chatList .receivedDate.owner{
	float: right;
}

.chatBox .chatList .message.flexs.owner{
	padding: 0;
    border-radius: 7px;
	color: #000;
	background: #eceff1;
}

.abstract_overlay .chatHistory{
	position: unset;
	border-radius: 0;
    height: 100%;
	width: auto;
}

.abstract_overlay .chatBox{
	position: unset;
    border-radius: 0;
	height: 100%;
    width: auto;
}

.abstract_overlay .chatBox .chatList{
	height: calc(100vh - 44px - 44px - 42px);
    max-height: calc(100vh - 44px - 44px - 42px);
}

.image_preview{
	position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(0 0 0 / 80%);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
	z-index: 999;
}

.image_preview .image{
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.image_preview .image img{
	max-width: 90vw;
	max-height: 90vh;
}

.image_preview .close{
	position: fixed;
    right: 20px;
    top: 20px;
    display: flex;
    color: #fff;
	cursor: pointer;
}

.ContextMenu{
	position: absolute;
    background: #e5e5e5;
    left: 60%;
    z-index: 1;
    border-radius: 5px;
	border: solid 1px #a4a0a0;
    top: 60%;
	width: 100px;
}

.list-contextMenu{
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.list{
	padding: 5px 5px 5px 5px;
}

.list:hover{
    border-radius: 5px;
	background: gainsboro;
}

.replyTextMessage, .ReplyImageMessage, .ReplyVideoMessage, .ReplyStickerMessage{
	background-color: rgba(0, 0, 0, 0.1);
    padding: 5px;
	padding-left: 15px;
}

.replyTextMessage .user, .ReplyImageMessage .user, .ReplyVideoMessage .user, .ReplyStickerMessage .user{
	font-weight: 600;
}

.ReplyImageMessage, .ReplyVideoMessage{
	display: flex;
    justify-content: space-between;
}

.chatHistoryList{
	overflow-y: auto;
    max-height: calc(50vh - 125px);
}

.abstract_overlay .chatHistoryList{
    max-height: calc(100vh - 165px) !important;
}

.pattern{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% / 4 - 8px);
	border: 3px solid #86b4c3;
}

.pattern:hover{
	cursor: pointer;
	border: 3px solid blue;
	transition: .2s all;
}

.pattern.selected{
	border: 3px solid blue;
}

.pattern .item{
	background: #aecbd9;
	color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pattern .item:nth-child(odd){
	background: #6a9bac;
	color: #fff;
}

.pattern .item.odd{
	background: #6a9bac !important;
}

.pattern .item.addOn{
	background: #88afbe !important;
}

.pattern.large_1 .item{
	width: calc(100% / 3);
    aspect-ratio: 1;
}

.pattern.large_2 .item{
	width: calc(100% / 2);
	background: #aecbd9;
}

.pattern.large_3 .item{
	width: calc(100% / 3);
	background: #aecbd9;
}

.pattern.large_4{
	flex-wrap: nowrap;
}

.pattern.large_5 .item{
	width: 100%;
	aspect-ratio: 2 / .6666;
}

.pattern.large_6{
	flex-wrap: nowrap;
	flex-direction: row;
}

.pattern.large_6 .item{
	width: 100%;
}

.pattern.large_7 .item{
	width: 100%;
}

.pattern.compact_1 .item{
	width: calc(100% / 3);
    aspect-ratio: 1;
}

.pattern.compact_2{
	flex-wrap: nowrap;
}

.pattern.compact_3{
	flex-wrap: nowrap;
}

.pattern.compact_4{
	flex-wrap: nowrap;
}

.pattern.compact_5 .item{
	width: 100%;
	aspect-ratio: 2 / .6666;
}

body.cuscomm{
    background: #d3ecf4;
    font-family: var(--main-font-family) !important;
    overflow-x: hidden;
    font-size: 1em;
    font-weight: 400;
    box-sizing: border-box;
    max-width: 100%;
}

.cuscomm .lineLIFF .dialog{
    position: absolute;
    z-index: 10;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(8px) brightness(100%) saturate(50%);
    left: 0;
    top: 0;
}

.cuscomm .lineLIFF .dialog .container{
    position: absolute;
    top: 10rem;
    text-align: left;
    border-radius: calc(.3rem - 1px);
    min-width: 20rem;
    max-width: 30rem;
    max-height: calc(100vh - 20rem);
    height: auto;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 0 !important;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 50%);
}

.cuscomm .lineLIFF img{
	display: flex;
	max-width: 70px;
	max-height: 70px;
}

.cuscomm .lineLIFF .dialog .container .title {
    width: 100%;
    /* background: #3c3c3c linear-gradient(180deg, #5b5b5b, #3b3a3a) repeat-x !important; */
	background: #3c3c3c linear-gradient(180deg, #459fff, #007bff) repeat-x !important;
    color: #fff;
    padding: .75rem 1rem;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
}

.cuscomm .lineLIFF .container .form{
    box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    line-height: 2;
}

.cuscomm .lineLIFF .container .form .body{
    min-height: 1px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 15px;
    color: black;
}

.cuscomm .lineLIFF .dialog .container .body{
    width: 100%;
    background: #fff;
    min-height: 10px;
    color: black;
}

.cuscomm .lineLIFF .container .form .body .label{
    font-weight: 700;
    margin-bottom: .5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.cuscomm .lineLIFF input{
    padding-left: .75rem;
    padding-right: .75rem;
    line-height: calc(1.5em + .75rem);
    color: #495057;
    font-weight: 400;
    border: 1px solid #ced4da;
    height: calc(1.5em + .75rem + 2px) !important;
    border-radius: .25rem;
    font-family: var(--main-font-family) !important;
    width: 100%;
    background: #fff;
    font-size: 17px;
}

.cuscomm .lineLIFF input[type=checkbox]{
    height: 31px !important;
    width: 17px !important;
    padding: 0 !important;
    margin: 0;
}

.cuscomm .lineLIFF .dialog .container .operation{
    width: 100%;
    background: #fff;
    padding: .75rem;
    border-top: 1px solid #e9ecef;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px);
}

.cuscomm .lineLIFF .dialog .container .operation .submit{
    color: #fff;
    /* background-color: #5b5b5b;
    border-color: #5b5b5b; */
	background: #007bff;
	border-color: #007bff;
    padding: .375rem 1.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    font-weight: 400;
    cursor: pointer;
}

.cuscomm .lineLIFF .dialog .container .operation .alert{
    color: #fff;
    background-color: red;
    border-color: red;
    padding: .375rem 1.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    font-weight: 400;
    cursor: pointer;
}

.broadcastBubble{
	/* padding-left: 20px; */
}

.broadcastBubble .preview{
	background: #849ebf;
    border-radius: 10px;
	min-height: calc(100vh - 220px);
    max-height: calc(100vh - 220px);
	max-width: 500px;
	min-width: 500px;
	padding: 0 50px;
	padding-top: 50px;
}

.broadcastBubble .button{
	background: #00796b;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.broadcastBubble .inputBox{
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: calc(100% / 3 - 4px);
}

.broadcastBubble .group{
	width: 100%;
    border-bottom: 1px solid #afc6c9;
    padding-bottom: 5px;
    margin: 15px 0;
    font-weight: bold;
}

.broadcastBubble .bubbleStyle{
	border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-left: 30px;
    margin-right: 35px;
    padding: 20px;
    padding-top: 20px;
    background: #fff;
    margin-top: -20px;
    border: 1px solid #afc6c9;
}

.broadcastBubble .bubbleBox{
	background: #fff;
	width: 300px;
	border-radius: 17px;
	min-height: 40px;
	overflow: hidden;
}

@media only screen and (max-width: 600px) {
	.cuscomm .lineLIFF .dialog .container{
		min-width: 20rem;
		max-width: 20rem;
		top: 5rem;
    	max-height: calc(100vh - 10rem);
	}
}