@import "../mixins.less";

html
{
	height: 100%;
	box-sizing: border-box;
	font-size: 0.9em;
	padding: 0;
	margin: 0;
}

body
{
	font-family: 'Pt Sans', sans-serif;
	height: 100%;
	padding: 0;
	margin: 0;
}

#site-container
{
	min-height: 100%;
	position: relative;
}

.main-container
{
	padding-bottom: 50px;
}

footer
{
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 10px 5px;
	background-color: #496348;
	color: #fff;


	.copyright
	{
		display: inline-block;
		line-height: 28px;

		a
		{
			color: #fff;
		}
	}

	.social
	{
		display: inline-block;
		float: right;

		a > span
		{
			display: inline-block;
			width: 24px;
			height: 24px;
			margin-left: 20px;

			&.fb
			{
				.hires2('/img/bot/ico-footer-fb');
			}

			&.twitter
			{
				.hires2('/img/bot/ico-footer-tw');
			}
		}
	}
}

.container
{
	margin: auto;
	max-width: 940px;
}

h1
{
	font-size: 2.3em;

	@media only screen and (max-height: 900px)
	{
		font-size: 2em;
		margin: 5px auto;
	}
}

h2
{
	font-size: 1.8em;
}

h3
{
	font-size: 1.5em;
	font-weight: normal;
}

.validation-summary-errors ul
{
	list-style: none;
	padding-left: 0;

	li
	{
		background-color: #f78d7e;
		padding: .3em;
	}
}

.clear
{
	clear: both;
}

.user-info
{
	position: absolute;
	right: 0;
	top: 0;
	padding: 5px 10px;
	font-size: 0.9em;
}


header
{
	h1
	{
		text-align: center;
	}
}

.loading
{
	background: url('/img/bot/cube.gif') no-repeat center center;
}

table
{
	border-spacing: 0;

	th, td
	{
		border-collapse: collapse;
	}
}

.privacy
{
	padding: 10px;
}

.build-version
{
	font-size: 9pt;
	position: fixed;
	top: 0;
	left: 5px;
	z-index: 1000;
}

.yodatai-btn
{
	text-decoration: none;
	color: #fff;
	background-color: @yodatai-green-btn;
	border-radius: 3px;
	padding: 5px 15px;
	display: inline-block;
	border: none;
	cursor: pointer;
	font-family: @yodatai-font-family;
	font-size: 13.5px;
	-webkit-appearance: none;

	&:active
	{
		background-color: fade(@yodatai-green-btn, 90%);
	}

	&:hover
	{
		background-color: fade(@yodatai-green-btn, 80%);

		&.loading
		{
			background-color: @yodatai-green-btn;
		}
	}

	&.loading
	{
		background-image: url('/img/bot/ring.gif');
		background-position: 5px center;
		background-repeat: no-repeat;
	}

	&.disabled
	{
		background-color: gray;
	}

	&.big
	{
		font-size: 1.3em;
		font-weight: bold;
		display: inline-block;
		padding: 15px 45px;
	}

	&.small
	{
		padding: 2px 10px;
	}
}

@input-border-color: #bddcbd;

input[type=text], select
{
	font-family: @yodatai-font-family;
	border: 1px solid @input-border-color;
	border-radius: 3px;
}

input[type=text]
{
	padding: 5px;
}

.channel-ico
{
	width: 32px;
	height: 32px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;

	&.slack
	{
		.hires2('/img/bot/btn-m-slack')
	}

	&.facebook
	{
		.hires2('/img/bot/btn-m-fb')
	}

	&.skype
	{
		.hires2('/img/bot/btn-m-skype')
	}
}
