/* 1rem = 16px */
html {
	font-size: 14px;
}

body {
	padding: 0 !important;
}

/* NAV */
.contain-to-grid {
	background: rgba(0,0,0,0.5);
}
.top-bar,
.top-bar-section ul li,
.top-bar-section ul li a {
	background: transparent !important;
}

.top-bar,
.top-bar .name {
	height: 3.5rem;
	line-height: 3.5rem;
}

.top-bar .name h1, .top-bar .name h2, .top-bar .name h3, .top-bar .name h4, .top-bar .name p, .top-bar .name span,
.top-bar-section li:not(.has-form) a:not(.button) {
	line-height: 3.5rem;
	font-size: 1.125rem;
	font-family: 'Open Sans', sans-serif;
	font-style: italic;
	font-weight: 300;	
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 1rem;
}

.has-sub-heading {
	margin-bottom: 0;
}

.sub-heading {
	margin-top: 0;
}

h2 {
	font-style: italic;
	font-weight: 700;
	font-size: 1.5rem;
}

h3 {
	font-style: italic;
	font-size: 1.25rem;
	color: #666;
}
p.tarjous {
  background: #379;
  color: #FFF;
  padding: 5px 10px;
  border: 1px solid #157;
}

.content p {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 1.25rem;
	line-height: 1.875rem;
}
.content p.small {
	font-size: 0.875rem;
	line-height: 1.5rem;
	font-weight: 400;
}

.content b {
	font-weight: 400;
}

p.black-ball {
	font-style: italic;
	font-weight: 400;
	font-size: 1rem;
	background: #333;
	border-radius: 50%;
	text-align: center;
	color: #FFF;
	text-transform: uppercase;
	margin: 0 auto;
	padding: 4rem 0rem;
	height: 220px;
	max-width: 220px;

	-ms-transform: rotate(-15deg); /* IE 9 */
    -webkit-transform: rotate(-15deg); /* Chrome, Safari, Opera */
    transform: rotate(-15deg);
}

p.extra-small {
	font-size: 0.875rem;
	margin: 0;
	text-align: center;
}

/* IMAGES */
.rounded {
	width: 100%;
	border-radius: 50%;
	max-width: 400px;
	margin: 0 auto 2rem;
	display: block;
	overflow: hidden;
}

.boxed {
	border: 10px solid #FFF;
	margin-bottom: 1rem;
}

.flex iframe {
	width: 100%;
	background: #FFF;
}

/* HERO */
.hero {
	text-align: center;
	height: 570px;
	background: radial-gradient(rgba(0,0,0,0), rgba(0,0,0,0.4)), url('../img/hero-bg.jpg') top center no-repeat;
	background-size: cover;
}
.hero-inner {
	max-width: 900px;
	padding: 9rem 1rem 0;
	margin: 0 auto;
}
.flexbox .hero-inner {
	padding-top: 0;
}
.flexbox .hero {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex; 
	display: flex;

	-webkit-box-align: center;
	-webkit-flex-align: center;
	-ms-flex-align: center;
  	-webkit-align-items: center;
	align-items: center;
	
	-webkit-box-justify: center;
  	-webkit-flex-justify: center;
  	-ms-flex-justify: center;
  	-webkit-justify-content: center;
	justify-content: center;
}
.hero img {
	margin-bottom: 1.5rem;
}
.hero h1 {
	text-transform: uppercase;
	font-size: 1.25rem;
	color: #FFF;
	font-weight: 300;
	font-style: italic;
	margin: 0 0 0.875rem;
	padding-bottom: 0.875rem;
	border-bottom: 1px solid #FFF; 
}
.hero p {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.125rem;
	font-style: italic;
	color: #FFF;
	margin: 0;
}
.hero p span {
	margin: 0 0.25rem;
}

/* CONTENT */
#quick-info {
	background: #000;
	color: #FFF;
}

#quick-info p {
	font-family: 'Open Sans', sans-serif;
	text-align: center;
	margin: 0;
	padding: 1rem;
}

#quick-info a {
	color: #e3bb2a;
}

#quick-info a:hover {
	color: #ffc800;
}

#hinnasto {
	background: #eee;
}
#hinnasto table {
	width: 100%;
}

#hinnasto table thead {
	text-transform: uppercase;
}

.content > .row {
	padding: 3rem 0;
}

.content .row.lined {
	padding: 0;
}

hr {
	border-style: dashed;
	border-color: #d9af21;
}

.link {
	margin: 0 2rem 2rem 0;
	display: inline-block;
}
.kartta {
	border: 4px solid #e3bb2a;
	display: block;
	max-width: 340px;
	margin: 0 auto 1rem;
}

.kartta:hover {
	border-color: #ffc800;
}

@media only screen and (min-width: 40.063em) {
	.flexbox .hero-inner {
		padding: 2.5rem 2rem 0;
	}
	.hero h1 {
		font-size: 1.5rem;

	}
	html {
		font-size: 16px;
	}

	.content > .row {
		padding: 5rem 0 4rem;
	}

	.content > .row.the-copyright {
		padding: 2rem 0 3rem;
	}
}