/*
Theme Name: motuweb-framework
Description: parent theme framework
Version: 1.4
Date: 2nd October 2025
Author: John Potter
Author URI: http://johnp.co.nz
Tags: responsive, liquid width, two columns, widgets
*/

html {
	overflow-y: scroll; /* force scrollbars on short pages */
}

body {
	margin: auto;
	padding: 0;
	font-family: "Lucida Grande", Verdana, Lucida, Arial, Helvetica, sans-serif;
	font-size: 1em;
	line-height: 1.5em;
}

body.admin-bar {
	padding-top: 28px;
}

.custom-logo {
	padding: 20px 0 0 20px;
}

#outerwrap {
	position: relative;
	clear: both;
	float: right;
	width: 100%;
	overflow: hidden;
	color: #000;
	background: transparent;	/* left bg*/
}

#innerwrap {
	position:relative;
	float: right;
	width: 100%;
	left:70%;
	color: #000;
	background: transparent;	/* right bg */
}

#content,
#sidebar {
	position: relative;
	float: right;
	width: auto;
	overflow: hidden;
}

#content {
	width:66%;
	right:102%;
}

#sidebar {
	width:24%; 
	right: 6%; 
}

#content p,
#content dt,
#content dd,
#content h2,
#content h3,
#content h4,
#content h5,
#content li { 
	max-width: 60em;
}

#content img {
	max-width: 100%;
	height: auto;
}

a img {
	border: 0;
}

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

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px 1em 5px 0;
	margin: 0 7px 2px 0;
	display: inline;
}

img.inline {
	float: none;
	display: inline;
	margin: 0 0 0 1em;
}

.imagenav {
	padding-bottom: 20px;
}

.wp-caption-text {
	font-weight: bold;
	font-size: 90%;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

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

acronym, abbr {
	border-bottom: 1px dashed #333;
}

acronym, abbr {
	cursor: help;
}

.edit-this a:link, .edit-this a:visited {
	color: red;
	font-size: 80%;
}

#tagline, h1 {
	text-align: center;
	line-height: 1.1em;
}

.pagination {
	margin: 20px 0 40px 0;
}

.previous-next {
	text-align: center;
	margin: 80px 0 40px 0;
}

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

.post {
	margin-bottom: 3em;
}

.attachment-post-thumbnail{
	float: left;
	width: 200px;
	margin: 0 20px 20px 0;
}

h2.storytitle {
	clear: both;
}

.clear {
	clear: both;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* Main Menu Bar 
-------------------------------------------------------------- */
.menu, 
.menu ul {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.menu li {
	border: 0;
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 5;
}

.menu li:hover {
	white-space: normal;
	z-index: 10000;
}

.menu ul {
	left: 0;
	position: absolute;
	top: 0;
	visibility: hidden;
	z-index: 10;
	background: #eee;  /* Drop-down background */
}

.menu li:hover > ul {
	top: 100%;
	visibility: visible;
}

.menu li li:hover > ul {
	left: 100%;
	top: 0;
}

.menu:after, 
.menu ul:after {
	clear: both;
	content: '.';
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}

.menu ul,
.menu ul ul {
	margin: 0;
	padding: 0;
}

.menu ul {
	margin-top: 1px;
	width: auto;
}

.menu a {
	cursor: pointer;
	display: block;
	font-size: 15px;
	height: 45px;
	line-height: 45px;
	margin: 0;
	padding: 0 0.9em;
	position: relative;
	text-decoration: none;
	white-space: nowrap;
}

.menu li li { /* second level list items */
	float: none;
	margin: -1px 0 1px 0;
	width: auto;
}

.menu ul > li + li {
	border-top: 0;
}

.menu li li:hover > ul {
	left: 100%;
	top: 0;
}

.menu > li:first-child > a {
	border-left: none;
}

.menu a#responsive_menu_button {
	display: none;
}

.main-nav #responsive_current_menu_item {
	display: none !important;   /* remove page title from mobile menu bar or above main bar */
}

