#tinymce {
    line-height: 25px;
    font-family: Arial, sans-serif;
    font-size: 17px
}

.post_preview {
    margin: -17px 0 0 0;
    line-height: 24px;
    font-size: 17px
}

p {
    margin: 2px 0 0 0;
    padding: 0;
    border: 0
}

.mce-container {
    line-height: 21px
}

.mce-content-body {
    min-height: 320px
}

.mce-object-iframe,.mce-preview-object iframe {
    width: 100% !important;
    max-width: 680px;
    min-height: 380px;
    border: none;
    margin:10px 0 10px 0;
    display:block
}

.img-responsive,
.user_images {
    display:block;
    max-width: 100%;
    height: auto
}

#wmd-input {
    visibility: hidden;
    min-height: 345px;
    color: #fff
}

.wmd-border {
    display: block;
    margin: 3px 0 10px 0;
    min-height: 385px
}

.wmd-border:hover {
    -webkit-box-shadow: 0 0 2px #315EB2;
    -moz-box-shadow: 0 0 2px #315EB2;
    box-shadow: 0 0 2px #315EB2
}

.video_embeds {
    height: 420px;
    width: 100%;
    max-width: 700px;
    margin: 10px 0 10px 0
}

#smileys_post {
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    margin: 0 2px 0 2px
}

#mcemediasource {
    width: 600px!important;
    height: 50px!important
}

.mce-grid a {
    padding: 2px!important
}

.mce-popover {
    position: absolute!important;
    z-index: 15!important;
    left: 38%!important;
    margin: 10 0 0 0!important;
    max-width: 100%!important;
    width: 322px!important;
    height:auto;
    min-height: 205px!important;
    overflow-y: auto!important;
    overflow-x: hidden!important;
    -webkit-overflow-scrolling: touch!important;
    max-height: 300px!important;
    border:1px solid #AAA!important;
    padding: 0 0 0 10px!important
}

#mce-modal-block.mce-in {
    opacity: 0;
   /* zoom: 0;
    position: inherit;
    width: 0;
    height: 0 */
}

.mce-listbox button {
    max-width: 108px!important
}

.mce-menubtn.mce-fixed-width span {
    width: 60px!important
}

.mce-btn .mce-caret {
    margin-left: 2px
}

.mce-colorbutton .mce-open {
    border-left: 0 solid transparent
}

.mce-colorbutton .mce-preview {
    height: 4px
}

.mce-grid td.mce-grid-cell div {
    float: left;
    padding: 10px
}

.mce-colorbutton {
    background-color: #fff
}

.mce-window-head {
    background-color: #f0f0f0
}

.mce-window {
    box-shadow: 0 0 15px 1px rgba(153, 153, 153, 1)
}

.mce-window {
    background: 0 0;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(.1);
    transition: transform 0s ease-in, opacity 0s ease-in
}

.mce-toolbar,
.mce-toolbar-grp {
    background-color: #fff
}

.mce-toolbar-grp {
    padding: 3px 1px 4px 1px
}

.mce-btn-group .mce-first {
    background-color: #fff
}

.mce-btn-group .mce-first:hover {
    background-color: #f0f0f0
}

.mce-btn.mce-active,
.mce-btn.mce-active:hover {
    background-color: #aaa;
    border-color: #aaa
}

.mce-textbox {
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 32px!important;
    min-width: 410px!important
}

.mce-disabled {
    background-color: #fff
}

.mce-abs-layout {
    z-index: 15!important;
    overflow-y: auto!important;
    -webkit-overflow-scrolling: touch!important;
    padding: 0 1px 1px 0;
    max-width: 625px
}

.hashtagy {
    display: inline-block;
    color: #055f77;
    font-weight: 400
}

.hashtagy:hover {
    text-decoration: underline
}

.astrong {font-weight:700;overflow-wrap: break-word}

@media all and (max-width:1000px) {
    .mce-window {
        width: auto!important;
        background: #fff!important
    }
    .mce-foot>.mce-container-body {
        padding: 10px!important;
        width: auto!important
    }
    .mce-window-head {
        background: #f0f0f0!important
    }
    .mce-window-body {
        background: #fff!important
    }
    .mce-foot>.mce-container-body {
        padding: 10px!important
    }
    .mce-panel {
        max-width: 100%!important
    }
    .mce-container {
        max-width: 100%!important;
        height: auto!important
    }
    .mce-container-body {
        max-width: 100%!important;
        height: auto!important
    }
    .mce-form {
        padding: 10px!important
    }
    .mce-tabs {
        max-width: 100%!important
    }
    .mce-formitem {
        margin: 10px 0!important
    }
    .mce-abs-layout-item {
        position: static!important;
        width: auto!important
    }
    .mce-abs-layout {
        display: inline-block
    }
    .mce-abs-layout-item.mce-label {
        display: block!important;
        margin: 10px 0 0 0!important
    }
    .mce-abs-layout-item.mce-textbox {
        -webkit-box-sizing: border-box!important;
        -moz-box-sizing: border-box!important;
        box-sizing: border-box!important;
        display: block!important;
        width: 100%!important;
        margin: 0 0 10px 0!important
    }
    .mce-abs-layout-item.mce-combobox {
        display: flex!important
    }
    .mce-abs-layout-item.mce-combobox>.mce-textbox {
        -ms-flex: 1 1 auto;
        -webkit-flex: 1 1 auto;
        flex: 1 1 auto;
        height: 32px!important
    }
    .mce-textbox {
        min-width: 550px!important
    }
    .mce-container-body.mce-window-body.mce-abs-layout iframe {
        height: 430px!important
    }
    .mce-tinymce-inline {
        left: 0!important;
        right: 0!important;
        margin-left: auto!important;
        margin-right: auto!important
    }
    .mce-tinymce-inline .mce-flow-layout {
        white-space: normal!important;
    }
    .mce-menu.mce-fixed {
        max-height: 90%;
        overflow: auto
    }
    .mce-title {
        white-space: normal!important
    }
    .mce-btn-group {
        overflow-y: hidden!important
    }
    iframe {
        min-height: 300px
    }
    .mce-popover {
        left: 33%!important
    }
    #mcemediasource {
    width: 100%!important;
    height: 70px!important;
    margin: 5px 0 10px 5px!important;
    }
    
    .mce-label {
    margin: 0 -6px 0 0;
    padding: 0 0 0 6px;
}

.mce-textbox.mce-multiline {
    max-width:550px!important;
    min-width:250px!important
}

}

@media all and (max-width:640px) {
    .mce-popover {
        left: 10%!important
    }
    .mce-textbox {
        min-width: 250px!important
    }

.mce-textbox.mce-multiline {
    max-width:380px!important;
    min-width:220px!important
}

}