
/* top elements */
* { padding: 0; margin: 0; }

body {
	padding-bottom: 5px;
	margin: 0; 	padding: 0;
	font: normal 73%/1.5em 'Trebuchet MS', Tahoma, sans-serif;
	color: #555;
	background: #9C9C9C url(../images/gripen_v2_bg.jpg) repeat-x;
	text-align: center;		
}

/* links */
a { background: inherit; color: #B52424; text-decoration: none; }
a:hover { background: inherit; color: #006699; text-decoration: underline; }

/* headers */
h1, h2, h3 { font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif; }
h1 { font-size: 1.4em; color: #B52424; }
h2 { font-size: 1.2em; text-transform: uppercase; color: #B52424; }
h3 { font-size: 1.2em; color: #B52424; margin-bottom: 0px; }

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px 0 15px;
	padding: 0 15px;
		
}

/* images */
img {
	border: 1px solid #DADADA;
	padding: 5px;
	background: #FAFAFA;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 0px solid #f2f2f2;  
  border-left: 3px solid #72A545;
}
acronym {
  cursor: help;
  border-bottom: 0px solid #777;
}
blockquote {
	margin: 15px; 	padding: 0 0 0 20px;  	
  	background-color: #FAFAFA; 
	background-position: 8px 10px;
	border: 1px solid #f2f2f2; 
	border-left: 3px solid #72A545;  
	font: bold 1.2em/1.5em "Trebuchet MS", Tahoma, sans-serif; 
	color: #666666;	
}



/* form elements */

fieldset {border: 0px;}

form {
	margin:0px 0px; padding: 0;
	border: 0px solid #f2f2f2; 

}
label {
	display:block;
	font-weight:bold;
}
input {
	background: #DADADA;
	padding: 2px;
	border:1px solid #CDCDCD;
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	color:#000;
	float: left;
	margin-right: 5px;

}
textarea {
	width:400px;
	padding:2px;
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	border:1px solid #CDCDCD;
	height:100px;
	display:block;
	color:#000;
	background: #DADADA;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	background: #FFF url(../images/gradientbg.jpg) repeat-x; 
	padding: 2px 3px; 
	color: #000;	
	border: 1px solid #ABABAB;	
}

select {
	border: 1px solid #CDCDCD;
	background: #DADADA;
	}

/* search form */
.searchform {
	background-color: transparent;
	border: none;	margin: 0; padding: 0;	
}
.searchform p { margin: 10px; padding: 0; }
.searchform input.textbox { 
	width: 130px;
	color: #333; 
	height: 20px;
	padding: 2px;	
	vertical-align: top;
}
.searchform input.button { 
	font: bold 12px Arial, Sans-serif; 
	color: #333;	
	width: 60px;
	height: 26px;
	border: 1px solid #DADADA;
	padding: 3px 5px;	
	vertical-align: top;
}

#ajaxSearch_input {

	background: #DADADA;
	padding: 1 em;
	border:1px solid #CDCDCD;
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	color:#000;
	float: left;
	margin-right: 10px;
	margin-left: 5px;
	width: 145px;

	margin-top: 3px;}
	
#ajaxSearch_submit {

	background: #DADADA;
	padding: 0 em;
	border:1px solid #CDCDCD;
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	color:#000;
	float: left;
	margin-top: 3px;
	height: 25px;
}



/***********************
	  LAYOUT
************************/

#header-content, #content, #footer-content {
	width: 760px;
}

/* header */
#header {
	height: 100px;
	text-align: left;	
}
#header-content {	
	margin: 0 auto; padding: 0;
	position: relative;
}
#header-content h1#logo {
	position: absolute;	
	font: bold 45px 'Trebuchet MS', Sans-serif;
	letter-spacing: -2px; 
	color: #FFF;
	margin: 0; padding: 0;		
	
	/* change the values of left and top to adjust the position of the logo */
	top: 0; left: 0px;
}
#header-content h1#logo a {
	text-decoration: none;
	color: #FFF;
}
#header-content #slogan {
	position: absolute;	
	font: bold 12px 'Trebuchet Ms', Sans-serif;
	text-transform: none;
	color: #FFF;	
	margin: 0; padding: 0;
	
	/* change the values of left and top to adjust the position of the slogan */
	top: 55px; left: 40px;
}

/* header menu */
#header-content ul {
	position: absolute;
	right: -5px; top: 65px;
	font: bolder 1.1em 'Trebuchet MS', sans-serif;
	color: #FFF;
	list-style: none;
	margin: 0; padding: 0;		
}
#header-content li {
	display: inline;
}
#header-content li a {
	float: left;
	padding: 2px 10px;	
	color: #FFF;
	background-color: #333;
	text-decoration: none;
	border-right: 1px solid #272727;
}
#header-content li a:hover {
	background: #B52424;
	color: #FFF;
}
#header-content li a.current  {
	background: #65944A;
	color: #FFF;
}

