/**
 * ----------------------------------------------------------------------------
 * Editor CSS
 * ----------------------------------------------------------------------------
 */

/* Customize the overall block */

div[data-type="imagely/nextgen-gallery"].is-selected>.editor-block-list__block-edit:before,
div[data-type="imagely/nextgen-gallery"].is-hovered>.editor-block-list__block-edit:before {
	outline: none !important;
}

div[data-type="imagely/nextgen-gallery"] .editor-block-list__breadcrumb {
	display:none !important;
}

/* Customize the tinymce menu bar */
div[data-type="imagely/nextgen-gallery"] .ngg-freeform-toolbar {
    display: none !important;
}

/* Styling for Add NextGEN Gallery button */

div[data-type="imagely/nextgen-gallery"] .add-ngg-gallery-wrap {
    min-height: 210px;
    margin: 0 !important;
    padding: 80px;
    position: relative;
    top: -32px;
    width: 100%;
    z-index: 1;
    background: #fff;
    border: 1px solid #eee;
    border-top: 4px solid #b8d330;
    box-shadow: 0 0 4px 2px rgba(0,0,0,.03);
    background: #fcfcfc;
}

div[data-type="imagely/nextgen-gallery"] .add-ngg-gallery {
    font-size: 14px;
    letter-spacing: 1.2px;
    line-height: 20px;
    font-family: Lato,sans-serif;
    font-weight: 900;
    color: #fff;
    background-color: black;
    border: none;
    box-shadow: none;
    padding: 12px 24px;
    margin: 0 auto;
    text-transform: uppercase;
    width: 260px;
    text-align: center;
    cursor: pointer;
}

div[data-type="imagely/nextgen-gallery"] .add-ngg-gallery:hover {
    background: #383838;
}

/* Customize the tinymce editor area */

div[data-type="imagely/nextgen-gallery"] .wp-block-freeform.block-library-rich-text__tinymce {
	overflow: visible;
}

div[data-type="imagely/nextgen-gallery"] .mce-drag-container {
	left: 0 !important;
}

/* Customize the NextGEN Gallery placeholder */

div[data-type="imagely/nextgen-gallery"] .nggPlaceholder {
	background-color: #ffffff;
    border-radius: 2px;
    box-shadow: 0 0 4px 2px rgba(0,0,0,.05);
    box-sizing: border-box;
    border-top: 5px solid #b8d330;
    color: #fff;
    font-family: sans-serif;
    font-size: 20px;
    outline: none !important;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 2;
    min-height: 210px;
    padding: 60px 60px 70px;
}

div[data-type="imagely/nextgen-gallery"] .wp-block-freeform.blocks-rich-text__tinymce > .nggPlaceholder {
	margin-top: 0;
	z-index: 2;
	display: block;
	position: relative;
}

div[data-type="imagely/nextgen-gallery"] .wp-block-freeform.blocks-rich-text__tinymce > .nggPlaceholder {
	margin-top: -135px;
}

div[data-type="imagely/nextgen-gallery"] .nggPlaceholder h3 {
    color: black !important;
    text-transform: uppercase;
    font-size: 21px;
    font-family: Lato, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    margin-bottom: 0;
    margin-top: 0;
}

div[data-type="imagely/nextgen-gallery"] .nggPlaceholderButton {
    background: black !important;
    border-radius: 0;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    display: inline-block !important;
    font-size: 12px;
    font-weight: bold;
    font-family: Lato, sans-serif !important;
    height: 36px !important;
    line-height: 36px !important;
    letter-spacing: 1.2px;
    margin: 0px 4px 2px 0;
    padding: 0;
    width: 121px;
    text-align: center;
    text-transform: uppercase !important;
    text-shadow: none !important;
    cursor: pointer;
}

div[data-type="imagely/nextgen-gallery"] .nggPlaceholderButton:hover {
    background: #383838 !important;
}