/**
 * Stylesheet for admin area
 */
 
/* Custom Meta Boxes */

.risen-meta-name {
	display: inline-block;
	vertical-align: top;
	width: 25%;
	font-weight: bold;
	margin-top: 3px;
}

	.risen-meta-name span { /* ("Optional)" */
		color: #595959;
		font-weight: normal;
	}
	
.risen-meta-name-secondary {
	font-weight: normal;
}

.risen-meta-value {
	display: inline-block;
	vertical-align: top;
	width: 70%;
}

	/* can also use widefat class for 100% */

	.risen-meta-value input[type=text],
	.risen-meta-value textarea {
		width: 70%; /* leaves just enough room for butto on right */
	}
	
	.risen-meta-value textarea {
		height: 56px;
	}

	.risen-meta-medium input[type=text],
	.risen-meta-medium textarea {
		width: 250px;
	}
	
	.risen-meta-small input[type=text],
	.risen-meta-small textarea {
		width: 100px;
	}

	.risen-meta-tiny input[type=text],
	.risen-meta-tiny textarea {
		width: 40px;
	}

#side-sortables .risen-meta-name,
#side-sortables .risen-meta-value { /* side column */
	width: 100%;
}

/* Hide "Preview Changes" Button based on admin <body> classes*/

.screen-base-post.screen-post_type-risen_slide #minor-publishing-actions,
.screen-base-post.screen-post_type-risen_home_box #minor-publishing-actions,
.screen-base-post.screen-post_type-risen_staff #minor-publishing-actions,
.screen-base-post.screen-post_type-risen_location #minor-publishing-actions {
	display: none;
}

.risen-option-wide .of-input {
	width: 100%;
}

/**
 * Hide "Add Media" button
 *
 * Reduce confusion between native WP gallery and Risen gallery.
 * This prevents them from being used together.
 */

.screen-base-post.screen-post_type-risen_gallery #insert-media-button {
	display: none;
}