/*!
Theme Name: Law Plain and Simple
Theme URI: http://underscores.me/
Author: Code and Create
Author URI: https://codeandcreate.co.uk
Description: Law Plain and Simple base theme
Version: 1.0.0
Tested up to: 7.0
Requires PHP: 7.0
License URI: LICENSE
Text Domain: lpas
Tags: custom-logo, custom-menu, featured-images, gutenberg

Law Plain and Simple is based on Underscores https://underscores.me/, (C) 2012-2020 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 https://necolas.github.io/normalize.css/
*/


/* cutive-regular - latin */
@font-face {
  font-family: 'Cutive';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/cutive-v12-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/cutive-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/cutive-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/cutive-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/cutive-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/cutive-v12-latin-regular.svg#Cutive') format('svg'); /* Legacy iOS */
       font-display: swap;
}

@font-face {
  font-family: "American Typewriter";
  src: url('fonts/amrtypen-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
#  Accessibility
#  Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

:root{
    --lpas-width: 75vw;
    --lpas-m-width: 1200px;
}

@media (max-width:900px){
    :root{
        --lpas-width: 95vw;
    }
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h6 {
	clear: both;
}
h1, h2, h3, h4, h5{
	font-family: 'Cutive', serif;
	clear: both;
}

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;
	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;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.d-block{
    display:block;
}
.d-inline{
    display:inline;
}
.d-inline-block{
    display:inline;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #0092bb;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.layout{
    width: var(--lpas-width);
    max-width: var(--lpas-m-width);
    margin:0 auto;
}

@media (min-width:900px){
    .layout-left{
        width:22.5%;
        display:inline-block;
        vertical-align:top;
    }
    
    .layout-left + .layout-right{
        margin-left:auto;
        width:76.7%;
        display:inline-block;
    }
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 900px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.nav-links {
	flex-wrap:wrap;
}

.nav-links > .nav-next,
.nav-links > .nav-previous {
	margin:10px;
}

@media ( max-width:900px ){
	.nav-links {
		flex-direction:column;
		justify-content:center;
	}
	.nav-links > .nav-next,
	.nav-links > .nav-previous {
		margin:10px;
		text-align:center;
	}
}

.nav-links a{
	white-space: nowrap;
}

/* .comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
} */

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

/* .post,
.page {
	margin: 0 0 1.5em;
} */

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em auto 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* 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 logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* 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;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


#masthead{
	display: grid;
	width: 900px;
	max-width: 100vw;
	margin: auto;
	background: linear-gradient(white 60%, #e6e6e6);
	font-family: 'Cutive', serif;
	grid-template-columns: 1fr 3fr;
	grid-gap: 20px;
	border-radius: 25px;
	align-items: center;
	padding: 0 20px;
	-webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.48); 
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.48);
}

.page-header, .type-page .entry-header{
	padding: 30px 0 60px;
}

@media (max-width:900px){
    .custom-logo{
    	margin: 10px 0
    }
}

.nav-menu{
	width: 90%;
	display: flex;
	justify-content: space-between;
	height: 100%;
}

.nav-menu a{
	padding: 16px 12px;
	color: #444;
	font-size: 13px;
}

.nav-menu a:hover{
	background: #cccc;
	color: black;
}

.topbackground{
	background: url(/wp-content/themes/lpas/img/header.jpg) center bottom repeat-x #47b7d5;
	min-height: 40vh;	
	display: block;
	text-align: center;
}

@media (min-width:900px){
    .topbackground{
	    height:459px;
    }
}

.solicitors{
	text-align: right !important;
	width: 900px;
	margin:auto;
	padding: 10px 0;
}

.solicitors a{
	color: white;
	font-family: 'Cutive', serif;
	font-size: 12px;
}

.page-title{
	margin-top: 70px;
}

.entry-content .alignwide {
	margin-left  : 20%;
	margin-right : 20%;
}
.entry-content .alignfull {
	margin-left  : calc( -100vw / 2 + 100% / 2 );
	margin-right : calc( -100vw / 2 + 100% / 2 );
	max-width    : 100vw;
}
.alignfull img {
	width: 100vw;
}

#colophon{
	background: #242930;
	color:#bcbcbc;
}
#colophon a {
    color:#bcbcbc;
}
#colophon .site-info{
	width: var(--lpas-width);
	max-width: var(--lpas-m-width);
	margin:0 auto;
}
@media (min-width:900px){
    #colophon .site-info {
        padding:1.5rem 0;
    	display:flex;
    	justify-content:space-between;
    }
}

#colophon .site-info .menu-footer-container ul.menu{
	list-style:none;
	padding:0;
	margin:0;
	display:flex;
}

#colophon .site-info .menu-footer-container ul li{
    position:relative;
}

#colophon .site-info .menu-footer-container ul li a{
    padding:0 1rem 0 1rem;
	text-decoration:none;
}

@media (min-width:900px){
    #colophon .site-info .menu-footer-container ul li:first-child a{
        padding:0 1rem 0 0;
    }
    
    #colophon .site-info .menu-footer-container ul li:not(:first-child):before{
        content:"";
        width:4px;
        height:4px;
        background:white;
        border-radius:50%;
        position:absolute;
        left:0;
        top: calc(50% - 2px);
    }
}

.footer-flex{
    display:flex;
    width: var(--lpas-width);
	max-width: var(--lpas-m-width);
	margin:0 auto;
	padding:0;
	border-bottom: 1px solid #52565c;
	border-top: 1px solid #52565c;
	align-items: center;
}

.footer-flex h2,
.footer-flex{
	font-family: 'American Typewriter', Georgia, serif;
}

@media (max-width:900px){
    .footer-flex{
        flex-direction:column;
    }
}

.widget-area{
	display: flex;
	color: #bcbcbc;
	border-right: 1px solid #52565c;
}

@media (max-width:900px){
    .widget-area{
    	border-right: none;
    }
}

.widget-area section{
	padding: 0 30px;
}

.homeheader{
	display: flex;
	width: 900px;
	max-width: 100vw;
	margin:0 auto;
	padding: 30px 0;
	text-align: left;
	padding-bottom: 70px;
}

