/*
Theme Name: WP-Andreas01
Theme URI: http://andreasviklund.com/wordpress-themes/
Description: The first public theme by Andreas, based on the andreas01 open source website template.
Version: 1.0
Author: Andreas Viklund
Author URI: http://andreasviklund.com/

Thanks and greetings: R.J Kaplan (who did the first WordPress port of this design), Rob Miller (who wrote the List Subpages code), Ainslie Johnson (who helped with betatesting and bugfixing) and Johanna Fält (for whom this theme was originally created).
*/

/*** Main layout ***/
/* removed from body: background:#ffffff url(images/bg.gif) top center repeat-y; */
body {
background:#ffffff;
font:76% Verdana,Tahoma,Arial,sans-serif;
margin:0 auto;
padding:0;
}

#wrap {
background:#ffffff;
color:#303030;
margin:0 auto;
padding:0;
width:760px;
}

/*** Header ***/

#header {
/* background-image: url(wp-content/nis_header_bg.jpg) top left no-repeat; */
height:108px;
margin:5px 0;
padding:0;
}

#header img{display:block;}

#header h1 {
color:#ffffff;
font-size:2.2em;
font-weight:normal;
letter-spacing:-2px;
margin:0 0 4px 15px;
padding:15px 0 0;
}

#header h1 a,#header h1 a:hover {
color:#ffffff;
padding:0;
}

#header p {
color:#ffffff;
font-size:1.1em;
letter-spacing:-1px;
margin:0 0 5px 15px;
padding:0 0 0 3px;
}

/* Start Main Menu */
#nfsmainmenu{
	display: inline;
	border-top: 1px solid #ffffff;
	border-right: 1px solid #ffffff;	
	background-color: #CC0000;
	width: 760px;
	float: left;
}
	  
#nfsmainmenu ul {
	margin: 0;
	padding: 0px;
	list-style: none;
	font-size:16px;
font-weight:normal;
font-family: "Trebuchet MS", Arial, Sans-Serif;
}

#nfsmainmenu li {
	float: left;
	margin: 0px;
	color: #ffffff;
	padding-top: 2px;
	padding-bottom: 2px;	
	background-color: #970707;	
    border-right: 1px solid #CC0000;
	border-left: 0px solid #666666;
	
}
	  
#nfsmainmenu a {
      text-decoration: none;
      font-weight: bold;
	  background-color: #CC0000;	  
      color: #ffffff;
	  margin: 0px;
      padding: 2px 20px 2px 10px;	  
}

#nfsmainmenu a:hover {
	  text-decoration: none;
	  background-color: #AAA196;	  
}
	  
	  
#nfsmainmenu #current a {			
	  background-color: #cccccc;  
      color: #000000;
}

/* End Main Menu */

/* Bens additions    */

a.signup {
font-family: Verdana, Arial, Sans-Serif;
color:#3333cc;
font-size:1.1em;
font-weight:normal;
text-decoration:none;
padding: 2px;
border: 1px solid #cccccc;
}

a.signup:hover {
font-family: Verdana, Arial, Sans-Serif;
color:#3333cc;
font-size:1.1em;
font-weight:normal;
text-decoration:underline;
}

a.redtitle {
font-family: "Trebuchet MS", Arial, Sans-Serif;
color: #CC0000;
font-size:1.4em;
font-weight:bold;
text-decoration:none;
}

a.redtitle:hover {
font-family: "Trebuchet MS", Arial, Sans-Serif;
color: #3333cc;
font-size:1.4em;
font-weight:bold;
text-decoration:none;
}

div.leftside {
font-family: Verdana, Arial, Sans-Serif;
color: #333333;
font-size:1.1em;
font-weight:normal;
text-decoration:none;
}

div.leftside2 {
font-family: Verdana, Arial, Sans-Serif;
color: #333333;
font-size:1.3em;
font-weight:normal;
text-decoration:none;
}

div.welcometitle {
font-family: "Trebuchet MS", Arial, Sans-Serif;
color: #cc0000;
font-size:1.4em;
font-weight:bold;
text-decoration:none;
}

div.asseen {
font-family: "Trebuchet MS", Arial, Sans-Serif;
color: #cc0000;
font-size:1.3em;
font-weight:bold;
font-style:italic;
text-decoration:none;
}

