
// expand screen to full width
&.maxbuttons-controller-edit .main,
&.maxbuttons-controller-button .main {
	width: auto; 
	max-width: 1200px;
}

 .option-container {
	margin-bottom: 20px;
	border: solid 1px #cccccc;
	@include border-radius(3px,3px,3px,3px);
	background-color: #fff;
	
	.title {	
 
		font-size: 18px;
		padding: 9px 8px 9px 10px;
		text-align: left;
		text-shadow: 0px 1px 0px #ffffff;
		position: relative;
	}
	.section-title { 
		padding: 15px; 
		margin-top: 10px;
		font-weight: 700;
		font-size: 16px;
	}

 	// new struct layout
		.section-title { 
			background-color: #fff; 
			
		}
		
    	// Used @ social sharing		
			.option-list { 
				//float: left; 
				display: inline-block;
				&:after { clear: both; }  
				.help {
					float: right;
					margin-top:  5px;
				}
			}

		.help { 
 
			position: relative; 
			width: 18px; 
			height: 18px; 
			font-size: 18px;
			margin-left: 10px; 
			
			span {
				font-family: "Open Sans",sans-serif;
				font-size: 12px;
				background-color:#fff;
				color: #000;
				position: absolute;
				display: none;
				padding: 10px 5px;
			 	top: -7px; 
			 	left: 25px;
				min-width: 150px;
				border-radius: 5px;
				text-align: center;
				z-index: 1000; // above all
				border: 1px solid #ccc; 
				line-height: 15px;
 
			}
			&:hover span { 
					display: block; 
				}
		}
}  
 
 
 .option-container > .inside {
	padding: 10px 15px 10px 15px;
	border-top: solid 1px #cccccc;
	background-color: #ffffff;
	
	// option-design should dissapear
 	// option finetuning in elements.scss
 	.option, .option-design {
		margin-bottom: 10px;
		display: block; 
		position: relative;	
		
			// dot label on it's way out as well 
		 .label, > label{
			display: inline-block;
			font-weight: bold;
			padding-left: 3px;
			padding-top: 5px;
			width: 145px;
			vertical-align: top; 
			cursor: default;	
			min-height: 25px; 
			&[for] 
			{
				cursor:pointer; // show label with for as link ( focus on field )
			}
			@include bp(780)
			{
				font-size: 14px;
			}
		}	


 		&:after, &:before { clear: both; } 
	}
	 // new stuff 
	.option {
		// note that nth targets elements, not classes so nth
		label { 
			margin-top: 2px;
			&.color { margin-top: 5px; }
		}
		
		label:nth-of-type(2) {  
			margin-left: 30px;
			width: 115px;
		}	
		.control-group {
			display: inline-block;
		}
		.rotate-left { @include rotate(-45); } 
		.rotate-right { @include rotate(45); } 		
	}
}
  
 
 .option-design {
	margin-bottom: 10px;

	
	.input td div.cell-label {
		padding: 1px 10px 0px 5px;
		font-weight: bold;
		border-bottom: solid 1px #d1d1d1;
		width: 180px;
		font-size: 13px;
		height: 30px; 
		
		// For expirations of tables
 		//&:before { content: 'table cell'; color: #ff0000; } 
	}
	.default-other {  // default text
		font-size: 13px;
	}
	/*	Gone with tables
		th, td.label { 
		font-size: 13px; 
	} */
}


 .option p.note, .option-design p.note {
	font-style: italic;
	display: inline-block;
	clear:both;
	color: #808080;
	padding-left: 3px;
	margin-top: 10px;
	margin-bottom: 5px;
	margin-left: 0;
	display: block;
}



 .mb-message.shortcode { 
 	.expanded {
 		display: none;
 		.example {
 			strong { width: 300px; 
 					display: inline-block;
 			} 
 		
		}
 	}
	.shortcode-expand {
	 	float: right; 
	 	cursor: pointer;
		@include bp(1024) 
		{
				float: none;
				text-align: left;
				margin: 10px 0;
				display: block;
		}
	} 
 }

 .manual-box
 {
 	 float: right;
 	 margin: 3px 15px; 
	 top: 0;
	 right: 0;

	 a { 
 		text-align:center;
	 	width: 100%;
	 	background: #e0e0e0 none repeat scroll 0 0;
		font-size: 13px;
		font-weight: 600;
		margin-left: 4px;
		margin-top: 5px;
		padding: 4px 8px;
		position: relative;
		text-decoration: none;
		text-shadow: none;

	 }
 }
  
 .manual-entry { 
 	 display: none;
 	
 	position: absolute; 
 	border: 1px solid $c-border-dark;
 	background: rgba(255,255,255,1);
 
 	width: 45%;
 	right: 25px;
 	z-index: 199;
 	box-sizing: border-box;
 	padding-bottom: 20px;
 	
 	h3 { 
 		font-size: 18px;
 		width: calc(100%);
 		box-sizing: border-box;
 		padding: 10px 0;
 		border-bottom: 1px solid $c-border-light;
 		text-align: center;
 		margin: 0;
 		padding-right: 35px;
 		position: relative;
 
 		
 		span { 
 		 	box-sizing: border-box;
			cursor: pointer;
 			width: 35px;
 			height: 100%;
 			font-size: 25px;
 			display: inline-block;
 			position: absolute; 
 			right: 5px;
 			top: 0;
 			padding-top: 8px;
 		}
 	}
 	
 	h4, p, ol, ul { 
 		padding: 0 15px;
 	}
 	h4 { font-size: 16px; }
 	p { font-size: 13px; } 
 	
 
}

