/*
  author: Teemu Alapoikela / Ext
  project: ext
*/

/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
  font-weight: normal;
  outline-style: none;
}

/* global */
html {
  background: #c7c7c7 url(../images/html_bg.png) repeat-x; 
}
body {
  background: url(../images/body_bg.jpg) top center no-repeat;
  text-align: center;
  font-family: "lucida grande", arial, sans-serif;
  color: #333;
  font-size: 62.5%;
}
a {
  color: #0791d3;
}
p {
  margin: 0 0 10px 0;
}

/* header elements */
#header {
  height: 155px;
  position: relative;
}
h1 {
  background: url(../images/logo_hover.jpg);
  font-size: 2.6em;
  position: absolute;
  width: 111px; height: 91px;
  left: 40px;
  top: 35px;
}
h1 a {
  display: block;
  height: inherit;
  width: inherit;
}
h2 {
  color: #555;
  font-size: 1.85em;
  margin: 5px 0 1em 0;
}
h3 {
  color: #757575;
  font-size: 1.4em;
  margin: 15px 0 10px 0;
}
#menu {
  position: absolute;
  right: 20px;
  top: 47px;
}
#menu li {
  list-style: none;
  float: left;
  margin: 0 0 0 35px;
}
#menu a {
  color: #555;
  text-decoration: none;
  font-size: 1.8em;
  display: block;
  letter-spacing: -0.02em;
  text-shadow: #eee 0px 1px 0px;
  padding: 15px 10px 7px 10px;
}
#menu a:hover,  #menu a.active {
  background: url(../images/menu_hover.png) right no-repeat;
}
#extsymbol {
  position: absolute;
  right: 40px;
  top: 60px;
}
#content {
  font-size: 1.2em;
  margin: 0 0 30px 0;
  position: relative;
}
#content p {
  margin: 0 0 10px 0;
}

/*footer*/

#footer {
  background: url(../images/footer_bg.png) repeat-x;
  color: #999;
  font-size: 1.2em;
  padding: 20px 0;
}
#footer a {
  color: #999;
}
#footer h3 {
  color: #fff;
}
#footer-sivukartta {
  width: 220px;
  height: 100px;
  float: left;
}
#footer-sivukartta li {
  list-style: none;
  margin: 0 0 5px 0;
}
#footer-sivukartta a {
  text-decoration: none;
}
#footer-sivukartta a:hover {
  text-decoration: none;
  color: #bbb;
}
#footer-yhteystiedot {
  width: 220px;
  height: 100px;
  float: left;
}
#footer-quote {
  border: 1px solid #444;
  width: 460px;
  padding: 50px 0;
  float: left;
  text-align: center;
  background: url(../images/40black.png);
}
.short-quote {
  font-size: 1.4em;
  font-family: georgia, times, serif;
  color: #ddd;
  font-style: italic;
  font-weight: normal;
  letter-spacing: 0.05em;
}
.footer-col {
  float: left;
  margin: 0 0 0 20px;
}
#copyr {
  margin: 20px 0 0 20px;
  display: block;
  width: 300px;
}

/*etusivu*/

#slogan {
  width: 940px;
  margin: 0 0 0 20px;
  background: #242424;
  padding: 20px 0 17px 0;
  text-align: center;
}
#minislogan {
  margin: 20px auto;
  width: 836px;
  display: block;
}
#etusivu-extsymbol {
  position: absolute;
  right: 50px;
  top: -117px;
}
.etusivu-col {
  width: 260px;
  margin: 20px 0 0 20px;
  float: left;
  min-height: 200px;
  padding: 0 20px;
}
.etusivu-col h3 {
  background: url(../images/etusivu_kolumniotsikko_bg.png) repeat-x;
  padding: 18px 20px 20px 20px;
  font-weight: normal;
  font-size: 1.6em;
  color: #fff;
  margin: 0 -20px 20px -20px;
}
#etusivu-uusin-referenssi h3 {
  background: #242424;
}
#etusivu-uusin-referenssi img{
  margin: 0 -20px;
  box-shadow: #777 0px 1px 3px;
  -moz-box-shadow: #777 0px 1px 3px;
  box-shadow: #777 0px 1px 3px;
}
#etusivu-uusin-referenssi span{
  margin: 5px -20px 0 -20px;
  display: block;
  width: 300px;
  background: #242424;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-size: 1.2em;
}
#etusivu-mika p{
  font-size: 1.2em;
  line-height: 1.4em;
}