.homeheader h1{
	font-size:2.6rem;
}

.homeheader h2{
	font-size: 1rem;
}

@media (max-width:900px){
    .homeheader{
        text-align:center;
    }
    .homeheader h1{
        padding-top:1rem;
	    font-size:1.6rem;
	    font-weight:normal;
    }
    .homeheader h2{
        font-weight:normal;
    }

}

.formholder{
	display: grid;
	grid-gap: 10px;
	grid-template-columns: 1fr 1fr;
}


.wpcf7-form{
	margin: 40px auto;
	background: #f3fcff;
    overflow: hidden;
	border-radius: 6px;
    border: 1px solid #e4e4e4;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.1);
    
}

.wpcf7-form label select{
    display:block;
    margin: 2px 0 20px 0;
    width:100%;
}

.wpcf7-form label input {
    display:block;
    width:100%;
}

.wpcf7-form-container{
    padding: 20px 20%;
    box-shadow: inset 0 10px 10px -5px rgb(0 0 0 / 20%);
}

.wpcf7-form-footer{
    background: #e2f2f8;
    margin: 5px;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wpcf7-form-footer > * {
    align-items: center;
}

.wpcf7 .ajax-loader{
    position:absolute;
}

@media (max-width:1400px){
    .wpcf7-form-container{
        padding: 20px 100px;
    }
}

@media (max-width:1024px){
    .formholder{
    	display: block;
    }
    
    .wpcf7-form-container{
        padding: 20px 10%;
        box-shadow: inset 0 10px 10px -5px rgb(0 0 0 / 20%);
    }
}

.wpcf7-form header > h2{
	text-align: center;
	grid-area: header;
	align-self:center;
	margin:0;
	padding:0;
}

.wpcf7-form header > p{
	text-align: center;
	grid-area: req;
}

.wpcf7-form header .required-message{
    font-weight:bold;
    font-family: "Cutive";
    font-size: 0.75em;
    align-self: center;
    padding:0;
    margin:0;
}

.wpcf7-form header .required-message span{
    color:#289dca;
}

.wpcf7-form header{
    text-align: center;
    width: calc(40px + 100%);
    margin-left: -20px;
    background: white;
    margin-top: 0;
    padding: 20px 10px;
}

@media (min-width:900px){
    .wpcf7-form header{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 0px 0px;
        grid-template-areas: "none header req";
        justify-content: center;
        align-items: flex-end;
    }
}

input.wpcf7-submit{
	background: #7ec4dc;
	border-radius: 28px;
	color: white;
	border: 0;
	padding: 15px 20px;
}

.flexholder{
	display: grid;
	grid-template-columns: 1fr 3fr;
	width: 90%;
	margin: auto;
}


.accordion {
  color: #444;
  cursor: pointer;
  padding: 0 15px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: all 300ms;
	border-radius: 10px;
	border: 1px solid #dfdfdf;
	background: linear-gradient(white 60%, #e6e6e6);
}

.panel.entry-content{
	margin-top: 0px;
	border-radius: 0 0 10px 10px;
	margin-bottom: 20px;
}

.active ~ .panel{
		border: 1px solid grey;
	margin-top: -1px;
}
.entry-header.accordion{
	display: grid;
	grid-template-columns: 1fr 7fr 1fr;
	align-items: center;

}
.accordion h2{
	font-size: 16px;
	padding: 10px;
}

.active{
  background-color: #eee;
	border-radius: 10px 10px 0 0;
}

.panel {
    padding: 0 18px;
  background-color: lightblue;
  background-image: repeating-linear-gradient(#f0fcfc 0px, #f0fcfc 26px, teal 27px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease-out;
  line-height: 27px;
  font-size: 16px;
}

.panel p{
	margin: 27px 0;
}
.accordion:before{
	content: "Q";
	font-size: 30px;
	font-family: 'Cutive', serif;
	/* opacity: 0.3; */

	background-color: #565656;
	color: transparent;
	text-shadow: 2px 2px 3px rgba(255,255,255,0.5);
	-webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;

}
.accordion:after {
  content: '\02795';
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796";
}

/* Side bar categories
 * *********************/
.sidebar{
	padding:0 1rem 0 0;
}

.widget_lpas_category_widget ul,
.sidebar .widget_categories ul{
	list-style:none;
	padding:0;
	margin:0;
}

.widget_lpas_category_widget > ul > li,
.sidebar .widget_categories > ul > li{
	border-bottom:1px solid #bbb;
	padding-bottom:10px;
}

.widget_lpas_category_widget > ul li a,
.sidebar .widget_categories > ul li a {
	text-decoration:none;
	color: black;
}
.widget_lpas_category_widget > ul li{
	position:relative;
}
.widget_lpas_category_widget > ul li button{
	position:absolute;
	top:0;
	right:0;
	display:inline-block;
	border:none;
	background-color:transparent;
	background-repeat:no-repeat;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 444.819 444.819"%3E%3Cpath d="M352.025 196.712L165.884 10.848C159.029 3.615 150.469 0 140.187 0s-18.842 3.619-25.697 10.848L92.792 32.264c-7.044 7.043-10.566 15.604-10.566 25.692 0 9.897 3.521 18.56 10.566 25.981L231.545 222.41 92.786 361.168c-7.042 7.043-10.564 15.604-10.564 25.693 0 9.896 3.521 18.562 10.564 25.98l21.7 21.413c7.043 7.043 15.612 10.564 25.697 10.564 10.089 0 18.656-3.521 25.697-10.564L352.025 248.39c7.046-7.423 10.571-16.084 10.571-25.981.001-10.088-3.525-18.654-10.571-25.697z"/%3E%3C/svg%3E');
	background-size:12px 12px;
	background-position:center;
	width:12px;
	height:12px;
	cursor:pointer;
	padding:.8rem 1rem;
	vertical-align: middle;
	transform:rotate(
		90deg);
	transition: transform 300ms;
}

.widget_lpas_category_widget > ul li{
	transition: all 300ms;
}
.widget_lpas_category_widget > ul li.open{
	background:linear-gradient(to left,transparent, #eee, transparent)
}

.widget_lpas_category_widget > ul li.open button{
		transform:rotate(
		-90deg);
}

.widget_lpas_category_widget .menu_wrap > ul {
	margin-top:.4rem;
}

@media (max-width:900px){
    .sidebar{
        padding:5px 1px 0 1px;
        margin:0 auto;
    }
    
    .widget_lpas_category_widget > ul {
        display:none;
    }
    .widget_lpas_category_widget{
        position:relative;
        cursor:pointer;
    }
    .widget_lpas_category_widget:after{
        pointer-events:none;
        content:"";
        position:absolute;
        right:24px;
        top:27px;
        width:14px;
        height:20px;
        transform: rotate(90deg);
        background-repeat: no-repeat;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 15' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='1.5'%3E%3Cpath d='M1.925 1.932l5.316 5.309-5.424 5.424' fill='none' stroke='%23bcbcbc' stroke-width='3.63'/%3E%3C/svg%3E");
    }
}

#breadcrumbs{
	padding:1rem 0;
	border-bottom:1px solid #ccc;
	box-shadow: 0px 8px 9px -9px #bbb, 3px 6px 15px 5px rgba(0,0,0,0);
	font-size:13px;
}

#breadcrumbs a{
	text-decoration:none;
	color:#4a4a4a;
}

.post-categories{
	display:flex;
	list-style:none;
	margin:0;
	padding:0;
}
.post-categories li {
	margin-right:1rem;
}
.post-categories li a{
	color:#707070;
	text-decoration:none;
}

.legal-guides{
	display:inline-grid;
	grid-gap:1rem;
	grid-template-columns: repeat(3, 1fr);
}
.archive-post .entry-title,
.archive-post .entry-title a{
	line-height:1.5;
	font-size: 1rem;/* 1.125rem; */
	color:black;
	text-decoration:none;
}

.archive-post .entry-content{
    font-size:0.875rem;
}

.category .page-title,
.category .page-header{
	margin:1rem 0;
	padding:0;
}

.single-post .layout .entry-header,
.category .page-header{
	border-bottom:1px solid #ccc;
	box-shadow: 0px 8px 9px -9px #bbb, 3px 6px 15px 5px rgba(0,0,0,0);
}

.topbackground .page-title{
	color:white;
	text-shadow: 0 2px rgba(0,0,0,.2);
	font-size:2.5rem;
	margin-bottom:0;
	margin-top:10vh;
}

@media (max-width:900px){
    .topbackground .page-title{
        margin-top:0;
        padding-top:10vh;
    }
}

.topbackground .page-blog-info{
	color:white;
	text-shadow: 0 2px rgba(0,0,0,.2);
	margin-bottom:150px;
	font-size: 1.25rem;
}

.main-navigation .current_page_item{
	background-color: #e6e6e6;
	background: linear-gradient(#e6e6e6, transparent);
    color: #292f32;
	box-shadow: inset 4px 4px 15px 0px #ccc, 5px 5px 15px 5px rgba(0,0,0,0);
}

#knowledge{
	color:#bcbcbc;
	padding: 30px;
    font-size: 1.75rem;
	margin: 0;
	line-height: 1;
	text-align: center;
}

.contactholder{
	background: linear-gradient(white 60%, #e6e6e6);
	border-radius: 10px;
	box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.48);
	padding: 20px;
}

.page-id-50 .layout-left{
	display: none;
}

.page-id-50 .layout-right{
	width: 100%;
}

/* Social Menu 
 * ****************/
#menu-social{
	padding:0;
	margin:1rem 1rem;
	list-style:none;
	display:flex;
}
#menu-social li a {
	display:block;
	padding:1rem 1rem .7rem 1rem;
	margin:0 .5rem;
	background:#5a5e65;
	border-radius:8px;
}
#menu-social li a svg{
	filter:invert(1);
}

