/* CSS Document */

/*
Theme Name: Generatepress Child
Theme URI: https://wordpress.org/themes/generatepress/
Description: Generatepress Child Theme for Dev 2 Law Firm Websites - Kevin Napper 2025
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 -- Napper

font-family: 'Bebas Neue', sans-serif;
font-family: 'League Gothic', sans-serif;
font-family: 'Libre Baskerville', serif;


*/

/* colors

medium blue for homepage #185991;

*/

body {
	background-color: #fff;
}

#footer-widgets {
	background-color: #000;
}

h1, h2 {
    font-family: 'Bebas Neue', sans-serif;
}

p {
    font-family: 'Libre Baskerville', serif;
	font-size: 20px;
	line-height: 1.65em;
}

a {
	color: #2b5287;
}

.site-header {
	margin-bottom: 0px;
}

.site-content {
	margin-bottom: 0px;
	background-color: white;
}

.footer-widget-1,
.footer-widget-2 {
	font-size: 16px;
	line-height: 1.5em;
	font-weight: 300;
}

.footer-widget-3 img {
	width: 200px;
	height: auto;
}

.footer-widgets a {
	text-decoration: none;
}

.footer-widgets a:hover {
	color: #eee;
	border-bottom: solid .9px #eee;
}

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

.home .site-header {
	width: 1250px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 25px;
	padding-right: 25px;
}

.grid-container {
	max-width: 1200px;
}

#napper-main {
	width: 100%;
}

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

.home .inside-article {
    padding-top: 10px;
	background-color: #241f20;
}

.home .entry-content {
	background-color: #241f20;
    height: 575px;
}

.home .entry-content p img {
    width: 30%;
    height: auto;
    margin-top: -50px;
    margin-right: 60px;
    border-top: none;
    border-right: solid white 14px;
    border-bottom: solid white 14px;
    border-left: solid white 14px;
}

.home .entry-content p {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    color: #fff;
    line-height: 2.5em;
	width: 81%; /* was 1250px */
	margin-left: auto;
	margin-right: auto;
	padding-left: 82px;
	padding-right: 82px;
}

.home .entry-content p a {
	color: #eee;
	text-decoration: none;
	border-bottom: solid .9px gray;
}

.home .entry-content p a:hover {
	color: #fff;
	border-bottom: solid .9px #fff;
}

.home .special {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: white;
    background: none;
    margin-left: 0px;
	padding: 0px 0px 0px 0px;
}

.home .entry-content p strong {
    font-size: 21px;
    line-height: 2em;
    color: #185991; /* was white when we reversed color emphasis */
    /* margin-top: 0px; */
}




#home-news-block {
    width: 100%;
    height: 300px;
    padding-top: 0px;
    margin-top: -20px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
	background-image: url(https://kevinnapperlaw.com/wp-content/themes/generatepress-child/img/news_header.jpg);
	background-repeat: no-repeat;
}

ul.homepage-news-list {
    max-width: 1250px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
}


ul.homepage-news-list li {
    background-color: #000000a3;
    box-sizing: border-box;
    float: left;
    text-align: left;
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
    width: calc(100% / 2);
    max-width: 35%;
    /* min-height: 475px; */
    margin-top: 20px;
    margin-right: 5%;
    margin-bottom: 35px;
    margin-left: 5%;
    list-style: none;
    line-height: 2em;
}


ul.homepage-news-list li:nth-of-type(4n+3),
ul.homepage-news-list li:nth-of-type(4n+4) {
    border-top: solid .9px gray;
}

.homepage-news-title img {
	max-width: 80%;
	margin-bottom: 20px;
}


.homepage-news-title h3 {
	font-family: 'Libre Baskerville', serif;
	text-transform: uppercase;
	padding-left: 12px;
	padding-right: 12px;
}

.homepage-news-title h3 a {
    font-size: 16px;
    line-height: 1.2em;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
	margin-bottom: 14px;
}

.homepage-news-title a:hover {
	color: #222;
	border-bottom: solid .9px #222;
}

