﻿@import '../default.less';
@import '../mixins.less';
//DON'T ADD IMPORTS, ABOVE ARE TO MAKE INTELLISENSE WORK

div.grid-view
{
	display: block;

	.half > div
	{
		width: 425px;
		float: left;
		margin-left: 53px;
		padding: 0px;

		&:first-child
		{
			margin-left: 0px;
			width: 430px;
		}
	}


	h1
	{
		font-size: 120%;
		margin-top: 0px;
		margin-bottom: 0px;

		a
		{
			text-decoration: none;
		}
	}

	div.scroller
	{
		display: none;
		width: 80px;
		margin-top: -20px;
		float: right;
		text-align: center;
		position: relative;

		img
		{
			cursor: pointer;

			&.left
			{
				float: left;
			}

			&.right
			{
				float: right;
			}
		}

		span
		{
			top: -2px;
			left: 10px;
			position: absolute;
			width: 60px;
			text-align: center;
		}
	}

	div.scrollable
	{
		overflow: hidden;
		width: 915px;
		padding-left: 15px;
		margin-left: -15px;
		height: 178px;

		html[dir='rtl'] &
		{
			padding-left: 0;
			padding-right: 15px;
			margin-left: 0;
			margin-right: -15px;
		}
	}

	li a
	{
		color: Black;
		font: 10pt @title-font;
		text-decoration: none;
	}

	ul
	{
		margin-bottom: 0px;
		padding: 0px;
		position: relative;

		html[dir='rtl'] &
		{
			padding: 0px;
		}

		li
		{
			display: inline-block;
			position: relative;
			margin-left: 50px;
			vertical-align: top;
			padding-bottom: 15px;

			&:first-child
			{
				margin-left: 0px;
			}

			html[dir='rtl'] &
			{
				margin-left: 0;
				margin-right: 50px;

				&:first-child
				{
					margin-right: 0px;
					margin-left: 0;
				}
			}

			&.first
			{
				margin-left: 0px !important;
			}

			> a
			{
				display: table-cell;
				vertical-align: middle;
				width: 180px;
				height: 110px;
				border: 1px solid #c0c0c0;
				text-align: center;
				background-color: #eeeeee;
			}

			> a[href]
			{
				background-color: #ffffff;
				background-image: url(/img/v2/shared/page.png);
				background-repeat: no-repeat;
				background-position: center;
			}

			&:hover > a[href]
			{
				box-shadow: 0px 0px 10px 3px #eaeaea;
			}

			> a.page
			{
				background-image: url(/img/v2/shared/page.png);
			}

			> a.dataset
			{
				background-image: url(/img/v2/shared/dataset.png);
			}

			> a.presentation
			{
				background-image: url(/img/v2/shared/presentation.png);
			}

			> a.geoplayground
			{
				position: relative;

				&::after
				{
					content: "";
					width: 28px;
					height: 32px;
					.hires('/Img/geoplayground/markers/green_point');
					background-repeat: no-repeat;
					position: absolute;
					right: 5px;
					bottom: 5px;

					html[dir='rtl'] &
					{
						left: 5px;
						right: auto;
					}
				}
			}

			> a div
			{
				width: 180px;
				height: 110px;
				background-repeat: no-repeat;
			}

			span
			{
				width: 180px;
				height: 53px;
				display: block;
				text-align: center;
				overflow: hidden;
			}
		}
	}
}

.documents#home-content
{
	min-height: 600px;

	&.empty
	{
		border: 2px dashed #c8c8c8;
	}
}