/*
Theme Name: Protocol Theme
URI: http://www.i360.co.nz
Description: Theme for Protocol.
Author: Ronald 


/* Default Wordpress Core Styles
-------------------------------------------------------------- */
.alignnone {
	margin: 5px 20px 20px 0;
}
.aligncenter,  div.aligncenter {
	display: block;
	margin: 0 auto 5px auto;
}
.alignright {
	float:right;
	margin: 5px 0 20px 20px;
}
.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}
.aligncenter {
	display: block;
	margin: 0 auto 5px auto;
}
a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}
a img.alignnone {
	margin: 5px 0 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 {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 0 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 0 10px;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 13px;
	line-height: 17px;
	margin: 0;
	padding: 0 20px 5px;
	color:#66625d;
	font-style:italic;
	font-family: Arial, Helvetica, sans-serif;
}


/* Main  */
body.home {
	background:#eee;
}
.header-section .top-bar .top-bar-section .topnav li {
	position:relative;
	}
.header-section .top-bar .top-bar-section .topnav li a {
	color:#423e3b;
	font-size:18px;
	letter-spacing:2px;
	padding:0 13px;
	font-family:minerva-modern, Arial, Helvetica, sans-serif;
}
.header-section .top-bar-section .topnav li.current-menu-item a, .header-section .top-bar-section .topnav li a:hover {
	background:url(images/nav-on.jpg) bottom center no-repeat;
}
.checker .expanded .top-bar-section .topnav li.current-menu-item a, .checker .expanded .top-bar-section .topnav li a:hover {
	background:#423e3b;
	color:#fff;
}
.checker .expanded .top-bar-section .topnav li a {
	padding-top:5px;
	padding-bottom:5px;
}
.headersection {
	position:relative;
	height:78px;
	margin-bottom: 47px;
}
.header-section .top-bar-section .topnav li.current-menu-item a, 
.header-section .top-bar-section .topnav li a:hover,
.header-section .top-bar-section .topnav li:hover > a,
.header-section .top-bar-section .topnav li.current-menu-parent a {
	background:url(images/nav-on.jpg) bottom center no-repeat;
	}
.checker .expanded .top-bar-section ul li a, .checker .expanded .top-bar-section ul li a {
	color:#423e3b;
	font-family:minerva-modern, Arial, Helvetica, sans-serif;
	}
.checker .expanded .top-bar-section ul ul.sub-menu {
	position:relative;
	top:0;
	left:0;
	width:100%;
	visibility:visible!important;
	}
.checker .expanded .top-bar-section ul ul.sub-menu li {
	text-align:left;
	}
.checker .expanded .top-bar-section ul li.current-menu-item a, 
.checker .expanded .top-bar-section ul li a:hover,
.checker .expanded .top-bar-section ul li:hover > a,
.checker .expanded .top-bar-section ul li.current-menu-parent a {
	background:#423e3b;
	color:#fff;
	}
.checker .expanded .top-bar-section ul li a {
	padding-top:5px;
	padding-bottom:5px;
	}
.header-section .top-bar-section .topnav ul li {
	float:none;
	text-align:center;
	}		
.header-section .top-bar-section .topnav ul.sub-menu {
	position:absolute;
	top:45px;
	margin-top:0;
	z-index:501;
	width:208px;
	left: -15%;
	display:none;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    0px 0px 10px 0px rgba(0, 0, 0, 0.3);
	box-shadow:         0px 0px 10px 0px rgba(0, 0, 0, 0.3);
	}
.header-section .top-bar-section .topnav ul.sub-menu li a {
	background:#5a4f49;
	color:#fff;
	display:block;
	padding: 8px 37px;
	line-height: 1.5rem;
	}
.header-section .top-bar-section .topnav ul.sub-menu li a:hover,
.header-section .top-bar-section .topnav ul.sub-menu li.current-menu-item a	{
	background:#a6b1b7;
	}
.headersection {
	position:relative;
	height:78px;
	margin-bottom: 47px;
	}
.headersection .pagetitle,
.headersection .megan-large {
	position:absolute;
	}
.headersection .pagetitle {
 	width: 50%;
  	height: 50%;
  	margin: auto;
  	position: absolute;
  	top: 0; left: 0; bottom: 0; right: 0;
  	}
.headersection .pagetitle a {
	background: #594f48 url(images/protocol-dots.jpg) 40px center no-repeat;
	font-size:23px;
	line-height:23px;
	color:#fff;
	padding: 28px 40px 28px 105px;
	margin-left:-20px;
	width:440px;
	letter-spacing:1px;
	font-family:minerva-modern, Arial, Helvetica, sans-serif;
	opacity:1.0;
	text-align:left;
}
.headersection .pagetitle a:hover {
	background-color:#594f48;
	opacity:0.8;
	-webkit-transition: background-color 300ms ease-out 0s;
  	-moz-transition: background-color 300ms ease-out 0s;
  	-o-transition: background-color 300ms ease-out 0s;
  	transition: background-color,opacity 300ms ease-out 0s;	
	}	

.headersection .megan-large {
	right:145px;
	top:-345px;
	z-index:500;
}
.default {
	padding-bottom:100px;
}
.default ul {
	margin-left:15px;
}

.default ul li {
	background:url(images/bullet-list.jpg) left 10px no-repeat;
	padding-left:15px;
	padding-bottom:15px;
	list-style:none;
}

.default ol {
	margin-left:15px;
}

.default ol li {
	padding-left:15px;
	padding-bottom:15px;
}

.default h2 {
	font-size:1.7em;
	margin-top: 1.4em;
}
.default h3 {
	font-size:1.25rem;
}

.default h4 {
	font-size:16px;
	font-weight:700;
	margin: 0 0 20px;
}

.page-entry {
	padding-left:22px;
}

.default h1 {
	font-size: 2.2em;
	margin-bottom: .52em;
}

.frontpage {
	border-top:#fff solid 1px;
}
.bannerwrap {
	margin-bottom:60px;
	min-height:189px;
	background-size:cover!important;
	width:100%;
}
.bannerwrap img {
	background-size: cover;
	width:100%;
}
.pagesection {
	position:relative;
}
.pagesection .megan-small {
	position:absolute;
	right:110px;
	bottom:-270px;
}
.pagesection .pagetitle {
	position:absolute;
	bottom: -189px;
	left:42px;
}
.pagesection .pagetitle h1 {
	font-size:30px;
	background:#594f48 url(images/protocol-dots.jpg) 40px center no-repeat;
	line-height:23px;
	color:#fff;
	padding: 28px 40px 28px 105px;
	margin:0;
	max-width:530px;
	letter-spacing:1px;
	font-family:minerva-modern, Arial, Helvetica, sans-serif;
}
.maincontent, .footerfront .row {
	border-top: #a5b0b6 solid 1px;
}
.maincontent {
	padding:30px 0 20px;
}
#sidebar {
	margin:50px 0 0;
	}
