#wpcontent
{
	overflow: hidden;
}
h2.mmenu
{
	background-color: #5ac6ff;
	text-shadow: 0 1px 2px rgba( 0, 0, 0, 0.1 );
	color: #fff;
	font-weight: bold;
	padding: 30px 0;
}
h2.mmenu span
{
	background: url( ../img/mmenu-logo.png ) 0 0 no-repeat transparent;
	text-indent: -1000px;
	overflow: hidden;
	display: block;
	width: 320px;
	height: 90px;
	margin: -10px;
}
h2.mmenu small
{
	font-size: 12px;
	float: right;
}

#mmenu-settings
{
	position: relative;
}
#mmenu-settings:before
{
	background: #5ac6ff;
	content: '';
	display: block;
	width: 2000px;
	width: calc( 100% + 200px );
	height: 1000px;
	position: absolute;
	top: -1000px;
	left: -100px;
	z-index: -1;
}

.nav-tab-wrapper
{
	border-bottom: 1px solid #aaa;
	padding: 0 100px;
	margin: 20px -100px 0 -100px;
}
.nav-tab-wrapper:after
{
	content: '';
	display: block;
	float: none;
	clear: both;
}
.nav-tab
{
	display: block;
	float: left;
	outline: none !important;
	box-shadow: none !important;
	transition-property: background,color;
}
.nav-tab + .nav-tab
{
	margin-left: 5px;
}

.tab
{
	display: none;
	padding: 20px 0;
}
.tab-active
{
	display: block;
}
.section p.intro
{
	font-size: 14px;
	margin-bottom: 20px;
}
.explanation
{
	display: none;
}

.suboptions
{
	display: none;
	margin-bottom: 10px;
}
.form-table tr.suboptions td p
{
	margin-bottom: 10px;
}
.section.checked .suboptions
{
	display: table-row;
}
.section.checked .subsuboption
{
	display: none;
}
.section.checked .subsuboption.opened
{
	display: table-row;
}
.section.checked .subsuboption td
{
	border-top: none;
	padding-top: 0;
}
.section.checked .subsuboption th + td
{
	padding-left: 35px;
}

.form-table input[type="checkbox"] + label
{
	padding-left: 5px;
}
.form-table code input[type="text"]
{
	width: 90px;
	margin-left: -5px;
}

/* larger screens */
@media screen and (min-width:783px) {

	.section
	{
		border-bottom: 1px solid #ccc;
	}
	.section > .form-table:first-child
	{
		margin-top: 0;
	}
	.form-table td.caret
	{
		text-align: right;
		cursor: pointer;
		width: 30px;
	}
	.form-table input[type="text"],
	.form-table select
	{
		width: 300px;
	}
	.explanation
	{
		box-shadow:  0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
		background-color: #fff;
		position: relative;
	}
	.explained + .explanation
	{
		display: table-row;
	}
	td.caret
	{
		position: relative;
	}
	.explained td.caret:after
	{
		content: '';
		display: block;
		border: 10px solid transparent;
		border-bottom-color: #fff;
		position: absolute;
		bottom: 0;
		right: 10px;
	}
	.suboptions td
	{
		border-top: 1px solid #ccc;
	}
}

/* smaller screens */
@media screen and (max-width:782px) {

	.nav-tab[href="#tab-preview"]
	{
		display: none;
	}

	.form-table th:empty,
	.form-table td + td
	{
		display: none;
	}
	.suboptions td
	{
		padding-left: 30px;
	}
}