/*
Theme Name: realnorth
Theme URI: http://realnorth.net/
Author: realnorth
Author URI: http://realnorth.net/
Description: A clean, minimal WordPress blog theme.
Version: 9.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: realnorth
Tags: blog, one-column, custom-menu, custom-logo, featured-images, threaded-comments
*/

/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}



/*	Typography presets
	------------------	*/
	
h1 {
	font-size: 36px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 18px;
}

h4 {
	font-size: 16px;
}

h5 {
	font-size: 14px;
}

h6 {
	font-size: 13px;
}

body {
	font: 12px/24px Helvetica,'Helvetica Neue','Segoe UI',Arial,sans-serif;
	color:#666;
	background-color:#fff;
	font-weight:400;
}

.small, small {
	font-size: 11px;
	line-height: 21px;
}

.clear {
    clear:both;
}


h1, h2, h3, h4, h5, h6 {
    font-weight:700;
}

h1, h2, h3, h5{
	color:#2276BB;
}

h2, h3{
	margin:20px 0 5px 0;
	line-height:36px;
}

h4, h5, h6{
	margin:10px 0 5px 0;
	line-height:24px;
}

h4, h6, strong, em {
	color:#333;
}

a{
	color:#2276BB;
	text-decoration:none;
}

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

ol {
	list-style: decimal;
}

ul {
	list-style: disc;
}

li {
	margin-left: 30px;
}

p,
dl,
ol,
ul,
pre,
table,
address,
fieldset {
	margin-bottom: 10px;
}

table {
	margin: 0;
	text-align: left;
	width: 100%;
	padding:0;
}

th {
	background:#eaeaea;
	padding:4px 2px;
}

td {
	padding:4px 2px;
}

tbody td {
	border-bottom:1px solid #eaeaea;
}

blockquote {
	margin: 0 0 20px 0;
	padding: 5px 10px;
	border-left: 1px solid #f1f1f1;
	font-style:italic;
	font-size:13px;
}

blockquote p {
	margin: 0; }

cite {
	font-weight:700;
	font-style:normal;
	font-size:13px;
}

iframe {
        margin:0;
        padding:0;
}

/* Selection colours (easy to forget) */

::selection 	 	{background: #ffff9e; color:#666666;}
::-moz-selection 	{background: #ffff9e; color:#666666;}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: background: #ffff9e; color:#666666;}

pre.moz::-moz-selection {
	background: #ffff9e; color:#666666;
}

pre.webkit::-webkit-selection {
	background: #ffff9e; color:#666666;
}

body {
	width: 720px;
	-webkit-text-size-adjust: 700px; /* Stops Mobile Safari from auto-adjusting font-sizes */
	margin:0 auto;
}

/* Header & Navigation */

header{
    width: 700px;
	height:80px;
	margin:0 0 160px 0;
}

#logo{
	float:left;
	margin:20px 0 0 0;
}

nav{
	margin:20px 0 20px 0;
	float:right;
}


nav li {
	margin:0;
	list-style-type:none;
	display:inline;
	padding:10px;
}

nav li:first-child {
	padding:0 10px 0 0;
}

nav li:last-child {
	padding:0 0 0 10px;
}    

nav a {
	font-size:16px;
	color:#555;
}

nav a:hover {
	color:#2276BB;
	text-decoration: underline;
}

nav a.selected {
	color:#2276BB;
    text-decoration: underline;
}

nav span{
	font-size:12px;
	float:right;
}

#categories, #tags {
    margin:0 10px;
}

#categories h3, #tags h3{
    color:#333;
}


/* Post styles */

article {  
    width: 700px;  
    margin: 0 10px 80px 10px;
}

article img{  
    max-width: 700px;
} 

article h2{
    padding:4px 0;
    margin:10px 0 0 0;
}

pre, code, .code {
    background:#555;
    color: #f1f1f1;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 12px;
    line-height: 18px;
    margin: 10px 0;
    padding: 10px;
	white-space: pre-wrap;       /* css-3 */
  	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  	white-space: -pre-wrap;      /* Opera 4-6 */
  	white-space: -o-pre-wrap;    /* Opera 7 */
  	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.postmetadata {
	padding:0;
	margin:0 0 10px 0;
}

.datetime p,.postmetadata p {
	line-height:1.4;
}

.postmetadata span {
	display:block;
}

.postmetadata span a {
	font-size:12px;
}

.postmetadata span a:hover {
	text-decoration:underline;
}

.postmetadata span.date {
	background:url(img/datetime.png) no-repeat left 5px;
	padding:0 0 0 20px;
    margin:10px 0;
}

.postmetadata span.category {
	background:url(img/categories.png) no-repeat left 15px;
	padding:10px 0 0 15px;
	margin:0;
}

.postmetadata span.comments {
	background:url(img/comments.png) no-repeat left 5px;
	padding:0 0 0 15px;
	margin:10px 0 20px 0;
}

.postmetadata span.tags {
	background:url(img/tags.png) no-repeat left 5px;
	padding:0 0 0 15px;
	margin:10px 0;
}

.separator {
	border-bottom:1px #eaeaea solid;
}

.vimeo {
	width:100%;
	height:auto;
	margin:20px 0 0 0;
}

.youtube {
	width:700px;
	height:386px;
	margin:20px 0 0 0;
}

.lfvimeo {
	width:700px;
	height:500px;
	margin:20px 0 0 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
    margin: 0 0 20px 0;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.textleft {
	text-align:left;
}

.textRight {
	text-align:right;
}

/* Sidebar */

#sidebar {  
    width:100%;
    margin:10px 0;
}

#sidebar li{
	list-style-type:none;
    float: left;
    line-height: 28px;
	margin:5px 5px 5px 0;
}

