/**
 * ----------------------------------------------------------------------------
 * 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 {
    background-color: #143650;
    border: none;
    border-top: 5px solid #b8d330;
    border-radius: 2px;
    display: none;
    min-height: 150px;
    margin: 0 0 -50px !important;
    padding: 46px 20px;
    position: relative;
    top: -40px;
    width: 100%;
    z-index: 1;
}

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: #9fbb1a;
    border: none;
    box-shadow: none;
    padding: 12px 24px;
    margin: 0 auto;
    text-transform: uppercase;
    width: 260px;
    text-align: center;
    cursor: pointer;
}

/* 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: #143650;
    border-radius: 2px;
    box-shadow: 0 0 4px 1px rgba(0,0,0,.05);
	box-sizing: border-box;
    border-top: 5px solid #b8d330;
	color: #fff;
    color: #9fbb1a;
	font-family: sans-serif;
	font-size: 20px;
    margin-bottom: -25px !important;
    outline: none !important;
    padding: 30px 30px 65px 30px;
    position: relative;
    text-align: center;
    top: -15px;
    width: 100%;
    z-index: 2;
}

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: #fff !important;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 20px;
    font-family: Lato, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 0;
}

div[data-type="imagely/nextgen-gallery"] .nggPlaceholderButton {
    background: #9ebd00 !important;
    border-radius: 2px;
    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;
    padding: 0;
    width: 105px;
    text-align: center;   
    text-transform: uppercase !important; 
    text-shadow: none !important;
    cursor: pointer;
}

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