/*
Theme name: Nidaros Naprapati
Theme URI: www.nidarosnaprapati.no
Description: A theme made for the company Nidaros Naprapati
Version: 1.0
Author: Espen Arnøy
Author URI: 
Tags:
*/

@import "css/reset.css";
@import "css/layout.css";



/*** Adding some custom fonts ***/
@font-face { 
	font-family: Aller; 
	src: url("fonts/aller.ttf"); 
} 

@font-face { 
	font-family: Aller_light; 
	src: url("fonts/aller_light.ttf"); 
}

@font-face { 
	font-family: Modata; 
	src: url("fonts/modata.ttf"); 
}



/*** Body and container ***/
body {
	font-size: 12px;
	font-family: arial,sans-serif;
	background: url(img/subpage_body_bg.jpg) repeat-x top left;
}

body.home.page { /* Special background for home page */
	background: url(img/home_body_bg.jpg) repeat-x top left;
} 

#container {
	width: 1100px;
	margin: 8px auto;
}



/*** General link/ text styling ***/
a:visited {
	color: #fff;
}

a:active {
	position: relative;
	top: 1px;
	left: 1px;
}

a:hover {
	text-decoration: underline;
}

.menu-header a:hover {
	text-decoration: none;
}

small {
	font-size: 15px;
}

label {
	font-size: 13px;
	width: 150px;
	line-height: 42px;
	text-shadow: 1px 1px 0 #fcfcfc;
}



/*** Top bar styling ***/
h1#logo {
	background: url(img/logo.png) top left no-repeat;
	text-indent: -9999px;
	width: 185px;
	height: 65px;
	margin-left: -20px;
}

.menu-header {
	float: left;
	height: 69px;
	background: url(img/header_separator.png) right center no-repeat;
	width: 735px;
}

.menu-header li {
	float: left;
	text-align: center;
	width: 120px;
}

.menu-header a {
	font-family: aller_light, arial, sans-serif;
	font-size: 17px;
	color: #ddd;
	line-height: 65px;
}

.menu-header a:hover {
	color: #eee;
}

.menu-header .current_page_item a {
	color: #fff;
}

.menu-header ul.children {
	display: none;
}

.menu-header, #contact_info {
	text-shadow: 1px 1px 0 #000;
}

#contact_info {
	width: 155px;
	margin-top: 1px;
}

#contact_info p, #contact_info a {
	font-size: 11px;
	color: #fff;
	margin: 1px 0;
}

#contact_info p.phone {
	font-size: 22px;
	padding-left: 28px;
	background: url(img/contact_icons.png) left top no-repeat;
	letter-spacing: 0.04em;
	margin-top: 2px;
	line-height: 24px;
}

#contact_info a.email {
	padding-left: 23px;
	background: url(img/contact_icons.png) left bottom no-repeat;
}



/*** Teaser area styles ***/
#headline {
	height: 130px;
	color: #fff;
	text-shadow: 1px 1px 0 #979b31;
	width: 1000px;
	overflow: hidden;
}

body.home.page #headline { /*** Special styling for home page ***/
	height: 256px;
	padding: 40px 350px 0 60px;
	background: url(img/back_pain.jpg) no-repeat right bottom;
	width: 720px;
}

#headline h1 {
	font-size: 52px;
	color: #fff;
	letter-spacing: 0.03em;
	line-height: 130px;
	font-family: modata,arial,sans-serif;
	padding-left: 1px;
}

body.home.page #headline h1 { /*** Special styling for home page ***/
	line-height: 60px;
	font-size: 60px;
	padding-bottom: 8px;
}

#headline h2 {
	font-size: 20px;
	color: #fff;
	line-height: 25px;
	margin-top: 10px;
	padding-bottom: 25px;
	background: url(img/teaser_separator.png) no-repeat bottom right;
	width: 700px;
}

.cta_button {
	background-color: #acb23a;
	padding: 4px;
	margin: 18px 15px 0 0;
	-moz-border-radius: 22px;
	-webkit-border-radius: 22px;
	width: 175px;
	text-align: center;
} 

