/*
Front-End styles
*/
.block__custom-disclaimer {
    display:flex;
    flex-direction:column;
    justify-content: center;
    text-align:center;

    color:#666666;
    margin: 0 auto 10px;
}
.block__custom-disclaimer .container {
    width:95%; /* on mobile, content gets overlapped by the "email-us" button floating on the left edge. */
}

/* Background */
.block__custom-disclaimer.bc-transparent { background-color:transparent; }
.block__custom-disclaimer.bc-grey { background-color:#f8f9fa; }
.block__custom-disclaimer.bc-yellow { background-color:#fff3cd; }
.block__custom-disclaimer.bc-green { background-color:#d1e7dd; }
.block__custom-disclaimer.bc-red { background-color:#f8d7da; }


/* Padding Top */
.block__custom-disclaimer.pd-small { padding: 10px; }
.block__custom-disclaimer.pd-medium { padding: 20px; }
.block__custom-disclaimer.pd-large { padding: 30px; }
.block__custom-disclaimer.pd-extra { padding: 40px; }


/* Common - Fonts
*/
.block__custom-disclaimer h1,
.block__custom-disclaimer h2,
.block__custom-disclaimer h3,
.block__custom-disclaimer h4,
.block__custom-disclaimer p,
.block__custom-disclaimer a,
.block__custom-disclaimer ul li,
.block__custom-disclaimer ol li {
    font-size:0.7rem !important;
    font-weight:500;
    text-align:justify;
    line-height:1.5;
    margin:0 !important;
}


/* wrapper
*/
.block__custom-disclaimer .wrapper {
    display:flex;
    flex-direction:column;
	justify-content: center;
}

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

    .block__custom-disclaimer .container {
        width:100%; /* on desktop, content does not get overlapped by the "email-us" button floating on the left edge. */
    }

    
}



/* 
Editor Styles
*/
.block__custom-disclaimer.preview {
    width:100% !important; /* Required for previewing on editor */
    position:relative;
    border:1px dotted grey;
}
.block__custom-disclaimer.preview::before {
    content:"CUSTOM DISCLAIMER";
    display:block;
    position:absolute;
    left:0;
    top:0;
    padding:2px;
    background:blue;
    color:#FFFFFF;
    font-size:10px;
    line-height:1em;
    font-weight:800;
}
.block__custom-disclaimer.preview .wrapper {
    padding:10px !important;
}

.block__custom-disclaimer.preview h1,
.block__custom-disclaimer.preview h2,
.block__custom-disclaimer.preview h3,
.block__custom-disclaimer.preview h4,
.block__custom-disclaimer.preview p,
.block__custom-disclaimer.preview a,
.block__custom-disclaimer.preview ul li,
.block__custom-disclaimer.preview ol li {
    font-size:0.7rem !important;
    font-weight:500;
    line-height:1.5;
    margin:0;
}

/* overwrites
*/
.custom-disclaimer.preview .wrapper .block-editor-inner-blocks {
    width:100%;
}
.custom-disclaimer.preview .block-editor-block-list__layout .wp-block {
    margin:0;
}


