/*
Theme Name: affreal1
Theme URI: http://www.clearsense.se
Description: Grundmall 1 - Horisontell topmeny under header
Version: 1.0
Author: ClearSense
Author URI: http://www.clearsense.se
*/


/******************* Grundstruktur start *******************/
/*        Body, page, header, content, meny, footer        */
/*        Body-taggen är ROOT när det gäller stilar.       */
/***********************************************************/
body
{
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background: #FFFFFF url('images/background_tile.png') top center repeat;
	color: #333;
	text-align: center;
	margin: 0;
	padding: 0;
	height: 100%;
}

#header h1
{
	color:black;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	margin: 15px 500px 0 0;
	text-decoration: underline;
}

/*drop down menu*/
#dropmenu li.current_page_ancestor > a,
#dropmenu li.current_page_parent > a,
#dropmenu li.current_page_item > a
{
	color: red;
}

#dropmenu li.current_page_ancestor > a:hover,
#dropmenu li.current_page_parent > a:hover,
#dropmenu li.current_page_item > a:hover
{
	color: blue;
	background:#888888;
}

#dropmenu
{
	width: 100%;
	background:#fff; 
	height: 20px;
}

#dropmenu, #dropmenu ul 
{
	margin:0;
	padding:0;
	list-style-type:none; 
	list-style-position:outside; 
	position:relative; 
	line-height:1.5em; 
	z-index:300;
	font-weight:bold;
}

#dropmenu a 
{
	display:block; 
	padding:0.25em 1em; 
	color:#686868; 
	border-right:1px solid #c8c8c8; 
	text-decoration:none; 
	background:#fff;
}

#dropmenu a:hover 
{
	background:#888; 
	color:#fff;
}

#dropmenu li 
{
	float:left; 
	position:relative;
}

#dropmenu ul
{
	position:absolute; 
	display:none; 
	width:12em; 
	top:1.9em; 
	left:-1px;
}

#dropmenu ul a 
{
	border-left:1px solid #c8c8c8;
}

#dropmenu li ul 
{
	border-top:1px solid #c8c8c8; 
	width:14.1em;
}

#dropmenu li ul a 
{
	width:12em; 
	height:auto; 
	float:left;  
	border-bottom:1px solid #c8c8c8;
}

#dropmenu ul ul 
{
	top:auto;
}

#dropmenu li ul ul 
{
	left:12em; 
	margin:0px 0 0 10px;
}

#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul 
{
	display:none;
}

#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul 
{
	display:block;
}

#dropmenu li li a:not(:last-child)
{
	background: #ffffff url('images/arrowInd.png') no-repeat 100% 50%;
}

#dropmenu li li a:hover:not(:last-child)
{
	background:#888888 url('images/arrowInd2.png') no-repeat 100% 50%;
}

/*drop down slut*/

#page
{
	background-color: white;
	text-align: left;
	margin: 0 auto;
	padding: 0;
	padding: 5px 0;
	width: 800px;
	min-height: 100%;
	border-left:1px solid #EDEDED;
	border-right: 1px solid #EDEDED;
}

#header
{
	background: url('images/headbg.png') no-repeat;
	width: 800px;
	height: 170px;
	margin:0 auto;
	padding:6px 0 4px;
	position:relative;
}


#content_begin_front
{
	height:30px;
	text-align:center;
	width:100%;
}

#headercontainer
{
	padding: 0;
	margin: -180;
	height: 180px;
	clear: both;
	background: url('images/headercontbg.png') repeat-x scroll center top;
	border: none;
}


#index
{
	overflow:auto;
	padding-bottom: 150px;
}

#smallad
{
	margin-left:-20px;
}

#bigad
{
	margin-top:30px;
	margin-left:-20px;
	border: 1px solid black;
	width: 760px;
}

#left, #right,#middle
{
	background: #fff;
	width: 253px;
	display: table-cell;
	height: 253px;
}

#topcenter
{
	background: url('images/Topimg.gif') no-repeat;
	width: 760px;
	height: 180px;
}

#cslogo
{
	margin:0;
	padding: 0 10px 0 0;
	float: right;
	background: url('images/cslogo.png') no-repeat;
	width: 90px;
	height: 40px;
}

#cslogo a
{
	display: block;
	width: 90px; 
	height: 40px; 
}

#topcenter a
{
	display: block;
	width: 760px; 
	height: 180px; 
}

#left a, #right a, #middle a
{
  display: block;
  width: 253px; 
  height: 253px; 
}

#content
{
	font-size: 1.2em;
}

#rss
{
	float: right;
	margin-top: -10px;
	background: url('images/rss.png') no-repeat;
	width: 50px;
	height: 50px;
}

#rss a
{
	display: block;
	width: 50px; 
	height: 50px; 
}


