body {
	font-family: 'Lato', sans-serif;
	font-size: 1.8em;
	padding-top: 50px;
}
p {
}

a {
	text-decoration: none;
	color: #931009;
}
a:hover, a:active {
	text-decoration: underline;
	color: #e02b3e;
}


ul {
}

h1 {
	font-family: 'Marcellus SC', serif;
	color: #773a1a;
	padding-bottom: 0.5em;
	border-bottom: 2px rgba(164, 194, 45, 1) solid;
	margin-bottom: 1em;
	
}
@media screen and (max-width: 767px) {
	h1 {
		font-size: 1.7em;
	}
}

h2 {
	font-family: 'Marcellus SC', serif;
	font-weight: normal;
	color: #773a1a;
}

h3 {
	font-family: 'Marcellus SC', serif;
	font-weight: normal;
	color: #773a1a;
	margin-top: 1.5em;
}
h4 {
	font-family: 'Marcellus SC', serif;
	color: #773a1a;
	font-weight: bold;
	margin-top: 1.2em;
}

label {
	margin-top: 1em;
	margin-bottom; 1em;
}



.reverse {
    display: flex;
    flex-direction: column-reverse;
}

.raami {
	/*border: 2px rgba(164, 194, 45, 1) solid;*/
	border: 2px #fbbc23 solid;
	padding: 1em;
	margin-bottom: 1em;
}
.raami h1,
.raami h2,
.raami h3,
.raami h4,
.raami h5,
.raami h6 {
	margin-top: 0;
}

.tausta {
	background-color: #eee9dd;
	padding: 1.5em;
	margin-bottom: 1em;
	border-radius: 5px;
}
.tausta h1,
.tausta h2,
.tausta h3,
.tausta h4,
.tausta h5,
.tausta h6 {
	margin-top: 0;
}


.container {
        width: 75%;
}

@media only screen and
(max-width : 1399px ) {
    .container {
        width:100%;
    }

}




.middle {
	/*display: inline-block;
	vertical-align: middle;
	float: none;*/
	padding-top: 2em;
}

.centered {
	/*text-align: center;*/
	margin: 0 auto;
}


.top-banner {
	background-color: #000;
	/*filter: brightness(0.3);*/
	margin-top: -50px;
}
.top-banner img {
}

.main-content {
}

.main-content img {
	border-radius: 5px;
}

.top {
	padding: 0;
}


.panel {
	border: 0;
}
.panel-body {
	/*background-color: rgba(250,250,250, 1) !important;*/
	background-color: #f3f1e9 !important;
}
.panel-heading {
	background-color: #eee9dd !important;
	border: 0;
}



.jumbotron {
	padding: 0 !important;
	background-size: cover !important;
	margin-bottom: 0;
	height: 250px;
}


@media screen and (min-width: 767px) {
	.jumbotron {
		height: 350px;
	}
}
@media screen and (min-width: 992px) {
	.jumbotron {
		height: 450px;
	}
}
@media screen and (min-width: 1200px) {
	.jumbotron {
		height: 600px;
	}
}


.jumbotron p, .jumbotron h1 {
}

.jumbotron img {
	min-width: 100%;
}










.laatikko {
	/*background-color: #eee;*/
	text-align: center;
	font-size: 0.95em;
	padding-bottom: 3em;
	margin-top: 1em;
	
   -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
	margin-bottom: 1em;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
	border-radius: 5px;
	border: 1px solid #ccc;
}