/*referenssit*/
#referenssit {
  float: right;
  width: 700px;
  margin: 20px 20px 0 0;
}
#referenssit-soittopyynto {
  float: left;
  width: 260px;
  margin: 28px 0 0 0;
}
#referenssit-soittopyynto h3 {
  margin: 0 20px 10px 20px;
  font-weight: normal;
  color: #666;
}
.referenssi {
  margin: 0 0 0px 0;
}
.referenssi-content {
  display: none;
}
.referenssikuvat {
  height: 352px;
  width: 700px;
}
.qslider-navi-prev, .qslider-navi-next {
  cursor: pointer;
  display: none;
}
.qslider-navi-prev:hover, .qslider-navi-next:hover {
  opacity: 0.9;
}
.qslider-container {
  overflow: hidden;
  height: 352px;
  width: 700px;
  position: relative;
}
.qslider-container ul {
  width: autopx;
  list-style: none;
}
.qslider-container li {
  width: 700px;
  height: 352px;
  float: left;
}
.qslider-navi-prev {
  position: absolute;
  bottom: 20px; left: 20px;
  background: url(../images/ref_nuoli_vasen.png);
  width: 50px; height: 50px;
  text-indent: -9999px; 
  display: block;  
}
.qslider-navi-next {
  position: absolute;
  bottom: 20px; right: 20px;
  background: url(../images/ref_nuoli_oikea.png);
  width: 50px; height: 50px;
  text-indent: -9999px;
  display: block;
}
.referenssi-otsikko h2:hover {
  background: url(../images/referenssit_otsikko_bg_hover.png) repeat-x;
}
.referenssi-otsikko h2{
  background: url(../images/referenssit_otsikko_bg.png) repeat-x;
  color: #fff;
  font-size: 1.4em;
  padding: 8px 20px 9px 20px;
  margin: 0px;
  position: relative;
  letter-spacing: -0.02em;
}
.referenssi-uusi {
  position: absolute;
  right: 0px;
  top: -3px;
}
.referenssi-lisatietoja {
  background: #303030 url(../images/referenssit_lisatietoja_bg.png) top repeat-x;
  padding: 20px;
}
.referenssi-lisatietoja p {
  color: #868686;
  padding: 10px 10px;
  width: 460px;
  float: left;
  border: 1px solid #525252;
}
.referenssi-lisatietoja a {
  background: #303030 url(../images/referenssit_url_bg.png) top repeat-x;
  padding: 10px 20px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  float: right;
  margin: 1px 0 0 0;
}
.referenssi-link {
  font-size: 1.2em;
}
.ref-urls {
  display: none;
}

/*soittopyynt?formit*/
ol {
  list-style: none;
}
.text-input, #sp-submit {
  border: 0;
  padding: 10px 20px;
}
#sp-submit  {
  cursor: pointer;
}
#etusivu-soittopyynto #soittopyynto-form .text-input {
  background: #fff;
  border: 1px solid #ccc;
  margin: 0 -20px 5px -20px;
  width: 260px;
  color: #666;
}
#etusivu-soittopyynto #soittopyynto-form #sp-submit {
  background: url(../images/etusivu_kolumniotsikko_bg.png) repeat-x;
  margin: 5px -20px 10px -20px;
  width: 300px;
  text-shadow: #aaa 0px 1px 0px;
  color: #fff;
  text-shadow: none;
  font-size: 1.2em;
  font-weight: normal;
}
#referenssit-soittopyynto #soittopyynto-form .text-input {
  background: url(../images/referenssit_textinput_bg.png) repeat-x;
  background: #fff;
  margin: 0 0 5px 20px;
  width: 180px;
  color: #666;
  padding: 7px 20px 8px 20px;
  border: 1px solid #aaa;
}
#referenssit-soittopyynto #soittopyynto-form #sp-submit {
  background: url(../images/referenssit_submit_bg.png) repeat-x;
  margin: 5px 0 10px 20px;
  width: 220px;
  text-shadow: #aaa 0px 1px 0px;
  padding: 13px 0 15px 0;
  border: 1px solid #787878;
}
#palvelut-soittopyynto #soittopyynto-form .text-input {
  background: url(../images/palvelut_textinput_bg.png) repeat-x;
  margin: 0 0 5px 0px;
  width: 230px;
  color: #666;
  padding: 7px 20px 8px 20px;
  border: 1px solid #a6a6a6;
}
#palvelut-soittopyynto #soittopyynto-form #sp-submit {
  background: url(../images/palvelut_submit_bg.png) repeat-x;
  margin: 5px 0 10px 0px;
  width: 271px;
  text-shadow: #aaa 0px 1px 0px;
  padding: 13px 0 15px 0;
}
#yhteystiedot-soittopyynto #soittopyynto-form .text-input {
  background: url(../images/yhteys_input_bg.png) repeat-x;
  margin: 0 0 5px 0px;
  width: 160px;
  color: #ccc;
  padding: 7px 20px 8px 20px;
  border: 0px solid #a6a6a6;
}
#yhteystiedot-soittopyynto #soittopyynto-form #sp-submit {
  background: url(../images/yhteys_input_bg.png) repeat-x;
  margin: 5px 0 10px 0px;
  width: 200px;
  text-shadow: #aaa 0px 1px 0px;
  padding: 13px 0 15px 0;
}

