/**
 * Style definition for the Symphony backend
 */


/*--------------------------------------------------------------------------
	Structure
--------------------------------------------------------------------------*/

#wrapper {
	background: #fff;
	position: relative;
	min-height: 100%;
}

/* Header */

#header {
	margin: 0 0 0;
	color: #fff;
	position: relative;
	z-index: 9000;
}

#header h1 {
	background: #C8A2C8;
	padding: 18px;
	text-shadow: -1px 2px 3px #111;
	font-weight: normal;
	line-height: 1;
	z-index: 10;
	position: relative;
}

#header h1 a, #session a {
	border: none;
	color: #e6e6e6;
	color: rgba(255, 255, 255, 0.85);
}

#header h1 a:hover, #header h1 a:focus,
#session a:hover, #session a:focus {
	color: rgba(255, 255, 255, 0.99);
}

#header h1 a:focus,
#session a:focus {
	border-bottom: 1px solid white;
}

/* Session */

#session {
	margin: -31px 0 0;
	padding: 0 9px;
	float: right;
	position: relative;
	z-index: 11;
}

#session li {
	display: inline;
	padding: 0 9px;
}

/* Navigation */

#nav {
	display: block;
	margin: 0;
	padding: 0 8px 0;
	min-height: 31px;
	list-style: none;
	font-size: 12px;
	-webkit-box-shadow: 0 0 6px #a9a9a9;
	box-shadow: 0 0 7px #a9a9a9;
	background: #d7d7d2 url(../img/nav.png) 0 0 repeat;
	background: url(../img/nav.png) 0 0 repeat, -webkit-linear-gradient(top, #efefed 0, #efefed 33%, #d7d7d2 67%, #d7d7d2 100%);
	background: url(../img/nav.png) 0 0 repeat, -moz-linear-gradient(top, #efefed 0, #efefed 33%, #d7d7d2 67%);
	background: url(../img/nav.png) 0 0 repeat, -ms-linear-gradient(top, #efefed 0, #efefed 33%, #d7d7d2 67%);
	background: url(../img/nav.png) 0 0 repeat, -o-linear-gradient(top, #efefed 0, #efefed 33%, #d7d7d2 67%);
	background: url(../img/nav.png) 0 0 repeat, linear-gradient(to bottom, #efefed 0%, #efefed 33%, #d7d7d2 67%);
	z-index: 3;
	float: left;
	width: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#nav ul {
	margin: 0;
	padding: 0;
	float: left;
}

#nav.wide ul.structure {
	float: right;
}

#nav > ul > li {
	display: block;
	color: #556;
	float: left;
	height: 31px;
	line-height: 31px;
	padding: 0 10px;
	position: relative;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
	z-index: 3;
	cursor: default;
	white-space: nowrap;
}

#nav > ul > li.active {
	color: #fff;
	background-color: #C8A2CA;
	background-image: -webkit-linear-gradient(top, #C8A2C9 0%, #C8A2C9 35%, #C8A2CA 65%, #C8A2CA 100%);
	background-image:    -moz-linear-gradient(top, #C8A2C9 0%, #C8A2C9 35%, #C8A2CA 65%, #C8A2CA 100%);
	background-image:     -ms-linear-gradient(top, #C8A2C9 0%, #C8A2C9 35%, #C8A2CA 65%, #C8A2CA 100%);
	background-image:      -o-linear-gradient(top, #C8A2C9 0%, #C8A2C9 35%, #C8A2CA 65%, #C8A2CA 100%);
	background-image:   linear-gradient(to bottom, #C8A2C9 0%, #C8A2C9 35%, #C8A2CA 65%, #C8A2CA 100%);
	height: 31px;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
	z-index: 2;
}

#nav > ul > li:hover, #nav > ul > li.active:hover {
	color: #556;
	background: #fff url(../img/nav.png) 0 0 repeat;
	height: 31px;
	text-shadow: none;
	z-index: 10000;
}

#nav > ul > li:hover:after {
	content: "";
	width: 100%;
	max-width: 118px;
	height: 3px;
	background: #fff;
	position: absolute;
	bottom: 0;
	left: -1px;
	padding: 0 1px;
}

/* Dropdown */

#nav li ul {
	background: #fff;
	margin: 0;
	padding: 0;
	display: none;
	-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.03), 0 7px 15px -5px rgba(0, 0, 0, 0.15);
	box-shadow: 0 4px 5px rgba(0, 0, 0, 0.03), 0 7px 15px -5px rgba(0, 0, 0, 0.15);
	list-style: none;
	min-width: 120px;
	position: absolute;
	top: 31px;
	left: -2px;
	text-shadow: none;
	border: 1px solid rgba(187, 187, 187, 0.5);
	border-top: none;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

#nav.wide ul.structure li ul {
	left: auto;
	right: -2px;
}

#nav li:hover ul {
	display: block;
}

#nav ul a {
	color: #556;
	display: block;
	font-weight: normal;
	padding: 0 9px;
	border: 1px solid transparent;
	cursor: pointer;
}


