@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Raleway|Alegreya+Sans:300);

html {
	font-size: 100%;
}

img {
    max-width: 100% !important;
}

body {	
	font-family: 'Alegreya Sans', sans-serif;
	font-size: 20px;
	line-height: 1.5em;
	letter-spacing: 1px;
	background: #e7e9e6; 
	color: #404040;
}

h1 {
	font-family: 'Raleway';
	font-size: 200%;
	font-weight: normal;
	text-transform: uppercase;
	margin: 15px 0px 20px;
	color: #589F11;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
	-webkit-font-smoothing: antialiased !important;
}

h2 {
	font-family: 'Raleway';
	font-size: 170%;
	font-weight: lighter;
	text-align: center;
	padding-top: 20px;
	color: #589F11;
	text-shadow: 1px 1px 1px rgba(231,233,230,0.3);
	-webkit-font-smoothing: antialiased !important;
}

h3 {
	font-family: 'Raleway';
	font-size: 120%;
	font-weight: lighter;
	padding-top: 20px;
	color: #589F11;
	text-shadow: 1px 1px 1px rgba(231,233,230,0.3);
	-webkit-font-smoothing: antialiased !important;
}

h4 {
	font-family: 'Raleway';
	font-size: 80%;
	font-weight: lighter;
	text-decoration: underline;
	color: #589F11;
	text-shadow: 1px 1px 1px rgba(231,233,230,0.3);
	-webkit-font-smoothing: antialiased !important;
    margin-bottom: 0px;
    margin-top: 15px;
}

p {
	padding: 2px;
	font-size: 1em;
}

u {
	text-decoration: none;
	border-bottom: 1px solid #404040;
}

hr {
    border: 0;
	margin-top: 50px;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #e0e0e0, #82BB5D, #e0e0e0);
}

a:link, a:active {
	color: #1da400; 
	text-decoration: none;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}

a:visited{
	color: #457E0E; 
	text-decoration: none;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}

a:hover{
	color: #1f4b03; 
	text-decoration: none;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}

ol {
	list-style-type: circle;
	padding: 0;
	padding-left: 30px;
}
ul {
	list-style-type: disc;
	padding-left: 30px;
}

table {
    margin: 0px;
    padding: 0px;
}
td {
    margin: 0px;
    padding: 0px;
}
tr {
    margin: 0px;
    padding: 0px;
}


#top {
    width: 66.66666667%;
	max-width: 1200px;
	margin: 45px auto 15px;
	padding: 0px;
	position: center;
	text-align: center;
}

/************************************************************************************/
 
.container {
	font-size: 1em;
    padding-left: 35px;
}

/************************************************************************************/

.footer {
	color: #060c03;
	text-align: center;
}

.footerbox {
    font-size:80%;
    text-align:center;
}

/************************************************************************************/

.koristekuvat {
    width: 100%;
    margin: 0 auto;
}
.koristekuvat img {
	padding: 7px;
    margin: 15px;
	background: rgba(255,255,255,0.6);
	border: 1px solid #9CBA80;
}
@media screen and (max-width: 1353px) {
    .koristekuvat img:first-child {
        display: none;
    }
}

.kuva1 {
	float: right;
	margin: 0px 0px 5px 15px;
	padding: 7px;
	background: rgba(255,255,255,0.6);
	border: 1px solid #9CBA80;
}
.kuva2 {
    padding: 7px;
    margin: 15px;
	background: rgba(255,255,255,0.6);
	border: 1px solid #9CBA80;
}
.tuomarit {
	width: 100%;
	margin: 20px auto;
	border-collapse: collapse;
	border: 1px solid rgba(29,164,0,0.5);
	padding: 5px;
    font-size: 85%;
}
.tuomarit td {
	padding: 5px;
	border: 0px;
}
.tuomarit tr {
    border-bottom: 1px solid rgba(29,164,0,0.6) !important;
}
.td1 {
	background: rgba(29,164,0,0.3);
	font-weight: bold;
}
.uusi {
    background: rgba(255,255,255,0.6);
	font-weight: 500;
}

/************************************************************************************/

form {
    width: 100%;
    margin: 0 auto;
}

.flex-outer {
  list-style-type: none;
  padding: 0;
}

.flex-outer {
  max-width: 950px;
  margin: 0 auto;
}

.flex-outer li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.flex-outer > li:not(:last-child) {
  margin-bottom: 20px;
}

.flex-outer li label,
.flex-outer li p {
  padding: 5px;
  font-weight: 300;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.flex-outer > li > label,
.flex-outer li p {
  flex: 1 0 120px;
  max-width: 220px;
}

.flex-outer > li > label + * {
  flex: 1 0 220px;
}

.flex-outer li p {
  margin: 0;
}

.flex-outer li input:not([type='checkbox']),
.flex-outer li textarea {
  padding: 8px;
  border: none;
}

.flex-outer li input[type='submit'] {
  margin-left: auto;
  padding: 8px 16px;
  border: none;
  background: #333;
  color: #f2f2f2;
  text-transform: uppercase;
  letter-spacing: .09em;
  border-radius: 2px;
}

.flex-inner li {
  width: 100px;
}