/*
Theme Name: Kensington Hospital Responsive
Author: Monster Graphics :: PBS
Version: 2.0
*/

* {
	margin:0;
	padding:0;
}

body {
	background:#fff;
	font-family: 'Open Sans', sans-serif;
	color:#666;
	font-size: 16px;
    line-height: 1.6;
	overflow-x:hidden;
}
	
/*----- TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 {
	font-weight:400;
	color:#00519F;
	font-family: 'Crete Round', serif;
	margin:0;
}

h1 {
	font-size:43px;
}

h2 {
	font-size:36px;
}

ul {
    margin: 0 0 1em 0;
    padding: 0 0 0 2em;
    list-style: none;
}

li {
	position: relative;
	line-height:24px;
}

main p a {
	color:#00a39b;
	text-decoration:underline;
}

main ul {
  list-style: outside disc;
}

main li {
  margin-bottom: 10px;
}

.date {
	font-size:12px;
	font-weight:600;
	margin;
}
/* END TYPOGRAPHY */


/*----- Global */
.alignright {
	text-align:right;
}

.centered {
	text-align:center;
}

.nomarg {
	margin:0!important;
}

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

img.alignright {
  float: right;
  margin: 0 0 15px 15px;
}

img.alignleft {
  float: none;
  margin: 0 15px 15px 0;
}

.topshadow {
-webkit-box-shadow: inset 0px 10px 5px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    inset 0px 10px 5px 0px rgba(50, 50, 50, 0.75);
box-shadow:         inset 0px 10px 5px 0px rgba(50, 50, 50, 0.75);
}

h1.autotitle {
	color:#00a39b;
	font-style:italic;
	margin-bottom: 15px;
}

main h2 {
  color: #00a39b;
  font-size: 34px;
  font-style: italic;
}

.breadcrumbwrap {
	background: #eeeeee none repeat scroll 0 0;
	font-size: 12px;
	height: 80px;
	line-height: 80px;
}

.breadcrumbwrap a {
	color:#666;
	text-decoration:none;
}

.breadcrumbwrap a:first-child {
	font-weight:bold;
}

/*----- TABLES */

table {
	background: #f8f8f8 none repeat scroll 0 0;
	width:100%;
	 margin-bottom: 20px;
}

tbody {
	border-color: #e1e1e1;
}

tr,td {
	border-color: #e1e1e1;
}

tr:first-child th, tr:first-child td {
  border-top-style: solid;
  border-top-width: 1px;
}

tr th:first-child, tr td:first-child {
  border-left-style: solid;
  border-left-width: 1px;
}

tr:nth-child(2n){
  color: #00a19b;
  background:#f2f2f2;
}

td {
  border-left: medium none;
  border-style: none solid solid none;
  border-top: medium none;
  border-width: medium 1px 1px medium;
  font-size: 14px;
  padding: 9px 12px;
  border-color: #e1e1e1;
}
/* END TABLES */

iframe.map {

}


/* END GLOBAL */


/*----- BUTTONS */
p.button a, .gform_button {
  background: #00a39b url(images/arrow-right.png) no-repeat scroll right 21px center;
  border-radius: 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 40px 13px 20px;
  text-decoration: none;
  text-transform: uppercase;
  border: 0 none;
}

p.button a:hover,
.gform_button:hover { 
	background-color: #00519f;
}

p.button.white a {
  background: #fff url(images/prev-arrow-green.png) no-repeat scroll right 21px center;
  color: #00A39B;
}

p.button.white a:hover{ 
	background-color: rgba(255,255,255,0.7);
}

.button {
  margin: 40px 0 !important;
}



.bx-wrapper .bx-controls-direction a {
    height: 35px;
    margin-top: -16px;
    outline: 0 none;
    position: absolute;
    text-indent: -9999px;
    top: calc(50% - 18px);
    width: 14px;
    z-index: 9999;
}
.bx-wrapper .bx-prev {
    background: rgba(0, 0, 0, 0) url("images/prev-arrow.png") no-repeat scroll 0 0;
    left: 10px;
}

.bx-wrapper .bx-next {
    background: rgba(0, 0, 0, 0) url("images/next-arrow.png") no-repeat scroll 0 0;
    right: 10px;
}
/* BUTTONS */




/*----- LAYOUT */
.wrap {
	width:1140px;
	margin:0 auto;
	position:relative;
}

.wrap.smallpad {
	padding:20px 0;
}

.wrap.medpad {
	padding:35px 0;
}

.wrap.largepad {
	padding:50px 0;
}

