/* CSS Document */

/*
Theme Name: Generatepress Child
Theme URI: https://wordpress.org/themes/generatepress/
Description: Generatepress Child Theme for EKLJ site
Author: DLS Design
Author URL: https://www.dlsdesign.com
Template: generatepress
Version: 1.4
Text Domain: generatepress-child  */
/* Custom CSS goes after this line */

/* fonts

font-family: 'Barlow', sans-serif;
font-family: 'Roboto', sans-serif;
font-family: 'Jost', sans-serif;


*/

/* colors

bleachy turquoise: #00b6c1;
darker turquoise for headers: #02aab5;

*/

/* generally */


p:empty { display:none; }

/* ------------------ header & navigation ------------------- */

.inside-header {
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	position: relative;
}

.inside-header .site-logo {
	-webkit-box-ordinal-group: 2;
	    -ms-flex-order: 1;
	        order: 1;
}

.inside-header .header-widget {
	-ms-flex-preferred-size: auto;
	    flex-basis: auto;
	-webkit-box-ordinal-group: 3;
	    -ms-flex-order: 2;
	        order: 2;
	margin-right: auto;
}

.inside-header .mobile-menu-control-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-left: 0;
	-webkit-box-ordinal-group: 5;
	    -ms-flex-order: 4;
	        order: 4;
}

/* 4-29-24 change to 32px when adding Neils */

.header-widget .textwidget {
	font-family: 'Jost', sans-serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.25;
	text-transform: uppercase;
}

.header-widget .textwidget small {
	font-size: .5em;
}

/* 7-26-22: a traditional set of links started to appear, tried to hide with 'none' below but it broke dropdown */

.inside-header .inside-navigation {
	/* display: none; */
	position: static;
}

.main-navigation .menu-toggle, 
.main-navigation .menu-toggle:hover, 
.main-navigation .menu-toggle:focus, 
.main-navigation #site-navigation.toggled {
	background-color: transparent;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	    -ms-flex-direction: row-reverse;
	        flex-direction: row-reverse;
	padding: 0;
}

.menu-toggle .gp-icon+.mobile-menu {
	padding-left: 10px;
	padding-right: 9px;
}

.main-navigation.toggled .main-nav {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    background: #000;
	padding-top: 10px;
	padding-left: 12px;
    padding-bottom: 18px;
    padding-right: 18px;
	position: absolute;
	top: 100%;
	right: 0;
	white-space: nowrap;
}

.main-navigation .menu-bar-item.search-item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

span.menu-bar-item.search-item:before {
    content: 'Search';
	padding-left: 20px;
}

.main-navigation .menu-bar-item.search-item > a {
	font-size: inherit;
	padding-left: 9px;
	padding-right: 10px;
}

.main-navigation .menu-toggle, 
.main-navigation .menu-bar-items {
	font-size: 1.5em;
}

.main-navigation .search-item .gp-icon,
.main-navigation .menu-toggle .gp-icon {
	font-size: 0.8em;
}

.main-navigation .menu-toggle, 
.main-navigation .menu-toggle:hover,
.main-navigation .menu-toggle:focus,  
.main-navigation .menu-bar-items,
.main-navigation .menu-bar-items .search-item.active > a,
.main-navigation .menu-bar-item:hover > a, 
.main-navigation .menu-bar-item.sfHover > a {
	color: #B7B7B7;
	font-weight: bold;
}

.main-navigation.toggled .menu-toggle,
.main-navigation.toggled .menu-bar-items,
.main-navigation.toggled .menu-bar-item.sfHover > a {
	color: #E2E2E2;
}

.has-inline-mobile-toggle #site-navigation.toggled,
.has-inline-mobile-toggle #site-navigation.has-active-search {
	margin-top: 0;
}

.has-inline-mobile-toggle #site-navigation.has-active-search {
	position: absolute;
	bottom: 0;
	right: 0;
}

.has-inline-mobile-toggle #site-navigation.has-active-search .navigation-search input {
    outline: none;
    color: gray;
    width: 330px;
}

/* ------------------ footer ------------------- */

.footer-widget-1 img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#media_image-2 img {
    margin-top: 20px;
    margin-bottom: 22px;
    height: 260px;
    width: auto;
}

.footer-widget-2,
.footer-widget-3 {
	padding-top: 64px;
	line-height: 1.666;
}


.footer-widget-2 p {
	font-size: 20px;
}

.footer-widget-2 a,
.footer-widget-3 a {
	text-decoration: none;
	border-bottom: .75px solid #888;
	padding-bottom: 6px;
}

/* 11-13-23 size for Chambers badge */

/* 7-18-24 modify witdh for image of 2 vertically from 280 to 200 */

