/*
 * /themes/raud-ungdom1/style/screen.css -- Raud Ungdom bunad variation #1
 */

* {
	margin: 0;
	padding: 0;
}

input {
	padding: 2px;
}

dt {
	font-weight: bold;
}

dd {
	padding-left: 15px;
	padding-bottom: 3px;
}

dl {
	padding-bottom: 15px;
}

code {
	background-color: rgb(240,240,240);
	border: 1px dotted black;
	display: block;
	padding: 0.4em;
	margin: 1em 0;
}

input, select option {
	font-size: 90%;
}

blockquote {
	padding: 1em;
}

address {
	padding: 1em;
}

h1 {
	margin-top: -70px;
	padding-bottom: 15px;
	text-align: center;
}

h2 {
	font-size: 16px;
}

h3 {
	font-size: 18px;
}

a {
	border-bottom: 1px dotted rgb(64,64,64);
	color: rgb(64,64,64);
	text-decoration: none;
}

a:hover {
	border-bottom: 0;
}

img {
	border: none;
}

html {
	background-color: #bbdbfc;
	padding: 0;
}

body {
	color: rgb (50, 50, 50);
	font-family: "trebuchet ms", sans-serif;
	font-size: 70%;
	text-align: center;
	background: #f4f4f4 url('http://sosialisme.no/themes/klassekamp/images/sommerleir_bg.jpg') top center no-repeat;

}

textarea {
	width: 70%;
}

tt {
	font-family: "Bitstream Vera Sans Mono", monospace;
	font-size: smaller;
}

#sidebar {
	clear: both;
}

#sidebar a, #sidebar a:hover {
	border: 0;
}

#wrapper {
	text-align: justify;
	margin: 0 auto;
	width: 76.9em;
	background-color: white;
	background-image: url("http://sosialisme.no/themes/ru6/images/bg.png");
	background-position: top left;
	background-repeat: repeat-y;
	/*margin-bottom: -2000px;
	padding-bottom: 2000px;*/
	overflow: auto;
}

#top {
	background-image: url("../images/gray_bar.png");
	background-position: bottom;
	background-repeat: repeat-x;
	background-color: white;
	margin-top: 70px;
	/*padding-top: 78px;*/
}

#top .left {
	float: left;
	margin-top: -42px;
}

#top .right {
	float: right;
	margin-top: -42px;
}

#top a {
	border: 0;
}

#banner_tekst {
}

#banner {
	background-color: rgb(217,217,217);
	/*background-image: url("../images/klassekampbannerbilde.png");
	background-repeat: no-repeat;
	background-position: top center;*/
	height: 182px;
	margin-left: 220px;
}

#banner img {
	width: 100%;
}

/*#banner img {
	margin: 0 auto;
}*/

/*#banner_tekst_boks {
	margin: 0 auto;
	padding: 0 0 0 110px;
}*/

#banner a {
	border: 0;/*
	margin: 0 auto;
	display: block;*/
}

#content h3 a {
	border: none;
}

#content h3 a:hover {
	color: black;
}

#content ul {
	padding-bottom: 0.7em;
}

#sidebar {
	float: left;
	width: 220px;
	text-align: left;
}

.news_image, .news_article_image {
	background-color: rgb(245,245,245);
	float: right;
	padding: 10px;
	border: 1px solid rgb(204,204,204);
	margin: 0.5em 0 0.5em 1em;
}

.news_image img {
	width: 200px;
}

#content {
	margin-left: 230px;
	text-align: justify;
	margin-top: auto;
	margin-bottom: auto;
	padding: 10px 15px 100px 10px;
	position: static;
}

#content h2 {
	margin: 7px 0 20px 0;
	border-bottom: 1px dashed rgb(50,50,50);
	padding: 0 0 4px 0;
	font-size: 19px;
	position: static;
}

.sidebar_box, #box_chat, #box_active, #box_login, #box_stylesheet, #box_messages, #box_search {
	padding: 4px;
	background-color: rgb(250,250,250);
	border: 1px solid rgb(190,190,190);
	margin: 5px;
}

