/*
 * TODO: separate styles into multiple imports
 */

/*
 * Table of Contents
 *
 * 1.0 - Styles for metaboxes in the sidebar
 * 2.0 - Base styling for admin pages
 	* 2.1 - main wrapper
	* 2.2 - Tabs
	* 2.3 - option tables
	* 2.4 - font options description
	* 2.5 - google font iframe
	* 2.6 - notifications
	* 2.7 - notes
	* 2.8 - heading
	* 2.9 - radio-palette
	* 2.10 - radio images
	* 2.11 - code
	* 2.12 - sortable
	* 2.13 - number slider
	* 2.14 - google webfont new
	* 2.15 - We're using dashicons instead of font-awesome, this fixed the incompatibility
	* 2.16 - group
 * 3.0 - Enable option styles
 */

@import "class-option-font.css";
@import "class-option-date.css";

/* note option padding issue */
.mm-note .updated p {
	margin-bottom: 4px;
}

@media screen and (min-width: 783px) {
	.mm-select-googlefont iframe {
		width: 100%;
		height: 120px;
		background: #FFF;
		background: rgba(255, 255, 255, .7);
		margin-top: 4px;
	}
	.mm-form-table td.mm-select-googlefont fieldset label {
		display: inline-block;
		padding-left: 20px;
		width: 200px;
	}
}

/*
 * 1.0 - Styles for metaboxes in the sidebar
 */
#side-sortables .mm-form-table,
#side-sortables .mm-form-table tbody,
#side-sortables .mm-form-table tr,
#side-sortables .mm-form-table th,
#side-sortables .mm-form-table td {
	display:block;
}

#side-sortables .mm-form-table th {
	padding: 10px 0px 0px;
}

#side-sortables .mm-form-table td {
	padding: 5px 0px;
}

#side-sortables .mm-form-table td input {
	max-width:100%;
}

#side-sortables .mm-radio-image label:first-child,
#side-sortables .mm-radio-image label {
	display: inline-block;
	margin-left: 10px;
	margin-top: 10px;
}

/*
 * 2.0 - Base styling for admin pages
 */

/* 2.2 - Tabs */
.mobmenu-settings-panel-wrap .nav-tab-wrapper { margin-bottom: 20px; }

/* 2.3 - option tables */
.mobmenu-settings-panel-wrap .mm-form-table th,
.mobmenu-settings-panel-wrap .mm-form-table td {
	padding: 4px 20px;
}
/*
.mobmenu-settings-panel-wrap .mm-form-table tbody:first-child tr th:last-child,
.mobmenu-settings-panel-wrap .mm-form-table tbody:first-child tr td:last-child {
	border-right: 1px solid #DFDFDF;
}
*/
.mobmenu-settings-panel-wrap .wp_themeSkin table td {
	padding: 0;
}

.mobmenu-settings-panel-wrap .mm-form-table {
	margin-top: 0;
}

.mobmenu-settings-panel-wrap .nav-tab-active,
.mobmenu-settings-panel-wrap .nav-tab-active:hover {
	background: #ffffff;
	border-bottom: 1px solid #ffffff;
}

.mobmenu-settings-panel-wrap .mm-form-table tr {
	background: white;
	border-bottom: 1px solid #eee;
	padding-top: 10px;
}

.mobmenu-settings-panel-wrap .mm-form-table .wp_themeSkin .mceStatusbar { padding: 0 0 0 8px; }
.mobmenu-settings-panel-wrap .mm-form-table .wp_themeSkin .mceToolbar { padding: 1px; }

.mobmenu-settings-panel-wrap p.submit {
	background: #FFF;
	margin-top: 0;
	margin-bottom: 0;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
}
.mobmenu-settings-panel-wrap .mm-form-table + p.submit {
    padding: 14px 10px;
    background: #fff;
    z-index: 999999;
}

/* 2.4 - font options description */
.mobmenu-settings-panel-wrap .mm-font p.description,
.mobmenu-settings-panel-wrap .mm-radio p.description,
.mobmenu-settings-panel-wrap .mm-multicheck p.description {
	margin-bottom: 8px;
}

