@-webkit-keyframes pop-upwards {
    0% {
        -webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
        transform: matrix(0.97, 0, 0, 1, 0, 12);
        opacity: 0;
    }
    20% {
        -webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
        transform: matrix(0.99, 0, 0, 1, 0, 2);
        opacity: 0.7;
    }
    40% {
        -webkit-transform: matrix(1, 0, 0, 1, 0, -1);
        transform: matrix(1, 0, 0, 1, 0, -1);
        opacity: 1;
    }
    70% {
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
        opacity: 1;
    }
    100% {
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
        opacity: 1;
    }
}
@keyframes pop-upwards {
    0% {
        -webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
        -ms-transform: matrix(0.97, 0, 0, 1, 0, 12);
        transform: matrix(0.97, 0, 0, 1, 0, 12);
        opacity: 0;
    }
    20% {
        -webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
        -ms-transform: matrix(0.99, 0, 0, 1, 0, 2);
        transform: matrix(0.99, 0, 0, 1, 0, 2);
        opacity: 0.7;
    }
    40% {
        -webkit-transform: matrix(1, 0, 0, 1, 0, -1);
        -ms-transform: matrix(1, 0, 0, 1, 0, -1);
        transform: matrix(1, 0, 0, 1, 0, -1);
        opacity: 1;
    }
    70% {
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        -ms-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
        opacity: 1;
    }
    100% {
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        -ms-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
        opacity: 1;
    }
}
.medium-toolbar-arrow-under:after {
    top: 50px;
    border-color: #535a6c transparent transparent transparent;
}
.medium-toolbar-arrow-over:before {
    top: -8px;
    border-color: transparent transparent #535a6c transparent;
}
.medium-editor-toolbar {
    background-color: #535a6c;
    border-radius: 2px;
    transition: top 0.075s ease-out, left 0.075s ease-out;
}
.medium-editor-toolbar li button {
    min-width: 50px;
    height: 50px;
    border: 0;
    border-right: 1px solid #4F5266;
    background-color: #535a6c;
    color: #fff;
    -webkit-transition: background-color 0.2s ease-in;
    transition: background-color 0.2s ease-in;
}
.medium-editor-toolbar li button:hover {
    background-color: #3A3D53;
    color: #FFB244;
}
.medium-editor-toolbar li .medium-editor-button-first {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}
.medium-editor-toolbar li .medium-editor-button-last {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}
.medium-editor-toolbar li .medium-editor-button-active {
    background-color: #3A3D53;
    color: #fff;
}
.medium-editor-toolbar-form-anchor {
    background: #535a6c;
    color: #999;
    border-radius: 2px;
}
.medium-editor-toolbar-form-anchor input {
    height: 50px;
    background: #535a6c;
    color: #ccc;
    border-radius: 2px 0 0 2px;
}
.medium-editor-toolbar-form-anchor a {
    color: #fff;
}
.medium-editor-toolbar-anchor-preview {
    background: #535a6c;
    color: #fff;
    border-radius: 2px;
}
.medium-editor-placeholder:after {
    color: #b3b3b1;
}