/*  
Theme Name: KVS-Lyngdal
Theme URI: http://www.kvs-lyngdal.no
Author: Torjus Andersen
Author URI: http://www.thinkfuzzy.net

/* Begynner typografi & farger */

/*
* {
	margin: 0;
	padding: 0;
	}
*/

#wrap #samlediv #main .post .entry .wp-smiley, #wrap #samlediv #main .post .entrytext .wp-smiley, #wrap #samlediv #main #kommentardel .commentlist .wp-smiley {

	border: 0;

	padding: 0;

	margin: 0;

	float: none;

}

#fronter {
	background: url(/wp-content/themes/kvs/images/fronter.png); 
	margin: 30px 0 0 30px;
	width: 120px;
	height: 28px;
	display: block;
}

body {
	font-size: 62.5%; /* Stiller 1em til 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background: url(images/bodybg.jpg) center top;
	color: #333;
	text-align: center;
	}

#wrap {
	background-color: white;
	text-align: left;
	}

#main {
	font-size: 1.2em
	}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

#footer {
	background-color: #eee;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	}

h1 {
	font-size: 4em;
	text-align: center;
	}

h2.pagetitle {
	font-size: 1.6em;
	}

h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited {
	text-decoration: none;
	color: white;
	}

h2, h2 a, h2 a:visited {
	color: #ff7a00;
	}
	 
h3, h3 a, h3 a:visited {
	color: #333;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
	
.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, .postmetadataindex ,  blockquote, strike {
	color: #777;
	}
	
code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #52b6ca;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}
	
#wp-calendar #prev a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* Slutter typografi & farger */



/* Begynner strukturen */
body {
	margin: 0;
	padding: 0; 
	}
	
#ytterwrap {
	width: 854px;
	margin: 0 auto;
	padding: 0;
	}
	#flashknapper {	width: 37px;	float: left;	display: inline;}	
#presentasjon {
	background: url(images/presentasjon.png) no-repeat;
	width: 37px;
	height: 199px;
	display: block;
	margin-top: 151px;
	}	#fasiliteter {	background: url(images/fasiliteter.png) no-repeat;	width: 37px;	height: 94px;	display: block;	}	#kommentarer {	background: url(images/kommentarer.png) no-repeat;	width: 37px;	height: 127px;	display: block;	}		
	
#kalender {
	background: url(images/kalender.png) no-repeat;
	width: 37px;
	height: 556px;
	display: block;
	float: right;
	margin-top: 151px;
	}

#wrap {
	background: url(images/wrapbg.jpg) repeat-y;
	margin: 0 auto;
	padding: 0;
	width: 780px;
	}
	
#main  {
	float: left;
	padding: 20px 0 20px 0px;
	margin: 0px 0 0;
	width: 518px;
	background: url(images/maintopp.jpg) no-repeat top;
}

#samlediv{
	float: left;
	width: 520px;
	}

	
#header {
	padding: 0;
	margin: 0;
	width: 518px;
	height: 130px;
	background: url(images/header.jpg) no-repeat top left;
	display: block;
	}
	
#meny {
	padding: 2px 0 0 0px;
	margin: 0;
	width: 518px;
	height: 19px;
	background: url(images/meny/menybg.jpg) no-repeat top left;
	font-family: Trebuchet MS;
	font-size: 1em;
	font-weight: bold;
	color: white;
	}
	
#meny li.current_page_item a {
	background: url(images/meny/topp.png);
	font-weight: bold;
	color: black;
	width: 106px;
	height: 17px;
	padding-top: 2px;
	position: absolute;
	}

#meny ul  .topp {
	background: url(images/meny/topp.png);
	display: block;
	width: 106px;
	height: 17px;
	padding-top: 2px;
}

#meny a:active{
	color: black;
}

#meny ul li .midt {
	background: url(images/meny/midt.png);
	width: 106px;
	height: 17px;
	padding-top: 2px;
}

#meny ul li .bunn {
	background: url(images/meny/bunn.png);
	width: 106px;
	height: 17px;
	padding-top: 2px;
}


#meny ul {
list-style: none;
margin: 0;
padding: 0;
width: 106px;
float: left;
margin-right: 5px;
}

#meny ul li span{
	padding-left: 4px;
}

#meny ul li ul{
margin-left: 0px;

}

#meny ul li ul li{
height: 19px;
}

#meny ul li img{
	height: 19px;
}

#meny a, #meny h2 {

display: block;
margin: 0;

}


#meny img {
	border: 0;
	margin: 0;
	padding: 0;
}

