﻿.layui-form-item {
    text-align: left;
}

.tool-title {
    color: #000;
    font-size: 1.75rem;
    margin-bottom: 10px;
    margin-top: 20px;
    letter-spacing: -.5px;
    text-align: left;
    font-weight: bold;
}
.tool-content-container{
    border:1px solid #ccc;
}
.tool-content-body {
    padding: 15px;
}

.tool-summary {
    text-align: justify;
}

.tool-content-wrap > .tool-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 52px;
    background-color: #f8f3e1;
    border-bottom: 1px solid #ddd;
}

tool-content-header > h2, .tool-content-header > h3, .tool-content-header > h4 {
    margin: 0;
    line-height: 1;
    font-size: 1rem;
}

.tool-content-wrap.bg-gray {
    background-color: #f7f7f4;
}

    .tool-content-wrap.bg-gray > .tool-content-header {
        background-color: #eeeeeb;
    }

.image-merge-preview {
    border: 1px dashed #999;
    background-color: #fff;
    padding: 0.35rem;
    max-width: 100%;
    border-radius: 4px;
}

.image-merge-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 540px;
    overflow-y: scroll;
    transition: .25s;
}

.bg-transparent {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

    .bg-transparent::before {
        content: attr(data-placeholder);
        color: darkorange;
        font-size: 1.1rem;
        font-weight: 600;
        z-index: 100;
    }

    .bg-transparent::after {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: url(/images/transparent.png) repeat #fff;
        z-index: 0;
    }

fieldset {
    margin: 0;
    border: 1px solid #d6d9d9;
}

    fieldset > legend {
        padding: 0 8px;
        font-weight: 500;
        font-size: .95rem;
    }
.text-muted {
    color: #999;
}
.hidden {
    display: none !important;
}
.mt-1 {
    margin-top: 1rem !important;
}
.uploader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
*[disabled], .disabled {
    cursor: not-allowed;
}

.pa-1 {
    padding: 1rem !important;
}
.uploader-content .layui-btn, .uploader-content .link {
    position: relative;
    overflow: hidden;
}
    .uploader-content .layui-btn input[type=file], .uploader-content .link input[type=file] {
        position: absolute;
        opacity: 0;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: 0;
    }
    .imageupload{
        cursor:pointer;
    }
.image-merge-item {
    position: relative;
    display: flex;
    flex-shrink: 0;
    width: 100%;
    height: auto;
    transition: .4s;
}

    .image-merge-item > img {
        flex: 1;
        max-width: 100%;
    }
    .image-merge-item::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: transparent;
        transition: .35s;
        z-index: 1;
    }
    .image-merge-item:hover::before {
        background-color: rgba(228,228,228,.8);
    }
