/* Attachment card link */
.aQy {
    font-family: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
    background-color: #fff;
    display: inline-block;
    height: 120px;
    width: 180px;
    overflow: hidden;
    position: relative;
    z-index: 0;
    text-decoration: none;
    outline: none;
}
.aQy:hover .aSH .aYy {
    top: 0;
}
.aQy:hover .aSH .aQA {
    max-height: 48px;
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    margin-right: 8px;
}
.aQy:hover .aSH .aYp {
    margin-top: 4px;
    display: block;
}

/* Screen-reader only */
.a3I {
    position: absolute;
    left: -10000px;
    top: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Preview image fade-in */
.aQG {
    transition: opacity .5s linear;
    position: absolute;
    border: none;
    width: 100%;
    opacity: 1;
    top: 0;
}

/* Preview background */
.aSG {
    background: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Border overlay — shared base */
.aZn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px solid #e5e5e5;
    overflow: visible;
    z-index: 2;
}
.aZn {
}
.aZn:after {
    content: "";
    position: absolute;
    top: 118px;
    left: 0;
    right: 39px;
    height: 0;
    border-bottom: 1px solid #e5e5e5;
}
.aZm {
    top: 0;
    left: 0;
    width: 0;
    height: 118px;
    border-left: 1px solid #e5e5e5;
}
.aZm:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 118px;
    border-right: 1px solid #e5e5e5;
}

/* Preview content area */
.aSH {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
    overflow: hidden;
    z-index: 1;
}

.aYv {
    position: relative;
    height: 85px;
    text-align: center;
}

.aYw {
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: no-repeat url(../img/new-attachment-cards.png) -219px -88px;
    width: 40px;
    height: 40px;
    border: none;
}

/* Footer bar */
.aYy {
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
}

/* Icon container in footer */
.aYA {
    align-items: center;
    float: left;
    display: flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

/* Text wrapper in footer */
.aYz {
    overflow: hidden;
}

/* Filename */
.aQA {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #777;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    margin-right: 32px;
    margin-top: 8px;
}
.aV3 {
    user-select: none;
}

/* Icon image */
.aSM {
    width: 16px;
    height: 16px;
    border: none;
}

/* File size (hidden by default) */
.aYp {
    font-size: 11px;
    color: #aaa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: none;
}

/* Folded corner indicator */
.aSI {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    height: 20px;
    width: 20px;
    border-right: solid 20px transparent;
}
.aSI .aSJ {
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    right: -20px;
    border-width: 10px;
    border-style: solid;
    z-index: 3;
}
.aSI:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -20px;
    background: no-repeat url(../img/new-attachment-cards.png) -129px -88px;
    height: 20px;
    width: 40px;
    z-index: 4;
}

/* HiDPI */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    .aSI:after {
        background: no-repeat url(../img/new-attachment-cards_2x.png) -129px -88px;
        background-size: 311px 150px;
    }
}



.aQy:hover .aSH .aQw {
    opacity: 1;
}

.aQw {
    position: absolute;
    left: 32px;
    opacity: .01;
    bottom: 15px;
}
.aQw .CgzRE {
    float: left;
    margin-right: 8px;
    background-color: #80868b;
    padding: 2px;
    width: 24px;
    height: 24px;
    appearance: none;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    display: -webkit-inline-flex;
    display: inline-flex;
    fill: currentColor;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    line-height: inherit;
    outline: none;
    position: relative;
    text-rendering: inherit;
    -webkit-user-select: none;
    user-select: none;
    border-radius: 3px;
}
.aQw .CgzRE:hover {
    background-color: #8a8f94;
}
.aQw .CgzRE span {
    display: inline-block;
    inline-size: 24px;
    block-size: 24px;
    font-size: 24px;
    line-height: 0;
    z-index: 1;
}
.aQw .CgzRE path {
    fill: white;
}
