/* ---------------------- 
Stylesheet Guide
-------------------------

GENERAL
SUMMERNOTE OVERWRITES
GRID
GIPHY

*/

/* ================= GENERAL ================== */

#whats-new-textarea {
    position: relative;
}

#whats-new {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: -1;
    display: block !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    color: transparent !important;
    height: 0 !important;
    width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
}

.miresa-msg {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    padding: 15px 10px;
    background: #2196F3;
    border-left: 5px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    line-height: 1.5;
}

.miresa-msg.danger {
    background: #F44336;
}

.miresa-msg.warning {
    background: #FF9800;
}

.miresa-msg.success {
    background: #009688;
}

.youzify .note-btn-group i {
    font-size: inherit;
}

/* ================= SUMMERNOTE OVERWRITES ================== */

textarea.note-codable {
    border: none !important;
}

.note-video-clip {
    max-width: 100%
}

.activity-inner img {
    max-width: 100%;
}

.note-icon-audio svg {
    vertical-align: middle;
}

.note-paragraph .note-btn-group .note-dropdown-menu {
    min-width: 0;
}

.note-paragraph .note-btn-group {
    display: flex;
    margin: 0;
}

.note-paragraph .note-btn-group:first-child {
    margin-bottom: 5px;
}

.note-emoji .dropdown-toggle {
    vertical-align: middle
}

.note-dropdown-menu.dropdown-emoji a.note-dropdown-item {
    display: inline-block;
    font-size: 22px !important;
    margin: 0 !important;
    padding: 2px !important;
    transform: scale(1.0);
    transition: transform 0.1s ease-in-out;
}

.note-dropdown-menu.dropdown-emoji a.note-dropdown-item:hover {
    transform: scale(1.2);
}

.note-emoji .dropdown-toggle i {
    visibility: hidden;
}

.note-emoji .dropdown-toggle span {
    font-size: 18px !important;
    display: inline-block;
    position: absolute;
    left: 9px;
    top: 5px;
}

.note-editor .note-toolbar .note-dropdown-menu.dropdown-emoji {
    min-width: 188px;
}

.note-specialchars span {
    transform: scale(1.5) translateY(1px);
    display: inline-block;
}

.miresa-specialchars {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fill, minmax(min(30px, 100%), 1fr));
    column-gap: 5px;
    row-gap: 5px;
}

.miresa-specialchars button.note-btn {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    height: 30px;
    font-size: 18px !important;
}

.note-editor.codeview .note-codable {
    font-family: 'Courier New', monospace !important;
}

.note-giphy .note-btn {
    font-weight: bold !important;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
    color: #6157FF !important;
}

.note-btn-group {
    vertical-align: bottom;
}

.note-paragraph .note-btn-group:first-child {
    margin-bottom:0 !important;
}

.note-modal-body input[type="checkbox"] {
    margin-right: 5px;
}

.note-btn-group.note-list {
    margin-top:5px;
}

.note-fontname .note-btn.dropdown-toggle > span {
    line-height: 1
}

.note-editor {
    z-index: 9;
}

/* ================= GRID ================== */

.miresa-search-box {
    display: flex;
    margin-bottom: 25px;
    margin-top: 5px;
}

.miresa-search-box button.note-btn {
    border-radius: 0 !important;
    margin-left: -1px !important;
}

.miresa-grid {
    position: relative;
    column-gap: 12px;
    column-count: 4;
}

.miresa-grid-item {
    cursor: pointer;
    position: relative;
    margin-bottom: 12px;
    break-inside: avoid;
}

.miresa-grid img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    background: #fff;
}

.miresa-grid-item .miresa-gif-info {
    position: absolute;
    top: 5px;
    right: 5px;
    text-decoration: none;
}

.miresa-grid-item .miresa-gif-info .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background: #fff;
    border-radius: 100%;
    z-index: 9;
    color: #6157FF
}

.miresa-loadmore {
    margin-top: 25px;
}

.miresa-loadmore button.note-btn {
    display: block;
    width: 100% !important;
    padding: 14px 10px !important;
    border-radius: 0 !important;
}

/* ================= GIPHY ================== */

.miresa-giphy-stickers,
.miresa-giphy {
    opacity:1;
    transition: opacity 0.2s ease-in-out;
}

.miresa-credit {
    display: flex;
    justify-content: flex-end;
    margin-top:15px;
    margin-right:-8px;
}
  
.miresa-credit img {
    width:100%;
    max-width: 160px;
    height: auto;
}