#content table
{
	width:760px;
	margin-left:-20px;
	table-layout: fixed;
}

#content table td
{
	border: 2px solid #333;
	vertical-align: top;
	text-align: left;
}

#content table td h4
{
	text-decoration:underline;
}

.contentcolumn
{
	padding: 0 20px	;
	margin: 0 auto;
	width: 720px;
}

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

.contentcolumn .entry
{
	line-height: 1.4em;
}

.contentcolumn
{
	line-height: 1.6em;
}

.contentcolumn .postmetadata
{
	text-align: center;
}

#footer
{
	height: 150px;
	font-size:10px;
	margin:0 auto;
	padding:6px 0 4px;
	width:800px;
	background: #e5e5e5 url("images/footerborder.jpg")top left repeat-x;
}

#footer p
{
	margin: 0;
	padding: 20px 100px 0 0;
	text-align: center;
}

#footer ul
{
	list-style-type: none;
	float: left;
}

#footer ul li
{
	padding: 5px 0 5px 0;
}

#footer ul li a
{
	list-style-type: none;
	text-align: left;
	color: black;
	text-decoration: underline;
}

#footer ul li a:hover
{
	color: blue;
}


/********************** Grundstruktur slut **********************/


/******************* Innehåll struktur start *******************/
/*                     Post, postmetadata                      */
/***************************************************************/

.post {
	margin: 0 0 40px;
	text-align: justify;
	}

.contentcolumn .post
{
	margin: 0;
}

.post hr {
	display: block;
	}

.contentcolumn .postmetadata {
	padding-top: 5px;
	}

.contentcolumn .postmetadata {
	margin: 30px 0;
	}

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

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

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}
/********************* Innehåll struktur slut ******************/

/****************** Text/Länk-stilar start ***********************/
/*            description, länkar,  small, sticky                */
/*****************************************************************/
.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

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

#headerimg .description {
	font-size: 1.2em;
	text-align: center;
	}

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

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
	}

.commentmetadata {
	font-weight: normal;
	}

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

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, 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: #06c;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

/******************* Text/Länk-stilar slut ***********************/



/******************** Rubrikstaggar start ************************/
/*               h1, h2, h3 i content/sidebar                    */
/*****************************************************************/
h1, h2, h3
{
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
}

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

h1
{
	padding-top: 70px;
	margin: 0;
}

h2
{
	margin: 30px 0 0;
}

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

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

h3
{
	padding: 0;
	margin: 30px 0 0;
}

h3.comments
{
	padding: 0;
	margin: 40px auto 20px ;
}

h2
{
	font-size: 1.6em;
}

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

#sidebar h2
{
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.2em;
}

h3
{
	font-size: 1.3em;
}

h1,
h1 a,
h1 a:hover,
h1 a:visited,
#headerimg .description
{
	text-decoration: none;
	color: white;
}

h2, 
h2 a, 
h2 a:visited, 
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;
}

.sticky h2
{
	padding-top: 10px;
}

/********************* Rubrikstaggar slut ************************/


/************************ Bilder start ***************************/
/*    Positionjusteringar och css-stilar för samtliga bilder.    */
/*****************************************************************/
p img
{
	padding: 0;
	max-width: 100%;
}

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;
}
/************************ Bilder slut ***************************/


/********************* List-element start ***********************/
/*         List-element i innehåll (.entry) - ul li.            */
/****************************************************************/

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;
}

/********************* List-element slut ************************/

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

.entry form
{
	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:after
{
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
}

#commentform #submit
{
	margin: 0 0 5px auto;
	float: right;
}

/******************** Form-element slut ************************/


/********************* Kommentarer start ***********************/
/*   Kommentar-fälten under varje single-inlägg. (Single.php)  */
/***************************************************************/
.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: block;
}

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

.commentlist li
{
	font-weight: bold;
}

.commentlist li .avatar
{ 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
}

.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;
}

/********************* Kommentarer slut ************************/



/*********************** Sidebar start *************************/
/*           Sidebaren är inaktiv i php från början.           */
/*      Ta bort "//" innan get_sidebar(); i page.php osv.      */
/***************************************************************/
#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 545px;
	width: 190px;
}

#sidebar form
{
	margin: 0;
}

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

#sidebar #searchsubmit
{
	padding: 1px;
}

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

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

#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;
}

/*********************** Sidebar slut *************************/



/********************** Kalender start ************************/
/*              Gjort för WP's inbyggda 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
{
	background-color: #fff;
}

#wp-calendar #prev a, #wp-calendar #next 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;
	}

/********************** Kalender slut *************************/



/* 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;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/*************** Bildtext start (captions) *******************/
/*      Rutan som syns under bilder med beskrivning          */
/*            .wp-caption, .wp-caption-text                  */
/*************************************************************/
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/**************** Bildtext slut (caption) ********************/
