/* CSS Document */

* { margin: 0; padding: 0; }

body {
  background: #000c13 url("http://www.megalock.fi/mylock/images/bg_body.gif") center 80px no-repeat;
  color: #fff;
  font: normal 14px Verdana;
  line-height: 16px;
  margin: 0;
}

a {
  color: #009ee0; text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a img { border: 2px solid #009ee0; }
a:hover img { border: 2px solid #00526f; }

/* Lang navi */

.lang_navi {
  position: absolute; top: 5px; right: 5px;
  font-size: 10px; padding: 2px;
}

a.lang {
  background: url("images/flag.png") no-repeat;
  width: 16px; height: 11px;
  padding-left: 20px;
}

a.lang.en {
  background-position: left 1px;
}

/* Layout
--------------------------------------------------------- */

#header {
  left: 0; top: 0; width: 100%;
  overflow: hidden; position: fixed;
	z-index:3;
}

#header_container { background: #000c13; }

#header_container_wrap {
  margin: 0 auto; padding: 16px 0 0 0;
  width: 960px; overflow: hidden;
  position: relative;
}

#header_gradient {
	height: 24px;
	background: url("http://www.megalock.fi/mylock/images/bg_navi_gradient.png") left bottom repeat-x;
}

#header h1 {
  float: left;
  margin: 0;
}

#header h1 a {
  display: block; outline: none;
  width: 633px; height: 80px;
  background: url("http://www.megalock.fi/mylock/images/logo.gif") center center no-repeat;
}

#header h1 a:hover, #header h1 a.active {
  background: url("http://www.megalock.fi/mylock/images/logo_active.gif") center center no-repeat;
}

#header h1 a span {
  margin-left: -9999px;
}

#container {
  width: 960px;
  margin: 0 auto;
}

#section_main {
  padding: 100px 0 0 0; margin: 0 0 0 0;
  overflow: hidden;
}

#section_desc {
  padding: 120px 0 0 0; margin: 0 0 0 0;
  overflow: hidden;
}

#section_qualities {
  padding: 120px 0 0 0; margin: 0 0 0 0;
  overflow: hidden;
}

#footer {
  width: 100%; overflow: hidden;
  padding: 20px 0 100px 0;
	background: #006a94 url("http://www.megalock.fi/mylock/images/bg_footer.gif") left bottom repeat-x;
}

#section_footer{
  margin: 0 auto; width: 960px; overflow: hidden;
  padding: 120px 0;
}

/* Navi
--------------------------------------------------------- */

ul#navi {
  float: right; margin: 0; padding: 0;
}

ul#navi li {
  list-style-type: none;
  margin: 0; padding: 0;
  float: left;
}

ul#navi li a {
  display: block; color: #fff;
  height: 80px; outline: none;
}

ul#navi li a span { margin-left: -9999px; }


ul#navi li a.desc { background: url("http://www.megalock.fi/mylock/images/bg_navi.gif") 0px 0px no-repeat; width: 100px; }
ul#navi li a:hover.desc { background-position: 0px -80px; }

ul#navi li a.qualities { background: url("http://www.megalock.fi/mylock/images/bg_navi.gif") -100px 0px no-repeat; width: 95px; }
ul#navi li a:hover.qualities { background-position: -100px -80px; }

ul#navi li a.contact { background: url("http://www.megalock.fi/mylock/images/bg_navi.gif") -195px 0px no-repeat; width: 132px; }
ul#navi li a:hover.contact { background-position: -195px -80px; }

/* Text
--------------------------------------------------------- */

h2 {
  padding: 0; margin: 0 0 20px 0;
  color: #fff;
  font-size: 2.2em; line-height: 1em;
  border-bottom: 1px solid #00384e;
}

h2 span {
  display: block; padding: 6px 0;
  margin-left: -9999px;
}

h2.main { background: url("http://www.megalock.fi/mylock/images/h2_main.gif") left top no-repeat; }
h2.desc { background: url("http://www.megalock.fi/mylock/images/h2_desc.gif") left top no-repeat; }
h2.qualities { background: url("http://www.megalock.fi/mylock/images/h2_qualities.gif") left top no-repeat; }
h2.contact { background: url("http://www.megalock.fi/mylock/images/h2_contact.gif") left top no-repeat; }

h2.info { clear: both; }

#footer h2 { border-bottom: 1px solid #007eaf; }
#footer h2 span { border-bottom: 1px solid #004f6f; }



h3 {
  font-size: 16px; margin: 30px 0 20px 0; 
}

p {
  margin: 1em 0;
}

p.intro { color: #00a6eb; }

.sml {
  font-size: 0.8em;
}

/* Xtra
--------------------------------------------------------- */

ul, ol { margin: 0 1em 1em 1em; padding: 1em; }
ul li { list-style-type: disc; margin-bottom: 6px; }
ol li { list-style-type: decimal; margin-bottom: 6px; }

.backtop {
  clear: both; text-align: right;
  padding: 20px 10px 0 0;
  margin: 20px 0;
  border-top: 1px solid #00384e;
}

#footer .backtop {
  margin: 30px 0 0 0;
  padding: 0px;
  border-top: 1px solid #004f6f;
}

#footer .backtop span {
  display: block; border-top: 1px solid #007eaf;
  padding: 20px 10px 0 0;
}

div.dots {
  clear: both; height: 6px;
  font-size: 0px;
  background: url("http://www.megalock.fi/mylock/images/bg_dot.png") left center repeat-x;
}

div.col {
  width: 470px; overflow: hidden;
}

.fl { float: left;}
.fr { float: right;}
.mr10px { margin-right: 10px; }
.ml10px { margin-left: 10px; }

ul.strong { font-weight: bold; }

/* Forms
--------------------------------------------------------- */

form { padding: 10px; }

div.row {
  clear: both; overflow: hidden;
  margin-bottom: 6px;
}

div.row span.label {
  float: left; width: 120px;
  text-align: right;
  margin-top: 2px; font-size: 0.8em;
}

div.row span.formw {
  float: right; width: 300px;
  text-align: left;
}

input, textarea {
  padding: 2px; border: 1px solid #4e5e66;
  font-size: 0.9em;
}

input.text, textarea {
  width: 180px; padding: 3px;
}

input.submit {
  width: 80px; padding: 4px;
  font-weight: bold; margin: 4px 0 0 0;
}