.postbox#acf_input {
	border: #EAEAEA solid 0px;
	background: transparent;
	position: relative;
	overflow: visible;
	border: 0 none !important;
	
}

.postbox#acf_input.loading {
	min-height: 50px;
}

.postbox#acf_input #acf_loading {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 50px;
	width: 50px;
	margin-left: -25px;
	margin-top: -25px;
	background: #5a5a5a url(../images/loading.gif) 50% 50% no-repeat;
	-moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; 
	display: none;
	z-index: 3;
}

.postbox#acf_input.loading #acf_loading {
	display: block;
}

#acf_fields_ajax {
	position: relative;
}

#acf_fields_ajax .field {
	position: relative;
	padding: 10px 2px;
	border-top: 1px solid #eaeaea;
}

#acf_fields_ajax .field > label {
	display: block;
	color: #21759B;
    font-size: 12px;
    font-weight: bold;
    padding: 0 0 8px;
    text-shadow: 0 1px 0 #FFFFFF;
}

.postbox#acf_input > h3.hndle{
	display: none;
}

.postbox#acf_input > .inside {
	margin: 0;
	padding: 0;
}

.postbox#acf_input > .handlediv {
	display: none;
	height: 0;
	width: 0;
}

#acf_fields_ajax .postbox h3 {
	cursor: default;
}

.acf_wysiwyg {
	overflow: hidden;
	background: #fff;
}

.acf_wysiwyg textarea{ 
	height: 320px; 
}

#post-body .acf_wysiwyg .wp_themeSkin .mceStatusbar a.mceResize {
	top: -2px !important;
}

#acf_fields_ajax .field  input[type="text"], 
#acf_fields_ajax .field  textarea,
#acf_fields_ajax .field  select{
    width: 99.8%;
}

#poststuff .inside p.instructions {
	font-size: 11px;
	margin: -6px 0 10px;
	padding: 0;
	color: #999;
}


/*---------------------------------------------------------------------------------------------
	Image Upload
---------------------------------------------------------------------------------------------*/
.acf_image_uploader {
	position: relative;
}

.acf_image_uploader a.remove_image {
	width: 16px;
	height: 16px;
	background: url(../images/button_remove.png) 0 0 no-repeat;
	position: absolute;
	top:0;
	left: 0;
	cursor: pointer;
	margin: -3px 0 0 -3px;
	display: none;
}

.acf_image_uploader.active:hover a.remove_image {
	display: block;
}

.acf_image_uploader a.remove_image:hover  {
	background-position: 0% 100%;
}

.acf_image_uploader img {
	display: none;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.acf_image_uploader.active img {
	display: block;
}

.acf_image_uploader p {
	display: block;
	margin: 0 !important;
}

.acf_image_uploader.active p {
	display: none;
}

/*---------------------------------------------------------------------------------------------
	File Upload
---------------------------------------------------------------------------------------------*/
.acf_file_uploader {
	position: relative;
}

.acf_file_uploader p {
	margin: 0 !important;
}

.acf_file_uploader p.file {
	display: none;
}

.acf_file_uploader p.no_file {
	display: block;
}

.acf_file_uploader.active p.file {
	display: block;
}

.acf_file_uploader.active p.no_file {
	display: none;
}


/*---------------------------------------------------------------------------------------------
	Repeater
---------------------------------------------------------------------------------------------*/
.repeater {
	
	
}

.repeater > table {

}

.repeater > table > tbody > tr > td {
	background: transparent;
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    padding: 8px;
    position: relative;
}

.repeater > table > tbody > tr:last-child td {
	border-bottom: 0 none;
}

.repeater > table > tbody > tr td:last-child{
	border-right: 0 none;
}

.repeater > table > tbody > tr:nth-child(even) {
	background: #F9F9F9;
}

.repeater > table > tbody > tr:nth-child(odd) {
	background: #FCFCFC;
}

.repeater > table > thead > tr > th {

	border-right: 1px solid #e1e1e1;
}

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

.repeater > table > tbody > tr:hover a.remove_field {
	visibility: visible;
}

.repeater.hide_remove_buttons > table > tbody > tr:hover a.remove_field {
	visibility: hidden;
}


.repeater > table.row_layout > tbody > tr > td > label {
	display: block;
	color: #21759B;
    font-size: 12px;
    font-weight: bold;
    padding: 20px 0 8px;
    text-shadow: 0 1px 0 #FFFFFF;
}

.repeater > table.row_layout > tbody > tr > td > label:first-child {
	padding-top: 0;
}

a.remove_field {
	display: block;
	width: 16px;
	height: 16px;
	background: url(../images/button_remove.png) 0 0 no-repeat;
	visibility: hidden;
}

a.remove_field:hover {
	background-position: 0 100%;
}

.repeater table tr td.order,
.repeater table tr th.order{
	width: 20px;
	text-align: center;
	vertical-align: middle;
	color: #aaa;
	text-shadow: #fff 0 1px 0;
}

.repeater table tr td.order {
	cursor: move;
}

.repeater table tr td.remove,
.repeater table tr th.remove {
	width: 16px;
	vertical-align: middle;
}

.repeater > table td.order a.order_up {
	display: block;
	width: 16px;
	height: 16px;
	background: green;
	margin: 0 auto;
}

.repeater > table td.order a.order_down {
	display: block;
	width: 16px;
	height: 16px;
	background: red;
	margin: 0 auto;
}


.repeater table tr td select {
	width: 120px;
	margin: 0;
}

.repeater .table_footer {
	position: relative;
	overflow: hidden;
	padding: 8px 0;
}

.repeater .table_footer a#add_field{
	display: block;
    float: right;
    margin: 0;
    text-align: center;
    width: 70px;
}

