@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 {
    padding: 20px 24px;
    padding-left: 260px;
    box-sizing: border-box;
    .title {
        height: 26px;
        line-height: 26px;
        font-size: 20px;
        margin-bottom: 18px;
    }
    .types {
        padding-top: 27px;
        border-top: 1px solid rgba(230,230,230,1);
        height: 27px;
        span {
            height: 25px;
            margin-right: 21px;
            cursor: pointer;
            color:rgba(153,153,153,1);
            &.active {
                border-bottom: 2px solid rgba(237,50,42,1);
                color: rgba(237,50,42,1);
            }
            &:hover {
                color: rgba(237,50,42,1);
            }
        }
    }
    ul {
        margin-top: 41px;
        font-size: 14px;
        &.vat-invoice {
            display: none;
        }
        li {
            height: 36px;
            margin-bottom: 25px;
            .name {
                width: 141px;
                height: 36px;
                line-height: 36px;
                text-align: right;
                margin-right: 18px;
            }
            .method, .invoice-content {
                p {
                    padding: 8px 15px;
                    border: 1px solid rgba(201,201,201,1);
                    margin-right: 11px;
                    border-radius:2px;
                    font-size: 12px;
                }
            }
            .invoice-content {
                max-width: 300px;
                div {
                    span {
                        color:rgba(211,211,211,1);
                        font-size:12px;
                        margin: 10px 0;
                    }
                }
            }
            &.invoice-con {
                height: 74px;
                margin: 0;
            }
            &.invoice-title {
                height: 87px;
                .title-item {
                    width: 300px;
                    height: 36px;
                    &:first-child {
                        margin-bottom: 15px;
                    }
                    input {
                        width: 300px;
                        height: 36px;
                        box-sizing: border-box;
                    }
                }
            }
            &.taxid {
                input {
                    width: 300px;
                    height: 36px;
                    box-sizing: border-box;
                }
            }
            &.company-name {
                height: 36px;
                ul {
                    position: relative;
                    width: 250px;
                    height: 36px;
                    margin: 0;
                    border: 1px solid #D3D3D3;
                    line-height: 36px;
                    padding: 0 8px;
                    overflow: hidden;
                    i {
                        position: absolute;
                        right: 8px;
                        top: 15px;
                        width: 10px;
                        height: 7px;
                        background: url(./i/icon-down.png) no-repeat center center;
                        background-size: 100% 100%;
                    }
                }
            }
        }
    }
    .btns {
        padding-top: 30px;
        padding-left: 183px;
        span {
            width: 80px;
            height: 36px;
            text-align: center;
            line-height: 36px;
            border-radius:2px;
            margin-right: 12px;
            &.cancel {
                border: 1px solid rgba(153,153,153,1);
            }
            &.save {
                background:rgba(237,50,42,1);
                border-radius:2px;
                color: white;
            }
        }
    }
}

