@import '../default.less';
@import '../mixins.less';
//DON'T ADD IMPORTS, ABOVE ARE TO MAKE INTELLISENSE WORK

div#sys-sections li.selected
{
	background-color: @accent-color !important;
}

div#sys-content
{
	border-color: @accent-color;
}

div.tab-security h3
{
	color: #70AA00;
	margin: 2em 0 0 0;
}

input#SearchExamples, input#SearchIndexedFields
{
	width: 700px;
}

#community-search-settings-sources
{
	#PreferredSource
	{
		width: 695px;
		display: none;
	}

	div.chzn-container
	{
		font-family: Arial;
		font-size: 11pt;
		max-width: 720px;
	}

	div.chzn-single
	{
		padding-top: 3px;
		padding-bottom: 3px;
	}
}

input#Id,
input#Title,
input#Theme,
input#Url,
input#ContactEmail,
input#GoogleAnalyticsId,
input#HomeDashboard
{
	width: 495px;
}

input#Subject,
input#Sender
{
	width: 475px;
}

input#AllowedNetworks, input#ContentRoles
{
	width: 340px;
}

select#Default
{
	height: 24px;
}

textarea#PrivateKey
{
	width: 500px;
	height: 150px;
	display: inline-block;
	margin-bottom: 1.5em;
}

div#idp-metadata-edit-dialog,
div#community-metadata-dialog
{
	display: none;
}

div.granted-people
{
	overflow: auto;

	ul
	{
		margin-top: 0;
		padding: 0;
		overflow: auto;

		li
		{
			list-style-type: none;
			height: 50px;
			width: 160px;
			display: inline;
			float: left;
			padding: 20px;
			border: none;
			padding-left: 0;
			cursor: pointer;

			&.friend div
			{
				display: inline;
				float: left;
				width: 50px;
				height: 50px;
				margin-right: 10px;
			}

			input
			{
				margin: 2px;
				display: none;
			}
		}
	}
}

