/*
Front-End styles
*/
/*
.block-loading { 
	opacity: 1; 
	pointer-events:visible; 
}
*/
.block__custom-graphic-title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: auto;
}

.block__custom-graphic-title h1,
.block__custom-graphic-title h2 {
    margin: 0;
    padding: 0;
}

.block__custom-graphic-title h1::after {
    display: none !important;
    margin: 0;
}

.block__custom-graphic-title img {
    max-width: 300px;
    width: 100%;
}

.block__custom-graphic-title.overlapped h1,
.block__custom-graphic-title.overlapped h2,
.block__custom-graphic-title.overlapped div {
    display: flex;
    justify-content: center;
    align-self: center;
    /*
    position:absolute;
    top:0;
    left:50%;
    transform:translate(-50%, 0);
    */
}



@media screen and (min-width: 992px) {

    .block__custom-graphic-title img {
        max-width: auto;
    }

}


/* 
Editor styles
*/
.block__custom-graphic-title.preview {
    width: 100% !important;
    /* Required for previewing on editor */
    position: relative;
    border: 1px dotted grey;
}

.block__custom-graphic-title.preview::before {
    content: "GRAPHIC TITLE";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    padding: 2px;
    background: blue;
    color: #FFFFFF;
    font-size: 10px;
    line-height: 1em;
    font-weight: 800;
    z-index: 999;
}

.block__custom-graphic-title.preview h1::after {
    display: none !important;
    margin: 0;
}

.block__custom-graphic-title.preview.overlapped h1,
.block__custom-graphic-title.preview.overlapped h2,
.block__custom-graphic-title.preview.overlapped div {
    position: relative !important;
}