/*
Theme Name: Hendriks Dental
Theme URI: http://www.hendriksdental.co.nz
Description: Template for Hendriks Dental
Version: 141113
Author: Web Revolution
Author URI: http://www.webrevolution.co.nz
*/

/*----------------------------------------------
------------------------------------------------
	              CSS Reset
----------------------------------------------*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

/*----------------------------------------------
------------------------------------------------
	        Universal Styles
----------------------------------------------*/
*:focus {
    outline: 0;
}

body {
	background-color: #b4d2b4;
	font: 0.8em/1.4 'verdana',Helvetica,Arial,sans-serif;
}

a {
	color: #177217;
	text-decoration: none;
}

a:hover {
	color: #b4d2b4;
}

.clearfix {
	*zoom: 1;
}

.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
	line-height: 0;
}

.clearfix:after {
	clear: both;
}

.clear-both {
	clear: both;
}

.clear-left {
	clear: left;
}

.clear-right {
	clear: right;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

em {
	font-style: italic;
}

strong,
.bold {
	font-weight: 700;
}

sup, sub {
	position: relative;
	top: -0.4em;
	vertical-align: baseline;
}

sub {
	top: 0.4em;
}

.display-block {
	display: block;
}

.hidden-indent {
	position: absolute;
	text-indent: -9999px;
}

.display-none {
	display: none !important;
	visibility: hidden !important;
}

.full_width {
	float: left;
	width: 100%;
	position: relative;
	min-width: 320px;
}

.inner_div {
	width: 100%;
	position: relative;
}

.wrapper {
	margin: 0 auto;
	position: relative;
	min-width: 300px;
	max-width: 900px;
	padding: 0 10px 20px;
}

#page-wrap-inner {
	padding-top: 8px;
	background-color: #fff;
	-webkit-box-shadow: 0 10px 20px 0 rgba(0,0,0,.2);
	box-shadow: 0 10px 20px 0 rgba(0,0,0,.2);
}

@media screen and (max-width: 767px) {
	#page-wrap-inner {
		-webkit-box-shadow: none;
		box-shadow: none;
	}
}

.light-green {
	color: #b4d2b4;
}

.dark-green {
	color: #177217;
}

.light-gray {
	color: #c1c1c1;
}

.light-gray:hover {
	text-decoration: underline;
}

/* == Wrapping text around images == */
img.alignright { 
	float: right;
	margin: 0.4em 0 0.5em 0.5em;
}

img.alignleft {
	float: left;
	margin: 0.4em 0.5em 0.5em 0;
}

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

.alignright { float:right; }

.alignleft { float:left; }

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

/* == Image Caption == */
p.wp-caption-text {
	font-size: 0.9em;
	margin-bottom: 0;
}

/*----------------------------------------------
-----------------------------------------------
	               Heading
----------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	color: #177217;
	margin-bottom: 1.2em;
}

h1 {
	font-size: 1.75em;
}

h2 {
		font-size: 1.5em;
}

h3 {
		font-size: 1.35em;
}

h4 {
		font-size: 1.25em;
}

h5 {
		font-size: 1.15em;
}

h6 {
		font-size: 1.1em;
}

/*===================================================================
  ===================================================================
													  RESPONSIVE STYLE's
 ===================================================================
===================================================================*/
img,
.widget img,
.wp-caption {
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
img,
img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}

img.size-full,
img.size-large,
img.wp-post-image {
	height: auto;
	max-width: 100%;
}

/* ==== Hover Transition ==== */
section a,
li {
	-webkit-transition: all 200ms linear;
		-moz-transition: all 200ms linear;
        -ms-transition: all 200ms linear;
        -o-transition: all 200ms linear;
		transition: all 200ms linear;
}

/*-----------------------------------------------------------------------
-------------------------------------------------------------------------
	              					Header
-----------------------------------------------------------------------*/
#site-header {
	height: 184px;
	background: url(images/header-tile.jpg) repeat-x;
}

#header-logo {
	float: left;
	width: 342px;
	margin-top: 50px;
	margin-left: 20px;
}

#text-3,
#nav_menu-4 {
	float: right;
	margin-right: 10px;
}

#nav_menu-4 li {
	float: left;
	margin-left: 10px;
}

#nav_menu-4 li a {
	display: block;
}

#menu-item-87 {
	display: none;
}

#menu-item-88 a {
	color: #fff;
	font-size: 22px;
	padding: 5px 0 5px 50px;
	background: url(images/phone-icon.png) no-repeat left center;
}

