

/**
 * Modal
 */

	/* close "X" link */
	.media-modal-close {
		left: 7px;
		right: auto;
		}
		
/**
 * Frame
 */

	.media-frame-menu {
		left: auto;
		right: 0;
		}
		
	.media-frame-title,
	.media-frame-router,
	.media-frame-content,
	.media-frame-toolbar {
		left: auto;
		right: 85%;
		}

	/* frame title */
	.media-frame-title {
		left: 0;
		right: auto;
		}
			
	/* frame router */
	.media-frame-router,
	.media-frame-content,
	.media-frame-toolbar {
		left: 0;
		right: auto;
		}
		
/* media frame, hide MENU */

	.media-frame.hide-menu .media-frame-menu {
		left: auto;
		right: -15%;}

	.media-frame.hide-menu .media-frame-title,
	.media-frame.hide-menu .media-frame-router,
	.media-frame.hide-menu .media-frame-toolbar,
	.media-frame.hide-menu .media-frame-content {
		left: auto;
		right: 0;
		}
/**
 * Media Frame Menu: Media Menu
 */
.media-menu {
	border: 0;
	border-left: 1px solid #e8e8e8;
	box-shadow: inset 6px 0 6px -6px rgba(0,0,0,0.08);
	}

/**
 * Media Frame Router: Media Router
 */

	/* normal link */
	.media-router > a {
		border: 0;
		border-left: 1px solid #f2f2f2;
		float: right;
		float: right;
		}

/**
 * Toolbar
 */

	.media-toolbar-primary {
		float: left;
		}
	.media-toolbar-secondary {
		float: right;
		}
		.media-toolbar-primary > .media-button,
		.media-toolbar-primary > .media-button-group {
			margin-left: 0;
			margin-right: 10px;
			float: right;
			}
		.media-toolbar-secondary > .media-button,
		.media-toolbar-secondary > .media-button-group {
			margin-left: 10px;
			margin-right: 0;
			float: right;
			}

/**
 * Sidebar
 */
.media-sidebar {
	border: 0;
	border-right: 1px solid #f8f8f8;
	left: 0;
	right: auto;
	}


	.media-sidebar .setting span {
		margin-left: 4%;
		margin-right: 0;
		}

	.media-sidebar .setting span,
	.compat-item label span {
		float: right;
		text-align: left;
		}

	.media-sidebar .setting input,
	.media-sidebar .setting textarea {
		float: left;
		}

	.compat-item {
		float: right;
		}

	.compat-item .label {
		float: right;
		margin-left: 4%;
		margin-right: 0;
		text-align: left;
		}

	.compat-item .field {
		float: left;
		padding-left: 1px;
		padding-right: 0;
		}

/**
 * Attachment Browser Filters
 */
.media-frame select.attachment-filters {
	margin-left: 10px;
	margin-right: 0;
}

/**
 * Search
 */

.media-toolbar-secondary .search {
	margin-left: 16px;
	margin-right: 0;
}

/**
 * Attachments
 */
.attachments {
	padding-left: 16px;
	padding-right: 0;
}

/**
 * Attachment
 */
.attachment {
	float: right;
}


.attachment .thumbnail {
	left: auto;
	right: 0;
}

.attachment .thumbnail img {
	left: auto;
	right: 0;
}

.attachment .thumbnail .centered {
	left: auto;
	right: 0;
}


.attachment .close {
	left: 5px;
	right: auto;
}


.attachment .check {
	left: -7px;
	right: auto;
}

/**
 * Attachments Browser
 */


.attachments-browser .media-toolbar,
.attachments-browser .attachments,
.attachments-browser .uploader-inline {
	left: 288px;
	right: 0;
	}

/**
 * Progress Bar
 */

.attachment-preview .media-progress-bar {
	left: auto;
	right: 15%;
}

.media-sidebar .media-uploader-status .upload-dismiss-errors {
	left: 0;
	right: auto;
}

.upload-errors .upload-error-label {
	margin-left: 8px;
	margin-right: 0;
}

/**
 * Selection
 */
.media-selection {
	left: 350px;
	padding: 0 18px 0 0;
	right: 0;
	}


	.media-selection .selection-info {
		margin-right: 0;
		margin-left: 10px;
		}
		
		.media-selection .selection-info a {
			border: 0;
			border-left: 1px solid #dfdfdf;
			float: right;
			margin: 1px -8px 1px 8px;
			}

.media-selection .selection-info a:last-child {
	border-left: 0;
	margin-left: 0;
	margin-right: -8px;
}

.media-selection:after {
	right: auto;
	left: 0;
	background-image: -webkit-gradient(linear, left top, right top, from( rgba( 255, 255, 255, 1 ) ), to( rgba( 255, 255, 255, 0 ) ));
	background-image: -webkit-linear-gradient(left, rgba( 255, 255, 255, 1 ) ,  rgba( 255, 255, 255, 0 ) );
	background-image:    -moz-linear-gradient(left, rgba( 255, 255, 255, 1 ) ,  rgba( 255, 255, 255, 0 ) );
	background-image:      -o-linear-gradient(left, rgba( 255, 255, 255, 1 ) ,  rgba( 255, 255, 255, 0 ) );
	background-image:   linear-gradient(to right, rgba( 255, 255, 255, 1 ) ,  rgba( 255, 255, 255, 0 ) );
}


/**
 * Spinner
 */

.media-frame .spinner {
	background: url(images/includes/wpspin.gif) no-repeat;
	background-size: 16px 16px;
	display: none;
	opacity: 0.7;
	filter: alpha(opacity=70);
	width: 16px;
	height: 16px;
	margin: 0;
}

.media-sidebar .settings-save-status {
	float: left;
}

.media-sidebar .settings-save-status .saved {
	float: left;
}

/**
 * Attachment Details
 */

.attachment-info .thumbnail {
	float: right;
	margin-left: 10px;
	margin-right: 0;
}

.attachment-info .details {
	float: right;
}

/**
 * Embed from URL
 */

.media-embed .thumbnail,
.media-embed .setting {
	float: right;
}