.dic-details {
    max-width: 320px;
    flex-shrink: 0;
    z-index: 300;
    position: relative;
    background: #fff;
    z-index: 100;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);

    &.translate-out {
        width: 0;
    }

    .dic-details-collapse {
        width: 25px;
        padding: 5px 0 5px 5px;
        overflow: hidden;
        position: absolute;
        top: 50%;
        transform: translateX(-100%) translateY(-50%);
        cursor: pointer;

        .collapse-trigger {
            width: 20px;
            height: 60px;
            color: #fff;
            background: #62687d;
            vertical-align: middle;
            line-height: 58px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
            text-align: center;
            &:hover {
                background: #343a4a;
            }
            .mc-icon {
                margin-left: 3px;
            }
        }
    }
    .dic-details-scroll-container {
        height: 100%;
        overflow-y: scroll;

        .dic-details-inner-container {
            padding: 15px 20px 0 20px;

            .dic-details-input {
                padding: 20px 0;
                border-bottom: #efefef 1px solid;

                .dic-details-input-title {
                    font-size: 16px;
                    margin-bottom: 3px;
                    height: 32px;
                    line-height: 32px;
                    color: #353a4a;
                }

                .dic-details-input-hand {
                    input {
                        width: 100%;
                        padding: 10px;
                        height: 34px;
                        line-height: 34px;
                        border-radius: 5px;
                        border: 1px solid rgb(211, 211, 211);
                        margin-bottom: 0;
                    }
                }

                &.dic-details-input-tmplname {
                    padding-top: 0;
                    input::-webkit-input-placeholder {
                        color: #cccccc;
                        font-size: 12px;
                    }
                }

                &.dic-details-input-tmplsize {
                    .dic-details-input-paper {
                        display: flex;
                        align-items: center;

                        .dic-paper-border {
                            margin: 2px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 40px;
                            height: 55px;
                            padding: 1px;
                            background-size: 100% 100%;
                            background-repeat: no-repeat;
                        }

                        .dic-paper-one {
                            display: flex;
                            flex-direction: row;
                            justify-content: center;
                            align-items: center;
                            width: 100%;
                            height: 100%;
                            background-size: 100% 100%;
                            background-repeat: no-repeat;
                            font-size: 12px;
                            color: #808491;
                            background-image: url('../../../../assets/images/template.svg');

                            &.dic-paper-one-selected {
                                background-image: url('../../../../assets/images/selected_template.svg');
                            }
                        }

                        .dic-paper-border:hover {
                            cursor: pointer;
                        }
                    }
                }

                &.dic-details-input-tmplcustm {
                    display: none;

                    .dic-details-input-custom {
                        width: 100%;
                        display: flex;
                        justify-content: space-between;
                    }
                    input {
                        width: 45%;
                        display: block;
                        padding: 10px;
                        height: 32px;
                        line-height: 32px;
                        border-radius: 5px;
                        border: 1px solid rgb(211, 211, 211);
                        margin-bottom: 0;
                    }
                }
            }

            .dic-paper-current {
                height: 10px;
                display: block;
                font-size: 12px;
                text-align: center;
            }

            .dic-set {
                margin-top: 24px;

                .dic-set-title {
                    font-size: 16px;
                    color: #353a4a;
                }

                .dic-set-form {
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-start;
                    align-items: flex-start;
                    padding-top: 15px;

                    .dic-set-check {
                        padding: 2px 4px 0 0;
                        input[type='radio'] {
                            cursor: pointer;
                        }
                    }

                    .dic-action-box-item {
                        .taoda-type {
                            color: #60636e;
                        }
                        .taoda-desc {
                            color: #9c9ea3;
                            line-height: 22px;
                            margin-top: 5px;
                            border-bottom: 1px dashed #efefef;
                            padding-bottom: 15px;
                        }

                        .dic-action-button {
                            margin-top: 10px;
                            display: flex;
                            justify-content: space-between;

                            button {
                                height: 30px;
                                padding: 0 8px;
                                cursor: pointer;
                                color: #9c9ea3;
                                line-height: 30px;
                                border-radius: 5px;
                                border: 1px solid rgb(211, 211, 211);
                                background: #fff;

                                &:hover {
                                    color: #52a9ff;
                                    border-color: #8bc5ff;
                                }

                                &:focus {
                                    color: #3296fa;
                                    border-color: #3296fa;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

.print-nested {
    background-color: rgb(235, 231, 231) !important;
}
