﻿html, body {
	height: 100%;
	margin: 0;
}

body {
	background-color: #f9fbfe;
	color: #34495E;
}

.container {
	padding: 20px 40px;
}

.fixed {
	position: fixed;
	top: 0;
	width: 100%;
}

.datepicker-container {
	display: inline-block;
	width: 150px;
	position: relative;
}

	.datepicker-container:after {
		font-family: "Font Awesome 5 Pro";
		font-weight: 400;
		content: "\f073";
		position: absolute;
		right: 8px;
		top: 8px;
	}

.hidden {
	display: none !important;
}

h1, h2, h3, h4, h5 {
	color: #094047;
}

a {
	color: #356f6f;
}

a:hover {
	color: #356f6f;
}

.btn-primary {
	background-color: #356f6f;
	color: #fff;
	border: 1px solid #356f6f;
}

	.btn-primary:hover {
		background-color: #fff;
		color: #356f6f;
		border: 1px solid #356f6f;
	}

.btn-secondary {
	color: #356f6f;
	background-color: #fff;
	border: 1px solid #356f6f;
}

	.btn-secondary:hover {
		color: #fff;
		background-color: #356f6f;
		border: 1px solid #356f6f;
	}

input {
	max-width: 250px;
}

label:not(.text-muted) {
	display: block;
	font-weight: 500;
}

#header {
	background-color: #fff;
	text-align: center;
}

	#header .col-12 {
		margin-bottom: 20px;
	}

	#header .logo {
		max-width: 100px;
	}

	#header .flags ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}

		#header .flags ul li {
			display: inline-block;
		}

@media (min-width: 768px) {
	#header {
		text-align: left;
	}

		#header .flags {
			text-align: right;
		}
}

.content-header {
	margin-bottom: 40px;
}

.content-buttons {
	margin-bottom: 40px;
}

#content {
	margin-top: 40px;
	margin-bottom: 40px;
}

	#content .container {
		position: relative;
		background-color: #fff;
	}

#Body_lomake_formData {
	/*    padding-top: 60px;*/
}

#Body_lomake_timer {
	background-color: #fff;
	padding: 20px 40px;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	font-weight: bold;
	text-align: center;
}

	#Body_lomake_timer.fixed {
		position: fixed;
		top: 0;
		width: 100%;
		text-align: center;
		-webkit-box-shadow: 2px 7px 28px -12px rgba(0, 0, 0, 0.75);
		-moz-box-shadow: 2px 7px 28px -12px rgba(0, 0, 0, 0.75);
		box-shadow: 2px 7px 28px -12px rgba(0, 0, 0, 0.75);
	}

#Body_lomake_btnRemove {
	margin-top: 20px;
}

.tapahtumalistaesine {
	margin-bottom: 40px;
}

.tapahtumalistaus .tapahtuma {
	margin-bottom: 20px;
}

.hakuehdot {
	margin-bottom: 40px;
}

.tapahtuma-yhteistyokumppanit img {
	width: 100%;
	height: auto;
}

.tapahtumalista-header {
	display: inline-block;
}

.ul-yhteistyokumppanit img {
	width: 150px;
}

.otsikolliset-yhteistyokumppanit {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
}

.mycheckbox input, .mycheckbox label, .myradio input, .myradio label {
	display: inline-block;
	margin-left: 10px;
}



.otsikolliset-yhteistyokumppanit img {
	width: 100%;
	height: auto;
	padding-top: 15px;
}

.otsikolliset-yhteistyokumppanit .yk-title {
	color: black !important;
}

.tapahtuma_kuva {
	margin-bottom: 20px;
}

	.tapahtuma_kuva img {
		width: 100%;
		height: auto;
	}

/*media queries*/
@media (min-width: 1200px) {
	.container {
		max-width: 1050px;
	}
}

@media (min-width: 768px) {
	.tapahtumakalenteri {
		padding: 40px;
	}
}

#footer {
	color: #fff;
	background: #000;
	background-image: url("../img/spek_72h_footer.jpg");
	background-position: top;
	background-size: cover;
}

	#footer h1, #footer h2, #footer h3, #footer h4, #footer h5 {
		color: #fff;
	}

.form-control, .chosen-single {
	border: 1px solid #229595 !important;
}

.chosen-drop {
	border-left: 1px solid #229595 !important;
	border-right: 1px solid #229595 !important;
	border-bottom: 1px solid #229595 !important;
}

.logoSpekContainer {
	text-align: right;
}

img.logoHuoltovarmuus {
	max-height: 140px;
}

.footerHead {
	margin-top: 30px;
}

.footerBottom {
	margin-top: 50px;
	text-align: center;
}

#footer a {
	color: white;
	text-decoration: underline;
}

#footer p {
	font-weight: 700;
}