strong.faq {
font-family: "Trebuchet MS", Arial, Sans-Serif;
color: #0033cc;
font-size:1.3em;
font-weight:bold;
text-decoration:none;
}

#landing p {
color:#000000;
font-size:1.3em;
line-height:1.4em;
}

#landingphrases p {
color:#000000;
font-size:1.0em;
line-height:1.3em;
}

em.landingphrases {
color:#000000;
font-size:0.9em;
line-height:1.3em;
}

#landing ul {
color:#000000;
font-size:1.3em;
line-height:2.2em;
}

#landingform p {
color:#000000;
font-size:0.9em;
line-height:1.3em;
}

#landingform strong {
font-weight:bold;
color:#000000;
letter-spacing:1px;
font-size:1.1em;
line-height:1.3em;
}

/* End Bens additions    */

/*** Left sidebar and main menu ***/
/*** margin 0px changed to margin 3 px to push down welcome ***/
#avmenu {
clear:left;
float:left;
margin:3px 0 10px;
padding:0;
width:170px;
}

#avmenu ul {
list-style:none;
margin:0 0 20px;
padding:0;
width:150px;
}

#avmenu li {
margin-bottom:4px;
}

#avmenu li a {
background:#f4f4f4;
border-left:4px solid #cccccc;
color:#0066cc;
display:block;
font-size:1em;
height:1.2em;
padding:6px 0 6px 8px;
text-decoration:none;
}

#avmenu li a:hover {
background:#eaeaea;
border-left:4px solid #4a88aa;
color:#0066cc;
}

#avmenu .current_page_item a {
border-left:4px solid #4a88aa;
color:#0066cc;
}

/*** Right sidebar ***/

#extras {
float:right;
line-height:1.4em;
margin:0 0 10px;
padding:18px 0px 0;
width:185px;
}

#extras p,#extras ul,form {
margin:0 0 18px;
}

#extras h2 {
color:#505050;
font-size:1em;
font-weight:normal;
margin:0 0 8px;
}

#extras ul {
font-size:0.9em;
margin:0 0 15px;
padding:0;
}

#extras li {
list-style:none;
margin:0 0 2px;
padding:0;
}

#extras ul ul {
margin:1px 0 1px 15px;
padding:0;
}

#extras ul ul li {
font-weight:normal;
list-style:none;
margin:0;
padding:0;
}

#extras ul ul li a {
font-weight:normal;
padding:0;
}

/*** Content ***/

#content {
border-right:0px solid #e0e0e0;
line-height:1.5em;
margin:0 200px 10px 0;
padding:18px 40px 0 8px;
text-align:left;
}

#contentfull {
border-left:1px solid #FFFFFF;
line-height:1.5em;
margin:0 0 5px 5px;
padding:5px 15px 0 5px;
text-align:left;
}

#content img,#contentfull img {
border:0px solid #000000;
margin:0px;
}

#content h1,#contentfull h1 {
text-align:left;
}

#content h2 {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
color:#333333;
font-size: 1.7em;
font-weight: normal;
margin:0 0 12px;
padding:0;
text-align:left;
line-height: 115%;
}

#contentfull h2 {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
color:#333333;
font-size: 1.7em;
font-weight: normal;
margin:0 0 8px;
padding:0;
text-align:left;
line-height: 115%;
}

#content h2 a,#contentfull h2 a {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
color:#333333;
font-weight: normal;
line-height: 115%;
}

#content h2 a:hover,#contentfull h2 a:hover {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
color:#0066cc;
font-weight: normal;
line-height: 115%;
}

#content h4,#contentfull h4 {
font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
color:#000000;
font-size: 1.4em;
font-weight: normal;
margin:0 0 6px;
padding:0;
text-align:left;
}

#content ul,#contentfull ul,#content ol,#contentfull ol {
margin:0 0 18px 30px;
padding:0;
}

#content ul ul,#contentfull ul ul,#content ol ol,#contentfull ol ol {
margin:4px 0 4px 20px;
}

/*** Sub-pages menu ***/

#subpages {
border-bottom:1px solid #e0e0e0;
border-left:1px solid #e0e0e0;
color:#505050;
float:right;
font-weight:bold;
line-height:1.3em;
margin:-5px 0 8px 15px;
padding:0 0 11px 15px;
width:250px;
}