.homepage-news-title p,
.home-date {
	margin-top: 14px;
	color: white;
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
	padding: 0px 12px 14px 12px;
}

/* 10-13-25: using wp customize to create header widgets for practices archive and blog landing page
these are hard to control */

.header-widget #custom_html-5,
.header-widget #custom_html-7 {
	display: none;
}




/* general pages */

/* super headers shown or hidden in header.php for particular pages */

#bio-super-header,
#cases-super-header,
#news-super-header,
#contact-super-header {
	display: none;
	height: 300px;
	background-color: black;
	width: 2400px;
	margin-left: -50%;
	margin-right: -50%;
	margin-bottom: 12px;
}


#bio-super-header p,
#cases-super-header p,
#news-super-header p,
#contact-super-header p {
	text-align: center;
	color: white;
}



.single-attorneys #bio-super-header,
.page-id-725 #cases-super-header,
.blog #news-super-header,
.page-template-page-contact #contact-super-header {
	display: inline-block;
}

.single-attorneys #bio-super-header p img,
.page-id-725 #cases-super-header p img {
    height: auto;
    max-width: 100%;
    border-right: solid 16px white;
    border-left: solid 16px white;
}

.blog #news-super-header {
	background-image: url(https://kevinnapperlaw.com/wp-content/themes/generatepress-child/img/news_page.jpg);
	background-repeat: no-repeat;
	background-position: center center;
}

.page-template-page-contact #contact-super-header p img {
    width: 700px;
    height: auto;
    margin-top: 110px;
}

/* end super-headers block */


.page-template-default .entry-header,
.page-template-page-contact .entry-header {
	/*display: none;*/
}

.page-template-default .entry-content {
    margin-top: 2em;
    margin-right: 2em;
    margin-bottom: 1em;
    margin-left: 0px;
}

/* cases page */

.page-template-page-cases #cases-list {
	float: left;
	width: 100%;
	margin: 10px 40px 40px 40px;
	column-count: 2;
}

.page-template-page-cases #cases-list p {
    font-family: 'Libre Baskerville', serif;
    font-size: 17px;
    line-height: 1.75em;
    padding-right: 30px;
}

.page-template-page-cases #cases-list em strong {
	font-size: 18px;
}



.page-template-default .entry-header h1,
.page-template-page-contact .entry-header h1 {
	/*font-family: 'Bebas Neue', sans-serif;*/
    font-family: 'League Gothic', sans-serif;
	font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 14px;
    color: #000;
}


/* attorney archive */

.post-type-archive-attorneys .entry-header {
	display: none;
}

.post-type-archive-attorneys .inside-article {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 30%;
    float: left;
    margin-bottom: 60px;
    margin-left: 2.5%;
    padding-top: 0px;
    padding-right: 10px;
    padding-bottom: 0px;
    padding-left: 10px;
}

.post-type-archive-attorneys h2 a {
	text-decoration: none;
}


/* remove next styles which were from gyfb-style page

.post-type-archive-attorneys .site-main {
	min-height: 500px;
}

.post-type-archive-attorneys .inside-article {
    border-bottom: solid 1px #cbcbcb;
    display: flex;
    align-items: baseline;
    font-weight: 300;
    font-size: 21px;
    margin-left: 40px;
    margin-right: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
}


.contact {
	width: 86%;
	margin-left: 7%;
	margin-right: 7%;
}

.contact ul {
	list-style: none;
}

.contact ul li {
    font-family: 'Wix Madefor Text', sans-serif;
    font-size: 20px;
	line-height: 1em;
	width: 30%;
}

.contact ul li a {
	color: #2b5287;
	text-decoration: none;
}

.contact ul li a:hover {
	color: #2b5287;
    border-bottom: solid .9px #2b5287;
}


.name-column {
	float: left;
	margin-right: 5%;
}

.phone-column {
	float: left;
	margin-right: 5%;
}

.email-column {
	float: left;
}

*/

