/*
 * FOR REFERENCE ONLY:
 * CUSTOM STYLES SHOULD BE ADDED TO THE CHILD THEME
 */



/***  COLUMNS  ***/

.cols, 
[class*="-cols"] {
	display: flex;
	flex-wrap: nowrap;
	gap: 30px;
	width: 100%;
}

.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%;
}

@media screen and (max-width: 1400px) {

.cols, 
[class*="-cols"] {
	flex-wrap: wrap;
	gap: 0;
}

.cols .col-fourth, 
.cols .col-third, 
.cols .col-half, 
.cols .col-two-thirds, 
.cols .col-three-fourths, 
.cols .col-title, 
.cols .col-field {
	width: 100%;
}

}



/***  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;
}



/***  EDITOR  ***/

.editor-resizable-editor {
	padding: 40px;
}

.editor-styles-wrapper {
	container-type: inline-size;
}

.template-page-sidebar .editor-styles-wrapper {
	max-width: var(--wp--custom--container--narrow);
}

.editor-resizable-editor iframe {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

@media screen and (max-width: 1400px) {

.editor-resizable-editor {
	padding: 20px;
}

}



/***  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 .uploader + .field-desc, 
.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;
}

@media screen and (max-width: 1400px) {

.custom-meta-box input[type="text"], 
.custom-meta-box select {
	max-width: 350px;
}

}



/***  UPLOADER  ***/

.profile-php .uploader, 
.user-edit-php .uploader, 
.user-new-php .uploader {
	max-width: 272px;
}

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

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

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

.uploader .upload-button {
	cursor: pointer;
	align-items: center;
	-webkit-appearance: none;
	color: #2271b1;
	display: inline-flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	min-height: 30px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid #2271b1;
	box-shadow: none;
	background-color: #f6f7f7;
	text-decoration: none;
	transition: all .1s linear;
	border-radius: 3px;
}

.uploader .upload-button:hover {
	background-color: #f0f0f1;
	border-color: #0a4b78;
	color: #0a4b78;
}

.uploader .upload-button:active {
	background-color: #f6f7f7;
	border-color: #8c8f94;
	color: #2271b1;
}

.uploader .upload-button:focus, 
.uploader .upload-button:focus-visible {
	box-shadow: 0px 0px 0px 1px #007cba;
	border: 1px solid #007cba;
}

/* Add Button */

.uploader .upload-add-button {
	padding: 6px 12px;
	min-height: 40px;
	width: 100%;
	border-color: #c3c4c7;
	border-style: dashed;
	background-color: transparent;
	color: #1e1e1e;
	justify-content: center;
	box-sizing: border-box;
}

.uploader .upload-add-button:hover {
	border-color: #c3c4c7;
	background-color: white;
	color: #1e1e1e;
}

/* Change Buttons */

.uploader .upload-selected {
	position: relative;
}

.uploader .upload-selected .upload-button-wrap {
	padding-top: 13px;
}

/* Preview Button */

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

/* Block Editor */

.block-editor-page .uploader .upload-add-button {
	border-style: solid;
}

.block-editor-page .uploader .upload-add-button:hover {
	border-color: #c3c4c7;
	color: #007cba;
}

.block-editor-page .uploader .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;
}

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

.block-editor-page .uploader .upload-selected .upload-button-wrap .upload-button {
	background-color: #ffffffbf;
	backdrop-filter: blur(16px) saturate(180%);
	justify-content: center;
	border-color: #c3c4c7;
	height: 40px;
	color: #1e1e1e;
	flex-grow: 1;
}

.block-editor-page .uploader .upload-selected .upload-button-wrap .upload-button:hover {
	border-color: #c3c4c7;
	color: #007cba;
}

@media screen and (max-width: 1400px) {

.block-editor-page .uploader {
	max-width: 272px;
}

}

/* Banner Uploader */

.banner-image-uploader .upload-preview-button img {
	width: 100%;
	aspect-ratio: 3 / 1;
	object-fit: cover;
}

/* Thumb Uploader */

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

/* Portrait Uploader */

.user-portrait-uploader .upload-preview-button img {
	display: block;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Icon Uploader */

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

/* File Uploader */

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

.file-uploader .file-icon-wrap {
	width: 36px;
	padding-right: 10px;
}

.file-uploader .file-icon {
	width: 36px;
	height: 36px;
}

.file-uploader .file-text-wrap {width: calc(100% - 46px);}

.file-uploader .file-title {font-weight: bold;}


