/*
Theme Name: Ingenjören
Theme URI: http://ingenjoren.se
Description: Ingenjören 2009
Version: 1.0
Author: Victor Hallberg <vigge19@gmail.com>
Tags: ingenjören
*/

/* Global reset */
html, body, div, span, fieldset, form, label, legend,
h1, h2, h3, h4, h5, h6, p, pre, ol, ul, li, a, code, img, em, strong, blockquote, cite
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
}

/* Force Vertical Scrollbar */
html { overflow-y: scroll; }


/* General typography */

a {
	text-decoration: none;
	color: #348;
}
a:hover {
	text-decoration: underline;
}

em, i { font-style: italic; }
strong, big, b { font-weight: bold; }
small {	color: #666; }

h2, h3, h4, h5 {
	color: #000;
	font-weight: bold;
	line-height: 1.2;
}

input, select, textarea {
	font-family: sans-serif;
	font-size: 1em;
}

hr {
	border: 0 solid #eee;
	border-bottom-width: 0.1em;
	color: #999;
	background: #999;
	height: 0.2em;
}

iframe {
	margin: 0;
	padding: 0;
	border: none;
}

.entry p, .entry blockquote { margin: 0.25em 0 0.75em; }
.entry blockquote { margin-left: 1em; }
#main h3, #main h2 { margin-top: 0.5em; }
#main h2, #main .list h3 { font-size: 2.2em; margin-top: 0; }
#main h3, #main .list h2 { font-size: 1.5em; }
#main .post h2 { margin-top: 0.5em; }
#main .list .post h2, #main .post.print h2 { margin-top: 0; }
.entry h4 { font-size: 1.154em; margin-top: 0.533em; }
.entry h5 { font-size: 0.917em; margin-top: 0.545em; }
.entry ol, .entry ul { margin: 0.083em 0 0.67em 0; }
.entry ol { margin-left: 0.75em; }
.entry ul { margin-left: 0.33em; }
.entry li { margin: 0 1em 0 1.5em; }
.entry big   { font-size: 1.25em; }
.entry small { font-size: 0.833em; }


/* Layout boxing */
#left, #main, .side, .side .box {
	border: 1em solid #e3e3e3;
}

/* Basic layout */

body {
	color: #000;
	background: #e3e3e3;
	font-size: 62.5%;
	font-family: Arial, Helvetica, Tahoma,  sans-serif;
	text-align: center;
}

#topbar, #header, #menu, #columns, #footer, .wrapper {
	margin: 0 auto 0;
	text-align: left;
	width: 86em;
}

#columns {
	margin: 1em auto 1em;
	background: #fff;
}

#left, #main, .side {
	float: left;
	margin-right: -1em;
	border-width: 0 1em 0 0;
	background: #fff;
}

#main, .side {
	margin-bottom: -1em;
	border-bottom-width: 1em;
}

#left {
	line-height: 1.5em;
}

#main {
	padding: 1em 1em 2em;
	width: 40em;
}


/* Floats and alignment */

.left {
	float: left;
}
.right {
	float: right;
}
.clear {
	clear: both;
}

.clearer, .empty {
	line-height: 0;
	font-size: 0;
	height: 0;
}
.clearer {
	clear: both;
}


/* Header & title */

#top {
	background: #fff;
}

#topbar {
	padding: 0.5em 0 0.5em;
}

#topbar .box {
	float: left;
	margin-right: 1em;
}

#title, #title-sub {
	float: left;
}

#title {
	float: left;
	margin-right: 1.5em;
}
#title a { color: #000; text-decoration: none; }
#title a img { font: normal normal bold 5em/1 Georgia, serif; }

#title-sub {
	margin: 2.7em 1em 0 1em;
	font-weight: bold;
	width: 27em;
}

#title-note {
	margin-bottom: 0.5em;
	font-size: 1.2em;
}

