.img-upload-wx {
    margin-left: 0;
}
.layui-input-block {
    line-height: 34px;
}
.upload_img_square {
	display: inline-block;
	width: 80px;
	height: 80px;
	line-height: 78px;
	font-size: 30px;
	color: #bbbbbb;
	cursor: pointer;
	border: 1px dashed #ccc;
	border-radius: 5px;
	text-align: center;
	margin-bottom: 10px;
	margin-right: 10px;
}

.upload_img_square_item {
	display: inline-block;
	float: left;
	width: 80px;
	height: 80px;
	position: relative;
	border: 1px dashed #e5e5e5;
	text-align: center;
	transition: background-color 0.3s ease;
	margin-bottom: 10px;
	margin-right: 10px;
}

.upload_img_square_item:hover {
	border: 1px dashed var(--base-color);
	border-radius: 5px;
}

.upload_img_square_item:hover .operation {
	display: block;
}

.upload_img_square_item .img-wrap {
	width: 80px;
	font-size: 0;
	line-height: 79px;
	border-radius: 5px;
	overflow: hidden;
}

.upload_img_square_item .img-wrap img {
	width: calc(100% - 2px);
	height: calc(100% - 2px);
}

.upload_img_square_item .operation {
	position: absolute;
	top: 0;
	z-index: 10;
	width: 80px;
	height: 80px;
	line-height: 80px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	cursor: pointer;
	text-align: center;
	display: none;
}

.upload_img_square_item .operation i {
	font-size: 20px;
	margin-left: 10px;
}

.upload_img_square_item .operation i:first-child {
	margin-left: 0;
}

.upload_img_square_item .operation .replace_img {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 24px;
	color: #fff;
	background: rgba(0, 0, 0, 0.5);
	font-size: 12px;
	line-height: 24px;
}

.upload-img-block.square {
	width: 100px;
	height: 100px;
}

.upload-img-block.square .operation i {
	line-height: 90px;
	font-size: 25px !important;
	margin-left: 0 !important;
	margin-right: 10px !important;
}

.upload-img-block.square .operation i:last-child {
	margin-right: 0 !important;
}

.upload-img-block.square .upload-default .preview_img {
	line-height: 80px;
}

.upload-img-block {
	padding: 10px;
	width: 250px;
	height: 120px;
	border: 1px dashed #ddd;
	box-sizing: border-box;
	position: relative;
}

.upload-img-block .replace {
	display: none;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	bottom: 0;
	left: 0;
	color: #fff;
	position: absolute;
	text-align: center;
	line-height: 2;
	cursor: pointer;
}
.upload-img-block .hover:hover .operation {
    display: block;
}
.upload-img-block:hover .replace {
	display: block;
}

.upload-img-block .no-replace {
	color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	cursor: pointer;
}

.upload-img-block .upload-img-box {
	text-align: center;
	cursor: pointer;
	height: 100%;
}

.upload-img-block .upload-img-box .upload-default .preview_img {
	line-height: 80px;
}

.upload-img-block .upload-img-box .upload-default .preview_img, .upload-img-block .upload-img-box .upload-default .img_prev {
	max-width: 100%;
	max-height: 100%;
}

.upload-img-block .upload-img-box .upload-default .img_prev {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-height: 100%;
	max-width: 100%;
}

.upload-img-block .upload-img-box .upload-default .upload {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.upload-img-block .upload-img-box .upload-default .iconfont {
	font-size: 30px;
	color: #6D7278;
}

.upload-img-block .upload-img-box .upload-default p {
	color: #5a5a5a;
	line-height: 20px;
	white-space: nowrap;
}

.upload-img-block .upload-img-box > img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-height: 100%;
	max-width: 100%;
}

.upload-img-block .del {
	background: #999;
	color: #FFFFFF;
	position: absolute;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 12px;
	font-style: normal;
	line-height: 18px;
	text-align: center;
	right: -10px;
	top: -10px;
	cursor: pointer;
	z-index: 1;
	display: none;
}

.upload-img-block .del.show {
	display: block;
}

.upload-img-block .hover:hover .operation {
	display: block;
}

.upload-img-block .operation {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
}

.upload-img-block .operation i {
	font-size: 25px !important;
	margin-left: 30px;
	line-height: 120px;
}

.upload-img-block .operation i:first-child {
	margin-left: 0;
}

.upload-img-block .operation .replace_img {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 24px;
	color: #fff;
	background: rgba(0, 0, 0, 0.5);
	font-size: 12px;
	line-height: 24px;
}

.upload-img-block .operation .upload-img-block {
	height: 120px;
}
#graphic_message {
    /*width: 760px;*/
    margin-bottom: 90px;
    padding: 20px;
    overflow: hidden;
    background: #fff;
    border-radius: 5px;
    margin-top: 10px;
}
.layui-elem-quote{
    margin: 0 0 20px;
}

#graphic_message .graphic-message {
    position: relative;
    width: 320px;
    min-height: 310px;
    float: left;
    border: 1px solid #C5C5C5;
}

#graphic_message .editor-box {
    position: relative;
    width: 750px;
    min-height: 400px;
    float: left;
    padding: 15px;
    margin-left: 20px;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
}

#graphic_message .arrow, #graphic_message .arrow::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7px 6px 0;
    border-color: transparent #d1d1d1 transparent transparent;
    position: absolute;
    left: -7px;
    top: 19px;
}

#graphic_message .arrow::after {
    content: "";
    border-right-color: #f8f8f8;
    left: 1px;
    top: -7px;
}

#graphic_message .graphic-message-list {
    padding: 15px;
}