/* Featured Posts Shortcode
 * ************************/
.featured-posts{
	display:flex;
}

@media( max-width:798px ){
	.featured-posts{
		display:block;
	}
}

.featured-posts .featured-post {
	padding:0 .5rem;
}

.featured-posts .featured-post .entry-title{
	color:black;
	font-size:1.2rem;
}

.featured-posts-header:before{
	content:"";
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	box-shadow: 0px -8px 9px -9px #bbb, 3px -6px 15px 5px rgba(0,0,0,0);
	pointer-events:none;
}

.featured-post .entry-header{
	padding:0;
}

.featured-posts-header{
    overflow:hidden;
	position:relative;
	display:flex;
	justify-content:space-between;
	align-content:center;
	margin-bottom:1rem;
}

.featured-posts-header::before,
.featured-posts-header::after{
    background: linear-gradient(to right, transparent, #d1d1d1 20%, #d1d1d1 80% , transparent);
    content:"";
    width:100%;
    height:1px;
    position:absolute;
    left:0;
    border-radius: 100%;
}

.featured-posts-header--bg{
    position:absolute;
    width:100%;
    height:100%;
    pointer-events: none;
}

.featured-posts-header--bg::before,
.featured-posts-header--bg::after {
    content:"";
    position:absolute;
    left:0;
    height: 100%;
    box-shadow: 0 0 10px 6px #cecece;
    height:100%;
    width:100%;
    border-radius:50%;
}

.featured-posts-header--bg::before{
    top: -68px;
}
.featured-posts-header--bg::after{
    bottom: -68px;
}

.featured-posts-header::before{
    top:0;
}

.featured-posts-header::after{
    bottom:0;
}
.featured-posts-header h2{
    margin:14px 0;
}

.featured-posts-header a{
	display:block;
	padding:.25rem 1rem .25rem 1rem;
	border-radius:18px;
	border:1px solid #ccc;
	align-self:center;
	font-size:14px;
	color:#4a4a4a;
	text-decoration:none;
}

.featured-posts-header a:hover{
	background: #dbdbdb;
box-shadow: inset 0 2px 1px rgba(0,0,0,.28);
	cursor:pointer;
}

.featured-posts-header a:after{
	pointer-events:none;
	content:"";
	display:inline-block;
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 444.819 444.819"%3E%3Cpath d="M352.025 196.712L165.884 10.848C159.029 3.615 150.469 0 140.187 0s-18.842 3.619-25.697 10.848L92.792 32.264c-7.044 7.043-10.566 15.604-10.566 25.692 0 9.897 3.521 18.56 10.566 25.981L231.545 222.41 92.786 361.168c-7.042 7.043-10.564 15.604-10.564 25.693 0 9.896 3.521 18.562 10.564 25.98l21.7 21.413c7.043 7.043 15.612 10.564 25.697 10.564 10.089 0 18.656-3.521 25.697-10.564L352.025 248.39c7.046-7.423 10.571-16.084 10.571-25.981.001-10.088-3.525-18.654-10.571-25.697z"/%3E%3C/svg%3E');
	background-repeat:no-repeat;
	width:10px;
	height:12px;
	position:relative;
	top:2px;
	left:5px;
}
@media only screen and (max-width: 900px) {
	.homeheader{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}
/* @media only screen and (max-width: 600px) { */
@media only screen and (max-width: 900px) {
    .topbackground{
        overflow:hidden;
    }
    
	.solicitors{
		display: none;
	}
	
	#masthead{
		border-radius: 0;
		z-index: 10;
		position: relative;
		top: 0;
		left: 0;
		width:100%;
	}
	
	.main-navigation{
		width: auto;
		justify-self: end;
	
	}

	.main-navigation{
		display: flex;
	}
	.menu-toggle{
		background: none;
		border: none;
		display: flex;
		flex-direction: column;
    	align-items: center;
    	justify-content: center;
    	padding: 0;
    	margin: 0;
	}

	.bar{
		height: 4px;
		width: 20px;
		display: block;
		margin-top: 3px;
        box-shadow: inset -1px 3px 4px 0px rgb(0 0 0 / 70%);
		border-radius: 20px;
		border-radius: 25%;
	}
	
	img.custom-logo{
	max-width: 50vw !important;
}

}

@media ( max-width: 900px ){
    .main-navigation.toggled .menu.nav-menu{
        pointer-events:all;
    }

    .main-navigation .menu.nav-menu {
        width: 100%;
		left:0;
		background: white;
		height: auto;
        bottom: 0;
        text-align:left;
        transition: all 600ms;
        position: absolute;
        box-shadow: 0 3px 3px rgba(0,0,0,.2);
        display:block;
        z-index:1;
        pointer-events:none;
    }
    
   .main-navigation .menu.nav-menu > li{
        border-bottom: 1px solid #d0d0d0;
    }
    
    .main-navigation .menu.nav-menu > li a{
        padding: 5px 20px;
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .main-navigation .menu.nav-menu > li a:hover{
        background-color: #e6e6e6;
    }

    #masthead{
        display:flex !important;
        justify-content: center;
    }

    #masthead:before{
        content:"";
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
        background: linear-gradient(white 60%, #e6e6e6);
        pointer-events: none;
        z-index:2;
    }
    .site-branding{
        position:relative;
        z-index:9;
    }
    .menu-toggle{
        position:absolute;
        z-index:9;
        top: calc(50% - 13px);
        right: 1rem;
    }
}


/* Icon */
.icon_name {
 display:block;
 padding:4px 0 2px 21px;
 margin:0 0 5px;
 background-position:-11px -10px;
 background-repeat:no-repeat;
 color:#707070;
 font-size:.75em;
 font-weight:700;
 font-family:Helvetica,Arial,sans-serif!important
}
.related_articles .icon_name {
 font-size:.8em
}
.icon_badge {
 display:inline-block;
 padding:2px 12px 2px 30px;
 background-position:-4px -47px;
 background-repeat:no-repeat;
 font-weight:700;
 color:#fff
}
.icon_grey {
 display:inline-block;
 padding:4px 10px 4px 30px;
 margin:0 5px 9px 0;
 background-color:#898989;
 background-position:-2px -49px;
 background-repeat:no-repeat;
 border-radius:20px;
 font-size:.8125em;
 font-weight:700;
 color:#fff
}
.icon_generic {
    background-image: url(./img/icons/generic.png)
}

.icon_bankruptcy {
    background-image: url(./img/icons/bankruptcy.png)
}

.icon_business_law {
    background-image: url(./img/icons/business_law.png)
}

.icon_contract_law {
    background-image: url(./img/icons/contract_law.png)
}

.icon_commercial_law {
    background-image: url(./img/icons/commercial_law.png)
}

.icon_employment_law {
    background-image: url(./img/icons/employment_law.png)
}

.icon_family_law {
    background-image: url(./img/icons/family_law.png)
}

.icon_divorce {
    background-image: url(./img/icons/divorce.png)
}

.icon_separation {
    background-image: url(./img/icons/separation.png)
}

.icon_childcare {
    background-image: url(./img/icons/childcare.png)
}

.icon_common_law {
    background-image: url(./img/icons/common_law.png)
}

.icon_health_medical_law {
    background-image: url(./img/icons/health_medical_law.png)
}

.icon_immigration {
    background-image: url(./img/icons/immigration.png)
}

.icon_insolvency {
    background-image: url(./img/icons/insolvency.png)
}

.icon_intellectual_property {
    background-image: url(./img/icons/intellectual_property.png)
}

.icon_intellectual_property_law {
    background-image: url(./img/icons/intellectual_property_law.png)
}

.icon_copyright_law {
    background-image: url(./img/icons/copyright_law.png)
}

.icon_trademarks {
    background-image: url(./img/icons/trademarks.png)
}

.icon_patents {
    background-image: url(./img/icons/patents.png)
}

.icon_litigation {
    background-image: url(./img/icons/litigation.png)
}

.icon_mediation {
    background-image: url(./img/icons/mediation.png)
}

.icon_arbitration {
    background-image: url(./img/icons/arbitration.png)
}

.icon_adr {
    background-image: url(./img/icons/adr.png)
}

.icon_personal_injury {
    background-image: url(./img/icons/personal_injury.png)
}

.icon_property_law {
    background-image: url(./img/icons/property_law.png)
}

.icon_conveyancing {
    background-image: url(./img/icons/conveyancing.png)
}

.icon_commercial_property {
    background-image: url(./img/icons/commercial_property.png)
}

.icon_residential_property_law {
    background-image: url(./img/icons/residential_property_law.png)
}

.icon_landlord_law {
    background-image: url(./img/icons/landlord_law.png)
}

.icon_construction_law {
    background-image: url(./img/icons/construction_law.png)
}

.icon_property_litigation {
    background-image: url(./img/icons/property_litigation.png)
}

.icon_property_finance {
    background-image: url(./img/icons/property_finance.png)
}

.icon_tax_law {
    background-image: url(./img/icons/tax_law.png)
}

.icon_wills_trusts {
    background-image: url(./img/icons/wills_and_trusts.png)
}

.icon_trusts {
    background-image: url(./img/icons/trusts.png)
}

.icon_property_in_trust {
    background-image: url(./img/icons/property_in_trust.png)
}

.icon_probate {
    background-image: url(./img/icons/probate.png)
}

.icon_agricultural_law {
    background-image: url(./img/icons/agricultural_law.png)
}

.icon_charity_law {
    background-image: url(./img/icons/charity_law.png)
}

.icon_clinical_negligence {
    background-image: url(./img/icons/clinical_negligence.png)
}

.icon_criminal_law {
    background-image: url(./img/icons/criminal_law.png)
}

.icon_dissolution {
    background-image: url(./img/icons/dissolution.png)
}

.icon_family_mediation {
    background-image: url(./img/icons/family_mediation.png)
}

.icon_franchising {
    background-image: url(./img/icons/franchising.png)
}

.icon_general_law {
    background-image: url(./img/icons/general_law.png)
}

.icon_lasting_power_of_attorney {
    background-image: url(./img/icons/lasting_power_of_attorney.png)
}

.icon_licensing_law {
    background-image: url(./img/icons/licensing_law.png)
}

.icon_media_law {
    background-image: url(./img/icons/media_law.png)
}

.icon_public_notary {
    background-image: url(./img/icons/public_notary.png)
}

.icon_sports_law {
    background-image: url(./img/icons/sports_law.png)
}

.icon_road_traffic_and_motoring {
    background-image: url(./img/icons/road_traffic_and_motoring.png)
}

.icon_wills {
    background-image: url(./img/icons/wills.png)
}

@media (max-width:900px){
    .featured-posts-header{
        margin-top:1rem;
        padding: 0 3%;
    }
    .featured-posts-header h2{
        font-size:1.1rem;
    }
}

.search-form .search-submit,
.archive-read-more{
	position:relative;
	display: inline-block;
	background: #7ec4dc;
	border-width: 0;
	border-radius: 20px;
	font-size: 1em;
	line-height: 1.6;
	color: #fff;
	text-decoration: none;
	padding: 4px 20px 4px 12px;
	cursor:pointer;
}

.archive-read-more:hover{
	background-color: #0299be;
	box-shadow: 0 2px 3px rgba(0,0,0,.15);
	color:white;
	text-decoration:none;
}

.archive-read-more:visited{
	color:white;
}

.archive-read-more:after{
	content:"";
	position:absolute;
}

.archive-legal-guides .archive-post{
	margin: 0 0 12px;
	padding-bottom: 30px;
	border-bottom: 1px solid #ccc;
	box-shadow: 0px 8px 9px -9px #bbb, 3px 6px 15px 5px rgba(0,0,0,0);
}
.archive-legal-guides > a,
.legal-guides > a {
    text-decoration:none;
    color:inherit;
}

h2.entry-title > a{
	text-decoration:none;
	color:black;
}


@media (min-width:900px){
	.page > .featured-post--wrapper .featured-post{
		display:flex;
	}
}

.page > .featured-post--wrapper .featured-post > div ~ div{
	flex-basis:50%;
	margin:0 12px;
}

.page > .featured-post--wrapper .featured-post h1{
	font-size:1rem;
	margin:0;
}

.page > .featured-post--wrapper .featured-post .entry-content
{
	margin:0;
}
.page > .featured-post--wrapper .featured-post .entry-content p{
	margin-top:0;
}

body.single-post article .post-thumbnail,
.post-thumbnail{ 
	position: relative;
	padding: 5px;
	background: #fff;
	border-width: 1px;
	border-style: solid;
	border-color: #e6e6e6 #d4d4d4 #b8b8b8;
	border-radius: 1px;
	box-shadow: 0 3px 5px rgba(0,0,0,.2);
		display:flex;
	justify-content:center;
	align-items:center;
	margin-bottom:1rem;
}

body.single-post article .post-thumbnail:after,
.post-thumbnail:after{ 
	content:"";
	position: absolute;
	bottom:-8px;
	left:2%;
	height:1px;
	width:96%;
	display: block;
	padding: 5px;
	background: #fff;
	border-width: 1px;
	border-style: solid;
	border-color: #e6e6e6 #d4d4d4 #b8b8b8;
	border-radius: 1px;
	box-shadow: 0 3px 5px rgba(0,0,0,.2);
	z-index:-1;
}

@media (min-width:900px){
	body.single-post article .post-thumbnail{
		max-width:50%;
		margin:0 0 1rem 1rem;
		float:right;
	}
}

body.single-post article:after{
	content: "";
	display:table;
	clear:both;
}

body.single-post article .entry-content h1,
body.single-post article .entry-content h2,
body.single-post article .entry-content h3,
body.single-post article .entry-content h4,
body.single-post article .entry-content h5{
	clear:none;
}

.featured-posts .post-thumbnail img{
	object-fit:cover;
	width:100%;
	height:150px;
}
.featured-posts > article{
	width:100%;
}

.archive-legal-guides .archive-post{
	display:flex;
	align-items:flex-start;
}

.archive-legal-guides .post-thumbnail{
	flex-basis:40%;
	margin-right:1rem;
}

.archive-legal-guides .post-thumbnail + div{
	flex-basis:75%;
}

.archive-legal-guides h2.entry-title{
	margin:0;
}

.archive-legal-guides h2.entry-title a{
	font-size:1.1rem;
}

.archive-legal-guides .entry-content,
.archive-legal-guides .entry-content p{
	margin-top:0;
	line-height:1.3;
}

.archive .page-header{
	padding: 5px 0 30px 0;
}
.archive .archive-title{
	color:black;
	padding-bottom:10px;
	margin:0;
	box-shadow: 0px 8px 9px -9px #bbb, 3px 6px 15px 5px rgba(0,0,0,0);
	border-bottom: 1px solid #ccc;
}

.sidebar h2.widget-title{
	font-size:1.1rem;
	color:black;
	box-shadow: 0px 8px 9px -9px #bbb, 3px 6px 15px 5px rgba(0,0,0,0);
	border-bottom: 1px solid #ccc;
	padding-bottom:10px;
}
.sidebar{
	padding-top:5px;
}

.featured-post--wrapper > article{
    padding:4px;
}
.featured-post--wrapper > article .entry-content,
.featured-post--wrapper > article .entry-title
{
    padding:0 2px;
}

#primary > div > .featured-post--wrapper .featured-post{
	display:flex;
}
.featured-post--wrapper,
.featured-post--wrapper:hover,
.featured-post--wrapper:visited{
    z-index: 0;
    text-decoration:none;
    color:inherit;
    border-radius:4px;
}
.featured-post--wrapper:hover{
    background: #f2f2f2;
    box-shadow: inset 0 8px 8px -4px rgba(0,0,0,.2);
}
.featured-post .entry-content,
.featured-post .entry-title{
	margin:0;
}
.featured-post .entry-content p{
	margin-top:0;
}
.featured-post .post-thumbnail{
	flex-basis:60%;
	margin:0 .25rem 2rem 0;
	align-self:start;
}
@media( min-width: 900px){
	.featured-post .post-thumbnail{
		margin:0 1rem 2rem 0;
	}
}
.featured-post .post-thumbnail img{
	  object-fit: contain;
		width: 100%;
    height: 100%;
}