#acf_input .wp_themeSkin tr.mceFirst td.mceToolbar {
     
}

#poststuff #acf_input .wp_themeSkin .mceStatusbar {
  
}

#wpcontent select[multiple] {
	height: auto;
}

#wpcontent select optgroup {
	padding: 0 2px
}

#wpcontent select optgroup option {
	padding-left: 6px;
}

ul.checkbox_list {
	background: transparent !important;
}



/*---------------------------------------------------------------------------------------------
	In Box
---------------------------------------------------------------------------------------------*/

#acf_input #acf_fields_ajax {
	
}

#acf_input #acf_fields_ajax .postbox {
	
}

#acf_input #acf_fields_ajax .postbox .inside {
	margin: 0;
	padding: 0;
}

#acf_input #acf_fields_ajax .postbox .inside .field {
	padding: 10px 10px;
	border-top: 1px solid #fff;
	border-bottom: #DFDFDF solid 1px;
}

#acf_input #acf_fields_ajax .postbox .inside .field:last-child {
	border-bottom: none;
}

.no_move .postbox .hndle {
	cursor: default !important;
}

/*---------------------------------------------------------------------------------------------
	relationship
---------------------------------------------------------------------------------------------*/

.acf_relationship {
	position: relative;
	overflow: hidden;
}

.acf_relationship .relationship_left {
	width: 50%;
	float: left;
}

.acf_relationship .relationship_right {
	width: 50%;
	float: left;
}

.acf_relationship .relationship_label {
	font-size: 12px;
	font-family: sans-serif;
	color: #999;
	position: absolute;
	margin-top: 4px;
	margin-left: 7px;
}

.acf_relationship .widefat {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.acf_relationship .widefat th {
	border-bottom: 0 none;
}


.acf_relationship .relationship_search {
	margin: 0;
	font-size: 12px;
	line-height: 13px;
	padding: 5px;
	border-radius: 13px
}

.acf_relationship .relationship_list {
	background: #fff;
	position: relative;
	overflow: auto;
	height: 150px;
	border: #DFDFDF solid 1px;
	border-top-width: 0;
}

.acf_relationship .relationship_list a.hide {
	display: none;
}

.acf_relationship .relationship_list a.filter_hide {
	display: none;
}

.acf_relationship .relationship_list a {
	display: block;
	position: relative;
	padding: 7px 9px;
	text-decoration: none;
	border-bottom: #f8f8f8 solid 1px;
}


.acf_relationship .relationship_list a:hover {
	background: #eaf2fa;
	border-bottom-color: #eaf2fa;
	color: #000;
}

.acf_relationship .relationship_right .relationship_list {
	margin-left: 10px;
	height: 193px;
	border-top-width:1px; 
}

.acf_relationship .relationship_list a .add {
	width: 16px;
	height: 16px;
	background: url(../images/button_add.png) 0 0 no-repeat;
	position: absolute;
	top:0;
	right: 0;
	cursor: pointer;
	margin: 5px 9px 0 0;
	display: none;
}

.acf_relationship .relationship_list a.sortable_active {
	background: #eaf2fa;
}

.acf_relationship .relationship_list a:hover .add {
	display: block;
}

.acf_relationship .relationship_list a .add:hover {
	background-position: 0 100%;
}

.acf_relationship .relationship_list a .remove {
	width: 16px;
	height: 16px;
	background: url(../images/button_remove.png) 0 0 no-repeat;
	position: absolute;
	top:0;
	right: 0;
	cursor: pointer;
	margin: 5px 9px 0 0;
	display: none;
}

.acf_relationship .relationship_list a:hover .remove {
	display: block;
}

.acf_relationship .relationship_list a .remove:hover {
	background-position: 0 100%;
}

.acf_relationship .relationship_right .relationship_list a {
	cursor: move;
}