@import 'common.scss';

.left {
    position: relative;
    width: 250px;
    height: 616px;
    ul {
        width: 100%;
        li {
            width: 100%;
            height: 45px;
            padding-left: 30px;
            box-sizing: border-box;
            line-height: 45px;
            font-size: 14px;
            color:rgba(153,153,153,1);
            &:hover {
                border-left: 2px solid #ED322A;
                background:rgba(255,238,238,1);
                a {
                    color:rgba(237,50,42,1);
                }
            }
        }
    }
}
.right {
    height: 616px;
    padding: 20px 24px;
    padding-left: 260px;
    box-sizing: border-box;
    .title {
        height: 26px;
        line-height: 26px;
        font-size: 20px;
    }
    ul {
        margin-top: 41px;
        font-size: 14px;
        li {
            height: 18px;
            margin-bottom: 18px;
            span {
                color:rgba(153,153,153,1);
                margin-right: 30px;
            }
            i {
                display: inline-block;
                width: 17px;
                height: 17px;
                background: url(./i/edit.png) no-repeat center center;
                background-size: 100% 100%; 
            }
            p {
                span {
                    color: #666;
                }
            }
        }
        li:first-child {
            height: 70px;
            line-height: 70px;
        }
        .logo {
            position: relative;
            height: 70px;
            width: 180px;
            overflow: hidden;
            img {
                width: 100%;
                height: 100%;
                border: 1px solid rgba(238,238,238,1);
            }
            p {
                cursor: pointer;
                display: none;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                line-height: 70px;
                text-align: center;
                color: #ffffff;
                background: rgba(0, 0, 0, 0.5);
                z-index: 1;
            }
            &:hover {
                p {
                    display: block;
                }
            }
        }
    }
}

.thickbox {
    border: 0 !important;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.05);
}

.thickwrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.form {
    .form-item {
        .item {
            text-align: center;
            .input-txt {
                position: relative;
                text-align: center;
                input {
                    width: 274px;
                    height: 38px;
                    margin: 40px auto 0;
                    padding: 11px;
                    box-sizing: border-box;
                }
                p {
                    position: absolute;
                    right: 0;
                    bottom: 10px;
                    left: 0;
                    width: 150px;
                    height: 40px;
                    margin: 0 auto;
                    text-align: center;
                    line-height: 38px;
                    font-size:14px;
                    font-family:MicrosoftYaHei;
                    color:rgba(51,51,51,1);
                    border:1px solid rgba(238,238,238,1);
                }
            }
            input[type=file] {
                position: relative;
                width: 150px;
                height: 40px;
                margin-bottom: 10px;
                opacity: 0;
                z-index: 5;
            }
            p {
                line-height: 16px;
                color:rgba(153,153,153,1);
            }
        }
    }
}

.btn-group {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 420px;
    height: 98px;
    text-align: center;
    line-height: 98px;
    box-shadow:0px -1px 0px 0px rgba(239,239,239,1);
    .btn {
        width: 80px;
        height: 38px;
        line-height: 38px;
        text-align: center;
        margin: 10px;
        border: 0;
        outline: none;
        border-radius:2px;
        &.cancel, &.re-upload {
            background: #fff;
            border:1px solid rgba(158,158,158,1);
        }
        &.re-upload {
            display: none;
            margin-right: 97px;
        }
        &.surecls {
            background: rgba(237,50,42,1);
            color: #ffffff;
        }
    }
}


.selected {
    .form-item {
        padding: 0 80px;
        .logo {
            display: none;
            .adjust {
                position: relative;
                width: 150px;
                height: 150px;
                margin-right: 20px;
                background: rgba(233,233,233,1);
                img {
                    width: 100%;
                    height: 100%;
                }
            }
            
            .preview {
                width: 70px;
                height: 70px;
                img {
                    width: 100%;
                    height: 70px;
                    background: rgba(233,233,233,1);
                }
            }
        }
    }
    
}
