/*
Theme Name: Hvilans Skolhem
*/

* {
	margin: 0;
	padding: 0;
}

html {	
	overflow-x: hidden;
}

html, body {	
	height: 100%;
}

body {
	font-size: 11px;
	font-family: Arial;	
	color: #555;
	background: #f8fde1;
	}

a { 
	color: #aab232;
	text-decoration: underline; 
}

a:hover { 
	color: #989f2d;
}



h1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 22px;
	font-weight: normal;
}

h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	font-weight: normal;
}

h3 {
	
}

img { 
	border: 0; 
}

#page {
	width: 942px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -4em;
	}

#header {
	width: 942px;
	float: left;
	}

#logo { 
	margin-top: 18px;
	float: left;
	width: 250px;
}

/* Original menu */

ul#menu { 
	float: right;
	text-align: left;
	list-style: none;
	width: 655px;
	margin-top: 36px;
	padding-bottom: 16px;
	background: url(images/bg-menu.png) no-repeat bottom left;
}

	ul#menu li { 
		float: left;
		padding: 0 15px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 13px;
	}
	
	ul#menu li a { 
		color: #555;
		text-decoration: none;
	}
	
	ul#menu li a:hover { 
		color: #aab232;
	}
	
	ul#menu li.current_page_item a { 
		color: #aab232;
		font-weight: bold;		
	}
	
	ul#menu li.current_page_parent a { 
		color: #aab232;
		font-weight: bold;		
	}	
	
		ul#menu li ul { 
			list-style: none;
		}
		
		ul#menu li.current_page_item ul li a { 
		color: #555;
		font-weight: normal;		
	}

/* Dropdown menu */

.menu {	
	width:655px; 
	position:relative; 
	z-index:100;
	float: right;
	text-align: left;	
	width: 655px;
	margin-top: 28px;
	padding-bottom: 11px;
	background: url(images/bg-menu.png) no-repeat bottom left;
}

/* hack to correct IE5.5 faulty box model */
* html .menu {
	
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	list-style: none;
}

.menu ul ul {
	
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {	
	float: left;
	padding: 0 15px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	position:relative;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	color: #555;
	text-decoration: none;	
	display:block;
	height:30px; 
	line-height:32px; 
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	
	}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	color: #aab232;
}

/* style the second level hover */
.menu ul ul a.drop:hover{
	color: #aab232;
}

.menu ul ul :hover > a.drop {
	color: #aab232;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background:#e2dfa8;
}

/* style the third level hover */
.menu ul ul ul a:hover {
	background:#b2ab9b;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:30px;
	left:-10px; 
	width:auto;
	padding-top: 11px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
	position:absolute; 
	top:0; 
	left:0; 
	border-collapse:collapse;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background:#f4fbd0; 
	color:#444;
	padding-left: 10px;
	width:170px;
	font-size: 11px;
	line-height:29px;
	border-bottom: 1px solid #dfef91;	
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	color: #aab232;
}
.menu :hover > a, .menu ul ul :hover > a {
	color: #aab232;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul {
	visibility:visible; 
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul {
	visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul { 
	visibility:visible;
}


/* This CSS is further CSS so that the current page is highlighted in two levels. */

.menu ul li a.current_page_link {
  	color: #aab232;
	font-weight: bold;
}

.menu ul li a.current_parent {
  	color: #aab232;
	font-weight: bold;
}

.menu ul li ul li a.current_page_link {
  	color: #aab232;
	font-weight: normal;
}


/* General CSS */

#main { 
	width: 942px;
	float: left;
}

#content { 
	width: 350px;
	float: left;
	padding: 60px 0 0 50px;
}
	
	#content.wide { 
	width: 420px;
}

	#content p {
		margin-bottom: 15px;
		line-height: 16px;
		font-size: 12px;
	}
	
	#content ul {
		margin-bottom: 20px;
		margin-left: 15px;
	}
	
	#content li {
		font-size: 12px;
		line-height: 15px;	
		margin-bottom: 5px;
	}
		
	#content h1 {
		margin-bottom: 20px;
	}
	
	#content h1.nomargin {
		margin: 0;
	}
	
	#content h2 {
		margin-bottom:5px;
		margin-top:25px;
	}
	
	#content h2.bottommargin {		
		margin-bottom: 20px;
		margin-top:0;
	}
		
	#content h3 {
		margin-bottom:5px;
		margin-top:25px;
	}
	
	
	/* Speciellt för förstasidan */	
	
	#content.firstpage h1 {
		margin-bottom: 0;
	}
	
	#content.firstpage h2 {
		margin-bottom: 20px;
		margin-top:0;
	}
	
	/* END - Speciellt för förstasidan */


/* Blogginlägg */

#main #bloggheader { 
	border-bottom: 1px dotted #e1e1e1;
	padding: 60px 0 0 50px;
}

	#main #bloggheader h1 {
		float: left;
		padding: 0 0 10px 0;
	}
	
	#main #bloggheader .rss {
		float: right;
		padding: 10px 50px 0 0;
		width: 190px;
	}
	
	#main #bloggheader .rss a {
		color: #666;
		text-decoration: none;
		padding-left: 16px;
		line-height: 16px;
		background: url(/wp-content/uploads/ico-rss.png) no-repeat;		
	}
	
	#main #bloggheader .rss a:hover {
		text-decoration: underline;	
	}

#content .post { 
	width: 420px;
	border-bottom: 1px dotted #e1e1e1;
	margin-bottom: 22px;
}

	#content .post h2 { 
		font-size: 17px;
		margin: 0 0 1px 0;
	}
	
	#content .post h2 a { 
		color: #989F2D;
	}

	#content .post small { 
		font-size: 11px;
		color: #7f8759;
		display: block;
		margin-bottom: 8px;
	}
	
	#content .post .postmetadata {
		clear: both;
	}
	
	
	#content .post span {
		padding-left: 25px;
		float: right;
		text-align: right;
	}