#meny a {
	color: white;
text-decoration: none;
}

#meny a:hover {
color: grey;
}

#meny li {position: relative;}

#meny ul ul {
position: absolute;
z-index: 500;
}

#meny ul ul ul {
position: absolute;
top: 0;
left: 100%;
}

div#meny ul ul,
div#meny ul li:hover ul ul,
div#meny ul ul li:hover ul ul
{display: none;}

div#meny ul li:hover ul,
div#meny ul ul li:hover ul,
div#meny ul ul ul li:hover ul
{display: block;}
	
#main .post {
	margin: 0 0 20px 20px;
	text-align: justify;
	width: 470px;
	}
		
#main .post .entry img, #main .post .entrytext img {
	padding: 3px 2px 3px 3px;
	border: 1px #d0d0d0 solid;
	margin-left: 5px;
	}
	
	#main .post .entry, #main .post .entrytext {
	line-height: 1.4em;
	}
	
	
#main .posted {
	font-family: Trebuchet MS;
	font-size: 0.8em;
	color: #aaa9a9;
	letter-spacing: 0px;
	}
	
		
#main .posted span {
	margin-right: 10px;
	}


#main .postmetadata {
	padding-top: 5px;
	margin: 30px 0;
	text-align: center;
	clear: both;
	}
	
#main .postmetadataindex {
	padding-top: 5px;
	margin: 20px 0;
	font-size: 0.9em;
	text-align: right;
	}

#main .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

#main .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata, .postmetadataindex  {
	clear: left;
}

#footer {
	padding: 0 0 0 1px;
	margin: 0 auto;
	width: 780px;
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
	
#sisteinnlegg {
	margin: 0 0 40px 20px;
	width: 470px;
	}

#sisteinnlegg h2 {
	padding: 9px 0 0 13px;
}

#sisteinnlegg li {
	display: block;
	width: 100%;
	border-bottom: 1px solid #777;
	font-size: 0.9em;


}

#sisteinnlegg li a{
	color: #444444;
	width: 100%;
	display: block;
}

#sisteinnlegg .r{

}

div#sisteinnlegg .l{
float: left;
width: 88%;
}

#sisteinnlegg li a:hover{
	color: #444444;
	text-decoration: none;
}


#sisteinnlegg li:hover {
	border-color: #000;
	text-decoration: none;
}

#sisteinnlegg ul {
	margin: 5px 0 0 15px;
	padding: 0;
	line-height: 16px;
}

#sisteinnlegg li {
	list-style-image: url(images/listbullet.gif);
	margin: 0;
	padding: 0;
}




/* Slutter strukturen */



/*	Begynner overskrifter */
h1 {
	padding-top: 70px;
	margin: 0;
	}

h2 {
	margin: 30px 0 0;
	background: url(images/h2bg.gif) repeat-x; 
	height:30px; 
	padding: 5px 0 0 0px; 
	margin: 0;
	color: #ff7a00;
	letter-spacing: -1px;
	font-family: Georgia;
	line-height: 1.2em;
	font-size: 22px;
	font-weight: normal;
	}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}



#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	background: none;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	letter-spacing: -1px;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* Slutter overskrifter */



/* Begynner bilder */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Hvis du bruker 'class="alignright"' paa et bilde vil det (overraskelse!)
	hoyrestilles. Og bruker du 'class="centered' blir bildet selvsagt sentrert.
	Dette er mye bedre enn aa bruke align="center",
	det er baade riktig maate aa skrive kode paa og mye mer framtidssikkert. */
	
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
	}
/* Slutter bilder */



/* Begynner lister

	Spesielle, stilige punkter til punktlister.
	De funker nok dessverre ikke i Internet Explorer,
	den nettleseren viser bare vanlige punkter. */

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

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



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

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

.postmetadata ul, .postmetadata li, .postmetadataindex  ul, .postmetadataindex  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: url(images/listbullet.gif);
	margin-bottom: 15px;
	}

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

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

#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 0;
	padding: 0;
	}
/* Slutter lister */



/* Begynner skjemaelementer */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

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

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* Dette er hovedsaklig for at passordbeskyttede innlegg skal se bedre ut. */
	text-align:center;
	}

select {
	width: 130px;
	}

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

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* Slutter skjemaelementer */



/* Begynner kommentarer */
.alt {
	margin: 0;
	padding: 10px;
	}

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

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

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

#commentform p {
	margin: 5px 0;
	}

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

.commentmetadata {
	margin: 0;
	display: block;
	}