#sidebar li a{
    background-color:#eaeaea;
    color:#666666;
    padding:8px;
}

#sidebar li a:hover{
    background-color:#2276BB;
    color:#fff;
    text-decoration:none;
}

#sidebar h2 {
	font-size:18px;
	color:#333;
	padding:0;
	margin:0 0 10px 0;
}

.widget_categories,.widget_archive,.widget_recent_entries,.widget_WPtwitter {
	min-height:60px;
	display:inline;
	margin:0;
	padding:0 10px 0 0;
	border:0;
}

.widget_WPtwitter{
	padding:0;
}

#pagination {
    clear:both;
    width:100%;
    padding:0 0 40px 0;
}

#pagination a {
    background-color:#2276BB;
    color:#fff;
    text-decoration:none;
    padding:5px 10px;
    font-size:14px;
    margin:0;
}

#pagination a:hover {
    background-color:#f2f2f2;
    color:#333;
}

.alignleft {
	float:left;
}

.alignright {
	float:right;
}


/* Forms */

.avatar {
    width:80px;
}

#comment-template {
    margin:40px 0 0 0;
}

form#respond label {
	line-height:1.4;
	margin:0 0 5px 0;
}

form#respond label strong {
	font-weight:normal;
}

form#respond input,form#respond textarea {
	border:1px solid #ddd;
	padding:5px;
	font-size:13px;
}

form#respond textarea {
	width:260px;
	background-color:#eaeaea;
	border:1px solid #ddd;
}

form#respond input {
	width:200px;
	background-color:#eaeaea;
	border:1px solid #ddd;
}

form#respond input[type="submit"] {

	text-decoration:none;

}

form#respond input[type="submit"]:hover {
	text-decoration:underline;
	background-color:#2276BB;
	color:#fff;
}

form#respond p.btt-submit-wrap {
	text-align:left;
}

form#respond p.btt-submit-wrap input.btt-submit {
	width:180px;
}

form#respond p.btt-submit-wrap:hover {
	text-decoration:underline;
}

/* Footer */

footer{
    width:100%;
	margin:80px 0 10px 0;
	padding:0;
}


@media screen and (max-width:600px){  
	body {
		width: 90%;
		margin:0 auto;
	}
	
	/* Header & Navigation */

    header{
        width:100%;
		padding:0;
    }
    

    #logo{
	    margin:20px 0 0 0;
	    float:left;
    }
    
    nav {
        width:100%;
        margin:40px 0;
        padding:0;
        float:left;
    }
    
    nav a {
        padding-left:0;
    }

    nav li {
	    margin:0;
	    list-style-type:none;
	    display:inline;
	    padding:10px 5px;
    }

    nav li:first-child {
	    padding:10px 5px 10px 0;
    }

    nav li:last-child {
	    padding:10px 0 10px 5px;
    }

    /* Post styles */

    article {  
        width:100%;
		margin:0 0 40px 0;
		padding:0;
    } 
         

    article img {  
        max-width: 100%;  
    }

    article h2 {
        font-size:21px;
        padding:4px 0;
		border:0;
    }
    
    article h3 {
        font-size:18px;
    }
    
	article h4 {
        font-size:16px;
    }
    
    article h5 {
        font-size:14px;
    }
    
    .postmetadata {
	    padding:0;
	    margin:5px 0;
    }

    .postmetadata span {
	    display:block;
	    margin:5px 5px 5px 0;
	    padding:0;
    }


	/* Footer */
	
	#sidebar{
	    width:100%;
	}
	
	footer{
	    width:100%;
    }  
}

/* Accessibility */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #2276BB;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.skip-link:focus {
    background-color: #2276BB;
    color: #fff;
}

/* Tablet Breakpoint */

@media screen and (min-width: 601px) and (max-width: 1024px) {
    body {
        width: 85%;
        margin: 0 auto;
    }
    
    header {
        width: 100%;
    }
    
    article {
        width: 100%;
        margin: 0 0 60px 0;
    }
    
    article img {
        max-width: 100%;
    }
}

/* Large Desktop */

@media screen and (min-width: 1200px) {
    body {
        width: 720px;
    }
}

/* Print Styles */

@media print {
    header, footer, #sidebar, #pagination, nav, .postmetadata span.comments {
        display: none;
    }
    
    body {
        width: 100%;
        font-size: 12pt;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    article {
        width: 100%;
        page-break-inside: avoid;
    }
}
