/*
Theme Name: luvly
*/

@font-face {
    font-family: gothicbold;
    src: url('fonts/GarageGothic-Bold.otf');
}

html{
	margin-top: 0px !important;
}
body{
		margin:0px;
		font-family: Astoria-Light;
	}
textarea {
    resize: none;
}
h1{
	font-size: 2em;
}

.ajax-loader {
	display: none !important;
}

.grecaptcha-badge {
	opacity: 0;
}

.inv-recaptcha-holder {
	display: none;
}

.quicklinks {
	position: fixed;
	top: 100%;
	left: 0px;
	opacity: 0;
}
	#mfPreviewBar{
		display: none;
	}

	.mobileheader, .tabletheader{
		display: none;
	}

	.background{
		width: 100%;
	}
	.header {
		background:white;
		text-align: center;
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		z-index: 10;
		padding: 10px 0px;

	}

	.single-post .header{
		
	}

	.single-post .content {
		margin-top: 120px;
	}

	.single-post h1 {
		font-family: Astoria-Roman;
	}

	.single-post a {
		font-family: Astoria-Roman;
		color: #00a453;
	}

	.single-post a:hover{
		text-decoration: none;
		color: #1075BB;
	}
	.backbutton{
		position: absolute;
		left: 0px;
		top: 30px;
		width: 105px;
	}

	.backbutton img{
		width: 100%;
		display:none;
	}

	.page-template-tpl-home-php .header {
		background:transparent;
		transition: all 1s;
		-webkit-transition: all 1s;
		-moz-transition: all 1s;
		-ms-transition: all 1s;
		-o-transition: all 1s;

	}

	.page-template-tpl-home-test-php .header, .page-template-tpl-hometest .header {
		background:transparent;
		transition: all 1s;
		-webkit-transition: all 1s;
		-moz-transition: all 1s;
		-ms-transition: all 1s;
		-o-transition: all 1s;

	}

	.header.change{
		background:white;
	}

	.header img {
		  z-index: 999;
  		  position: relative;
  		  width: 15%;
	}

	.header a {
		color: white;
		margin:0px 10px;
		text-decoration: none;
		font-family: Astoria-Roman;
		vertical-align: middle;
	}

	.header .move{
		display: inline-block;
		line-height: 1;
	}

	.header a:hover{
		color:#1075BB;
	}

	.header ul{
		background-color: #00a453;
		padding:10px;
		text-align: center;
	}
	ul li {
		display: inline-block;
		list-style: none;
	}

	.fullwidth {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-o-transform: translateY(-50%);
		background:#00a453;
		width: 100%;
		height: 40px;
	}

	.leftnav{
		  position: absolute;
		  top: 50%;
		  transform: translateY(-50%);
		  -webkit-transform: translateY(-50%);
		  -moz-transform: translateY(-50%);
		  -ms-transform: translateY(-50%);
		  -o-transform: translateY(-50%);
		  right: 57.5%;
	}

	.rightnav{
		  position: absolute;
		  top: 51%;
		  transform: translateY(-50%);
		  -webkit-transform: translateY(-50%);
		  -moz-transform: translateY(-50%);
		  -ms-transform: translateY(-50%);
		  -o-transform: translateY(-50%);
		  left: 57.5%;
	}
	.divider {
		width: 50px;
		display: inline-block;
	}

	.divider hr{
		display: none;
	}
	span hr{
	   display: inline-block;
	   position: relative;
	   padding: 0;
	   margin: 8px auto;
	   height: 0;
	   width: 50px;
	   max-height: 0;
	   font-size: 1px;
	   line-height: 0;
	   clear: both;
	   border: none;
	   border-bottom: 2px solid #ffffff;
	   vertical-align: middle;
	}
	.contact {
		background: #00a453;
		padding: 25px 0px;
		color: white;
		float: none;
	}
	.contact h2 {
	font-family: Astoria-Roman;
	margin-top: 0px;
	}

	.contact .section {
		border-right: solid 2px white;
	}

	.topsection, .form {

	}

	.topsection p {
		font-family: Astoria-Light;
	}

	.contact input[type="checkbox"], .contact input[type="radio"]{
		margin-right: 10px;
		display: none;
	}
	.contact label{
		font-size: 1.1em;
		text-indent: 25px;
		position: relative;
		font-family: Astoria-Light;
		font-weight: 500;
	}

	.contact label:before{
		position: absolute;
		content: '';
		left: 0px;
		top: 3px;
		height: 15px;
		width: 15px;
		border-radius: 15px;
		background:white;
	}
	.contact input:checked + label:before{
		background:#1075BB;
	}
	.section p {
		font-size: 1.1em;
	}

	.desktopheader p,
	.mobileheader p {
		font-size: 1.1em;
	}

	.desktopheader img,
	.tabletheader img,
	.mobileheader img {
		max-width: 200px;
	}

	.desktopheader p a,
	.desktopheader p a:hover,
	.desktopheader p a:focus,
	.desktopheader p a:active,
	.tabletheader p a,
	.tabletheader p a:hover,
	.tabletheader p a:focus,
	.tabletheader p a:active,
	.mobileheader p a,
	.mobileheader p a:hover,
	.mobileheader p a:focus,
	.mobileheader p a:active {
		color: white;
	}

	.desktopheader p.smalltext,
	.tabletheader p.smalltext,
	.mobileheader p.smalltext {
		margin-top: 8px;
		font-size: 0.85em;
	}

	.form {
		margin-top: 10px;
	}
	.form .section {
		border: medium none;
		border-top: solid 2px;
		padding-top: 10px;
	}
	.form input, .form textarea{
		width: 100%;
		padding: 7px 10px;
		border: none;
		border-radius: 7px;
		color: black;
	}

	.form button{
		width: 38%;
		padding: 7px;
		border:none;
		border-radius: 7px;
		background:#1075BB;
	}
	.services img{
		cursor: pointer;
		padding: 15px 0px;
	}

	.services .seperate {
		margin: 0px 4.16%;
	}
	.services, .about{
		clear:both;
	}
	.services {
		margin-bottom: 25px;
		text-align: center;
	}

	.newsletter {
		margin-bottom: 25px;
	}

	.services h1 {
		color: rgb(0, 166, 81);
		padding: 5px;
		font-family: Astoria-Roman;
		border-bottom: 2px solid;
		display: inline-block;
		margin-bottom: 20px;
	}
	.about .abouttop{
		background-color: #00a453;
		color: white;
		margin-bottom: 45px;
		padding-bottom: 20px;
	}
	.about h1 {
		text-align: center;
		color:white;
		padding: 5px;
		font-family: Astoria-Roman;
		border-bottom: solid 2px;
		display: inline-block;
		margin-bottom: 20px;
	}

	.contact h1{
		font-family: Astoria-Roman;
	}
	.bottomcontact{
		border-bottom: solid 2px;
	}
	.bottomcontact h3 {
		font-size: 16px;
		font-family: astoria-roman;
	}

	.section select {
		color: black;
		width: 100%;
		padding: 5px;
	}

	.page-template-tpl-home-php .content, .page-template-tpl-hometest .content {
		margin-top: 0px !important;
	}

	.page-template-tpl-home-test-php .content {
			margin-top: 0px !important;
		}

	.headerimage {
		position: relative;

	}
	.headerimage span, .headerimage .headerdiv{
		position: absolute;
		width: 100%;
		top: 50%;
		transform:translateY(-50%);
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-o-transform: translateY(-50%);
		left: 0px;
		right: 0px;
		text-align: center;
		color: white;
	}
	.headerimage .headerdiv{
		top: 45%;
	}
	.headerimage h2 {
		font-family: Astoria-Roman;
		font-size: 2.5em;
		letter-spacing: .03em;
	}

	.about{
		text-align: center;
	}

	.service h3{
		color:#00a453;
		font-size: 18px;
	}
	.headerdiv .your-first-home {
		position: absolute;
		top: 100%;
		left: 50%;
		margin-top: 10px;
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	.headerdiv .your-first-home h6 {
		font-family: Astoria-Roman;
		font-size: 1.3em;
		line-height: 1.25;
		margin: 0px;
	}	
	.headerdiv .your-first-home h6.title-red {
		color:rgb(237,28,36);
		margin-bottom: 0px;
		font-weight: bold;
	}
	
	.headerdiv .your-first-home a {
		cursor: pointer
	}
	.headerdiv .your-first-home img {
		width: 15vw;
		/*width: 210px;*/
	}
	.aboutsection{
		margin-bottom: 25px;
	}

	.aboutsection h4 {
		font-size: 16px;
		font-family: astoria-roman;
	}

	.team {
		margin-bottom: 25px;
		overflow: auto;
	}

	.team img{
		float: left;
		margin-right: 25px;
		width: 100%;
		margin-bottom: 15px;
	}

	.team h4, .team p a{
		color:#00a453;
	}

	.team h4{
		font-size: 16px;
		font-family: astoria-roman;
		margin-bottom: 2px;
	}

	.team .worktitle{
		margin-bottom: 0px;
		color: #00A453;;
	}

	.team a:hover{
		text-decoration: none;
		color:#1075bb;
	}

	.mobileimage{
		display: none;
	}

	.mobilenav,.mobiledropdown {
		display: none;
	}

	.mobilebreak{
		display: none;
	}

	.entry-content.col-md-10{
		padding: 0px;
	}
		.wrapper-dropdown-3 {
    /* Size and position */
    position: relative;
    width: 200px;
    margin: 0 auto;
    padding: 10px;

    /* Styles */
    background: #fff;
    border-radius: 7px;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 1px 1px rgba(50,50,50,0.1);
    cursor: pointer;
    outline: none;

    /* Font settings */

	color: #8E8E8E;
}
.wrapper-dropdown-3:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -3px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #8aa8bd transparent;
}
.wrapper-dropdown-3 .dropdown {
  /* Size & position */
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;

    /* Styles */
    background: white;
    border-radius: inherit;
    border: 1px solid rgba(0,0,0,0.17);
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    font-weight: normal;
    transition: all 0.5s ease-in;
    list-style: none;
	z-index: 9;
    /* Hiding */
    opacity: 0;
    pointer-events: none;
}