#media_image-4 {
	max-width: 200px;
	height: auto;
	margin-top: -44px;
}

/* ------------------ front-page ------------------- */

.home .site.grid-container {
    max-width: 100%;
	margin-left: 0px;
	margin-right: 0px;
}

.home .header-widget {
	display: none;
}

.home .entry-header h1 {
	display: none;
}

#home-title-band {
	background-color: #00b6c1;
	padding-top: 230px;
}

#home-mobile-title-band {
	display: none;
}

#home-title-band h1 {
	background-image: url(https://www.ekljlaw.com/wp-content/themes/generatepress-child/img/dots-3-5f-hex-on-turqoise.gif);
    background-repeat: no-repeat;
    background-position: bottom left;
	color: #fff;
    font-size: 56px;
    letter-spacing: -0.015em;
	margin-left: 14%;
	margin-right: 10%;
	margin-bottom: 0;
    padding-bottom: 20px;
    padding-left: 28px;
    text-transform: uppercase;
}

/* 6-4-24 padding added so we retain non-space after Neils but appear to keep it */

#home-title-band .llp,
#home-mobile-title-band .llp {
	font-size: 24px;
	padding-left: 14px;
}

.home .site-main {
	margin-top: 0;
}

.home .entry-content:not(:first-child) {
    margin-top: 0;
	margin-bottom: 2.4em;
}

.home article:not(:last-child) .entry-content {
	margin-bottom: 0;
}

.home .inside-article {
	background-image: url(https://www.ekljlaw.com/wp-content/themes/generatepress-child/img/dots-3-60pct-on-white.gif);
    background-repeat: no-repeat;
    background-position: 0px 8px;
	margin-left: auto;
	margin-right: auto;
	margin-left: 14%;
	padding-top: 28px;
	padding-left: 32px;
}

.home .inside-article .entry-content p {
	max-width: 70%;
}

.home .inside-article .entry-content p img {
	max-width: 500px;
	height: auto;
}

.news-section {
	background-color: #00b6c1;
	color: #000;
	display: flex;
	flex-flow: row nowrap;
	margin-bottom: 40px;
	padding: 20px 0 20px 14%;
}

.news-section-title {
	background-image: url('img/news-transparent.gif');
	background-position-x: -10px;
	background-size: 115px auto;
	background-repeat: no-repeat;
	min-height: 265px;
	width: 195px;
}

.news-section-title h2 {
	display: none;
}

.news-section-column {
	max-width: calc( 70% - 195px );
}

.news-section article {
	padding-bottom: 10px;
}

.news-section article:not(:last-child) {
	border-bottom: 1px solid #fff;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.news-section a {
	color: #fff;
	text-decoration: none;
}

.news-section a:hover,
.news-section a:focus {
	color: #fff;
	text-decoration: underline;
}

.news-entry .entry-header {
	margin-bottom: .25em;
}

.news-section .news-title {
	font-weight: 600;
}

.news-section a.news-title:hover::after,
.news-section a.news-title:focus::after {
	content: ' \003e';
}

.news-section .news-entry-content {
	font-size: .9em;
}

.news-section .news-excerpt-date {
	margin-bottom: 0.25em;
}

.news-section .small-news-label {
	color: #fff;
	display: inline-block;
	font-weight: 600;
	min-width: 80px;
}

.news-section p {
	margin-bottom: 0.5em;
}

.events-slider {
	font-size: .8em;
	margin-left: 14%;
	padding-right: 10px;
	position: relative;
}

.events-slider-title {
	width: 100%;
}

.events-slider-title h2 {
	background-color: #8b8b8b;
	color: #fff;
	display: inline-block;
	padding: 4px 12px;
}

.events-slider-row {
	display: flex;
	align-items: center;
	flex-flow: row nowrap;
}

.events-slider .slider {
	flex-shrink: 1;
	width: 70%;
}

.events-slider .slick-slider {
	margin: 0 -12px;
}

.events-slider .slick-slide {
	padding: 0 12px;
}

.events-slider .slides>li:only-of-type {
	margin-right: 0 !important;
	width: 100% !important;
}

.events-slider a.event-title {
	font-weight: 600;
}

.events-slider a {
	text-decoration: none;
}

.events-slider a:hover,
.events-slider a:focus {
	color: cadetblue;
	text-decoration: underline;
}

.events-slider a.event-title:hover::after,
.events-slider a.event-title:focus::after {
	content: ' \003e';
}

.events-slider .event-field {
	margin-bottom: .25em;
}

.events-slider p {
	margin-bottom: .25em;
}
.events-slider .small-event-label {
	font-size: inherit;
	min-width: 90px;
}

.events-slider .event-field a {
	color: #000;
}

.events-slider .event-field a:hover,
.events-slider .event-field a:focus {
	color: cadetblue;
}

.events-slider .event-field a::after {
	color: cadetblue;
	content: ' \003e';
	font-weight: 500;
}

.event-slider .read-more {
	font-weight: 500;
}

.events-slider-control {
	border: solid 1.5px darkgray;
	margin: 0 auto;
	position: relative;
}

.events-slider-control h3 {
	font-weight: 400;
	margin-bottom: 0;
	padding: 6px 10px 12px;
	white-space: nowrap;
}

.events-slider-control h3 a {
	color: darkgray;
	text-decoration: none;
	text-transform: uppercase;
}

.events-slider .slick-dots {
	bottom: -8px;
}

.events-slider .slick-dots li button:before {
	background-color: #000;
	border-radius: 50%;
	content: ' ';
	height: 6px;
	width: 6px;
	top: 0;
	left: 7px;
}

.events-slider .flex-direction-nav {
	display: none;
}

/* interiors */

.grid-container {
    max-width: 100%;
}

.inside-article {
	margin-left: 10%;
    margin-right: 10%;
	margin-left: calc(10% - 40px);
	margin-right: calc(10% - 40px);
}

.post-image-aligned-right .inside-article .featured-image,
.post-image-aligned-right .inside-article .post-image,
.post-image-aligned-left .inside-article .featured-image,
.post-image-aligned-left .inside-article .post-image {
	max-width: 60%;
}

.inside-header {
	margin-left: 10%;
	margin-right: 10%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.page-template-default .entry-header h1 {
	font-size: 36px;
	text-transform: uppercase;
}

.post-image-above-header .inside-article .post-image {
    margin-top: 0;
    margin-bottom: .2em;
}

.post-type-archive-attorneys .entry-header h2 {
	font-family: 'Jost', sans-serif;
	font-size: 40px;
	line-height: 1.5;
	color: white;
}

.post-type-archive-attorneys .entry-header h2 a {
	color: white;
	text-decoration: none;
}

.post-type-archive-attorneys .entry-header h2 a:hover {
	border-bottom: 1px solid white;
}


/* below styles new div from functions.php [copied from WMMB] */

.post-type-archive-attorneys .contact {
	font-family: 'Jost', sans-serif;
	font-size: 18px;
	color: white;
}

.post-type-archive-attorneys .contact a {
	color: white;
	text-decoration: none;
}


.post-type-archive-attorneys .entry-summary p {
	display: none;
}
.footer-widget-1 {
	background-color: #00b6c1;
}


.grid-70 {
    float: left;
    width: 100%;
}

/* -------------------------- attorneys ------------------------ */

#attorney-title-band {
	background-color: #00b6c1;
}

#attorney-top-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	margin-left: 10%;
	margin-right: 10%;
}