div.overlay-tab-panel
{
	#AuthCookiePeriod
	{
		width: 50px;
	}

	.form-group
	{
		margin-bottom: 10px;

		select
		{
			display: block;
		}
	}

	&.tab-theme
	{
		form
		{
			display: inline;
		}

		div#applied-theme
		{
			background-color: rgb(255, 241, 168);
			padding: 5px;
			margin-bottom: 10px;
			font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
			font-size: 13px;

			span
			{
				cursor: pointer;
				text-decoration: underline;
				float: right;
				font-size: 13px;
				margin-right: 10px;
			}
		}

		div.section
		{
			margin-bottom: 15px;

			div.settings
			{
				margin-left: 20px;

				&.inline
				{
					display: inline-block;
				}

				&.block
				{
					display: block;
					margin-top: 10px;

					#header-background, #title-background
					{
						margin-top: 5px;
					}
				}

				label
				{
					font-weight: normal;
					font-size: 10pt;
					margin-right: 5px;

					&.color-label
					{
						float: left;

						html[dir='rtl'] &
						{
							float: right;
							.margin-left-right(5px, 0);
						}
					}
				}

				.colorpicker-root-tag
				{
					float: right;

					html[dir='rtl'] &
					{
						float: left;
					}

					.colorpicker-color-block
					{
						margin-top: 0;
						margin-left: 0;
						margin-right: 0;
					}
				}

				div.preview
				{
					border: 1px dotted gray;
					padding: 2px;
					margin: 5px 0;
					width: 250px;
					height: 30px;

					div
					{
						width: 250px;
						height: 30px;
						background-color: #E6E6E6;
						background-repeat: no-repeat;
					}
				}

				img.preview
				{
					max-width: 200px;
					max-height: 50px;
					background-repeat: no-repeat;
				}

				input[name$=HeaderText]
				{
					width: 250px;
					padding: 5px 0 5px 5px;
				}
			}

			span.hint
			{
				font-size: 8pt;
			}
		}

		input#upload
		{
			visibility: hidden;
			position: absolute;
			top: 0;
			left: -5000px;
		}

		h2
		{
			margin: 5px 0 20px 0;

			a
			{
				color: @accent-color;
				font: 14pt Trebuchet MS;
				text-decoration: none;

				&.active
				{
					border-bottom: 2px solid @accent-color;
				}
			}

			span
			{
				color: @accent-color;
			}

			form
			{
				float: right;

				span
				{
					font-size: 10pt;
					border-bottom: 1px solid @accent-color;
					cursor: pointer;
				}
			}
		}

		div#watermark-customization
		{
			margin: 1em 0;

			label
			{
				display: block;
				width: 150px;
			}

			input
			{
				width: 300px;
				display: block;
				margin-bottom: 1em;
			}

			textarea
			{
				width: 600px;
				height: 150px;
				border: 1px solid #CCC;
				display: block;
			}

			span
			{
				font-style: italic;
				font-size: .9em;
				color: @text-color;
			}
		}

		div.error
		{
			color: red;
			margin-top: 10px;
		}
	}

	&.tab-saml
	{
		div.tab
		{
			margin-bottom: 1.5em;
		}

		input[type=text]
		{
			display: block;
			width: 20em;
		}

		a#password-policy
		{
			margin-bottom: 8px;
		}
	}

	&.tab-password-policy
	{
		h1
		{
			font: bold 15pt @title-font;
			margin-top: 8px;
		}

		#MinimumPasswordLength
		{
			width: 170px;
		}

		#MinimumPasswordAge,
		#MaximumPasswordAge,
		#EnforcePasswordHistory,
		#AccountLockoutThreshold
		{
			width: 50px;
		}

		#AccountLockoutDuration
		{
			width: 190px;
		}

		span.field-validation-error
		{
			display: block;
			margin-bottom: 10px;
		}

		div.policy-group
		{
			display: table;

			div.row
			{
				display: table-row;

				div.cell
				{
					display: table-cell;
					padding-right: 10px;

					html[dir='rtl'] &
					{
						.padding-left-right(10px, 0);
					}
				}
			}
		}

		div.base-policy
		{
			margin-top: 15px;
		}

		div.complexity-requirements
		{
			margin-top: 8px;

			h2
			{
				font: bold 13pt @title-font;
			}

			div.policy
			{
				margin-top: 10px;
				margin-left: 15px;

				html[dir='rtl'] &
				{
					.margin-left-right(0, 15px);
				}
			}
		}

		div.account-lockout-policies
		{
			margin-top: 15px;
			margin-bottom: 5px;

			h2
			{
				display: inline-block;

				label
				{
					font-family: @title-font;
					font-size: 13pt;
					font-weight: bold;
					color: #222222;
					display: inline-block;
				}
			}
		}

		button#save
		{
			margin-top: 10px;
		}
	}

	&.tab-payments
	{
		form.inline
		{
			display: inline;
		}

		#PaymentsEnabled
		{
			margin-top: 25px;
		}

		input#upload
		{
			visibility: hidden;
			position: absolute;
			top: 0;
			left: -5000px;
		}

		input.single-line
		{
			display: block;
			width: 400px;
		}

		h3.individual
		{
			margin: 0 0 20px 0;
		}

		h3.business
		{
			margin: 30px 0 20px 0;
		}

		.tab
		{
			color: #1a3c58;
			display: inline-block;
			.margin-left-right(0, 10px);
			margin-top: 15px;
			margin-bottom: 15px;
			text-decoration: none;
			font-size: 16px;
			font-weight: bold;

			html[dir='rtl'] &
			{
				.margin-left-right(10px, 0);
			}

			&.active
			{
				border-bottom: 2px solid #447399;
				margin-bottom: 13px;
			}
		}

		.tab-content
		{
			overflow: auto;
			display: none;

			#add-plan
			{
				padding: 5px 10px;
				margin: 10px 0 15px 0;
			}

			&.active
			{
				display: block;
			}
		}
	}
}