#menu-item-88:hover a {
	cursor: default;
}

#menu-item-89 a {
	color: #b4d2b4;
	padding-top: 14px;
}

#menu-item-89:hover a {
	border-bottom: 1px solid #b6b6b6;
}

/*#text-2 .phone-number {
	color: #fff;
	font-size: 22px;
	display: inline-block;
	padding: 5px 0 5px 50px;
	background: url(images/phone-icon.png) no-repeat left center;
}

#text-2 a {
	color: #fff;
}

#text-2 .header-email {
	color: #b4d2b4;
}*/

#text-3 {
	color: #fff;
	clear: right;
	width: 150px;
	font-size: 16px;
	text-align: right;
	line-height: 1.7;
	margin-top: 8px;
}

/* == Main Navigation == */
#navbar {
	background-color: #177217;
}

#navbar > .first-list-wrap > li {
	float: left;
}

#navbar > .first-list-wrap > li > a {
	display: block;
	color: #b4d2b4;
	padding: 11px 15px;
	text-transform: uppercase;
}

#navbar > .first-list-wrap > li:hover > a,
#navbar > .first-list-wrap > li.current-menu-item > a {
	color: #177217;
	background-color: #b4d2b4;
}

@media screen and (max-width: 767px) {
	#header-logo,
	#text-3,
	#nav_menu-4 {
		float: none;
		clear: both;
	}
	
	#header-logo {
		width: 280px;
		margin-left: auto;
		margin-right: auto;
	}
	
	#nav_menu-4 {
		width: 100%;
		margin-right: 0;
		position: absolute;
		top: 0;
		left: 0;
	}
	
	#nav_menu-4 li#menu-item-87 {
		display: block;
	}
	
	#menu-item-88 a {
		background: none;
	}
	
	#nav_menu-4 li {
		margin: 0;
		width: 33.33333333333333%;
	}
	
	#nav_menu-4 li a {
		height: 39px;
		padding: 0;
		font-size: 16px;
		text-indent: 100%;
		overflow: hidden;
		white-space: nowrap;
	}
	
	#nav_menu-4 li:hover a {
		cursor: pointer;
		border: none;
	}
	
	#nav_menu-4 li#menu-item-87 a {
		background: url(images/menu-icon.png) no-repeat center center;
		background-size: 28px auto;
	}
	
	#nav_menu-4 li#menu-item-88 a {
		background: url(images/mobile-phone-icon.png) no-repeat center center;
		background-size: 30px auto;
	}
	
	#nav_menu-4 li#menu-item-89 a {
		background: url(images/email-icon.png) no-repeat center center;
		background-size: 38px auto;
	}
	
	#text-3 {
		width: 100%;
		font-size: 10px;
		text-align: center;
	}
	
	#navbar {
		display: none;
	}
}

@media screen and (min-width: 768px) and (max-width: 799px) {
	#header-logo {
		width: 280px;
		margin-top: 65px;
	}
}

/*--------------------------------------------------------------------
----------------------------------------------------------------------
	      					Main Content
--------------------------------------------------------------------*/
.content-area {
	padding-top: 20px;
}

.site-content p {
	margin-bottom: 2.2em;
}

.maincolumn-one-sidebar {
	float: left;
	width: 67.22222222222222%;
}

.site-content ul,
.site-content ol {
	margin-left: 20px;
	margin-bottom: 2em;
}

.site-content li {
	margin-bottom: 1.5em;
}

.site-content ul li {
	list-style: disc;
}

.site-content ol li {
	list-style: decimal;
}

/* == Home Page == */
#cycloneslider-homepage-slider-1 {
	margin-bottom: 30px;
	border: 5px solid #b4d2b4;
}

/* ==== Sidebar ==== */
#sidebar-right .widget {
	margin-bottom: 5px;
}

#sidebar-right {
	float: right;
	width: 285px;
}

#nav_menu-2 {
	margin-bottom: 0 !important;
	background-color: #b4d2b4;
}

#nav_menu-2,
#nav_menu-2 h3 {
	-webkit-border-radius: 15px 15px 0 0;
	border-radius: 15px 15px 0 0;
}

#nav_menu-2 h3 {
	color: #b4d2b4;
	font-size: 1.6em;
	padding: 10px 20px;
	margin-bottom: 10px;
	background-color: #177217;
}

