/*  
Theme Name: NTNU 7.0
Theme URI: http://www.ivt.ntnu.no/
Description: NTNU  7.0, widgits, 2 columns, NTNU nav links + logo top, NTNU favicon, hard edits to remove comments and author display, circle with image (Forskning image) in banner.  (Todo. Reworked, widen, move some widgets to bottom, more flexible css, remove graphical shadow page edge).
Version: 7 *wordpress version

	Based roughly on Kubrick v1.5, by  Michael Heilemann,
	http://binarybonsai.com/kubrick/
	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/


body {font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Arial, Sans-Serif;
	/* background: #efefef url('images/bgcolor.jpg'); */
	background: #efefef;
	color: #333;
	line-height: 1.6em;
	text-align: center;
	margin: 0;
	padding: 0; 
	}
	
/*	Main structure */
	
#header {background: transparent;	margin: 0 0 10px 0; padding: 0; width: 100%;}
#headerimg 	{  margin:15px; height: 100px; border: 1px solid #BEBFC3; background: #DCE2ED url('images/bg-custom.png') no-repeat bottom right;}
#headerimg div.headerbox  {margin-top: 15px; margin-left: 15px; padding-top: 30px;  background: transparent url('images/ntnulogo_reflex.png') no-repeat top left;  }
#headerimg div.description {text-decoration: none;	color: #000000; font-size: 1.2em;		}
#page {background-color: #ffffff;	margin: .5em auto; padding: 0;width: 780px; border: 1px solid #959596; text-align: left;	}
#content {font-size: 1.3em;	line-height: 160%; margin-left: 1.5em; margin-bottom: 1.5em;  padding: .5em; }
div.narrowcolumn {float: left; width:64%;}
div.widecolumn { float: left; width: 93%; margin-right: 1.5em;	}
#sidebar {padding: 1.5em 0 1em 1.5em;	margin-left: 545px;	margin-right: 1.5em; width: auto; font-size: 1.2em;	color: #000000;	 border-left: 1px solid #ccc; } 
#footer {font-size: 1.1em;	padding: 0;		margin: 0 auto;	width: 760px;	clear: both;	background: #fff; 	border-top: 1px solid #e7e7e7;}
#footer p {margin: 0;	padding: 1.5em 0;	padding-left: 3em;	text-align: left;}


/*	Headers */

