/* ----------------------------------------------------------------------
Ruby Red Style Sheet @ Orsaskolan

author: David Andersson
email: david@smider.se
website: www.smider.se
---------------------------------------------------------------------- */

/* ####################### Attributselektorer ######################## */

body {
	background: url(../../images/site/d01/bg.png) fixed repeat-y 50% 0;
	font: normal 62.5% Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	width: 100%;
}

fieldset { 
	border: 1px solid #000;
}

h1, h2, h3, h4 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

h1 {
	background: #fff;
	color: #666;
	font: normal 4em Arial, Helvetica, sans-serif;
	letter-spacing: -1px;
	margin-bottom: 0;
}

h2 { font-size: 1.6em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }

hr { 
	border-color: #ccc;
}

input {
	font: normal 1.1em Tahoma, Verdana, sans-serif;
}

legend {
	background: #cc0000;
	border: 2px solid #aa0000;
	color: #fff;
	font: bold 1.2em "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding: 0 10px;
}

p  {
	font: normal 1.1em Verdana, Arial, Helvetica, sans-serif;
}

ul {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
 
/* ################### Positionering av element ###################### */

#container {
	background: url(../../images/site/d01/headerBg.png) repeat-x;
	width: 100%;
}

#header {
	margin: 0 auto;
	padding: 0 10px;
	width: 950px;
}

/* Sidhuvud
---------------------------------------------------------------------- */
#logo {
	background: url(../../images/site/d01/logo.png) no-repeat 0 0;
	display: block;
	float: left;
	font: normal 45px "Century Gothic", "Trebuchet MS", Arial, Helvetica, sans-serif;
	height: 75px;
	margin: 32px 0 40px;
	text-indent: -10000px;
	width: 350px;
}

/* Huvudmeny */
#menuContainer {
	background: #c00 url(../../images/site/d01/menuBgTop.gif) no-repeat 0 0;
	float: left;
	margin: 0 0 10px;
	width: 950px;
}

#menu {
	background:  url(../../images/site/d01/menuBgBottom.gif) no-repeat 0 100%;
	clear: both;
	float: left;
	width: 950px;
}

#menu ul {
	padding: 0 10px;
	width: 930px;
}

#menu ul li a {
	background: #c00;
	color: #fff;
	display: block;
	font: normal 1.8em Arial, Helvetica, sans-serif;
	letter-spacing: 2px;
	padding: 4px 10px 3px 10px;
	text-decoration: none;
}

#menu ul li a:hover {
	background: #c00;
	color: #fff;
}

#menu ul li.currentTopMenu a.currentTopMenu {
	background: #900;
	color: #fff;
}

#menu ul ul {
	background: none;
	padding: 0;	
}

#menu ul ul li a {
	background: #b00;
	border-bottom: 1px solid #a00;
	color: #eee;
	display: block;
	font: normal 1.1em Arial, Helvetica, sans-serif;
	padding: 7px 0 7px 10px;
	text-transform: uppercase;
	width: 15em;
}

#menu ul ul li a.haveSubMenus {
	background: #b00 url(../../images/site/d01/redMenuArrow.gif) no-repeat 95% 50%;
	color: #eee;
}

#menu ul ul li:hover a {
	background: #c00;
	color: #fff;
}

#menu ul ul li:hover a.haveSubMenus {
	background: #c00 url(../../images/site/d01/redMenuArrowHover.gif) no-repeat 95% 50%;
	color: #fff;
}

#menu ul ul .haveSubMenus ul li a {
	background: #b00;
	color: #fff;
}

#menu ul ul ul:hover li a {
	background: #c00;
	color: #eee;
}

#menu ul ul .haveSubMenus ul li a.haveSubMenus {
	background: #b00 url(../../images/site/d01/redMenuArrow.gif) no-repeat 95% 50%;
	color: #eee;
}

#menu ul ul ul:hover li a.haveSubMenus {
	background: #c00 url(../../images/site/d01/redSubMenuArrow.gif) no-repeat 95% 50%;
	color: #eee;
}

#menu ul ul ul li a.haveSubMenus:hover {
	background: #d00 url(../../images/site/d01/redSubMenuArrowHover.gif) no-repeat 95% 50%;
	color: #fff;
}

