/**
* Admin > ACF Blocks
*/
body.wp-admin .acf-block-preview:after {
	content:'';
	 height: 100%;
	 width: 100%;
	 top:0;
	 left:0;
	 position: absolute;
	 z-index: 20;
 }

 html body.wp-admin :where(.editor-styles-wrapper) p {
    margin:inherit;
 }

 /**
* Admin > Editor > Content modals
*/
body.wp-admin .acseo-modal {
    border:1px solid coral;
    position: relative;
 }

 body.wp-admin .acseo-modal > * {
    opacity: .5;
 }

 body.wp-admin .acseo-modal:before {
    position: absolute;
    opacity: 1;
    top: -18px;
    left: -1px;
    width: 50px;
    height: 18px;
    font-size: 12px;
    content: 'Modal';
    color: var(#000);
    background-color: coral;
 }

/**
* Admin > Editor sidebar
*/
@media (min-width: 782px) {
	body .edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout, 
	body .edit-post-layout.is-sidebar-opened .edit-post-sidebar {
		width: 450px!important;
	}
}

.block-editor .edit-post-sidebar .acf-fields > .acf-field.subtitle > .acf-label label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    color: #000;
    letter-spacing: .02em;
}

/**
* Admin > Delete cache > Top bar button
*/
#wp-admin-bar-acseo-delete-cache a {
    position: relative;
    transition:all .3s;
}
#wp-admin-bar-acseo-delete-cache a:after {
    position: absolute;
    right:0;
    top:4px;
    height:0;
    width:0;
    content:'';
    display: block;
    background-image:url('../img/loader.svg');
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;
    opacity: 0;
    pointer-events:none;
    transition:all .3s;
}

#wp-admin-bar-acseo-delete-cache a.acseo-active {
    padding-right:29px!important;
}

#wp-admin-bar-acseo-delete-cache a.acseo-active:after {
    height:24px;
    width:24px;
    opacity: 1;
    pointer-events:all;
}

#wp-admin-bar-acseo-delete-cache .ab-icon:before {
    font: normal 20px/1 dashicons;
    content: '\f17e';
    position: relative;
    float: left;
    speak: never;
    padding: 4px 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: none !important;
    margin-right: 6px;
}

/**
* Admin > Delete cache > Top bar response
*/
#acseo-cache-response {
    position: fixed;
    top:-33px;
    left:0;
    width:100%;
    height:32px;
    display: flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    z-index:9999999;
    background-image:linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);
    text-align:center;
    padding:0 15px;
    transition:all .3s;
    border-bottom:1px solid #232323;
}

#acseo-cache-response.acseo-active {
    top:0;
}

#acseo-cache-response p {
    margin:0;
    font-size:16px;
    font-weight:700;
    letter-spacing:.03em;
    color:#232323;
}

#wpadminbar a img, #wpadminbar a img:hover {
    height: 25px;
    width: 25px;
}