.js .main-nav .menu {
	display: block;
}

/* Footer */
#footer {
	clear:both;
	float:left;
	width:100%;
	margin: 0;
	padding: 0;
	font-size: 90%;
	border-top: 1px solid #eee;
}

* html #footer {
	float: none;
}


#footer p {
	padding-right:1em;
}

#footer .widget {
	float:left;
	text-align: left;
	width: 30%;
}

.footer_box_cont {
	width: 290px;
	float: left; 
	margin: 1px 25px 1px 25px;
}

.footer_box_cont_last { 
	margin-right: 0;
}

.footer_box ul {
	list-style-type: none; 
	margin: 0;
	padding: 0;
}

.sitecredit {
	text-align: right;
}


/* Fixes for imported Evernote HTML */

div.para {
margin-top: 1em;
max-width: 60em;
}

span.R64m3 {
background-color: #FFC0CB;
}

.home .wp-caption-text {
    display: none !important;
}

/* =Responsive (Mobile) Styles 
-------------------------------------------------------------- */

@media screen and (max-width: 980px) { /* mobile menu displays*/

	#outerwrap,
	#innerwrap,
	#sidebar,
	#content {
		float: none;
		width: auto; 
		position: static; 
	}

	#content,
	#sidebar {
		margin: 0 10px 0 10px;
		
		position: static; 
	}

	.js .main-nav {  /* bar at top */
		position: relative;
		height: 30px;
		background: #333;
	}
	
	.js .main-nav .menu { /* mobile menu background */
		display: none;
		position: absolute;
		width: 100%;
		top: 30px;
		z-index: 1000;
		background: #eee;
	}
	
	.js .main-nav .menu ul {
		margin-top: 1px;
	}
	
	.js .main-nav .menu li {
		float: none;
		border: none;
		max-width: 300px; /* allow space to scroll on touch-screen devices */
	}
	
	.js .main-nav .menu li a {
		font-size: 13px;
		font-weight: normal;
		height: 45px;
		line-height: 45px;
		padding: 0 15px;
		border: none;
		border-bottom: 1px solid #f5f5f5;
		text-shadow: none;
		text-align: left;
		cursor: pointer;
	}
	
	.js .main-nav .menu li.current_page_item,
	.js .menu .current_page_item a,
	.js .menu .current-menu-item a {
		background-color: #ccc;
	}
	
	.js .main-nav .menu li li a {  /* Second level items */
		position: relative;
		padding: 0 10px 0 30px;
	}
	
	.js .main-nav .menu li li li a {  /* Third level items */
		position: relative;
		padding: 0 10px 0 40px;
	}
	
	.js .main-nav .menu li a:hover,
	.js .main-nav .menu li li a:hover {
		background-color: #ccc;
	}
	
	.js .main-nav .menu li li a::before {
		content: '-';
		position: absolute;
		top: 0;
		left: 20px;
	}
	
	.js .main-nav .menu li li li a::before {
		content: '-';
		position: absolute;
		top: 0;
		left: 20px;
	}
	
	.js .main-nav .menu li li li a::after {
		content: '-';
		position: absolute;
		top: 0;
		left: 30px;
	}
	
	.js .main-nav .menu li ul {
		position: static;
		visibility: visible;
	}

	.js .main-nav .menu ul {
		min-width: 0;
	}

	.js .main-nav #responsive_current_menu_item {
		display: block;
		padding: 5px 40px 5px 10px;
		color: #fff;
		font-weight: 700;
		cursor: pointer;
	}
	
	.js .main-nav a#responsive_menu_button {
		position: absolute;
		display: block;
		top: 0;
		left: 100%;
		height: 30px;
		width: 70px;
		margin-left: -100px;
		background: url('images/select-icons.png') 0 5px no-repeat;
		cursor: pointer;
	}
	
	.js .main-nav a#responsive_menu_button.responsive-toggle-open {
		background: url('images/select-icons.png') 0 -46px no-repeat;
	}
	
}

@media screen and (max-width: 650px) { /*  smartphone portrait */


}