body {
	margin: 0;
	padding: 0;
	background-color: #F1F1F1;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	color: #17191b;
	line-height: 22px;
}

a {
	font-family: Verdana;
	color: #004f79;
	text-decoration: none;
}
a:hover {
	font-family: Verdana;
	color: #004f79;
	text-decoration: underline;
}

FORM { margin: 0; padding: 0;}
INPUT, SELECT { font-size: 13px; font-family: verdana; color: #000000; padding: 4px; margin: 1px; border: 0px; background-color: #d8e0e5 }
TEXTAREA { font-size: 13px; font-family: verdana; color: #000000; padding: 4px; margin: 1px; border: 0px; background-color: #d8e0e5 }
INPUT.submit { font-size: 13px; font-family: verdana; color: #FFFFFF; padding: 4px; margin: 1px; border: 0px; background-color: #02522a }

h1, h2, h3 {
	line-height: 1.1em;
	color: #4d6210;
	margin-top: 0;
}
#top {
	height: 170px;
	padding: 15px;
	background-color: #668019;
	background-image: url(images/top_bg.jpg);
	background-position: center;
	background-repeat: no-repeat;
}

#top_cont {
	width: 1024px;
	margin-left: auto;
	margin-right: auto;
}
#top_ad {
	text-align: center;
}

img.logo {
	margin-top: 30px;
}

#menu {
	margin-top: 50px;
	float: right;
	font-size: 22px;
	font-family: Arial;
	color: #FFFFFF;
	clear: both;
}
#menu a {
	font-size: 21px;
	font-family: Arial;
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	float: left;
	padding-top: 20px;
	padding-left: 15px;
	padding-right: 15px;
	margin-right: 1px;
	padding-bottom: 20px;
	font-weight: normal;
}
#menu a:hover {
	font-size: 21px;
	font-family: Arial;
	color: #ff6e02;
	text-decoration: none;
	background-image: url(https://www.vedonlyonti-veikkaus.info/images/menu_bg.png);
	padding-top: 20px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 20px;
	font-weight: normal;
}

#site {
	background-image: url(images/bg.jpg);
	background-repeat: repeat-x;
}

#content {
	width: 986px;
	margin-left: auto;
	margin-right: auto;
	background-color: #FFF;
	padding: 20px;
}

#left {
	width: 728px;
	float: left;
}
#left h2 {
	border-bottom: 2px dashed #b4d5a5;
	padding-bottom: 5px;
}

#right {
	float: right;
	width: 235px;
}
#right h3 {
	font-size: 1.3em;
	color: #3f5812;
	border-bottom: 1px solid #a1cb54;
	padding-bottom: 4px;
}
ul#menu {
     margin: 0px;
	 list-style: none;
	 padding: 0px;
}
#menu li {
	display: inline;
    float: left;
}
#menu li a {
	color: #FFFFFF;
	text-transform: uppercase;
	font-weight: bold;
	display: block;
  padding: 8px 15px;
	text-decoration: none;
	background-color: #FFFFFF;
	background-image: url(images/menu_bg.jpg);
	height: 20px;
}
#menu li a:hover {
	background-color: #33322d;
	background-image: url(images/menu_bg_hover.jpg);
	color: #FFFFFF;
	text-transform: uppercase;
	font-weight: bold;
}
.etusivu_vedonvalittaja {
	border-left: 3px solid #b4d5a5;
	padding: 10px;
	margin-bottom: 5px;
}
.etusivu_vedonvalittaja img {
	vertical-align: middle;
	margin-right: 20px;
	border: 1px solid #b4b4b4;
}
#left .etusivu_vedonvalittaja h2 { border-bottom: none; }
.etusivu_vedonvalittaja img:hover { border: 1px solid #a2a2a2; }
.etusivu_vedonvalittaja img.artikkelikuva {
	margin-left: 20px;
	border: 1px solid #b4b4b4;
}
.etusivu_vedonvalittaja img.artikkelikuva:hover { border: 1px solid #a2a2a2; }

img.borderlogo {
	border: 1px solid #b4b4b4;
}
img.borderlogo:hover { border: 1px solid #a2a2a2; }

.button {
	display:block;
	width:200px;
	height:40px;
	text-indent:-9999px;
	float: right;
	margin: 0;
	margin-top: -20px;
}
.button a {
	display:block;
	width:100%;
	height:100%;
	background:transparent url(images/button.png) no-repeat top left;
	outline:none;
}
.button a:hover {
	background-position:0 -40px;
}
.buttoni a { display: block; padding: 11px; font-size: 1.05em; font-weight: bold; text-align: center; background-color: #55959f; border-radius: 7px; color: #FFF; text-decoration: none; }
.buttoni a:hover { background-color: #407a83; text-decoration: none; }
.arvostelulinkki {
	float: right;
	margin: 0;
	margin-top: -15px;
}

#footer {
	width: 1024px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 30px;
	font-size: 20px;
	text-align: right;
	font-weight: bold;
	letter-spacing: 1px;
	color: #737373;
}
#footer p { letter-spacing: 0px; font-weight: normal;}
p.sijainti {
	margin-top: 0;
	font-size: 11px;
	color: #243037;
}
p.small {
	font-size: 10px;
	color: #888;
}
img.logolinkki { border: 1px solid #E1E1E1; }
img.logolinkki:hover { border: 1px solid #0888af; }

@media screen and (max-width: 1190px) {
	body {
	  width: 100%;
	  height: 100%;
		font-size: 14px/24px;
		background-color: #FFF;
}
#top, .mobile_hide { display: none; }
#content, #left, #right, #footer { width: auto; }
#left, #right { float: none; }
#right { margin-top: 1.5em; }
#footer { text-align: center; }
.slideout-menu {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 256px;
	min-height: 100vh;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	z-index: 0;
	display: none;
}
.slideout-menu-left {
	left: 0;
}
.slideout-menu-right {
	right: 0;
}
.slideout-panel {
	position: relative;
	z-index: 1;
	will-change: transform;
	background-color: #FFF;
	min-height: 100vh;
}
.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
	overflow: hidden;
}
.slideout-open .slideout-menu {
	display: block;
}
.toggle-button { float: left;
	background:url(images/hamburgermenu.png) no-repeat;
	cursor:pointer;
			width: 32px;
			height: 32px;
			border: none;
			margin-left: 15px;
		}
a.toggle-button2 { margin: 10px; color: #000; }
a.toggle-button2:hover { text-decoration: none; color: #733d3d; }
a.toggle-button2 img { vertical-align: middle; margin-right: 3px; }
#drawer a.navi {
	font-weight: 500;
	display: block;
	padding: 0.75em;
	border-bottom: 1px solid #f1f1f1;
	font-size: 1em;
}
#top_mobile { background-color: #668019;
background-image: url(images/top_bg.jpg);
background-position: center;
background-repeat: no-repeat; padding: 20px 0px; }
#top_mobile img { max-width: 80%; max-height: 65px; margin-left: -32px; }
}
@media screen and (min-width: 1190px) {
	#drawer, .toggle-button, #top_mobile { display: none; }
}