#title-date, #title-rss, #title-mail { float: left; }
#title-date {
	margin-right: 0.375em;
	font: normal normal bold 1.6em Georgia, serif;
}
#title-rss, #title-mail {
	margin-left: 1.333em;
	padding: 0.167em;
	padding-left: 20px;
	background: url("/wp-includes/images/rss.png") no-repeat 0 0.25em;
	font-size: 1.2em;
}
#title-mail {
	background: url("/wp-content/themes/ingenjoren/img/mail_big.png") no-repeat 0 0.15em;
}

#headerbar {
	float: right;
}

#headerbar .box {
	float: right;
	width: 21em;
	height: 8em;
	overflow: hidden;
}


/* Menu */

#menu-wrapper {
	margin-top: 0.5em;
	padding: 0.4em 0.4em 0.2em;
	border-bottom: 0.2em solid #666;
	background: #333;
	overflow: hidden;
}

#menu {
	list-style: none;
}

#menu li {
	display: inline;
}

#menu li a, #search-submit {
	float: left;
	margin-right: 0.273em;
	padding: 0.273em 0.727em 0.182em;
	color: #ddd;
	font-size: 1.1em;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
}

#menu li a:hover, #menu li.current_page_item a,
#search-submit:hover, #search-submit:active {
	color: #fff;
	background: #b00054;
}
#menu li.current_page_item a {
	background: #007a98;
}

#menu li#search-box {
	float: right;
}

#search-box input {
	display: inline;
	font-family: Arial, Helvetica, Tahoma, sans-serif;
}

#search {
	padding: 0.083em 0.083em 0.083em 17px;
	border: 0.083em solid #007a98;
	color: #333;
	background: #ddd url("/wp-content/themes/ingenjoren/img/search.png") no-repeat 2px 0.167em;
	font-size: 1.2em;
	width: 12em;
}
#search:focus { border-color: #b00054; }

#search-submit {
	float: none;
	margin: 0;
	padding: 0.091em;
	border: none;
	background: transparent;
	font-size: 1.1em;
	width: 3.91em;
	cursor: pointer;
}

/* Sidebars */

.side {
	border-width: 0 0 0 1em;
	width: 21em;
}

#side1 {
	margin-right: -1em;
	border-right-width: 1em;
}

.side .box {
	padding: 0.3em 0.5em;
	border-width: 0 0 1em 0;
	overflow: hidden;
}

.bar h3 {
	margin: -0.25em -0.417em 0.25em -0.417em;
	padding: 0.083em 0.417em;
	color: #fff;
	background: #8c9017;
	font-size: 1.2em;
	letter-spacing: 0.083em;
	text-transform: uppercase;
}
.bar h3 a {
	display: block;
	color: #fff;
	background: url("/wp-content/themes/ingenjoren/img/arrow.gif") no-repeat right 0.285em;
	text-decoration: none;
}

.bar p, .bar ol, .bar ul { font-size: 1.1em; margin: 0.182em 0 0.364em; }
.bar ul { margin-left: 1.272em; }
.bar ol { margin-left: 1.455em; }
.bar h4 { font-size: 1.2em; margin-top: 0.25em; }


/* Widgets */

.widget_advertisement p.title {
	margin: 0;
	color: #666;
	font-size: 0.9em;
	text-transform: uppercase;
	line-height: 1.2;
}

.widget_category_excerpts h3, .widget_rss h3 {
	border: none;
}

.widget_category_excerpts .post, .widget_rss li {
	border-top: 0.077em solid #cdd07f;
}
.widget_rss li {
	padding: 0.167em 0;
	border-top-color: #daa;
}
.widget_category_excerpts h3 + .post, .widget_rss ul :first-child {
	border-top: none;
}