.cta_button a {
	color: #f4f4f4;
	font-size: 18px;
	background-color: #6e6e6e ;
	background-image: -moz-linear-gradient(0% 100% 90deg, #535353, #838383);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#838383), to(#535353));
	-moz-border-radius: 18px;
	-webkit-border-radius: 18px;
	padding: 6px 0;
	-moz-box-shadow: 0 0 10px #d7dc65;
	text-shadow: 1px 1px 0 #000;
	width: 175px;
}

.cta_button a:hover {
	text-decoration: none;
	color: #fff;
}

#headline p {
	margin-top: 25px;
	line-height: 23px;
	font-size: 14px;
	width: 450px;
}



/*** Content area styles ***/
#content {
	padding: 25px 0 40px 0;
	min-height: 500px;
	width: 1100px;
	overflow: hidden;
}

#main_content {
	width: 770px;
	color: #999;
	font-size: 16px;
	line-height: 1.5em;
}

#main_content h1, #main_content h2 {
	margin: 10px 0;
	font-family: arial, sans-serif;
	color: #999;
}
	/*** Headline styling ***/
	#main_content h1 {
		font-size: 22px;
	}
	
	#main_content h2 {
		font-size: 18px;
	}
	
	#main_content h3, #main_content h4, #main_content h5 {
		font-size: 14px;
	}
	
	#main_content h6 {
		font-size: 18px;
		padding-bottom: 20px;
		border-bottom: 1px dotted #ddd;
	}

#main_content p {
	padding-bottom: 20px;
}

#main_content a {
	color: #c1c741;
}

#main_content ul {
	padding-left: 15px;
	margin-left: 5px;
}

#main_content li {
	list-style: disc outside none;
	padding-left: 7px;
}


	
	/*** Image styling ***/
	#main_content img {
		box-shadow: 0 0 3px #bbb;
		-webkit-box-shadow: 0 0 3px #999;
		border: 5px solid #fff;
	}
	
	#main_content img.alignleft {
		margin: 7px 14px 7px 0;
	}
	
	#main_content img.alignright {
		margin: 7px 0 7px 14px;
	}
	
	#main_content .wp-caption {
		text-align:center;
		margin: 0 15px;
	}
	
	#main_content .wp-caption-text {
		padding: 0;
		margin: 0;
		font-size: 12px;
		font-family: arial, sans-serif;
		margin-top: -5px;
	}

#main_content .post-edit-link {
	font-size: 12px;
}

#main_content hr {
	background: none;
	border: none;
	border-bottom: 1px dotted #ccc;
	margin-top: 10px;
}

body.single #main_content img {
	width: 300px;
	margin-left: 1px;
}

	/*** Greybox styling ***/
	#main_content .greybox {
		background: #f6f6f6;
		padding: 10px 20px;
		-moz-border-radius: 18px;
		-webkit-border-radius: 18px;
	}
	
	.page-template-contactpage-php .greybox { /*** Special styling for greybox on contact page ***/
		margin-bottom: 50px;
	}
	
	#main_content .greybox p {
		padding: 0;
	}
	
	.page-template-contactpage-php .greybox .subbox {
		width: 200px;
		margin-right: 20px;
	}
	
	#main_content .greybox h1, #main_content .greybox h2 {
		margin: 0 0 2px 0;
	}
	
	#main_content .greybox hr {
		border: none;
		background: #fff;
		height: 2px;
		margin: 15px 0;
		width: 100%;
	}
	
	#main_content .greybox .subbox label {
		width: auto;
		line-height: 24px;
	}
	
	#main_content .greybox small {
		color: #c1c741;
	}
	
	

/* Sidebar styles */
#sidebar {
	color: #a3a3a3;
}

#sidebar .sidebar_box, #sidebar .widget-container {
	background: #f9f9f9;
	-moz-border-radius: 18px;
	-webkit-border-radius: 18px;
	border: 5px solid #f2f2f2;
	width: 220px;
	min-height: 50px;
	padding: 15px;
	margin-bottom: 20px;
	clear: right;
	line-height: 1.5em;
}