.wrapper-dropdown-3 .dropdown li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #8aa8bd;
    border-bottom: 1px solid #e6e8ea;
    box-shadow: inset 0 1px 0 rgba(255,255,255,1);
    transition: all 0.3s ease-out;
}

.wrapper-dropdown-3 .dropdown li i {
    float: right;
    color: inherit;
}

.wrapper-dropdown-3 .dropdown li:first-of-type a {
    border-radius: 7px 7px 0 0;
}

.wrapper-dropdown-3 .dropdown li:last-of-type a {
    border-radius: 0 0 7px 7px;
    border: none;
}

/* Hover state */

.wrapper-dropdown-3 .dropdown li:hover a {
    background: #f3f8f8;
}
.wrapper-dropdown-3.active .dropdown {
    opacity: 1;
    pointer-events: auto;
}

.dropdown p {
	display: none;
}

.dropdown select {
	display: none;
}
.dropdown ul {
	padding: 0px;
}

.dropdown ul li {
	width: 100%;
}
.wrapper-dropdown-3{
	width: 100%;
	padding: 7px;
}

.wpcf7 .row {
	margin: 0px;
	display: table;
}

.wpcf7 .row .section {
	float: none;
    display: table-cell;
    vertical-align: top;
}

.site-footer, #wpadminbar{
	display: none;
}

