/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color:#222;
}

body {
    font:13px/16px Arial, sans-serif;
}

::-moz-selection {
    background:#b3d4fc;
    text-shadow:none;
}

::selection {
    background:#b3d4fc;
    text-shadow:none;
}

h1 {
	font-weight:normal;
}

a {
	color:#2518B5;
	text-decoration:none; }

a:hover {
	text-decoration:underline;
}

img {
    vertical-align:middle;
}

ul {
	margin:0;
	padding:0;
}

li {
	list-style:none;
}

fieldset {
    border:0;
    margin:0;
    padding:0;
}

.fakelink,
.fakelink:hover {
	text-decoration:none;
	cursor:default;
}

.hidden {
    display:none !important;
    visibility:hidden;
}

.clearfix:before,
.clearfix:after {
    content:" ";
    display:table;
}

.clearfix:after {
    clear:both;
}

.clearfix {
    *zoom:1;
}

.wrapper {
    width:90%;
    margin:0 5%;
}

.header-container {
	color:#404040;
	border-bottom:1px solid #EBEBEB;
}
.header-container header {
	background:#F1F1F1;
	height:60px;
}

nav ul {
    margin:0;
    padding:0;
}

nav a {
    display:block;
    margin-bottom:10px;
    padding:15px 0;
    text-align:center;
    text-decoration:none;
    font-weight:bold;
    color:#777;
}

nav a:hover {
    color:#222;
}

.main article h1 {
    font-size:2em;
}

.footer-container  {
	background:none repeat scroll 0 0 #F2F2F2;
    border-top:1px solid #E4E4E4;
    font-size:small;
    line-height:40px;
	margin-top:30px;
}

.footer-container a {
	color:#777;
	margin-right:27px;
}

.footer-container a:hover {
	text-decoration:none;
	color:#333;
}

section {
	margin-bottom:23px;
}

section h2 {
	margin:0;
}

section h2 a {
	font-size:16px;
	line-height:19px;
	text-decoration:underline;
}

section h2 .pdf {
	font-size:10px;
	line-height:16px;
	color:#2518B5;
	float:left;
	font-weight:bold;
	margin:1px 5px 0 0;
}

section p {
	margin:0;
	color:#444;
	line-height:16px;
}

section .link {
	font-size:14px;
	line-height:17px;
	color:#00802A;
}

section .small {
	color:#666;
	font-size:13px;
	line-height:15.6px;
	margin-bottom:1px;
}

section img {
	margin-top:4px;
}

section .googleplusimg {
	float:left;
	margin:4px 9px 10px 0;
}

.logo {
	width:92px;
	height:32px;
	float:left;
	margin:15px 20px 0 15px;
	background:url(../img/google_icons_sprite.png) no-repeat 0 0;
}

#searchform {
	margin:15px 0 0 0;
	float:left;
	width:60%;
	min-width:200px;
}

#searchform input[type=text] {
	background:#FFF;
	border:1px solid #CDCDCD;
	border-right:0;
	padding:0px 9px;
	width:60%;
	height:28px;
	line-height:28px;
	float:left;
	font-size:16px;
}

#searchform input[type=submit] {
	border:0;
	height:30px;
	width:60px;
	padding:0;
	background:#4585f3 url(../img/google_icons_sprite.png) no-repeat 22px -27px;
	float:left;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	-moz-border-radius-topleft:0px;
	-moz-border-radius-bottomleft:0px;
	-webkit-border-top-left-radius:0px;
	-webkit-border-bottom-left-radius:0px;
	border-top-left-radius:0px;
	border-bottom-left-radius:0px; 
}

#apps {
	width:16px;
	height:16px;
	float:right;
	margin:22px 0 0 0;
	background:url(../img/google_icons_sprite.png) no-repeat 0 -57px;
	display:none;
}

#login {
	font-weight:bold;
	background:#4584EE;
	color:#FFF;
	font-size:13px;
	text-decoration:none;
	text-align:center;
	line-height:30px;
	padding:0 13px;
	margin:15px 30px 0 22px;
	border:0;
	float:right;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	width:65px;
	display:none;
 }