.add-plan-dialog
{
	h3
	{
		margin-top: 0;
	}

	hr
	{
		clear: both;

		&.bottom
		{
			margin-top: 10px;
		}
	}

	label
	{
		font: bold 14px @title-font;
		display: inline-block;
		width: 250px;
		margin-bottom: 10px;
		float: left;

		html[dir='rtl'] &
		{
			float: right;
		}

		&.roles,
		&.duration
		{
			float: right;

			html[dir='rtl'] &
			{
				float: left;
			}

			&.bottom
			{
				margin-bottom: 20px;
			}
		}

		&.duration
		{
			.margin-left-right(0, 10px);

			html[dir='rtl'] &
			{
				.margin-left-right(10px, 0);
			}
		}

		&.block
		{
			display: block;
			overflow: auto;
			padding-top: 5px;
			float: none;

			&.fix
			{
				padding-top: 0;
				margin-bottom: 10px;
			}
		}

		&.price
		{
			width: 330px;

			input
			{
				.margin-left-right(0, 10px);

				html[dir='rtl'] &
				{
					.margin-left-right(10px, 0);
				}
			}

			.error
			{
				float: right;

				html[dir='rtl'] &
				{
					float: left;
				}
			}
		}

		.error
		{
			color: red;
			font-size: 10px;
			font-family: sans-serif;
			font-weight: normal;
			font-style: italic;
			visibility: hidden;

			&.visible
			{
				visibility: visible;
			}
		}
	}

	input[type=text]
	{
		display: block;
		font: bold 14px @title-font;
		padding: 4px 5px;
		width: 180px;

		&.one-line
		{
			width: 80px;
			display: inline-block;
			float: right;
			margin-top: -5px;

			html[dir='rtl'] &
			{
				float: left;
			}
		}
	}

	select
	{
		display: block;
		height: 150px;
	}
}

div.form input[type="submit"].themed-button, .themed-button
{
	font-size: 9pt;
	color: white;
	background-color: @accent-color;
	border: 0;
	padding: 4px 12px;
	width: auto;
	height: auto;
	text-decoration: none;

	&:visited
	{
		color: white;
	}
}

.application-row, .resource-row
{
	margin: 10px 0;
	padding: 10px 0;
	border-bottom: 1px dotted silver;

	.left-pane
	{
		float: left;
		width: 210px;

		.thumbnail
		{
			height: 110px;
			width: 180px;
			border: solid 1px silver;
			margin: 0 0 8px 13px;
			background-repeat: no-repeat;
			background-position: 50%;
		}

		.action
		{
			height: 15px;
			line-height: 15px;
			text-align: center;
			margin-bottom: 5px;
		}
	}

	.right-pane
	{
		margin-left: 10px;

		.name, div.name span
		{
			font-size: 15px;
			font-weight: bold;
			height: 15px;
			line-height: 15px;
			font-family: inherit;
			color: inherit;
		}

		.description
		{
			font-size: 12px;
			line-height: 14px;
			overflow: hidden;
			margin: 5px 0 10px 0;
		}

		.description.requested-mark
		{
			color: red;
		}

		.ui-icon-closethick
		{
			float: right;
			cursor: pointer;
			opacity: 0.5;
		}


		.add-item-options
		{
			font: inherit 11pt bold;
			color: #666666;
			margin-bottom : 10px;

			.add-item-url
			{
				margin-top: 5px;
			}

			.item-url
			{
				margin-top: 5px;
				width: 222px;
			}

			.tab-name
			{
				width: 191px;
			}

			.item-id
			{
				width: 192px;
			}
		}

		.tab-name, .item-id, .item-url
		{
			width: 192px;
			font-family: @title-font;
			font-size : 14px;
		}

		.validation
		{
			position: absolute;
			font: @title-font 14px normal;
			margin-left : 10px;
			&.valid
			{
				color: green;
			}

			&.invalid
			{
				color: red;
			}
		}

		.set-button
		{
			height: 13px;
			display: inline-block;
		}
	}

	ul
	{
		margin: 0;
	}
}

div#lang
{
	div
	{
		margin-bottom: 20px;

		select
		{
			margin-top: 5px;
		}
	}

	ul
	{
		margin: 10px 0 0 0;
		padding: 0;

		li
		{
			list-style: none;
			padding: 3px;

			label
			{
				.text();
				font-weight: normal;
				display: inline;
			}
		}
	}

	a.ui-button
	{
		padding: 4px 8px;
	}
}

div#upload-theme
{
	margin-bottom: 20px;
}

