.wck-post-box{
	visibility:hidden;
	height:0;
}

.mb-list-entry-fields li{
	margin-bottom:15px;
	clear:both;
	overflow:hidden;
}

.mb-right-column{	
	overflow:hidden;
}

.field-label{
	max-width:200px;
	float:left;
	min-height:30px;
	font-weight:bold;
	padding-right:10px;
}

.field-label.error{
	color:#ff0000;
}

.field-label .required{
	color:#ff0000;
	padding:0 2px;
}

.mb-table-container strong{
	max-width:200px;
}

.mb-right-column label{
	padding:0 6px 0 0;
}

.mb-right-column input[type="checkbox"], .mb-right-column input[type="radio"]{
	margin-right:3px;
}

#mb-ajax-loading{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:url(images/ajax-loader.gif) center center no-repeat;	z-index:999;
}

.mb-table-container pre{
	display:inline-block;
	vertical-align:top;
	margin:0;
	white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    white-space: pre-wrap;
    word-wrap: break-word;
}


.wck-edit, .wck-delete, .wck-number{
	width:50px;
	text-align:center !important;
}

td.wck-number{
	cursor:move;
}

.wck-content > ul{
	margin:0;
}

.not-sortable td.wck-number{
	cursor:auto;
}

.wck-edit .button-secondary{
	padding:0 15px;
}

.mbdelete, .wck-remove-upload{
	color:#BC0B0B;
	cursor:pointer;
}

.mbdelete:hover, .wck-remove-upload:hover{
	color:#FF0000;	
}

.mb-list-entry-fields{
	list-style:none;
}

.mb-table-container tr:nth-child(2n+1) {
    background-color:#FCFCFC;
}

.mb-table-container tr:last-child td {
    border-bottom: 0 none;
}

.mb-table-container tr  td {
    background: none repeat scroll 0 0 transparent;
    border-bottom: 1px solid #EDEDED;
    border-right: 1px solid #EDEDED;
    padding: 8px;
    position: relative;
}

.mb-table-container tr td:last-child {
    border-right: 0 none;
}

.mb-table-container thead > tr > th {
    border-right: 1px solid #E1E1E1;
}

.mb-table-container tr > th:last-child {
    border-right: 0 none;
}

.mb-textarea{
	width:60%;
	max-width:600px;
	height:130px;
}
.mb-text-input{
	width:40%;
	max-width:400px;
}

.mb-select{
	min-width:150px;
}

/* upload field */
.upload-field-details{
	display:inline-block;
	vertical-align:middle;
	min-height:24px;
	padding:2px 0;
}

.upload-field-details p{
	margin:2px 0 0;
}

.upload-field-details img{
	margin:0 5px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.upload-field-details > *{
	float:left;	
}

.upload-field-details span{
	display:block;
}

.upload-field-details .file-name{
	font-weight:bold;
	color:#21759B;
}


/* Settings page. */
.side .form-table th {
	width: 20%;
	font-weight: bold;
	text-align: left;
	padding-left: 0;
}

.wck-post-body{
	clear: left;
    float: left;
    margin-right: -2000px;
    width: 100%;	
}

.metabox-holder .column-1 {	
	margin-right:300px;	
}
.metabox-holder .column-2 {
	float: right;
	width: 280px;
	clear:right;
	position:relative;
}
.metabox-holder .column-3 {
	clear: both;	
	margin-right:300px;
}

/* wysiwyg */
.mb-right-column .wp_themeSkin table.mceLayout{
	border-color: #CCCCCC #CCCCCC #DFDFDF;
    border-style: solid;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-width: 1px;
	background-color:#fff;
}

/* nested repeater */
.mb-table-container .wck-nested{
	background:#F5F5F5;
	border:1px solid #DFDFDF;	
	box-shadow: 0 1px 0 #FFFFFF;
}

.mb-table-container .wck-nested > div{	
	padding:10px;
}

.mb-table-container li[data-type="nested-repeater"]{
	display:none;
}

.wck_page_cptc-page #contextual-help-link-wrap, .wck_page_ctc-page #contextual-help-link-wrap, .wck_page_cfc-page #contextual-help-link-wrap, .wck_page_fep-page #contextual-help-link-wrap, .wck_page_opc-page #contextual-help-link-wrap{	
	background: rgb(248,79,79); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(248,79,79,1) 0%, rgba(210,11,11,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(248,79,79,1)), color-stop(100%,rgba(210,11,11,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(248,79,79,1) 0%,rgba(210,11,11,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(248,79,79,1) 0%,rgba(210,11,11,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(248,79,79,1) 0%,rgba(210,11,11,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(248,79,79,1) 0%,rgba(210,11,11,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f84f4f', endColorstr='#d20b0b',GradientType=0 ); /* IE6-9 */
}

.wck_page_cptc-page #contextual-help-link-wrap #contextual-help-link, .wck_page_ctc-page #contextual-help-link-wrap #contextual-help-link, .wck_page_cfc-page #contextual-help-link-wrap #contextual-help-link, .wck_page_fep-page #contextual-help-link-wrap #contextual-help-link, .wck_page_opc-page #contextual-help-link-wrap #contextual-help-link{
	padding-left:55px;
	color: #FFFFFF;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}

.wck_page_cptc-page #contextual-help-link-wrap #contextual-help-link:before, .wck_page_ctc-page #contextual-help-link-wrap #contextual-help-link:before, .wck_page_cfc-page #contextual-help-link-wrap #contextual-help-link:before, .wck_page_fep-page #contextual-help-link-wrap #contextual-help-link:before, .wck_page_opc-page #contextual-help-link-wrap #contextual-help-link:before{
	content:"WCK";
	width:15px;
	height:20px;	
	background:url( ../images/wck-icon-dark.png ) no-repeat 0 0;
	position:absolute;
	top:4px;
	left:4px;
	line-height: 16px;
	padding-left: 18px;
}

/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/
@media screen and ( max-width: 878px ) {
    .wck-post-body{
        float:none;
        margin-right: 0;
    }

    .metabox-holder .column-2{
        float:none;
        width:100%;
    }

    .metabox-holder .column-1{
        margin-right:0;
    }
}