header.topheader {
	position:relative;
	background: rgb(238,238,238);
	background: -moz-linear-gradient(top, rgb(238,238,238) 0%, rgb(238,238,238) 35%, rgb(0,163,155) 35%, rgb(0,163,155) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(238,238,238)), color-stop(35%, rgb(238,238,238)), color-stop(35%, rgb(0,163,155)), color-stop(100%, rgb(0,163,155)));
	background: -webkit-linear-gradient(top, rgb(238,238,238) 0%, rgb(238,238,238) 35%, rgb(0,163,155) 35%, rgb(0,163,155) 100%);
	background: -o-linear-gradient(top, rgb(238,238,238) 0%, rgb(238,238,238) 35%, rgb(0,163,155) 35%, rgb(0,163,155) 100%);
	background: -ms-linear-gradient(top, rgb(238,238,238) 0%, rgb(238,238,238) 35%, rgb(0,163,155) 35%, rgb(0,163,155) 100%);
	background: linear-gradient(to bottom, rgb(238,238,238) 0%, rgb(238,238,238) 35%, rgb(0,163,155) 35%, rgb(0,163,155) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#00a39b', GradientType=0 );
	height:120px;
}

header.topheader h1{
	background:url(images/logo.png) no-repeat 0 0 transparent;
	width:222px;
	height:102px;
	text-indent:-9999px;
	margin:0;
	padding:0;
	float:left;
	position:relative;
	top:10px;
}

header.topheader h1 a{
	width:222px;
	height:102px;
	display:block;
}

.headercontact {
  position: absolute;
  right: 0px;
  top: 8px;
}

.headercontact a {
	text-decoration:none;
	color:inherit;
}

.headercontact p {
  color: #666666;
  font-size: 14px;
}


.contentcenter {
    position: absolute;
    top: calc(50% - 126px);
    left: 0;
	width:100%;
}

.hero {
	background:rgba(0, 0, 0, 0) url(images/hero.jpg) no-repeat fixed right center / cover ;
	height: 642px;
}


.herocontent {
	z-index:20;
	position:absolute;
	top:110px;
	right:0;
	background:rgba(255,255,255,0.8);
	width:600px;
	box-sizing:border-box;
	padding:36px 46px;
}

.herocontent h1 {
	font-style:italic;
}

.banner2 h1,
.banner2 h2 {
	color:#fff;
	font-style:italic;
	line-height: 54px;
}

.banner2 h2 {
	font-size:22px;
}

.section1 h2 {
	color:#00A39B;
	font-style:italic;
	font-size:43px;
}


.leftpadded {
  box-sizing: border-box;
  padding-left: 40px;
}

.icons p a {
	font-size:20px;
	color:#00A19B;
	font-style:italic;
	text-decoration:none;
	font-family: 'Crete Round', serif;
}

.icons img {
	margin-bottom:12px;
}

.icons a:hover {
	color:#00519f;
}

.icons p a::after {
  background: rgba(0, 0, 0, 0) url(images/prev-arrow-green.png) no-repeat scroll right center;
  content: "";
  height: 35px;
  position: absolute;
  width: 14px;
}
/* END LAYOUT */


/*----- FORMS */
#searchform #s {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #fff;
    border-color: transparent;
    border-style: solid none solid solid;
    border-width: 0px medium;
	color: #333333;
    float: left;
    font-size: 15px;
	font-weight:600;
	height: 38px;
	line-height: 36px;
    padding: 0 0 0 12px;
    width: 214px;
    background: #fff;
}

#searchform #s {
  background: #ffffff none repeat scroll 0 0;
  border: 0 none;
  color: #333333;
  float: left;
  font-size: 15px;
  height: 38px;
  line-height: 36px;
  padding: 0 0 0 12px;
  width: 214px;
}

#searchsubmit {
  background: rgba(0, 0, 0, 0) url("images/search-icon.png") no-repeat scroll 0 0;
  border: medium none;
  cursor: pointer;
  float: left;
  height: 23px;
  margin: 7px 0 0 -30px;
  width: 23px;
}
/* END FORMS */



/*------ NAVIGATION */
nav.topnav {
	position: absolute;
	right: 0;
	top:42px;
}

nav.topnav ul {
  color: #fff;
  text-decoration: none;
  padding:0px;
  margin:0 0 0 0px;
}

nav.topnav ul li {
  float: left;
  line-height: 58px;
  position: relative;
}

nav > ul > li.menu-item-has-children > a:after {
  border-color: #00D0C6 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
  border-right: 4px solid rgba(0, 0, 0, 0);
  border-style: solid;
  border-width: 5px 4px 2px;
  content: " ";
  display: inline-block;
  height: 0;
  margin-left: 0.5em;
  width: 0;
}

