/************************ 
 * YUI base overrides 
 ************************/
th,td { 
    /* borders and padding to make the table readable */ 
    border: 0px; 
    padding: 0 0.5em; 
} 
input[type=text],input[type=password],textarea{width:auto;}

/************************ 
 * CSS Standard 
 ************************/

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	background: url(/custom/images/bakgrunn_hoved.gif) repeat-x #FFF;
	margin: 0;
	color: #666;
}
img {
	border: none;
}
h1, h2, h3 {
	margin: 10px 0 0 0;
	}
h1 {
	font-size: xx-large;
	font-weight: normal;
	color: #666;
}
h2 a {
	color: #666;
	text-decoration: none;
}
a {
	color: #0b3183;
}
#form input, #form textarea, #form select {
    position: absolute;
    margin-left: 3cm;
}
#form label {
    display: block;
}
.number {
	text-align: right;
}

/************************ 
 * Inline element designs 
 ************************/

/* 
 * Page setup box 
 * Includes all available edit functions for this page.
 * Roles and accesslevels are used to control which functions you are allowed to use.
 */
#text #pageinfo {
    background-color:#FFF0D7;
    padding: 10px;
    margin: 20px 0px;
    border: 1px solid #FFC73A;
	text-align: left;
}

/* Container for making buttons more visible in inline editing */
.actionbuttons{
 background-color:#FFF0D7;
 border-top: 1px solid #FFC73A;
 margin:20px 0 0;
 padding: 10px 10px;
 font-size: 62.5%;
}
.actionbuttons a{
 position: relative;
 top:-3px;
 padding: 1px;
}
/*non-IE-hack*/
:root *> .actionbuttons a { 
 top:0;
 padding:0;
}
:root *> .actionbuttons{ 
 font-size: 12px;
}
fieldset .actionbuttons{
 background: transparent none;
 border: none;
 margin: 0;
 padding: 10px 10px 0 0;
}

a.button {
    border: 4px outset;
    padding: 2px;
    text-decoration: none;
}
a.button:active {
    border: 4px inset;
}

/* Moves media buttons below image */
.emp-imagecontainer img {
    display: block;
}

/************************ 
 * CSS Top and top menu
 ************************/
	
#hd {
	position: relative;
	width: auto;
	height: 100px;
	padding: 0 0 50px 0;
}
.logo {
	position: absolute;
	bottom: 70px;
	left: 10px;
}
.banner {
	position: absolute;
	top: 6px;
	right: 0px;
}

#menu {
	position: relative;
	margin: 0;
	padding: 0;
	width: auto;
	height: 32px;
	display: block;
	top: 103px;
	border-right: 1px solid #CCC;
}
#menu li {
	margin: 0;
	padding: 0;
	float: right;
	height: auto;
	width: auto;
	list-style-type: none;
}
#menu a {
	border-left: 1px solid #FFF;
	color: #666;
	font-size: small;
	text-decoration: none;
	padding: 8px 20px;
	display: block;
	font-weight: normal;
	height: 16px;
	border-left: 1px solid #CCC;
	width: 60px;
	text-align: center;
}
#menu a:hover {
	background: #0b3183;
	color: #FFF;
}
#menu .active {
	background: #0b3183;
	color: #FFF;
}

/************************ 
 * CSS Body and left menu
 ************************/
	