/* Begin Images */
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

/* Begin Sidebar */
#sidebar {
	width: 190px;
	float: right;
	padding: 30px 50px 0 0;
}

#sidebar h3 {
	margin: 30px 0 10px 0;
}
	
#sidebar .blogroll a { 
	display: block;
}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */

/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

.navigation {
	display: block;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dotted #e1e1e1;
	}
	
.navigation.bottom {
	margin-bottom: 60px;
	}
/* End Various Tags & Classes */

/* Begin Lists */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 5px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#respond {
		width: 420px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: left;
	
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: inline;
	font-size: 9px;
	}	

/* End Comments */


/* End Blogginlägg */

#image { 
	width: 500px;
	float: left;
	margin-top: 45px;
	margin-bottom: 15px;
}

#image object {
	outline: none;	
}

#image span { 
	width: 500px;
	height: 50px;
	display: block;
	background:url(images/image-shadow.png) no-repeat;
}


/* Sidebars */
#sidebar-container {
	width: 942px;
	float: left;	
}

.sidebar { 
	width: 275px;
	margin-right: 55px;
	float: left;
}

.sidebar.last { 
	margin-right: 0;
}

.sidebar h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 11px;
	color: #aab232;
	font-weight: normal;
	margin-bottom: 5px;
}


/* Sidebar Puff - Firstpage */
.sidebar.puff h3 {
	background:url(images/ico-kvarnbacken.png) no-repeat;
	padding-left: 31px;
	line-height: 20px;
	display: block;
	margin-top: -3px;
	margin-bottom: 2px;
}

.sidebar.puff .sidebar-inner {
	height: 84px;
	background: url(images/bg-sidebar-puff.png) repeat-x;
	padding: 20px;
	list-style: none;
}

.sidebar.puff .sidebar-inner img {
	float: left;
	margin-right: 15px;	
}

.sidebar.puff .sidebar-inner h2 {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 7px;
	text-transform:capitalize;
}


/* Sidebar Schedule - Firstpage */
.sidebar.schedule h3 {
	background:url(images/ico-schedule.png) no-repeat;
	padding-left: 23px;
	line-height: 20px;
	display: block;
	margin-top: -3px;
	margin-bottom: 2px;
}

.sidebar.schedule .sidebar-inner {
	height: 84px;
	background: url(images/bg-sidebar-schedule.png) repeat-x;
	padding: 20px;
	list-style: none;
}

.sidebar.schedule .sidebar-inner h2 {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 7px;
	text-transform:capitalize;
}

.sidebar.schedule .sidebar-inner h2 span {
	font-size: 11px;
	font-weight: normal;	
	font-family: Arial;
	text-transform: none;
	color: #FC582C;
}

.sidebar.schedule .sidebar-inner h2 span a {
	color: #FC582C;
	text-decoration: none;
}

.sidebar.schedule .sidebar-inner h2 span a:hover {
	text-decoration: underline;
}

.sidebar.schedule .sidebar-inner tr {
	line-height: 20px;	
}

.sidebar.schedule .sidebar-inner td {
	border-bottom: 1px solid #daec76;
}

.sidebar.schedule .sidebar-inner tr.active {
	color: #fc582c;
	font-weight: bold;
}

/* Sidebar Blogg - Firstpage */
.sidebar.blog h3 {
	background:url(images/ico-rss.png) no-repeat;
	padding-left: 16px;
}

.sidebar.blog ul {
	height: 84px;
	background: url(images/bg-sidebar-blog.png) repeat-x;
	padding: 20px;
	list-style: none;
}

.sidebar.blog ul li a {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 2px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #555;
	text-decoration: none;	
}

.sidebar.blog ul li .date {
	display: block;
	color: #7f8759;
	margin-bottom: 6px;
}


/* Sidebar Gallery - Firstpage */
.sidebar.gallery h3 {
	background:url(images/ico-gallery.png) no-repeat;
	padding-left: 32px;
	line-height: 18px;
	display: block;
	margin-top: -3px;
	margin-bottom: 2px;
}

.sidebar.gallery .sidebar-inner {
	height: 84px;
	background: url(images/bg-sidebar-blog.png) repeat-x;
	padding: 20px;
	list-style: none;
}

.sidebar.gallery .sidebar-inner h2 {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 2px;
}

	.sidebar.gallery .sidebar-inner h2 a {
		color: #555;
		text-decoration: none;	
	}

.sidebar.gallery .sidebar-inner p.date {
	display: block;
	color: #7f8759;
	margin-bottom: 5px;
}


#footer, .push {
	height: 4em;
}

#footer {
	width: 100%;
	height: 120px;
	margin-top: 20px;
	background: #f8fde1 url('images/bg.png') repeat-x bottom left;
}

#footer-inner {
	margin: 0 auto;
	width: 942px;
	padding-top: 70px;
}

#footer p {
	text-align: center;
	margin-bottom: 5px;
	color: #60702d;
}

#footer p.copyright {
	color: #82934a;
}

#footer p.copyright a {
	color: #82934a;
}

#footer p a {
	color: #60702d;
	text-decoration: none;	
}

#footer p a.rss {
	background:url(/wp-content/uploads/ico-rss.png) no-repeat;
	padding-left: 16px;
	display: inline;
}

#footer p a:hover {
	text-decoration: underline;	
}
	
/* CLEAR AND CLEARFIX*/
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}
.clear {
    clear:both;
    height:1px;
    overflow:hidden;
}
