/* CSS Document */

/*
Theme Name: Generatepress Child
Theme URI: https://wordpress.org/themes/generatepress/
Description: Generatepress Child Theme for Dev 4 site, Stevens Becker P.C.
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: 'Nunito Sans', sans-serif;

*/

/* colors

periwinkle blue for homepage band et al: #6991c3;
periwinkle blue for type - a little darker: #5f87b8;
beige for flat color behind logo (left transparent on homepage): #e5e0da;
dark beige for Stevens: #8b8682;
dark beige for type - a little darker: #7c7672;

*/

body {
	background-color: #fff;
}


p, h1, h2 {
	font-family: 'Nunito Sans', sans-serif;
}

p {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 20px;
	line-height: 1.65em;
}

a {
	color: #2b5287;
}

#practice-super-header {
	display: none;
}

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

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

.home .site-content {
	margin-bottom: 0px;
	background-color: #6991c3;
}

.page-template-default .content-area {
    max-width: 1200px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.home .content-area {
    max-width: 100%;
	width: 100%;
    margin-left: auto;
    margin-right: auto;
	padding-left: 0px;
	padding-right: 0px;
}


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

#home-hero {
    position: relative;
	z-index: 0;
	margin-bottom: 0px;
}

#home-hero img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

#home-front-layer {
	position: relative;
	z-index: 1;
	margin-top: -23em;
    margin-left: 65%;
}

#home-logo {
	margin-left: -36px;
	margin-bottom: 56px;
}

#home-logo h1 img {
	width: 58%;
	height: auto;
}

#home-tagline {
	
}

#home-tagline h2 {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 2.2rem;
}

.first-phrase {
	color: #7c7672;
	animation: fadeIn 5s;
      -webkit-animation: fadeIn 5s;
      -moz-animation: fadeIn 5s;
      -o-animation: fadeIn 5s;
      -ms-animation: fadeIn 5s;
}

.second-phrase {
	color: #5f87b8;
	animation: fadeIn 8.5s;
      -webkit-animation: fadeIn 8.5s;
      -moz-animation: fadeIn 8.5s;
      -o-animation: fadeIn 8.5s;
      -ms-animation: fadeIn 8.5s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-o-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.home .inside-article {
    position: relative;
    z-index: 1;
    margin-top: 13em;
    background-color: #6991c3;
}

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

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

.home .entry-content {
	width: 1250px;
	margin: -120px auto 40px auto;
}

.home .entry-content p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 27px;
    line-height: 1.65em;
    color: white;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* attorney bio -- archive on this project not public unless lawyers added later */
/* from Yang */


.single-attorneys .site-main {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

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

.single-attorneys .grid-container,
.post-type-archive-practice-areas .grid-container,
.single-practice-areas .grid-container,
.page-template-default .grid-container {
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}



.single-attorneys .site-content {
	
	
}


.single-attorneys .site-content .content-area {
	width: 100%;
	/* width: 1200px; */
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 45px;
}

#attorney-bio-masthead {
    background-image: url("img/wide-beige-arc-window-2400x781-100q.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position-x: center;
	background-position-y: top;
	/* background-color: rgb(255 255 255 / 80%); */
	/* float: left; */
	width: 100%;
	margin-top: -2px;
	margin-bottom: 0px;
	padding-top: 140px;
	padding-left: 120px;
	padding-right: 120px;
}

#attorney-vitals {
	background-color: rgb(255 255 255 / 70%);
	/*border-top: solid 3.5px rgb(255 255 255 / 96%);
	border-right: solid 3.5px rgb(255 255 255 / 96%);
	border-left: solid 3.5px rgb(255 255 255 / 96%);*/
	display: grid;
	grid-template-columns: 55% 45%;
	grid-template-rows: repeat(2, auto);
	min-height: 380px;
	/* margin-top: 140px; */
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
	width: 100%;
}

#bio-contact-left {
	margin-top: 56px;
	width: 70%;
}