.widget_rss h3 a img {
	display: none;
}
.widget_rss h3 { background: #ad2828; }
.widget_rss h3 a { color: #fff; }
.widget_rss ul {
	margin-left: 0;
	list-style: none;
}

.widget_latest_issue img {
	float: left;
	margin-right: 0.8em;
}
.widget_latest_issue p.text {
	font-size: 1.1em;
}
.widget_latest_issue p.link { margin-top: 1.5em; }
.widget_latest_issue p.link a {
	padding-left: 18px;
	padding-bottom: 1px;
	background: url("/wp-content/themes/ingenjoren/img/text_big.png") no-repeat 0 0em;
	font-size: 1.3em;
	font-weight: bold;
}

.widget_links a {
	display: block;
}

.widget_links a img {
	margin-left: -1.545em;
}

/* Footer */

#footer {
	clear: both;
	margin-bottom: 1em;
	padding-top: 0.5em;
	border-top: 0.2em solid #666;
	color: #999;
	background: #333;
	height: 5em;
}

#footer ul {
	clear: both;
	margin: 0 0.54em 0.54em; 
	list-style: none;
	overflow: hidden;
}
#footer-links { font-size: 1.3em; font-weight: bold; }
#footer-info { font-size: 1.1em;  }

#footer ul li {
	float: left;
	margin: 0 0.77em;
}

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

#footer-links #copyright { float: right; }


/* Main content formatting */

#main .column {
	float: left;
	margin-right: 1em;
}
#main .two { width: 46%; }
#main .tri { width: 28%; }

h2 .search, h2 .archive, #previous-editions, #by-month, #by-category {
	padding-left: 22px;
	background: url("/wp-content/themes/ingenjoren/img/text_big.png") no-repeat 0 0;
}
#previous-editions, #by-month, #by-category { background-position: 0 0.167em; }
#by-month { background-image: url("/wp-content/themes/ingenjoren/img/calendar2_big.png"); }
#by-category { background-image: url("/wp-content/themes/ingenjoren/img/folder_big.png"); }
h2 .search { background-image: url("/wp-content/themes/ingenjoren/img/search_big.png"); }


/* Entry listings */

.list .post, .list h2 {
	clear: both;
	margin-bottom: 1.4em;
	padding-bottom: 0.4em;
	border-bottom: 0.1em solid #ccc;
}
.list h2 {
	margin-bottom: 0.636em;
	padding-bottom: 0.182em;
	border-bottom-width: 0.0455em;
}

.post.single-post {
	padding-bottom: 0;
	border-bottom: none;
}

.post .title {
	clear: left;
	margin-top: 0.5em;
	color: #000;
}
.post .title a {
	color: #000;
}

.list .title { margin-top: 0; }

/* Entry content */

.entry {
	font-size: 1.2em;
	line-height: 1.5em;
}

.entry .image, .entry .wp-caption {
	margin: 0.25em 0;
	color: #666;
	line-height: 1;
}

.entry .wp-caption-text {
	margin: 0;
	font-size: 1em;
}

#columns .left, #columns .right, #columns .alignleft, #columns .alignright {
	float: right;
	margin: 0.333em 0 0.333em 1em;
	line-height: 1.2em;
}
#columns .left, #columns .alignleft {
	float: left;
	margin: 0.333em 1em 0.333em 0;
}

.entry p.close, .entry a.close, .entry div.close {
	margin-top: 0;
	margin-bottom: 0;
}


/* Metadata displays */

.entry .excerpt-date {
	margin-right: 0.167em;
	padding-right: 7px;
	color: #b00055;
	background: url("/wp-content/themes/ingenjoren/img/more-arrow.gif") no-repeat right 0.25em;
	font-weight: bold;
}

.post-meta {
	margin: 2em 0;
}

.post-meta ul {
	margin: 0;
	list-style: none;
	line-height: 1.3em;
}

.post-meta li {
	margin-top: 0.2em;
}

.metadata {
	font-size: 1.1em;
}

.metadata strong {
	margin-right: 0.364em;
	font-weight: bold;
}

.metadata.filed-in {
	margin-top: 1em;
	padding: 0.25em;
	border-top: 0.1em solid #999;
}

.metadata.custom li {
	color: #000;
	font-size: 1.091em;
}