#graphic_message .graphic-message-list li {
    border: 1px solid #AAA;
    border-top-color: #FFF;
    border-bottom-color: #DDD;
    background: #FFF;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}

#graphic_message .graphic-message-list li:first-child {
    border-top-color: #AAA;
}

#graphic_message .graphic-message-list li:last-child {
    border-bottom-color: #AAA;
}

#graphic_message .graphic-message-list li.on, #graphic_message .graphic-message-list li.on:first-child, #graphic_message .graphic-message-list li.on:last-child {
    border: 1px solid #3398cc;
}

#graphic_message .graphic-message-list li .div_content {
    display: block;
    margin: 15px 10px;
    position: relative;
    overflow: hidden;
    height: 50px;
}

#graphic_message .graphic-message-list li:first-child .div_content {
    height: 150px;
}

#graphic_message .graphic-message-list li .title {
    padding-right: 70px;
    max-height: 48px;
    word-break: break-all;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: unset
}

#graphic_message .graphic-message-list li:first-child .title {
    position: absolute;
    display: block;
    width: 100%;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    color: #FFF;
    z-index: 2;
    line-height: 30px;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    max-height: unset;
}

#graphic_message .graphic-message-list li:first-child .title span {
    padding: 2px 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 26px;
}

#graphic_message .graphic-message-list li .title span {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#graphic_message .graphic-message-list li .action {
    display: none;
}
#graphic_message .graphic-message-list li:hover .action {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 100;
}
#graphic_message .action span.edit, #graphic_message .action span.delete {
    background: rgba(0, 0, 0, .4);
    color: #FFF;
    font-size: 14px;
    padding: 0 5px;
    display: inline-block;
    margin-left: 1px;
}

#graphic_message .graphic-message-list li .div_content img {
    /*max-width: 100%;*/
    vertical-align: middle;
    border: 0;
    float: right;
    width: 50px;
    height: 50px;
    background: #EEE;
}

#graphic_message .graphic-message-list li .div_content .empty-img {
    width: 50px;
    height: 50px;
    float: right;
    background: #EEE;
}

#graphic_message .graphic-message-list li:first-child .div_content img {
    width: 268px;
    height: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
}

#graphic_message .graphic-message-list li:first-child .div_content .empty-img {
    width: 100%;
    height: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
}

#graphic_message .graphic-message-list li:first-child .div_content img {
    width: 100%;
}

#graphic_message .graphic-message-list li .div_content .empty-hint {
    height: 20px;
    width: 60px;
    text-align: center;
    position: absolute;
    top: 0;
    right: -5px;
    bottom: 0;
    margin: auto;
    color: #AAA;
    font-size: 12px;
}

#graphic_message .graphic-message-list li:first-child .div_content .empty-hint {
    height: 20px;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 7px;
    margin: auto;
    color: #AAA;
    font-size: 16px;
}

#editor {
    margin: 0 auto;
}

#graphic_message .add-graphic-message h4::before {
    top: -19px;
    position: absolute;
    content: ' ';
    border: 8px solid transparent;
    border-bottom-width: 10px;
    border-bottom-color: #ddd;
    left: 148px;
}

#graphic_message .add-graphic-message h4::after {
    position: absolute;
    content: ' ';
    border: 8px solid transparent;
    border-bottom-width: 10px;
    border-bottom-color: #f8f8f8;
    top: -16px;
    left: 148px;
}

#graphic_message .add-graphic-message h4 {
    position: relative;
    left: 0;
    top: 0;
    border-top: 1px solid #ddd;
    -webkit-box-shadow: 0 0 0 1px #ddd;
    box-shadow: 0 0 0 1px #ddd;
    padding: 0 6px 4px 10px;
    width: 304px;
    margin: 0 auto;
    text-align: center;
}

#graphic_message .add-graphic-message h4 a {
    display: inline-block;
    text-align: center;
    font-size: 14px;
    line-height: 40px;
    font-weight: bold;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#graphic_message .layui-input {
    width: 270px;
}

#graphic_message .editor-box label {
    display: inline-block;
    margin-bottom: 7px;
}

#graphic_message .editor-box label .prompt {
    color: #AAA;
}

#graphic_message .editor-box .editor-cover,
#graphic_message .editor-box .editor-author,
#graphic_message .editor-box .editor-title,
#graphic_message .editor-box .editor-content {
    margin-bottom: 20px;
}

#graphic_message .editor-box .editor-cover .editor-msg-label {
    position: relative;
    margin-top: 5px;
}

#graphic_message .editor-box .editor-cover #check_show_cover_pic {
    position: absolute;
    top: 4px;
    left: 1px;
    height: 13px;
}

#graphic_message .editor-box .editor-cover .choose-cover {
    margin-bottom: 7px;
}

#graphic_message .editor-box .editor-cover .choose-cover a {
    cursor: pointer;
    display: block;
}

#edui1_bottombar.edui-editor-bottomContainer.edui-default {
    display: none;
}

.bottom-botton {
    position: absolute;
    padding: 20px 0;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -80px;
    text-align: center;
    z-index: 1000;
}

.loading {
    position: fixed;
    width: 100%;
    left: 0;
    text-align: center;
    top: 0;
    padding-top: 20%;
    display: none;
}

.loading .layui-icon {
    font-size: 39px;
}

.show {
    display: block !important;
}
.choose-cover-pic{
    margin-bottom: 10px;
    width: 160px;
    height: 160px;
    text-align: center;
    line-height: 160px;
}
.choose-cover-pic img{
    max-height: 100%;
    max-width: 100%;
}