/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


/* ---------CKeditor5图片 Start 兼容以前用CKeditor5编辑的内容-------------*/
.lq-content .image-style-side,
.lq-content .image-style-align-left,
.lq-content .image-style-align-center,
.lq-content .image-style-align-right {
  max-width: 50%;
}

.lq-content .image-style-side {
  float: right;
  margin-left: 1.5em;
}

.lq-content .image-style-align-left {
  float: left;
  margin-right: 1.5em;
}

.lq-content .image-style-align-center {
  margin-left: auto;
  margin-right: auto;
}

.lq-content .image-style-align-right {
  float: right;
  margin-left: 1.5em;
}

.lq-content .image {
    display:table;
    clear:both;
    text-align:center;
    margin:1em auto
}
.lq-content .image>img {
    display:block;
    margin:0 auto;
    max-width:100%;
    min-width:50px
}
/* ---------CKeditor5图片 End-------------*
* ---------CKeditor5表格 Start-------------*
.lq-content .table {
    margin:1em auto;
    display:table
}
.lq-content .table table {
    border-collapse:collapse;
    border-spacing:0;
    width:100%;
    height:100%;
    border:1px double #b3b3b3
}
.lq-content .table table td,
.lq-content .table table th {
    min-width:2em;
    padding:.4em;
    border:1px solid #bfbfbf
}
.lq-content .table table th {
    font-weight:700;
    background:hsla(0,0%,0%,0.05)
}
.lq-content[dir=rtl] .table th {
    text-align:right
}
.lq-content[dir=ltr] .table th {
    text-align:left
}
* ---------CKeditor5表格 End-------------*

* ---------与CKeditor5内容磨合 Start-------------*
.lq-content p{
    margin-bottom: 0.5em;
}
* ---------与CKeditor内容磨合 End-------------*/



/* ---------覆盖 Start-------------*/
.content-wrap {
    padding: 40px 0;/* padding 80改为40 */
}

#content .content-wrap .entry-image img {
    max-width: 100%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}
/* ---------覆盖 End-------------*/

#captchaImg{
    cursor: pointer;
}

.form-widget .step2{
    display: none;
}

/* ---------患者表格-------------*/
.table-diseases td{
    vertical-align: middle;
}
/* ---------不换行-------------*/
.lq-nowrap{
    text-overflow: ellipsis; white-space: nowrap; overflow: hidden
}
/* --------- 问诊 头像靠右-------------*/
.commentlist.dialogue li {
    width: fit-content;
    max-width: 80%;
}
.commentlist.dialogue li .comment-wrap {
    background: rgba(0,150,0,0.04);
}
.commentlist li.reverse {
    margin: 30px 30px 0 auto;
}
.commentlist li.reverse .comment-wrap {
    padding: 20px 35px 20px 20px;
    background: rgba(8,130,255,0.12);
}
.commentlist li.reverse .comment-author {
    text-align: right;
}

.commentlist li.reverse .comment-avatar {
    left: auto;
    right: -35px;
}

.commentlist li.reverse .comment-meta {
    float: right;
    margin-left: 0;
    margin-left: auto;
}
.commentlist li.reverse .comment-content {
    padding: 0 15px 0 0;
}

/* 附件上传框*/
.ajax-upload-dragdrop{
    background: #FFFF99;
    padding: 1em;
}
/* 问诊 附件上传后 Start */
.file-view {
    margin: 4px;
    float: left;
    border: 5px solid #fff;
    overflow: hidden;
    position: relative;
    text-align: center;
    box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
    background: center / contain no-repeat url("../lq/images/image-gray.png");
}

.file-view .mask{
    opacity: 0;
    width: 256px;
    height: 256px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0
}
.file-view:hover .mask {
    opacity: 1;
}

.file-view img {
    display: block;
    position: relative;
    width: 256px;
    height: 256px;
}

.file-view h2 {
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.file-view h2 button{
    padding: 1px 2px;
    margin-left: 3px;
    background: #94aeff;
}

.file-view p {
    font-style: italic;
    font-size: 14px;
    position: relative;
    color: #fff;
    padding: 0px 20px 0px;
    text-align: center;
    line-height: 1.5;
}

.file-view .btn {
    display: inline-block;
    text-decoration: none;
    padding: 3px 6px;
    background: rgba(0, 50, 250, 0.7);
    color: #fff;
    box-shadow: 0 0 1px #000;
    line-height: 1.5;
}

.file-view .btn:hover {
    box-shadow: 0 0 5px #000
}

/* file-view-z 移动端 不要悬停效果 患者附件上传后 */
.file-view-z img {
    transition: all 0.4s linear;
}

.file-view-z .mask {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.4);
}

