﻿body {
    background-image: url('../img/system/addBackgroundImg.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.container-fluid{
    width:initial;
}
#EditorTextrea {
    display: none;
}

.text-center {
    width: 1080px;
    margin: 20px auto;
    min-height: 650px;
    padding: 40px 60px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    background-color: rgba(255,255,255,0.8);
    border: none;
    border-radius: 8px;
}

input {
    width: calc(100% - 10px);
    height: 40px;
    border: none;
    outline: none;
    padding-left: 10px;
    margin-bottom: 10px;
    background-color: rgba(255,255,255,0.5);
}

    input[type="file"] {
        height: 30px;
        border: none;
    }

form {
    margin-top: 20px;
}

button {
    margin: 0 auto;
    width: 100px;
    display: block;
    margin-top: 20px;
    background-color: #1f8db3;
    padding: 4px;
    border-radius: 4px;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.w-e-toolbar, .w-e-text-container {
    background-color: rgba(255,255,255,1) !important;
}

.selectWrap ul {
    margin-top: 20px;
}

    .selectWrap ul li {
        list-style: none;
        border-bottom: solid 1px rgb(44, 44, 44,0.2);
        min-height: 45px;
        margin-top: 10px;
    }

        .selectWrap ul li span {
            display: block;
            float: left;
            width: 60px;
            text-align: center;
            background-color: white;
            margin-right: 10px;
            height: 30px;
            line-height: 30px;
        }

        .selectWrap ul li p {
            display: block;
            width: calc(100% - 320px);
            float: left;
            font-size: 18px;
            background-color: white;
            line-height: 30px;
            padding-left: 10px;
        }

        .selectWrap ul li a {
            width: 100px;
            display: block;
            margin-left: 20px;
            text-align: center;
            line-height: 30px;
            border-radius: 4px;
            float: left;
            color: white;
            background-color: #169ad3;
        }

            .selectWrap ul li a.delete {
                background-color: #d32424;
            }

.reviseWrap form .imglistWrap {
    display: block;
    width: 132px;
    height: 96px;
    float: left;
    position: relative;
    margin-right: 8px;
    margin-bottom: 10px;
}

    .reviseWrap form .imglistWrap img {
        width: 100%;
        height: 100%;
        object-fit:cover;
    }

    .reviseWrap form .imglistWrap p {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        text-align: center;
        display: block;
        line-height: 96px;
        background-color: rgba(0,0,0,0.4);
        color: white;
        cursor: pointer;
        display: none;
        -moz-user-select: none; /*火狐*/
        -webkit-user-select: none; /*webkit浏览器*/
        -ms-user-select: none; /*IE10*/
        user-select: none;
    }

    .reviseWrap form .imglistWrap:hover p {
        display: block;
    }

.text-center .type .liWrap {
    display: flex;
    margin-bottom: 10px;
}

    .text-center .type .liWrap ul {
        display: flex;
    }

        .text-center .type .liWrap ul li {
            list-style: none;
            margin: 0 10px;
            background-color: white;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 14px;
            text-align: center;
            cursor: pointer;
            background-color: rgba(255,255,255,0.5);
        }

            .text-center .type .liWrap ul li sup {
                margin-left: 10px;
                font-size: 12px;
            }

                .text-center .type .liWrap ul li sup:hover {
                    color: red;
                    padding: 0 4px;
                    margin-left: 6px;
                    background-color: white;
                    border-radius: 30px;
                }

            .text-center .type .liWrap ul li:hover, .text-center .type .liWrap ul li.active {
                background-color: #1f8db3;
                color: white;
            }

    .text-center .type .liWrap > div {
        min-width: 40px;
        padding: 4px 10px;
        border-radius: 4px;
        margin: 0 10px;
        font-size: 14px;
        text-align: center;
        outline: none;
        cursor: pointer;
        background-color: rgba(255,255,255,0.5);
    }
@media (max-width: 768px) {

    .text-center {
        width: calc(100% - 60px);
        padding:15px;
        margin:15px;
    }
    .selectWrap ul {
        display: flex;
        flex-direction: column;
    }
        .selectWrap ul li {
            display:flex;
            gap:10px;
            min-height:initial;
            padding-bottom:10px;
        }
        .selectWrap ul li span{
            display:none;
        }        .selectWrap ul li p {
                     width:calc(100% - 120px);
        }
            .selectWrap ul li a {
                margin-left: 0;
                width: 50px;
                display: flex;
                line-height: initial;
                justify-content: center;
                align-items: center;
            }
}