/* styles for svarepair.com */

/* -- site wide styles -- */

article, aside, figure, footer, header, hgroup, menu, nav, section { 
	display: block;	/* new elements in html 5; set to block for older browsers */
}

body {
	font-family: sans-serif;
	font-size: 100%;	/* to avoid font size inheritance cascade bugs in MSIE 6 (and 7?) */
}

@media screen and (min-device-width: 481px) {
	body {
		max-width: 45em;
		margin: 60px auto;
		border: 1px solid #347;
		padding-top: 25px;
		padding-left: 50px;
		padding-right: 50px;
	}
}

header {
	text-align: center;
}

header > h1, header > hgroup > h1, header > hgroup > h2, header > address {
	font-size: 120%;
}

header > h1, header > hgroup > h1, header > hgroup > h2 {
	font-weight: normal;
	margin-top: .6em;
	margin-bottom: .6em;
}

header > h1 > span, header > hgroup > h1 > span, header > hgroup > h2 > span {
	color: white;
	background-color: #347;
	padding: .3em .4em .2em .4em;
}

@media screen and (min-device-width: 481px) {
		address {
			text-align: left;
			margin-left: 50%;
		}
}

address > .tel {
	font-style: normal;
	margin-top: .5em;
}

address > .fn {
	display: none;
}

section > h1 {
	color: #347;
	background-color: white;
	font-size: 115%;
	font-weight: normal;
	font-style: italic;
	margin-top: 2em;
	margin-bottom: .3em;
}

section > section > h1 {
	font-size: 110%;
	margin-top: .4em;
	margin-bottom: .2em;
}

section > h1 + p, section > h1 + ol, section > h1 + ul, p + ul, p + ol {
	margin-top: .2em;
}

p {
	line-height: 1.4em;
}

li {
	margin-bottom: .4em;
}

nav {
	margin-top: 6em;
	text-align: center;
	font-size: 130%;
	font-weight: bold;
	letter-spacing: .05em;
	color: #347;
	background-color: white;
}

nav > ul {
	margin-left: 0;
	padding-left: 0;
}

nav > ul > li {
	display: inline;
	border-left: 1px solid;
	padding-left: .5em;
	padding-right: .5em;
}

nav > ul > li:first-child {
	border-left: none;
}


/* -- anchor link hover etc. styles -- */

a:hover, a:focus {
	color: #12a;
	background-color: #ee6;
	text-decoration: none;
}

a:active {
	color: #ee6;
	background-color: #347;
}


/* -- target pseudoclass colors -- */

h1:target {
	color: #125;
	background-color: #ddd;
}


/* -- contact form styles -- */

form {
	margin-left: auto;
	margin-right: auto;
	padding: .25em;
	color: #fff;
	background-color: #347;
	display: table;
}

form > p {
	margin-top: 0;
	margin-bottom: .25em;
	padding: .25em;
	border: 2px solid #015;
	color: #347;
	background-color: #89c;
	background-color: rgba(255,255,255,.8);
}

textarea {
	display: block;
}

@media screen and (max-device-width: 480px) {
	form > p > label > input {
		display: block;
	}
}

@media screen and (min-device-width: 481px) {

	form > p {
		text-align: right;
	}

	form > p:last-of-type {
		text-align: left;
	}

}		

.formMessageSent {
	color: black;
	background-color: #ffa;
	border: 1px solid #347;
	padding: .25em;
	max-width: 95%;
}

@media screen and (min-device-width: 481px) {
	.formMessageSent {
		padding: 1em;
	}
}

.formMessageSent th {
	text-align: right;
	color: #347;
	background-color: #ffa;
}

@media screen and (min-device-width: 481px) {
	.formMessageSent th {
		white-space: nowrap;
	}
}

.formMessageSent th, .formMessageSent td {
	padding-bottom: .5em;
	vertical-align: top;
}

/* -- errors -- */

.suggestUrl {
	font-size: 115%;
	color: #347;
	background-color: #ecb;
	border: 1px dotted #00f;
	padding: .5em;
	display: table-cell;
}

.httpError samp {
	color: #000;
	background-color: #bcb;
}


/* -- home -- */

.home > header > hgroup > h1 {
	display: none;
}

.home > p.ataglance {
	text-align: center;
	font-size: 105%;
	font-style: italic;
	line-height: 1.5em;
}

.home > p.ataglance > em {
	color: #c22;
	background-color: white;
	white-space: nowrap;
}


@media screen and (max-device-width: 320px) {
}




/* -- about -- */

.about > section {
	text-align: center;
}

#servicearea {
	margin-top: 7em;
}

.about > section > ul {
	margin-left: 0;
	padding-left: 0;
	line-height: 2em;
}

.about > section > ul + ul {
	border-top: 1px solid #347;
	padding-top: 2em;
	margin-top: 2em;
}

.about > section > ul > li {
	display: inline;
}

.about > section > h1 + ul > li + li:before {
	content: " \2022  ";
}

.about > section > ul > li > img {
	vertical-align: middle;
	margin: 5px 8px;
}



