/**
 * Main stylesheet
 *
 * @package         NoNumber Framework
 * @version         15.4.5
 *
 * @author          Peter van Westen <peter@nonumber.nl>
 * @link            http://www.nonumber.nl
 * @copyright       Copyright © 2015 NoNumber All Rights Reserved
 * @license         http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */
@import "init.less";

input[type="checkbox"],
input[type="radio"] {
	border: 0;
}

div.nn_panel {
	clear: both;
	margin-bottom: 8px !important;
	border: 1px solid #CCCCCC;
}
div.nn_panel_top {
	margin-bottom: 0 !important;
	border-bottom: 0 !important;
	font-size: 1.091em;
}
div.nn_panel_title,
div.nn_panel_description {
}
div.nn_panel_title {
	background-color: #F0F0F0;
	font-weight: bold;
	margin-top: 5px;
}
div.nn_panel_toggle {
	background-color: #FAFAFA;
	font-size: 1.091em;
}
div.nn_panel_toggle:hover {
	background-color: #F0F0F0;
}
div.nn_panel_toggle input.checkbox {
	margin: 0 8px 0 0;
}
div.nn_panel_toggle.nn_panel_include,
div.nn_panel_toggle.nn_panel_exclude {
	margin-bottom: 0 !important;
	border-bottom: 0 !important;
	background-color: @btnSuccessBackgroundHighlight;
	color: #FFFFFF;
}
div.nn_panel_toggle.nn_panel_exclude {
	background-color: @btnDangerBackgroundHighlight;
}
ul.config-option-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nn_block {
	display: block;
	padding: 4px 8px 0 8px;
}
.nn_block_notitle,
.nn_title {
	padding: 4px 8px;
}
label.nn_title {
	float: none !important;
	padding: 5px 8px 3px 8px !important;
	margin: 0 !important;
	pointer: cursor;
}
.nn_title ul {
	margin: 0 !important;
	margin-left: 2em !important;
}
.nn_title ul li {
	list-style: disc outside !important;
}

fieldset.panelform,
fieldset.adminform {
	label.nn_label {
		max-width: none;
		&.nn_label_error {
			background-color: lighten(@btnDangerBackground, 20%);
		}
	}
}

.nntoggler ul {
	margin: 0
}
div.nn_hr {
	height: 2px;
	border-left: 0 !important;
	border-right: 0 !important;
}
button.nn_close {
	float: right;
	font-size: 20px;
	font-weight: bold;
	line-height: 18px;
	color: #000;
	text-shadow: 0 1px 0 #ffffff;
	.opacity(20);
	margin: 2px 4px 0 0;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
}
button.nn_close:hover {
	border: 0;
	background: transparent;
	color: #000;
	text-decoration: none;
	cursor: pointer;
	.opacity(40);
}
span.nn_code {
	font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
	font-size: 12px;
	line-height: 18px;
	padding: 2px 4px;
	color: #d14;
	background-color: #f7f7f9;
	border: 1px solid #e1e1e8;
	white-space: nowrap;
	display: inline-block;
	.border-radius(3px);
}
input.nn_codefield {
	font-family: monospace;
	font-size: 2em;
	padding: 2px 5px;
	text-align: center;
}
textarea.nn_textarea {
	.box-sizing(border-box);
}

.toolbar .icon-32-export {
	background-image: url(../images/icon-32-export.png);
}
.toolbar .icon-32-import {
	background-image: url(../images/icon-32-import.png);
}
/* AP template */
#ap-wrapper .icon-32-export {
	background-image: url(../images/icon-32-export2.png);
}
#ap-wrapper .icon-32-import {
	background-image: url(../images/icon-32-import2.png);
}

/* APLite template */
.ap-main .icon-32-export,
.ap-main .icon-32-import {
	display: block;
	float: left;
	height: 20px;
	width: 20px;
	background: transparent url(../../../administrator/templates/aplite/images/menu/yellow/star_16x16.png) no-repeat 0 0;
}
.ap-main .icon-32-export {
	background-image: url(../../../administrator/templates/aplite/images/menu/green/save_16x16.png);
}
.ap-main .icon-32-import {
	background-image: url(../../../administrator/templates/aplite/images/menu/blue/save_16x16.png);
}
/* Mission Control */
div#mc-component fieldset.assignment-options ul {
	margin: 0;
}
div#mc-component fieldset.assignment-options ul.adminformlist ul {
	padding: 0;
}
div#mc-component .nntoggler ul li {
	padding: 5px 0; /* Undo override input MC stylesheet */
}
div#mc-component div.nn_panel {
	margin-bottom: 0 !important;
}

.nn_review {
	a.stars:hover {
		text-decoration: none;
	}
	.icon-star {
		&:before {
			content: '★';
		}
		color: mix(@yellow, @orange);
		margin: 0;
	}
}

@import "font.less";
@import "button.less";