.featured-post .post-thumbnail + div{
	padding:0 0 1rem 0;
	flex-basis:40%;
}

@media (max-width:798px){
    .featured-post--wrapper .featured-post{
        flex-direction:column;
        justify-content:center;
        padding-left:10px;
        padding-right:10px;
    }
    .featured-post .post-thumbnail{
        flex:1 1 auto;
        margin-right:0;
        width:100%;
    }
}

#help {
    position:relative;
    z-index:11;
    display:block;
    background:#006d8c;
    border:1px solid #00506c;
    border-width:0 0 1px;
    color:#fff;
    box-shadow:0 3px 10px rgba(0,0,0,.5)
}
#help h2 {
    display:block;
    padding:10px 40px 10px 10px;
    border-bottom:1px solid #358aa2;
    font-size:1.5625em;
    color:#fff
}
#help p {
    font-family:"American Typewriter", Georgia, serif;
    padding:10px;
    color:#fff
}
#help a {
    color:#fff
}
#help .close {
    position:absolute;
    top:10px;
    right:5px;
    display:block;
    width:25px;
    height:0;
    overflow:hidden;
    padding:25px 0 0;
    background:url(/wp-content/themes/lpas/img/help_close.png) 0 1px no-repeat;
    cursor:pointer
}
#help .close:hover {
    background-position:0 -29px
}

