/* @override http://northlegion/wp-content/themes/northlegion/style.css */

/*  
Theme Name: North Legion
Theme URI: http://wordpress.org/
Description: Modified version of the default WordPress theme
Version: 1.0
Author: Magnus Cederholm and Anders S. Oefsdahl 
Author URI: http://www.apt.no/

	North Legion
	http://www.apt.no/

	This theme was designed by Magnus Cederholm and built by Magnus Cederholm and Anders S. Oefsdahl.

	The CSS and XHTML is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

* {
	margin:0;
	padding:0;
}

html {
	height: 100%;
	width: 100%;
}

body {
	font: 13px/18px Georgia, "Times New Roman", Times, serif;
	color: white;
  background-color: black;
	background: black url(images/bg3.jpg) no-repeat center top;
}

body.alt1 {
  /* background-color: black; */
	/*	background: white url(images/bg4.jpg) no-repeat center top; */
}

a img.imgrss {
	border:none;
}

div#container {
	width: 990px;
	margin: 0px auto;
  position: relative;
	padding-top: 290px;
}

	div#wrapper {
	}
	
	  div#content {
	    margin-left: 220px;
		}
		
		  div#content div.content-normal {
		    width: 430px;
        background: transparent url(images/bg_black4.gif) repeat left top;
		  }
		
		  div#content div.content-wide,
			div#content div.content-gallery {
				width: 770px;
				background: transparent url(images/bg_black4.gif) repeat left top;
			}
			
			 div#content div.content-gallery ul.gallery {
			   margin-left: -15px;
			 }
			 
			 div#content div.content-gallery div.entry p {
			   clear: both;
			 }
		
			div#content div.no-background {
				background:transparent !important;
			}

a#home {
	position: absolute;
	left: 5px;
	top: 128px;
	width: 180px;
	height: 132px;
	text-indent: -5000px;
	outline: none;
}

/**
 * Venstremenyen
 */
 
div#navigation {
	width: 220px;
	position: absolute;
	left: 0px;
	top: 310px;
}

	div#navigation dl {
		list-style-type: none;
		padding-bottom: 50px;
	}
	
		div#navigation dl dt {
		  margin-left: 26px;
		}
		
		  /** Main level **/
			div#navigation dl dt a {
				color: white;
				letter-spacing: -2px;
				word-spacing: 4px;
				text-decoration: none;
				font: bold 17px/20px Georgia, "Times New Roman", Times, serif;
				text-transform: uppercase;
				padding-right: 0px;
				background: url(images/bg_black.gif) 7pt 6px;
				outline: none;
			}
			
			div#navigation dl dt.active a {
				display: list-item;
				color: #ff0000;
				background-image: url(images/h2_bg.gif);
				list-style-image: url(images/star02.gif);
				padding-left: 0px;
			}
	
			div#navigation dl dt.active_subitem a {
				display: list-item;
				color: #fff;
				background-image: url(images/h2_bg.gif);
				list-style-image: url(images/star02.gif);
				padding-left: 4px;
			}
			
			/** Sub level **/
			div#navigation dl dd.active a {
				color: #ff0000;
			}
			
			div#navigation dt a:hover, div#navigation dl dd a:hover {
				color: #ff0000 !important;
				background-image: url(images/h2_bg.gif);
			}
			
			div#navigation dl dd, div#navigation dl dd a {
				color: #d8d8d8;
				letter-spacing: -1px;
				word-spacing: 2px;
				text-decoration: none;
				font: bold 12px/12px Georgia, "Times New Roman", Times, serif;
				text-transform: uppercase;
				background: url(images/bg_black.gif) 7pt 6px;
				margin-left: 21px;
			}
			
			#navigation dl dd.last a {
				display: block;
				margin-bottom: 8px;
			}

div#extra {
	width: 310px;
	/*
  float: left;
	argin-left: -320px;
	margin-top: 290px;
	*/
	position: absolute;
	right: 0px;
	top: 290px;
}

  /*
  div#extra ul.gallery {
		padding-top: 15px;
	}

		div#extra ul.gallery li {
			height: auto;
			margin-bottom: 10px;
		}

			div#extra ul.gallery h4 {
				margin-top: 0px;
			}
	*/
	
	div#extra ul#team {
	}
		
	#extra div.sidepost {
	  font-size: 11px;
	  line-height: 14px;
	  margin-bottom: 20px;
	  color: #f5f5f5;
	  padding: 20px 20px 10px 18px;
	  background-image: url(images/bg_black.gif);
	  display: inline-block;
	  clear: both;
	}
	
	  #extra div.sidepost a {
	    color: white;
	    border-bottom: 1px dotted red;
	    text-decoration: none;
	  }
	  
	  #extra div.sidepost a:hover {
	    color: red;
	  }
  
    #extra div.sidepost img {
	    float: right;
	    margin-top: 7px;
	    margin-bottom: 5px;
	    margin-left: 10px;
	    padding: 1px;
	    border: 3px solid white;
	  }
	  
	  #extra div.sidepost.hasimage img {
	    float: none;
	    margin: 0px;
	  }
	  
	  #extra div.sidepost.hasimage a {
	    border-bottom: none;
	  }

    #extra div.sidepost.hasimage a:hover img {
      border: 3px solid red;
    }

    #extra div.sidepost h3,
    #extra div.sidepost h3 a {
			color: red;
			border-bottom: none;
			letter-spacing: -1px;
			word-spacing: 2px;
			font-size: 13px;
		}
		
		#extra div.sidepost h3 a:hover {
			text-decoration: underline;
		}