.laatikko img {
	min-width: 100%;
	border-radius: 0;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.laatikko:hover {
}

.laatikko:hover a {
}

.laatikko a {
	text-decoration: none;
}

.laatikko h3 {
	font-weight: bold;
	margin-top: 0.7em;
}
.laatikko h3 > a {
	color: #6e2626;
}

.laatikko > .teksti {
	padding-left: 0.5em;
	padding-right: 0.5em;
}

.laatikko > .teksti > a {
	color: #000;
}

















.grid-divider {
	margin-bottom: 1em;
	margin-top: 1em;
}


.laatikko > .readmore {
	/*margin-top: 2em;*/
	position: absolute;
	/*margin-bottom: 2em;*/
	bottom: 18px;
	left: 0;
	width: 100%;
}

.laatikko > .readmore > .painike {
	width: auto;
	/*margin-left: 15px;
	margin-right: 15px;*/

	display: inline-block;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-radius: 5px;
	
}

@media screen and (max-width: 767px) {
	.laatikko > .readmore > .painike {
		/*border-radius: 0;*/
	}
	.laatikko > .readmore {
		position: relative;
		bottom: 0;
		margin-top: 1em;
	}		
	.laatikko {
		padding-bottom: 1em;
	}
}

@media screen and (max-width: 991px) {
	.laatikko > .readmore {
		position: relative;
		bottom: 0;
		margin-top: 1em;
	}
}

/*

@media ( min-width: 768px ) {
    .grid-divider {
        position: relative;
        padding: 0;
    }
    .grid-divider>[class*=col-] {
        position: static;
    }
    .grid-divider>[class*=col-]:nth-child(n+2):before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
    }
    .col-padding {
    }
}

*/


.panel-title {
	font-size: 1.2em;
	font-family: 'Marcellus SC', serif;
	font-weight: normal;
	color: #773a1a;
}
.panel-body > h3 {
	font-size: 1em;
	font-weight: bold;
}


.side {
	display: inline-block;
}

.collapsing {
    -webkit-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.bg-gray {
	background-color: #eee !important;
}

.full-width {
	width: 100vw;
	position: relative;
	margin-left: -50vw;
	left: 50%;
	margin-top: 0 !important;
}

.full-width img {
	width: 100%;
}

.kartta {
}

.btn {
	margin-top: 1em;
	margin-bottom: 2em;
}

.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}

.alaviiva {
	border-bottom: 2px rgba(164, 194, 45, 1) solid;
}

.top-margin-0 {
	margin-top: 0;
}
.top-margin-1 {
	margin-top: 1em;
}
.top-margin-2 {
	margin-top: 2em;
}
.top-margin-3 {
	margin-top: 3em;
}
.top-margin-4 {
	margin-top: 4em;
}
.top-margin-5 {
	margin-top: 5em;
}
.top-margin-6 {
	margin-top: 6em;
}

.bottom-margin-0 {
	margin-bottom: 0 !important;
}
.bottom-margin-1 {
	margin-bottom: 1em;
}
.bottom-margin-2 {
	margin-bottom: 2em;
}
.bottom-margin-3 {
	margin-bottom: 3em;
}
.bottom-margin-4 {
	margin-bottom: 4em;
}
.bottom-margin-5 {
	margin-bottom: 5em;
}
.bottom-margin-6 {
	margin-bottom: 6em;
}




.no-padding {
	padding: 0;
}

.no-gutter > [class*='col-'] {
	padding: 0;
}


header {
}

.painike {
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	background-color: rgba(164, 194, 45, 1);
	
	text-align: center;
	padding: 0.5em;
   -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;	

	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-radius: 5px;
}
.painike:active {
	color: #fff;
}
.painike:focus {
	color: #000;
}
.painike:hover {
	color: #fff;
	background-color: #fbbc23;
   -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
	color: #fff;
	text-decoration: none;
}

footer {
	margin-top: 2em;
	padding: 20px;
	background-color: rgba(0,0,0, 0.2);
	color: #444;
	font-size: 0.7em;
	text-align: center;
}
.footer-item {
	margin-left: 1em;
	margin-right: 1em;
	display: inline;
}
@media screen and (max-width: 767px) {
	.footer-item {
		margin-bottom: 0.5em;
		margin-left: 0;
		margin-right: 0;
		display: block;
	}
}


footer a {
	color: #444;
	text-decoration: none;
}
footer a:hover {
	color: #444;
}
footer a:active {
	color: #444;
}
footer a:visited {
	color: #444;
}


.embed-responsive {
	height: 350px;
}

.laatikko .embed-responsive-item {
	height: 226px !important;
	margin: 0 !important;
}



.width-10 {
		width: 10%;
}
.width-25 {
		width: 25%;
}
.width-50 {
		width: 50%;
}
.width-75 {
		width: 75%;
}
.width-90 {
		width: 90%;
}
.width-100 {
		width: 100%;
}
@media screen and (max-width: 767px) {
	.width-10, .width-25, .width-50, .width-75, .width-100, .width-90 {
		width: 100%;
	}
	
	.top {
		text-align: center;
	}
	.top img {
		margin: 0 auto;
	}
}



.pull-right {
	text-align: right;
}


.copyright {
	margin-top: 5%;
	margin-bottom: 5%;
	font-size: 0.9em;
	text-align: center;
}


.autogallery-item {
/*	display: inline-block;*/
	padding: 5px;
	margin: 5px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 5px;
	/*background: #f1f1f1;*/
	}

.autogallery-lazy {
	width: 80px;
	height: 80px;
}

@media screen and (max-width: 767px) {
	.autogallery-lazy {
		width: 70px;
		height: 70px;
	}
}












.breadcrumb {
	margin: 0px;
	padding: 0px;
	background: none;
	color: #999;
	text-transform: uppercase;
}
.breadcrumb ul {
	margin: 0px;
	padding: 0px;
	display: inline;
}
.breadcrumb li {
	list-style-type: none;
	display: inline;
}
.breadcrumb a {
	color: #999;
}







.flightbox {
	display: none;
	text-align: center;
}

.flightbox img {
	max-width: 100%;
	max-height: 450px;
}

.flightbox h4 {
	font-size: 1.3em;
}

.flash-sarakkeet {
	padding: 5px;
	margin: 5px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 5px;	
	
/*	margin-right: 1em;
	margin-bottom: 1em;*/
	float: left;
	width: 80px;
	height: 80px;
	overflow: hidden;
}
@media screen and (max-width: 767px) {
}

.flash-sarakkeet h4 {
	margin: 0;
	padding: 0;
	font-size: 1em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
.flash-sarakkeet p {
}
.flash-sarakkeet img {
	max-width: 100%;
	max-height: 70px;
	border: 0;
}


