/* 
 * Meta box styles
 */
.form-table.meta_box h2 {
	border-bottom:1px dashed #ccc;
}

.form-table.meta_box th label {
	font-weight:bold;
}

.form-table.meta_box .description {
	font-size:11px;
	color:#777;
	font-style:italic;
}

.form-table.meta_box .meta_box_items {
	margin:0;
	padding:0;
}

	.form-table.meta_box .meta_box_items li {
		display:inline-block;
		width:20%;
		min-width:100px;
	}

/* repeatable */
.form-table.meta_box .meta_box_repeatable {
	width:100%;
}
.form-table.meta_box .meta_box_repeatable th {
	width:auto !important;
	padding:5px 10px;
	border-bottom:1px dashed #ccc;
	text-transform:uppercase;
	font-size:10px;
	text-shadow:none;
	color:#ccc;
}

.form-table.meta_box .meta_box_repeatable tfoot th {
	border-bottom:none;
}
	
.form-table.meta_box .meta_box_repeatable td {
	width:auto !important;
	vertical-align:top;
	padding:10px;
	border-bottom:1px dashed #ccc;
	background:#fbfbfb;
}

.form-table.meta_box .meta_box_repeatable tr:nth-child(even) td {
	background:none;
}

	.form-table.meta_box .meta_box_repeatable td * {
		display:block;
		margin-bottom:3px;
	}
	
		.form-table.meta_box .meta_box_repeatable td .meta_box_upload_image_button,
		.form-table.meta_box .meta_box_repeatable td small,
		.form-table.meta_box .meta_box_repeatable td small a {
			display:inline-block;
		}
		
	.form-table.meta_box .meta_box_repeatable td label {
		display:block;
		float:left;
		width:100px;
		font-weight:bold;
		line-height:30px;
		clear:left;
	}
	
	.form-table.meta_box .meta_box_repeatable td p {
		margin:0;
		float:left;
		padding-bottom:5px;
	}
	
	.form-table.meta_box .meta_box_repeatable td textarea {
		width: 300px;
	}

	.form-table.meta_box .meta_box_repeatable .repeatable_id {
		background:#ccc;
		width:30px;
		text-align:center;
	}

.meta_box_repeatable .sort_label {
	display:block;
	width:20px;
	height:17px;
	/*background:url(../images/sprite.png) no-repeat -68px -100px;*/
}

.meta_box_repeatable .sort {
	display:block;
	width:20px;
	height:15px;
	/*background:url(../images/sprite.png) 0 -100px;*/
	margin-top:6px;
	cursor:move;
}

.meta_box_repeatable_add, 
.meta_box_repeatable_remove {
	display:block;
	width:18px;
	height:16px;
	/*background:url(../images/sprite.png);*/
	margin-top:5px;
	text-decoration:none;
	cursor: pointer !important;
}

.meta_box_repeatable_add {
	background-position:-30px -100px;
}

.meta_box_repeatable_remove {
	background-position:-50px -100px;
}
	
.meta_box_repeatable tr:first-child .meta_box_repeatable_remove,
.meta_box_repeatable tr:first-child > td > .sort {
	display:none;
}

/* image */
.meta_box_preview_image {
	max-width:200px;
	max-height:200px;
	display:block;
	margin-bottom:3px;
}

/* file */
.meta_box_file {
	display:block;
	width:37px;
	height:48px;
	background:url(../images/sprite.png) 0 0;
	float:left;
	margin-right:15px;
}

	.meta_box_file.checked {
		background-position:-50px 0;
	}
	
	.meta_box_filename {
		margin-bottom:5px;
		display:block;
		font-weight:bold;
	}

/* Select */
.form-table select {
	width:auto;
}

.widget-content .meta_box_repeatable select {
	width:96%;
}

/* post_drop_sort */
.post_drop_sort_areas,
.post_drop_sort_source {
	width:250px;
	margin-right:20px;
	float:left;
}

	.post_drop_sort_areas ul,
	.post_drop_sort_source {
		border-radius:5px;
		border:3px dashed #ccc;
		margin:0 0 10px;
		padding:5px 10px 10px;
	}

.post_drop_sort_source {
	width:224px;
	background:#ccc;
	border:none;
}

.sort_list li {
	padding:5px 10px;
	cursor:move;
	background:#fff;
	margin:5px 0 0;
	text-align:center;
}