#attorney-photo {
	width: 40%;
}

#attorney-photo img {
	display: block;
}

.single-attorneys .featured-image,
.single-attorneys .entry-header h1 {
	display: none;
}

#attorney-contact-info {
	padding: 20px 0;
	text-align: center;
	width: 60%
}

#attorney-title-band h1 {
	border-bottom: 3px dotted #ddd;
    color: #fff;
	display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 54px;
	letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 0;
    padding: 0 15px 20px;
	text-align: center;
	text-transform: uppercase;
}

#attorney-title-band h2 {
    color: #fff;
	font-size: 36px;
	margin-top: 20px;
	margin-bottom: 10px;
	text-align: center;
}

#attorney-title-band p {
    color: #fff;
    font-family: 'Jost', sans-serif;
	font-size: 24px;
	line-height: 1.666;
	text-align: center;
    margin-bottom: .5em;
}

#attorney-title-band h1+p {
	margin-top: .5em;
}

#attorney-title-band p:last-child {
	margin-bottom: 0;
}

#attorney-title-band p a {
    color: #fff;
	text-decoration: none;
	border-bottom: .75px solid #ddd;
}

#attorney-title-band p a:hover {
    color: #ddd;
	text-decoration: none;
	border-bottom: .75px solid #bbb;
}

#attorney-text-band {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-left: 10%;
	margin-right: 10%;
}

.single-attorneys .inside-article {
	margin-left: unset;
	margin-right: unset;
}

#attorney-left-column {
	margin-top: 46px;
	width: 40%;
}

#attorney-left-column h2 {
	font-family: 'Barlow', sans-serif;
	text-transform: uppercase;
	font-size: 22px;
	letter-spacing: 0.13em;
	font-weight: 500;
	color: #02aab5;
	border-bottom: 2.5px solid #ccc;
	padding-bottom: 8px;
	margin-bottom: 18px;
	margin-top: 24px;
}

#attorney-left-column h2:first-child {
	margin-top: 0;
}