#help h2{ margin-top:0;}

#info-toggle{
	background:none;
	border:none;
	color:white;
	font-weight:bold;
	font-size:0.9rem;
	padding:0;
	text-shadow: 0 1px 1px rgba(0,0,0,.5);
	cursor: pointer;
}

@media (max-width:768px){
	.site-info ul.menu {
		width:100%;
		display:flex;
		flex-direction:column;
	}
	.site-info ul.menu li {
		border-bottom: 1px solid #52565c;
	}
	.site-info ul.menu li a{
		position:relative;
	}
	.site-info ul.menu li a:after{
		content:"";
		position:absolute;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 15' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='1.5'%3E%3Cpath d='M1.925 1.932l5.316 5.309-5.424 5.424' fill='none' stroke='%23bcbcbc' stroke-width='3.63'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		width:29px;
		height:50%;
		right:0;
	}

	#colophon .site-info .menu-footer-container ul li a {
		padding: 10px 20px;
		display:block;
		font-size: 0.95rem;
	}
	.site-info small{
		padding: 10px 20px;
		display: block;
	}
}

footer#colophon{
	margin-top:60px;
	padding-top: 30px;
}

.page-content, .entry-content, .entry-summary, .entry-title{
	margin: 6px auto;
}

p{
	margin-top: 0;
}
.nav-links{
	margin-top: 20px;
}