.single-attorneys h1 {
    /* width: 90%; */
    font-weight: unset;
    grid-area: 1 / 1 / 2 / 2;
    line-height: unset;
    margin-top: 72px;
    /* margin-left: 5%; */
    /* margin-right: 5%; */
    font-family: 'Nunito Sans', sans-serif;
    font-size: 56px;
    color: #6d91bf;
    margin-bottom: 20px;
    text-transform: none;
    text-align: center;
    letter-spacing: -0.02em;
}

.middle-name {
	color: #8b8682;
}

/*.display-name-first {
	text-align: right;
	font-size: 92px;
	line-height: 92px;
	font-weight: 200;
	text-transform: uppercase;
}

.display-name-last {
	text-align: right;
	font-size: 98px;
	line-height: 88px;
	font-weight: 300;
	text-transform: uppercase;
}*/

#attorney-vitals .attorney-contact {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	grid-area: 2 / 1 / 3 / 2;
	margin-left: 5%;
	margin-right: 5%;
	padding-bottom: 1.5em;
}

p.clear-type {
	/*background: linear-gradient(208deg, #05060a, #274b69);*/
	font-family: 'Nunito Sans', sans-serif;
	color: #8b8682;
	text-align: center;
	margin-bottom: 0;
	padding: 6px 6px 10px;
	/* width: 90%; */
	z-index: 1;
	font-size: 28px;
}

p.clear-type a {
	color: #8b8682;
	text-decoration: none;
}

p.clear-type a:hover {
	color: #8b8682;
	border-bottom: solid .9px #8b8682;
}

.blue-bar {
	background-color: #6d91bf;
}

p.blue-bar {
	font-family: 'Nunito Sans', sans-serif;
	text-align: center;
	font-size: 24px;
}

p.blue-bar a {
	color: #eee;
	text-decoration: none;
}

p.blue-bar a:hover {
	color: #fff;
	border-bottom: solid .9px #fff;
}

#bio-contact-photo {
	grid-area: 1 / 2 / 3 / 3;
	/* width: 30%; */
	overflow: hidden;
}

#bio-contact-photo img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.single-attorneys .entry-content {
	/*margin-top: 0px; */
	/* float: left; */
	max-width: 1200px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	/* padding-top: 40px; */
	padding-right: 40px;
	padding-left: 40px;
}

/* this is needed to prevent white floating bar at the top */

.single-attorneys /*.separate-containers*/ .inside-article {
	background-color: rgb(255 255 255 / 0%);
}


#bio-supplemental-fields {
	border-top: solid 2.5px #c4aa70;
	/* float: left; */
	width: 80%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 16px;
	padding-left: 40px;
	padding-right: 40px;
}


#bio-supplemental-fields p {
	margin-bottom: 10px;
}

#bio-supplemental-fields h3 {
	color: #354f5c;
	margin-top: 30px;
}

#supplemental-left {
	float: left;
	width: 52%;
}

#supplemental-right {
	float: left;
	width: 48%;
}


/* practice areas */


.post-type-archive-practice-areas #practice-super-header {
	display: inline-block;
	width: 100%;
	height: 400px;
	background-color: #f2ece8;
    background-image: url("img/bay-bridge-2-on-#f2ece8-712x842.jpg");
    background-repeat: no-repeat;
    background-size: 40%;
    background-position-x: right;
}

.post-type-archive-practice-areas #practice-super-header h1 {
	max-width: 1200px;
	width: 80%;
	margin: 48px auto 22px auto;
	text-align: center;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 56px;
	font-weight: 400;
	color: #294592;
}

.post-type-archive-practice-areas #practice-super-header h2 {
	max-width: 1200px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 25px;
	line-height: 2em;
	font-weight: 400;
	color: #222;
}

.post-type-archive-practice-areas .page-header {
	display: none;
}

.post-type-archive-practice-areas .content-area {
	max-width: 1260px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 30px;
	padding-right: 30px;
}


.post-type-archive-practice-areas .inside-article {
	box-sizing: border-box;
	border-bottom: solid .9px #222;
    float: left;
    padding-left: 0px;
    padding-right: 0px;
    width: calc(100% / 2);
    max-width: 45%;
    min-height: 320px;
    margin-top: 0px;
    margin-right: 2.5%;
    margin-bottom: 35px;
    margin-left: 2.5%;
}

.post-type-archive-practice-areas .entry-header {

}