/* Preview window */
.output {
	position: fixed;
	top: 45px;
	right: 20px;
	background-color: #ffffff;
	border: solid 1px #414141;
	box-shadow: 0px 0px 6px #808080;
	z-index: 99;
	width: auto;
	min-width: 300px;
	@include bp(780) {
		@include box-shadow(0,0,0,0);
		top: 0; 
		left: 0; 
		right: 0;
		position: relative;
		margin-bottom: 15px;
		border-color: #ccc;

	}
	.header {
		color: #222222;
		background-color: #ffffff;
		border-bottom: solid 1px #cccccc;
		font-family: "Open Sans", sans-serif;
		font-size: 16px;
		font-weight: bold;
		padding: 8px 0px 8px 10px;
		cursor: move;
		position: relative;
		.preview-toggle {
			float: right;
			font-size: 30px;
			width:30px;
			position: absolute;
			top: 3px;
			right: 0;
		
		}
	}	
	.inner {
		padding: 5px;
		p {

			padding: 5px 0 5px 5px;
		}
	}	
	.input.color {
		float: left;
		position: relative;
		margin-top: 5px;
		
		.wp-picker-container.wp-picker-active {
			padding: 30px;
			border: 1px solid #ccc;
			background-color: #fff;
			position: absolute;
			bottom: -15px;
			left: -270px;
			z-index: 102;
			@include box-shadow(4px, 1px, 5px, #ccc);
		}	
	}
	.note {
		float: left;
		margin: 8px 0px 0px 10px;
	}
	.result {
		padding: 20px 5px;
		//margin: 20px;
		p {
			padding: 5px 0px 5px 0px;
			margin: 0;
		}		
	}	
} // output 


	

/* Conditionals */
.conditional-option { display: none; } 

/* Media queries interface */
.media_query { 

	width: 640px;
	margin: 0 20px 15px 0;
	border: 1px solid #ccc;
	padding: 10px 15px;
	display: inline-block;
	clear: both;
	
	position: relative;

	.removebutton { 
		position: absolute;
		right: 10px; 
		top: 10px; 
		cursor: pointer;
		z-index: 100; // prevent label overlap;
		padding: 10px 5px; // easier click

	 }
	input:after {
		clear: both;
	}
	.label {
		clear: both; 
		margin-bottom: 15px;
	}	
	label.title {
		 padding: 0; 
		 font-size: 20px;		 
	}
	.custom .label, .custom .input {
		//float: left;
	}
	.custom.hidden { display: none; } 
	.option.custom label:nth-of-type(2)
	{
		margin-left: 95px;
	}
	.description {
 		padding: 15px 0px;
 		text-align: left;
 		//min-height: 45px;
	 }
	 select { width: 60px; }
	.input input { 
		//min-height: 22px; 
		//min-width:40px; 
		margin-top: 0px;
		//height: 28px;
		padding-top: 2px;
	} 
	 
} // media_query 

.option-container .media_query label { 
	//display: block;
	//font-size:16px;
	//text-align: center;
	//	cursor: default;
}
 
.media_queries_options .new-query { 
	margin-top: 25px; 
	select { 
		width: auto;
	}
}
 
	
 .media_option_prot, #media_desc {
	display: none;
}

// The warning layout for the copy button dialog
.copy-warning { 
	width: 400px;
	margin: 0 auto;	
	position: relative;
	line-height: 1.1;

	&:before {
		content: "\f534";
		font-size: 40px; 
		color: #ff0000; 
		width: 35px; 
		height: 35px; 
		font-family: "Dashicons"; 
		position: absolute; 
		left: 20px; 
		top: 40%; 
		margin-top: -14px;
	}
	
	.example {
		margin-bottom: 5px;
	}


}

  .form-actions {
  	@extend .button-bar;
  	
/*	margin-top: 15px;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: dashed 1px #d1d1d1; */
	a {
		margin-right: 10px;
	}
}
 