#attorney-left-column p {
	font-size: 20px;
	margin-bottom: 12px;
	color: #555;
	letter-spacing: 0.012em;
}

#attorney-left-column ul {
	font-size: 18px;
	line-height: 1.4;
	margin-left: 2em;
}

#attorney-left-column ul li {
	list-style: none;
	margin-bottom: 12px;
	color: #555;
	letter-spacing: 0.012em;
}

#attorney-right-column {
	width: 60%;
}

#supplementary-fields {
	border-top: solid .5px #ccc;
	margin-top: 40px;
	padding-top: 40px;
}

#supplementary-fields h2 {
	font-family: 'Barlow', sans-serif;
	font-size: 28px;
	font-weight: 500;
	color: #02aab5;
}

#supplementary-fields h3 {
    font-family: 'Barlow', sans-serif;
	color: #888;
	letter-spacing: 0.02em;
    font-size: 24px;
    line-height: 1.625;
    font-weight: 600;
}

#supplementary-fields p {
    font-family: 'Barlow', sans-serif;
	font-size: 20px;
    font-weight: 400;
}

#supplementary-fields p a {
	font-size: 20px;
    color: #222;
	text-decoration: none;
	border-bottom: solid .75px #555;
}

#supplementary-fields p a:hover {
	color: #038d96;
}

#supplementary-fields ul li {
    margin-left: -50px;
    padding-bottom: 14px;
}

.single-attorneys .site-main {
	margin: unset;

}

/* ---------------------- main archive pages  --------------------- */

#practice-areas-title-band,
#attorneys-title-band,
#news-title-band {
	min-height: 352px;
	background-color: #00b6c1;
}

#upcoming-events-title-band {
	background-color: #00b6c1;
	padding: 0 10%;
	width: 100%;
}

/* this will have a dynamic behavior, showing past events on click */

h3.event-toggle {
	border: solid 1.5px darkgray;
	font-size: 1.33em;
	margin-top: 80px;
	padding: 8px 10px;
	text-transform: uppercase;
	text-align: center;
	width: fit-content;
}

.event-toggle a {
	color: darkgray;
	text-decoration: none;
}

.event-toggle a::after {
	content: '\25B8';
}

.event-toggle a:hover,
.event-toggle a:focus {
	text-decoration: underline;
}

.post-type-archive-upcoming-events .site-content {
	margin-left: calc(10% - 40px);
	margin-right: calc(10% - 40px);
}

.post-type-archive-upcoming-events .page-header {
	display: none;
}

.post-type-archive-upcoming-events article .inside-article {
	border-bottom: solid 1.25px darkgray;
	margin-right: 0;
	margin-left: 0;
}

.post-type-archive-upcoming-events article:last-of-type .inside-article {
	border-bottom: none;
}


#upcoming-events-title-band .title-text-container {
    background-image: none;
	background-color: black;
	display: inline-block;
    padding: 0 40px 40px;
	min-width: 50%;
	width: fit-content;
}


#single-practice-title-band,
#single-news-title-band {
	min-height: 140px;
	background-color: #00b6c1;
}

#single-upcoming-events-title-band {
	min-height: 140px;
	background-color: #00b6c1;
}

.post-type-archive-upcoming-events .entry-title {
	margin-bottom: .5em;
}

.single-upcoming-events .entry-header h1 {
	font-size: 1.5em;
	font-weight: 400;
	line-height: 1.333;
	margin-bottom: .5em;
}

.single-upcoming-events h2 {
	color: black;
	font-weight: 300;
	font-size: 36px;
	line-height: 48px;
}

#event-horizon {
	margin-left: auto;
	margin-right: auto;
	margin-top: 40px;
	width: 80%;
}

#event-horizon p,
.event-horizon {
	line-height: 40px;
	margin-bottom: 0px;
}

.single-upcoming-events .event-horizon {
	margin-bottom: 2em;
}

.small-event-label {
	color: #999;
	display: inline-block;
	font-size: 22px;
	font-weight: 600;
	min-width: 100px;
}

.single-upcoming-events .entry-content:not(:first-child) {
	margin-top: 0em;	
}

.post-type-archive-upcoming-events .entry-summary {
	margin-bottom: .5em;
}

.post-type-archive-practice-areas #main {
	margin-left: 10%;
	margin-right: 10%;
}

#title-text-container {
	background-image: url(https://www.ekljlaw.com/wp-content/themes/generatepress-child/img/dots-14-vertical-60-opacity-turquoise-transp.gif);
    background-repeat: no-repeat;
	background-position: 0px 100px;
	margin-left: 10%;
	margin-left: calc(10% - 40px);
	margin-right: 10%;
	padding: 0 40px 40px;
}