#sidebar a {
	border-bottom: 1px dotted rgb(50,50,50);
}

#sidebar #ads {
	text-align: center;
}

#sidebar #ads a {
	border: 0;
}

#sidebar #ads .ad {
	padding: 4px;
	margin: 10px 10px 0 10px;
}

#sidebar #ads .ad img {
	background: rgb(250,250,250);
	border: 1px solid silver;
	padding: 10px;
}

#sidebar #ads .noframe img {
	background: inherit;
	border: 0;
	padding: 0;
}

#box_chat {
	width: 200px;
	overflow: auto;
}

#box_menu h2, #box_login h2, #box_search h2 {
	display: none;
}

#box_login img {
	float: right;
}

ul#menu {
	margin: 5px 15px 30px 15px;
}

ul#menu li {
	list-style-type: none;
}

ul#menu ul {
	margin-left: 20px;
}

#sidebar h2, #box_login h2 {
	font-size: 100%;
}

p.news_meta, p.news_readmore {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 90%;
	color: gray;
}

p.news_meta {
	margin-bottom: 0;
}

p.news_meta a, p.news_readmore a {
	border: 0;
	color: gray;
	text-decoration: underline;
}

p.news_meta a:hover, p.news_readmore a:hover {
	background-color: gray;
	color: white;
	text-decoration: none;
}

.news_content1 {
	font-weight: bold;
}

#content p {
	padding-bottom: 0.5em;
}

.news_box {
	margin-bottom: 1em;
	clear: right;
}

#menu a {
	border: 0;
	color: rgb(64,64,64);
}

#menu a:hover {
	color: black;
}

#menu li {
	font-weight: bold;
}

#menu li ul li {
	display: list-item;
	font-weight: normal;
	list-style-type: square;
}

#menu li ul li a:hover {
}

#menu div {
	border-bottom: 1px dotted rgb(50,50,50);
}

#content ul, ol {
	margin-left: 30px;
}

div.ill {
	float: right;
	padding: 0 0 15px 15px;
}

table#content_edit, table#news_edit {
	width: 100%;
}

table#content_edit td, table#news_edit td {
	width: 15%;
	vertical-align: top;
}

table#content_edit td + td, table#news_edit td + td {
	width: 85%;
}

#supernews {
	padding: 1.5em;
	background-color: rgb(64,64,64);
	color: white;
	margin-bottom: 2em;
}

#supernews h3 {
	margin-bottom: 0.4em;
}

#supernews h3 a:hover {
	color: inherit;
}

#supernews a {
	border-bottom: 1px dotted white;
	color: white;
}

#supernews a:hover {
	border-bottom: 0;
}



ul#avatars li {
	/*display: inline-block;*/
	text-align: center;
	float: left;
	height: 60px;
	width: 22px;
	padding: 5px;
	margin: 0 1px;
	border-bottom: 1px dashed silver;
	list-style-type: none;
}

ul#avatars li img {
	padding-top: 3px;
}

ul#avatars {
	width: 100%;
	padding: 0;
	margin: 0;
}

table#forums, table#forum_threads {
	border: 1px solid rgb(64,64,64);
	border-collapse: collapse;
	padding-bottom: 2em;
	margin: 0;
}

table#forums th, table#forum_threads th {
	margin: 0;
	padding: 3px;
	color: white;
	background-color: rgb(64,64,64);
}

table#forums td, table#forum_threads td {
	padding: 2px 5px 2px 5px;
}

tr.odd {
	background-color: rgb(240,240,240)
}

.forum_box {
	border: 1px solid rgb(64,64,64);
	margin-bottom: 1.5em;
}

.forum_box .box_top {
	background-color: rgb(64,64,64);
	color: white;
}

.forum_box .box_top a {
	color: rgb(204,204,204);
}

.forum_box .box_top a:hover {
	color: red;
}