.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous{
	flex: 1;
}
.nav-next a, .nav-previous a{
	font-size: 12px;
	background: #7ec4dc;
	padding: 10px;
    border-radius: 20px;
	color: white;

	text-decoration: none;
}

/* .legal-guides article:nth-child(1) .post-thumbnail,
.legal-guides article:nth-child(2) .post-thumbnail,
.legal-guides article:nth-child(3) .post-thumbnail{
	display: block;
} */

@media (max-width: 900px){
    .legal-guides article .post-thumbnail{
    	display: none;
    }
    .legal-guides{
        display:flex;
        flex-direction:column;
    }
    
    .legal-guides .archive-post .archive-read-more{
        display:none;
    }
    
    .legal-guides .archive-post{
        position:relative;
        padding-left:10px;
        padding-right: 50px;
        border-bottom:1px solid #cecece;
    }
    
    .legal-guides .archive-post:after{
        content:"";
        width: 34px;
        height: 21px;
        position:absolute;
        top: calc( 50% - 10px );
        right:10px;
        background: url("/wp-content/themes/lpas/img/read_more.png") 20px center no-repeat;
    }
    
}

.legallinks a{
	color: inherit;
	text-decoration: none;
		line-height: 30px;
}

.legallinks a:nth-child(2){
	padding: 5px 0;
	border-top: 1px solid grey;
	border-bottom: 1px solid grey;
}