/* single person */

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

#bio-left {
	float: left;
    width: 28%;
	margin-left: 3.5%;
}

/* #bio-photo {
	max-width: 95%;
    border: solid white 12px;
	background-color: white;
    margin-top: -74px;
	margin-left: -12px;
	margin-bottom: 0px;
} */

#left-fields h1 {
	font-family: 'Wix Madefor Text', sans-serif;
	font-size: 32px;
	line-height: 1.5em;
	font-weight: 800;
	color: #344d71;
	letter-spacing: -0.015em;
	margin-bottom: 8px;
}
	
#left-fields h2 {
	text-transform: uppercase;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin-bottom: 5px;
}

#left-fields p {
    font-family: 'League Gothic', sans-serif;
    font-size: 28px;
    letter-spacing: 0.065em;
    line-height: 1.85em;
}

#left-fields p a {
    color: black;
	text-decoration: none;
}

#left-fields p a:hover {
    color: gray;
}

#left-fields h3 {
	text-transform: uppercase;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: 0.02em;
}


#left-fields ul {
    font-family: 'Wix Madefor Text', sans-serif;
	list-style: none;
	margin-top: 20px;
	margin-left: 0px;
}


#left-fields ul li {
	font-size: 20px;
	line-height: 1.65em;
	margin-bottom: 20px;
}

#left-fields ul li a {
	text-decoration: none;
	color: black;
}

#left-fields ul li a:hover {
	color: #344d71;
    border-bottom: solid .9px #344d71;
}

#left-fields .vcard {
    color: black;
    border: solid 6px black;
    /* background: #344d71; */
    font-size: 24px;
    text-align: center;
    width: 50%;
    margin-top: 8px;
    padding-top: 2px;
    padding-right: 8px;
    padding-bottom: 2px;
    padding-left: 2px;
}

#left-fields .vcard a {
	text-decoration: none;
	color: black;
}


#left-fields .vcard a:hover {
	color: #666;
}

#bio-right {
	float: left;
	width: 68%;
}

#bio-right h1 {
    font-family: 'Bebas Neue', sans-serif;
    /* font-family: 'League Gothic', sans-serif; */
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    float: left;
    margin-top: 40px;
    margin-bottom: 10px;
    margin-left: -40px;
    /* padding-bottom: 30px; */
    height: 30px;
}

.special {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: white;
    background: black;
    margin-left: -40px;
    padding-top: 2px;
    padding-right: 8px;
    padding-bottom: 2px;
    padding-left: 8px;
}

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

.single-attorneys .entry-content ul li {
	font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    line-height: 1.65em;
	margin-bottom: 20px;
}

/* blog */

.blog #blog-super-header p {
    font-family: 'Wix Madefor Text', sans-serif;
    color: black;
	font-weight: 300;
	font-size: 22px;
}

.blog .inside-article {
	border-bottom: solid .9px darkgray;
}

.blog .post-image {
	max-width: 420px;
	height: auto;
	pointer-events: none;
}

.blog .entry-title {
	margin-top: 20px;
	pointer-events: none;
}

.blog .byline,
.blog footer {
	display: none;
}

.blog .posted-on {
	font-size: 18px;
	margin-top: 8px;
}

/* posts, even tho these are not publicly linked, they may be seen */

.comments-area {
	display: none;
}

/* contact page */

.page-template-page-contact .content-area {
	margin-top: 2em;
}

.page-template-page-contact .entry-content {
	
}

.page-template-page-contact .inside-article {
	text-align: center;
}

#office-map {
	width: 100%;
	float: left;
	
}

@media only screen and (max-width: 1200px) {

	.home .entry-content p {
        font-family: 'Libre Baskerville', serif;
        font-size: 18px;
        color: #fff;
        line-height: 2.5em;
        width: 94%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 5px;
        padding-right: 5px;
    }
	
	
}

@media only screen and (max-width: 1080px) {

	
	
}