/*palvelut*/
#palvelut-buttons {
  background: url(../images/palvelut_buttons_bg.png);
  width: 290px; height: 388px;
  float: left;
  margin: 0 0 0 20px;
  position: relative;
}
#palvelut-buttons-block {
  background-color: #e0027f;
  background-image: url(../images/palvelut_button_shadow.png);
  background-repeat: no-repeat;
  width: 300px; height: 97px;
  z-index: 999;
  position: absolute; left: 0px; top: 0px;
}
#palvelut-buttons a{
  color: #fff;
  text-decoration: none;
  font-size: 1.8em;
  letter-spacing: -0.03em;
  display: block;
  width: 250px; height: 35px;
  padding: 35px 20px 30px 20px;
  z-index: 1100;
  position: absolute; left: 0px;
}
#palvelut-buttons-www {
  top: 0px;
}
#palvelut-buttons-print {
  top: 97px;
}
#palvelut-buttons-ilme {
  top: 194px;
}
#palvelut-buttons-muut {
  top: 291px;
}
#palvelut-content-back {
  width: 640px;
  float: right;
  background: #e0027f;
  margin: 0 30px 0 0;
}
#palvelut-content {
  width: 640px;
  height: 640px;
  float: right;
  background: #fff;
  margin: -10px -10px 10px 0;
  overflow: hidden;
}
#palvelut-entrycontainer {
  width: 640px;
}
#palvelut-soittopyynto {
  float: left; 
  width: 290px;
  margin: 20px 0 0 20px;
}
#body-palvelut h2 {
  color: #555;
  font-size: 1.85em;
  letter-spacing: -0.03em;
  margin: 1em 0 1em 0;
}
.palvelu-entry {
  width: 600px;
  height: 600px;
  padding: 20px;
  float: left;
}
#palvelut-entrycontainer .doublecol{
  width: 280px;
  margin: 0 20px 0 0;
  line-height: 150%;
  /*text-align: justify;*/
}
/*yhteystiedot*/
#yhteystiedot-top {
  background: #2e2d2d;
  width: 960px; height: 20px;
}
#body-yhteystiedot #content {
  margin: 0 0 30px 0;
}
#body-yhteystiedot h2 {
  margin: 0 0 1em 0;
  font-size: 1.85em;
  letter-spacing: -0.03em;
}
#body-yhteystiedot .featured{
  color: #ff0066;
}
#yhteystiedot-contentarea {
  background: #fff;
  width: 740px; min-height: 430px;
  padding: 0px;
  float: right;
  margin: 0 0 0 0;
}
#yhteystiedot-left {
  background: #2e2d2d;
  width: 240px;
  float: left;
  margin: 0;
}
#yhteystiedot-buttons {
  width: 220px;
  height: 142px;
  background: url(../images/yhteystiedot_buttons_bg.png);
  margin: 0 0 0 20px;
  position: relative;
}
#yhteystiedot-buttons-block {
  background: url(../images/yhteystiedot_button_active.png);
  width: 220px; height: 71px;
  position: absolute; left: 0px;
}
#yhteystiedot-buttons a {
  font-size: 1.65em;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  display: block;
  width: 200px; height: 50px;
  padding: 21px 0 0 20px;
  position: absolute; left: 0px;
}
#yhteystiedot-button-henkilosto {
  top: 0px;
}
#yhteystiedot-button-paamaja {
  top: 71px;
}
#yhteystiedot-soittopyynto {
  margin: 50px 0 20px 20px;
}
#yhteystiedot-soittopyynto h3{
  color: #fff;
}
#toimisto{
  width: 240px;
  margin: 20px 0 0 20px;
}
#toimisto .featured{
  font-size: 14px;
}
#toimisto h2 {
  font-size: 1.8em;
}
.henkilot{
  font-size: 18px;
  color: #ff0066;
}
.henkilot-yhteystiedot{
  font-size: 14px;
}
#yhteystiedot-teksti{
  margin: 20px 15px 25px 20px;
  padding: 0 0 15px 0;
  border-bottom: 1px solid #e7e7e7;
  font-size: 1.85em;
  letter-spacing: -0.03em;
}
#yhteystiedot-henkilot{
  margin: 0 0 0 0px;
}
#kartta{
  padding: 1px;
  border: 7px solid #eae9e9;
  background: #ffffff;
  margin: 20px 0 0 0;
}
#yhteystiedot-content .triplecol {
  width: 220px;
  margin: 0 0 20px 20px;
}

/* classes */
.container {
  margin: 0px auto;
  width: 980px;
  text-align: left;
}
.triplecol{
  float: left;
  width: 200px;
  margin: 0 20px 20px 0;
}
.doublecol{
  float:left;
}
.clearer {
  clear: both;
}
.qnote {
  border: 1px solid #ccc;
  padding: 5px;
  background: #fff;
  color: #555;
}
.qslider-num-indicator {
  position: absolute;
  top: 10px; left: 10px;
  padding: 5px;
  background: url(../images/referenssit_numindicator_bg.png);
  border: 1px solid #bbb;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}