.file-view-z h2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    height: 48px;
    font-size: 14px;
    line-height: 16px;
    display: grid;
    place-items: center;
    background: rgba(0, 60, 255, 0.2);
}

.file-view-z p {
    position: absolute;
    left: 0;
    right: 0;
    top: 160px;
    line-height: 19px!important;
}

.file-view-z .action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.file-view-z .btn {
    margin: 5px;
}

.file-view-z:hover img
{
    transform: scale(1.5);
}

/* file-view-a */
.file-view-a img {
    transition: all 0.2s linear;
}

.file-view-a .mask {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease-in-out;
}

.file-view-a h2 {
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.2s ease-in-out;
    background: rgba(0, 60, 255, 0.4);
}

.file-view-a p {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.2s linear;
}

.file-view-a .btn {
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.file-view-a:hover img {
    transform: scale(1.1);
}

.file-view-a:hover .mask {
    opacity: 1;
}

.file-view-a:hover h2,
.file-view-a:hover p,
.file-view-a:hover .btn {
    opacity: 1;
    transform: translateY(0px);
}

.file-view-a:hover p {
    transition-delay: 0.1s;
}

.file-view-a:hover .btn {
    transition-delay: 0.2s;
}

/* file-view-b */
.file-view-b img {
    transform: scaleY(1);
    transition: all .7s ease-in-out;
}

.file-view-b .mask {
    background-color: rgba(255, 231, 179, 0.3);
    transition: all 0.5s linear;
    opacity: 0;
}

.file-view-b h2 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    background: transparent;
    margin: 20px 40px 0px 40px;
    transform: scale(0);
    color: #333;
    transition: all 0.5s linear;
    opacity: 0;
}

.file-view-b p {
    color: #333;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}

.file-view-b .btn {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}

.file-view-b:hover img {
    -webkit-transform: scale(10);
    transform: scale(10);
    opacity: 0;
}

.file-view-b:hover .mask {
    opacity: 1;
}

.file-view-b:hover h2,
.file-view-b:hover p,
.file-view-b:hover .btn {
    transform: scale(1);
    opacity: 1;
}

/* file-view-c 患者附件上传后 */
.file-view-c img {
    transition: all 0.4s linear;
}

.file-view-c .mask {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease-in-out;
}

.file-view-c h2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    height: 48px;
    font-size: 14px;
    line-height: 16px;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(-100px);
    transition: all 0.2s ease-in-out;
    background: rgba(0, 60, 255, 0.4);
}

.file-view-c p {
    position: absolute;
    left: 0;
    right: 0;
    top: 160px;
    line-height: 19px!important;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.2s linear;
}

.file-view-c .action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.2s ease-in-out;
}

.file-view-c .btn {
    margin: 5px;
}

.file-view-c:hover img
{
    transform: scale(1.5);
}

.file-view-c:hover .mask
{
    opacity: 1;
}

.file-view-c:hover h2,
.file-view-c:hover p,
.file-view-c:hover .action,
.file-view-c:hover .btn
{
    opacity: 1;
    transform: translateY(0px);
}

.file-view-c:hover p{
    transition-delay: 0.1s;
}

.border-active{
    border-color:#ffc400;
    border-style: dashed;
}
/* 问诊 附件上传后 End */

#issueList .toggle-content{
    background: rgba(0,0,0,0.04);
    margin-left: 2em;
    padding: 0.5em 1em;
    border-radius: 5px;
}

#issueList .toggle-content p{
    line-height: 1.5;
    margin-bottom: 0.3em;
}

#issueList .right{
    position: absolute;
    right: 0;
}

/*覆盖*/
#post-list-sidebar .more-link {
    margin-top: 0;
}
#post-list-sidebar .entry-content {
    margin-top: 0;
}
#post-list-sidebar p {
    line-height: 1.4;
}
#post-list-sidebar p {
    margin-bottom: 0;
}

/* 复制按钮 */
.clipboard-btn {
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    border-radius: 0;
    border-bottom-left-radius: 0px;
    border-bottom-left-radius: .2rem;
    opacity: 0.3;
    transition: all .3s ease;
}