.sort_list li.post_drop_sort_area_name {
	font-weight:bold;
	border-bottom:1px dashed #ccc;
	color:#999;
	background:none;
	margin:0 0 10px;
	padding:5px 0;
}

	.post_drop_sort_source.sort_list li.post_drop_sort_area_name {
		color:#fff;
		border-color:#fff;
	}


/**
 * Repeatable Row Styles
 */
.meta_box_repeatable .meta_box_repeatable_row {
	width:100%;
}
.form-table.meta_box .meta_box_repeatable_row td * {
	display:inline;	
}
.form-table.meta_box .meta_box_repeatable_row td {
	background-color: #fbfbfb;
}
.form-table.meta_box .meta_box_repeatable_row li {
	display:block;
	float: left;
	padding: 5px;
	/*min-height: 60px;*/
}
.form-table.meta_box .meta_box_repeatable_row select/*,
.form-table.meta_box .meta_box_repeatable_row textarea */ {
	max-width: 120px;
	width:120px;
}/*
.form-table.meta_box .meta_box_repeatable_row .small-text{
	max-width: 280px;
    width: 280px;
    height: 28px;
}*/
.form-table.meta_box .meta_box_repeatable_row input[type=radio],
.form-table.meta_box .meta_box_repeatable_row input[type=checkbox] {
	float: left;
    display: block;
    margin-top: 7px;
}
.form-table.meta_box .meta_box_repeatable_row td label {
	line-height:inherit;
	float:none;
}
.meta_box_repeatable .description {
	font-size:11px;
	font-weight:300;
}
.meta_box_repeatable .meta_box_repeatable_remove,
.meta_box_repeatable .ui-sortable-handle {
	border: none;
}
.meta_box_repeatable .meta_box_repeatable_remove:hover,
.meta_box_repeatable .ui-sortable-handle:hover {
	cursor:move;
}
.meta_box_repeatable .meta_box_repeatable_remove{
	color:#ccc;
}
.meta_box_repeatable .meta_box_repeatable_remove:hover {
	color:#cc0000;
}
.meta_box_repeatable .ui-sortable-handle:hover {
	color:#333;
}
.meta_box_repeatable .dashicons {
	font-size:14px;
	width: 14px;
    height: 14px;
}



/**
 * Tooltip Styles
 */

/* Base styles for the element that has a tooltip */
[data-tooltip],
.tooltip {
  position: relative;
  cursor: pointer;
}

.form-table.meta_box .dashicons-info { 
	width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 20px;
	display: inline-block;
}

.form-table .dashicons-info:before {
	color:#ccc;
}

/* Base styles for the entire tooltip */
[data-tooltip]:before,
[data-tooltip]:after,
.tooltip:before,
.tooltip:after {
  position: absolute;
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: 
      opacity 0.2s ease-in-out,
        visibility 0.2s ease-in-out,
        -webkit-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
    -moz-transition:    
        opacity 0.2s ease-in-out,
        visibility 0.2s ease-in-out,
        -moz-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
    transition:         
        opacity 0.2s ease-in-out,
        visibility 0.2s ease-in-out,
        transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform:    translate3d(0, 0, 0);
  transform:         translate3d(0, 0, 0);
  pointer-events: none;
}

/* Show the entire tooltip on hover and focus */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after,
[data-tooltip]:focus:before,
[data-tooltip]:focus:after,
.tooltip:hover:before,
.tooltip:hover:after,
.tooltip:focus:before,
.tooltip:focus:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

/* Base styles for the tooltip's directional arrow */
.tooltip:before,
[data-tooltip]:before {
  z-index: 1001;
  border: 6px solid transparent;
  background: transparent;
  content: "";
}

/* Base styles for the tooltip's content area */
.tooltip:after,
[data-tooltip]:after {
  z-index: 1000;
  padding: 16px;
  width: 160px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 14px;
  font-weight: normal;
  line-height: 1.2;
}

/* Directions */

/* Top (default) */
[data-tooltip]:before,
[data-tooltip]:after,
.tooltip:before,
.tooltip:after,
.tooltip-top:before,
.tooltip-top:after {
  bottom: 100%;
  left: 50%;
}

[data-tooltip]:before,
.tooltip:before,
.tooltip-top:before {
  margin-left: -6px;
  margin-bottom: -12px;
  border-top-color: #000;
  border-top-color: hsla(0, 0%, 20%, 0.9);
}