/* by David, 5-20-22: Representative Matters styled. Archive template uses #practice-areas-title-band, so some styles are automatically covered */


.single-practice-areas #title-text-container,
.single-news #title-text-container,
.single-rep-matters #title-text-container {
	background-image: none;
}


#practice-areas-title-band h1,
#attorneys-title-band h1,
#news-title-band h1,
#single-practice-title-band h1,
#single-news-title-band h1,
#single-rep-matters-title-band h1,
#upcoming-events-title-band h1,
#single-upcoming-events-title-band h1 {
    color: #fff;
    font-size: 60px;
    padding-top: 50px;
	text-transform: uppercase;
    letter-spacing: 0.02em;
}

.single-rep-matters h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #02aab5;
}

.single-rep-matters h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #02aab5;
}

.single-rep-matters ul li {
	margin-bottom: 18px;
}

#practice-areas-title-band p,
#attorneys-title-band p,
#news-title-band p {
	color: #fff;
    width: 48%;
}

#title-text-container>*:last-child {
	margin-bottom: 0;
}

.post-type-archive-practice-areas .page-header h1,
.post-type-archive-practice-areas .entry-summary p,
.post-type-archive-rep-matters .page-header h1,
.post-type-archive-rep-matters .entry-summary p,
.post-type-archive-attorneys .page-header h1,
.post-type-archive-attorneys .entry-summary p,
.post-type-archive-news .page-header h1{
	display: none;
}

.post-type-archive-attorneys .site-main,
.post-type-archive-practice-areas .site-main {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-flow: row wrap;
	        flex-flow: row wrap;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
}

.post-type-archive-attorneys .page-header,
.post-type-rep-matters .page-header,
.post-type-archive-practice-areas .page-header {
	display: none;
}

.post-type-archive-attorneys article,
.post-type-archive-practice-areas article {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 50%;
	        flex: 0 0 50%;
	margin: 0;
	padding: 38px;
}

.post-type-archive-attorneys .inside-article,
.post-type-archive-practice-areas .inside-article {
	background-color: #00b6c1;
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	min-height: 240px;
	margin: 0;
    padding: 30px 40px;
    text-align: left;
}

.post-type-archive-practice-areas article:nth-of-type(3n+2) .inside-article {
	background-color: #8b8b8b;
}

.post-type-archive-practice-areas article:nth-of-type(3n) .inside-article {
	background-color: #000;
}

.post-type-archive-practice-areas .entry-header h2 {
	font-size: 32px;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.post-type-archive-practice-areas .entry-header h2 a {
 	color: #fff;
	text-decoration: none;
}

.post-type-archive-practice-areas .entry-header h2 a:hover {
 	color: #fff;
	text-decoration: none;
	border-bottom: .6px solid #eee;
}


/* ---------------  contact  -------------- */


.page-template-page-contact .site-content,
.page-template-page-about .site-content {
    border-top: 100px solid #02b6c1;
}

.page-template-page-contact .content-area {
	margin-top: 5px;
	margin-bottom: 160px;
}

.page-template-page-contact .inside-article {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-flow: row wrap;
	        flex-flow: row wrap;
}

.page-template-page-contact .entry-header {
	width: 100%;
}

.page-template-page-contact .entry-header h1 {
    font-size: 36px;
    text-transform: uppercase;
}

.page-template-page-contact .entry-content {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 36%;
	        flex: 1 1 36%;
	min-width: 36%;
}

/* added 6-30-24 */

.page-template-page-contact .entry-content p {
	float: left;
	margin-right: 40px;
}

#contact-map {
	float: left;/* added 6-30-24 */
	border: none;
	width: 680px;
	height: 490px;
	max-width: 100%;
}

#contact-right {
	border: solid 1px #ccc;
	margin-top: 2em;
	margin-left: 1em;
	max-width: 800px;
}

#contact-map img,
#contact-right img {
	display: block;
}

/* ----------------------- search ------------------ */


.search-results .site-content,
.search-no-results .site-content {
    border-top: 100px solid #02b6c1;
	margin-bottom: 80px;
}


.search-results .site-main,
.search-no-results .site-main {
	min-height: 500px;
}

.search-results .page-header {
	margin-left: 10%;
	margin-right: 10%;
	margin-left: calc(10% - 40px);
	margin-right: calc(10% - 40px);
}

.search-results .page-header h1,
.search-no-results .entry-header h1 {
	font-size: 40px;
	font-weight: 500;
}

.search-results .inside-article {
	padding-top: 15px;
	padding-bottom: 10px;
	margin-bottom: 18px;
}

.search-results .entry-header h2 a {
	color: #02aab5;
	text-decoration: none;
}

.search-results .entry-meta {
	display: none;
}