#menu ul ul ul li a:hover {
	background: #d00;
	color: #fff;
}
/* --------- */

#search {
	float: right;
	margin: 0 0 10px;
	width: 180px;
}

#search form {
	margin: 0;
	padding: 0;
}

#search input {
	clear: right;
	float: right;
	font: bold 1em Verdana, Arial, Helvetica, sans-serif;
	margin: -1px 0 0;
	max-width: 25%;
	padding: 1px 3px;
}

#search form #searchInput {
	float: left;
	font-size: 1em;
	margin-top: 0;
	margin-right: 3px;
	max-width: 74%;
	padding: 2px 2px 1px;
	width: 124px;
}

/* ------------------------------------------------------------------- */
#content {
	background: #fff;
	clear: both;
	color: #000;
	margin: 0 auto;
	padding: 0 10px 10px;
	width: 950px;
}

#leftColumn {
	float: left;
	margin: 0 15px 0 0;
	overflow: hidden;
	width: 180px;
}

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

#rightColumn {
	float: right;
	overflow: hidden;
	width: 180px;
}

/* Sidfot
---------------------------------------------------------------------- */
#pageFooter {
	background: #fff;
	color: #000;
	clear: both;
	margin: 0 auto;
	max-width: 99%;
	padding: 10px 10px 5px;
	width: 95em;
}

#pageFooter p, #pageFooter a {
	background: #fff;
	color: #777;
	font: normal 1em Tahoma, Verdana, sans-serif;
	margin: 0 10px;
	text-transform: uppercase;
}

#pageFooter p {}
#pageFooter a { }

#pageFooter .footerLink {
	clear: right;
	float: right;
	margin: 0 10px 3px 0;
}

/* ############################ Blandat ############################## */

/* artikelstruktur */
.article {}

.article h1 {
	margin-top: 0;
}

.article table {
	text-align: left;
	width: 100%;
}

#articleIntro {
	font: bold 1.4em Arial, Helvetica, sans-serif;
}

#articleIntro p {
	font: bold 1em Arial, Helvetica, sans-serif;
}

#articleContent {
	font-size: 1.1em;
}

#articleContent p {
	font-size: 1em;
}
/* --------------- */

/* artikellistning */
.articleIntro {
	font-size: 1.1em;
}

.articleIntro p {
	font-size: 1em;
}
/* --------------- */

.rowOdd, .rowOdd a { 
	background: #ccc;
	color: #000;
}

.rowEven, .rowEven a { 
	background: #eee;
	color: #000;
}

.userList_hover {
	background: #cc0000;
	color: #fff;
}

#slideshow {
	display: inline;
	margin: 10px 10px 15px 0;
}

#headExtras {
	margin: 0
}

/* Moduler
---------------------------------------------------------------------- */
.module {	
	margin: 0;
	overflow: hidden;
}

.module .moduleHeader, #personalMenuContainer span {
	background: url(../../images/site/d01/moduleHeaderBgBottom.png) no-repeat 0 100%;
	clear: both;
	display: block;
	margin: 0 0 10px;
	padding: 0 0 5px;
}

#module_7 .moduleHeader, #module_8 .moduleHeader {
	display: none;
}

.module .moduleHeader h2, #personalMenuContainer span a {
	background: #9a0000 url(../../images/site/d01/moduleHeaderBgTop.png) no-repeat 0 0;
	color: #fff;
	font: bold 1.6em/1em "Trebuchet MS", Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
	margin: 0;
	padding: 5px 10px 0;
}

#personalMenuContainer span a {
	display: block;
	text-decoration: none;
}

.module ul {
	list-style: none;
	margin: 10px 0 0 20px;
	padding: 0;
}

#rightColumn .module ul {
	margin-left: 10px;
}

.module ul li {}

.module ul li a {
	border: none;
}

.module .moduleFooter {
	margin-bottom: 20px;
}

/* Länkar - generella inställningar
---------------------------------------------------------------------- */
a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.article a, #articleActions a {
	color: #36c;
}

.article a:visited, #articleActions a:visited {
	color: #93c;
}

