.editor-menu {
	float:left;
	width: 100%;
	text-align: center;
}

.editor-menu .btn {
    background: #00000040;
    color: #000000ad;
    box-shadow: 0 3px 3px 0px #16161614;
    padding: 5px 15px;
    margin: 0;
    font-size: 13px;
    line-height: initial;
    border-radius: 3px;
}
.editor-menu .btn:hover, .editor-menu .btn.active {
    background: #000000ba;
    color: #ffffffad;
}
.editor-menu .btn > i {
    margin: 0 2px 0 -4px;
}

.editor-menu .btn > i {
    display: none;
}

.editor-menu .bb-bold {
    font-weight:bold;
}

.editor-menu .bb-underline {
    text-decoration:underline;
}

.editor-menu .attachments-box {
    display: none;
    position: relative;
    float: left;
    width: 100%;
    background: #f7f7f7;
    margin: 10px 0;
    border-radius: 3px;
    box-sizing: border-box;
    text-align: center;
}

.editor-menu .attachments-box > h3 {
    padding: 20px 20px 5px 5px;
    font-size:16px;
    font-weight: normal;
    text-align: center;
}

.editor-menu .attachments-box > h3 > i {
    padding-right:5px;
}

.editor-menu .attachments-box > h3 span.spec {
    background:#fff300;
    border-radius: 5px;
    padding: 0 5px;
}

.editor-menu .attachments-box > h3 span.bb {
    display:none;
}

.editor-menu .attachments-box.bb-image > h3 span.bb-image,
.editor-menu .attachments-box.bb-ytvideo > h3 span.bb-ytvideo {
    display:inline;
}

.editor-menu .attachments-box > .items {
    white-space: nowrap;
    overflow-x: auto;
    width: 100%;
    margin-bottom:1px;
    padding: 0 10px 15px;
    box-sizing: border-box;
}

.editor-menu .attachments-box > .items > div {
    display: inline-block;
    padding: 5px;
    width: 160px;
    text-align: center;
    line-height: 1;
    white-space: normal;
} 

.editor-menu .attachments-box > .items > div.new {
    background: #aff9b8;
    border: 1px solid #08ff27;
    border-radius: 5px;
    box-shadow: 0px 5px 5px #08ff2754;
    animation: fadein 3s;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.editor-menu .attachments-box > .items > div > .thumb {
    display: inline-block;
    width: 150px;
    height: 100px;
    line-height: 100px;
    overflow: hidden;
}

.editor-menu .attachments-box > .items > div > .thumb > img {
    max-width: 150px;
    max-height: 100px;
    vertical-align: middle;
    border-radius: 5px;
}

.editor-menu .attachments-box > .items > div > .bb-code {
    -webkit-user-select: all;
    user-select: all;
    font-family: monospace;
    font-size: 13px;
    font-weight: bold;
    color: #3f3f3f;
    background: #fff300;
    padding: 5px 3px;
    margin-bottom: 5px;
    border-radius: 3px;
    display:inline-block;
}
.editor-menu .attachments-box > .items > div:hover > .bb-code {
    background: #a2ff2e;
}
.editor-menu .attachments-box > .items > div > .bb-code:focus {
    animation: select 100ms step-end forwards;
}

@media screen and (min-width: 600px)
{

    .editor-menu .btn > i {
        display: inline-block;
    }

}