@import url("colours.css");
@import url("tags.css");

* { margin: 0;padding: 0; }

body {
	margin: 0em;
	font-family: "Trebuchet MS", helvetica, sans-serif;
	font-size: 9pt;
	line-height: 1.6em;
	padding: 1em;
}
 
header, footer, section, article, aside, nav {
	overflow: auto; 
}

.maincontainer, body>article, body>header, body>footer {
	padding: 1ex 2em 1em 2em;
}

body>header>nav {
	padding: 0ex 1em 0ex 1em;
}

body>header>nav ul li {
	display: inline;
	list-style-type: none;
	padding: 0.5ex 1em;
}

.banner, .topnotch {
	line-height: 1em;
	overflow: hidden;
	text-align: right;
}

dl, dt, dd  {
	padding-left: 1em;
}

dd  {
	font-style: italic;
	padding-left: 2em;
	padding-bottom: 1ex;
}

dt  {
	padding-top: 1ex;
}


.respond {
	width: 100%;
}


.respond textarea {
	height: 15em;
	padding: 1em;
	min-width: 80%;	
}

.topsearch {
	text-align: right;
	float: right;
	overflow: visible;
}

.topsearch input {
	padding: 0.2ex;
}

.sidebar a {
	display: inline-block;
}

.sidebar>ul>li {
padding-bottom: 2em;
}

li h2 {
	padding: 0ex 0ex 1ex 0ex;
	margin: 0ex;
}

.page {
	max-width: 80em;
}

.page, .flexy {
	overflow: visible;
	padding-left: 2em;
}


body>div {
}


.sidebar {
	padding: 0ex;
	float: left;
}

.sidebar ul {
	padding: 0em;
	margin: 0em;
}

.explicitlink {
	font-size: 80%;
}

article>section>ul>li {
	list-style-type: none;
	padding: 0em 1em;
}

article a {
	padding-right: 1ex;
	margin-right: -1ex;
	padding-left: 1ex;
	margin-left: -1ex;
	-webkit-border-radius: 0.5ex !important;
	-moz-border-radius: 0.5ex !important;
	border-radius: 0.5ex !important;
	text-decoration: none;
}

body>header h1 {
	display: block;
}

article header h1 {
	padding: 0 0 1ex 0;
	display: block;
	font-size: 1.5em;
}


body>header h1 a:link, body>header h1 a:visited {
	text-decoration: none;
}

body>header h1 a:hover, body>header h1 a:active {
	text-decoration: none;
}

section p, 
section ol,
section ul,
section pre {
	padding: 1em 0;	
}


article>section>ol,
article>section>ul {
	margin-left: 2em;
}


article {
	padding: 1em 0ex;
}

article>header p,
article>footer p {
	font-size: 75%;
}

nav.sidebar {
	margin-right: 1em;
	width: 26em;
}

nav.sidebar>ul {
	-moz-column-gap: 1em;
    -moz-column-width: 10em;
	-webkit-column-gap: 1em;
    -webkit-column-width: 10em;
    padding-top: 1em;
}

nav.sidebar ul {
	list-style: none;
}

nav.sidebar>ul>li {
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	column-break-inside: avoid;
	display: inline-block;
	width: 100%;
}


.rc {
	padding-left: 1em;
}

.rcs {
	padding-bottom: 1em;
}

article>footer {
	clear: none;
	width: 100%;
}

.comment-article {
  clear: both;
}

.box {
	width: 40em;
}

#comment, .comment, .children {
	border-radius: 1ex;
	-moz-border-radius: 1ex;
	-webkit-border-radius: 1ex;
	list-style: none;
	padding-right: 0em;
}

.commentlist li {
	padding-right: 0em;
	border: 1px solid #FFFFFF;
	margin-bottom: 0.5ex;
}

.floaty {
	float: right;
	padding: 1ex 0ex 1ex 1em;
}

.reply { 
	padding: 0.5ex 1ex;
	text-align: right;
}

.avatar {
	float: left;
	padding: 0em 0.5ex 0.5ex 0ex;
}

.depicticon {
	float: left;
	padding: 0;
	margin: 1em 1ex 0ex 0ex;
	border: none;
	background: none !important;
}

blockquote {
	padding: 0em 2em;
	font-style: italic;
}

.sub {
	position: absolute;
	left: 30em;
	top: 2.5em;
}

.example { padding: 0em 2em; }

#colours

body {	background: #FFF; }

body {	color: #444; }


.rjb_link, .post {
	margin: 0em 0em 1em 0em;
	display: inline-block;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	column-break-inside: avoid;
	width: 100%;
	-webkit-box-shadow: 0 0 1ex #fff;
}

.rjb_link>*, .post * {
	-webkit-transition: background 0.2s ease-in-out;
	-moz-transition: background 0.2s ease-in-out;
	transition: background 0.2s ease-in-out;
	padding: 1em 1ex;
}

.rjb_link *, .post * {
	padding: 0em 1ex 1ex 1ex;
}

.rjb_link h1, .post h1 {
	padding: 1em 1ex 1ex 1ex !important;
}

.listing {
	max-width: none !important;
	-moz-column-width: 20em;
	-moz-column-gap: 1ex;
	-moz-column-fill: balance;
	-webkit-column-width: 20em;
	-webkit-column-gap: 1ex;
	-webkit-column-fill: balance;
	column-width: 20em;
	column-gap: 1ex;
	column-fill: balance;
}

a {
  text-decoration: none;
}

.supersized {
	width: 95%;
	font-size: 140%;
}

.searchbar h2 {
	padding-bottom: 1ex;
}

.searchbar {
	padding-bottom: 1em;
}


.rjb {
	background: #FFF !important;
	border: 0.3ex solid #036 !important;
}

.edit-link, .post-edit-link {
	font-size: 75%;
	float: left;
	position: absolute;
}

.bigfix {
	width: 100%;
}

@media screen and (max-width: 600px), screen and (max-height: 600px) {
	body,
	body > article, 
	body > header, 
	body > footer, 
	.page, 
	.flexy,
	.rjb_link,
	.post,
	.maincontainer {
    	margin: 0ex;
    	padding: 0ex;
	}


	.topsearch {
		width: 100%;
		padding: 0em;
	}
		
	.listing {
		margin: 0ex;
	}
	
	nav.sidebar {
		margin: 0em;
    	padding:0;
    	clear: both;
    	float: none;
    	width: 100%;
		overflow: visible;
		width: 98%;
   	}

	nav.sidebar>ul {
		display: none;
	}
	
    body > header > h1, .g-plus, .prevnext, .widget_meta, .widget_nav_menu {
    	display: none;
    }
    .sidebar h2 {
		padding: 0em 0em 0em 0em;
		margin: 1em 0em 1em 0em;
	}
	.searchbar h2 {
		display: none;
	}
	.searchbar {
		width: 100%;
	}

	.searchbar input {
		width: 100%;
	}

	h1 {
		font-size:100%;
	}
}