nav.topnav ul li a {
	font-family: 'Crete Round', serif;
	color: #ffffff;
	display: block;
	font-size: 18px;
	font-style:italic;
	margin: 0;
	padding: 20px 20px 0;
	text-decoration: none;
}

nav.topnav ul li > a:hover,
li.current-page-ancestor > a,
li.current_page_item > a {
	background:url(images/nav-over.png) no-repeat center 16px #008C84;
}

nav.topnav ul ul { /* this targets all sub menus */
	display: none; /* hide all sub menus from view */
	position: absolute;
	top: 78px; /* this should be the same height as the top level menu -- height + padding + borders */
	left:0px;
	z-index:1000;
	background: #fff;
	height:auto;
	width:240px;
	overflow:hidden;
}

nav.topnav ul ul li { /* this targets all submenu items */
	float: none; /* overwriting our float up above */
	line-height:3em;
	margin:0;
	background:#fff;
	border-bottom:1px solid #D4D5D7;
	text-align:center;
}

nav.topnav ul li ul li a {
	color:#545454;
}

nav.topnav ul ul li:last-child { 
	border-bottom:0 none;
}

nav.topnav ul ul li a { /* target all sub menu item links */ 
	display:block; 
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	margin:0;
	padding:0;
}

nav.topnav  ul.sub-menu li a {
	color:#000;
	border:0 none;
}
  
  
nav.topnav ul ul li.current-menu-item a,
nav.topnav ul ul li a:hover {
	background:#008C84;
	color:#fff;
	border:0 none;
}

nav ul li:hover > ul {
	display: inline; /* show sub menus when hovering over a parent */
}

nav.topnav ul li ul li {
  text-align: left;
  float:none;
  padding: 0;
}

nav.topnav ul li ul li a{
	font-size:14px;
	  padding: 0 0 0 20px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF TWELVE  */
.span_12_of_12 {
	width: 100%;
}

.span_11_of_12 {
  	width: 91.53%;
}
.span_10_of_12 {
  	width: 83.06%;
}

.span_9_of_12 {
  	width: 74.6%;
}

.span_9_of_12.padright {
  padding-right: 6%;
  width: 68.6%;
}

.span_8_of_12 {
  	width: 66.13%;
}

.span_7_of_12 {
  	width: 57.66%;
}

.span_6_of_12 {
  	width: 49.2%;
}

.span_5_of_12 {
  	width: 40.73%;
}

.span_4_of_12 {
  	width: 32.26%;
}

.wrap.quaters {
  margin: -129px auto 0;
}

.quaters .span_3_of_12 {
  box-sizing: border-box;
  margin: 0;
  padding: 30px 38px 70px 38px;
  width: 25%;
}

.span_3_of_12 {
  	width: 23.8%;
	position: relative;
}

.span_2_of_12 {
  	width: 15.33%;
}

.span_1_of_12 {
  	width: 6.866%;
}

.row-height {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}
.col-height {
  display: table-cell;
  float: none;
  height: 100%;
}
.col-top {
  vertical-align: top;
}
.col-middle {
  vertical-align: middle;
}
.col-bottom {
  vertical-align: bottom;
}

.col p,
.col h2,
.col h3 {
	margin-bottom: 20px;
}

.fullwidthbanner {
  position:relative;
}

.fullwidthbanner img {
	width: 100% !important;
}

aside.sidebar {
	box-sizing: border-box;
	float: left;
	margin-top: 1%;
	padding-left: 40px;
	width: 386px;

}

.widget {

}

.widget {
  background: #EEEEEE url(images/coloured-icons.png) no-repeat scroll right top;
  display: table;
  float: none;
  height: 120px;
   width: calc(100% - 24px);
  padding-left:24px;
}

.widget.widget-even {
  background-color: #F2F2F2;
}

.widget.visitinghours  {
  background-position: right -120px;
}

.widget.adminforms  {
  background-position: right -240px;
}

.widget.feedback {
  background-position: right -360px;
}

.widget.localservices {
  background-position: right -480px;
}

.widget .textwidget {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

.widget .textwidget a {
  color: #00a19b;
  display: block;
  font-family: "Crete Round",serif;
  font-size: 16px;
  font-style: italic;
  line-height: 120px;
  text-decoration: none;
}

.widget:hover {
  background-color: #DADADA;
}

.ctas {
	position:relative;
	top:-177px;
}

.trap {
	background:rgba(0, 0, 0, 0) url(images/trap1.png) no-repeat scroll center right / cover ;
	height:310px;
}
.trap.trap2 {
	background:rgba(0, 0, 0, 0) url(images/trap2.png) no-repeat scroll 0 0 / cover ;
}
.trap.trap3 {
	background:rgba(0, 0, 0, 0) url(images/trap3.png) no-repeat scroll center right / cover ;
}
.trap.trap4 {
	background:rgba(0, 0, 0, 0) url(images/trap4.png) no-repeat scroll 0 0 / cover ;
}

.trap h2 {
	line-height: 1.1;
	margin: 0 0 10px;
	font-size:30px;
}

.trap h2 a {
	text-decoration:none;
	color:#fff;
	font-style:italic;
}

.trap p {
	margin:0;
}

.trap p a {
	background: transparent url(images/arrow-right.png) no-repeat scroll right center;
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	text-transform: uppercase;
 	padding-right:20px;
}
	
.trap img {
	margin:0 0 30px;
}

.trap.trap3 img {
	margin:0 0 2px;
}

footer#mainfooter {
	background:#00A39B;
	padding:50px 0;
}

footer h3 {
	color:#fff;
	font-size:16px;
	margin: 0!important;
}

footer#mainfooter ul {
	margin:0;
	padding:0px;
}