div.trial-expired
{
	font-family: @title-font;

	.img.no-fuel
	{
		display: inline-block;
		width: 122px;
		height: 120px;
		background-image: url("/img/community/v2/icon_nofuel.png");
		float: left;
		margin: 0 30px;
	}

	.text-block
	{
		margin-left: 182px;

		p
		{
			font-size: 1.5em;

			&.comment
			{
				font-size: 1.2em;
				color: gray;
			}
		}

		a#contact-us, input[type=submit]
		{
			background-color: #0077ca;
			padding: 5px 10px;
			text-decoration: none;
			text-align: center;
			margin: 10px auto;
			display: inline-block;
			width: 160px;
			color: white;
			font-size: 1.2em;
			font-weight: bold;
			line-height: 20px;
			border: none;
			font-family: @title-font;
		}
	}
}

div#datasetContainer
{
	min-height: 392px;
	position: relative;

	div.dsbrowser-datasets
	{
		top: 0px !important;
		margin: 0 11px 0 -10px; 

		html[dir='rtl'] &
		{
			margin: 0 -10px 0 11px; 
		}

		&.message
		{
			font-family: @text-font;
			top: 170px !important;
			text-align: center;
			font-size: 17px;
		}


		div.dataset-results
		{
			margin-left: -8px;
			margin-top: -39px;

			div.dataset-result-item
			{
				padding-left: 9px !important;
			}

			div.source, div.owner, div.last-accessed-on, div.publication-date, div.dataset-list-custom-field
			{
				span
				{
					color: #1A3C58 !important;
					font: bold 9pt @text-font !important;
				}
			}
		}

		div.filter-textarea
		{
			left: 9px;
			bottom: 8px;
			margin-right: 10px;
			html[dir='rtl'] &
			{
				right: 9px;
			}
		}
	}
}

.add-button {
	margin-bottom: 10px;
	width: auto;
	background-color: @accent-color;
	vertical-align: middle;
	color: white;
	padding: 4px 12px;
	display: block;
	height: auto;
	float: left;
	cursor: pointer;

	&:hover 
	{
		color: white;
	}

	html[dir='rtl'] &
	{
		float: right;
		margin-right: 10px;
	}
}

.hide 
{
	display: none;
}

div#ds-selection-tabs {

	ul.parent-selection {
		padding-left: 0px;
		display: inline-block;
		margin-top: 0px;
		html[dir='rtl'] &
		{
			padding-right: 0px;
		}

		li {
			display: inline;
			font: bold 12pt @text-font;
			margin-right: 10px;
			cursor: pointer;

			&.active 
			{
				border-bottom: 2px solid @accent-color;
			}

			html[dir='rtl'] &
			{
				margin-left: 10px;
			}
		}
	}
}

#custom-routing
{
	.buttons
	{
		margin: 10px 15px 10px 0;
		display: inline-block;

		html[dir='rtl'] &
		{
			.margin-left-right(15px, 0);
		}
	}

	#message
	{
		display: inline-block;
	}
}

div#metaDataFieldsContainer
{
	margin-bottom: 20px;

	ul
	{
		margin: 0;
		padding: 0;

		li
		{
			list-style: none;
			padding: 3px;

			label
			{
				.text();
				font-weight: normal;
				display: inline;
			}
		}
	}
}

a.requested.ui-button
{
	background-color: #929292;
	cursor: default;
}

.billing-settings
{
	#charge-code-container
	{
		position: relative;
	}

	.wholeline
	{
		margin-top: 10px;
	}

	#ChargeCodeTemplate
	{
		width: 495px;
	}

	#disclaimer-container
	{
		width: 509px;
		padding: 2px;
		font-size: 16px;
		.mce-tinymce
		{
			padding-bottom: 1px;
		}
	}

	#disclaimer-editor
	{
		height: 200px;
		width: 486px;
	}

	.error-message
	{
		display: block;
		font-size: 12px;
		color: #C13A3F;
	}
}

#billing-log-dialog
{
	display: none;

	.error-message
	{
		display: block;
		font-size: 12px;
		color: #C13A3F;
	}
}

.menu-tab
{
	display: inline-block;
	margin-bottom: 10px;
	margin-right: 10px;

	a
	{
		font: bold 12pt @title-font;
		text-decoration: none;
	}

	&.active
	{
		margin-bottom: 8px;
		border-bottom: 2px solid @accent-color;
	}
}

#search-parameters
{
	margin-bottom: 1em;

	#reset-search-training-parameters
	{
		margin-top: -16px;
		margin-bottom: 16px;
	}
}
