*
{
	border: 0;
	padding: 0;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 18px;
}

html
{
	min-height: 100%;
	min-width: 100%;
}

body
{
	min-height: 100%;
	min-width: 100%;
}

body.main
{
	background-image: url('/assets/vhs.jpg');
	background-repeat: repeat;
	background-size: 512px 892px;
}

body.videos,
body.video
{
	background-image: url('/assets/video_background.jpg');
	background-repeat: repeat;
	background-size: 100% 100%;
}


.main
{
	padding: 30px 0 30px 0;
}

.videos .title-box,
.video .title-box
{
	width: 1090px;
	margin-bottom: -10px;
	margin-top: 40px;
}

.title-box
{
	width: 520px;
	height: 220px;
	margin: auto;
	margin-top: 30px;
	border: solid 10px white;
	border-radius: 12px;
	background-image: url('/assets/villamok_tile.png');
}

.title
{
	display: block;
	width: 340px;
	margin: auto;
}

.box
{
	width: 520px;
	margin-top: 30px;
	border: solid 10px white;
	border-radius: 12px;
	overflow: hidden;
	background-color: #fff;
}

.padding
{
	padding: 40px 20px 0 20px;
	height: 180px;
	vertical-align: middle;
}

.box.center
{
	width: 1030px;
	margin: 30px 0 20px 80px;
	padding: 30px;
	text-align: center;
}

.left
{
	float: left;
	margin-left: 80px;
}

.right
{
	float: left;
	margin-left: 30px;
}

button.pure-button-primary
{
	font-weight: 500;
	border-radius: 10px;
	background-color: #00A3DA;
}

.box h2
{
	padding: 10px 0 10px 20px;
	font-size: 26px;
	font-weight: 500;
	color: #fff;
	background-color: #00A3DA;
}

.clear
{
	clear: both;
}

.link-container
{
	margin: auto;
	padding: 10px;
	margin-top: 20px;
	margin-bottom: 20px;
	border-radius: 8px;
	width: 182px;
	text-align: center;
	background-color: #00A3DA;
}

.link-container a,
.link-container a:visited
{
	color: #fff;
	font-weight: 500;
}

.successful-registration
{
	height: 130px;
	padding-top: 60px;
	text-align: center;
	font-size: 42px;
	font-weight: 500px;
}

a,
a:visited
{
	text-decoration: none;
	color: #00A3DA;
}

.page
{
	width: 1268px;
	margin: 0 auto;
	overflow: hidden;
}

div.error
{
	text-align: center;
	font-size: 20px;
	margin: 20px;
	color: red;
}

div.button-container
{
	text-align: center;
	margin: 20px;
}

form label
{
	font-weight: 500;
}

.videos-padding
{
	padding: 6px;
	text-align: center;
}

a.logout
{
	float: right;
	margin: 10px 80px 0 0;
	color: #fff;
	font-weight: 500;
}

table td:nth-child(1)
{
	width: 114px;
}

table td:nth-child(2)
{
	width: 226px;
}

table td:nth-child(4)
{
	width: 104px;
}

div.player-container
{
	width: 560px;
	margin: auto;
	overflow: hidden;
	border: solid 7px white;
	border-radius: 12px;
	background-color: #fff;
}

div.player-container .player
{
	background-color: #fff;
}

div.centered-container
{
	margin: 20px;
	text-align: center;
}

.table-container
{
	width: 1150px;
	margin: auto;
}

table.pure-table
{
	width: 1112px;
	margin: 20px;
	border-radius: 12px;
	overflow: hidden;
}

table.pure-table thead tr th
{
	font-weight: 500;
	background-color: #E9EAEB;
}

table.pure-table tbody tr td
{
	margin: 0;
	padding: 0;
}

table.pure-table tbody tr td .grey-cell
{
	height: 78px;
	margin: 14px 0 14px 0;
	padding-top: 39px;
	text-align: center;
	color: #000;
	background-color: #E9EAEB;
}

