/*
Theme Name: Reid Family Lawyers
Theme URI: http://underscores.me/
Author: Codex Digial
Author URI: http://www.codexdigital.com.au/
Description: Custom theme for Reid Family Lawyers
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: reidfamily
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Reid Family Lawyers is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Poppins', sans-serif;
	font-weight: bold;
}

h1
{
	color: white;
	font-size: 30px;
	letter-spacing: -1px;
	text-shadow: 5px 5px 3px rgba(0,0,0,0.2);
}

@media (min-width:992px)
{
	h1
	{
		font-size: 60px;
		letter-spacing: -2px;
	}
}

h2,
h3
{
	color: #2bbfd9;
	font-size: 24px;
	letter-spacing: -1px;
}

@media (min-width:992px)
{
	h2,
	h3
	{
		font-size: 43px;
	}
}

h3
{
	color: #3548a4;
}


h4
{
	color: #6a6a6a;
	font-size: 22px;
	letter-spacing: -1px;
	line-height: 1.4em;
	margin-top: 20px;
}

h4:nth-child(1)
{
	margin-top: 10px;
}

h5
{
	color: #2bbfd9;
	font-size: 22px;
	line-height: 1.4em;
}


p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	/*margin: 0 0 1.5em 3em;*/
}

.wpb_wrapper li
{
	margin: 0.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}



/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #2bbfd9;
}

a:visited {
	color: #2bbfd9;
}

a:hover,
a:focus,
a:active {
	color: #1e91a5;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}
/*--------------------------------------------------------------
## Animated Elements
--------------------------------------------------------------*/

.site-header,
.main-navigation,
.main-navigation a,
.site-header .site-branding,
.homecard
{
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.site-header
{
	position: fixed;
	top: 70px;
	left:0;
	width: 100%;
	height: 100px;
	z-index: 100;
}

.site-header.sticky
{
	height: 60px;
	box-shadow: 0 3px 25px rgba(119, 102, 92, 0.5);
	background-color: #f2eae5;
	top: 0;
}

.site-header .site-branding
{
	float: left;
	width: 220px;
}

@media (min-width:400px)
{
	.site-header .site-branding
	{
		
		width:300px;
		height: 100px;
		margin-top: 20px;
	}

}

.site-header.sticky .site-branding
{
	width: 210px;
	height: 60px;
	margin-top: 0;
}

.site-header .site-branding a
{
	display: block;
}

.white-arrow:after
{
	content: "";
	position: absolute;
	bottom: 0;
	left: calc(50% - 45px);
	height: 0;
	width: 0;
	border-left: 45px solid transparent;
	border-right: 45px solid transparent;
	border-bottom: 45px solid white;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Mobile Only
--------------------------------------------------------------*/

@media (max-width:991px)
{
	.main-navigation ul {

		list-style: none;
		margin: 0;
		padding-left: 0;
	}
	
	.main-navigation a {
		display: block;
		text-decoration: none;
		color: white;
		font-size: 17px;
		padding: 10px;
		margin: 0 15px;

		border-bottom: 5px solid transparent;

	}
	
	.main-navigation .current_page_item  a,
	.main-navigation .current-page-ancestor  a
	{
		border-color: #cecdc8;
		font-weight: bold;
	}
	

	
	#site-navigation
	{
		position: fixed;
		width: 100%;
		height: 100%;
		left: 100%;
		top:0;
		
		overflow-y: scroll;
		overflow-x: visible;
		
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		-ms-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;
	}
	
	#site-navigation.open
	{
		left:60px;
	}
	#site-navigation #primary-menu
	{
		background-color: #a4a39e;
	}
	
	.nav-toggle
	{
		display: block;
		position: fixed;
		top:0;
		left: calc(100% - 60px);
		height:60px;
		width: 60px;
		font-size: 30px;
		text-align: center;
		background-color: #2bbdd7;
		overflow: hidden;
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		-ms-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;
		color: white;

	}
	.nav-toggle.open
	{
		left:0;
	}
	
	.nav-toggle:before,
	.nav-toggle:after
	{
		content: "\f0c9";
		
		font-family: FontAwesome;
		height:60px;
		width: 60px;
		line-height:60px;
		display: block;
		position: absolute;
		top:0;
		left:0;
		
		-webkit-transition: 0.3s ease-in-out 0.2s;
		-moz-transition: 0.3s ease-in-out 0.2s;
		-ms-transition: 0.3s ease-in-out 0.2s;
		transition: 0.3s ease-in-out 0.2s;
	}
	.nav-toggle:after
	{
		content: "\f00d";
		left:100%;
	}
	
	.nav-toggle.open:before
	{
		left:-100%;
	}
	.nav-toggle.open:after
	{
		left:0;
	}
	
	.main-navigation ul ul li
	{
		height: 0;
		background-color: rgba(181, 170, 124, 0.2);
		opacity: 0;
		
		pointer-events: none;
			
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		-ms-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;
	}
	
	.main-navigation ul ul.open li
	{
		opacity: 1;
		height: 40px;
		padding-left: 1em;
		
		pointer-events: all;
	}
	
	#masthead.sticky .sub-menu a
	{
		line-height: 2em;
		height: 2em;
	}

}


/*--------------------------------------------------------------
## Desktop Only
--------------------------------------------------------------*/

@media (min-width:992px)
{
	#site-navigation {
		position: static;
	}
	
	.nav-toggle
	{
		display: none;
	}


	.main-navigation
	{
		display: block;
		float: left;
		width: calc(100% - 300px);
		height: 100px;
		margin-top: 32px;
	}

	.site-header.sticky .main-navigation
	{
		width: calc(100% - 210px);
		height: 60px;
		margin-top: 0;
	}


	.main-navigation ul {
		display: none;
		list-style: none;
		margin: 0;
		padding-left: 0;
		float: right;
	}

	.main-navigation li {
		float: left;
		position: relative;
	}

	.main-navigation a {
		display: block;
		text-decoration: none;
		color: white;
		font-size: 15px;
		padding: 20px 0;
		margin: 0 10px;

		border-bottom: 5px solid transparent;

	}


	
	.site-header.sticky .main-navigation a
	{
		padding: 19px 0;
		color: #53534b;
	}


	.main-navigation .current_page_item  a,
	.main-navigation .current-page-ancestor  a
	{
		border-color: #f1e7e4;
		font-weight: bold;
	}
	
	.site-header.sticky .main-navigation .current_page_item a
	{
		border-color: #2bbdd7;
	}

	.main-navigation ul ul {
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
		float: left;
		position: absolute;
		top: 1.5em;
		left: -999em;
		z-index: 99999;
	}

	.main-navigation ul ul ul {
		left: -999em;
		top: 0;
	}

	.main-navigation ul ul a {
		width: 200px;
	}

	.main-navigation ul ul li {

	}

	.main-navigation li:hover > a,
	.main-navigation li.focus > a {
	}

	.main-navigation ul ul :hover > a,
	.main-navigation ul ul .focus > a {
	}

	.main-navigation ul ul a:hover,
	.main-navigation ul ul a.focus {
	}

	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: auto;
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul {
		left: 100%;
	}

	.main-navigation .current_page_item > a,
	.main-navigation .current-menu-item > a,
	.main-navigation .current_page_ancestor > a,
	.main-navigation .current-menu-ancestor > a {
	}
}

@media (min-width:1200px)
{
	.main-navigation a
	{
		font-size: 17px;
		margin: 0 15px;
	}
	.site-header.sticky .main-navigation a
	{
		padding: 17px 0 18px;
	}
}

.main-navigation a {
	display: block;
	text-decoration: none;
}



#masthead ul ul a
{
	line-height: 2em;
	height: 2em;
}
/*--------------------------------*/





/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Nav Phone Link
--------------------------------------------------------------*/

@media (max-width:991px)
{
	.nav-phone a
	{
		margin-left:-10px;
		padding-left:35px;
		background-color: #2bbfd9;
	}
	.nav-phone a:after
	{
		content:" Phone";
		margin-left:7px;
	}
}
@media (min-width:992px)
{
	.nav-phone a
	{
		border-radius: 50%;
		background-color: #2bbfd9;
		height: 50px;
		width: 50px;
		line-height: 50px;
		text-align: center;
		font-size: 23px;
		padding: 0;
		margin-top: 5px;
		outline: none;
		color: white !important;

		text-shadow: 5px 5px 2px rgba(0,0,0,0.15);
		box-shadow: 5px 5px 2px rgba(0,0,0,0.15);
	}

	.site-header.sticky .main-navigation .nav-phone a
	{
		padding: 0;
	}
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	/*margin: 0 0 1.5em;*/
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}





/*--------------------------------------------------------------
## Home Cards
--------------------------------------------------------------*/

.homecard
{
	padding: 30px;
	text-align: center;
}

@media (min-width:992px)
{
	.homecard
	{
		width:33.333333%;
		float: left;
	}
}

.homecard:hover
{
	background-color: #eee4e1;
}

.homecard p:empty
{
	display: none;
}

.homecard img
{
	height: 140px;
	width: auto;
	margin-bottom: 30px;
}


/*--------------------------------------------------------------
## Buttons
--------------------------------------------------------------*/



.button
{
	font-size: 16px;
	font-weight: bold;
	padding: 20px 40px;
	margin: 5px 0;
	width: 90%;
	display: inline-block;
	background-color: #f1e7e4;
	color: #53534b;
}

@media (min-width:992px)
{
	.button
	{
		width:auto;
		font-size: 20px;
		
	}
}

.button:hover,
.button:visited,
.button:active
{
	
	color: #53534b;
}
/*.button:after
{
	
	font-family: FontAwesome;
	content: " \f105";
}*/

.button:hover
{
	text-decoration: none;
	background-color: #ffffff;
}

.button.style2
{
	background-color: #2bbfd9;
	color: #ffffff;
}

.button.style2:hover
{
	background-color: #70e8fd;
}


.button.style3
{
	background-color: #3548a4;
	color: #ffffff;
}

.button.style3:hover
{
	background-color: #2bbfd9;
}

/*--------------------------------------------------------------
## CD Slider
--------------------------------------------------------------*/

.cd-slider,
.cd-slider li
{
	margin: 0;
	padding: 0;
	list-style: none;
}
.cd-slider .slide
{
	padding: 100px 0;
	height: 720px;
	background-repeat: no-repeat;
	background-size: cover;
	outline: none;
	overflow: hidden;
}

.cd-slider .slick-prev, 
.cd-slider .slick-next
{
	z-index: 50;
	height: 60px;
	width: 60px;
	text-align: center;
}

.cd-slider .slick-next
{
	right: -10px;
}

.cd-slider .slick-prev
{
	left: -10px;
}

@media (min-width:640px)
{
	.cd-slider .slick-next
	{
		right: 25px;
	}

	.cd-slider .slick-prev
	{
		left: 25px;
	}
}

.cd-slider .slick-prev:before, 
.cd-slider .slick-next:before
{
	font-family: fontAwesome;
	font-size: 60px;
}

.cd-slider .slick-prev:before
{
	content: "\f053";
}
.cd-slider .slick-next:before
{
	content: "\f054";
}

.cd-slider .slick-dots
{
	bottom: 45px;
}

.cd-slider .slick-dots li button
{
	background-color: rgba(255,255,255,0.5);
	width: 18px;
	height: 18px;
	padding: 0;
	border-radius: 50%;
}
.cd-slider .slick-dots li:hover button
{
	background-color: rgba(255,255,255,0.75);
}
.cd-slider .slick-dots li.slick-active button
{
	background-color: rgba(255,255,255,1);
}

.cd-slider .slick-dots li button:before
{
	display: none;
}



.home-slide .vc_column-inner 
{
	padding-top: 0 !important;
}
.home-slide .wpb_content_element 
{
	margin-bottom: 0 !important;
}


.slide-image
{
	height: 100px;
}
.slide-box
{
	height: 440px;
	font-size:11px
}

.slide-box
{
	background-color: #fcf2ef;
	padding: 30px 40px;
	overflow:hidden;
}

.slide-image
{
	background-size:cover;
	background-repeat:no-repeat;
	background-position: center center;
}

.slide-box .button
{
	font-size:11px;
	text-align : center;
}

@media (min-width:640px)
{
	.slide-image,
	.slide-box
	{
		height: 500px;
		width:50%;
		float:left;
	}

	.slide-box
	{
		background-color: #fcf2ef;
		padding: 70px;
		margin-top:30px;
		
	}

	.slide-image
	{
		position:relative;
		right: -30px;
		z-index:80;
		background-size:cover;
	}

	
}

@media (min-width:768px)
{
	.slide-box
	{
		font-size:14px
	}
	.slide-box .button
	{
		font-size:16px;
	}
}

/*--------------------------------------------------------------
## Home Slider
--------------------------------------------------------------*/

.home-slider,
.home-slider li
{
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.home-slider .slide
{
	outline: none;
	font-size: 12px;
	
}
.home-slider .slide .top
{
	padding: 100px 0 0 0;
	height: 550px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: relative;
}
@media (min-width:400px)
{
	.home-slider .slide
	{
		font-size: 16px;
	}
	.home-slider .slide .top
	{
		padding: 150px 0 0 0;
	}
}
@media (min-width:992px)
{
	.home-slider .slide
	{
		font-size: 21px;
	}
	
	.home-slider .slide .top
	{
		padding: 180px 0 0 0;
	}
}

@media (max-width:991px)
{
	
	.home-slider .slide .top h1
	{
		font-size: 28px;
		letter-spacing: 0;
		padding: 0 10px;
	}
	.home-slider .slide h2
	{
		font-size: 20px;
	}
	.home-slider .slide h3
	{
		font-size: 20px;
	}
}

.home-slider .slide .top h1
{
	margin-top: 20px;
}

.home-slider .slide .top h2
{
	color: white;
	font-weight: normal;
	margin: 0;
}

.home-slider .slide .top .button
{
	margin: 0 15px;
}

.home-slider .slide .bottom
{
	padding: 60px 10px;
	height: 320px;
}

@media (min-width:768px)
{
	.home-slider .slide .bottom
	{
		padding: 60px 0;
	}
}

.home-slider .slick-prev, 
.home-slider .slick-next
{
	z-index: 50;
	height: 60px;
	width: 60px;
	text-align: center;
}

.home-slider .slick-next
{
	right: 25px;
}

.home-slider .slick-prev
{
	left: 25px;
}

.home-slider .slick-prev:before, 
.home-slider .slick-next:before
{
	font-family: fontAwesome;
	font-size: 60px;
}

.home-slider .slick-prev:before
{
	content: "\f053";
}
.home-slider .slick-next:before
{
	content: "\f054";
}

.home-slider .slick-dots
{
	bottom: 0;
}

.home-slider .slick-dots li
{
	width: 50px;
	height: 5px;
	padding: 15px 0;
}

.home-slider .slick-dots li button
{
	background-color: #dbdbd9;
	width: 50px;
	height: 5px;
	padding: 0;
}

.home-slider .slick-dots li.slick-active button
{
	background-color: #2bbfd9;
}
.home-slider .slick-dots li button:before
{
	display: none;
}

.home-slider:after
{
	content: "";
	position: absolute;
	top: 505px;
	left: calc(50% - 45px);
	height: 0;
	width: 0;
	border-left: 45px solid transparent;
	border-right: 45px solid transparent;
	border-bottom: 45px solid white;
	z-index: 90;
	pointer-events: none;
}


.home-slider .content,
.home-slider .content2
{
	max-width: 840px;
	margin: 0 auto;
	opacity: 0;
}
.home-slider .content
{
	-webkit-transition: all 0.3s ease-in-out 0.3s;
	-moz-transition: all 0.3s ease-in-out 0.3s;
	-ms-transition: all 0.3s ease-in-out 0.3s;
	transition: all 0.3s ease-in-out 0.3s;
}
.home-slider .content2
{
	-webkit-transition: all 0.3s ease-in-out 0.6s;
	-moz-transition: all 0.3s ease-in-out 0.6s;
	-ms-transition: all 0.3s ease-in-out 0.6s;
	transition: all 0.3s ease-in-out 0.6s;
}

.home-slider .slick-active .content,
.home-slider .slick-active .content2
{
	opacity: 1;
}



/*--------------------------------------------------------------
## Little Slider
--------------------------------------------------------------*/

.slider .slide
{
	text-align: center;
	outline: none;
	font-size: 21px;
}

.slider .slick-dots li
{
	width: 50px;
	height: 5px;
	padding: 15px 0;
}

.slider .slick-dots li button
{
	background-color: #dbdbd9;
	width: 50px;
	height: 5px;
	padding: 0;
}

.slider .slick-dots li.slick-active button
{
	background-color: #2bbfd9;
}
.slider .slick-dots li button:before
{
	display: none;
}


/*--------------------------------------------------------------
## Forms
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Forms
--------------------------------------------------------------*/

.gform_wrapper
{
	
}

.gform_fields,
.gform_fields li
{
	margin: 0;
	padding: 0;
	list-style: none;
}
.gform_fields li
{
	margin-bottom: 10px;
}

/*.gfield_label
{
	display: none;
}*/
.contact-page-form .gform_body
{
	padding: 60px 10px 0;
}
.contact-page-form .gform_footer
{
	padding:  0 10px 60px;
}
.internal-form .gform_body
{
	padding: 20px 10px 0;
}
.internal-form .gform_footer
{
	padding:  0 10px 30px;
}

@media (min-width:530px)
{
	.contact-page-form .gform_body
	{
		padding: 0 60px 0;
	}
	.contact-page-form .gform_footer
	{
		padding:  0 60px 60px;
	}
}


.gform_fields input,
.gform_fields textarea,
.gform_fields select
{
	background-color: #ffffff;
	text-align: center;
	color: #222;
	width: 100%;
	border: none;
	padding: 15px;
	max-width: 100%;
}

.gform_fields input:focus,
.gform_fields textarea:focus
{
	outline-color:lightblue;
}

.gfield_description.validation_message
{
	background-color: #c30000;
	color: #ffffff;
	font-style: italic;
	text-align: center;
	font-size: 16px;
}

.gform_confirmation_message
{
	background-color: #4CAF50;
	color: #ffffff;
	text-align: center;
	padding: 20px 20px 35px;
	font-size: 23px;
}

.validation_error
{
	background-color: #2bbfd9;
	color: #ffffff;
	text-align: center;
	padding: 10px 60px;
	font-size: 17px;
	margin-bottom: 20px;
}

.gfield_error
{
	border-width: 2px 2px 0 2px;
	border-style: solid;
	border-color: #c30000;
	border-radius: 3px;
	overflow: hidden;
}

.gform_heading h3
{
	color: #2bbfd9;
	font-size: 32px;
	text-align: center;
}

.gform_button
{
	border: 0;
	background-color: #2bbfd9;
	color: white;
	margin: 0;
	width: 100%;
}

.gform_fields label
{
	display: block;
	text-align: center;
}

.gfield_required
{
	color: #b51e1e;
	display: inline-block;
	margin-left: 5px;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.entry-footer
{
	position: fixed;
	bottom: 10px;
	right:10px;
	z-index: 200;
	
}
.entry-footer a
{
	display:block;
	padding: 10px 20px;
	font-family:sans-serif;
	background-color: rgba(0, 0, 0, 0.3);
	border-radius:5px;
}

.entry-footer a,
.entry-footer a:visited,
.entry-footer a:hover
{
	text-decoration: none;
	color: white;
}

.entry-footer a:hover
{
	background-color: white;
	color: black;
}


.site-footer
{
	padding: 60px 0;
	background-color: #f1e7e4;
	font-size: 13px;
}
.site-footer .site-by,
.site-footer .site-by a
{
	color: #a6a6a6;
}
.site-footer nav
{
	text-align: center;
}

#footer-menu,
#footer-menu li
{
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
}

@media(min-width:992px)
{
	#footer-menu,
	#footer-menu li
	{
		display: inline-block;
	}
}

#footer-menu
{
	border-bottom: 1px solid #d5ccca;
	padding: 15px;
	margin: 75px 0 15px;
}

#footer-menu li a
{
	color: #636363;
	font-weight: bold;
	display: block;
	margin: 15px 0;
	font-size: 18px;
}

@media(min-width:992px)
{
	#footer-menu li a
	{
		margin: 0 15px;
		font-size: 13px;
	}
}

#footer-menu .nav-phone
{
	display: none;
}

.nowrap
{
	white-space: nowrap;
	display: inline-block;
}


/*--------------------------------------------------------------
## Phone Modal
--------------------------------------------------------------*/
.modal-phone-now
{
	position: fixed;
	width: 100%;
	height: 100%;
	top:-100%;
	left:-100%;
	z-index: 9000;
	background-color: rgba(164, 163, 158, 0);
	
	-webkit-transition: top 0.3s ease-in-out 0.3s, background-color 0.3s ease-in-out 0s, left 0s ease-in-out 0.6s;
	-moz-transition: top 0.3s ease-in-out 0.3s, background-color 0.3s ease-in-out 0s, left 0s ease-in-out 0.6s;
	-ms-transition: top 0.3s ease-in-out 0.3s, background-color 0.3s ease-in-out 0s, left 0s ease-in-out 0.6s;
	transition: top 0.3s ease-in-out 0.3s, background-color 0.3s ease-in-out 0s, left 0s ease-in-out 0.6s;
	
	
}
.modal-phone-now.open
{
	left:0;
	top:0;
	background-color: rgba(0, 0, 0, 0.5);
	-webkit-transition: top 0.3s ease-in-out 0s, background-color 0.3s ease-in-out 0.3s;
	-moz-transition: top 0.3s ease-in-out 0s, background-color 0.3s ease-in-out 0.3s;
	-ms-transition: top 0.3s ease-in-out 0s, background-color 0.3s ease-in-out 0.3s;
	transition: top 0.3s ease-in-out 0s, background-color 0.3s ease-in-out 0.3s;
}




.modal-phone-now:after
{
	content: "\f00d";
	font-family: FontAwesome;
	display: block;
	position: absolute;
	top:10px;
	right: 15px;
	z-index: 9000;
	color: white;
	text-align: center;
	font-size: 40px;
	border-radius: 50%;
	background-color: #2bbdd7;
	height: 50px;
	width: 50px;
	line-height: 50px;
	text-align: center;
	font-size: 23px;
	padding: 0;
	margin-top: 5px;
	text-shadow: 5px 5px 2px rgba(0,0,0,0.15);
	box-shadow: 5px 5px 2px rgba(0,0,0,0.15);
	cursor: pointer;
}

.modal-phone-now .content
{
	color: white;
	font-size: 22px;
	text-align: center;
	width:100%;
	margin: 0;
	position: relative;
	padding: 20px;
	background-color: #2bbdd7;
	border-radius:2px
}

.modal-phone-now .content a,
.modal-phone-now .content a:visited
{
	color: white;
}

@media (min-width:830px)
{
	.modal-phone-now .content
	{
		width:800px;
		margin: 60px auto;
	}
}





/*--------------------------------------------------------------
## Child List
--------------------------------------------------------------*/

.child-list,
.child-list li
{
	margin: 0;
	padding: 0;
	list-style: none;
}

.child-list li
{
	padding: 15px;
	text-align: center;
}

@media (min-width:768px)
{
	.child-list li
	{
		float: left;
		width: 25%;
	}
	.child-list.columns5 li
	{
		width:20%;
	}
	.child-list.columns3 li
	{
		width: 33.333333%;
	}
	.child-list.columns2 li
	{
		width: 50%;
	}
	.child-list.columns1 li
	{
		width: 100%;
	}

	
}



.child-list .image
{
	height:185px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.child-list .image.portrait
{
	height:320px;
	background-position: top center;
}



.child-list .text
{
	font-size: 12px;
	padding: 20px;

	background-color: #f1efe9;
}

.child-list.inner-page.columns3 .text
{
	font-size: 16px;
	min-height: 190px;
	text-align: center;
}

.child-list.columns5 li:nth-of-type(5n+1)
{
	clear: both;
}
.child-list.columns4 li:nth-of-type(4n+1)
{
	clear: both;
}

.child-list.columns3 li:nth-of-type(3n+1)
{
	clear: both;
}
.child-list.columns2 li:nth-of-type(2n+1)
{
	clear: both;
}



.child-list .date
{
	font-size: 16px;
	color: #939393;
	margin: 0.5em 0;
}

.child-list h4
{
	/*font-size: 1.8em;*/
}

/*.child-list.columns4 .text
{
	background-color: #f1efe9;
	padding: 20px;
	min-height: 210px;
}
.child-list.columns4 h4
{
	font-size: 2.2em;
	color: #1a224f;
	text-transform: uppercase;
	font-weight: bold;
}*/

.cta-container .button
{
	width: 100%;
	margin: 0;
}



.standard-page .page-header
{
	background-color:#006c84;
	top:0;
	left:0;
	width:100vw;
	position:absolute;
	margin: 0;

	text-align: center;
	
	padding-top: 100px !important;
	padding-bottom: 60px !important;
	background: #2bbfd9 url(/wp-content/uploads/2017/01/Reid_Family_Lawyers-bkd-1.jpg?id=55) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}


.standard-page .page-content
{
	margin-top: 400px;
}

/*--------------------------------------------------------------
## Link Box
--------------------------------------------------------------*/



.link_box
{
	text-align: center;
	padding: 20px;
}


.link_box a
{
	text-decoration: none;
	display: block;
}

.link_box:hover a
{
	
	
}

.link_box h4
{
	border-top: 1px solid #ccc;
	margin-top: 10px;
	padding-top: 10px;
	font-weight: normal;
	font-size: 18px;
}

.link_box h4:after
{
	content: "\f061";
	font-family: FontAwesome;
	color: #2bbfd9;
	opacity: 0;

	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	margin-left: 0;
}

.link_box a:hover h4:after
{
	opacity: 1;
	margin-left: 10px;
}

.link_box .image
{
	height: 100px;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}


/*----------------------------------------------------*/
/* Free Consult Bar */
/*----------------------------------------------------*/

.free-consult
{
	text-align: center;
	padding: 5px 70px 5px 10px;
	color: white;
	background-color: #62cfe2;
	height: 60px;
	font-weight: 800;
	font-size: 14px;
}

.free-consult a
{
	text-align: center;
	padding: 3px 10px;
	color: #52534b;
	background-color: white;
	display: inline-block;
	text-decoration: none;
	font-size: 12px;
	margin-left:20px;
}

.free-consult span.text
{
	display: block;
	white-space:nowrap;
	text-overflow: ellipsis;
	overflow:hidden
}

.free-consult span.extra
{
	display: none;
}


@media (min-width:640px)
{
	.free-consult
	{
		padding: 15px;
	}

	.free-consult a
	{
		padding: 5px 10px;

	}

	.free-consult span.text
	{
		padding-top:3px
	}

	.free-consult span.text,
	.free-consult span.extra
	{
		display: inline-block;
		vertical-align: top;
	}
}

@media (min-width:992px)
{
	.free-consult
	{
		font-size: 22px;
		height: 70px;
		background-color: #2bbfd9;
	}

	.free-consult a
	{
		font-size: 18px;
	}
	
	.free-consult span.text
	{
		padding-top:1px;
	}

	.free-consult span.text,
	.free-consult span.extra
	{
		display: inline-block;
		vertical-align: top;
	}
}


.gform_validation_container {
	display: none;
}