/* @override 
	http://localhost:8888/support/vilyr14.css */

@import url(http://fonts.googleapis.com/css?family=Raleway:400,500,700);

body {
	font-family: Raleway, Geneva, sans-serif;
	padding: 0;
	margin: 0;
	font-size: 18px;
}

/* @group Splash Screen */

#splash {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	color: white;
	position: relative;
	-webkit-font-smoothing: antialiased;
	height: 500px;
	/*margin: 20px;*/
}

#splash-dimmer {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background-color: rgba(89, 77, 38, 0.5);
	transition: background-color 1s ease;
}

nav {
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav ul {
	list-style-type: none;
	text-align: center;
	padding: 0;
}

nav ul li {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	padding-left: 0.2em;
	color: white;
	font-size: 0.8em;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

nav a:hover {
	font-weight: 700;
}

header {
	padding: 4% 5% 5%;
}

#logo {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

header h1 {
	font-weight: 500;
	text-align: center;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	padding-left: 0.2em;
	margin-bottom: 0.5em;
}

header h3 {
	text-align: center;
	font-weight: 500;
	font-size: 0.6em;
	text-transform: uppercase;
	letter-spacing: 0.5em;
	padding-left: 0.5em;
	margin-top: 0;
}

#page-titles {
	position: absolute;
	bottom: 0;
	padding: 7%;
	text-align: center;
	right: 0;
	left: 0;
}

#page-titles h1 {
	text-transform: uppercase;
	margin-bottom: 0;
	font-size: 2.5em;
	font-weight: 600;
}

#page-titles h2 {
	font-weight: 400;
	margin-top: 0;
}

#page-titles a {
	color: inherit;
}

#scroll-wrapper {
	position: absolute;
	text-align: center;
	right: 0;
	left: 0;
	bottom: 0;
	padding-bottom: 2%;
}

/* @end */

/* @group General Section Style */

section {
	padding-left: 5%;
	padding-right: 5%;
}

section.text {
	width: 70%;
	margin-right: auto;
	margin-left: auto;
	padding-top: 5%;
	padding-bottom: 5%;
}

article p, .image-text-block {
	color: #555;
	line-height: 1.3em;
}

p.intro {
	font-size: 1.2em;
}

article ul {
	color: #555;
	font-size: 1em;
	list-style-type: square;
}

article ul li {
	margin-bottom: 0.5em;
}

article h1 {
	font-size: 1.8em;
	font-weight: 500;
	margin-top: 0;
}

article h2 {
	font-size: 1.3em;
	font-weight: 500;
}

.centre {
	text-align: center;
}

a {
	color: #555;
}


.big-button {
	border: 1px solid;
	text-align: center;
	display: inline-block;
	padding: 0.5em 0.7em;
	font-size: 1.2em;
	text-decoration: none;
	color: #e6af55;
	border-radius: 5px;
}

.big-button:hover {
	color: #ce8712;
}

.image-text-block {
	overflow: hidden;
	background-color: #eee;
	margin-bottom: 2.5%;
}

.red {
	background-color: #df552a;
	color: white;
}

.green {
	background-color: #97c765;
	color: white;
}

.blue {
	background-color: #00b2d1;
	color: white;
}

.colour .big-button:hover {
	color: white;
	background-color: rgba(255,255,255,0.3);
}

.colour a {
	color: white;
}

.number {
	display: inline-block;
	width: 30%;
	vertical-align: top;
	padding-top: 5%;
	padding-bottom: 5%;
}

.number .big {
	font-size: 5em;
	display: block;
}

.number .small {
	display: inline-block;
	vertical-align: bottom;
	font-size: 1.2em;
	height: 2em;
	margin-top: 0.5em;
}

.image-text-block img {
	display: block;
	width: 30%;
}

.image-text-block div {
	display: block;
	width: 60%;
	padding: 5%;
}

.image-text-block .left {
	float: left;
}

.image-text-block .right {
	float: right;
}

.colour {
	padding: 5%;
}

.colour h1 {
	font-size: 2em;
	font-weight: 500;
	margin: 0.5em;
	margin-top: 0;
}