.forum_box .box_top .avatar {
	float: right;
	padding: 5px 5px 0 0;
}

.forum_box h3 {
	font-size: 1.1em;
}

.forum_box .box_bottom {
	padding: 1em 1.5em;
}

.forum_group {
	background: white;
}

.button_row form, .button_row p {
	display: inline;
}

.button_row form input {
	padding: 3px;
}

/* Nettbutikk */

.shop_box {
	overflow: hidden;
	width: 98%;
	padding: 0px 0 5px 0;
}

.shop_box h3 {
	margin: 0; 
	padding: 0 0 5px 0;
	font-size: 12px;
}

.shop_box p {
	margin: 0;
	padding: 5px 0 5px 0;
}

.shop_box img {
	float: left; 
	border: 1px solid black; 
	margin: 0 10px 10px 0;
}

.shop_box p.info {
	font-weight: bold; 
	text-align: right;
}

#shop_cart {
	background-color: rgb(243,243,243);
	border: 1px solid black;
	margin: 0 0 10px 0;
	padding: 0 12px 12px 12px;
}
  
fieldset#shop label {  
	width: 100px;
	text-align: right;
	float: left;
	padding: 0 10px 0 0;
}

fieldset#shop legend {
	font-weight: bold;
}

fieldset {
	border: 1px solid gray;
	margin: 0 0 10px 0;
	padding: 10px;
}

/* messages.php */

table#message_list {
	border: 1px solid black;
	border-collapse: collapse;
	margin: 0 0 1.5em 0;
	padding: 0;
	width: 97%;
}

table#message_list th {
	margin: 0;
	padding: 3px;
	color: white;
	background-color: rgb(64,64,64);
}

table#message_list td {
	margin: 0;
	padding: 3px 5px;
}

table#message_list tr.odd {
	background-color: White;
}

table#message_list tr.even {
	background-color: rgb(240,240,240);
}

/* message_read.php */

.message_box {
	border: 1px solid rgb(64,64,64);
	background-color: White;
	margin-bottom: 1.5em;
}

.message_box img.avatar {
	float: right;
	padding: 5px 5px 0 0;
}

.message_box .box_top {
	background-color: rgb(64,64,64);
	color: rgb(209,209,209);
	padding: 2px 2px 5px 5px ;
	border-bottom: 1px solid rgb(0,102,0);
}

.message_box .box_top a {
	color: rgb(209,209,209);
}

.message_box .box_top a:hover {
	color: white;
}

.message_box .box_top p {
	padding: 0 0 3px 20px;
	margin: 0;
	font-size: 9px;
	text-align: left;
}

.message_box .box_bottom {
	padding: 5px 5px 5px 10px;
	text-align: justify;
}

.message_box h3 {
	font-size: 10px;
	font-weight: bold;
	margin: 0;
	padding: 5px 0 3px 0;
}

.message_box h3 img {
	vertical-align: top;
}

#content p img.article {
	float: right;
	padding: 0 0 1em 1em;
}

#sidebar .sidebar_article {
	padding: 1px;
	background-color: rgb(204,204,204);
	margin: 9px;
	text-align: left;
	width: 198px;
}

#sidebar .sidebar_article_text {
	background-color: rgb(64,64,64);
	width: 190px;
	padding: 4px;
}

#sidebar .sidebar_article_text a {
	border: 0;
	color: rgb(204,204,204);
	display: block;
	font-size: 90%;
	font-weight: bold;
	text-transform: uppercase;
}

#sidebar .sidebar_article_text a:hover {
	color: rgb(245,245,245);
}

#sidebar .sidebar_article_image img {
	width: 198px;
	margin: 0;
	padding: 0;
	border: 0;
}

#footer {
	clear: both;
	background: transparent;
	color: #000000
	font-size: 90%;
	padding: 6px;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	text-align: center;
}

#footer a {
	color: #000000;
	font-weight: bold;
}

#footer a:hover {
	color: white;
}

.centre {
	text-align: center;
}

