@import "base/mixins";
.popup {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: rgba(1, 1, 1, .8);
    &:after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        width: 0;
        height: 0;
        margin-left: -5px;
        @include triangle-down(10px, rgba(1, 1, 1, .8));
        transform: translateX(-6px);
    }
    .popup-close-btn {
        position: absolute;
        top: 7.5px;
        right: 7.5px;
        width: 15px;
        height: 15px;
        box-sizing: content-box;
        cursor: pointer;
        &:before,
        &:after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            height: 2px;
            background-color: #fff;
        }
        &:before {
            transform: translate(0, -1px) rotate(45deg);
        }
        &:after {
            transform: translate(0, -1px) rotate(-45deg);
        }
    }
}

.save-to-desk {
    width: 290px;
    height: 78px;
    color: #ffffff;
    font-size: 13px;
    bottom: 10px;
    z-index: 999;
    display: none;
    .save-content {
        @include webkitbox();
        -webkit-box-align: center;
        height: 100%;
        padding: 15px;
        .save-dw-icon {
            width: 48px;
            height: 48px;
            // background: url(../img/popup_dw_icon.png) no-repeat center;
            // background-size: 100% 100%;
            img {
                display: block;
                width: 100%;
                height: 100%;
            }
        }
        .save-desc {
            margin: -3px 15px;
            line-height: 18px;
        }
        .save-icon {
            display: inline-block;
            width: 10px;
            height: 18px;
            margin-left: 5px;
            vertical-align: text-top;
            background: url(../img/save_icon.png) no-repeat center top;
            background-size: 100% auto;
        }
    }
}