/* header photo */
.headerphoto {
	margin: 0 auto;
	width: 770px;
	/*height: 200px;*/
	padding: 15px 10px 15px 10px;
	background: #FFF; 
	/*  url(../images/headerphoto.jpg) no-repeat center;	*/
}

/* content */
#content-wrap {
	clear: both;
	width: 100%;
	background-color: #ffffff;
	width: 790px;
	margin-left: auto;
	margin-right: auto;
	display: table;

}
#content {
	text-align: left;	
	padding: 0;
	margin: 0 auto;	
	
	
}

/* sidebar */
#sidebar {
	float: right;
	width: 30%;
	margin: 0 0 10px 0; padding: 0;	
}	
#sidebar h1 {
	padding: 10px 0px 5px 10px;
	margin: 0;	
	font: bold 1.3em 'Trebuchet MS', Tahoma, Sans-serif;
}
.sidebox {
	background: #E7E7E7;
	border: 1px solid #B6B6B6;
	margin-bottom: 10px;
	color: #000;
}

.sideboxrubrik {
background-image: url(../images/gripen_v2_sideboxrubrik_bg.jpg);
color: white;
font: bold 1em 'Trebuchet MS';
padding: 3px 15px;
font-size: 1.2em;
margin-bottom: 0px;
border-bottom: 1px solid #B6B6B6;}

/* sidebar menu */
#sidebar ul.sidemenu {
	list-style:none;
	margin: 10px 0 15px 0;
	padding: 0;
	background: #F2F2F2;			
}
#sidebar ul.sidemenu li {
	padding: 0px 10px;
}
#sidebar ul.sidemenu a {
	display:block;
	font-weight:normal;
	color: #333;
	height: 1.5em;	
	padding:.3em 0 .3em 15px;
	line-height: 1.5em;
	border-top: 1px dashed #D4D4D4;
	text-decoration:none;
}
#sidebar ul.sidemenu a.last{	
	border-bottom: 1px dashed #D4D4D4;
}
#sidebar ul.sidemenu a:hover {
	padding: .3em 0 .3em 10px;
	border-left: 5px solid  #65944A;
	color: #65944A;		
}

/* main */
#main {
	float: left;
	width: 67%;	
	margin: 0 0 10px 0; padding: 0;	
	font-size: 12px;
	line-height: 1.6em;
}
#main h1 {
	padding: 10px 0px 0px 5px;
	margin: 0 0 0 10px;
	border-bottom: 1px solid #f2f2f2; 	
	font: normal 1.5em 'Trebuchet MS', Tahoma, Sans-serif;
}
#main ul li {
	list-style-image: url(../images/bullet.gif);
}

.post {
	margin: 0; padding: 0;
	background: #FFF url(../images/gradientbg.jpg) repeat-x;
	border: 0px solid #EFEDED;
}
.post .post-footer {
	background-color: #FAFAFA;
	border: 1px solid #f2f2f2;
	padding: 5px; margin-top: 20px;
	font-size: 95%;
}
.post .post-footer .date {
	background: url('../images/clock.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post .post-footer .comments {
	background: url('../images/comment.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post .post-footer .readmore {
	background: url('../images/page.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* footer */
#footer {
	clear: both;
	margin: 0; padding: 0;
	font: normal .95em/1.6em 'Trebuchet MS', Tahoma, Arial, sans-serif;
	text-align: right;
	margin-bottom: 10px;
	
		
}

#footer h1, #footer p {	margin-left: 0; }

#footer-content {	
	margin: 0 auto;
	padding: 3px 10px 3px 0;
	width: 780px;
	background-image: url(../images/gripen_v2_footer.jpg);
	color: white;
	border-top: 3px solid #B42622;
}
#footer-content a {
	text-decoration: none;
	color: #fff;	
}
#footer-content a:hover {
	text-decoration: underline;
	color: #D1D1D1;
}
#footer-content ul {
	list-style: none;
	margin: 0; padding: 0;
}
#footer-content .col {
	width: 32%;
	padding: 0 5px 30px 0;
	background-color: white;	
}
#footer-content .col2 {
	width: 50%;
	padding: 0 0 30px 0;
	text-align: right;
	background-color: white;	
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right {	text-align: right; }

/* additional classes */
.clear { clear: both; }
.gray  { color: #BFBFBF; }

.ditto_info {margin-left: 15px; padding: 0px; border: 0px;}