#bd {
	position: relative;
	width: auto;
	height: auto;
}
#submenu2 {
	position: relative;
	width: 180px;
	height: auto;
	float: left;
	margin: 13px 10px 0 0;
	border-top: 1px dotted #CCC;
	line-height: 25px;
}
#submenu2 ul {
	margin: 0;
	padding: 0;
}
#submenu2 li {
	margin: 0;
	padding: 0;
	float: left;
	height: auto;
	width: 180px;
	list-style-type: none;
}
#submenu2 a {
	display: block;
	width: auto;
	text-decoration: none;
	border-bottom: 1px dotted #CCC;
	font-size: 12px;
	font-weight: normal;
	padding: 3px 10px;
	color: #666;
	text-transform: uppercase;
}
#submenu2 li li a{
	padding-left: 20px;
	width: 150px;
	font-size: 11px;
	text-transform: none;
}
#submenu2 li li li a{
	padding-left: 30px;
	width: 130px;
}
#submenu2 li li li li a{
	padding-left: 40px;
	width: 120px;
}
#submenu2 li li input, #submenu2 li button {
	margin-left: 10px;
}
#submenu2 li li li input, #submenu2 li li button {
	margin-left: 20px;
}
#submenu2 li li li li input, #submenu2 li li li button {
	margin-left: 30px;
}
#submenu2 li li a{
	font-size: small;
}
#submenu2 a:hover {
	background: #0b3183;
	color: #FFF;
}
#submenu2 li.active a {
	background: #c1001f;
	color: #FFF;
}
#submenu2 li.active li a {
	background: #FFF;
	color: #666;
}
#submenu2 li.active li a:hover {
	background: #0b3183;
	color: #FFF;
}

/************************ 
 * Main area of the site 
 ************************/
#text {
	min-height: 300px;
}
#text img {
    float: left;
    padding-right: 8px;
}
/* Field for showing warnings and error messages */
#text #message {
	font-size: large;
	color: #FFF;
	background-color: #c1001f;
    padding: 10px;
    margin: 20px 50px;
    text-align: center;
	border: 1px solid #AAA;
}

/* Sponsors */
#sponsors {
    text-align: center;
}
#sponsors img {
    margin: 10px 0;
}
.sponsor {
    clear: both;
}

/* List of activities */
#activitylist {
    clear: both;
    padding-top: 10px;
}
#activitylist h2,th {
    text-align: left;
}

/* List of news and newest articles */
.newslist {
    clear: both;
    padding-top: 10px;
}
.news {
    clear: both;
    padding-top: 10px;
	border-top: 1px dotted #CCC;
}
.newslist h2 {
    display: inline;
}
.newslist .author_date {
    display: inline;
    color: #999;
}
.article {
	position: relative;
	width: auto;
	height: auto;
	display: block;
	float: left;
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
	}
.pic {
	float: left;
	margin: 0 10px 10px 0
	}
.ingress {
	font-weight: normal;
	font-size: medium;
	font-style: italic;
	}
.more {
	border-top: 1px solid #CCC;
	text-align: right;
	}
.more a {
	color: #485670;
	background: #CCC;
	padding: 0 10px;
	text-decoration: none;
	}
.more a:hover {
	color: #FFFFFF;
	background: #fdc300;
	}

/* Gallery */
#gallery  {
	clear: both;
}

/************************
 * CSS Bottom 
 ************************/

#frontpage {
	text-align: center;
	}
#frontpage a {
	font-size: large;
	color: #999;
	text-decoration: none;
	margin: 0;
	display: inline;
	}
#ft {
	position: relative;
	background: url(/custom/images/bunn.gif) repeat-x #EEE;
	background-position: bottom;
	width: auto;
	clear: both;
	text-align: center;
    color: #999;
	padding: 20px;
	}
#ft a {
    color: #0b3183;
	text-decoration: none;
	}

/************************ 
 * Calendar 
 ************************/