.postid-111 .phone, .postid-131 .phone {
	width: 100%;
}

.phone{
	width: 60%;
	display: inline-block;
}

.wpcf7-not-valid {
	border: solid red 1px !important;
}

.wpcf7-not-valid-tip{
	display: none !important;
}
.wpcf7-response-output{
display: block;
position: absolute;
bottom: 150px;
left: 0px;
right: 0px;
width: 100%;
text-align: center;
color: white;
margin: 0px !important;
padding: 0px !important;
}
#wpcf7-f6-o1 .wpcf7-response-output{
	bottom: 1px;
}

.wpcf7-form {
	position: relative;

}
div.wpcf7-validation-errors{
	border:none !important;
}

.dateofdeath input {
	float: right;
	width: 55%;
	font-size: 14px;
}

.enquirysubmit {
	width: 10% !important;
position: absolute;
right: 0;
top: 0;
}

.enquirypopup u, .enquirypopup u:hover {
	color: white;
}



/*---------- Facebook ad styling ----------*/

.videocontainer .container {
	margin-top: 25px;
	text-align: center;
}

.videocontainer .greenline {
	border-bottom: 2px solid #00a453;
	padding-bottom: 25px;
	margin-right: 8.33333333%;
	margin-left: 8.33333333%;
}

.videothumb {
	width: 18.75%;
	cursor: pointer;
	display: inline-block;
	margin-left: 2.5%;
}

