/*
Theme Name: Law Firm Sites
Author: Kaleb Mosher - Law Firm Sites
Author URI: https://lawfirmsites.com/
Version: 1.0.0
*/
/* ************************************************************************** */
/* ************************************************************************** */
/* ************************************************************************** */
/* ***************************** General Styles ***************************** */
/* ************************************************************************** */
/* ************************************************************************** */
/* ************************************************************************** */
a { text-decoration: none; }
a:hover { color: #094982; }
img { max-width: 100%; height: auto; }
h1 { font-size: 50px; margin-bottom: 35px; font-weight: 700; }
h2 { font-size: 40px; margin-bottom: 30px; font-weight: 600; }
h3 { font-size: 30px; margin-bottom: 25px; font-weight: 500; }
h4 { font-size: 25px; margin-bottom: 15px; }
h5 { font-size: 20px; margin-bottom: 15px; }
h6 { font-size: 18px; margin-bottom: 0; }

/****Theme UI Styles****/
.clickable { cursor: pointer; }
header .logo { max-width: 300px; }
header .phone i { margin-right: 15px; font-size: 28px; }
header .phone a { display: flex; align-items: center; }
.section .section_text, .section .section_image, .section .section_panels, .section .section_banner, .section .section_slider, .section .section_accordion, .section .section_pagelist { padding-top: 15px; padding-bottom: 15px; }
.lfs { display: flex; align-items: center; justify-content: flex-end; }
.lfs a { margin: 0 5px; }
.lfs svg path { fill: #fff; }
.screen-reader-text { border: 0; clip: rect(0,0,0,0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.content .banner .page-title { font-size: 60px; margin: 0; padding: 100px 0; color: #fff; text-align: center; }
.content .banner { background-size: cover; background-position: center; padding: 0 3%; }
.content .banner .container { display: flex; align-items: center; justify-content: center; text-align: center; }
.content .posts { list-style: none; margin: 0; padding: 0; }
.content .post:before { display: none; }
.content .posts .categories, .content .posts .seperator, .content .posts .date { display: inline-block; }
.content .posts .seperator { margin: 0 5px; }
.content .posts .post .title h2 { margin: 10px 0; font-size: 30px; }
.content .posts .post .read-more { margin: 10px 0 40px; text-align: right; }
.content .posts .post .excerpt:after { content: ' ...'; font-size: 80%; }
.content .container h1 { margin-top: 30px; }
.content .container h2 { margin-top: 25px; }
.content .container h3 { margin-top: 20px; }
.content .container h4 { margin-top: 15px; }
.content .container h5 { margin-top: 10px; }
.content .container h6 { margin-top: 5px; }
.content .container > .row > div:first-child > *:first-child { margin-top: 0 !important; }
.content .nav-previous i, .content .nav-next i { margin: 0 5px 3px; font-size: 14px; }
.content .nav-previous a { display: flex; align-items: center; }
.content .sidebar { border-left: 1px solid #d3d3d3; padding-top: 15px; padding-bottom: 15px; }
.content .sidebar h3 { margin-top: 40px; font-size: 25px; margin-bottom: 11px; }
.content .sidebar > div:first-child h3 { margin-top: 0; }
.searchform input { background-color: #fff; border: 1px solid #000; height: 35px; margin: 0px; padding: 5px 10px; width: 100%; }
.searchform > div { display: flex; align-items: center; }
.searchform input[type=submit] { margin-left: 5px; max-width: 67px; }
.content #filters .filter-searchform { display: flex; align-items: center; justify-content: space-between; }
.content #filters .filter-searchform > * { margin: 0 3.5px; }
.content #filters .filter-searchform > *:first-child { margin-left: 0; }
.content #filters .filter-searchform > *:last-child { margin-right: 0; }
.content #filters .letter-sort { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; padding: 15px 30px; background-color: #9a9a9a; margin: 15px 0; color: #565656; }
.content #filters .letter-sort .clickable { color: #fff; }
.content .attorney-list .grid-item { width: 33.3333333%; padding: 15px; }
.content .attorney-list .attorney { color: inherit; display: flex; align-items: center; justify-content: flex-start; transition: background-color .2s ease; }
.content .attorney-list .attorney:hover { text-decoration: none; background-color: #eaeaea; }
.content .attorney-list .attorney .thumbnail { min-height: 125px; min-width: 125px; background-size: cover; background-position: center; margin-right: 15px; display: inline-block; }
.content .attorney-list .attorney .info { display: inline-block; vertical-align: top; }
.content .attorney-list .attorney .title { font-weight: 700; font-size: 19px; text-transform: uppercase; }
.content .attorney-list .attorney .position { opacity: 0.8; font-style: italic; font-size: 14px; width: 100%; border-bottom: 1px solid #9a9a9a; }
.content .testimonials { margin-top: 40px; }
.content .testimonials .testi { width: 46%; margin: 2%; position: relative; color: #fff; background-color: #282e3f; font-size: 22px; line-height: 40px; padding: 120px 40px; display: flex; flex-wrap: wrap; border-bottom: 3px solid #597949; flex-direction: column; justify-content: center; }
.content .testimonials .testi:before { top: 40px; left: 40px; margin-top: 55px; content: '\201C'; }
.content .testimonials .testi:after { content: '\201D'; bottom: 40px; right: 40px; margin-bottom: -40px; }
.content .testimonials .testi:before, .content .testimonials .testi:after { position: absolute; font-size: 200px; font-family: sans-serif; color: #597949; }
.content .practice-area-list .practice-area .bg { display: flex; align-items: center; justify-content: center; font-size: 19px; text-transform: uppercase; text-align: center; color: #fff; height: 150px; background-size: cover; background-position: center; padding: 15px; }
.content .practice-area-list .practice-area { margin-bottom: 30px; }
.content .practice-area-list .practice-area:hover { text-decoration: none; }
.content .practice-area-list { justify-content: center; margin-top: 40px; }

/****Wordpress Core****/
.alignnone { margin: 5px 20px 15px 0; }
.aligncenter { display: block; margin: 5px auto 20px auto; }
.alignright { float: right; margin: 5px 0 20px 30px; }
.alignleft { float: left; margin: 5px 30px 20px 0; }

/****Gravity Forms****/ /* I seriously do not recommend having gravity forms output their own CSS - you may disable this in the form specific settings */
/* Wrapper Reset */
.gform_wrapper ul { padding: 15px 0; margin: 0; }
.gform_wrapper li { list-style: none; }
.gform_wrapper input, .gform_wrapper select, .gform_wrapper textarea { width: 100%; max-width: 100%; }
.gform_wrapper input[type=submit] { display: block; max-width: 300px; }
/* Chrome/Firefox/Opera/Safari & IE 10+ placeholder CSS rules - NOTE: these CANNOT be combined. */
.gform_wrapper :-moz-placeholder { color: #000; }
.gform_wrapper ::-moz-placeholder { color: #000; }
.gform_wrapper :-ms-input-placeholder { color: #000; }
.gform_wrapper ::-webkit-input-placeholder { color: #000; }
/* Validation Errors */
.gform_wrapper .validation_error { color: red; border-color: #f00; margin: 0 0 15px; padding: 10px; }
.gform_wrapper .gfield_error input { background-color: #fff3f3; border: 1px solid #ffa7a7; }
.gform_wrapper.gform_validation_error form .gform_body ul .gfield_error, .gform_wrapper.gform_validation_error form .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) { margin-right: 0; max-width: 100%; width: 100%; }
.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description { display: none; }
.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label { margin: 0; }
.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning { border: none; }

/* ************************************************************************** */
/* ************************************************************************** */
/* ************************************************************************** */
/* ***************************** Media Queries ****************************** */
/* ************************************************************************** */
/* ************************************************************************** */
/* ************************************************************************** */
@media(min-width: 930px) {
    .container { max-width: 900px; }
}
@media(min-width: 1030px) {
    .container { max-width: 1000px; }
}
@media(min-width: 1130px) {
    .container { max-width: 1100px; }
}
@media(min-width: 1400px) {
    .container { max-width: 1240px; }
}
@media(min-width: 1500px) {
    .container { max-width: 1340px; }
}
@media(min-width: 2000px) {
    body { max-width: 2000px; margin: 0 auto; }
}
@media(max-width: 991px) {
    .content .attorney-list .grid-item { width: 50%; }
}
@media(max-width: 767px) {
    .alignnone, .aligncenter, .alignright, .alignleft { display: block; margin: 5px auto 20px auto; float: none; }
    .content .attorney-list .grid-item { width: 100%; }
}