/*
	Theme Name: Law Solutions
	Theme URI: http://www.lslaw.com.au
	Description: Custom theme for Law Solutions
	Version: 1.0
	Author: Jamie Baker
	Author URI: http://www.jamiebaker.com.au
	License: All Rights Reserved
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
html {
	font-size:62.5%;
}
body {
	font:400 16px/1.4 'Source Sans Pro', Helvetica, Arial, sans-serif;
	color:#444;
	background:#0D0E10;
}
.clear:before,
.clear:after {
    content:' ';
    display:table;
}
.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#cb1f3f;
	text-decoration:none;
}
a:hover {
	color:#B71C39;
}
a:focus,
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
hr {
	width:50%;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.wrapper {
	width:100%;
}
.header {
	color:white;
	background:url('img/bg.jpg') #000 no-repeat right;
	background-size:cover;
	z-index:-101;
}
.header2 {
	background:url('img/bg.jpg') no-repeat;
	background-size:cover;
	color:#fff;
}
video#bgvid {
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	background: url(img/title.jpg) no-repeat;
	background-size: cover;
	display:none;
}
.logo {
	padding:1.5em;
	float:left;
}
.phone {
	padding:2em 2em 2em 0;
	float:right;
	display:none;
}
.logo img {
	max-height:2.5em;
}
.nav {
	float:left;
}
nav ul {
	list-style:none;
	margin:2em 0 2em 1.5em;
	padding:0;
}
nav li {
	display:inline;
	margin:0 .5em;
}
nav a {
	color:white;
}
nav a:hover{
	color:white;
	border-bottom: 2px solid #B71C39;
}
#nav-trigger {
	float:right;
	padding:2em;
	cursor: pointer;
}
#nav-trigger span:hover {
	color: #B71C39;
}
nav#nav-main {
	display:none;
}
nav#nav-mobile {
	position: relative;
	display: block;
	background:#3f474e;
	background:linear-gradient(#3f474e,#394046);
	box-shadow:inset 0 -3px 6px rgba(0,0,0,0.23);
}
nav#nav-mobile ul {
	display:none;
	list-style-type:none;
	left:0;
	right:0;
	margin:0 auto;
	text-align:center;
	padding:0;
}
nav#nav-mobile li {
	display: block;
	padding: 5px 0;
	margin: 0 5px;
}
nav#nav-mobile a {
	display: block;
	color: white;
	padding: 10px 30px;  }
nav#nav-mobile a:hover {
	color: #B71C39;
	border-bottom: none;
}
main {
	background:#fff;
}
section {
	padding:1.5em 0;
}
.footer {
	text-align:center;
	color:#444;
	box-shadow: 0 3px 20px rgba(0,0,0,0.23);
	background:#fcfcfc;
}
.footer i {
	margin:.25em;
}
.google-maps-builder {
	min-height:100vh;
}
.gmnoprint {
	display:none;
}
#placeholder {
	margin-top:-100vh;
	position:relative;
}
#contact {
	position:relative;
	color:#444;
	min-height:100vh;
	padding:1.5em 1.5em 5em;
}
#contactInner {
	background:#fff;
	text-align:center;
	box-shadow: 0 3px 20px rgba(0,0,0,0.23);
}
.copyright {
	background:#0D0E10;
	text-align:center;
	color:darkgrey;
	font-size:.8em;
	padding: 1.5em;
}
.copyright a {
	color:darkgrey;
}
.col {
	padding:0 1.5em;
}
.row {
	max-width:1280px;
	margin:0 auto;
}
.row.text {
	max-width: 900px;
}
.row .row {
	margin:0 -1.5em;
}
.row:before, .row:after {
	content:"";
	display:table;
}
.row:after {
	clear:both;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.callout {
	line-height:200%;
	text-align:center;
	padding:1.5em 1.5em;
}
.callout button {
	margin: 2em 0;
}
.hideMobile {
	display:none;
}
#services {
	text-align:center;
}
#services i {
	margin-bottom: .3em;
}
.service:hover i{
	transition-duration:200ms;
	transform:scale(1.1);
	color:#B71C39;
}
#testimonials {
	color:white;
	background:#cb1f3f;
	background:linear-gradient(#cb1f3f,#B71C39);
	box-shadow: inset 0 3px 20px rgba(0,0,0,0.23);
}
#posts {
	color:white;
	background:#cb1f3f;
	background:linear-gradient(#cb1f3f,#B71C39);
	box-shadow: inset 0 3px 20px rgba(0,0,0,0.23);
}
#team {
	text-align:center;
}
#about {
	box-shadow: inset 0 3px 20px rgba(0,0,0,0.23);
	background:#fcfcfc;
}
#news {
	border-right:1px solid #efefef;
}
.staffRow:nth-of-type(1) {
	margin-top:1em;
}
.staffImg {
	position:relative;
	padding:0;
}
.staffBio {
	position:relative;
	transition-duration:250ms;
	animation-duration:250ms;
	display:table;
	overflow:visible;
}
.offset {
	background:#cb1f3f;
	color:#fff;
}
.offset a {
	color:#fff;
}
.corner {
	position:absolute;
	top:0;
	left:-30px;
	fill:#cb1f3f;
	animation-duration:600ms;
	z-index:2;
}
.upper {
	position:absolute;
	top:1em;
	right:1em;
	stroke:#cb1f3f;
	z-index:2;
}
.lower {
	position:absolute;
	bottom:1em;
	left:1em;
	stroke:#cb1f3f;
	z-index:2;
}
.offset .upper,
.offset .lower {
	stroke:#fff;
}
.testimonial {
	text-align:center;
	animation-duration:250ms;
}
.testimonial a{
	color:#fff;
}
.testimonial img {
	border-radius:50%;
}
#mapButton {
	cursor:pointer;
}
div.wpcf7-response-output {
	margin: 0;
}
.round-corners {
	border-radius:1.5em;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Pistara';
	src:url('fonts/Pistara.woff') format('woff');
    font-weight:normal;
    font-style:normal;
}
h1, h2, h3, h4, h5, h6 {
	font-family:'Pistara', Helvetica, Arial, sans-serif;
}
.divider{
	color:white;
	width:50%;
	margin:20px auto;
	overflow:hidden;
	text-align:center;
	line-height:1.2em;
}
.divider:before, .divider:after{
	content:"";
	vertical-align:top;
	display:inline-block;
	width:50%;
	height:0.65em;
	border-bottom:1px solid white;
	margin:0 2% 0 -55%;
}
.divider:after{
	margin:0 -55% 0 2%;
}
.centered {
	text-align:center;
}
.subtext {
	margin-top:-1em;
}
.titletext {
	margin:0 0;
	font-size:3em;
}
.titletext + p {
	font-size:larger;
}
.vertcenter {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}
.btn-default {
	padding:.75em;
	transition-duration: 100ms;
	border-radius:.5em;
	color:white;
	outline:0;
	background:#B71C39;
	border:2px solid #B71C39;
	box-shadow: 0 3px 6px rgba(0,0,0,0.23);
}
.btn-default:hover {
	border:2px solid #cb1f3f;
	background: #cb1f3f;
}
.btn-default:active {
	background:#A51933;
	border:2px solid #A51933;
	box-shadow: 0 3px 20px rgba(0,0,0,0.23);
}
.btn-white {
	background:none;
	border:2px solid white;
}
button {
	padding:.75em;
	transition-duration: 100ms;
	border-radius:.5em;
	color:white;
	outline:0;
}
button:hover {
	border:2px solid #cb1f3f;
	background: #cb1f3f;
}
button:active {
	background:#A51933;
	border:2px solid #A51933;
	box-shadow: 0 3px 20px rgba(0,0,0,0.23);
}
input {
	 outline:0;
	 padding:.5em;
	 border-radius:.25em;
	 border:1px solid #666;
	 width:100%;
 }
input:hover,
input:focus {
	border:1px solid #cb1f3f;
}
textarea {
	outline:0;
	padding:.5em;
	border-radius:.25em;
	border:1px solid #666;
	width:100%;
}
textarea:hover,
textarea:focus {
	border:1px solid #cb1f3f;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {
	.col {
		float: left;
		width: 100%;
	}
}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {
	section {
		padding:3em 1.5em;
	}
	.half {
		width:50%
	}
	.third {
		width:33%;
	}
	.twothird {
		width:66%;
	}
	.wide {
		width:80%;
	}
	.narrow {
		width:15%
	}
	.header {
		min-height:100vh;
		background: none;
	}
	.footer {
	}

	
	.flex {
		margin-top: 25vh;
		display: flex;
		align-items: center;
		align-content: center;
		flex-direction: column;
		width: 100%;
		justify-content: center;

	}


	.callout {
		/*margin-top: 10vh;*/
	display: flex;
	align-items: center;
	align-content: center;
	flex-direction: column;
	width: 100%;
	justify-content: center;
	}
	.hideMobile {
		display:block;
	}
	video#bgvid {
		display: block;
	}
	#nav-trigger {
		display: none; }

	nav#nav-main {
		display: block; }

	nav#nav-mobile {
		display: none; }
	.testimonial {
		width: 33%;
	}
	#contact {
		padding:5em;
	}
	.logo {
		display:none;
	}
	.phone {
		display: block;
	}
}
@media only screen and (min-width:1024px) {
	body {
		font-size:18px;
	}
	.form {
		width:80%;
		margin:0 10%;
	}
}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {
	body {
		font-size:20px;
	}
	.callout {
		/*margin-top: 15vh;*/
	display: flex;
	align-items: center;
	align-content: center;
	flex-direction: column;
	width: 100%;
	justify-content: center;
	}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 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 {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 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;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:1em;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