/* Undermeny
---------------------------------------------------------------------- */
.subMenu {
	margin-left: 10px;
}

.subMenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.subMenu ul li {}

.subMenu ul li a {
	color: #000;
	font: bold 1.5em/1.5em Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
	text-decoration: none;
}

.subMenu ul li a:hover {
	text-decoration: underline;
}

.subMenu ul ul {
	margin: 0 0 0 5px;
}

.subMenu ul li ul li a {
	margin: 0 0 0 5px;
	padding: 3px 0 3px 5px;
}

/* Senaste Nytt
---------------------------------------------------------------------- */
#reportBox {
	margin-left: 5px;
}

#reportBox h3 {
	background: url(../../images/site/d01/starDropShadow.png) no-repeat left center;
	font-weight: normal;
	margin: 5px 5px 0 0;
	padding: 1px 0 0 20px;
}

#reportBox ul {
	margin-top: 0;
}

#reportBox ul li a{
	font-weight: normal;
}

/* Globalt Kalendarium
---------------------------------------------------------------------- */
#globalCalender {
	margin-left: 5px;
}

#globalCalender li {
	background: url(../../images/site/d01/starDropShadow.png) no-repeat 0 0;
	padding-left: 20px;
}

#globalCalender .fullCalenderLink {
	background: none;
	margin-left: 20px;
	padding: 0;
}

#calender .selectedEvent {
	background: #fff;
	border: 2px solid #c00;
	color: #000;
}

/* Inloggningsfält
---------------------------------------------------------------------- */
#loginField {}

#loginField form {
	width: 100%;
	margin: 0;
	padding: 0;
}

#loginField form input {
	font-size: 1em;
	margin-bottom: 5px;
	margin-left: 5px;
	padding: 2px 2px 1px;
	width: 90%;
}

#loginField label {
	font: bold 1em Tahoma, Verdana, Arial, Helvetica, sans-serif;
	margin-left: 5px;
}

#loginField .button {
	float: right;
	font: normal 1em Verdana, Arial, Helvetica, sans-serif;
	margin: 0 4px 20px 0;
	max-width: 90%;
	padding: 1px 3px;
	width: auto;
}

/* Artikelkommentarer
---------------------------------------------------------------------- */
/* individuell bred */
#postComment_name, 
#postComment_subject,
#postComment_message {
	width: 444px;
}

#postComment_form #postComment_message {
	width: 442px;
}
/* ---------------- */

/* popupruta */
.commentPagePopup {
	background: none;
	border: none;
	margin-top: 10px;
	width: auto;
}

.commentPagePopup h1 {}

/* kommentarer */
.commentPagePopup .comment {
	background: #eee;
}
.commentPagePopup .comment h2 {}
.commentPagePopup .comment h3 {}
.commentPagePopup .comment .message {}
.commentPagePopup .comment .actions {}
.commentPagePopup .comment .actions a {}
.commentPagePopup #writeComment {}
.commentPagePopup #writeComment legend {}
/* ----------- */

/* kommentarssvar */
.commentPagePopup .commentReply {
	background: #eee;
}

.commentPagePopup .commentReply h2 {}
.commentPagePopup .commentReply h3 {}
.commentPagePopup .commentReply .message {}
.commentPagePopup #writeCommentReply {}
.commentPagePopup #writeCommentReply legend {}
/* -------------- */

/* Artikelbilder popup
---------------------------------------------------------------------- */
.articleImagesPage {
	border: none;
	width: auto;
}

/* Artikelrelaterat
---------------------------------------------------------------------- */
#articleRelated {
	border-left: 1px solid #ccc;
	border-bottom: none;
	padding-left: 10px;
}

#articleRelated h3 {
	background: #fff;
	color: #666;
	margin-top: 0;
}

#articleRelated hr {
	margin-bottom: 10px;
}

/* ###################### Administrationsidorna ###################### */

/* Artikeleditor
--------------------------------------------------------------------- */
#colRelated h3 a {
	background: #c00;
	color: #fff;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif ;
	display: block;
	margin-bottom: 5px;
	padding: 2px 5px;
	text-decoration: none;
}

#colRelated h3 a:hover {
	background: #f00;
	color: #fff;
}
