.image-detail {
    background: {$image-detail.back_color};
}

.image-detail h2 {
    text-align: center;
    margin-bottom: 8px;
}

.image-detail .top {
    text-align: center;
    opacity: .68;
    margin-bottom: 18px;
}

.image-detail .top b {
    font-weight: inherit;
}

.image-detail .top i {
    font-style: inherit;
    margin-right: 18px;
}

.image-detail .top i:last-child {
    margin: 0;
}

.image-detail .sub {
    float: left;
}

.image-detail .sub>dl {
    padding-bottom: 8px;
}

.image-detail .sub>dl:after {
    display: block;
    content: '';
    clear: both;
}

.image-detail .sub>dl>dt {
    float: left;
    opacity: .88;
}

.image-detail .sub>dl>dd {
    float: left;
}

.image-detail .sub>a {
    margin-top: 18px;
}

.image-detail .sub+.content {
    border-left: 1px solid #f0f0f0;
}

.image-detail aside {
    margin-bottom: 18px;
}

.image-detail dir {
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.image-detail dir:after {
    display: block;
    content: '';
    clear: both;
}

.image-detail dir>dl:after {
    display: block;
    content: '';
    clear: both;
}

.image-detail dir>dl>dt {
    float: left;
    margin-right: 8px;
    opacity: .88;
}

.image-detail dir>dl>dt b {
    font-weight: inherit;
}

.image-detail dir>dl>dd {
    float: left;
}

.image-detail dir>dl>dd i {
    font-style: inherit;
}

.image-detail .images {
    width: 100%;
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
}

.image-detail .images .imgs {
    width: 10000%;
}

.image-detail .images .imgs:after {
    display: block;
    content: '';
    clear: both;
}

.image-detail .images .imgs .img {
    width: 1%;
    float: left;
}

.image-detail .images .imgs .img img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.image-detail .tag {
    margin-bottom: 18px;
}

.image-detail .tag a {
    display: inline-block;
    margin-right: 8px;
    border: 1px solid #f0f0f0;
    padding: 2px 8px;
    border-radius: 3px;
}

@media(max-width:767px) {
    .image-detail .tag {
        margin-bottom: 8px;
    }

    .image-detail .tag a {
        margin-right: 4px;
        padding: 2px 8px;
    }
}

@media(min-width:1200px) {
    .image-detail .sub {
        width: 268px;
        padding-right: 28px;
    }

    .image-detail .sub+.content {
        margin-left: 268px;
        padding-left: 28px;
    }

    .image-detail .images dl {
        visibility: hidden;
        opacity: 0;
        transition: .3s;
    }

    .image-detail .images:hover>dl {
        visibility: visible;
        opacity: 1;
    }

    .image-detail .images dl>* {
        position: absolute;
        top: 50%;
        width: 30px;
        height: 30px;
        margin-top: -20px;
        transform: rotate(45deg);
        cursor: pointer;
        transition: .3s;
        border-style: solid;
        border-color: rgb(252,107,0);
    }

    .image-detail .images dl>dt {
        left: 30px;
        border-width: 0 0 2px 2px;
    }

    .image-detail .images dl>dd {
        right: 30px;
        border-width: 2px 2px 0 0;
    }

    .image-detail .images dl>dt:hover,
    .image-detail .images dl>dd:hover {
        border-color: rgb(92,114,125);
    }
}

@media(max-width:1199px) {
    .image-detail .sub {
        width: 248px;
        padding-right: 18px;
    }

    .image-detail .sub+.content {
        margin-left: 248px;
        padding-left: 18px;
    }
}
@media(min-width:992px) {
    .image-detail dir dl{
        display: inline-block;
    }
    .image-detail dir dl.next {
        float: right;
    }
}
@media(max-width:991px) {
    .image-detail .sub {
        width: auto;
        padding-right: 0;
        float: none;
    }

    .image-detail .sub>a {
        margin-top: 8px;
    }

    .image-detail .sub+.content {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .image-detail .content {
        padding-top: 18px;
        margin-top: 18px;
        border-top: 1px solid #f0f0f0;
    }
}

@media(max-width:767px) {
    .image-detail h2 {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .image-detail .top {
        margin-bottom: 8px;
    }

    .image-detail aside {
        margin-bottom: 8px;
    }

    .image-detail dir {
        padding-top: 8px;
    }

    .image-detail .sub>dl {
        padding-bottom: 4px;
    }

    .image-detail .sub>a {
        margin-top: 4px;
    }

    .image-detail .content {
        padding-top: 8px;
        margin-top: 8px;
    }

    .image-detail .images {
        margin-bottom: 8px;
    }
}