/*
Theme Name: Dingus
Author: J.Ø.N
Author URI: http://dingus.dk
Description: Theme for the dingus.dk website
Version: 1.0
License: (C) dingus.dk
License URI: http://dingus.dk
*/

html {
	height: 100%;
	width: 100%;
}

body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: 'Roboto Condensed', sans-serif;
}

h1 {
	clear: both
}

h2 {
	clear: both
}

h3 {
	clear: both
}

h2>a {
	color: black;
	text-decoration: none
}

.pagerow {
	clear: both;
	display: block
}

div.mainpage {
	display: flex;
}


header.site-header {
	width: calc(100% -10px);
	min-width: 800px;
	height: 100px;
	background-image: url(/images/dingustopbar-min.jpg);
	background-repeat: no-repeat;
	background-position: top left;
	background-color: black;
	color: white;
	padding-left: 10px;
	border-bottom: 2px solid #24890d;
	font-size: 405
}

.site-title {
	display: inline-block;
	width: auto;
	float: left;
}

header.site-header h1 {
	margin: 0;
	display: inline-block;
	width: auto;
	padding-bottom: 2px;
	font-size: 50px;
}

header.site-header a,
header.site-header a:visited,
header.site-header a:hover {
	color: white;
	text-decoration: none;
}

header.site-header h2 {
	margin: 0;
	padding-bottom: 0;
	font-size: 12px;
}

/* Menu */

.menu-hovedmenu-container {
	display: block;
	height: 1em;
	line-height: 1em;
	float: right;
	margin-top: 74px;
	margin-right: 10px;
}

ul.menu {
	margin: 0;
	float: right;
	padding-top: 60px;
	padding-right: 10px;
}

li.menu-item {
	display: inline-block;
	width: auto;
	height: 18px;
	line-height: 18px;
	list-style-type: none;
	border: 2px solid #24890d;
	border-radius: 10px;
	padding: 6px 6px 6px 6px;
	background-color: #24890d;
	font-size: 14px;
	margin-left: 10px;
	vertical-align: middle;
}

li.current-menu-item {
	background-color: #24890d;
}

#welcome {
	display: block;
	width: 50%;
	float: right;
	border: 1px solid gray;
	margin: 5px;
	font-size: 0.8em;
	border-radius: 6px;
}

/* på mobil i portræt mode */
@media screen and (max-width:550px) {
	#welcome {
		width: 100%;
	}
}
#welcome h1 {
	font-size: 1.5em;
	padding: 5px 10px 5px 10px;
	margin: 0px;
	background-color: lightgray;
	border-radius: 6px 6px 0px 0px;
}

#welcome p {
	padding: 10px;
}


/* Footer */

.site-footer {
	clear: both;
	border-top: 2px solid #444;
}

.copyright {
	text-align: center
}

/* Page layout */

div.content {
	display: block;
	width: calc(100% - 210px);
	float: left;
	margin-left: 20px;
	max-width: 1000px;
	min-height: 700px;
}

.container {
	height: 100%;
}

/* Sidebar */

div.leftbar {
	display: block;
	width: 180px;
	padding: 0;
	margin: 0;
	background-color: black;
	color: white;
	float: left;
	padding-top: 10px;
	padding-left: 10px;
	font-size: 12px;
}

div.leftbar h1 {
	font-size: 16px;
}

div.leftbar h2 {
	font-size: 14px;
}

div.leftbar a,
div.leftbar a:visited {
	color: white;
	text-decoration: none;
}

div.leftbar a:hover {
	color: lightgreen;
}

div.leftbar form label {
	display: none;
}

div.leftbar form input[type=text] {
	width: 120px;
}

div.leftbar ul {
	padding-left: 10px;
}

div.leftbar li {
	list-style-type: none;
}

/* Post */
.post {
	max-width: 800px;
}

.post img {
	max-width: 800px;
}

/* Default styles Wordpress */

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin: 0.5em 1em 0.5em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 0.5em 1em;
}

#google_translate_element {
	float: right;
}

.yaml {
	color: green;
}

.oldcomments {
	cursor: pointer;
	font-weight: bold;
}

.oldcomments sup {
	font-weight: normal;
}

#commentblock {
	display: none;
}

.reply {
	display: none;
}


figcaption {
	margin-top: 0.5em;
	margin-bottom: 1em;
	color: #555d66;
	text-align: center;
	font-size: 13px;
}

.post-title {
	margin-bottom: 0px;
}
.post-date {
	font-size: 12px;
	margin-bottom: 20px;
}


.highlight pre {
	/* background-color: #888 !important; */
	overflow-x: auto;
}

.highlight code.language-bash {
	background-color: white !important;
	color: black;
	font-style: italic;
}

.highlight code.language-csharp {
	background-color: black !important;
}	