#nav ul a:hover {
	color: #fff;
	background: #C8A2CB;
	border: 1px solid #fff;
	text-shadow: 1px 1px 0 #807d79;
}

#nav ul ul li:last-child a {
	-webkit-border-bottom-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
}

/* Context */

#context {
	clear: both;
	margin: 0;
	padding: 25px 18px 0;
	position: relative;
	color: #000;
	background-color: #f4f4f4;
	min-height: 38px;
}

#context:after {
	content: " ";
	display: block;
	visibility: hidden;
	clear: both;
}

#context h2 {
	border-bottom: 0;
	padding: 0;
	float: left;
}

#context .actions {
	margin: 0;
	padding: 0;
	position: absolute;
	right: 18px;
	top: 21px;
}

#context .actions li {
	float: right;
}

/* Breadcrumbs */

#breadcrumbs nav,
#breadcrumbs p {
	margin: 0;
	padding: 0;
	float: left;
}

#breadcrumbs:after {
	content: ' ';
	visibility: hidden;
	display: block;
	font-size: 0;
	clear: both;
}

#breadcrumbs a, #breadcrumbs span {
	padding: 0;
	font: 127.28%/1.35 'Lucida Grande', Leelawadee, Tahoma, Verdana, sans-serif;
	color: #2E2E2E;
	color: rgba(0, 0, 0, 0.6);
	text-shadow: 0 0 1px #fff;
	float: left;
}

#breadcrumbs a {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#breadcrumbs a:hover, #breadcrumbs a:focus {
	border-bottom-color: #a9a9a9;
	color: #2E2E2E;
	color: rgba(0, 0, 0, 0.8);
}

#breadcrumbs span {
	padding: 0 0.4em;
}

/* Contents */

#contents {
	clear: both;
	position: relative;
	background: #fff;
	padding: 0 0 5em;
	
	border-top: 1px solid rgba(191, 191, 183, 0.65);
	-webkit-box-shadow: 0 -3px 5px rgba(0, 0, 0, 0.05);
	box-shadow: 0 -3px 5px rgba(0, 0, 0, 0.05);
}

#contents h2 {
	padding: 20px 18px 17px;
}

#contents h2 span {
	float: left;
}

#contents h2:after {
	content: "";
	display: block;
	clear: both;
	height: 0;
}

#contents h2 .button {
	margin-top: -3px;
	margin-bottom: -2px;
}

/*--------------------------------------------------------------------------
	Settings
--------------------------------------------------------------------------*/

fieldset.settings {
	position: relative;
	padding: 10px 0 10px 275px;
	margin: 0 18px 10px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

fieldset.settings > legend {
	position: absolute;
	text-indent: -275px;
	line-height: 1.5;
}

fieldset.settings select {
	width: 100%;
}

fieldset.settings p.help {
	margin: -0.5em 0 1.5em;
}

fieldset.settings input + p.help,
fieldset.settings select + p.help {
	margin-top: 1em;
}

fieldset.settings li .label {
	margin: 1em 0 1.25em;
}

fieldset.settings:first-of-type {
	margin-top: 5px;
	border-top: none;
}

fieldset.settings > legend + .help {
	position: absolute;
	margin: 1.75em 0 0 -275px;
	width: 22em;
}

fieldset.settings > legend + .help p {
	margin: 0 0 1.5em;
}

fieldset.settings > *:first-child {
	margin-top: 0;
}

fieldset.settings fieldset {
	margin-top: 0.5em;
	padding-bottom: 0;
	border-top: 1px solid #ddc;
}

fieldset.settings fieldset legend {
	display: inline;
	margin: 0;
	padding: 0;
	font-weight: normal;
	line-height: 1.5;
	text-indent: 0;
	background: #fff;
	color: #665;
}

@media screen and (max-width: 700px) {

	fieldset.settings {
		padding-left: 0;
	}

	fieldset.settings:first-of-type {
		margin: 15px 18px 10px;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
	}

	fieldset.settings > legend {
		position: relative;
		text-indent: 0;
		padding: 0 10px 0 0;
	}

	fieldset.settings > legend + .help {
		position: relative;
		margin: 0 0 15px;
		width: auto;
	}

}

/* Condensed, pickable settings, e. g. email gateways */

.active .settings.condensed:not(.pickable) {
	margin-bottom: 5px;
}

.active .settings.condensed:not(.pickable) label {
	margin-bottom: 0;
}

.active .settings.pickable.condensed {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.active .settings.pickable.condensed {
	border-top: 0;
	padding-top: 0;
}
.active .settings.pickable.condensed legend {
	display: none;
}

/*--------------------------------------------------------------------------
	Password
--------------------------------------------------------------------------*/

#password {
	border: none;
	padding: 0;
	margin: 0 0 0 -15px;
}

#password legend {
	padding: 0 0 0 15px;
	margin: 0 !important;
	color: #222;
	line-height: 1.5;
	text-shadow: none;
}