@media only screen and (max-width: 768px) {
	
	
	
	
	/* super headers shown or hidden in header.php for particular pages */
	
	/* mobile variations */

    #bio-super-header,
    #cases-super-header,
    #news-super-header,
    #contact-super-header {
        display: none;
        height: 300px;
        background-color: black;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 12px;
    }


    #bio-super-header p,
    #cases-super-header p,
    #news-super-header p,
    #contact-super-header p {
        text-align: center;
        color: white;
    }



    .single-attorneys #bio-super-header,
    .page-id-725 #cases-super-header,
    .blog #news-super-header,
    .page-template-page-contact #contact-super-header {
        display: inline-block;
    }

    .single-attorneys #bio-super-header p img,
    .page-id-725 #cases-super-header p img {
        height: auto;
        max-width: 100%;
        border-right: solid 16px white;
        border-left: solid 16px white;
    }

    .blog #news-super-header {
        background-image: url(https://kevinnapperlaw.com/wp-content/themes/generatepress-child/img/news_page.jpg);
        background-repeat: no-repeat;
        background-position: center center;
    }

    .page-template-page-contact #contact-super-header p img {
        width: 700px;
        height: auto;
        margin-top: 110px;
    }

    /* end super-headers block */
	
	
	.home .site-header {
        width: unset;
        margin-left: auto;
        margin-right: auto;
        padding-left: 25px;
        padding-right: 25px;
    }
	
	.home .entry-content {
        background-color: #241f20;
        height: unset;
		margin-left: 0em;
		margin-right: 0em;
    }
	
	
	
    .home .entry-content p {
        font-family: 'Liberty Baskerville', serif;
        font-size: 20px;
        color: #fff;
        line-height: 1.65em;
        padding: 0px;
        margin-top: -1em;
        margin-right: 0.7em;
        margin-bottom: 2em;
        margin-left: 0.7em;
    }
	
	.home .entry-content p img {
        width: 100%;
        height: auto;
        margin-top: 0px;
        border-top: none;
        border-right: solid white 7px;
        border-bottom: solid white 7px;
        border-left: solid white 7px;
    }

	
	#home-news-block {
        width: 100%;
        height: unset;
        padding-top: 0px;
        margin-top: -20px;
        margin-right: auto;
        margin-bottom: 0px;
        margin-left: auto;
        background-image: url(https://kevinnapperlaw.com/wp-content/themes/generatepress-child/img/news_header.jpg);
        background-repeat: no-repeat;
        background-size: 160%;
    }
	
	
	ul.homepage-news-list li {
        box-sizing: unset;
        float: unset;
        text-align: left;
        padding-top: 26px;
        padding-left: 0px;
        padding-right: 0px;
        width: 100%;
        max-width: 100%;
        min-height: unset;
        margin-top: 0px;
        margin-right: 5%;
        margin-bottom: 35px;
        margin-left: 5%;
        list-style: none;
        line-height: 2em;
    }
	
	
	
	
	
	
	
	
	.contact {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
	
	.contact ul li {
        font-family: 'Wix Madefor Text', sans-serif;
        font-size: 20px;
        line-height: 1em;
        width: 100%;
    }
	
	
	/* mobile bio */
	
	#bio-left {
        float: unset;
        width: 100%;
        margin-left: 3.5%;
    }
	
	#bio-photo img {
        height: auto;
        max-width: 60%;
    }
	
	#bio-right {
        float: unset;
        width: 100%;
    }
	
	#bio-right h1 {
        font-family: 'Bebas Neue', sans-serif;
        /* font-family: 'League Gothic', sans-serif; */
        font-size: 38px;
        text-transform: uppercase;
        letter-spacing: 0.26em;
        /* float: left; */
        margin-top: 40px;
        margin-bottom: 0px;
        margin-left: 30px;
        /* padding-bottom: 30px; */
        height: unset;
    }
	
	.page-template-page-cases #cases-list {
        float: left;
        width: 100%;
        margin: 10px 40px 40px 40px;
        column-count: 1;
    }
	
	
}