/* Horizontally align top/bottom tooltips */
[data-tooltip]:after,
.tooltip:after,
.tooltip-top:after {
  margin-left: -80px;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after,
[data-tooltip]:focus:before,
[data-tooltip]:focus:after,
.tooltip:hover:before,
.tooltip:hover:after,
.tooltip:focus:before,
.tooltip:focus:after,
.tooltip-top:hover:before,
.tooltip-top:hover:after,
.tooltip-top:focus:before,
.tooltip-top:focus:after {
  -webkit-transform: translateY(-12px);
  -moz-transform:    translateY(-12px);
  transform:         translateY(-12px); 
}

/* Left */
.tooltip-left:before,
.tooltip-left:after {
  right: 100%;
  bottom: 50%;
  left: auto;
}

.tooltip-left:before {
  margin-left: 0;
  margin-right: -12px;
  margin-bottom: 0;
  border-top-color: transparent;
  border-left-color: #000;
  border-left-color: hsla(0, 0%, 20%, 0.9);
}

.tooltip-left:hover:before,
.tooltip-left:hover:after,
.tooltip-left:focus:before,
.tooltip-left:focus:after {
  -webkit-transform: translateX(-12px);
  -moz-transform:    translateX(-12px);
  transform:         translateX(-12px); 
}

/* Bottom */
.tooltip-bottom:before,
.tooltip-bottom:after {
  top: 100%;
  bottom: auto;
  left: 50%;
}

.tooltip-bottom:before {
  margin-top: -12px;
  margin-bottom: 0;
  border-top-color: transparent;
  border-bottom-color: #000;
  border-bottom-color: hsla(0, 0%, 20%, 0.9);
}

.tooltip-bottom:hover:before,
.tooltip-bottom:hover:after,
.tooltip-bottom:focus:before,
.tooltip-bottom:focus:after {
  -webkit-transform: translateY(12px);
  -moz-transform:    translateY(12px);
  transform:         translateY(12px); 
}

/* Right */
.tooltip-right:before,
.tooltip-right:after {
  bottom: 50%;
  left: 100%;
}

.tooltip-right:before {
  margin-bottom: 0;
  margin-left: -12px;
  border-top-color: transparent;
  border-right-color: #000;
  border-right-color: hsla(0, 0%, 20%, 0.9);
}

.tooltip-right:hover:before,
.tooltip-right:hover:after,
.tooltip-right:focus:before,
.tooltip-right:focus:after {
  -webkit-transform: translateX(12px);
  -moz-transform:    translateX(12px);
  transform:         translateX(12px); 
}

/* Move directional arrows down a bit for left/right tooltips */
.tooltip-left:before,
.tooltip-right:before {
  top: 3px;
}

/* Vertically center tooltip content for left/right tooltips */
.tooltip-left:after,
.tooltip-right:after {
  margin-left: 0;
  margin-bottom: -16px;
}

/* Criteria fields */
.criteria_fields {
	float: left;
	margin-right: 10px !important;
}
	
/* Custom */
#schema_article {
	display: none;
}
#schema_cpt .form-table th {
	width: 1% !important;
}
#schema_cpt .description {
	margin-bottom: 20px;
	display: block;
}
#_schema_review_pros-repeatable input,
#_schema_review_cons-repeatable input {
	float:left;
}
.form-table.meta_box .meta_box_repeatable td * {
	margin:0;
}
/* Remove "+ Add New Category" */
#category-adder {
	display:none;
}

/* Input & Textarea placeholder */
#schema_post_meta_box input::-webkit-input-placeholder {
	color: #ccc;
}
#schema_post_meta_box input:-moz-placeholder { /* older Firefox*/
	color: #ccc;
}
#schema_post_meta_box input::-moz-placeholder { /* Firefox 19+ */ 
	color: #ccc;
} 
#schema_post_meta_box input:-ms-input-placeholder { 
	color: #ccc;
}
#schema_post_meta_box textarea::-webkit-input-placeholder {
	color: #ccc;
}
#schema_post_meta_box textarea:-moz-placeholder { /* older Firefox*/
	color: #ccc;
}
#schema_post_meta_box textarea::-moz-placeholder { /* Firefox 19+ */ 
	color: #ccc;
} 
#schema_post_meta_box textarea:-ms-input-placeholder { 
	color: #ccc;
}