article .entry-content a{
	background: #7ec4dc;
	padding: 0 10px 2px 10px;
	color: white;
	text-decoration: none;
	border-radius: 25px;
	white-space:pre;
}


.article_meta{
	display:flex;
	flex-direction:column;
	vertical-align: middle;
    border-top: 1px solid #ccc;
    padding: 15px 0 0;
	margin-top:15px;
}

.article_meta .print_article {
	align-self:flex-end;
}

.feedback {
    display: block;
    margin: 1em 0 0;
    padding: 0 0 0 50px;
    background: url(/wp-content/themes/lpas/img/feedback.png) no-repeat;
}

.print_article {
	display:none;
    margin: 0 15px 0 0;
    padding: 0 0 0 20px;
    background: url(/wp-content/themes/lpas/img/print.png) 0 center no-repeat;
    color: #4a4a4a;
    text-decoration: none;
}

@media( min-width:900px ){
	.print_article{
		display:block;
	}
}


.the-date,
.the-modified-date{
	font-size:14px;
	font-style: italic;
}

/* Pagination */

.pagination-links{
	margin-top:106px;
	display:flex;
	justify-content: center;
}

.pagination-links .page-numbers {
	padding:6px 20px 8px 20px;
	background: #7ec4dc;
	color:white;
	transition: background 300ms;
}

.pagination-links a.page-numbers:hover{
	background: #0299be;
}

.pagination-links .page-numbers:first-child{
	border-top-left-radius:20px;
	border-bottom-left-radius:20px;
}

.pagination-links .page-numbers:last-child{
	border-top-right-radius:20px;
	border-bottom-right-radius:20px;
}

.pagination-links .page-numbers.current{
	background:  #0299be;
}

.pagination-links__mobile{
	display:none;
}

@media (max-width:900px){
	.pagination-links{
		display:none;
	}
	
	.pagination-links__mobile{
		display:flex;
	}
}

#solicitorapp{
    display: grid;
    grid-template-columns: 1fr 2fr;
    color: #444;
}
.solicitor-item h2{
    border-bottom: #444 solid;
    width: 100%;
    margin: 0;
}
.areas-of-law{
    padding: 20px;
    background: #f6f6f6;
    border-top: 1px solid #a9aeb1;
    box-shadow: inset 0 4px 4px -2px rgba(0,0,0,.2);
    border-radius: 0 0 5px 5px;
}
.areas-of-law p{
    margin-top: 0;
    margin-bottom: 0;
}
#solicitorapp h3{
    margin: 0;
}
.icon-grey, .icon-gold{
    display: inline-block;
    padding: 4px 10px 4px 10px;
    margin: 0 5px 9px 0;
    background-color: #898989;
    border-radius: 20px;
    font-size: .8125em;
    font-weight: 700;
    color: #fff;
}

.icon-gold{
    background-color: #345678;
    color: #fff;
	cursor: pointer;
}

/* Law Areas Widget */
#solicitorapp .law-areas h2{
	border-bottom: 1px solid #ccc;
	box-shadow: 0px 8px 9px -9px #bbb, 3px 6px 15px 5px rgb(0 0 0 / 0%);
}

#solicitorapp .law-areas ul li input{
	position:absolute;
	left:-99999;
}


#solicitorapp .law-areas ul li label{
	position:relative;
	width:100%;
	cursor:pointer;
}
#solicitorapp .law-areas ul li label:after{
	content:"";
	position:absolute;
	right:0;
	top:0;
	width:18px;
	height:18px;
	border:1px solid #ccc;
	border-radius:3px;
	box-shadow: inset 1px 1px 2px 1px #efefef, inset -1px -1px 2px 1px #efefef;
	transition: all 300ms;
}

#solicitorapp .law-areas ul li input:checked + label:before{
	right:0px;
	top:3px;
	content:"";
	position:absolute;
	width:14px;
	height:14px;
	border-radius:50%;
	background-size: 80%;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' %3E%3Cpath fill='green' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z' class=''%3E%3C/path%3E%3C/svg%3E");
}

#solicitorapp .law-areas ul li label:hover:after{
	border-color:black;
}

#solicitorapp .law-areas ul li{
	padding: 7px 10px;
	font-size:13px;
}

#solicitorapp .solicitor-search button {
    position: relative;
    display: inline-block;
    background: #7ec4dc;
    border-width: 0;
    border-radius: 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #fff;
    text-decoration: none;
    padding: 4px 27px 4px 12px;
    cursor:pointer;
}
#solicitorapp{
    width: var(--lpas-width);
    max-width: var(--lpas-m-width);
    margin: 0 auto;
}

.law-areas ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.law-areas ul li{
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #ccc;
	padding-top: 10px;
	align-content: center;
	font-family: 'Cutive', serif;
	font-size: 11px;
}

.solicitor-search{
	padding-left: 50px;
}

.solicitor-search [type="text"]{
	width: 70%
}

#solicitorapp .solicitor-search button{
	background: #7ec4dc;
	color: white;
	font-family: 'Cutive', serif;
	margin-top: 10px;
	border: none;
}
#solicitorapp .solicitor-search input{
    padding: 6px 10px 4px;
    margin-right: 10px;
    background: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    box-shadow: inset 1px 2px 2px rgb(0 0 0 / 20%);
    color: #5e5d5a;
}
#solicitorapp .archive-read-more:after,
#solicitorapp .solicitor-search button:after{
	position:absolute;
	top: calc( 50% - 7px);
	right:10px;
	width:12px;
	height:12px;
	content:"";
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 444.819 444.819"%3E%3Cpath d="M352.025 196.712L165.884 10.848C159.029 3.615 150.469 0 140.187 0s-18.842 3.619-25.697 10.848L92.792 32.264c-7.044 7.043-10.566 15.604-10.566 25.692 0 9.897 3.521 18.56 10.566 25.981L231.545 222.41 92.786 361.168c-7.042 7.043-10.564 15.604-10.564 25.693 0 9.896 3.521 18.562 10.564 25.98l21.7 21.413c7.043 7.043 15.612 10.564 25.697 10.564 10.089 0 18.656-3.521 25.697-10.564L352.025 248.39c7.046-7.423 10.571-16.084 10.571-25.981.001-10.088-3.525-18.654-10.571-25.697z"/%3E%3C/svg%3E');
}

#solicitorapp .archive-read-more{
    padding: 0px 30px 4px 14px;
}

#solicitorapp .solicitor-result .solicitor-item{
	border: 1px solid #e4e4e4;
  border-bottom-color: #d7d7d7;
	border-radius:6px;
	margin: 10px 0 40px 0;
}

#solicitorapp .solicitor-result .solicitor-item h2{
	padding:10px;
	border:none;
	font-size:1.2em;
}

#solicitorapp .solicitor-result .solicitor-item h3{
	font-size:1em;
	margin-bottom:6px;
}

#solicitorapp .solicitor-result h3{
	font-style: normal;
}

.solicitor-item-body label{
	pointer-events:none;
}

.solicitor-item-body label .expand-badges, .solicitor-item-body label .close-badges {
	pointer-events:all;
}

.solicitor-item-body input[type="checkbox"] {
	position:absolute;
	left:-9999;
}
.extra{
	display:none;
}

.solicitor-item-body input[type="checkbox"]:checked ~ .extra{
	display:inline-block;
}

.solicitor-item-body input[type="checkbox"]:checked ~ .expand-badges{
	display:none;
}

.solicitor-item-body .close-badges{
	display:none;
}

.solicitor-item-body input[type="checkbox"]:checked ~ .close-badges{
	display:inline-block;
}

.solicitor-item--header{
    display:flex;
    align-items:center;
}
.solicitor-item--header > * {
    width:100%;
}
@media( min-width:900px){
    .solicitor-item--view{
        display: flex;
        justify-content: flex-end;
    }
}

@media( max-width:900px){
    .solicitor-item--header{
        display:block;
    }
}



@media (min-width:798px){
	#solicitorapp .solicitor-search-box{
		display:grid;
		grid-template-columns: 70% 29%;
		justify-content:center;
		align-items:center;
	}
	
	#solicitorapp .solicitor-search-box input{
		width:95%;
	}
	
	#solicitorapp .solicitor-search-box button{
		margin-top:0;
	}
	
	#solicitorapp .solicitor-result .areas-of-law{
		display:grid;
		grid-template-columns: 65% 35%;
	}
	
	#solicitorapp .solicitor-result .solicitor-item-body{
		border-right: 1px solid #ccc;
	}
	
	#solicitorapp .solicitor-result address {
		padding-left: 30px;
	}
}

@media (max-width:798px){

	#solicitorapp .solicitor-result .solicitor-item-body{
		border-bottom: 1px solid #ccc;
					padding-bottom:16px;
	}
	
	#solicitorapp .solicitor-result address {
		padding-top: 16px;
	}
}

.closelpasmodal .close {
    filter: invert(1);
    position:absolute;
    top:10px;
    right:5px;
    display:block;
    width:25px;
    height:0;
    overflow:hidden;
    padding:25px 0 0;
    background:url(/wp-content/themes/lpas/img/help_close.png) 0 1px no-repeat;
    cursor:pointer
}
.modal-header{
    display:flex;
    justify-content: flex-end;
    align-items:center;
    min-height: 44px;
    border-top-right-radius:6px;
    border-top-left-radius:6px;
}
.closelpasmodal .close:hover {
    background-position:0 -29px
}

@media (min-width: 1200px) {
    .modal-dialog {
        max-width: 1140px;
    }
}

@media (min-width: 992px){
    .modal-dialog {
        max-width: 960px;
    }
}

@media (min-width: 768px){
    .modal-dialog {
        max-width: 720px;
    }
}

@media (min-width: 576px){
    .modal-dialog {
        max-width: 540px;
    }
}

.lpasmodal{
    position:fixed;
    right:0;
    left:0;
    bottom:100%;
    display:flex;
    justify-content: center;
    align-items:center;
    z-index:100;
}
.lpasmodal.opened{
    top:0;
    bottom:0;
}

.lpasmodal:before {
	content: "";
	display: none;
	background: rgba(0, 0, 0, 0.6);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
  }
  .opened:before {
	display: block;
  }
  .opened .modal-dialog {
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	transform: translate(0, 0);
  }
  .modal-dialog {
	  margin:5%;
	background: #fefefe;
	border: #333333 solid 0px;
	border-radius: 5px;
	text-align:center;
	position: relative;
	z-index: 11;
	width: 90%;
	height: 70%;
	box-shadow:0 5px 10px rgba(0,0,0,0.3);
	-webkit-transform: translate(0, -200%);
	-ms-transform: translate(0, -200%);
	transform: translate(0, -200%);
	-webkit-transition: -webkit-transform 0.3s ease-out;
	-moz-transition: -moz-transform 0.3s ease-out;
	-o-transition: -o-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
  }
  .modal-body {
	padding: 20px;
    height: 100%;
  }
  .modal-body input{
	width:200px;
	padding:8px;
	border:1px solid #ddd;
	color:#888;
	outline:0;
	font-size:14px;
	font-weight:bold
  }
  .modal-header,
  .modal-footer {
	padding: 10px 20px;
  }
  .modal-header {
	border-bottom: #eeeeee solid 1px;
  }
  .modal-header h2 {
	font-size: 20px;
  }

  .lpasmodal iframe{
	  width: 100%;
	  height: 80%;
  }
  
.hrr-section{
    margin:100px 0 0 0;
    display:flex;
    justify-content:center;
    align-items:center;
}



.hrr-section ~ footer#colophon{
    margin-top:0;
}
.hrr-section-inner,
.hrr-section video{
    max-width:100%;
}