body {
	font-size: 62.5%;
	margin: 0;
	padding: 0;
	background-image: url("../kuvat/stone1.png");
	background-attachment: fixed;
	background-image: -webkit-linear-gradient( top, #000, gray);
	background-image: -moz-linear-gradient( top, #000, gray);
	background-image: -ms-linear-gradient( top, #000, gray);
	background-image: -o-linear-gradient( top, #000, gray);
	background-image: linear-gradient( top, #000, gray);
	
	
  /*Use scalable background image */
  background-image: url("../kuvat/lande.png");
  background-position: center center;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

* {
	margin: 0;
	padding: 0;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#horzNav {
	display: block;
	padding: 10px 20px 30px 0px;
	background: black;
}

#horzNav a{
	text-decoration: none;
	padding: 0px 0px 0px 20px;
	color: white;
}

#horzNav a:hover{
	color: #89cff0;
}

.wrapper {
	font-size: 1.6em;
	padding: 2em;
	margin: 0 auto;
	width: 1000px;
	height: 4700px;
	background-color: white;
	
	background-image: url("../kuvat/kukka2.png");
	background-repeat: no-repeat;
	background-position: bottom right;
	
	  /* Multiple background images */
	background: url("../kuvat/kukka2.png") top right no-repeat,
	url("../kuvat/kukka2.png") bottom right no-repeat #FFF;
	
	opacity: 0.9;
}

h1{
  font-family: 'Lobster', cursive;
  
    /* Remove gap between heading and paragraph */
  margin-bottom: 0;
   /* Text Shadow : horz-pos, vert-pos, blur amount, color */
  text-shadow: 2px 2px 3px gray;
}

a:link, a:visited {
  text-decoration: none;
}
 
/* Remove the margin for a p if it follows a h1 */
h1+p {
  margin-top: 10;
}
 
p {
  margin: 10px;
}

.firstp {
  /* Indent Text */
  padding-left: 1.4em;
}

/* Enlarge the first letter of a paragraph */
.fourthp:first-letter {
  font-size: 150%;
  float: left;
  line-height: 1;
}

.dog-pic {
  border: 2px solid #000;
  margin: 10px;
  float: left;
  
    /* Add drop shadow
  horz-pos, vert-pos, blur amount, size of shadow, color */
  -webkit-box-shadow: 2px 2px 3px 2px gray;
  -moz-box-shadow: 2px 2px 3px 2px gray;
  box-shadow: 2px 2px 3px 2px gray;
  
    /* Rounded image corners */
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  
      /* Rotate Image */
  -webkit-transform: rotate( 1deg);
  -moz-transform: rotate( 1deg);
  -o-transform: rotate( 1deg);
  -ms-transform: rotate( 1deg);
  transform: rotate( 1deg);
}

/* Use image in list */
ul {
  list-style-image: url(../kuvat/kikoni.png);
 
  /* Remove list indent */
  list-style-type: none;
  padding-left: 20px;
  margin-left: 0;
}

.sm-liiga {
	width: 600px;
	border: 1px solid #000;
	border-collapse: collapse;
}

.sm-liiga td, .sm-liiga th {
	border: 1px solid #000;
}

.sm-liiga td {
	text-align: center;
	padding: 0.2em;
}

.sm-liiga th {
	font-weight: bold;
	padding: 0.3em;
	background-color: #00308F;
	color: #fff;
}

.sm-liiga tr:nth-child(odd){
	background-color: #7cb9e8;
}

.sm-liiga tr:hover {
	background-color: #2e5894;
	color: #fff;
}

#cust-form {
	width: 375px;
}

#cust-form div {
  float: left;
  width: 375px;
  padding: 0.5em 0.5em 0.75em 0.5em;
}

/* Add width so inputs line up */
#cust-form label {
  float: left;
  width: 100px;
}

/* Add width so inputs are the same size */
#cust-form textarea, form input {
  width: 250px;
}

#cust-submit {
  float: right;
  width: auto;
  margin-right: 10px;
}

/* Highlight form on focus */
#cust-form input:focus, #cust-form textarea:focus{
  background-color: #F5F5DC;
}

.discount {
  background-color: #FFF;
  border: 4px solid #000;
  padding: 10px;
  font-size: 1.4em;
 
  /* Position absolutely 0px from the top / 55px from the right */
  /* Positioning is based on the viewport so when resized things go wrong */
  position: absolute;
  top: 0px;
  right: 55px;
}

.wrapper {
  position: relative;
}

.discount {
	right: 0px;
}

ul.gallery {
  /* Eliminate the bullets */
  list-style: none;
   /* Don't allow elements on the left or right */
  clear: both;
}

ul.gallery li {
  /* Inline element in that there are no newlines, but
  you can style margins, padding, height, and width
  Inline ignores top / bottom margins, height, width
  and vertical-align */
  display: inline-block;
 
  /* Used so I can position span inside using absolute */
  position: relative;
}
 
ul.gallery span {
  width: 250px;
  height: 35px;
  text-align: center;
 
  /* Positions the span on the gallery image */
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: #000;
  opacity: 0.75;
  color: #fff;
}

ul.gallery span {
 
  /* don't show span until hover */
  margin-left: -10000px;
}
 
ul.gallery li:hover span {
 
  /* Show span on hover */
  margin-left: 0;
}

/*#logo2{
    float: left;
    margin: 10px;
} */

ol {
  list-style-image: url(../kuvat/kikoni.png);
 
  /* Remove list indent */
  list-style-type: none;
  padding-left: 20px;
  margin-left: 0;
}

#footer{
    height: 120px;
    width: 100%;
    margin: 0px;
    background-color: #292828;
}

.box{
margin-left: 40px;
color: #fff;
height: 100%;
width: 40%;
font-size: 1.4em;
}