#nav_menu-2 .menu-our-services-container {
	padding: 0 20px;
}

#nav_menu-2 li {
	margin-bottom: 12px;
	padding-left: 20px;
	background: url(images/list-bullet.png) no-repeat left center;
}

#nav_menu-2 li a {
	color: #177217;
}

#nav_menu-2 li a:hover,
#nav_menu-2 li.current-menu-item a {
	text-decoration: underline;
}

#cyclone-slider-widget-2 {
	padding-bottom: 5px;
	background-color: #b4d2b4;
}

#cyclone-slider-widget-2 .cycloneslider-template-default {
	margin-left: auto;
	margin-right: auto;
}

#text-4 {
	height: 130px;
	padding: 15px 20px;
	background: url(images/teeth-for-life-bg.jpg) no-repeat;
}

#text-4 .textwidget a {
	float: right;
	clear: both;
	font-size: 17px;
	padding-top: 10px;
}

#text-4 .textwidget a:hover {
	color: #177217;
	text-decoration: underline;
}

#cyclone-slider-widget-3 .cycloneslider-template-default {
	margin-left: 155px;
}

#text-5 {
	padding-top: 20px;
}

/* -------------------------------------------------- */

@media screen and (max-width: 767px) {
	.maincolumn-one-sidebar {
		width: 100%;
	}
	
	#sidebar-right {
		float: none;
		clear: both;
		margin-left: auto;
		margin-right: auto;
	}
	
	#cycloneslider-homepage-slider-1 {
		margin-left: auto;
		margin-right: auto;
	}
	
	#google-map {
		width: 85%;
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (min-width: 768px) {
	.maincolumn-one-sidebar {
		width: 59.64432284541724%;
	}
}

@media screen and (min-width: 800px) {
	.maincolumn-one-sidebar {
		width: 61.33682830930537%;
	}
}

@media screen and (min-width: 825px) {
	.maincolumn-one-sidebar {
		width: 62.56345177664975%;
	}
}

@media screen and (min-width: 850px) {
	.maincolumn-one-sidebar {
		width: 63.71463714637146%;
	}
}

@media screen and (min-width: 875px) {
	.maincolumn-one-sidebar {
		width: 64.79713603818616%;
	}
}

@media screen and (min-width: 900px) {
	.maincolumn-one-sidebar {
		width: 65.81691772885284%;
	}
}

@media screen and (min-width: 925px) {
	.maincolumn-one-sidebar {
		width: 66.77927927927928%;
	}
}

@media screen and (min-width: 950px) {
	.maincolumn-one-sidebar {
		width: 67.22222222222222%;
	}
}

/*------------------------------------------------------------------------
--------------------------------------------------------------------------
	          				Footer Content
------------------------------------------------------------------------*/
#footer-wrap {
	padding-top: 20px;
}


#nav_menu-3 {
	max-width: 405px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 15px;
}

#nav_menu-3 li {
	float: left;
	padding: 0 10px;
	border-left: 1px solid #177217;
}

#nav_menu-3 li#menu-item-52 {
	border: none;
	padding-left: 0;
}

#nav_menu-3 li:hover a {
	color: #177217;
	text-decoration: underline;
}

#copyright {
	text-align: center;
}

#copyright a:hover {
	color: #000;
}

@media screen and (max-width: 767px) {
	#footer-wrap {
		padding-top: 0;
	}
	
	#nav_menu-3 {
		max-width: 100%;
	}
	
	#nav_menu-3 li {
		margin: 0;
		padding: 0;
		float: none;
		clear: both;
		border: none;
		border-bottom: 1px solid #056005 !important;
	}
	
	#nav_menu-3 li#menu-item-56 {
		border-bottom: none !important;
	}
	
	#nav_menu-3 li a {
		color: #b4d2b4;
		display: block;
		padding: 20px;
		text-align: center;
		background-color: #177217;
	}
	
	#nav_menu-3 li:hover,
	#nav_menu-3 li.current-menu-item {
		border-bottom: none !important;
	}
	
	#nav_menu-3 li:hover a,
	#nav_menu-3 li.current-menu-item a {
		color: #177217;
		text-decoration: none;
		background-color: #b4d2b4;
	}
}

/*------------------------------------------------------------------------
--------------------------------------------------------------------------
	                				Forms
------------------------------------------------------------------------*/
input,
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
 
input[type=checkbox] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}
 
input[type=radio] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}
 
body .gform_wrapper {
    margin: 0;
    max-width: 100%;
    margin-bottom: 20px;
}