/* Slutter kommentarer */



/* Begynner sidekolonnen */
#sidebar
{
	padding: 20px 0 10px 0px;
	width: 262px;
	background: url(images/sidebartopp.jpg) repeat-x  top;
	float: left;
	margin-left: -2px;
	}

#sidebar form {
	margin: 0;
	}

#sidebar #sbsl42_1 {
	margin: 10px 0 0 10px;
}	

#sidebar .sidebarbox {
	width: 226px;
	display: block;
	margin: 0 auto;
	margin-bottom: 30px;
}


#sidebar .sidebarboxtopp h2 {
	font-family: 'Trebuchet MS', Verdana, Sans-Serif;
	font-size: 1.7em;
	color: #fff;
	text-transform: uppercase;
	margin-left: 15px;
	margin-top: 11px;
}

#sidebar .sidebarboxtopp {
	background: url(images/sidebar/sidebarboxtopp.png) bottom no-repeat;
	width: 226px;
	height: 33px;
	float: left;
}

#sidebar .sidebarboxmidt {
	background: url(images/sidebar/sidebarboxmidt2.png) top repeat-y;
	width: 226px;
	float: left;
}

#sidebar .sidebarboxinnhold  {
	background: #FFFFFF url(images/sidebar/sidebarboxinnhold.png) top no-repeat;
	float: left;
	margin-left: 11px;
	width: 204px;
	min-height: 117px;
}

#sidebar .sidebarboxinnhold-nobg  {
	background: #FFFFFF url(images/sidebar/sidebarboxinnhold.png) top no-repeat;
	float: left;
	margin-left: 11px;
	width: 204px;
}

#sidebar .sidebarboxinnhold select {
	margin: 20px 0 0 30px;
}

#sidebar .sidebarboxinnhold ul {
	margin: 15px 0 0 20px;
}

#sidebar .sidebarboxinnhold ul li{
	padding: 0;
	margin: 4px 0 0 0;
}

#sidebar .sidebarboxinnhold ul li ul{
	padding: 0;
	margin: 5px 0 0 15px;
}

#sidebar .sidebarboxinnhold ul li ul li{
	list-style-image: url(images/pil.png);
}

#sidebar .sidebarboxbunn {
	background: url(images/sidebar/sidebarboxbunn.png) no-repeat;
	display: block;
	width: 226px;
	height: 21px;
	float: left;
}
	
#sidebar .loginform {
	margin-left: 0px;
}

#sidebar .loginform form {
margin: 15px 0px 15px 15px;
}

#sidebar .loginform ul li{
	list-style-image: none;
}

#sidebar .loginform ul li ul{
	margin-top: 5px;
}

#sidebar .loginform ul li ul li{
	list-style-image: url(images/listbullet.gif);
	padding: 0;
	margin: 0 0 0 -10px;
	line-height: 1.4em;
}

.sidebarboxinnhold .sidebarboxinnholdliste ul {
	
}
	
/* Slutter sidekolonnen */



/* Begynner kalender */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* Slutter kalender */



/* Begynner diverse tagger og klasser */
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;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	margin-left: 20px;
	}
	
.redigerdetteinlegget {
	margin-left: 20px;
	}
	
.capitalize {
	text-transform: capitalize;
	display: inline;
	}
	
#kommentardel {
	margin-left: 20px;
	margin-right: 20px;
	}
/* Slutter diverse tagger og klasser */

/* Diverse */

#kvsframsidelogo {
	background: url(images/kvsframsidelogo.png) no-repeat;
	width: 240px;
	height: 40px;
	display: block;
	margin: 0 auto;
	margin-top: 20%;

}

.sidebarboxinnhold #kalendertest li {
	list-style: none;
}

.sidebarboxinnhold #kalendertest p {
	text-align: center;
}



/* Datolapp */
.theDate {
	width: 34px;
	height: 42px;
	margin: 8px 10px 0px 5px; /* T R B L */
	padding: 3px 0 0 0;
	float: left;
	text-align: center;
    font-family: georgia, times, serif;

    background:url(images/datolapp.png) no-repeat;
	color: #666;
}

.theMonth {
	text-transform: capitalize;
	padding-top: 3px;
}


.theDate .theMonth, .theDate .theDay {
	display: block;
	font-size: 12px;
}



.theDate .theDay {
	font-size: 16px;
	margin: -2px 0 2px 0; /* T R B L */
}



/* profil */

dl {	margin:1em 0;}
dt {	font-weight:bold;}
dd {margin:0.5em;}