.colour h2 {
	font-size: 1.3em;
	font-weight: 400;
	margin: 0.5em;
}

section.images {
	padding: 0;
}

section.images img {
	max-width: 100%;
	display: block;
	margin-top: 5%;
	margin-bottom: 5%;
}

section.images img:first-of-type {
	margin-top: 0;
}

section.images img:last-of-type {
	margin-bottom: 0;
}

/* @end */

/* @group Table Styles */

table {
	width: 100%;
}

table td {
	border-top: 1px solid #ddd;
	font-size: 1em;
	color: #555;
	padding-top: 1em;
	padding-bottom: 1em;
}

table tr td:first-of-type {
	padding-right: 0.5em;
}

table tr:last-of-type td {
	border-bottom: 1px solid #ddd;
}

table h2 {
	font-weight: 500;
	font-size: 1.3em;
	margin-bottom: 0.25em;
	margin-top: 0;
}

table td span {
	display: block;
	margin-top: 0.3em;
	color: #888;
}

table#prices tr td:last-of-type {
	width: 70px;
	text-align: right;
	font-size: 1.3em;
	font-weight: 500;
} 

/* @end */

/* @group Events */

#events-table {
	color: #555;
}

#events .year-label {
	font-size: 1.5em;
	margin-bottom: 0.5em;
	color: silver;
}



#events-table .event-date-container {
	width: 80px;
	text-align: center;
	border-top: 1px solid #ddd;
}

#events-table tr:last-of-type .event-date-container {
	border-bottom: 1px solid #ddd;
}

#events-table .event-date {
	font-size: 1.5em;
	color: #df552a;
	margin-top: 0;
}

#events-table .event-time {
	color: white;
	color: #df552a;
}

#events-table p, #events-table h2 {
	margin: 0;
}

#events-table p {
	margin-top: 0.3em;
}

/*#events-table tr.next h2:after {
	content: "Tulossa";
	text-transform: uppercase;
	font-size: 0.5em;
	margin-left: 0.8em;
	background-color: silver;
	color: white;
	padding: 0.3em 0.5em;
	vertical-align: 35%;
}*/

#events-table tr.past {
	opacity: 0.5;
}

#events-table tr.next .event-date-container {
	color: white;
	background-color: #df552a;
}

#events-table tr.next .event-date-container .event-date, #events-table tr.next .event-date-container .event-time {
	color: white;
} 



/* @end */

/* @group Contacts */

#google-frame {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 5% 5% 130px;
}

.person {
	border-top: 1px solid #ddd;
	position: relative;
	padding-top: 1.5em;
	padding-bottom: 1.5em;
	overflow: hidden;
	color: #555;
}

.person img {
	border-radius: 50%;
	width: 60px;
	float: left;
	margin-right: 1.5em;
	transition: transform 0.3s ease;
}

.person img:hover {
	transform: scale(2.5);
	z-index: 10;
}

.person:last-of-type {
	border-bottom: 1px solid #ddd;
}

.person h2 {
	font-weight: 500;
	margin-bottom: 0;
	font-size: 1.5em;
	margin-top: 0;
}

.person h3 {
	font-weight: 400;
	font-size: 1em;
	margin-bottom: 0;
	margin-top: 0.3em;
}

.person h4 {
	font-weight: 400;
	font-size: 2.7em;
	color: silver;
	margin: 0;
	position: absolute;
	right: 0;
	top: 0.5em;
}


/* @end */

/* @group Media Queries for Smaller Displays */

@media only screen and (max-width: 850px) {

	
	.person h4 {
		font-size: 2em;
	}

}

@media only screen and (max-width: 770px) {

	
	.person h4 {
		position: static;
		font-size: 1.5em;
		font-weight: 500;
	}
	
	.number .big {
		font-size: 3em;
	}
	
	.number .small {
		font-size: 1em;
	}

}

@media only screen and (max-width: 500px) {

	body {
		font-size: 14px;
	}
	
	section.text {
		width: auto;
		margin-left: 5%;
		margin-right: 5%;
	}
	

}

/* @end */