nav {
	clear:both;
}

nav a {
	float:left;
	font-weight:normal;
	font-size:13px;
	line-height:54px;
	padding:0 8px;
	margin:0 8px;
	border-bottom:3px solid #FFF;
}
	
nav a.active {
	border-bottom:3px solid #DD4B39;
	color:#DD4B39;
	font-weight:bold;
}

.resultnumber {
	color:#999;
	line-height:43px;
	margin:0;
	padding-left:8px;
}

aside h1,
aside h2,
aside p {
	padding:0 15px;
}

aside h1 {
	margin:15px 0 0 0;
	font-size:30px;
	line-height:37px;
}

aside h2 {
	color:#999;
	font-size:13px;
	font-weight:normal;
	margin-top:4px;
}

aside span {
	font-weight:bold;
}

.maps {
	padding:23px 0;
	margin-bottom:23px;
}

.maps iframe {
	border:1px solid #2518B5;
	padding:2px;
}

.maps .right {
	position:relative;
	margin-top:23px;
}

.maps h2 {
	margin:0;
	padding:5px 0 0 35px;
	height:39px;
	background:url(../img/google_icons_sprite.png) no-repeat 0 -73px;
}

.maps p {
	margin-left:35px;
}

.maps .mail {
	position:absolute;
	top:25px;
	left:35px;
	margin:0;
}

.maps .rating {
	padding-left:55px;
	background:url(../img/google_icons_sprite.png) no-repeat 0 -118px;
}


.adwords {
	background:#FFF7ED;
	margin:0 0 23px 0;
	padding:2px 36px 6px 8px;
}

.adwords .hint {
	font-size:13px;
    font-weight:normal;
    margin:0 -35px 0 0;
    padding:4px 4px 8px 0;
	color:#666;
}

.adwords .hint strong {
	color:#444;
}

.adwords li {
	padding-top:23px;
}

.adwords li:first-child {
	padding-top:0;
}

.adwords h3 {
	color:#2518B5;
	font-size:16px;
	line-height:19px;
	text-decoration:underline;
	margin:0;
}

.adwords .withtel h3 {
	float:left;
}

.adwords p {
	margin:0;
	clear:both;
}

.adwords .tel {
	float:left;
	clear:none;
	margin:2px 0 0 8px;
}

.adwords .fakelink {
	color:#00802A;
	font-size:14px;
	line-height:17px;
}

.fancybox-nav span {
	visibility:visible !important;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter:alpha(opacity=30);
	-moz-opacity:0.3;
	-khtml-opacity:0.3;
	opacity:0.3;
}

.fancybox-nav:hover span {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter:alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity:1;
	opacity:1;
}

aside img {
	max-width:100%;
	height:auto;
}

@media only screen and (min-width: 480px) {

	nav li:first-child a {
		margin-left:0;
	}
	
	nav li:last-child a {
		margin-right:0;
	}
	
	aside {
		float:left;
		width:454px;
		margin:0 0 46px 0;
		-moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.2);
		-webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.2);
		box-shadow:0px 1px 4px rgba(0, 0, 0, 0.2);
	}
	
	article {
		clear:both;
	}
	
	.maps iframe {
		float:left;
	}
	
	.maps .right {
		margin:0 0 0 290px;
	}

	nav ul li {
		display:inline;
	}
	
	.oldie nav a {
		margin:0 0.7%;
	}
	
}

@media only screen and (min-width: 768px) {

	.title {
		float:left;
	}
	
	#login,
	#apps {
		display:block;
	}
	
	article {
		width:512px;
	}
	
	nav {
		margin:2px 0 0 128px;
		height:57px;
	}

}

@media only screen and (min-width: 1140px) {

	.wrapper {
		width:1030px;
		margin:0 0 0 128px;
	}
	
	#searchform input[type="text"] {
		width:578px;
	}
	
	article {
		float:left;
		clear:none;
	}
	
	aside {
		float:right;
	}

}