.search-results .news .entry-meta {
	display: block;
}

.search-results .entry-summary:not(:first-child),
.search-results .post-image:not(:first-child) {
	margin-top: 1.5em;
}

.search-results .entry-summary p a {
	color: #02aab5;
}

/* ----------------------- News section ---------------- */

.post-type-archive-news .site-main {
	margin-top: 0;
	margin-bottom: 75px;
}

.search-results .inside-article,
.post-type-archive-news .inside-article {
	padding-bottom: 0;
}

/* 11-22-22 quick fix for Kwok Foreward article. Featured image too close to title of next article and forced wrap */

.post-type-archive-news .post-id-407 .inside-article,
.post-type-archive-news .post-407 .inside-article {
	height: 625px;	
}


.post-type-archive-news .entry-header h2 {
	font-size: 42px;
}

article.type-news .entry-meta .posted-on {
	margin-right: 1em;
}

.search-results .entry-summary,
.search-results .entry-content {
	border-bottom: solid .7px #c0c0c0;
	font-size: .9em;
	padding-bottom: 40px;
}

.post-type-archive-news .entry-summary,
.post-type-archive-news .entry-content,
.search-results article.type-news .entry-summary,
.search-results article.type-news .entry-content {
	border-bottom: none;
	padding-bottom: 1em;
}

.post-type-archive-news .news-entry-links-wrapper,
.search-results article.type-news .news-entry-links-wrapper {
	border-bottom: solid .7px #c0c0c0;
	padding-bottom: 40px;
}

.post-type-archive-news .entry-summary a {
	color: #02aab5;	
}

.news-entry-links-wrapper {
	font-size: 85%;
	overflow: hidden;
}

/* by David 11-1-22 */

.single-news .news-entry-links-wrapper {
	margin-top: 30px;	
}

.news-entry-links {
	list-style: none;
	margin-left: -.5em;
}

.news-entry-links li {
	display: inline-block;
	display: inline-flex;
	align-items: baseline;
	margin-left: calc( -0.5em - 1px );
	padding: 0 0.5em;
}

.news-entry-links li:before {
	border-left: solid 1px #c0c0c0;
	content: '';
	height: 0.7em;
	margin: 0 0.5em 0 0;
}


/*  -------------------  media queries here ------------------- */

@media (min-width: 769px) {
	body.post-image-below-header.post-image-aligned-left .inside-article .featured-image,
	body.post-image-below-header.post-image-aligned-left .inside-article .post-image,
	body.post-image-below-header.post-image-aligned-right .inside-article .featured-image,
	body.post-image-below-header.post-image-aligned-right .inside-article .post-image {
		width: 300px;
	}

	body.post-image-below-header.post-image-aligned-left .inside-article .featured-image,
	body.post-image-below-header.post-image-aligned-left .inside-article .post-image {
		margin-right: 1.25em;
	}

	body.post-image-below-header.post-image-aligned-right .inside-article .featured-image,
	body.post-image-below-header.post-image-aligned-right .inside-article .post-image {
		margin-left: 1.25em; 
	}
}

@media (max-width: 1740px) and (min-width: 1451px) {
	#contact-right {
    	max-width: 700px;
	}
}

@media (max-width: 1565px) and (min-width: 1451px) {
	.header-widget .textwidget,
	.main-navigation .menu-toggle,
	.main-navigation .menu-bar-items {
		font-size: 32px;
	}

	#attorney-left-column {
		width: 480px;
	}

	#attorney-right-column {
		width: 720px;
	}

	#attorney-photo {
		float: left;
		width: 450px;
		height: 301px;
	}

	#attorney-title-band {
		height: 301px;
		background-color: #00b6c1;
	}

	#contact-right {
    	max-width: 640px;
	}

}

@media (max-width: 1450px) and (min-width: 1325px) {
	.header-widget .textwidget,
	.main-navigation .menu-toggle,
	.main-navigation .menu-bar-items {
		font-size: 28px;
	}

	.single-attorneys .entry-content {
		font-size: 22px;
	}

	#contact-right {
    	max-width: 640px;
	}

}

/* and */

@media (max-width: 1324px) {
	.inside-header .site-logo {
		max-width: 150px;
	}	

	.header-widget .textwidget {
		font-size: 24px;
	}

	.main-navigation .menu-toggle,
	.main-navigation .menu-bar-items {
		font-size: 20px;
	}

	#home-title-band {
		padding-top: 150px;
	}


	#home-title-band h1 {
		font-size: 52px;
	}

	#attorney-title-band h1 {
		font-size: 38px;
		padding-bottom: 15px;
	}

	#attorney-title-band h2 {
		font-size: 30px;
		line-height: 38px;
		margin-top: 15px;
	}

	#attorney-title-band p {
		font-size: 20px;
	}

	.single-attorneys .entry-content {
		font-size: 22px;
	}

	#supplementary-fields p a {
		font-size: 20px;
	}

	#contact-right {
    	max-width: 640px;
	}

}