.metadata .date, .metadata .categories,
.metadata .tags, .metadata .comments, .metadata .print {
	padding-left: 17px;
	background: transparent no-repeat 0 0.091em;
	background-image: url("/wp-content/themes/ingenjoren/img/burst.png");
}
.metadata .date {
	background-image: url("/wp-content/themes/ingenjoren/img/calendar.png");
}
.metadata .categories {
	background-image: url("/wp-content/themes/ingenjoren/img/folder.png");
}
.metadata .comments {
	background-image: url("/wp-content/themes/ingenjoren/img/comments.png");
}
.metadata .print {
	background-image: url("/wp-content/themes/ingenjoren/img/print.png");
}

.metadata a.comments {
	margin-left: 0.73em;
}


/* Comment display */

div#comments, #respond {
	clear: both;
	margin-bottom: 2em;
	padding-top: 0.2em;
	border-top: 0.3em solid #e3e3e3;
}

#comments-title a, #respond-title a { color: #000; }

.comments {
	margin: 0.4em 0 0 0;
	padding: 0 0.5em;
	list-style: none;
}

li.comment {
	margin-top: 0.3em;
	padding: 0.4em 0.8em;
	border: 0.1em solid #ccc;
	background: #f8f9fc;
}
li.comment.alt {
	background: #ecedef;
}

li.comment .metadata {
	font-weight: bold;
	font-size: 1.1em;
}

li.comment .number { color: #666; }
li.comment .author, li.comment .author a { color: #000; }

li.comment .author, li.comment .date {
	margin-left: 0.818em;
	font-style: normal;
}

li.comment .date {
	font-weight: normal;
	font-size: 1em;
	white-space: nowrap;
}

li.comment .awaiting {
	display: block;
	color: #764;
	font-weight: bold;
	font-size: 1.2em;
}

li.comment .entry {
	clear: both;
	font-size: 1.1em;
}


/* Content in margins */

.navigation a, .edit-link a {
	padding-left: 17px;
	background: transparent no-repeat 0 0.091em;
	background-image: url("/wp-content/themes/ingenjoren/img/edit.png");
	font-size: 1.1em;
	line-height: 1.3em;
}

.navigation {
	margin: 0 1em 1em 1em;
	height: 1.3em;
}

.nav-older { float: left; }
.nav-older a {
	background-image: url("/wp-content/themes/ingenjoren/img/arrow_left.png");
}
.nav-newer { float: right; }
.nav-newer a {
	padding: 0 17px 0 0;
	background-position: right 0.091em;
	background-image: url("/wp-content/themes/ingenjoren/img/arrow_right.png");
}

.edit-link {
	float: right;
}


/* Archive page */

.archive-list {
	font-size: 1.09em;
}
.archive-list li {
	margin-top: 0.5em;
}
.archive-list li a {
	font-weight: bold;
}


/* Forms */

form {
	display: block;
	width: 100%;
}

#main form {
	width: 97%;
}

#main form.pad {
	width: 65%;
}

.entry form {
}

form.entry {
	font-size: 1.2em;
}

form.pad .two.column {
	margin-right: 2em;
	width: 42%;
}

fieldset {
	margin: 0.64em 0;
}

#main label, input.button {
	display: block;
	cursor: pointer;
	font-weight: bold;
	line-height: 1.5em;
}

input {
	width: 100%;
}

input.button {
	padding: 0.083em 1em;
	font-weight: normal;
	width: auto;
}
input.button.default {
	font-weight: bold;
}

label span {
	display: block;
}

.required {
	color: #d72;
}

input.text, textarea, select {
	display: block;
	padding: 0.167em;
	width: 97%;
}

textarea#comment {
	height: 10em;
}


/* Plugins */

span.wpcf7 {
	color: #d33;
	font-size: 1em;
}
span.wpcf7-not-valid-tip-no-ajax {
	color: #d00;
	font-size: 0.917em;
	font-weight: normal;
}
.wpcf7-response-output { font-weight: bold; }
.wpcf7-validation-errors, .wpcf7-mail-sent-ng { color: #d00; }
img.ajax-loader { display: none; height: 0px; }