.post-type-archive-practice-areas .entry-header h2 {
	font-size: 32px;
	margin-bottom: 14px;
    padding: 4px 14px 5px 14px;
	background-color: #6e91c0;
    border-left: solid 4px #c9b8ad;
}

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

.post-type-archive-practice-areas h2 a:hover {
	color: tan;
}


.post-type-archive-practice-areas .read-more-container {
	margin-top: -20px;
	font-size: 18px;
}

.post-type-archive-practice-areas .read-more-container a {
	text-decoration: none;
	border-bottom: solid .9px #294592;
}

.post-type-archive-practice-areas .read-more-container a:hover {
	color: #222;
	border-bottom: solid .9px #222;
}


.single-practice-areas .content-area {
	max-width: 1200px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 40px;
	padding-right: 40px;
}


#practice-left {
	float: left;
	width: 68%;
	margin-right: 3%;
}


#practice-sub-nav {
	float: left;
    width: 27%;
    margin-top: 50px;
    background-color: #6e91c0;
    border-radius: 0px 0px 25px 0px;
    border-top: solid 5px #cab9ad;
}

#practice-sub-nav h3 {
	font-family: 'Nunito Sans', sans-serif;
    font-size: 30px;
    margin: 30px 20px 24px 30px;
    line-height: 1.2em;
    font-weight: 500;
    text-transform: none;
    color: tan; /* was #c9b8ad */
}

#practice-sub-nav h3 a {
	text-decoration: none;
	color: tan;
}

#practice-sub-nav h3 a:hover {
	color: #c9b8ad;
	border-bottom: solid .9px #c9b8ad;
}

ul.singles-practices-list li {
    list-style: none;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 24px;
	line-height: 35px;
    margin-left: -20px;
    margin-bottom: 18px;
}

ul.singles-practices-list li a {
    color: #eee;
    text-decoration: none;
}

ul.singles-practices-list li a:hover {
    color: #fff;
    border-bottom: solid .9px #fff;
}

#representative-matters {
    border-top: solid #c9b8ad 3px;
    padding-top: 26px;
    margin-left: 40px;
}

#representative-matters ul li {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 21px;
	line-height: 1.6em;
	margin-left: -40px;
	margin-bottom: 12px;
}

/* general pages */




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

.page-template-default .entry-header h1,
.page-template-page-contact .entry-header h1 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 40px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #0e68af;
}







/* company page */

.page-template-page-company #company-left {
	float: left;
	width: 38%;
	margin-right: 7%;
}

.page-template-page-company #company-right {
	width: 54%;
	float: left;
}

.page-template-page-company .inside-article {
	padding: 0px 0px 0px 0px;
}

.page-template-page-company .entry-header h1,
.page-template-page-contact .entry-header h1 {
	color: white;
    background-color: #284590;
    width: fit-content;
    padding: 4px 16px 5px 16px;
	font-weight: 300;
	text-transform: none;
}

/* contact page */

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

#contact-top {
	width: 100%;
	float: left;
}

#floating-name {
	float: left;
	margin-right: 60px;
}

#address {
	float: left;
}