/**
 * Navigering mellom eldre/nyere poster
 */ 
div.navigation{
  margin: 10px 0 20px 0;
  padding: 10px;
  border-top: 1px dotted #3f3f3f;
}

  div.navigation a{
    color: #ff0000;
    font: bold 12px/14px Georgia, "Times New Roman", Times, serif;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-decoration: none;
    word-spacing: 2px;
    background: url(images/h2_bg.gif) repeat-y;
  }
  
  div.navigation a:hover{
    text-decoration: underline;
  }

  div.alignleft{
    float: left;
  }
  
  div.alignright{
    float: right;
  }

.menu {
	margin-top: 0px;
	width: 00px;
	float: left;
}

.container2 {
	margin-top: 290px;
	margin-bottom: 100px;
	margin-left: 230px;
	width: 750px;
}

.slideshow {
	padding: 1px;
	margin-top: 300px;
	width: 700px;
	height: 700px;
	position: absolute;
	margin-left: 350px;
}

p {
	margin: 7px 0 5px;
	background-color: black;
	font-size: 13px;
	line-height: 18px;
	color: #ededed;
}

h2 a, h2 {
	color: #ff0000;
	font: bold 25px/21px Georgia, "Times New Roman", Times, serif;
	text-transform: uppercase;
	letter-spacing: -3px;
	text-decoration: none;
	word-spacing: 5px;
}

h2 a:hover {
	text-decoration: underline;
}

h2 {
	background: url(images/h2_bg.gif) repeat-y;
	margin: 2px 0 0 0;
}

h3 a, h3 {
	color: #ff0000;
	font: bold 16px/14px Georgia, "Times New Roman", Times, serif;
	text-transform: uppercase;
	letter-spacing: -2px;
	text-decoration: none;
	word-spacing: 2px;
	margin: 2px 0 0 0;
	background: url(images/h2_bg.gif) repeat-y;
}

a:hover {
	color: #ff0000;
}

/**
 * Nyhetsbrev
 */

div.newsletter {
	width: 200px;
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 11px;
	line-height: 14px;
	margin-bottom: 20px;
	color: #f5f5f5;
	background: transparent url(images/bg_black.gif) no-repeat right top;
	padding: 20px;
}

	div.newsletter form {}

		div.newsletter fieldset {
			border:none;
			margin-top:5px;
		}

			div.newsletter fieldset input{
				border: 1px solid #707070; 
				padding: 4px;
				font-size: 10px;
				margin-bottom: 4px;
				margin-left: 2px;
				background: #121212 url(images/formbg.gif) repeat-x;
				color: white;
			}
			
			div.newsletter fieldset select {
				border: 1px solid #707070; 
			}				

      div.newsletter fieldset .invalid {
				border:1px solid red;
			}

		div.newsletter input.submit {
		  border: none;
		  display: block;
		  margin-left: 0px;
		  padding: 0px;
		  background: transparent url(images/btn_submit_double.gif) no-repeat left top;
		  overflow: hidden;
		  width: 54px;
		  height: 22px;
		}
		
		div.newsletter input.submit:hover {
		  background-position: left -22px;
		}

    div.newsletter form select {
			margin-bottom: 4px;
		}
		

div.leftpost {
	font-size: 11px;
	line-height: 14px;
	margin-bottom: 20px;
	color: #f5f5f5;
	padding: 20px 20px 10px 15px;
	background-image: url(images/bg_black.gif);
}

div#footer {
	color: #555555;
	padding-bottom: 5px;
	padding-top: 5px;
	line-height: 12px;
	clear: left;
	font-weight: bold;
	font-size: 11px;
	margin-left: 26px;
}

	div#footer a {
		color: #555555;
		text-decoration: none;
		border-bottom: 1px dotted #424242;
  }
	
	div#footer a:hover {
		color: #ff0000;
	}

div#content div.videos {}

	div#content div.videos h2 {
		margin-bottom:20px;
	}