table.pure-table tbody tr td .grey-cell a
{
	font-weight: 500;
	font-size: 30px;
	color: #000;
}

table.pure-table tbody tr td .grey-box
{
	height: 38px;
	width: 54px;
	margin: 14px 0 14px 30px;
	padding-top: 16px;
	text-align: center;
	color: #000;
	background-color: #E9EAEB;
}

div.video-thumbnail-container
{
	width: 202px;
	height: 114px;
	margin: 14px;
	overflow: hidden;
}

div.video-thumbnail-container img
{
	width: 202px;
	height: 152px;
	margin-top: -19px;
}

table.pure-table tbody tr td:nth-child(3),
table.pure-table tbody tr td:nth-child(3) a
{
	color: #fff;
}

table.pure-table tbody tr td .link-container
{
	margin-left: 14px;
	margin-right: 0px;
}

table.pure-table tbody tr td div.green,
table.pure-table tbody tr td div.grey
{
	margin-top: -14px;
	font-size: 40px;
	font-weight: 500;
}

table.pure-table tbody tr td div.green
{
	color: green;
}

table.pure-table tbody tr td div.grey
{
	color: grey;
}

.download
{
	display: block;
	text-align: center;
	margin: auto;
	margin-top: 30px;
	margin-bottom: 30px;
}

@media screen and (max-width: 800px)
{
	body
	{
		padding: 0;
		background: white;
	}

	.main
	{
		padding: 0;
	}

	.page
	{
		width: 100%;
		box-shadow: none;
	}

	.title-box
	{
		width: 90%;
		margin: auto;
	}

	.left,
	.right
	{
		float: none;
		margin: 20px auto;
	}

	.box
	{
		width: 90%;
	}

	.box.center
	{
		width: 90%;
		margin: 20px auto;
		padding: 0;
	}

	.videos .title-box,
	.video .title-box
	{
		width: 90%;
		margin-bottom: -10px;
		margin-top: 40px;
	}

	.videos .left,
	.video .left
	{
		margin-top: 30px;
	}

	.videos .right,
	.video .right
	{
		margin-bottom: 0;
	}

	.table-container
	{
		width: 94%;
		padding: 0;
		margin: 0;
		margin: auto;
	}

	.table-container table.pure-table
	{
		width: 100%;
		margin-left: 0px;
		margin-right: 0px;
	}

	.padding,
	.mobile-padding
	{
		padding: 20px 20px 20px 20px;
		height: auto;
	}

	div.video-thumbnail-container
	{
		width: 101px;
		height: 57px;
		margin: 7px 7px 7px 0;
		overflow: hidden;
	}

	div.video-thumbnail-container img
	{
		width: 101px;
		height: 76px;
		margin-top: -10px;
	}

	table.pure-table th:nth-child(1),
	table.pure-table td:nth-child(1)
	{
		display: none;
	}

	table.pure-table td,
	table.pure-table th
	{
		padding: 10px;
	}

	table.pure-table td:nth-child(2)
	{
		width: 113px;
	}

	table.pure-table td:nth-child(3)
	{
		padding-top: 6px;
		padding-bottom: 6px;
	}

	table.pure-table td:nth-child(4)
	{
		width: 44px;
	}

	table.pure-table tbody tr td .grey-cell
	{
		height: 56px;
		margin: 14px 0 14px 0;
		padding-top: 26px;
	}

	table.pure-table tbody tr td .link-container
	{
		width: 81px;
		margin-left: 0;
	}

	div.player-container
	{
		width: 92%;
	}

	table.pure-table tbody tr td .grey-box
	{
		height: 38px;
		width: 54px;
		margin: 14px 0 14px 44px;
	}

	a.logout
	{
		margin: 10px 20px 0 0;
	}
}

@media screen and (max-width: 482px)
{
	.pure-control-group
	{
		width: 220px;
		margin: auto;
	}

	.pure-control-group input
	{
		width: 220px;
	}
}
