/*
Theme Name: Richmond River Historical Society 2016
Description: Richmond River Historical Society 2016
Author: NTech Media
Author URI: http://ntechmedia.com


	Base Theme Name: HTML5 Blank
	Base Theme URI: http://html5blank.com
	Base Description: HTML5 Blank WordPress Theme
	Base Version: 1.4.2
	Base Author: Todd Motto (@toddmotto)
	Base Author URI: http://toddmotto.com
	Base Tags: Blank, HTML5, CSS3
	
	Base License: MIT
	Base License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
 
/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
/* Disabling due to issues, and because HTML5 Boilerplate made the same change */
/* for similar reasons 4 years ago and still hasn't added it back in yet */
/* https://github.com/h5bp/html5-boilerplate/commit/0d7f8d775ab4ab171c6372f992d506088ca5d3ed */
/* http://aestheticallyloyal.com/public/optimize-legibility/ */
/*	text-rendering:optimizeLegibility; */
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font: 14px/1.4 'Roboto', sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#F00;
	text-decoration:none;
}
a:hover {
	color:#F00;
	text-decoration: underline;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
body {
	background: url(img/bgimg.png) top right no-repeat fixed rgb(255, 230, 202);
}

/* wrapper */
.wrapper {
	display: block;
	margin: 0 auto;
	position: relative;
	width: 100%;
}
/* header */
.header {
	display: block;
    height: 177px;
    box-shadow: 0 0 10px #000000;
    background: url(img/bgimg1.png) top right fixed no-repeat #fff;
    /* margin-bottom: 44px; */
    position: fixed;
    width: 100%;
	z-index:2;
}

.header_wrap {
	max-width: 1100px;
	margin: 0px auto;
	white-space: nowrap;
}

/* logo */
.logo {
	display: inline-block;
	position: relative;
	vertical-align: top;
	width: 500px;	
}

.logo_address {
	position: absolute;
	top: 145px;
	left: 180px;
	font-size: 16px;
}

.logo-img {
	
}
/* nav */
.nav {
	display: inline-block;
	width: calc(100% - 500px);
	vertical-align: top;
}

.nav ul {
	display: table;
	width: 100%;
	margin: 0px auto;
}

.nav ul li {
	display: table-cell;
	line-height: 177px;
}

.nav li a {
	display: inline-block;
	width: 100%;
	text-align: center;
	font-size: 16px;
	color: #000000;
}

.nav li:hover a,
.nav li.current_page_item a {
	color: #74c7e8;
}

.inner_wrap {
	min-height: calc(100vh - 327px);
}

.content_wrap {
	display: table;
	width: 100%;
	max-width: 1100px;
	margin: 0px auto;
	direction: rtl;
	padding: 241px 20px 0px;
}

body.home .content_wrap {
	display: table;
	width: 100%;
	max-width: 1100px;
	margin: 0px auto;
	direction: rtl;
	padding: 20px 20px 0px;
}

.home .content_wrap {
	padding-top: 0px;
	min-height: inherit;
}

/* main content */
section[role=main] {
	display: table-cell;
	direction: ltr;
	vertical-align: top;
}

section[role=main] h1 {
	margin-top: 0px;
}
/* sidebar */
.sidebar {
	display: table-cell;
	direction: ltr;
	max-width: 300px;
	width: 300px;
	padding-right: 30px;
	vertical-align: top;
}

.home .sidebar {
	padding-left: 30px;
}

.home .content_wrap {
	direction: ltr;
}

.home_posts {
	margin: 0px auto;
	max-width: 1100px;
	border-bottom: 1px solid #000000;
}

.home_posts h3 {
	font-size: 20px;
	font-weight: 500;
}

.home_posts ul {
	margin: 0px;
	padding: 0px;
	white-space: nowrap;
	list-style: none;
}

.home_posts ul li {
	display: inline-block;
	width: 33%;
	padding: 20px 20px;
	white-space: normal;
	vertical-align: top;
}

/* footer */
.footer {
	height: 150px;
	background: #FFFFFF;
	margin-top: 91px;
}

.home .footer {
	margin-top: 0px;
}

.footer_wrap {
	max-width: 1100px;
	margin: 0px auto;
	height: 150px;
/*	line-height: 150px;*/
	position: relative;
	padding-left: 400px;
	padding-top: 50px;
}

.footer_logo {
	display: block;
	background: url(img/footerlogo.png) no-repeat bottom;
	width: 320px;
	height: 231px;
	position: absolute;
	bottom: 0px;
	left: 0px;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.home_banner {
	background: url(img/banner1.jpg) no-repeat fixed center bottom / cover;
	height: 560px;
	box-shadow: inset 0 0 10px #000000;
}

.banner_wrap {
	position: relative;
	max-width: 1100px;
	height: 400px;
	margin: 0px auto;
}

.banner_wrap h1 {
	color: #F8FBCF;
    text-shadow: -3px 3px 3px rgba(0,0,0,0.7);
    margin: 0px;
    line-height: 720px;
    padding-left: 20px;
    font-family: 'arialblack', Helvetica, Arial, sans-serif;
    font-size: 45px;
	position:relative;
	z-index:1;
}

.footer_banner {
	background: url(img/banner2.jpg) no-repeat fixed center top / cover;
    box-shadow: inset 0 0 10px #000000;
	height: 50vh;
}

.gallery-wrapper a {
	display:inline-block;
	width: 33%;
	text-align:center;
	margin: 10px 0px;
	vertical-align:	top;
	min-width: 150px;
}

.gallery-wrapper img {
	border: 2px solid #cfcfcf;
}

.gallery-wrapper a p {
	color: #000;
}

.rrhsfacebook a {
	color: #365899;	
}

#cff.rrhsfacebook .cff-author > a {
	background: url(img/rrhsfacebook.png) no-repeat;
	height:	110px;
	float: none;
	background-size: 100% auto;
}

.rrhsfacebook .cff-author .cff-author-text,
.rrhsfacebook .cff-author .cff-author-img {
	display: none;
}
	
	

/*======================================
			CHRIS ADDITIONS
=======================================*/

/*======================================
			SIDEBAR MENU
=======================================*/
.sidebar-widget:first-child {
	background:#e3ccb3;
	padding: 10px;
	border-radius: 5px;
}/*main menu container*/
.sidebar-widget ul li {
	list-style:none;
}
.sidebar-widget ul li a {
	color:#444;
}

.sidebar-widget h3 {
	 width: 100%;
    text-align: center;
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
}

.sidebar-widget li {
	font-weight:bold;
}

.sidebar-widget ul.sub-menu li {
	font-weight:normal;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

@font-face {
    font-family: 'arialblack';
    src: url('fonts/ariblk-webfont.woff2') format('woff2'),
         url('fonts/ariblk-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

div.shiftnav-wrap {
	line-height: 1.4; /* Fixes ShiftNav setting an em based line height when we want a unitless multiplier. */
}

.shiftnav-inner {
	background: url() center top no-repeat; /* Specify the site logo you want to appear in the mobile menu. */
	padding-top: 0px; /* Set to however tall the site logo is. */
}

.shiftnav ul.shiftnav-menu ul.sub-menu li.menu-item > .shiftnav-target,
.shiftnav ul.shiftnav-menu ul.sub-menu li.shiftnav-retract > .shiftnav-target {
	line-height: 100%;
	padding: 15px 25px 15px 35px;
}

div.mobilenav {
	display:none;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1140px) {
	
} /*over 1024 large tablets and desktops */ 

@media only screen and (max-width:1024px) {
	
.header {
    display: block;
    height: 177px;
    box-shadow: 0 0 10px #000000;
    background: url(img/bgimg1.png) top right fixed no-repeat #fff;
    position: fixed;
    width: 100%;
    z-index: 2;
    left: 0;
}

.nav li a {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #000000;
    margin-right: 20px;
}

.nav {
    display: inline-block;
    width: calc(100% - 509px);
    vertical-align: top;
    margin-left: -78px;
}

} /*768 - 1024 ipad landscape */ 


@media only screen and (max-width:773px) {


.footer_wrap {
    max-width: 1100px;
    margin: 0px auto;
    height: 150px;
    position: relative;
    padding-left: 400px;
    padding-top: 62px;
    line-height: 18px;
}

.header {
    display: block;
    height: 177px;
    box-shadow: 0 0 10px #000000;
    background: url(img/bgimg1.png) top right fixed no-repeat #fff;
    position: fixed;
    width: 100%;
    z-index: 2;
    left: 0;
	top:50px;
}

.content_wrap {
	padding: 291px 20px 0;
}

/*------------------------------------*\
    MOBILE NAV
\*------------------------------------*/

.nav {
	display:none;
}

div.mobilenav {
	display:block;
	width:100%;
	height: 50px;
	background:#8AA36A;
	background-position:left;
	position:fixed;
	top:0;
	left:0;
	z-index:999;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

div.mobilenav ul {
	padding:0;
	position: relative;
	width: 100%;
	display:none;
	-webkit-transition: top 1s;
	-moz-transition: top 1s;
	-o-transition: top 1s;
	transition: top 1s;
	top:50px;
	z-index:5;
	margin:0;
	background: rgba(180, 204, 103, 0.96);
}

div.mobilenav ul li {
	text-decoration:none;
	list-style:none;
	padding: 8px 0 8px 15px;
}

div.mobilenav ul li a {
	font-size:15px;
	color:#fff;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-weight: 600;
}

/*menu borders*/

div.mobilenav ul li {
	/*border-top: 1px solid #307f29;*/
	border-bottom: 1px solid #FFE6CA;
}

div.mobilenav ul li:first-child {
	border-top: none;
}

div.mobilenav ul li:last-child {
	border-bottom: none;
}

/*mobile icon is set in funvtions.php*/

/*------------------------------------*\
    	END MOBILE NAV
\*------------------------------------*/

} /*480 - 768 ipad portrait */ 


@media only screen and (max-width:667px) {

.banner_wrap h1 {
    color: #F8FBCF;
    text-shadow: -3px 3px 3px rgba(0,0,0,0.7);
    margin: 0px;
    line-height: 720px;
    padding-left: 131px;
    font-family: 'arialblack', Helvetica, Arial, sans-serif;
    font-size: 45px;
    position: relative;
    z-index: 1;
}
} /*iphone 6 landscape*/

@media only screen and (max-width:568px) {
.wrapper {
    display: inline-block;
    margin: 27px auto 0 auto;
    width: 100%;
    vertical-align: top;
    padding: 0 20px;
}

.content_wrap {
    display: block;
    margin: 0px auto;
    direction: rtl;
    padding: 241px 0 0 0;
}

section[role=main] {
    display: block;
    direction: ltr;
}

.sidebar {
    display: block;
    direction: ltr;
    width: 100%;
    padding-right: 0;
	margin: 0 auto;
}

.logo_address {
    position: absolute;
    top: 145px;
    left: 227px;
    font-size: 14px;
}

.header {
    display: block;
    height: 177px;
    box-shadow: 0 0 10px #000000;
    position: fixed;
    width: 100%;
    z-index: 2;
    left: 0;
    top: 47px;
	background:#fff;
}

.footeraddress {
	display:none;
}

.home_posts ul li {
    display: block;
    width: 100%;
    padding: 0;
    white-space: normal;
}

.home_banner {
    background: url(img/banner1.jpg) no-repeat fixed center bottom / cover;
    height: 295px;
    box-shadow: inset 0 0 10px #000000;
    background-size: 954px 536px;
}

.banner_wrap h1 {
    color: #F8FBCF;
    text-shadow: -3px 3px 3px rgba(0,0,0,0.7);
    margin: 0px;
    line-height: 42px;
    padding-left: 20px;
    font-family: 'arialblack', Helvetica, Arial, sans-serif;
    font-size: 34px;
    position: relative;
    z-index: 1;
    margin-top: 262px;
}

.footer_wrap {
    max-width: 100%;
    margin: 0px auto;
    height: 150px;
    line-height: 150px;
    position: relative;
    padding-left: 0;
}

body.home .content_wrap {
    display: table;
    width: 100%;
    max-width: 1100px;
    margin: 0px auto;
    direction: rtl;
    padding: 10px 20px 0px;
}

.home .sidebar {
    padding-left: 0;
}

.sidebar {
    display: block;
    direction: ltr;
    width: 100%;
    padding-right: 0;
    margin: 0 auto;
}

.sidebar-widget:first-child {
    background: #e3ccb3;
    padding: 10px;
    border-radius: 5px;
    margin: 0 0 20px 0;
}

.footer_banner {
    background: url(img/banner2.jpg) no-repeat fixed center top / cover;
	background-size:1200px 805px;
    box-shadow: inset 0 0 10px #000000;
    height: 50vh;
}

.logo {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 90%;
}

/*mobile portrait*/
	
/*------------------------------------*\
    MOBILE NAV
\*------------------------------------*/

.nav {
	display:none;
}

div.mobilenav {
	display:block;
	width:100%;
	height: 50px;
	background:#8AA36A;
	background-position:left;
	position:fixed;
	top:0;
	left:0;
	z-index:999;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

div.mobilenav ul {
	padding:0;
	position: relative;
	width: 100%;
	display:none;
	-webkit-transition: top 1s;
	-moz-transition: top 1s;
	-o-transition: top 1s;
	transition: top 1s;
	top:50px;
	z-index:5;
	margin:0;
	background: rgba(180, 204, 103, 0.96);
}

div.mobilenav ul li {
	text-decoration:none;
	list-style:none;
	padding: 8px 0 8px 15px;
}

div.mobilenav ul li a {
	font-size:15px;
	color:#fff;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-weight: 600;
}

/*menu borders*/

div.mobilenav ul li {
	/*border-top: 1px solid #307f29;*/
	border-bottom: 1px solid #FFE6CA;
}

div.mobilenav ul li:first-child {
	border-top: none;
}

div.mobilenav ul li:last-child {
	border-bottom: none;
}

/*mobile icon is set in funvtions.php*/

/*------------------------------------*\
    	END MOBILE NAV
\*------------------------------------*/


@media only screen and (max-width:480px) {

.logo_address {
    position: absolute;
    top: 208px;
    left: 38px;
    font-size: 13px;
}

.logo_address {
    position: absolute;
    top: 204px;
    left: 59px;
    font-size: 16px;
    display: block;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
}

.content_wrap {
    padding: 271px 20px 0;
}

}

@media only screen and (max-width:435px) {

.logo {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 68%;
}


}


@media only screen and (max-width:375px) {

.logo {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 80%;
}

.logo_address {
    position: absolute;
    top: 148px;
    left: 145px;
    font-size: 11px;
}

}

@media only screen and (max-width:360px) {

.logo {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 80%;
}

.logo_address {
    position: absolute;
    top: 148px;
    left: 139px;
    font-size: 11px;
}

}

@media only screen and (max-width:320px) {

.logo {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 80%;
}

.logo_address {
    position: absolute;
    top: 199px;
    left: 28px;
    font-size: 13px;
    display: block;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
}

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
   
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
   
.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
	
}
.bypostauthor {
	
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
