/* UPDATED 2021 02 02 */


/* GLOBAL */

/* form elements */
input[type="color"], 
input[type="date"], 
input[type="datetime-local"], 
input[type="datetime"], 
input[type="email"], 
input[type="month"], 
input[type="number"], 
input[type="password"], 
input[type="search"], 
input[type="tel"], 
input[type="text"], 
input[type="time"], 
input[type="url"], 
input[type="week"], 
select, 
textarea {
    border-style: solid;
    border-width: 1px;
    border-radius: 0px !important;
	border-color: #cccccc !important;
}

textarea.editor-post-title__input {
    border: none !important;
}

select, 
textarea {
    border-style: solid;
    border-width: 1px;
    border-radius: 2px !important;
	border-color: #9fabb5 !important;
}

[type=checkbox] {
    border-style: solid !important;
    border-width: 1px !important;
    border-radius: 0px !important;
	border-color: #9fabb5 !important;
}

/* BUTTONS - Less rounded corner and stuff */
.wp-core-ui .button-primary { box-shadow: none; border-radius: 0px; border-color: #0085ba; }
.wp-core-ui .button, .wp-core-ui .button-secondary { box-shadow: none; border-radius: 2px; }
.wp-core-ui .button.copy-attachment-url { display: block; width: 100%; font-size: inherit; min-height: auto; line-height: 2.15384615; }
.wp-core-ui .button.copy-attachment-url + span { display: none !important; } 
.wp-core-ui .copy-to-clipboard-container { display: block; margin-right: 0px; }

/* remove circles on color palettes */
.components-circular-option-picker__option::after { border-radius: 0px !important; }

/* MEDIA MODAL */

/* consistance select width */
.media-frame select.attachment-filters { max-width: 160px; }

/* remove the search form label taking space */
html .media-attachments-filter-heading, #alt-text-description, .media-frame .media-search-input-label {
	display: none;
}

/* equal search field with select dropdown */
html .media-modal-content .media-frame select.attachment-filters, .media-frame .search {
	margin-top: 10px;
}

/* remove alt-text clutter */
p.media-types-required-info, .media-modal .acf-expand-details { display: none !important; }

/* remove or fix anoying headlines */
.image-details h2, 
.image-details h3, 
.media-sidebar h2, 
.media-sidebar h3 { text-transform: none; margin-top: 10px; }
.media-sidebar h2 { visibility: hidden; }

/* More focus on the filename info, and prevent long names from jumping the image down */
.media-sidebar .attachment-info .filename { position: absolute; top: 10px; left: 0px; }
.media-sidebar .attachment-info .thumbnail-image  { margin-top: 15px; }
.media-sidebar .attachment-info div.details { margin-top: 11px; }

/* adjust sizes on right */
html .attachment-details .setting select, 
html .media-sidebar .setting select { width: 100%; }
html .collection-settings .setting span { min-width: 30%; }

/* GUTENBERG SPECIFIC */

/* Larger sidebar */
@media (min-width: 1200px) { html > body .interface-interface-skeleton__sidebar { width: 360px; } } 
@media (min-width: 1200px) { html > body .interface-complementary-area { width: auto; } } 


.components-button { border-radius: 0px !important; box-shadow: none !important; }

/* Top sidebar infopanel current block info */
.block-editor-block-card { display: none !important; } 

/* cleaner active panel */
.is-opened .components-panel__body-title, #normal-sortables > :not(.closed) .postbox-header, #side-sortables > :not(.closed) .postbox-header { background-color: rgba(0, 102, 0, 0.10); border-bottom-width: 0px; }
.is-opened .components-panel__body-title + :not(.components-panel__row) { padding-top: 1em; }
.is-opened .components-panel__body-title + .components-panel__row { margin-top: 1em !important; }

/* Gutenberg post misc version */
.block-editor .misc-pub-section { padding: 0px }
.components-panel__body .components-panel__row { min-height: 24px !important; }
.components-panel__body .components-panel__row .editor-post-trash { display: block; background-color: rgba(204, 0, 0, 0.05) !important; }
.components-panel__body .components-panel__row > * { width: 100% !important; }
.components-panel__body .components-panel__row .components-dropdown button { display: block; width: 100%; border: 1px solid #ccc; text-align: center !important; }
.components-panel__body .components-panel__row select { display: block; width: 100%; text-align: center !important; line-height: 1 !important; }
.components-panel__body .components-panel__row select ~ .components-input-control__backdrop { height: 34px !important; border-color: #dcdcdc !important; }
.components-panel__body .components-panel__row .editor-post-format__content > div { width: 50%; }
		
/* category box */
.components-panel__body .editor-post-taxonomies__hierarchical-terms-add { min-height: 34px; text-decoration: none; display: block; width: 100%; border: 1px solid #ccc; text-align: center !important; }
.components-panel__body .editor-post-taxonomies__hierarchical-terms-submit { background-color: rgba(0, 0, 204, 0.05); height: auto !important; box-shadow: none; min-height: 34px; text-decoration: none; display: block; width: 100%; border: 1px solid #ccc; text-align: center !important; }
.components-panel__body .editor-post-taxonomies__hierarchical-terms-input { margin: 0.5em 0 1em 0; border-radius: 0px; border-style: dashed; }

/* remove instruction crap */
.components-panel__body-toggle.components-button:focus { box-shadow: none; }
		
/* panel clutter remove */
.components-panel__body .editor-post-link p, .components-panel__body [class*=-link__preview-label] { display: none; }
		
/* labels */
.components-panel__body .components-base-control__label { padding: 0px !important; }
.components-panel__body .components-input-control__label { padding: 3px 0px 5px !important; }
.components-panel__body .components-form-token-field__label { padding-bottom: 3px !important; }
.components-panel__body [class*=-excerpt] .components-external-link, .components-base-control__help { display: none; }
.components-panel__body p.block-editor-image-size-control__row { display: none; }
		
/* buttons and links */
.components-panel__body-title + div > button { display: block; width: 100%; text-align: center; }
.components-panel__body-title + div .wp-media-buttons-icon { display: none; }
		
/* panel headings */
.interface-complementary-area h2, .interface-complementary-area h3 { margin-top: 2em; margin-bottom: 1em; }
.components-placeholder__instructions { margin-bottom: 10px !important; }