div#content div.content-wide div.post {
	width: 580px;
}

div#content div.content-gallery div.post {
  width: 755px;
  padding-right: 0px;
}

div.post {
	font-size: 11px;
	line-height: 16px;
	background-image: url(images/bg_black.gif);
	color: #e5e5e5;
	padding: 20px 20px 20px 15px;
	width: 395px;
	letter-spacing: 0;
	word-spacing: 0;
}

	div.post a.download{
		border-style: none;
		border-width: 5px;
	}
	
	div.post p a:hover {
		color: #ff0000;
	}
	
	div.post p a {
		color: white;
		background: url(images/h2_bg.gif) no-repeat;
		text-decoration: none;
		border-bottom: 1px dotted #ff0000;
	}
	
	div.post p a.more-link {
		text-transform:uppercase;
	}
	
	div.post img {
	  border: 1px solid #fff;
		background-color: black;
		padding: 3px;
		margin-bottom: 7px;
		margin-top: 5px;
		margin-right: 10px;
    width: 380px;
	}
	
		div.post img.attachment-thumbnail {
		  width: auto;
		}
	
div.post a img {
		border: 3px solid red;
		background-color: black;
		padding: 1px;
  }
	
	div.post a img:hover {
		border: 3px solid white;
		background-color: black;
		padding: 1px;
	}
	
	div.post small, div.post small a {
		font-size: 10px;
		color: #3f3f3f;
		font-style: italic;
		font-weight: bold;
		text-decoration: none;
}
	
	div.post small a {
		border-bottom: 1px dotted #424242;

	}
	
	div.post small a:hover {
		color: #ff0000;
		background:none;
	}
	
  div.post div.gallery {
    margin-top: 20px;
	}
	
	div.post div.gallery .gallery-item {
	  float: left;
	  margin-bottom: 17px;
	  text-align: center;
	  margin-right: 20px;
	}
	
	div.post div.gallery .gallery-item img {
	  margin: 0;
	}

input.readmore {
	color: white;
	font-weight: bold;
	background-image: url(images/h2_bg.gif);
	border-bottom: 1px dotted #ff0000;
	text-decoration: none;
	font-family: Georgia, "Times New Roman", Times, serif;
	text-transform: uppercase;
}

a.more-link {
	text-transform: uppercase;
	color: white;
	font-weight: bold;
	background-image: url(images/h2_bg.gif);
	border-bottom: 1px dotted #ff0000;
	text-decoration: none;
}

a.more-link:hover {
	color: #ff0000;
}

ul#galleries {
  list-style-type: none;
  margin-top: -20px;
}

  ul#galleries li {
    clear: both;
    width: 630px;
    margin-bottom: 10px;
  }
  
  ul#galleries li h3 {
    padding-top: 16px;
  }
  
  ul#galleries li a.gallery-image {
    float: left;
    margin-right: 10px;
  }
  
   div.post img.attachment-thumbnail {
     border-color: white
   }
    
   div.post img.attachment-thumbnail:hover {
     border-color: red;
   }

/**
 * Listing of contents in a gallery or the team
 */

ul.gallery,
ul#team {
	list-style-type: none;
}

	ul.gallery li,
	ul#team li {
		float: left;
		width: 164px;
		margin: 0px 0 20px 20px;
		height: 123px;
	}
	
	div#extra ul#team li {
	  float: none;
	  height: auto;
	  clear: both;
    margin-bottom: 5px;
	}
	
  ul#team.gallery li {
    height: 160px;
  }

  ul.gallery li.fourth {
	  clear: both;
	  margin-right: 0px;
	}
	
		ul.gallery li h4,
		ul#team li h4 {
			margin: 0 0 2px 0;
			background: transparent url(images/bg_black3.gif) no-repeat left top;
			font-size: 11px;
	    line-height: 10px;
     }

			ul.gallery li h4 a,
			ul#team li h4 a {
				text-transform: none;
      }

		ul.gallery li span,
		ul#team li span {
			float: left;
			clear: left;
			color: #3f3f3f;
			font-style: italic;
			background: transparent url(images/bg_black.gif) no-repeat left top;
			font-weight: bold;
			font-size: 10px;
			margin-bottom: 0px;
	    line-height: 16px;
    } 

    ul.gallery li div.image {
      margin-top: 4px;
      overflow: hidden;
      margin-bottom: 0;
      width: 164px;
      height: 130px;
    }
    
    ul.gallery li div.image a:hover img {
      border: 1px solid #f00;
    }
    
      ul.gallery li div.image img {
		    border: 1px solid #fff;
		    width: 156px;
		    height: 115px;
	      padding: 3px;
      }



/**
 * Easy Clearing
 */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */	