#TB_window {
	z-index: 260001 !important;
}
#TB_ajaxContent {
	padding: 0 !important;
	position: absolute;
	top: 0;
	z-index: 1;
}
#TB_overlay {
    z-index: 260000 !important;
}
#TB_title {
	position: relative;
	z-index: 10;
}
.ric-editor-wrapper {
	width: 100%;
	background: white;
	margin-top: 45px;
}

.ric-left-col,
.ric-right-col {
	float: left;
	width: 48%;
}
.ric-left-col {
	margin: 0 2%;
}
.preview-wrapper {
	overflow: hidden;
	margin-bottom: 10px;
}
.preview-box {
	width: 50%;
    float: left;
    text-align: center;
}

.preview-box > * {
	margin: 10px auto 20px;
}

.ric-centred {
	text-align: center;
}

#riccrop_image {
	margin: 0 auto 20px !important;
    display: block;
	border-radius: 0;

}

#ricLoading {
	display: none;
	margin: 0 auto;
}

.ric-editor-wrapper h2 .nav-tab {
	font-size: 16px;
	padding: 4px;
}

#ricSuccessMessage, #ricFailureMessage {
	display: none;
	margin-bottom: 10px;
}

.ric-preview-wrapper {
	overflow: hidden; 
}
.ric-preview-wrapper img {
	width: 100%;
	height: auto;
	}

.media-item .edit-attachment,
.ric-link.edit-attachment.crop-image {
	margin-left: 5px;
}
.media-frame .ric-link.edit-attachment.crop-image {
	margin-left: 0;
}
.ric-right-col {
	    text-align: center;
	}
@media all and (max-width: 910px) {
	.ric-left-col {
		max-width: 400px;
	}
	.ric-left-col,
	.ric-right-col {
		float: none;
	    margin: 0 auto;
	    overflow: hidden;
	    width: 92%;
	}
}

@media all and (max-width: 530px) {
	.ric-left-col {
	}
	.preview-box {
		width: 100%;
	}
}