/** Google Fonts **/

ul.mega-font-selector {
	height: 200px;
	overflow-y: auto;
	border: 1px solid #ccc;
	padding: 10px;
}
ul.mega-font-selector li {
	clear: both;
}

/** Font Awesome **/

#cboxContent .menu_icon .fa label:before {
	font-size: 24px;
	text-align: center;
}

/** Genericons **/

#cboxContent .menu_icon .icon_selector .genericon label:before {
	font-size: 24px;
	text-align: center;
}

/** Custom Icons **/

#cboxContent #mm_icon {
	display: block;
	margin-bottom: 10px;
	max-width: 100px;
	max-height: 100px;
}

#cboxContent .mm_tab_custom table {
	float: left;
}

#cboxContent #mm_choose_icon,
#cboxContent #mm_change_icon,
#cboxContent #mm_remove_icon {
	cursor: pointer;
	margin-right: 20px;
	float: left;
}

#cboxContent input.mm_icon_width,
#cboxContent input.mm_icon_height {
	margin-right: 5px;
}

#cboxContent .mm_tab_custom p.submit {
	float: left;
}

/** Style Overrides **/


#cboxContent .mm-picker-container .sp-replacer {
	margin: 0;
	float: left;
}

#cboxContent .mm-picker-container .sp-replacer .sp-preview {
	border: 0;
	height: 26px;
	width: 26px;
	margin: 0;
}
#cboxContent .mm-picker-container input.mm_colorpicker {
	float: left;
	border: 0;
	height: 23px;
	box-shadow: 0 0 0;
	margin: 0;
}

#cboxContent .mm-picker-container {
	border-radius: 3px;
	box-shadow: 0 1px 0 rgba(0,0,0,.08);
	border: 1px solid #ccc;
	font-size: 0.9em;
	margin-right: 20px;
	float: left;
}

#cboxContent .mm-picker-container div.chosen-color {
	background: #f7f7f7;
	-webkit-border-radius: 0 2px 2px 0;
	border-radius: 0 2px 2px 0;
	border-left: 1px solid #ccc;
	color: #555;
	font-size: 11px;
	line-height: 26px;
	padding: 0 6px;
	text-align: center;
	-webkit-box-shadow: inset 0 1px 0 #fff;
	box-shadow: inset 0 1px 0 #fff;
	float: left;
	cursor: default;
}

#cboxContent .mm_content.styling .mega-name {
	width: 40%;
}
#cboxContent .mm_content.styling .mega-enable {
	width: 1%;
}

#cboxContent .mm_content.styling td.mega-enable:after {
	display: none;
}
#cboxContent .mm_content.styling .mega-enabled td:after {
	display: none;
}
#cboxContent .mm_content.styling table {
	border-collapse: collapse;
}
#cboxContent .mm_content.styling td {
	position: relative;
	padding: 10px;
	border-bottom: 5px solid white;
	vertical-align: middle;
}
#cboxContent .mm_content.styling td:after {
	background: #eeeeee;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	content: "";
	opacity: 0.5;
}
#cboxContent p.tab-description {
	margin: 20px 0;
	border-bottom: 1px solid #efefef;
	padding-bottom: 20px;
	opacity: 0.7;
	font-style: italic;
}

#cboxContent .mmm_image_selector {
	position: relative;
}

#cboxContent .mmm_image_selector .dashicons-edit,
#cboxContent .mmm_image_selector .dashicons-trash {
	background: white;
	display: block;
	padding: 1px;
	border: 2px solid #2EA2CC;
	color: #2EA2CC;
	cursor: pointer;
}

#cboxContent .mmm_image_selector .dashicons-trash {
	position: absolute;
	left: 35px;
	top: 5px;
	display: none;
}

#cboxContent .mmm_image_selector.has_image .dashicons-edit {
	position: absolute;
	left: 5px;
	top: 5px;
}

#cboxContent .mmm_image_selector.has_image .dashicons-trash {
	display: block;
}

#cboxContent .mmm_image_selector img {
	background-color: #FEFEFE;
	background-image: -webkit-linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB), -webkit-linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB);
	background-image: -moz-linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB), -moz-linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB);
	background-image: -o-linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB), -o-linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB);
	background-image: -ms-linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB), -ms-linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB);
	background-image: linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB), linear-gradient(45deg, #CBCBCB 25%, transparent 25%, transparent 75%, #CBCBCB 75%, #CBCBCB);
	-webkit-background-size:20px 20px;
	-moz-background-size:20px 20px;
	background-size:20px 20px;
	background-position:0 0, 10px 10px;
	max-width: 200px;
}
/** Replacements **/


#cboxContent .replacements .mega-value .mega-description {
	font-family: monospace;
}

#cboxContent .replacements .CodeMirror {
	height: 150px;
	border: 1px solid #aaa;
}

#cboxContent .replacements tr {
	background: transparent;
}

#cboxContent .replacements table label {
    font-size: 0.9em;
    float: left;
    margin-right: 10px;
}
#cboxContent .replacements table label span.mega-short-desc {
	font-size: 0.8em;
	text-transform: uppercase;
	color: #aaa;
	display: block;
	margin: 0 0 2px 1px;
}
#cboxContent .replacements table input.mm_logo_url {
	width: 200px;
}

/** Sticky **/

.mega-value .mega-after {
    vertical-align: inherit;
    font-size: 0.9em;
    opacity: 0.8;
    margin-left: 3px;
}