.ui-datepicker {
    position: absolute;
}

body .gform_wrapper .gform_body .gform_fields .gfield {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
    font-weight: normal;
}
 
body .gform_wrapper .ginput_complex .ginput_right input[type="text"],
body .gform_wrapper .ginput_complex .ginput_right input[type="url"],
body .gform_wrapper .ginput_complex .ginput_right input[type="email"],
body .gform_wrapper .ginput_complex .ginput_right input[type="tel"],
body .gform_wrapper .ginput_complex .ginput_right input[type="number"],
body .gform_wrapper .ginput_complex .ginput_right input[type="password"],
body .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name span.name_last input[type="text"] {
    width: 99% !important;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield input,
body .gform_wrapper .gform_body .gform_fields .gfield textarea,
body .gform_wrapper .gform_body .gform_fields .gfield select {
    width: 99%;
    border: none;
    padding: 8px 0.5%;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 0 1px #e0e0e0;
    box-shadow: inset 0 0 0 1px #e0e0e0;
}

body .gform_wrapper .gform_body .gform_fields .gfield select {
    max-width: 300px;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield input:focus,
body .gform_wrapper .gform_body .gform_fields .gfield textarea:focus,
body .gform_wrapper .gform_body .gform_fields .gfield select:focus {
    -webkit-box-shadow: inset 0 0 0 1px #84e6ff;
    box-shadow: inset 0 0 0 1px #84e6ff;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio li input[type=radio] {
    -webkit-box-shadow: none;
    box-shadow: none;
}

body .gform_wrapper .gform_footer { *zoom: 1; }

body .gform_wrapper .gform_footer:before,
body .gform_wrapper .gform_footer:after {
    content: "";
    display: table;
    line-height: 0;
}

body .gform_wrapper .gform_footer:after {clear: both;}
 
body .gform_wrapper .gform_footer input[type=submit] {
    color: #fff;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 12px 8px;
    background: #39b54a;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
 
body .gform_wrapper .gform_footer input[type=submit]:hover {
    background: #333;
}
 
/* Error Message */
body .gform_wrapper .validation_error {
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 98% !important;
    color: #fff !important;
    border: none !important;
    font-size: 14px !important;
    position: fixed !important;
    padding: 10px 1% !important;
    z-index: 999999999 !important;
    text-align: center !important;
    font-weight: normal !important;
    background: rgba(255,0,0,0.9) !important;
}
 
body .gform_wrapper .top_label .gfield_error,
body .gform_wrapper .top_label .gfield_error .ginput_container {
    width: 100%;
    max-width: 100%;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error .gfield_label {
    color: #000;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error input,
body .gform_wrapper .gform_body .gform_fields .gfield_error textarea {
    -webkit-box-shadow:inset 0 0 0 1px #f00;
    box-shadow:inset 0 0 0 1px #f00;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error .gfield_checkbox li label {
    color: #f00;
}
 
body .gform_wrapper li.gfield.gfield_error,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    padding: 0 !important;
    margin: 0 !important;
    border: none;
    background: none;
}
 
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
    padding: 0 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield.gfield_error .gfield_time_hour,
body .gform_wrapper .gform_body .gform_fields .gfield.gfield_error .gfield_time_minute,
body .gform_wrapper .gform_body .gform_fields .gfield.gfield_error .gfield_time_ampm {
    width: 60px;
}
 
body .gform_wrapper .gform_body .gform_fields .gfield_error .validation_message {
    display: none !important;
}
 
/* Success Message */
body .gform_confirmation_wrapper {
    top: 0 !important;
    left: 0 !important;
    width: 98% !important;
    color: #fff !important;
    font-size: 14px !important;
    position: fixed !important;
    padding: 10px 1% !important;
    text-align: center !important;
    z-index: 999999999 !important;
    background: rgba(41,154,77,0.9) !important;
}
 
@media screen and (max-width: 767px) {
    body .gform_wrapper .ginput_complex .ginput_right input[type="text"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="url"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="email"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="tel"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="number"],
    body .gform_wrapper .ginput_complex .ginput_right input[type="password"],
    body .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name span.name_last input[type="text"] {
        width: 98% !important;
    }
     
    body .gform_wrapper .gform_body .gform_fields .gfield input,
    body .gform_wrapper .gform_body .gform_fields .gfield textarea {
        width: 98%;
        padding: 8px 1%;
    }
}