/* 11-10-23 */

@media screen and (max-width: 1260px) {
    .footer-widget-2 {
        padding-top: 38px;
        font-size: 21px;
        line-height: 1.56;
    }
	
	/* 11-13-23 size for Chambers badge */
	
	/* 7-18-24 modified for 2 stacked */

    #media_image-4 {
        max-width: 190px;
        height: auto;
		margin-top: -32px;
    }
	
	.home .inside-article .entry-content p img {
        max-width: 360px;
        height: auto;
    }
	
	
}


@media screen and (max-width: 1024px) {
	
	.home .inside-article .entry-content p img {
        max-width: 320px;
        height: auto;
    }

	
	
	#title-text-container,
	.inside-article,
	.post-type-archive-practice-areas #main,
	.search-results .page-header {
		margin-right: 0;
		margin-left: 0;
	}

	.inside-header,
	#attorney-top-container,
	#attorney-text-band {
		margin-left: 40px;
		margin-right: 40px;
	}

	#upcoming-events-title-band {
		padding-right: 40px;
		padding-left: 40px;
	}

	.post-type-archive-upcoming-events .site-content {
		margin-right: 0;
		margin-left: 0;
	}

	.page-template-page-contact .entry-content {
		min-width: 100%;
	}

	#contact-right {
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
	}
}

@media (max-width: 899px) {
	
	.inside-header {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	.inside-header .site-logo {
		max-width: unset;
		padding: 0 20px;
	}

	.inside-header .header-widget {
		margin-right: 0;
		margin-left: 0;
	}

	.inside-header .mobile-menu-control-wrapper {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		margin-bottom: 8px;
		width: 100%;
	}

	.main-navigation .menu-toggle,
	.main-navigation .menu-toggle:hover,
	.main-navigation .menu-toggle:focus,
	.main-navigation #site-navigation.toggled {
		-webkit-box-flex: 0;
		    -ms-flex-positive: 0;
		        flex-grow: 0;
		padding-right: 20px;
	}

	.has-inline-mobile-toggle #site-navigation.has-active-search .navigation-search input {
		width: 100%;
	}
	
	/* 6-30-24 */
	
	.footer-widget-2 p {
		font-size: 18px;
	}
	
	
	
	
}

/* 6-30-24 */

@media (max-width: 1000px) and (min-width: 860px) {

	.home .alignright {
        float: none;
        margin-left: 1.5em;
		margin-right: 1.5em;
		margin-bottom: 1em;
    }
	
	
}

@media (max-width: 899px) and (min-width: 769px) {
	.main-navigation.toggled .main-nav,
	.has-inline-mobile-toggle #site-navigation.has-active-search {
		right: 50%;
		-webkit-transform: translateX(50%);
		        transform: translateX(50%);
		min-width: 50%;
	}
}

/* ------------ mobilest ------------- */