footer#mainfooter li{
	position:relative;
}

footer#mainfooter li a {
	color:#fff;
	text-decoration:none;
	padding:0px;
	font-weight:400;
	text-transform:capitalize;
	display: block;
	float:left;
	font-size:18px;
	margin-right:22px;
	font-style:italic;
	font-family: 'Crete Round', serif;
}


.footerstyle1 p {
  color: #ffffff;
  display: block;
  font-family: "Crete Round",serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
}




footer#mainfooter ul li  a:hover,
footer#mainfooter li.current-page-ancestor a,
footer#mainfooter li.current_page_item a {
	color:#fff;
	text-decoration:none;
	transition: all 0.5s ease 0s;
	background:none;
}



.footercopy p {
	font-size:12px;
	margin-top:12px;
}

.footercopy p a{
	color:inherit;
}

#subfooter {
	background:#008C84;
}


#subfooter p,
#subfooter p a {
	color:#666;
	font-size:12px;
	text-decoration:none;
	height: 76px;
	line-height: 76px;
	margin:0;
	color:#fff;
}

.footerlogo img {
  left: calc(50% - 111px);
  position: absolute;
  top: -48px;
}

p.hugo {
	background: rgba(0, 0, 0, 0) url("images/hugo.png") no-repeat scroll right center;
	height: 36px;
	line-height: 36px;
	padding-right: 58px;
  	color:#666;
	font-size:12px;
}


.introarea {
	min-height: 673px; 
	background: transparent url(http://kensingtonhospital.co.nz/wp-content/themes/kensington-hospital/images/banner2.jpg) no-repeat fixed 0px 0px / cover ;
}

blockquote {
  background: rgba(0, 0, 0, 0) url("images/feedback-icon.png") no-repeat scroll left 7px / 80px auto;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 16px;
  padding: 0 0 40px 120px;
}

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

.clearfix { display: inline-block; }

/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* stop commented backslash hack */

/* END TYPOGRAPHY */


/*********************** START RESPONSIVE *****************/
/*********************** START RESPONSIVE *****************/
/*********************** START RESPONSIVE *****************/
/*********************** START RESPONSIVE *****************/

/* for 1140px or less */
@media screen and (max-width: 1140px) {

	.wrap {
	max-width: 94%;
	}
	
	aside.sidebar {
	  clear: left;
	  float: none;
	  margin: 55px 0 0;
	  padding: 0;
	  width: 100%;
	}
	
	.maincol {
	float:none;
	width:100%;
	}
	
	.trap h2 {
	font-size:25px;
	line-height:25px;
	}
	
	.widget {
	  float: left;
	  margin: 0 5px 5px 0;
	  width: calc(49% - 29px);
	}
	
}

/* for 1010px or less */
@media screen and (max-width: 1010px) {

	.kiaora {
	  float: none;
	  padding: 27px;
	  width: 100%;
	}	
	
	header.topheader h1 {
	float: none;
	height: 102px;
	text-indent: -9999px;
	padding-bottom: 15px;
	}

	header.topheader .medpad {
	padding: 0;
	}
	
	footer#mainfooter nav,
	.footercopy  img,
	.topsocial.bottom{
	display:none;
	}

	footer#mainfooter .col.span_9_of_12,
	footer#mainfooter .span_3_of_12	{
	width: 49%;
	}
	
	.locumjourney img {
	  width: 50%;
	}
	
	#mainfooter .span_4_of_12,
	#mainfooter .span_2_of_12,
	#mainfooter .span_6_of_12 {
	width:100%;
	float:none;
	}
	
	#mainfooter .col {
	  margin:0 ;
	}
	
		#subfooter .span_4_of_12{
	WIDTH:100%;
	FLOAT:none;
	text-align:center;
	}
	
	.footerlogo img {
	  left: calc(50% - 111px);
	  position: inherit;
	  top: 0;
	}
	
	p.hugo {
	  background: none;
	  color: #666666;
	  font-size: 12px;
	  height: 36px;
	  line-height: 36px;
	  padding-right:0px;
	}
}