.videothumb.one {
	margin-right: 0%;
	margin-left: 0%;
}

/*.videothumb.three {
	display: none;
}*/

.videothumb img {
	width: 100%;
}

.videobackground {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,164,83,0.80);
	z-index: 9;
	display: none;
}

.videoscreen {
	position: fixed;
	background: white;
	bottom: 10%;
	width: 60%;
	margin-left: 20%;
	padding: 30px 30px 30px 30px;
	border-radius: 25px;
	/*height: 70%;*/
	/*top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);*/
}

.videoscreen .video {
	display: none;
}

.videoscreen .video.current {
	display: block;
}

.videoscreen .video video {
	width: 100%;
	display: none;
}

.videoshow {
	display: block !important;
}

.closevideo {
    position: absolute;
    right: 30px;
    top: 1%;
    color: #337ab7;
    font-size: 14px;
    font-family: Astoria-Roman;
    cursor: pointer;
}

.videoscreen iframe {
	width: 100%;
	height: 100%;
}

/*.video.one, .video.two {
	height: 100%;
}*/

.videoscreen .video {
	height: 100%;
}







.post-131 .container.service {
	width: 100%;
	padding: 0 0 0 0;
}

.post-131 .entry-content.col-md-10 {
	width: 100%;
	margin-left: 0%;
}

.post-131 .videocontainer .container {
    margin-top: 15px;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
}

.post-131 .videobackground {
	height: 100vh;
}

.post-131 .videothumb {
	width: 100%;
}

.post-131 .campaigncontainer .videocontainer .container {
	margin-top: 0;
	width: 100%;
}

.post-131 .enquiryformarrow {
	width: 6%;
	margin-top: 20px;
	margin-left: 47%;
}

.waikanaegardendesktop {
	display: block;
}

.waikanaegardenmobile {
	display: none;
}

@media (min-width: 768px) {

	.post-131 .campaigncontainer {
		width: 750px;
	    margin-left: auto;
		margin-right: auto;
	}

	.post-131 .campaigncontainer .videocontainer {
		width: 150px;
		margin: 0px 25px 4% 0px;
		float: left;
		margin-left: 8.333%;
	}

	.post-131 .entry-content.col-md-10 p {
	    width: 83.333%;
	    margin-left: 8.333%;
		margin-right: 8.333%;
	}

	.post-131 .entry-content.col-md-10 .entry-header {
	    width: 750px;
	    margin-left: auto;
		margin-right: auto;
	}

	.post-131 .entry-content.col-md-10 h1 {
	    width: 83.333%;
	    margin-left: 8.333%;
		margin-right: 8.333%;
	}
}


@media (min-width: 992px) {

	.post-131 .campaigncontainer {
		width: 970px;
	    margin-left: auto;
		margin-right: auto;
	}

	.post-131 .campaigncontainer .videocontainer {
		width: 194px;
		margin: 0px 25px 4% 0px;
		float: left;
		margin-left: 8.333%;
	}

	.post-131 .entry-content.col-md-10 p {
	    width: 83.333%;
	    margin-left: 8.333%;
		margin-right: 8.333%;
	}

	.post-131 .entry-content.col-md-10 .entry-header {
	    width: 970px;
	    margin-left: auto;
		margin-right: auto;
	}

	.post-131 .entry-content.col-md-10 h1 {
	    width: 83.333%;
	    margin-left: 8.333%;
		margin-right: 8.333%;
	}
}