/* 2.5 - google font iframe */
.mm-select-googlefont iframe {
	background: #fafafa;
}

/* 2.6 - notifications */
.mobmenu-settings-panel-wrap div.updated,
.mobmenu-settings-panel-wrap div.error {

}

.mobmenu-settings-panel-wrap h2 + div.updated,
.mobmenu-settings-panel-wrap h2 + div.error {

}

.mobmenu-settings-panel-wrap h2 + div.error {
}

/* 2.7 - notes */
.mobmenu-settings-panel-wrap .mm-note .updated {

}

/* 2.8 - heading */
.mobmenu-settings-panel-wrap .mm-heading th {
    background: #F1F1F1;
    background: none repeat scroll 0 0 #F5F5F5;
    border-left: 1px solid #DFDFDF;
    border-top: 1px solid #DFDFDF;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    color: #222222;
    padding: 10px 20px;
}
.mobmenu-settings-panel-wrap .mm-heading h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
	line-height: 1.4;
	font-family: sans-serif;
    text-transform: capitalize;
}
.mobmenu-settings-panel-wrap .mm-heading p {
	font-weight: normal;
	margin-top: 5px;
}
.mobmenu-settings-panel-wrap .mm-heading p:last-child {
	margin-bottom: 0;
}

.mobmenu-settings-panel-wrap .options-container h2 {
    background: none repeat scroll 0 0 #F5F5F5;
	border-left: 1px solid #DFDFDF;
	border-top: 1px solid #DFDFDF;
    border-right: 1px solid #DFDFDF;
	border-bottom: 1px solid #DFDFDF;
    color: #222222;
	font-size: 14px;
	font-weight: 600;
    line-height: 1.4;
    margin: 20px 0 0;
    padding: 10px 20px;
}

.mobmenu-settings-panel-wrap .options-container h2 { margin-bottom: -6px; }

/* 2.9 - radio-palette */
.mm-radio-palette span {
	display: inline-block;
	height: 40px;
}

.mm-radio-palette span span {
	width: 15px;
}

.mm-radio-palette > label > span {
	padding: 2px;
	border: 1px solid #ddd;
}

.mm-radio-palette input[type=radio] {
	vertical-align: top;
	margin-top: 17px;
}

.mm-radio-palette label {
	margin: 0 30px 10px 0;
	display: inline-block;
}

.mm-radio-palette label:first-child {
	margin-left: 0
}

.mm-ajax-button .button + .button {
	margin-left: 5px;
}

/* 2.10 - radio images */
.mm-radio-image label {
	white-space: nowrap;
	display: inline-block;
	margin-right: 30px;
	margin-bottom: 10px;
}

.mm-form-table .mm-radio-image input[type=radio] {
	margin-top: 0;
}

.mm-radio-image img {
	vertical-align: middle;
}

/* 2.11 - code */
.mm-code > div:first-of-type {
	border-radius: 3px;
	border: 1px solid #DDD;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	font-size: 14px;
}

/* 2.12 - sortable */
.mm-sortable li {
	cursor: move;
	background: #fafafa;
	padding: 0 0 0 15px;
	border: 1px solid #DDD;
	position: relative;
	line-height: 40px;
}

.mm-sortable ul {
	margin-top: 0;
	background: rgba(0, 0, 0, 0);
	border: 1px solid #EEE;
	padding: 5px;
	display: inline-block;
}

.mm-sortable ul li:last-of-type {
	margin-bottom: 0;
}

.mm-sortable ul li i {
	float: right;
	background: #fcfcfc;
	display: inline-block;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #DDD;
	width: 40px;
	line-height: 40px;
	text-align: center;
	color: #777;
}

.mm-sortable ul li i.visibility {
	cursor: pointer;
}

.mm-sortable ul li i:last-of-type {
	margin-left: 50px;
}

.mm-sortable li.mm-invisible {
	color: #ccc;
	background: transparent;
}

