/******* STYLE SHEET FOR tilitoimistopilkku.fi*******/


/*******ERIC MEYER 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, 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,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 1em;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }

body { height: 100%; line-height: 1; min-height: 100%; }

ol, ul { list-style: none; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }

:focus { outline: 0; }

ins { text-decoration: none; }
del { text-decoration: line-through; }

table {	border-collapse: collapse; border-spacing: 0; }


/*******BOX MODEL*******/

*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }


/*******BASIC ELEMENTS*******/

a { text-decoration: none; }

a:link, a:visited {	color: #000;}

a:hover, a:active {	color: #777;}

h1 { display: none; font-size: 1.5em; margin: 0; }

h2 { font-size: 1.3em; margin: 0; }

p { margin-top: 1%; }


/*******BASIC LAYOUT*******/

body {
	background: #fff;
	color: #686764;
	font-family: 'helvetica', sans-serif;
	font-size: 1.2em;
	letter-spacing: .05em;
	line-height: 1.5;
	text-align: left;
}

.centeredimage { margin: 10% 5%; width: 90%; }


/*******HEADER*******/

.mainheader {
	background: #f9f8f8;
	border-bottom: 10px #fcfcfc solid;
	border-top: 10px #ebeaea solid;
	padding-top: 0%;
}

.mainheader img { display: block; margin: 0 auto; width: 20%; }


/*******CONTENT*******/

.content { margin: 0 auto; width: 70%; }

.maincontent { margin: 5.5% 0 ; }

.maincontent p { color: #b0aba5; font-size: 1.3em; letter-spacing: .25em; }

.infocontent p { font-size: 0.9em; letter-spacing: .05em; text-align: center; }

p.contentlink {
	font-family: 'helvetica', sans-serif;
	font-size: 70%;
	letter-spacing: .1em;
	margin-top: 0;
	text-align: center;
}

p.contentlink a { color: #bbb; }

p.contentlink a:hover { color: #999; }

.leftcolumn, .middlecolumn, .rightcolumn { float: left;	margin-left: 2.5%; width: 30%; }

.contactbutton {
	background-color: #f9f8f8;
	border: 5px #fcfbfb solid;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	clear: both;
	display: block;
	float: left;
	margin: 5% 0 0 38%;
	padding: 0.5% 0;
	text-align: center;
	width: 24%;
}

.contactbutton:hover { background-color: #f2f1f1; border: 5px #fbfafa solid; cursor: pointer; }

.contactbutton a {
	color: #777;
	display: block;
	height: 100%;
	text-shadow: 0 1px #fff;
	width: 100%;
}

.contactbutton a:hover { color: #555; }

.recaptchabox { margin-top: 5%; }


/******* TOGGLE BOX *******/

.toggle-box { display: none; }

.toggle-box + label {
	color: #686764;
	cursor: pointer;
	display: block;
	font-size: 1.1em;
	margin-bottom: 5%;
	text-align: center;
}

.toggle-box + label:hover { color: #686764; }

.toggle-box + label + div {	display: none; margin-bottom: 10px; }

.toggle-box:checked + label + div {	display: block; }

.expanded-box {
	background-color: #fcfbfb;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #686764;
	font-family: 'Helvetica', sans-serif;
	font-size: 0.85em;
	letter-spacing: .05em;
	padding: 3%;
	text-align: center;
}

.expanded-box li {
	list-style: disc;
	margin-left: 10px;
	text-align: left;
}


/*******FOOTER*******/

.footer {
	background: #f9f8f8;
	border-top: 10px #fcfbfb solid;
	float: left;
	margin-top: 5.5%;
	padding-bottom: 15%;
	width: 100%;
}

.footer p { margin: 1% auto; text-align: center; }

.footer img { display: block; margin: 3% auto 1% auto; width: 15%; }

.mobile-footer { display: none; }

.slogan {
	text-align: center;
	background: #f8f9f9;
	border-bottom: 10px #ebeaea solid;
	padding-bottom:1%;
	float: left;
	width: 100%;
}


/******* CONTACT FORM *******/

.form {	margin: 0 auto;	width: 50%; }

input, textarea {
	background: #fcfbfb;
	border: none;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	font-size: 0.8em;
	letter-spacing: .05em;
	padding: 10px;
	width: 100%;
}

textarea {
	font-family: 'Helvetica', sans-serif;
	height: 200px;
	line-height: 18px;
	letter-spacing: .05em;
	width: 100%;
}

input:hover, textarea:hover, input:focus, textarea:focus { background: #f9f8f8; }

.form label { display: block; }

.submit input {
	background-color: #f9f8f8;
	border: 5px #fcfbfb solid;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	font-family: 'Helvetica', sans-serif;
	font-size: 1em;
	margin: 3% 0 0 40%;
	width: 20%;}

.submit input:hover { background-color: #f2f1f1; border: 5px #fbfafa solid; cursor: pointer; }

p.error { color: #ff9100; font-family: 'Helvetica', sans-serif; font-size: 0.8em; text-align: center;}

span.error { color: #ff9100; font-family: 'Helvetica', sans-serif; font-size: 0.8em; }

#recaptcha_widget { width: 100%; }

#recaptcha_image { margin: 5% auto; }

#recaptcha_widget input { margin: 0 0 0 25%; text-align: center; width: 50%; }


/************************************************/
/*********@MEDIA RULES FOR SMALL SCREENS*********/
/************************************************/

/******* 300px-480px  *******/
@media only screen and (min-width: 300px) and (max-width: 480px) {

  .mainheader { padding: 0 0 0 0; }

  .mainheader img { width: 50%; }

  .homecontent { width: 100%; }

  .content { width: 94%; }

  .leftcolumn, .middlecolumn, .rightcolumn { width: 94%; }

  .expanded-box { margin-left: 2.5%; width: 95%; }

  .contactbutton { margin: 5% 0 0 15%; padding: 2% 0; width: 70%; }

  .footer { display: none; }

  .mobile-footer {
	  background: #f9f9f9;
	  border-top: 10px #fcfcfc solid;
	  display: block;
	  float: left;
	  margin-top: 10%;
	  width: 100%;
  }

  .mobile-footer p { margin: 1% 0; text-align: center; text-shadow: 0 1px #fff; }

  .mobile-footer img { display: block; margin: 10% auto; width: 70%; }

  .form { width: 80%; }

  .submit input { margin: 5% 0 0 20%; width: 60%;}
}


/******* 481px-767px  *******/
@media only screen and (min-width: 481px) and (max-width: 767px) {

  .mainheader { padding: 0% 0 0 0; }

  .mainheader img { width: 40%; }

  .homecontent { width: 100%; }

  .content { width: 94%; }

  .leftcolumn, .middlecolumn, .rightcolumn { width: 100%; }

  .expanded-box { margin-left: 2.5%; width: 95%; }

  .contactbutton { margin: 5% 0 0 15%; padding: 2% 0; width: 70%; }

  .footer img { display: block; margin: 5% auto; width: 40%; }

  .form { width: 80%; }

  .submit input { margin: 5% 0 0 30%; width: 40%;}
}


/******* 768px-1024px  *******/
@media only screen and (min-width: 768px) and (max-width: 1024px) {

  .mainheader img { width: 30%; }

  .contactbutton { margin: 5% 0 0 25%; padding: 2% 0;	width: 50%; }

  .footer img { display: block; margin: 2% auto; width: 30%; }

  .form { width: 80%; }

  .submit input { margin: 5% 0 0 30%; width: 40%;}
}