#sidebar div.widget:first-child {
	border-top:#a5b0b6 solid 1px;
	border-bottom:#a5b0b6 solid 1px;
	}
#sidebar div.widget {
	padding:75px 40px;
	border-bottom:#a5b0b6 solid 1px;
	color: #55514f;
	font-size:15px;
	}
#sidebar ul {
	margin-bottom:0;
	margin-left:0;
	}
#sidebar ul li {
	background:none;
	padding-left:0;
	}
.footer {
	background:url(images/footerbg.jpg) center center no-repeat;
	background-size:cover;
	min-height:116px;
}
.footer .row {
	position:relative;
}
.footer .top {
	position:absolute;
	right:254px;
	top:-60px;
}
.footer .top a {
	background:url(images/arrowup.png) center top no-repeat;
	padding:20px 0 0 0;
	width: 85px;
	color:#85c4cb;
	font-size:12px;
	text-transform:uppercase;
}
.footerfront .row, .footer {
	padding:28px 30px;
}
.footerfront p, .footer p {
	font-size:15px;
	color:#55514f;
}
.footerfront p a, .footer p a {
	color: #55514f;
}
.intro {
	font-size:22px;
	font-weight:400;
	color:#423e3b;
	line-height:135%;
}
b, strong {
	font-weight: 700!important;
}
.emailbtn {
	color:#61bfca!important;
	margin-bottom:0;
	}
.panel {
	margin-left: -40px;
	margin-right: -40px;
}
.tparrows {
	display: none !important;
}

div.home-block {
	display:none;
	margin: 25px auto 25px;
	max-width:400px;
	letter-spacing: 1.7px;
}