/* 2.13 - number slider */
.mm-number .ui-slider-handle {
    position: absolute;
    z-index: 2;
	border-radius: 3px;
    cursor: move;
	margin-left: -6px;
	pointer-events: none;
	outline: none;
	top: -5px;
	background: #EEE;
	border: 1px solid #CCC;
	height: 23px;
	width: 12px;
}

.mm-number .ui-slider a:focus {
	outline: none;
}

.mm-number .ui-slider-range {
    background: #eee;
    height: 100%;
}

.mm-number .number-slider {
	position: relative;
	background: #fcfcfc;
    border: 1px solid #ddd;
	border-radius: 3px;
	width: 250px;
	height: 15px;
	margin-right: 20px;
	display: inline-block;
	vertical-align: bottom;
	margin-bottom: 6px;
}

/* 2.14 - google webfont new */
.mm-font label {
	border: 1px solid #DDD;
	vertical-align: middle;
	display: inline-block;
	padding: 4px 4px 4px 13px;
	margin-right: 10px;
	background: #fcfcfc;
	margin-bottom: 10px;
}

.mm-font select {
	margin-left: 10px;
}

.mm-font .wp-picker-container {
	line-height: 28px;
	height: 28px;
	margin: 1px;
}

.mm-font .wp-picker-container > a {
	margin: 2px 7px 2px 10px;
}

.mm-font .wp-picker-container .wp-picker-default {
	margin: 2px 2px 2px 7px;
}

.mm-font iframe {
	width: 100%;
	height: 200px;
	background: #FCFCFC;
	border: 1px solid #DDD;
}

.mm-font div {
	position: relative;
}

.mm-font i {
	position: absolute;
	top: 0;
	left: 0;
	line-height: 30px !important;
	width: 30px;
	background: #EEE;
	text-align: center;
	border: 1px solid #DDD;
	cursor: pointer;
}

.mm-font i:hover {
	background: #333;
	color: #FFF;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333;
}

.mm-font .wp-picker-container {
	z-index: 9;
}

.dashicons-visibility-faint:before {
	opacity: .2;
}

/* We're using dashicons instead of font-awesome, this fixed the incompatibility */
[class*=mm-] i.dashicons {
	height: auto;
}

/*
 * 2.16 - group
 */

 .mm-group .wp-color-result {
 	margin: 0 0 -2px;
 }
 .mm-group .wp-picker-active .wp-color-result {
 	margin: 2px 6px -2px 0;
 }
 .mm-group .wp-picker-active .wp-picker-input-wrap {
 	margin-top: 2px;
 	margin-bottom: -2px;
 }
 .mm-group .wp-picker-active .wp-picker-holder {
 	margin-top: 12px;
 }
 .mm-group {
 	padding-left: 16px;
 	padding-right: 16px;
 }
 .mm-group > * {
 	margin: 0 4px;
 	display: inline-block;
 }


/*
 * 3.0 - Enable option styles
 */

.mm-enable input {
	width: 0;
	height: 0;
	overflow: hidden;
	float: right;
	z-index: -9999;
	position: absolute;
}
.mm-enable .button {
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}
.mm-enable .button + .button-primary {
	background: #6C7A89;
	border-color: #56606B;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	pointer-events: none;
}
.mm-enable .button-primary:first-of-type {
	pointer-events: none;
}
.mm-enable .button:first-of-type {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.mm-enable .button-secondary:first-of-type {
	-webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.08);
	box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.08);
}
.mm-enable .button + .button {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	-webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.08);
	box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.08);
}
.mm-upload .mm-image-preview img {
    margin-top: 0px;
    margin-left: 0px;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
}
.mm-file-upload {
	min-height: 20px;
	padding: 10px 20px;
	width: 250px;
	background-color: #FAFAFA;
  box-shadow: inset 0 0 0 1px #EEE;
	cursor: pointer;
	position: relative;
}
.mm-file-upload:hover {
	box-shadow: inset 0 0 0 4px #EEE;
}
.mm-file-upload p{
	margin-top: 0 !important;
}
.mm-file-upload i{
	position: absolute;
	right: 10px;
}
.mobmenu-settings-panel-wrap .wp-picker-container .iris-picker {
	float: left;
}