.yui-u h2 {
	text-align: center;
}
.empatix_calendar{
  font-weight: normal;
  color: #000000;
  padding: 1px;
  margin: 0 10px;
}
.empatix_calendar .empatix_calendar_month_choice{
  font-size:1em;
  font-weight:bold	;
  text-align:center;
  padding: 5px;
  color: #666;
}
.empatix_calendar .empatix_calendar_month_choice a{
  color: #666;
}
#calendar{
  width: 100%;
  background: #EEE;
}
#calendar th, #calendar td{
  text-align:center;
  padding:5px;
  background: #FFF;
  border: 1px solid #DDD;
}
#calendar th{
  background-color:#333;
  border-right:1px solid #FFFFFF;
  font-weight: normal;
  color: #FFF;
}
#calendar .empatix_calendar_today{
  background-color: #c1001f;
  color: #FFF;
}
#calendar .empatix_calendar_prevmonth, #calendar .empatix_calendar_nextmonth{
  background-color:#A58840;
}
#calendar .empatix_calendar_event a, #calendar .header a{
  font-weight:bold;
  text-decoration:none;
  color: blue;
}
#calendar .empatix_calendar_event{
  /*background-color:#D6B66C;*/
  /*border:1px solid #FFFFFF;*/
	background-image: url(/custom/img/bg_eventday.gif);
	background-repeat: no-repeat;
    font-weight:bold;
    color: blue;
}
#calendar .header{
  background-color:#D6B66C;
  border:none;
}

/************************ 
 * Forum styles 
 ************************/
#empatix_forum_threadlist{
  margin-top: 1em;
  background-color: #F0F1F1;
  padding: 0.1em 0.3em 0.3em 0.3em;
  /* border: 1px solid #D9D9D9;*/
}
#empatix_forum_threadlist th{
  background-color: #D9D9D9;
  padding: 0.2em;
 }
#forumlist{
  margin-top: 1em;
  background-color: #F0F1F1;
  padding: 0.1em 0.3em 0.3em 0.3em;
  /* border: 1px solid #D9D9D9;*/
}
#forumlist ul{
  margin:0;
  padding:0;
}
#forumlist ul ul{
  margin-left:1.5em;
}
#forumlist li{
  list-style-type: none;
  background-color: #FFFFFF;
  padding: 0.2em;
  border: 1px solid #D9D9D9;
  margin-top: 0.2em;
}
#forumlist .header{
  position:relative; 
  background-color: #D9D9D9;
  font-weight:bold;
  padding: 0.2em;
 }
#forumlist .message{
  padding: 0.2em;
}
.messageinfo{
  position:absolute;
  right:0;
  background-color: #D9D9D9;
  padding-left: 1em;
  font-weight:normal;
}
#forumlist a{
  display:block;
  float:right;
  /*border: 1px solid #999999;*/
  background-color: #777777;
  padding: 0.2em;
  color: #ffffff;
  text-decoration:none;
  margin-right: .2em;
}
.messagebuttons{
  height: 2em;
}
#empatix_forum_newmessage{
  margin: 2em 0;
}
#empatix_forum_newmessage input, #empatix_forum_newmessage textarea{
  width: 310px;
}
#empatix_forum_newmessage td{
  padding-right: 0.5em;
}
#empatix_forum_newmessage label{
  font-weight:bold;
}
#empatix_forum_newmessage #action_forum_messagesave{
  width: auto;
  float: right;
}

/************************
 * Booking
 ************************/
.new_booking {
	background: #EEE;
	padding: 10px;
	border: 1px solid #DDD;
	width: 570px;
	text-align: left;
}
.new_booking input {
	width: 300px;
}
.new_booking textarea {
	width: 300px;
	border: 1px solid #DDD;
}
.new_booking input.datetime {
	width: 276px;
}
.new_booking input.postnr {
	width: 94px;
}
.new_booking input.poststed {
	width: 200px;
}
.new_booking input.telefon {
	width: 150px;
}
.text {
	background: #FFF;
	border: 1px solid #DDD;
}

/************************
 * Sporsstatistics
 ************************/
.seasonlist td{
    vertical-align: top;
    white-space: nowrap;
}
tr.odd {
	background: #eeeeee;
}

/************************
 * Team and match 
 * Is this old styles used in the old publish templates?
 ************************/
.strong {
    font-weight:bold;
}
.squad, .matchlist {
	padding: 10px;
	border: 1px solid #DDD;
	width: 570px;
	text-align: left;
}
.scorer {
    margin-bottom: 0;
}
.row1 {
	background: #EEE;
	padding: 5px;
}
.row0 {
	background: #FFF;
	padding: 5px;
}