#subpages h2 {
color:#505050;
font-size:1.4em;
font-weight:normal;
letter-spacing:-1px;
margin:0 0 12px;
padding:0;
}

#subpages ul.submenu {
line-height:1.5em;
margin:0;
padding:0;
}

#subpages ul.submenu li {
list-style:none;
margin:0 0 4px;
padding:0;
}

#subpages ul.submenu li a {
background-color:#f4f4f4;
border-left:4px solid #cccccc;
color:#505050;
display:block;
font-size:0.9em;
height:1.4em;
margin:0;
padding:3px 0 5px 6px;
text-decoration:none;
}

#subpages ul.submenu li a:hover {
border-left:4px solid #4a88aa;
color:#4a88aa;
text-decoration:none;
}

#subpages ul.submenu li.current_page_item a {
border-left:4px solid #4a88aa;
color:#4a88aa;
text-decoration:none;
}

#subpages ul.submenu li.current_page_item ul li a {
border-left:4px solid #cccccc;
color:#505050;
text-decoration:none;
}

/*** Footer ***/

#footer {
border-top:2px solid #e0e0e0;
clear:both;
color:#808080;
font-size:0.9em;
font-weight:normal;
margin:0 auto;
padding:10px 0;
text-align:center;
width:760px;
}

#footer p {
margin:0;
padding:0;
}

#footer a {
color:#808080;
font-weight:normal;
text-decoration:none;
}

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

/*** Tags ***/

h3 {
color:#505050;
font-size:1.2em;
margin:0 0 10px;
}

a {
color:#3333CC;
font-weight:normal;
text-decoration:none;
}

a:hover {
color:#3333CC;
font-weight:normal;
text-decoration:underline;
}

a img {
border:0;
}

p,ul,ol {
margin:0 0 16px;
}

blockquote {
border-left:4px solid #cc0000;
margin:20px;
padding:8px 8px 8px 15px;
}

blockquote p {
color:#000000;
font-size:1.0em;
font-style: italic;
line-height:1.3em;
margin:0;
}

div.blockquote {
border-left:4px solid #cc0000;
margin:20px;
padding:8px 8px 8px 15px;
}

div.blockquote p {
color:#000000;
font-size:1.0em;
font-style: italic;
line-height:1.3em;
margin:0;
}

label {
color:#505050;
font-size:0.9em;
}

#extras label {
display:none;
}

/*** Forms ***/

#s,#submit {
background:#ffffff;
border:1px solid #999999;
color:#505050;
font-size:0.9em;
padding:4px;
width:100px;
}

#author,#email,#url,#comment {
border:1px solid #cccccc;
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:1em;
margin:0;
padding:4px;
}

#commentsection {
margin:30px 0 0;
}

#commentsection p {
margin:0 0 6px;
}

/*** Float fix ***/

.contenttext {
overflow:visible;
}

* html .contenttext {
overflow:visible;
height:1px;
}

* html .contenttext p {
width:99%;
overflow:hidden;
}

/*** Various classes ***/

.left {
border:1px solid #cccccc;
float:left;
margin:10px 15px 10px 0;
}

.right {
border:1px solid #cccccc;
float:right;
margin:10px 0 5px 10px;
}

.center {
border:1px solid #aaaaaa;
margin:5px auto 12px;
text-align:center;
}

.textright {
text-align:right;
}

.small {
font-size:0.8em;
}

.bold {
font-weight:bold;
}

.hide {
display:none;
}

.post {
margin:0 0 25px;
}

.postinfo {
color:#666666;
font-size:0.9em;
font-weight:normal;
line-height:1.4em;
margin:1px 0 30px;
padding:1px 5px 8px 0px;
}

.comment {
background:#f4f4f4 url(images/4px.gif) top left repeat-y;
color:#505050;
margin:0 0 10px;
padding:8px 5px 4px 12px;
}

.comment p.commenthead {
line-height:1.5em;
padding:0;
}

.comment p {
font-size:0.9em;
line-height:1.2em;
margin:0 0 6px;
padding:0;
}

.navigation {
display:block;
margin:10px 0 10px;
padding:0 0 15px;
text-align:center;
}

.navigation p {
margin:0;
padding:0;
}

.prevlink{
margin-right:20px;
}
	
.nextlink {
margin-left:20px;
}