@media (max-width: 768px) {

	.inside-header {
		margin-left: 0;
		margin-right: 0;
	}

	.site-header .header-widget {
		margin-top: 0;
	}

	.main-navigation.toggled .main-nav {
		width: 100%;
	}

	.has-inline-mobile-toggle #site-navigation.has-active-search {
		right: 15px;
		left: 15px;
	}

	.home {
		font-size: 22px;
	}

	#home-title-band {
		display: none;
	}

	#home-mobile-title-band {
		display: block;
		background-color: #00b6c1;
		padding-top: 0;
	}

	#interiors-mobile-firm-name {
		display: block;
	}


	#home-mobile-title-band h1 {
		background-image: url(https://www.ekljlaw.com/wp-content/themes/generatepress-child/img/dots-3-5f-hex-on-turqoise.gif);
    	background-repeat: no-repeat;
    	background-position: 24px bottom;
		color: #fff;
		margin-left: 0;
		margin-bottom: 0;
    	padding-top: 30px;
    	padding-bottom: 20px;
     	padding-left: 50px;
		text-transform: uppercase;
	}
	
	
	/* 6-4-24 padding added so we retain non-space after Neils but appear to keep it */

    #home-title-band .llp,
    #home-mobile-title-band .llp {
        font-size: 21px;
        padding-left: 4px;
    }
	
	

	.home .inside-article {
		background-position-x: 24px;
    	padding-left: 44px;
	}

	.home .inside-article .entry-content p {
		max-width: unset;
	}

	.news-section {
		padding-right: 30px;
		padding-left: 16px;
	}

	.news-section-title {
		width: 120px;
	}

	.news-section-column {
		flex: 1;
		max-width: revert;
	}

	.events-slider {
		margin-left: 0;
		padding: 0 30px 30px;
	}

	.events-slider-row {
		flex-wrap: wrap;
	}

	.events-slider .slider {
		width: 100%;
	}

	.events-slider-control {
		margin-top: 1em;
	}

	.footer-widget-1 {
		display: none;
	}

	.footer-widget-2, .footer-widget-3 {
		margin-left: -10px;
		padding-top: 14px;
		font-size: 14px;
		line-height: 1.875;
		letter-spacing: -0.02em;
	}

	.site-branding {
		display: none;
	}

	/* 11-13-23 size for Chambers badge */
	
	/* 7-18-24 modified for 2 stacked */

    #media_image-4 {
        max-width: 150px;
        height: auto;
		margin-top: -27px;
    }

	/* mobile interiors starting with general */

	#interiors-mobile-firm-name {
		margin-top: 16px;
    	float: left;
    	width: 100%;
	}

	.post-image-aligned-right .inside-article .featured-image,
	.post-image-aligned-right .inside-article .post-image,
	.post-image-aligned-left .inside-article .featured-image,
	.post-image-aligned-left .inside-article .post-image {
		max-width: 100%;
	}

	.page .inside-article {
    	margin-left: 0%;
    	margin-right: 0%;
	}

	.page .entry-header h1 {
    	font-size: 28px;
	}

	#practice-areas-title-band,
	#attorneys-title-band,
	#news-title-band {
    	background-color: #00b6c1;
		min-height: 0;
		padding-top: 5px;
	}

	#title-text-container {
    	background-image: url(https://www.ekljlaw.com/wp-content/themes/generatepress-child/img/dots-14-vertical-60-opacity-turquoise-transp.gif);
    	background-repeat: no-repeat;
    	background-position: 10px 20px;
		margin: 0;
		padding-left: 30px;
		padding-right: 30px;
	}

	#upcoming-events-title-band .title-text-container {
		padding: 0 20px 30px;
	}

	#title-text-container h1 {
		padding-top: 30px;
	}

	#practice-areas-title-band h1,
	#attorneys-title-band h1,
	#news-title-band h1,
	#single-practice-title-band h1,
	#single-news-title-band h1,
	#upcoming-events-title-band h1 {
    	font-size: 32px;
		line-height: 1;
	}

	#practice-areas-title-band p,
	#attorneys-title-band p,
	#news-title-band p {
    	font-size: 19px;
    	line-height: 1.25;
    	font-weight: 400;
    	width: 100%;
	}

	.post-type-archive-attorneys article,
	.post-type-archive-practice-areas article {
		-ms-flex-preferred-size: 100%;
		    flex-basis: 100%;
	}

	.post-type-archive-attorneys .inside-article,
	.post-type-archive-practice-areas .inside-article {
		padding: 20px;
	}

	.single-practice-areas .inside-article {
		margin-left: 0;
		margin-right: 0;
	}


	/* ----------- attorney bios --------------  */


	#attorney-top-container,
	#attorney-text-band {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		margin-left: 30px;
		margin-right: 30px;
	}

	#attorney-photo {
		margin-left: auto;
		margin-right: auto;
		width: auto;
	}

	#attorney-contact-info,
	#attorney-left-column,
	#attorney-right-column {
		width: 100%;
	}

	#attorney-title-band h1 {
    	font-size: 32px;
    	line-height: 1.2;
	}

	#attorney-left-column p {
		margin-bottom: 19px;
	}

	.single-attorneys .inside-article {
    	padding-left: 0px;
		padding-right: 0px;
	}

	.single-attorneys .entry-content,
	#supplementary-fields {
    	font-size: 20px;
	}

	.search-results .page-header h1,
	.search-no-results .entry-header h1 {
		font-size: 24px;
	}

	/* ----------- upcoming events --------------  */

	#upcoming-events-title-band {
		padding-right: 30px;
		padding-left: 30px;
	}

	h3.event-toggle {
		margin: 0 auto;
	}
	
	/* 6-30-24 next 2 */
	
	#contact-map {
        float: unset;
	}
	
	.page-template-page-contact .content-area {
        margin-top: 5px;
        margin-bottom: 0px;
    }
	

}

@media (max-width: 374px) {
	.news-section {
		flex-direction: column;
		padding-left: 30px;
	}

	.news-section-title {
		background-image: none;
		min-height: auto;
		width: 100%;
	}

	.news-section-title h2 {
		color: #fff;
		display: block;
	}
	
	.footer-widget-2 p {
		font-size: 14px;
	}

}

/* by David 5-2-22 */

a {
color: #02aab5;	
}