#sidebar .widget-container a {
	color: #c2c73f;
	text-shadow: 1px 1px 0 #fff;
}

#sidebar .widget-container-sub a {
	color: #c2c73f;
	text-shadow: 1px 1px 0 #fff;
}

#sidebar .widget-container p {
	text-shadow: 1px 1px 0 #fcfcfc;
}

#sidebar .widget-title {
	font-size: 18px;
	color: #888888;
	text-shadow: 1px 1px 0 #fff;
	margin-bottom: 4px;
}

#sidebar .textwidget {
	line-height: 20px;
}

#sidebar .widget-container-sub {
	background: none;
	border: none;
	padding-left: 20px;
	margin: 20px 0;
}



/*** Footer styles ***/
#footer {
	width: 100%;
	background: url(img/footer_bg.png) repeat-x bottom #898989;
}

#footer_container {
	margin: 0 auto;
	width: 1100px;
	padding: 20px 0;
	text-shadow: 1px 1px 0 #555;
	color: #cacaca;
}

#footer .widget-container {
	float: left;
	padding: 5px 15px;
	border-right: 1px dotted #999;
	min-height: 150px;
	margin-bottom: 10px;
	width: 332px;
}

#footer .widget-container li {
	font-size: 13px;
	padding: 3px;
}

#footer .widget-title {
	color: #eee;
	font-size: 20px;
	letter-spacing: 0.07em;
	margin-bottom: 5px;
}

#footer #endline {
	border-top: 1px solid #888;
	-moz-box-shadow: -1px 0 0 #444;
	-webkit-box-shadow: 0 -1px 0 #444;
	box-shadow: -1px 0 0 #444;
	padding: 10px 0 0 0;
}

#footer p {
	color: #ddd;
	text-shadow: 1px 1px 0 #555;
}

#footer a {
	color: #d5da4e;
	text-shadow: 1px 1px 0 #555;
}

#footer small {
	font-size: 11px;
}



/*** Blog loop/ single styling ***/
.blogpost {
	margin-bottom: 10px;
	border-bottom: 1px dotted #eee;
	width: 100%;
}

div.meta {
	font-size: 12px;
}

div.meta.top {
	margin: -8px 0 5px 0;
}



/*** From styles ***/
input, textarea {
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border: 1px solid #ddd;
	outline: none;
	margin: 5px 0;
	color: #ccc;
	font-family: arial, sans-serif;
	font-size: 12px;
}

textarea {
	padding: 8px;
}

input[type=text], textarea {
	background: #fff;
	box-shadow: inset 2px 2px 3px #ddd;
	-webkit-box-shadow: inset 2px 2px 3px #ddd;
	-moz-box-shadow: inset 2px 2px 3px #ddd;
}

input[type=text] {
	height: 22px;
	padding: 0 8px;
}

input:focus, textarea:focus {
	border: 1px solid #bbb;
	box-shadow: inset 2px 2px 3px #ccc;
	-webkit-box-shadow: inset 2px 2px 3px #ccc;
	-moz-box-shadow: inset 2px 2px 3px #ccc;
	color: #aaa;
}

input[type=submit] {
	background: #C2C73F;
	padding: 4px;
	text-transform: uppercase;
	color: #fff;
	border: none;
	border: 1px solid transparent;
}

input[type=submit]:hover {
	cursor: pointer;
	border: 1px solid #a1a531;
}

.subbox input[type=radio] {
	margin: 5px 5px 0 5px;
}

.subbox input[type=radio].firstradio {
	margin-left: 10px;
}

.greybox select {
	margin: 12px 8px 0 0;
}

.greybox .subbox select {
	margin: 0;
}

.greybox span {
	font-size: 12px;
}

	/*** Special styling for greybox ***/
	.greybox input[type=text] {
		margin-right: 20px;
		height: 30px;
	}

	/*** Special styling for ask widget ***/
	.widget_ask input {
		margin-right: 10px;
	}
	
	.widget_ask textarea {
		width: 300px;
	}



/*** Misc styles ***/
#map_canvas {
	height: 400px;
	width: 95%;
}

.location_text {
	width: 140px;
}
