﻿@import '../default.less';
@import '../mixins.less';
//DON'T ADD IMPORTS, ABOVE ARE TO MAKE INTELLISENSE WORK

div.home
{
	select#IndicatorKey
	{
		width: 635px;
		font: 10pt @text-font;
	}

	div.left-part
	{
		float: left;
		width: 70%;

		div.visualization
		{
			margin-top: 5px;
			position: relative;
			height: 394px;
			width: 100%;

			div.map-div
			{
				height: inherit;
				overflow: hidden;
			}
		}
	}

	div.regions
	{
		div.filter-textarea
		{
			margin: 10px 0;
			white-space: nowrap;

			input[type="text"]
			{
				width: 100%;
				font: 10.5pt @text-font;
			}
		}
	}

	div.right-part
	{
		float: left;
		width: 30%;

		div.last-submission
		{
			margin-bottom: 5px;
			margin-left: 15px;
			padding: 5px 10px;
			background-color: #F0F0F0;
			font-family: @text-font;
			font-size: 10pt;
			color: black;
			text-align: justify;

			a
			{
				color: @accent-color;
				text-decoration: underline;

				&:hover
				{
					text-decoration: none;
				}
			}

			div.last-submission-bottom
			{
				margin-top: 5px;

				div.user
				{
					color: gray;
					float: left;
				}

				div.time
				{
					color: gray;
					float: right;
				}
			}
		}
	}

	h3
	{
		font: bold 11pt @title-font;
		color: @accent-color;
		margin: 0;
	}

	a.add-location
	{
		padding: 5px 10px;
		font: bold 10pt @title-font;
		border-radius: 2px;
		float: right;
		position: relative;
		top: -10px;

		html[dir='rtl'] &
		{
			float: left;
		}
	}
}

.locations
{
	div.empty
	{
		background-color: #FFED96;
		padding: 10px 5px;
		font: bold 11pt @title-font;
		margin: 0 0 20px 0;

		a
		{
			color: @accent-color;
			text-decoration: none;
			border-bottom: 1px dotted;
		}
	}

	a.region
	{
		text-decoration: none;
		color: black;
		.margin-left-right(0, 30px);

		html[dir='rtl'] &
		{
			.margin-left-right(30px, 0);
		}

		&:nth-child(4n+4)
		{
			margin-right: 0;

			html[dir='rtl'] &
			{
				margin-left: 0;
			}
		}

		div.region
		{
			margin-bottom: 20px;
			display: inline-block;
			width: 180px;
			height: 100px;
			vertical-align: top;
			border: 1px solid #eaeaea;
			box-shadow: 0px 0px 8px -1px #eaeaea;
			padding: 10px;
			position: relative;

			h2
			{
				font: bold 12.5pt @title-font;
				margin: 0 0 5px 0;
				word-break: break-all;
			}

			span
			{
				font: italic 10.5pt @title-font;
				color: gray;
				margin: 0;
			}

			div.status
			{
				position: absolute;
				bottom: 10px;

				i
				{
					color: #339900;
				}

				span
				{					
					font: bold 9.5pt @title-font;

					&.not-verified
					{
						color: red;
						text-overflow: ellipsis;
						white-space: nowrap;
						overflow: hidden;
						width: 180px;
						display: block;

						a
						{
							color: @accent-color;
						}
					}

					&.verified
					{
						color: #339900;
					}
				}
			}

			a.edit
			{
				color: @accent-color;
				text-decoration: none;
				font: bold 9.5pt @title-font;
				border-bottom: 1px dotted;
				margin-left: 5px;
			}

			div.submit
			{
				margin-top: 10px;

				a
				{
					color: white;
					background-color: @accent-color;
					padding: 5px 10px;
					text-decoration: none;
					font: bold 10pt @title-font;
					border-radius: 2px;
					display: inline-block;
				}
			}
		}
	}
}
