

/*
*   Single Attachment
*/

.attachment-header {
}
.single-attachment .site-inner figure{
    margin: 0;
    position: relative;
    left:50%;
    top:50%;
    -webkit-transform: translate(-50%,-50%); 
    -moz-transform: translate(-50%,-50%); 
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%); 
}
.single-attachment .media-info{
    font-size: 85%;
    line-height: 1.3;
}
.single-attachment .media-info .info-header{
    padding-top: 8px;
    padding-bottom: 12px;
}
.single-attachment .info-tags{
    margin-top: -4px;
    margin-bottom: 16px;
}
.single-attachment .info-tag{
    display: inline-block;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.15);
    text-transform: uppercase;
    font-size: 85%;
    font-weight: 500;
    margin-right: 4px;
    margin-bottom: 4px;
    box-sizing: border-box;
    cursor: default;
}

.single-attachment .info-credits:not(:last-child){
    margin-bottom: 16px;
}
.single-attachment .info-credits .button{
    margin-top: 16px;
}
.single-attachment .info-credit{
    display: flex;
}
.single-attachment .info-credit .title{
    min-width: 75px;
    display: inline-block;
    font-variant-caps: all-small-caps;
}
.single-attachment .info-credit.description{
    margin-top: 8px;
}
.single-attachment .info-subheader{
    font-size: 115%;
    font-weight: 600;
    line-height: 1.2;
}

.attachment-header .media-file {
    border: 1px solid #e6e6e6;
    border-right: none;
    padding: 32px 32px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    text-align: center;
}
.attachment-header .media-info {
    border: 1px solid #e6e6e6;
    border-left: none;
    background-color: #eee;
    padding: 16px 32px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.single-attachment figure{
}
.single-attachment figure video,
.single-attachment figure img{
    max-height: 480px;
    width: auto;
    margin: 0 auto;
}
.single-attachment figcaption{
    color: var(--global-palette5);
    font-size: 80%;
    text-align: center;
}
.single-attachment figure .svg-box .svg-file-icon{
    max-height: 240px;
    width: auto;
}
.single-attachment figure .svg-box .svg-file-name{
    position: relative;
    top: -16px;
}
.single-attachment figure .svg-box svg .shape,
.single-attachment figure .svg-box svg .textbox{
    fill: var(--global-palette1);
}
.single-attachment figure .svg-box .svg-file-name span{
    background-color: #f6f6f6;
    border: 1px solid #eee;
    border-radius: 6px;
    display: inline-block;
    padding: 0px 16px;
}
.single-attachment .info-tag {
    display: inline-block;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.15);
    text-transform: uppercase;
    font-size: 85%;
    font-weight: 500;
    margin-right: 4px;
    margin-bottom: 4px;
    box-sizing: border-box;
    cursor: default;
}
.single-attachment .media-type{
    background-color: var(--global-palette1);
}
.single-attachment .media-fileformat{
    background-color: #fff;
}
.single-attachment .ownership{
    /* padding-bottom: 18px; */
}
.nen-block-button.type-icon.style-square .icon-box {
    width: 48px;
}
.nen-block-button.type-icon.style-square .nen-inner {
    padding: 18px;
    padding-left: 64px;
    min-height: 48px;
}
@media all and (max-width: 800px) {
    .attachment-header .media-file,
    .attachment-header .media-info {
        border: 1px solid #e6e6e6;    
        border-radius: 12px;
    }
    .attachment-header .media-file {
        margin-bottom: 0 !important;
        border-bottom: none;    
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .attachment-header .media-info {
        margin-top: 0 !important;
        border-top: none;    
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .single-attachment .site-inner figure{
        left:50%;
        top:auto;
        -webkit-transform: translateX(-50%); 
        -moz-transform: translateX(-50%); 
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%); 
    }
}
.single-attachment .content-wrapper + .attachment-post{
    padding-left: 48px;
    border-left: 2px solid #eee;
    border-left-color: var(--global-palette1);
}
.single-attachment .content-wrapper + .attachment-post{
    margin-top: 48px;
}
.single-attachment .attachment-post .button-box{
    margin-top: 32px;
}