#contact-bottom {
	width: 100%;
	float: left;
	margin-top: 1em;
	border-top: solid 4px #1c356b;
	padding-top: 18px;
}


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

	.home .entry-content {
        width: unset;
        margin: -110px auto 40px auto;
    }
	
	.home .entry-content p {
        font-family: 'Nunito Sans', sans-serif;
        font-size: 22px;
        line-height: 1.65em;
        color: white;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
	
	.single-attorneys .entry-content {
        margin-top: 10px; /* no float */
        max-width: unset;
        width: 92%;
        margin-left: auto;
        margin-right: auto;
        padding-right: 40px;
        padding-left: 40px;
    }
	
	.post-type-archive-practice-areas #practice-super-header {
        display: inline-block;
        width: 100%;
        height: 375px;
        background-color: #f2ece8;
    }
	
	
	.post-type-archive-practice-areas #practice-super-header h1 {
        max-width: 1200px;
        width: 80%;
        margin: 48px auto 22px auto;
        text-align: center;
        font-family: 'Nunito Sans', sans-serif;
        font-size: 50px;
        font-weight: 400;
        color: #294592;
    }
	
	.post-type-archive-practice-areas #practice-super-header h2 {
        max-width: 1200px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        font-family: 'Nunito Sans', sans-serif;
        font-size: 21px;
        line-height: 1.75em;
        font-weight: 400;
        color: #222;
    }
	
	.post-type-archive-practice-areas .content-area {
        max-width: 1260px;
        width: 94%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 30px;
        padding-right: 30px;
    }
	
	
	.post-type-archive-practice-areas .entry-header h2 {
      font-size: 28px;
      margin-bottom: 14px;
      padding: 4px 14px 5px 14px;
      background-color: #6e91c0;
      border-left: solid 4px #c9b8ad;
  }
	
	.single-practice-areas .content-area {
      max-width: 1200px;
      width: 94%;
      margin-left: auto;
      margin-right: auto;
      padding-left: 0px;
      padding-right: 0px;
  }
	
	#representative-matters ul li {
      font-family: 'Nunito Sans', sans-serif;
      font-size: 20px;
      line-height: 1.6em;
      margin-left: -40px;
      margin-bottom: 12px;
  }
	
	#practice-sub-nav h3 {
      font-family: 'Nunito Sans', sans-serif;
      font-size: 28px;
      margin: 30px 20px 24px 30px;
      line-height: 1.2em;
      font-weight: 500;
      text-transform: none;
      color: tan;
  }
	
	ul.singles-practices-list li {
      list-style: none;
      font-family: 'Nunito Sans', sans-serif;
      font-size: 22px;
      line-height: 31px;
      margin-left: -20px;
      margin-bottom: 18px;
  }
	
	
	
}

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

    
	
	
}

@media only screen and (max-width: 768px) {
	
	
	#home-logo {
        display: none;
    }
	
	#home-front-layer {
        position: relative;
        z-index: 1;
        margin-top: -10em;
        margin-left: 60%;
    }
	
	#home-tagline h2 {
        font-family: 'Nunito Sans', sans-serif;
        font-size: 1.45rem;
    }

	/* mobile bio */
	
	#attorney-bio-masthead {
        background-image: url(img/wide-beige-arc-window-2400x781-100q.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: center;
        background-position-y: top;
        /* background-color: rgb(255 255 255 / 80%); */
        /* float: left; */
        width: 100%;
        margin-top: -2px;
        margin-bottom: 0px;
        padding-top: 140px;
        padding-left: 0px;
        padding-right: 0px;
    }
	
	.single-attorneys h1 {
        font-size: 48px; /* fill in rest */
    }
	
	#bio-contact-photo img {
        display: block;
        height: 90%;
        object-fit: cover;
        width: 100%;
    }
	
	.single-attorneys .entry-content {
        margin-top: 10px;
        max-width: unset;
        width: 92%;
        margin-left: auto;
        margin-right: auto;
        padding-right: 0px;
        padding-left: 0px;
    }
	
	#bio-supplemental-fields {
        border-top: solid 2.5px #c4aa70;
        /* float: left; */
        width: 80%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 16px;
        padding-left: 0px;
        padding-right: 0px;
    }
	
	.post-type-archive-practice-areas #practice-super-header {
        display: inline-block;
        width: 100%;
        height: 525px;
        background-color: #f2ece8;
    }
	
	
	.post-type-archive-practice-areas .inside-article {
        box-sizing: border-box;
        border-bottom: solid .9px #222;
        float: left;
        padding-left: 0px;
        padding-right: 0px;
        width: calc(100% / 1);
        max-width: 100%;
        min-height: unset;
        margin-top: 0px;
        margin-right: 2.5%;
        margin-bottom: 35px;
        margin-left: 2.5%;
    }
	
	#practice-left {
        float: unset;
        width: 100%;
        margin-right: 3%;
    }

	#practice-sub-nav {
        float: unset;
        width: 100%;
        margin-top: 50px;
        background-color: #6e91c0;
        border-radius: 0px 0px 25px 0px;
        border-top: solid 5px #cab9ad;
    }
	
	.page-template-default .inside-article {
        padding: 20px 0px 20px 0px	
	}
	
	
	
}