/* for 780px or less */
@media screen and (max-width: 780px) {
	.hello {
	  display: none;
	}
	
	.kiaora {
		padding:15px;
	}
		
	
	.kiaora .span_3_of_12,
	.kiaora .span_1_of_12 {
		display:none;
	}	
	
	.kiaora .span_4_of_12 {
		width:100%;
	}
	
	.searcharea {
	  top: 0;
	}
	
	.findgp {
	  top: 0;
	}
	
	.col-height {
	  display: block;
	  float: none;
	  height: auto;
	}
	
	.quaters .span_3_of_12 {
	width: 100%;
	text-align:center;
	}
	
	.span_3_of_12.trap {
	background:#00A39B;
	padding:20px 3%;
	margin-bottom:5px;
	}	
	.span_3_of_12.trap2 {
	background:#008F9D;
	}	
	.span_3_of_12.trap3 {
	background:#007B9D;
	}	
	.span_3_of_12.trap4 {
	background:#004D9F;
	}
	.trap img {
	margin: 0 0 10px;
	}
	
	.banner2 h1 {
	  font-size: 30px;
	  line-height: 35px;
	}
	
	.contentcenter {
	top: calc(50% - 90px);
	}
	
	.introarea {
	  min-height: 473px;
	}
	
	.span_3_of_12 {
	  width: 100%;
	}
	
	.locumimg {
		display:none;
	}
	
	.leftpadded {
	  padding: 20px!important;
	}
	
	#subfooter {
	  padding: 10px 0;
	}

	#subfooter .col {
	margin:0;
	}
			
	#subfooter p {
	margin:0;
	}
		
	#subfooter .span_6_of_12 {
		width:100%;
		text-align:center;
	}
	
	p.hugo {
	  background:none;
	  padding-right: 0;
	}
	
	.herocontent {
	  padding: 26px 36px;
	  position: inherit;
	  top: 40px;
	  width: 100%;
	}
	
	.widget {
	  float: none;
	  margin: 0 0px 5px 0;
	  width: calc(100% - 24px);
	}
	
}


/* for 580px or less */
@media screen and (max-width: 580px) {
	
	header.topheader {
	  background: #00a39b;
	}

	button#responsive-menu-button {
	top: 28px!important;
	}
	
	.headercontact {
	display:none;
	}
	.herocontent h1 {
	  line-height: 1.2;
	}
	.wrap.smallpad,
	.wrap.medpad,
	.wrap.largepad,
	.nomarg {
		padding:20px 0;
	}

	footer#mainfooter .col.span_9_of_12,
	footer#mainfooter .span_3_of_12	{
	width: 100%;
	float:none;
	}
	
	.alignright {
	text-align: center;
	}

	
	.col {  margin: 1% 0 1% 0%; }
    
    .span_1_of_12, .span_2_of_12, .span_3_of_12, .span_4_of_12, .span_5_of_12, .span_6_of_12, .span_7_of_12, .span_8_of_12, .span_9_of_12, .span_10_of_12, .span_11_of_12, .span_12_of_12, .span_9_of_12.padright {
	width: 100%;
	padding-right:0;
	}
	
	header.topheader {
		height:auto;
	}
	
	#mainfooter {
		display:none;
	}
	
	.banner2 h2 {
	display:none;
	}	
	.banner2 h1 {
	font-size: 25px;
	line-height: 31px;
	margin-bottom: 20px;
	}
		
	.contentcenter {
	  top: calc(50% - 66px);
	}
	
	.introarea {
	  min-height: 273px;
	}
	
	.widget {
	  float: none;
	  margin: 0 0px 5px 0;
	  padding-left:10px;
	  width: calc(100% - 10px);
	}
	
	.widget .textwidget a {
	  font-size: 14px;
	}

}
