/*
 * ADMIN STYLES
 */



/***  COLUMNS  ***/

.cols {
	display: flex;
	flex-wrap: nowrap;
	gap: 30px;
	width: 100%;
	border-bottom: 1px solid #eee;
}

.cols:last-child {border-bottom: none;}

.cols .col-fourth {width: 25%;}
.cols .col-third {width: 33.3%;}
.cols .col-half {width: 50%;}
.cols .col-two-thirds {width: 66.6%;}
.cols .col-three-fourths {width: 75%;}

.cols .col-title, 
.cols .col-field {
	padding-top: 10px;
	padding-bottom: 10px;
}

.cols .col-title {
	width: 25%;
	text-align: right;
}

.cols .col-field {
	width: 75%;
}



/***  WP MENU  ***/

.ame-unclickable-menu-item .wp-menu-arrow, 
.ame-unclickable-menu-item .wp-menu-image {display: none !important;}

.ame-unclickable-menu-item a:hover, 
.ame-unclickable-menu-item a:focus, 
.ame-unclickable-menu-item a:visited {
	box-shadow: none !important;
	border-color: none !important;
	color: white !important;
	cursor: default !important;
}

.ame-unclickable-menu-item .wp-menu-name {
	font-weight: bold !important;
	padding: 8px !important;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.wp-menu-separator {
	height: 16px !important;
	margin: 0 !important;
}



/***  CUSTOMIZER  ***/

.accordion-section-title button.accordion-trigger {height: auto;}



/***  META BOXES  ***/

.custom-meta-box label {display: block;}

.custom-meta-box label.field-title {
	font-weight: bold;
	width: 100%;
}

.custom-meta-box label.field-title:not(:last-child) {
	margin-bottom: 0.5em;
}

.custom-meta-box label.field-title:not(:first-child) {
	margin-top: 1.5em;
}

.custom-meta-box input + .field-desc, 
.custom-meta-box select + .field-desc, 
.custom-meta-box textbox + .field-desc, 
.custom-meta-box .field-title + .field-desc {
	font-size: 0.9em;
	font-style: italic;
	margin-top: 5px;
}

.custom-meta-box input, 
.custom-meta-box select, 
.custom-meta-box textarea {
	display: block;
	width: 100%;
	height: 32px;
	padding: 0 10px;
	box-sizing: border-box;
}

.custom-meta-box input[type="checkbox"], 
.custom-meta-box input[type="radio"] {
	display: inline-block;
	vertical-align: middle;
	width: 16px;
	height: 16px;
}

.custom-meta-box textarea {
	padding: 10px;
	height: 150px;
}



/***  UPLOADER  ***/

.uploader-desc {
	font-size: 0.84em;
	line-height: 1.6em;
}

.upload-selected, 
.upload-unselected {display: none;}

.upload-selected.active, 
.upload-unselected.active {display: block;}

.upload-button {
	box-shadow: inset 0 0 0 1px #CCC;
	border-radius: 2px;
}

.upload-add-button {
	min-height: 40px;
	width: 100%;
	justify-content: center;
	box-sizing: border-box;
}

.upload-selected {
	position: relative;
}

.upload-selected .upload-button-wrap {
	position: absolute;
	bottom: 4px;
	left: 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	column-gap: 8px;
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
	opacity: 0;
}

.upload-selected:hover .upload-button-wrap, 
.upload-selected .upload-preview-button:focus + .upload-button-wrap {
	opacity: 1;
}

.upload-selected .upload-button-wrap .upload-button {
	background-color: #ffffffbf;
	backdrop-filter: blur(16px) saturate(180%);
	justify-content: center;
	flex-grow: 1;
}

.upload-preview-button {
	height: auto;
	padding: 0;
	width: 100%;
	justify-content: center;
	box-sizing: border-box;
}

/* Thumb Uploader */

.thumb-preview-button img {max-width: 100%;}

/* Icon Uploader */

.icon-preview-button img {
	width: 125px;
	height: 125px;
	padding: 20px 20px;
}

/* Download File Uploader */

.download-info,
.resource-info {
	display: flex;
	width: 100%;
	align-items: center;
	padding: 40px 30px;
	box-sizing: border-box;
}

.download-icon-wrap, 
.resource-icon-wrap {
	width: 36px;
	padding-right: 10px;
}

.download-icon,
.resource-icon {
	width: 36px;
	height: 36px;
}

.download-text-wrap,
.resource-text-wrap {width: calc(100% - 46px);}

.download-title,
.resource-title {font-weight: bold;}



/*
 * END OF
 * ADMIN STYLES
 */