#password i {
	position: absolute;
	top: -10px;
	right: 0;
}

div.password {
	position: absolute;
	left: 0;
	width: 100%;
	padding: 0 0 0 275px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 1000;
}

@media screen and (max-width: 700px) {

	div.password {
		padding: 0;
	}

}

/*--------------------------------------------------------------------------
	Index page
--------------------------------------------------------------------------*/

.page-index h2,
.index h2 {
	border: none;
}

.page-index form,
.index form {
	margin: 0;
	padding: 0;
}

.page-index .actions,
.index .actions {
	text-align: right;
	padding: 30px 18px 0;
	height: 38px;
}

.page-index .actions + ul.page,
.index .actions + ul.page {
	margin-top: -58px;
}

/* Pagination */

ul.page {
	margin: -61px 0 0;
	padding: 23px 50px 0 19px;
	height: 36px;
	color: #9e9e9e;
	cursor: default;
}

ul.page li {
	display: inline;
	margin-right: 0.75em;
}

ul.page a {
	margin: 0 -0.67em;
	padding: 0.67em;
	border-bottom: none;
}

ul.page form {
	display: inline-block;
	border: 1px solid transparent;
	padding: 0;
	min-height: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 4px;
}

ul.page:hover form {
	border-color: #dedede;
}

ul.page form:hover,
ul.page form.active {
	border-color: rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
}

ul.page form.invalid {
	background-color: #fff9a2;
	border-color: rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
}

ul.page form.invalid input {
	background-color: #fff9a2;
}

ul.page input {
	text-align: center !important;
	height: 20px;
	border: none;
	outline: none;
	line-height: 1;
	color: #666;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	font-size: 1em;
	margin: 0;
}

ul.page form:hover input {
	color: #9e9e9e;
}

ul.page form.active input,
ul.page input:focus {
	color: #000;
}

ul.page form span {
	visibility: hidden;
}

/* Data Sources */

#blueprints-datasources table td.pages {
	width: 30%;
}

/*--------------------------------------------------------------------------
	Single page
--------------------------------------------------------------------------*/

.field {
	min-height: 47px;
	margin-bottom: 15px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Checkboxes */

div.field-checkbox {
	min-height: 16px;
}

div.field-checkbox:first-child {
	margin-top: 20px;
	margin-bottom: 26px;
}

/* File uploads */

.file input {
	margin: -3px 0;
	font: inherit;
}

.file span.frame {
	text-align: left;
	margin-top: 1px;
}

.file span.frame span {
	float: left;
	max-width: 50%;
	overflow: hidden;
}

.file a {
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.file a,
.file a:hover {
	color: #3f69a5;
}

.file em {
	float: right;
	color: #998;
	border-bottom: 1px solid rgba(153, 153, 136, 0.3);
	font-style: normal;
	cursor: pointer;
}

.file em:hover {
	color: #d42;
	border-bottom-color: rgba(221, 68, 34, 0.3);
}

/* Actions */

.page-single #contents .actions,
.single #contents .actions {
	clear: both;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding: 1.75em 0 0;
	margin: 0 18px;
}

.page-single #contents .columns .actions,
.single #contents .columns .actions {
	margin: 0;
}

.page-single #contents .actions input,
.single #contents .actions input {
	float: right;
	margin-left: 1em;
}

.page-single #contents .actions button,
.single #contents .actions button {
	float: left;
	margin-left: 0;
}

/*--------------------------------------------------------------------
	Misc
--------------------------------------------------------------------*/

#utilities > li:nth-child(2n) {
	background: #FFF;
}

#utilities > li.selected {
	background: #ecdfed;
}

#version {
	color: #9E9E9E;
	margin: 33px 0 0 19px;
	float: left;
}

#fields p.help.toggle a {
	color: #808080;
}

#fields .fixed {
	position: fixed;
	top: 20px;
}