div.home-block p {
	margin-bottom: 15px;
	text-align:center;
}
.gform_wrapper .gform_heading {
    margin-bottom: 0;
}
.gform_wrapper h3.gform_title {
    color: #423e3b;
    font-size: 28px;
    font-weight: 400;
}
.gform_wrapper span.gform_description {
	font-size:16px;
	}
.gform_wrapper form ul li {
	background:none;
	padding-left:0;
	}
.gform_wrapper .top_label .gfield_label	{
	color:#4b4845;
	font-size:19px;
	font-weight:700;
	}
.gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"], .gform_wrapper textarea {
	color:#595959;
	font-size:15px!important;
	font-family:"Open Sans",Arial, Helvetica, sans-serif;
	padding:10px 15px!important;
	border:#dceff2 solid 1px;
	background:#fbfbfb;
	line-height:120%!important;
	-webkit-box-shadow: inset 0px 0px 6px 6px rgba(220,239,242,1);
	-moz-box-shadow: inset 0px 0px 6px 6px rgba(220,239,242,1);
	box-shadow: inset 0px 0px 6px 6px rgba(220,239,242,1);
	border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	}
.gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"]  {
	height:46px!important;
	}
.gform_wrapper textarea {
	height:112px;
	}
.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {
	font-size:19px;
	}
.gform_wrapper .gfield_checkbox li input[type="checkbox"], .gform_wrapper .gfield_radio li input[type="radio"], .gform_wrapper .gfield_checkbox li input {
    margin-bottom: 5px;
    margin-top: 8px;
	}
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] {
	background:#61bfca;
	border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	color:#fff;
	font-size:21px;
	letter-spacing:1px;
	padding: 10px 30px;	
	}
.gform_wrapper .gform_footer {
    margin: 0!important;
    padding: 0 0 10px!important;
}
.contact-address {
	margin:0;
	}
.contact-address li {
	font-size:15px;
	color:#55514f;
	padding:0;
	}						

@media only screen {
 
}
@media only screen and (max-width: 20em) {
	
	.headersection .pagetitle a {
		max-width:303px!important;
		}
	.pagesection .pagetitle {
		width:100%;
		left:0!important;
		
	}
	.panel {
		padding-left: 15px;
    	padding-right: 15px;
		}	
}
@media only screen and (max-width: 40em) {
	.maincontent {
	padding:0 0 20px;
	}

.headersection .pagetitle a {
    background: url("images/protocol-dots.jpg") no-repeat scroll 20px center #594f48;
    font-size: 20px;
    padding: 20px 40px 20px 80px;
    letter-spacing: 1px;
}
.pagesection .pagetitle h1 {
	font-size:20px;
	background: url("images/protocol-dots.jpg") no-repeat scroll 20px center #594f48;
	padding: 20px 20px 20px 75px!important;
}
.pagesection .pagetitle h1 {
	min-width:303px;
	}
.pagesection .pagetitle h1 {
	max-width:100%;
	padding: 20px 20px 20px 100px;
	}
.footerfront p.sitemap, 
.footer p.sitemap {
	width:100%;
	}
.alignright {
	float:none!important;
	display:block;
	margin:0 auto 12px!important;
	}	
}
@media only screen and (max-width: 47.938em) {
.headersection .pagetitle {
	width:100%;
	}	
.headersection .pagetitle a {
	width:100%;
	}
	
.pagesection .megan-small {
	display:none;
}
.page-entry {
	padding-left: 0;
}
.panel {
	margin-left:0;
	margin-right:0;
}
.pagesection .pagetitle {
	left:22px;
}
.footer .top {
	right:0;
}
.headersection .megan-large {
	display: none;
}
#slider-block {
	display:none;
}

div.home-block {
	display: block;
	padding: 0 20px;
}
@media only screen and (min-width: 48em) and (max-width: 64em) {
.megan-large {
	right:100px!important;
	}
.checker .expanded .top-bar-section ul ul.sub-menu {
	display:block!important;
	visibility:visible!important;
	}	
.headersection .pagetitle a {
	background: url("images/protocol-dots.jpg") no-repeat scroll 10px center #594f48;
	width: 400px;
	padding:28px 40px 28px 60px;
	}
.bannerwrap {
	margin-bottom:70px;
	}			
.page-entry {
	padding-left: 0;
}
.topnav ul.sub-menu {
	display:block!important;
	}
.panel {
	margin-left:0;
	margin-right:0;
}
.pagesection .pagetitle {
	left:20px;
}
.footer .top {
	right:0;
}
}