.image-merge-item-action {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
}
.image-merge-item .picup {
    position: absolute;
    top: 5px;
    height: 24px;
    line-height: 20px;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    left: 5px;
    padding: 2px 5px;
    font-size: 14px;
    color: white;
    display: none;
    cursor: pointer;
}
.image-merge-item .pictop {
    position: absolute;
    top: 5px;
    height: 24px;
    line-height: 20px;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    left: 125px;
    font-size:14px;
    padding: 2px 5px;
    color: white;
    display: none;
    cursor: pointer;
}
.image-merge-item .picdown {
    position: absolute;
    top: 5px;
    height: 24px;
    font-size: 14px;
    line-height: 20px;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    left: 65px;
    padding: 2px 5px;
    color: white;
    display: none;
    cursor: pointer;
}
a.link-error, a.link-error:visited {
    color: #e6162d;
    cursor:pointer;
}
.text-muted[disabled] {
    color: #999;
    cursor: not-allowed;
}
.text-muted {
    color: #e6162d;
    cursor: pointer;
}
.image-merge-wrapper.image-with-gutter > .image-merge-item {
    margin-top: 0.35rem;
}
.image-merge-item .picdel {
    position: absolute;
    top: 5px;
    height: 24px;
    font-size: 14px;
    line-height: 20px;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    right: 5px;
    padding: 2px 5px;
    color: white;
    display: none;
    cursor: pointer;
}
.tool-url {
    position: relative;
    font-size: .9rem;
    border: 1px solid #d8d8d8;
    padding: 0.5rem 0.5rem;
    text-align:left;
    border-radius: 2px;
    background-color: #fff;
    margin-top:10px;
}
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tool-url::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 80%;
    background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.8) 10%,#fff);
    right: 42px;
    top: 10%;
    z-index: 5;
}
.tool-share h2 {
    font-size: 1rem;
    margin: 0;
    text-align:left;
    font-weight:bold;
}
.shares {
    margin-top: 8px;
    font-size: .8rem;
    color: #777;
}
.btn, a.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    color: #585858;
    background-color: #e4e4e4;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    font-size: .9rem;
    padding: 8px 16px;
    border-radius: 2px;
    line-height: 1;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    transition: background-color .25s;
}
.tool-url > .btn {
    position: absolute;
    right: 0.3rem;
    top: 0.3rem;
    font-size: .8rem;
    padding: 6px 6px;
    z-index: 10;
}
.image-merge-item:hover .picup, .image-merge-item:hover .picdown, .image-merge-item:hover .picdel, .image-merge-item:hover .pictop {
    display: block;
}
.bannermfhb {
    text-align: left;
    padding-left: 180px;
    height: 135px;
    background: #33ae39 url("/images/mfhbb.jpg") center right no-repeat;
}
.tool-share {
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 12px;
    background-color: #f8f8f8;
}
.pa-0 {
    padding: 0 !important;
}
.tool-desc {
    border: 1px solid #ddd;
    border-radius: 2px;
    overflow: hidden;
    background: #f7f7f4;
}
.tool-desc-heading {
    padding: 8px 16px;
    background-color: #f7f9fb;
    border-bottom: 1px solid #ddd;
}
    .tool-desc-heading strong {
        font-size: .95rem;
    }
.tool-desc-entry blockquote {
    color: #585858;
    background-color: #efefef;
    font-size: .95em;
    font-weight: 300;
    padding: 20px 25px;
    margin: 0 0 2em 0;
}
.tool-desc-entry {
    font-size: 1rem;
    padding: 1.25em;
    text-align: justify;
    word-break: break-all;
    line-height: 1.618;
}
.tool-desc-entry li{
    text-indent:2em;
}
    .tool-desc-entry h2, .tool-desc-entry h3, .tool-desc-entry h4 {
        text-align: left;
    }
    .tool-desc-entry h2 {
        font-size: 1em;
        margin-top: 0;
        padding-bottom:10px;
        margin-bottom: 10px;
        font-weight:bold;
        line-height: 1.6;
        border-bottom: 1px solid #bbb;
        line-height: 1.35;
    }
    .tool-desc-entry p:not(:last-child), .tool-desc-entry ul:not(:last-child), .tool-desc-entry ol:not(:last-child) {
        margin-bottom: 1.5rem;
    }
figure {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
}
.tool-desc-entry figure {
    text-align: center;
    padding: 0;
    margin: 0 0 2.5em 0;
}
.tool-desc-entry img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
@media only screen and (min-width: 768px) {
    .tool-desc-entry {
        padding: 2.5em 3em;
    }
        .tool-desc-entry h2 {
            font-size: 1.875em;
        }
    .tool-content-wrap > .tool-content-header {
        padding: 0 30px;
    }
    .uploader-content {
        flex-direction: row;
    }
    .tool-content-header > h2, .tool-content-header > h3, .tool-content-header > h4 {
        font-size: 1.05rem;
    }

    .tool-title {
        font-size: 1.75rem;
    }

    .tool-summary {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .tool-content-wrap, .tool-content-body {
        padding: 30px;
    }
}