h1, h2, h3 {font-family: Arial, Helvetica, sans-serif;	letter-spacing: .02em; }
h1 {font-size: 1.7em;	font-weight: normal; text-align: left; padding-bottom: .3em;	margin: 0; }
#headerimg h1{font-size: 1.5em; font-weight:bold;	}
h2 {font-size: 1.5em; font-weight: normal; line-height: 1.2em; margin: 0; margin-bottom: .2em; padding-bottom: .3em; border-bottom: 1px dotted #cccccc;}
#sidebar h2 {font-size: 1.1em;	color: #000000;	font-weight: bold; padding: 0 0 .3em 0;margin: .5em 0 .2em 0;	}
h3 {font-size: 1.3em;	font-weight: bold; padding: 0; margin: .5em 0 .2em;}
h4 {font-size: 1em;	font-weight: bold; padding: 0; margin: .5em 0em .5em;}
h4.commentslist{padding: 0em;	margin: 2em auto .5em 0; }
h5,
h5.archive-title
{margin-top: 1em;	text-align: right; font-size: .8em; font-weight: bold;	letter-spacing: .05em;	text-transform: uppercase;	color: #000; 	
			border-top: 1px dotted #eee; border-bottom: 1px dotted #eee; 	}

/*	Links */
a {color: #06c;	text-decoration: none;}
a:visited, 
a:active { text-decoration: none; color: #004894;} 

h1,
h1 a,
h1 a:active, 
h1 a:visited {text-decoration: none;	color: #000000;}

h2 a,
h2 a:active
h2 a:visited
h3 a,
h3 a:active
h3 a:visited {color: #004894; text-decoration: none;}

a:hover, 
h1 a:hover, #headerimg h1 a:hover,
h2 a:hover,
h3 a:hover {color: #06c; text-decoration: none;}

.postmetadata a, 
.postmetadata a:visited,
.postmetadata a:active,
.postmetadata-cat a, 
.postmetadata-tags a,
#sidebar a,
#sidebar a:visited,
#sidebar a:active {color: #06c;}

/*	HTML defs */
blockquote {margin: 1.5em 3em 0 1em;	padding-left: 2em;	border-left: 5px solid #DCE1EC;}
small {font-family: Sans-Serif;	font-size: 0.9em; 	line-height: 1.5em;}
code {font: 1.1em 'Courier New', Courier, Fixed;}
hr {display: none;}


.postmetadata-date, 
.postmetadata-cat,
.postmetadata-tags,
.postmetadata-edit {font-size: .9em}
.postmetadata {	font-size: .9em; clear: left; text-align: left; padding: .5em .5em .5em 1em; border: 1px solid #666; margin-right: 1.5em; }
.postmetadata ul, 
.postmetadata li {display: inline;	list-style-type: none;	list-style-image: none;}
.widecolumn .postmetadata {z-index: -10; margin-top: 2em;	 }
.narrowcolumn .postmetadata {	line-height: 135%; }

.subtitl {background-color: transparent; background-repeat: no-repeat; background-attachment: scroll; background-position: 0% 0%;
	font-size: 95%; 
	}
.subtitl .post-date {background-image: url(images/date.gif); /*padding-left: 20px; padding-right: 10px; */}
.subtitl .post-author {background-image: url(images/date.gif); /*padding-left: 20px; padding-right: 10px; */}
.subtitl .post-commentlink {background-image: url(images/date.gif); /*padding-left: 20px; padding-right: 10px; */}


/*	Additional layout for posts and columns  */
.post {margin: 0 0 2.5em;	text-align: left;}
.post hr {display: block; border: 1px solid #cccccc; border-bottom: none; border-right: none; border-left: none;}
.widecolumn .post {margin: 0;}
.widecolumn .attachment {text-align: center;	margin: 5px 0px;}
.widecolumn .smallattachment { text-align: center;	float: left;	width: 128px;	margin: 5px 5px 5px 0px;}
.narrowcolumn .entry,
.widecolumn .entry {font-size: 1em; line-height: 1.5em; padding-top: .5em;	}
div.entry div.alignright { margin-left: 3em; margin-right: 0em; padding-right:0; }
div.entry div.alignleft { margin-right: 3em; margin-left: 0em; padding-left:0; }
div.entry .border img { border: 6px solid #000 ;}	/*#7C8CA3 */
div.navigation {display: block;	clear: both; overflow:hidden; text-align: center; margin-top: 1em; margin-bottom:1em;  padding: .3em; font-size: 1em;  border-top: 1px dotted #DCE1EC; }
.alt, 
.alt2 {background-color: #fff;	border-top: 1px solid #ddd;	border-bottom: 1px solid #ddd;}
.alt {margin: 0; margin-bottom: 1.2em;	padding: 1em;}	
.alt2 {margin: 0 ; 	padding: .2em 1em .2em 1em;}


/* General aligments */
.alignright {float: right;}
.alignleft {float: left	}
.center {text-align: center;}

/* Begin Images */
a img {border: none;}
p img {padding: 0;	max-width: 100%;}
img.centered {display: block;	margin-left: auto;	margin-right: auto;}
img.alignright {padding: .4em;	margin: 0 0 .2em .7em;	display: inline;}
img.alignleft {padding: .4em;	margin: 0 .7em .2em 0;	display: inline;}
div.textwidget img.aboutme { float: left; padding-top: 5px; padding-right: 1em; width: 100px; height: 130px	}	
div.textwidget { width: 99%; display: block; overflow:hidden;}
/* captions */
div.wp-caption{ margin:0; padding:0; z-index: 200; }	
div.wp-caption p.wp-caption-text { margin:0; padding: 0; font-size: .8em; text-transform: uppercase ; color: #666;}	

/* LISTS */
/* TO-DO clean up these, way too many styles */
#sidebar ul ul li:before {content: "\00BB \0020";}
.entry ol, 
.entry ul, 
.entrytext ul, 
.entrytext ol {list-style: outside;	padding: 0 0 0 0;	margin: 0;}

.entry ol li, 
.entry ul li, 
.entry li, 
.entrytext li {list-style-position: outside;	margin-left: 2.5em;	padding-left: .5em;}
#sidebar ul, 
#sidebar ul ol {margin: 0;	padding: 0;}
#sidebar ul li {list-style-type: none;	list-style-image: none;	margin-bottom: 1.5em;}
#sidebar ul p, 
#sidebar ul select {margin: 5px 0 8px;}
#sidebar ul ul, 
#sidebar ul ol {margin: .5em 0 .8em;}
#sidebar ul ul ul, 
#sidebar ul ol {margin: .5em 0 0 1em;}
ol li, 
#sidebar ul ol li {list-style: decimal outside;}
#sidebar ul ul li,
#sidebar ul ol li {margin: .3em 0 0;	padding: 0;}

/* COMMENTS and entry forms */

.commentmetadata {font-weight: normal; margin: 0;	display: block;}
.nocomments {text-align: left;	margin: 0; padding: 0; font-style: italic;}
/* .nocomments:before {content: "Diskusjon: ";} */
ol.commentlist {margin-left: 0; padding-left: 1em; padding-right:1em; border-left: 6px solid #DCE1EC;}
.commentlist li {font-weight: bold; margin: 1em .5em .3em .5em;	padding: .5em 1em .5em 1em ;	list-style: none;	border: 1px solid #cccccc;	 text-align: left;}
.commentlist li { background-color: #f1f1f1;} 
.commentlist li.odd {background-color: #f8f8f8;}
#commentform input, 
.commentlist p {font-weight: normal; text-transform: none; padding-bottom: 0; clear: none;	margin: 1em .5em 0em 0;}
.commentlist cite, 
.commentlist cite a {font-weight: normal; text-transform:  uppercase;	color: #666666;}
blockquote cite {margin: .5em 0 0;	display:  inline;}

#commentform textarea {font-family: "Courier New", Courier, mono; color: #3333CC; }
#commentform p {margin: .5em 0;}
#commentform input {width: 15em;	padding: .2em;	margin: .2em .2em .1em 0;}
#commentform textarea {width: 30em;	padding: .5em;}
#commentform #submit {margin: 0;	float: left; margin-bottom: 1em; margin-top:.5em;  }

.entry form { text-align:left;	 /* This is mainly for password protected posts, makes them look better. */}
.entry form input{ float: left;  margin-right: .2em; /* This is mainly for password protected posts, makes them look better. */	}
.entry form label{  float: left;  margin-right: 1em;}
select {width: 130px;}

#searchform {margin: .1em;	padding: .1em .1em; 	text-align: left; }
#sidebar form {margin: 0;}
#sidebar #searchform #s {width: 115px; padding: 0em;}
#sidebar #searchsubmit { padding: 0; 	}
#sidebar input	{ font-size: .9em;}

/* ----------- Sidebar widgets and override of native widget styles */
.ngg-widget,
.ngg-widget-slideshow {overflow: hidden;	margin:0pt;	padding:5px 0px 0px 0pt;}
.ngg-widget img {border:6px solid #7C8CA3  !important; /* from picture: #7C8CA3 #DEE2ED*/	margin:0 0 0 0; 	padding:0;	overflow: hidden; }

#wp-calendar {empty-cells: show;	margin: 10px auto 0;	width: 155px;}
#wp-calendar #prev a, #wp-calendar #next a {font-size: 9pt;}
#wp-calendar a {text-decoration: none;}
#wp-calendar caption {font-size: 1.3em; font-weight:bold;	text-align: center; }
#wp-calendar th {font-style: normal;	text-transform: capitalize;}
#wp-calendar #next a {padding-right: 10px;	text-align: right;}
#wp-calendar #prev a {padding-left: 10px;	text-align: left;}
#wp-calendar a {display: block;}
#wp-calendar caption {text-align: center;	width: 100%;}
#wp-calendar td { padding: 3px 0;	text-align: center;}
#wp-calendar td.pad:hover { /* Doesn't work in IE */	background-color: #fff; }
div#sidebar li.widget_tag_cloud a {font-size: 1em !important; line-height: 140%}	

/* Miscellaneous */
acronym, abbr, span.caps {cursor: help;}
acronym, abbr {border-bottom: 1px dashed #999;}
acronym, 
abbr, 
span.caps {font-size: 0.9em;	letter-spacing: .07em;}

/* NTNU header links */

#wp_ntnulinks {width: 840px;	text-align: center;	margin: .6em auto; padding: 0;	font-size: 1.1em;}	
#wp_ntnulinks div.ntnu-orginfo { display: block; float: right; text-align: right; clear: none; margin-bottom: .4em; padding-right: .7em; color: #999; font-size: 0.9em; font-weight: normal; letter-spacing: 0.1em; overflow: hidden;}
#wp_ntnulinks ul {display: block;	text-align: center;	overflow:hidden; list-style: none;	margin: 0 0 0 1em;  padding: 0;}
#wp_ntnulinks ul li :after{content: "\0020 \0020 ";}
#wp_ntnulinks ul li.bloghome :before{content: "\0020 \0020 ";}
#wp_ntnulinks ul li {list-style: none;	float: left;	padding-left: 1em; 	padding-right: 1em;	border-right: 1px dotted #999;}	
#wp_ntnulinks ul li a:hover{background-color:	#fff;}	
#wp_ntnulinks li.bloghome {padding-left: 1em; 	margin-left: 0; border-left: 1px dotted #999;}	
#wp_ntnulinks li.navlogo {float: right; 	margin-right: 1em;	margin-left: 2em;}	
#wp_ntnulinks li.navlogo a:hover { background-color: transparent;}	