@media (min-width: 1200px) {

	.post-131 .campaigncontainer {
		width: 1170px;
	    margin-left: auto;
		margin-right: auto;
	}

	.post-131 .campaigncontainer .videocontainer {
		width: 234px;
		margin: 0px 25px 4% 0px;
		float: left;
		margin-left: 8.333%;
	}

	.post-131 .campaigncontainer .videocontainer .container {
		width: 100%;
	}

	.post-131 .entry-content.col-md-10 p {
	    width: 83.333%;
	    margin-left: 8.333%;
		margin-right: 8.333%;
	}

	.post-131 .entry-content.col-md-10 .entry-header {
	    width: 1170px;
	    margin-left: auto;
		margin-right: auto;
	}

	.post-131 .entry-content.col-md-10 h1 {
	    width: 83.333%;
	    margin-left: 8.333%;
		margin-right: 8.333%;
	}
}



	/*.cs-options{
		opacity: 0;
		transition: opacity 0.2s ease 0s, visibility 0s ease 0.2s;
		visibility: hidden;
		position: absolute;
		width: 100%;
		background: none repeat scroll 0% 0% #FFF;
		overflow: hidden;
	}

	.cs-options.open{
		opacity: 1;
		visibility: visible;
	}*/

	@media screen and (max-width: 980px) {
	.divider {
		width: 15px;
		display: inline-block;
	}

	.bottomcontact h1 {
		margin-bottom: 40px !important;
	}

	br.desktop{
		display: none;
	}
	.contact h2 {
		font-size: 1.8em;
		margin-bottom: 15px;
	}

	.desktopheader, .mobileheader {
		display: none;
	}


	.tabletheader{
		display: block;
	}
	.tabletheader .your-first-home {
		position: static;
		margin-top: 20px;
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		-o-transform: translateX(0);
		transform: translateX(0);
	}
	.tabletheader .headerdiv .your-first-home h6 {
		font-size: 1.2em;
	}
	.tabletheader .headerdiv .your-first-home img {
		width: 35%;
	}
		.container{
			width: 600px;
		}
			.section div {
		text-align: left;
	}
	.dropdown{
		width: 100%;
	}
	.wpcf7 .row {
		display: block;
	}


		.topsection{
			text-align: center;
		}

		.contact .section{
			border:none;
		}
		.form button {
			width: 39.2%;
		}
		.services .seperate {
			margin-left: 0%;
			margin-right: 0%;
		}
		.services img{
			width: 70%;
			margin-left: 15% !important;
		}

		.desktopimage{
			display: none;
		}

		.mobileimage{
			display: inline-block;
		}
		.team img{
			float: none;
			margin-right: 0px;
			margin-bottom: 10px;
			width: auto;
			max-width: 95%;
		}

		.team p, .team h4{
			text-align: center;
		}
		.form {
			margin-top: 0px;
		}
		.headerimage h2 br{
			float:left;
			display: inline-block;
			font-size: 0em;
			letter-spacing: 0em;
		}
		.headerimage .mobilebr {
			position: static;
			padding: 0px;
		}
		.headerimage h2 .mobilebr br{
			float: none;
			display: block;
		}
		.headerimage p .mobilebr br{
			float:left;
			display: inline-block;
		}
		.backbutton{
			width: 100px;
			position: static;
		}
		.headerimage h2{
			font-size: 1.8em;
		}
		.wpcf7-response-output{
			bottom:45px;
		}
		.headerimage{
		position: relative;
	    /*background-image: url("http://luvly.co.nz/law/wp-content/themes/luvly/images/thelawconnection-kapiti-coast-lawyers.jpg");*/
	    background-image: url("https://www.thelawconnection.co.nz/wp-content/themes/luvly/images/thelawconnection-kapiti-coast-lawyers.jpg");
	    background-size: cover;
		padding: 150px 10px 100px;
	}
	.headerimage span, .headerimage .headerdiv{
		position: static;	
		top: 0%;
		transform: translateY(0%);
		-webkit-transform: translateY(0%);
		-moz-transform: translateY(0%);
		-ms-transform: translateY(0%);
		-o-transform: translateY(0%);
		left: 0px;
		right: 0px;

	}
		.headerimage .background{
		display: none;
	}
	.header img{
		width: 25%;
	}

	.rightnav {
		left: 62.5%;
	}
	.leftnav {
		right: 62.5%;
	}
		.wpcf7 .row .section {
	    border: medium none;
	    float: left;
	    display: block;
	    vertical-align: middle;
	}
		.topsection .col-md-4{
		padding: 0px;
		text-align: center;
		display: inline-block !important;
		float: none !important;
		margin: auto;
		width: auto;
	}
		.contact div[class^='col-'],.contact div[class*=' col-']{
	padding-left: 0px !important;
	padding-right: 0px !important;
	}
		label[for="footerenquiry"]{
		margin-bottom: 15px;
	}
		.headerimage h2 br {
    float: none;
    display: block;
}

	}

	@media screen and (min-width: 981px)
	and (max-width: 1024px)
	and (orientation : portrait) {
		.headerimage .headerdiv {
			top: 58%;
		}
		.headerdiv .your-first-home {
			margin-top: 15px;
			position: static;
			-webkit-transform: translateX(0);
			-ms-transform: translateX(0);
			-o-transform: translateX(0);
			transform: translateX(0);
		}
		.headerdiv .your-first-home img {
		    width: 15%;
		}
	}

	@media screen and (min-width: 761px)
	and (max-width: 1024px)
	and (orientation : landscape) {
		.headerimage .headerdiv {
			top: 55%;
		}
		.headerdiv .your-first-home {
			margin-top: 15px;
			position: static;
			-webkit-transform: translateX(0);
			-ms-transform: translateX(0);
			-o-transform: translateX(0);
			transform: translateX(0);
		}
		.headerdiv .your-first-home h6 {
			font-size: 1.1em;
		}
		.headerdiv .your-first-home img {
		    width: 20vw;
		}
	}

	@media screen and (min-width: 1025px)
	and (max-width: 1366px)
	and (orientation : landscape) {
		.headerimage .headerdiv {
			top: 42.5%;
		}
	}

	@media screen and (min-width: 761px){
		.headerimage {
			height: auto !important;
		}
	}
	@media screen and (max-width: 760px) {
	.desktopheader, .tabletheader {
		display: none;
	}

	.wpcf7 .contact p img {		
		width: 30% !important;
	    margin-left: 35% !important;
	}


	.mobileheader{
		display: block;
	}
	.leftnav{
		display: none;
	}
	.rightnav{
		display: none;
	}
			.container{
			width: 100%;
		}
	.background{
		margin-top: 0px !important;
	}

	.header,.page-template-tpl-home-php .header{
		background: none repeat scroll 0% 0% rgb(0, 164, 83);
		padding: 2px 0px;
	}

	.header,.page-template-tpl-home-test-php .header{
		background: none repeat scroll 0% 0% rgb(0, 164, 83);
		padding: 2px 0px;
	}

	.header.change{
		background: none repeat scroll 0% 0% rgb(0, 164, 83);
	}
	.header img{
		width: auto;
		height: 70px;
	}
	.backbutton{
		width: 100px;
		position: static;
	}

	.headerimage{
		position: relative;
	    /*background-image: url("http://luvly.co.nz/law/wp-content/themes/luvly/images/thelawconnection-kapiti-coast-lawyers.jpg");*/
	    background-image: url("https://www.thelawconnection.co.nz/wp-content/themes/luvly/images/thelawconnection-kapiti-coast-lawyers.jpg");
	    background-size: cover;
	    height: 100vh;
		background-position: 50%;
	}
	.headerimage span, .headerimage .headerdiv{
		position: absolute;	
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-o-transform: translateY(-50%);
		left: 0px;
		right: 0px;
		padding: 10px;
	}
	.headerdiv .your-first-home {
    	position: static;
    	margin-top: 40px;
    	-webkit-transform: translateX(0);
    	-ms-transform: translateX(0);
    	-o-transform: translateX(0);
    	transform: translateX(0);
    }
    .headerdiv .your-first-home h6 {
	    font-family: Astoria-Roman;
	    font-size: 1.2em;
	    line-height: 1.25;
	    margin: 0;
	}
	.headerdiv .your-first-home img {
	    width: 50%;
	}

	.section div {
		text-align: left;
	}

	.topsection .col-md-4{
		padding: 0px;
		text-align: center;
		display: inline-block !important;
		float: none !important;
		margin: auto;
		width: auto;
	}
	.contact div[class^='col-'],.contact div[class*=' col-']{
	padding-left: 0px !important;
	padding-right: 0px !important;
	}

	input[name="phone"],.phone{
		width: 100% !important;
	}
	.form button {
    width: 100%;
    margin-top: 10px;
	}

	.contact .form p{
		display: none;
	}
	.headerimage .background{
		display: none;
	}

	.mobilenav{
		position: absolute;
		right:20px;
		top: 50%;
		transform:translateY(-50%);
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-o-transform: translateY(-50%);
		cursor: pointer;
		display: block;
	}

	.mobilenav i{
		font-size: 2em;
		color: white;
	}
	.mobilenav img {
		height: 25px;
	}
	.wpcf7 .row .section {
	    border: medium none;
	    float: left;
	    display: block;
	    vertical-align: middle;
	}
	.services .col-xs-offset-1 {
		margin-left: 8.33333%;
	}

	.services img {
		width: 83.3333%;
		margin-left: 8.33333% !important;
	}


	.header.change{
		background:;
	}

	.mobiledropdown {
		height: 100%;
		width: 100%;
		position: absolute;
		display: block;
	}

	.fullwidth{
		top: 0px;
		height: 100%;
		transform:translateY(0%);
		-webkit-transform: translateY(0%);
		-moz-transform: translateY(0%);
		-ms-transform: translateY(0%);
		-o-transform: translateY(0%);
	}

	.drop{
		width: 100%;
		position: absolute;
		top: 100%;
		margin-top: -2px;
		background: none repeat scroll 0% 0% #FFF;
		transition: all 1s;
		-webkit-transition: all 1s;
		-moz-transition: all 1s;
		-ms-transition: all 1s;
		-o-transition: all 1s;
				transform:translateY(-100%);
		-webkit-transform: translateY(-100%);
		-moz-transform: translateY(-100%);
		-ms-transform: translateY(-100%);
		-o-transform: translateY(-100%);
	}

	.drop.active{
				transform:translateY(0%);
		-webkit-transform: translateY(0%);
		-moz-transform: translateY(0%);
		-ms-transform: translateY(0%);
		-o-transform: translateY(0%);
	}

	.drop ul{
		background: transparent;
		padding: 0px;
		margin: 0px;
	}

	.drop ul li {
		display: block;
	}

	.drop a {
		color: #00A453;
		text-decoration: none;
		font-family: Astoria-Roman;
		vertical-align: middle;
		border-bottom: 1px solid #E6E8EA;
		display: block;
		padding: 10px;
		margin:0px;
	}
	.hidebr {
		display: none;
		float: left;
		width: 1px;
		height: 1px;
	}

	#wpcf7-f6-o1{
		display: none;
	}

	label[for="footerenquiry"]{
		margin-bottom: 15px;
	}

	.services h1, .about h1, .contact h1{
		font-size: 1.6em;
	}
	.contact h1{
		margin-bottom: 35px !important;
	}
	.service h3 {
		line-height: 1.3em;
	}

	.mobilebreak{
		display: block;
		height: 1px;
	}
	.headerimage h2{
		font-size: 1.7em;
	}

	.header .move {
    	display: block;
    	line-height: 1.4em;
	}
	.contact label {
	    font-size: 1em;
	    text-indent: 22px;
	}


	.postid-111 .mobilephone, .postid-111 .mobileemail, .postid-131 .mobilephone, .postid-131 .mobileemail {
		padding-top: 10px !important;
	}

	.postid-111 .col-md-4.col-xs-12.section, .postid-131 .col-md-4.col-xs-12.section {
		border-left: none !important;
	}

	.dateofdeath {
		margin-top: 10px !important;
	}

	.dateofdeath p {
		display: block !important;
	}

	.dateofdeath p span input {
		width: 100%;
	}

	.relationshiptodeceased {
		margin-top: 10px !important;
	}

	.probate {
		margin-top: 10px !important;
	}

	.probate div {
		float: unset !important;
		width: 100% !important;
		margin-right: unset !important;
	}

	.probate p {
		display: block !important;
		float: unset !important;
	}

	.mobilesubmit {
    	margin-top: 10px;
	}

	.mobilesubmit p {
		display: block !important;
		width: 100%;
	}

	.mobilesubmit p b span {
		float: left;
    	max-width: 75%;
	}

	.mobilesubmit p b span.secondline {
		max-width: 100% !important;
		width: 100% !important;
	}

	button.enquirysubmit {
	    width: 20% !important;
	    position: static;
	    margin-left: 40%;
	}

	/*---------- Facebook Styling ----------*/
	.videothumb {
	    margin-left: 0% !important;
	    margin-right: 0 !important;
	    width: 85%;
	    cursor: pointer;
	    margin-top: 10px;
	}

	.videothumb.one {
		margin-top: 0px;
	}

	.videoscreen {
	    position: fixed;
	    background: white;
	    bottom: 50%;
	    width: 95%;
	    margin-left: 2.5%;
	    padding: 20px 15px 15px 15px;
	    border-radius: 15px;
	    /*height: 50%;*/
	    -webkit-transform: translateY(50%);
	    -ms-transform: translateY(50%);
	    -o-transform: translateY(50%);
	    transform: translateY(50%);
	}

	.closevideo {
	    position: absolute;
	    right: 15px;
	    top: 0px;
	    color: #337ab7;
	    font-size: 14px;
	    font-family: Astoria-Roman;
	    cursor: pointer;
	}


	.post-131 .entry-content.col-md-10 p, .post-131 .entry-content.col-md-10 h1 {
		padding-left: 15px;
		padding-right: 15px;
	}

	.post-131 .entry-content.col-md-10 .videocontainer .container {
		padding-left: 15px;
		padding-right: 15px;
		margin-bottom: 25px;
	}
	
	.post-131 .container.service:before {
		display: none;
	}

	.post-131 .entry-title {
		padding-top: 10px;
	}

	.post-131 .enquiryformarrow {
		display: none;
	}



	.waikanaegardenmobile {
		display: block;
		background: rgb(190,171,235);
	}

	.waikanaegardendesktop {
		display: none;
	}

	.waikanaegardenmobile .headerimage {
		background-image: url(http://luvly.co.nz/law/wp-content/themes/luvly/images/WaikanaeGardens_DesktopBackground.jpg);
	}

	.waikanaegardenmobile .logoanddate {
		position: absolute;
	    width: 100%;
	    top: calc(50% + 85px);
	    -webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	    -o-transform: translateY(-50%);
	    transform: translateY(-50%);
	    height: 100%;
	    left: 0;	    
	}

	.waikanaegardenmobile .waikanaelogo {
		width: 45%;
		margin-left: 27.5%;
	}

	.waikanaegardenmobile .dates {
		width: 60%;
	    margin-left: 20%;
	}

	.waikanaegardenmobile .copy {
		width: 90%;
	    color: white;
	    font-family: gothicbold;
	    font-size: 12pt;
	    letter-spacing: 1px;
	    margin-left: 5%;
	    display: inline-block;
	    vertical-align: middle;
	    text-align: center;
	    margin-top: 10px;

	}

	.waikanaegardenmobile .copy img {
		display: inline-block;
		vertical-align: middle;
		width: 40px;
	}


	
}