/*
Theme Name: Law Firm Sites Child
Version: 1.0
Description: A custom built theme by Law Firm Sites
Template: lawfirmsites
Author: Kaleb Mosher
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fl-automator
*/
/*
font-family: "ivypresto-display", serif;

font-family: "inter-variable", sans-serif;
font-variation-settings: "slnt" 0, "wght" 400;
*/
/**** General Styles ****/
* { min-height: 0; min-width: 0; }
body {font-family: "inter-variable", serif;font-size: 16px;color: #191919;font-weight: 400;background-color: #F8FAFC;}
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em, .h1 em, .h2 em, .h3 em, .h4 em, .h5 em, .h6 em { font-family: "ivypresto-display", serif; color: #1C273E;}
a { color: inherit; text-decoration: underline; }
a:hover, a:focus { color: #3C4562; text-decoration: underline; }
a.inherit { color: inherit; }
a.disabled, a.disabled:hover { pointer-events: none; cursor: default; }
p { margin-bottom: 1.5rem; }
li { margin-bottom: 5px; }
p, li { line-height: 1.5; }

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { color: #504D51; }
.h1, h1 {font-size: 8vmax;line-height: 1;margin-bottom: 35px;}
h4, .h4 { text-transform: uppercase; font-size: 16px; }
h1 + h4, h1 + .h4 { margin-top: -25px; margin-bottom: 35px; }


/**** Header ****/

header .container { max-width: 1600px; }
header .navbar .navbar-brand img { max-width: 225px; }
@media(min-width: 1400px) {
    header .navbar .phone { padding: 20px 40px; }
}
@media(max-width: 1400px) {
    header .navbar.navbar-expand-lg .navbar-nav { justify-content: flex-end; }
}
@media(min-width: 992px) {
    header .navbar .navbar-brand { order: 0; }
    header .navbar nav { order: 1; }
    header .navbar .phone { order: 2; }
}
header .navbar-toggler-icon, header .navbar-toggler-icon:before, header .navbar-toggler-icon:after { background: #fff; }
.fixed-header { background-color: #1c273e; }
.fixed-header .navbar-brand img { max-height: 78px; width: auto; margin-right: 70px; }




/**** Footer ****/
footer { background-color: #1C273E; line-height: 1.7; }
footer a:hover, footer a:focus { color: #fff; }
footer .has-bg-image:before {background: linear-gradient(#1c273e 100px, #1c273e0f);content: '';width: 100%;height: 100%;position: absolute;top: 0;left: 0;z-index: 1;}
footer .bg-image {border-radius: 25px;width: calc(100% - 90px) !important;left: 45px !important;object-position: bottom center !important;}
footer .has-bg-image {padding: 125px 0 300px;}
footer .copyright { padding: 30px 0 40px; }
footer .container.copyright.full-width { max-width: calc(100% - 90px); color: #CECDCF; font-size: 14px; }
footer .has-bg-image p {max-width: 350px;}
footer strong a, .blue { color: #8B95B1; }
footer img { max-width: 267px; }
footer p { margin-bottom: 10px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer .footer-social a { display: block; }
footer .footer-social a:hover, footer .footer-social a:focus { color:#8b95b1 }
footer .btn {padding: 15px 70px;}

/**** Main ****/
.btn {font-size: 0.9em;border-radius: 40px;border-width: 1px;background: radial-gradient(237.69% 91.28% at 90.5% 76.67%, #1C273E 0%, #434C66 100%);border: none;padding: 19px 69px;font-weight: 400; text-transform: uppercase;}
.btn:hover, .btn:focus { color: #8995b1; }
.btn strong { display: inline-block; }
.btn.btn-transparent { border: 1px solid #fff; font-weight: 400; }
.btn.btn-transparent:hover, .btn.btn-transparent:focus { background-color: #fff; border-color: #fff; color: inherit; }
.banner { padding-top: 200px; padding-bottom: 0; }
.banner { min-height: 400px; text-align: center; }
.banner .content > * { color: #fff; }
.banner .content { padding: 0 0 50px; }
.banner:before { content: ''; background: linear-gradient(180deg, rgba(38, 78, 112, 0.65) 14.23%, rgba(114, 153, 187, 0.00) 75.05%, rgba(103, 128, 152, 0.25) 100%); position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.banner .content img { max-width: 280px; padding: 30px; background: radial-gradient(#fff 6%, transparent 72%); }
.main-content .flexible-content { padding: 0; }
.dark { color: #fff; }
.p-sm-col p { max-width: 450px; }
a .icon { width: 20px; min-height: 1px; display: inline-block; }
.recent-posts {background-color: #fff;padding: 30px;text-align: left;border-radius: 20px;}
.recent-posts .btn { text-align: center; color: #fff; font-weight: 300; text-transform: uppercase; font-size: 14px; padding: 17px 25px; justify-content: center; }
.accordion-button:not(.collapsed), .accordion-body { background-color: #E7E7E8; }
.accordion .accordion-item .accordion-button > * { font-size: 16px; text-transform: uppercase; font-weight: 600; margin-bottom: 0; line-height: normal; }
.accordion .accordion-item .accordion-button { padding: 35px 30px; box-shadow: none; }
.accordion-item, .accordion-item:first-of-type, .accordion-item:last-of-type { border-radius: 20px; }
.practice-areas .tiles { justify-content: center; }
.pa-item .image, .pa-item .image img { transition: all 0.4s ease; }
.pa-item {background-color: #E7E7E8;border-radius: 20px;padding: 0 0 40px;overflow: hidden;}
.pa-item .title {font-size: 19px;text-transform: uppercase;margin: 35px auto 20px;padding-left: 30px;padding-right: 30px;}
.pa-item a { text-decoration: none; }
.pa-item .image {border-radius: 100%;overflow: hidden;margin-left: auto;margin-right: auto;width: 300px;height: 300px;margin-top: 30px;}
.pa-item .image img { object-fit: cover; object-position: center; width: 100%; height: 100%; }
.pa-item a:hover .image, .pa-item a:focus .image {border-radius: 0;width: 100%;margin-top: 0;}
.pa-item .excerpt .arrow { opacity: 1 !important; border-bottom: 1px solid; display: block; max-width: 100px; margin-left: auto; margin-right: auto; }
.pa-item .meta {position:relative;min-height: 100px;}
.pa-item .excerpt { opacity: 1; position: absolute; top:0; left: 10%; max-width: 80%; font-size: 14px; }
.pa-item a:hover .arrow, .pa-item a:focus .arrow { opacity: 0; }
.pa-item .arrow, .pa-item .excerpt { transition: all 0.4s ease; }
.pa-item .excerpt { opacity: 0; }
.pa-item a:hover .excerpt, .pa-item a:focus .excerpt { opacity: 1; }
.office-info a { text-decoration: none; }
.list-tiles ul {list-style: none;padding: 0;margin: 0;display: flex;align-items: flex-start;flex-wrap: wrap;justify-content: center;height: 100%;}
.list-tiles ul li { flex: 0 0 30%; flex: 0 0 calc(30% - 30px); margin: 0 15px 30px; text-align: center; background-color: #E7E7E8; border-radius: 500px; padding: 50px 30px; font-size: 14px; }
.list-tiles ul li h2 { font-size: 25px; margin-bottom: 22px; }
.list-tiles ul li h2 em { font-size: 35px; }
.staff-member .image {background-color: #1C273E;border-radius: 20px;background: radial-gradient(57.49% 57.49% at 50% 42.51%, #F3F2F4 0%, #1C273E 100%);position: relative;margin-bottom: 31px;margin-top: 20px;overflow: hidden;}
.staff-member a:hover .image:before, .staff-member a:focus .image:before { opacity: 1; }
.staff-member .image:before { content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #1C273E; z-index: 1; transition: opacity 0.2s ease; opacity: 0; }
.staff-member .image img {position: relative;z-index: 2;margin-left: auto;margin-right: auto;}
.staff-member a { text-decoration: none; text-align: center; }
.staff-member .name { color: #1C273E; font-weight: 500; font-size: 30px; }
.staff-member .desc { color: #504D51; text-transform: uppercase; font-size: 14px; line-height: normal; }
.staff-member { padding: 15px; }
.mas-item { width: 50%; }
.testimonial .wrap, .testi-item .wrap { background: #fff; border-radius: 20px; padding: 40px 40px 40px; margin: 7.5px 7.5px 15px; }
.testimonial .author, .testi-item .author { font-weight: 600; text-transform:uppercase; font-size: 1.1em; }
.testimonial .body:before, .testi-item .body:before {content:'';background-image: url('images/quote.svg');color:#504D51;height: 60px;width: 60px;position: relative;display: block;background-repeat: no-repeat;background-size: contain;margin-bottom: 5px;}
.pagination { display: flex; align-items: center; justify-content: center; }
.pagination .page-numbers { background-color: transparent; color: #919398; min-width: 20px; display: flex; align-items: center; justify-content: center; margin: 0 2.5px 2.5px; line-height: 1; padding: 5px 10px; border-radius: 4px; text-decoration: none; }
.pagination .page-numbers.current, .pagination .page-numbers.next, .pagination .page-numbers.prev { color: inherit; }
.pagination a.page-numbers:hover, .pagination a.page-numbers:focus { text-decoration: underline; }
.recent-posts .list-block a { text-align: left; font-size: 16px; font-weight: 400; }
.recent-posts .list-block .btn { text-align: center; }
.blog-tiles { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.blog-item { padding: 15px; flex: 0 0 50%; }
.blog-item a { text-decoration: none; }
.blog-item a:hover .h3, .blog-item a:focus .h3 { text-decoration: underline; }
.blog-item .h3 { font-size: 17px; font-weight: 600; color: #1C273E; margin: 20px 0; text-transform: uppercase; }
.sidebar .h4 { color: #CECDCF; padding-left: 17px; }
ul.list-block a { border-bottom: none; }
ul.list-block a:hover, ul.list-block a:focus { background-color: #1c273e; }
.bg-body { border-radius: 20px; padding: 60px 30px 50px; }
.bg-body .wrapper { max-width: 700px; margin-left: auto; margin-right: auto; }
.faq-bg:before { content: ''; z-index: 1; background: linear-gradient(transparent 10%, #1c273e 90%); width: 100%; height: 100%; left: 0; top: 0; position: absolute; }
.home h2 {font-size: 54px;line-height: 0.9; margin-bottom: 30px;}
.home .list-tiles li { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.home .list-tiles li img { margin: 31px 0 14px; max-height: 46px; width: auto; }
.home .list-tiles ul li h2 em { font-size: 25px; min-height: 70px; display: flex; align-items: center; }
.home .list-tiles ul li p { min-height: 100px; }
.home .attorneys { background-color: #CECDCF; }
.p-sm p { max-width: 308px; }
.home .attorneys h2 { margin-bottom: 30px; }
.home-bot .btn { margin-right: 0; margin-bottom: 0; }
.home-banner:before { content: ''; position: absolute; z-index: 1; width: 100%; height: 100%; left: 0; top: 0; background: linear-gradient(180deg, rgba(38, 78, 112, 0.65) 7.94%, rgba(126, 179, 223, 0.10) 28.35%, rgba(114, 153, 187, 0.00) 40.52%, rgba(103, 128, 152, 0.25) 52.06%, rgba(81, 99, 121, 0.67) 63.81%, rgba(60, 71, 89, 0.90) 77.42%, #1C273E 100%); }
.has-bg-video { position: relative; }
.has-bg-video .container {z-index: 2;position: relative;}
.home-banner .container { padding-top: 400px; padding-bottom: 0; }
.home-banner h1, .home-banner .h1 {font-size: 90px;color: #fff;margin: 0;padding: 0;line-height: 1.2;}
.home-banner h1 em { color: #CECDCF; }
.home-banner .boutique { font-size: 14px; border-bottom: 1px solid; padding: 0; margin: 0 0 29px; line-height: 21px; height: 51px; max-width: 248px; }
.home-banner .content .row { align-items: flex-end; }
.slide .pa-item { margin: 7.5px; }
.home .slide .staff-member .content {border-radius: 20px;border: 1px solid rgba(255, 255, 255, 0.50);background: rgba(28, 39, 62, 0.65);backdrop-filter: blur(12.5px);padding: 30px 60px;display: inline-block;z-index: 2;position: absolute;left: 50%;bottom: 76px;transform: translateX(-50%);width: 100%;max-width: 500px;}
.home .slide .staff-member .content .name, .home .slide .staff-member .content .desc { color: #fff; }
.home .slide .staff-member { position: relative; }
.home .slide .staff-member .name { font-size: 37px; }
.home .staff-member .image { margin-top: 0; }
.home .testi-item .body:before {height: 27px;width: 27px;}
.home-bot .slider { margin-bottom: 40px !important; }
.slide .testi-item { background-color: #fff; padding: 30px; margin: 0 7.5px; border-radius: 20px; }
.arrows-afterSlides .slick-prev, .arrows-afterSlides .slick-next { position: relative; width: 100%; left: unset; right: unset; height: 0px; }
.arrows-afterSlides .slick-prev .slick-prev-icon:before, .arrows-afterSlides .slick-next .slick-next-icon:before { color: #1c273e; background: none; height: 30px; width: 30px; border-radius: 0; z-index: 1; font-size: 16px; }
.arrows-afterSlides .slick-prev .slick-prev-icon:after, .arrows-afterSlides .slick-next .slick-next-icon:after { content: ''; width: 50%; position: absolute; left: 40px; top: 14px; border-bottom: 1px solid #1c273e; z-index: 0; }
.arrows-afterSlides .slick-next .slick-next-icon:after { left: unset; right: 40px; border-color: #CECDCF; }
.attorneys .arrows-afterSlides .slick-next .slick-next-icon:after { border-color: #fff; }
.slick-slider .slide { display: none; }
.slick-slider .slide:first-child { display: block; }
.slick-slider.slick-initialized .slide { display: block; }
.attorneys .slick-slider { position: static; }
.attorneys .arrows-afterSlides button { position: absolute; max-width: 32%; left: 0; top: 100%; }
.attorneys .container { position: relative; }
.attorneys .container > .row { align-items: center; }
.home-bot .col-md-9 { margin-bottom: 80px; }
footer .footer-contact h2 { color: #fff; }
footer .footer-contact h2 em { color: #CECDCF; }
footer .footer-contact p { max-width: 470px; margin-left: auto; margin-right: auto; margin-bottom: 35px; }
footer .footer-contact { padding-top: 60px; }
.gform_wrapper textarea, .gform_wrapper input, .gform_wrapper select { border-radius: 6px !important; padding: 23px 23px !important; background-color: #E7E7E8 !important; }
.gform_wrapper .btn { color: #fff !important; background-color: #434C66 !important; border-radius: 100px !important; background: radial-gradient(237.69% 91.28% at 90.5% 78.67%, #1C273E 0%, #434C66 100%); padding: 20px 40px !important; text-transform: uppercase !important; }


@media(min-width: 577px) {
    .h1, h1 { font-size: 7vmax; }
}
@media(min-width: 768px) {
    .h1, h1 { font-size: 5.5vmax; }
}
@media(min-width: 992px) {
    .h1, h1 { font-size: 4.5vmax; }
	header .navbar.navbar-expand-lg .navbar-nav li ul, header .navbar.navbar-expand-lg .navbar-nav li ul li a { background-color: #1e2940; }
}
@media(min-width: 1400px) {
    .h1, h1 { font-size: 3.5vmax; }
}
@media(max-width: 1700px) {
    footer .container { padding-left: 75px; padding-right: 75px; }
}
@media(max-width: 1400px) {
    .home-banner h1, .home-banner .h1 { font-size: 70px; line-height: 1.3; }
}
@media(max-width: 1200px) {
    .pa-item .image {border-radius: 0 !important;width: 100% !important;margin-top: 0 !important;}
    .pa-item .arrow { opacity: 0; }
    .pa-item .excerpt { opacity: 1; }
    .pa-item .excerpt .arrow { margin-top:10px; }
    .pa-item .meta .excerpt { position:static; width: 80%; margin-left:auto; margin-right:auto; }
    .home-banner .content .col-lg { max-width: 763px; }
}
@media(max-width: 1100px) {
    .home-banner h1, .home-banner .h1 { font-size: 60px; }
}
@media(max-width: 991px) {
    footer .container { padding-left: 30px; padding-right: 30px; }
    footer .bg-image { padding: 0; max-width: 100%; width: 100% !important; left: 0 !important; }
    footer img { max-width: 100%; }
    .attorneys .content { text-align: center; }
    .attorneys .arrows-afterSlides button { max-width: 90%; left: 5%; }
	.home-banner { text-align: center; }
    .home-banner .boutique { margin-left: auto; margin-right: auto; margin-top: 19px; }
}
@media(max-width: 767px) {
    .about h1 { text-align: center; }
    footer .has-bg-image p { margin-left: auto; margin-right: auto; }
    footer .has-bg-image { padding: 100px 0 50px; }
    footer .has-bg-image .bg-image { display: none; }
    .list-tiles ul li { flex: 0 0 45%; flex: 0 0 calc(50% - 30px); }
    .mas-item { width: 100%; }
    .home .who-is .content { text-align: center; }
    .home .home-bot .content { text-align: center; }
    .p-sm p { max-width: 100%; }
    .home-banner h1, .home-banner .h1 { font-size: 50px; }
    .home h2 { font-size: 40px; line-height: 1; }
	footer .footer-social a { display: inline-block; width: 20px; margin-left: 5px; margin-right: 5px; }
}
@media(max-width: 676px) {
    header .navbar .phone { display: none; }
    .home .slide .staff-member .name { font-size: 20px; }
    .home .slide .staff-member .content { padding: 10px; }
	/*.faq-bg .container { margin-left: 30px; margin-right: 30px; max-width: calc(100% - 60px) !important; }*/
	.list-tiles ul li { border-radius: 100px; padding-bottom: 30px; padding-top: 30px; }
	.home .list-tiles ul li p { min-height: 70px; }
	.flexible-content { padding: 60px 0; }
}
@media(max-width: 576px) {
    .list-tiles ul li { flex: 0 0 100%; margin-left: 0; margin-right: 0; }
    .home-banner .container { padding-top: 200px; }
    .video-wrapper { width: 700px; }
    .video-wrapper .wp-video { position: absolute; width: 100%; height: 100%; } /* Only works when .video-wrapper has a set width. */
    
}
@media(max-width: 440px) {
    
}












