/* global color changes */
h1, h2, h3, h4, h5, h6, p, .entry-title a, nf-section, .nf-field-label {
	color: #fff!important;
}
.more-link {
	color: #bababa!important;
	box-shadow: none!important;
	text-decoration: underline!important;
}
.site-header, .js.has-sticky-header .site-header.shrink, .home .content .entry, .blog article.entry {
	background-color: #69707F!important;
}
.page .content, .single .content, .page .content .entry, .error404 .content, .front-page-widget, .blog .site-inner, .single-post article.entry {
	background-color: #949CAC!important;
}

/* gets rid of borders */
.site-header, .hero-section, .footer-credits .wrap, .front-page-widget, .home .content .entry, .site-footer, .entry-footer {
	border: none!important;
}

/* header styling */
.site-header, .site-header.shrink {
	box-shadow: 6px 0 6px rgba(0,0,0,.5)!important;
}
/* logo */
.title-area .custom-logo-link {
	display: flex;
	height:100%;
}
.title-area {
	background-color:#1c4dae;
	clip-path: polygon(0 0,100% 0,calc(100% - 75px) calc(100% + 40px),0 calc(100% + 40px));
	height: 100%;
}
.title-area .custom-logo {
	margin: auto 0;
	padding: 0 10%;
}
@media screen and (max-width:896px) {
	.title-area {
		margin-left: -11%;
		max-width: 100%;
	}
	.custom-logo {
		max-width: 380px;
	}
	
		.site-header > .wrap {
		height: 10rem;
	}
	.menu-toggle span {
		width: 2.5rem;
	}
	.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
		height: 3px;
	}
		.menu-toggle span::before {
		top: -.8rem;
	}
	.menu-toggle span::after {
		bottom: -.8rem;
	}
}
@media screen and (max-width: 440px) {
	.title-area {
		max-width: 95%;
	}
	.custom-logo {
		max-width: 90%;
	}
}
/* sticky header */
.has-sticky-header .shrink .before-header {
	margin-top: 0;
}
.has-sticky-header .shrink #menu-top-menu li {
	max-height:40px;
}
.menu-item a {
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 1px;
}
@media screen and (min-width:896px) {
  .title-area .custom-logo {
    padding: 0 5%;
  }
	.title-area {
		position: absolute;
		top: -40px;
		height: calc(100% + 40px);
			z-index: 999;
	}
	.site-header > div:nth-child(2) {
		margin: 0;
		width: 100%;
		max-width: none;
		justify-content: space-between;
	}
	/* top menu */
	.before-header {
	  background-color: #949CAC!important;
	}
	.before-header li {
		height: 40px;
		padding: 0 2em;
		margin-left:-1.1em;
		clip-path: polygon(15px 0,100% 0,calc(100% - 15px) 99%,0 99%);
	}
	.before-header li:last-of-type {
		background-color:#8d94a2;
	}
	.before-header .wrap {
		justify-content: flex-end;
		width: 90%;
		max-width: none;
	}
			.before-header .current-menu-item {
		background-color:#eeb22b;
	}
	/* main menu */
	.site-header > .wrap {
		display: block;
	}
	#menu-main-nav {
		margin-left: 485px;
		width: calc(100% - 500px);
	}
	#menu-main-nav li:not(:last-child) {
		padding: 0 3em;
		margin-left:-3em;
		clip-path:polygon(40px 0,100% 0,calc(100% - 40px) 100%,0 100%);
	}
	#menu-main-nav .search {
		display: none;
	}
		#menu-main-nav .current-menu-item {
		background-color:#eeb22b;
	}
	.sub-menu::before {
  	display: none!important;
  }
/* 	applies to both menus */
	.before-header li:hover, #menu-main-nav li:not(:last-child):hover {
		background-color:#eb7623;
		transition:background .2s ease-in-out;
	}
	.menu-item a, .menu-item a:hover, .menu-item.current-menu-item > a {
		color: #fff!important;
	}

}
.sub-menu a {
  color:#767676;
}

/* home page slider */
.front-page-1.hero-section .wrap {
	width:100%;
	max-width: none;
}
#front-page-1, .front-page-1.hero-section .wrap {
	padding: 0;
}
@media screen and (min-width:1200px) {
	.slick-slide .slick-image {
		object-position:50% 30%!important;
	}
}
@media screen and (max-width: 560px) {
	.slick-wrap {
		height: 420px!important;
		align-items: flex-end!important;
	}
	.slick-slide .slick-image {
		object-position: center bottom!important;
	}
}

/* page title animations */
#text-3, #hero-section .wrap {
	animation-name: movingTitle;
	animation-duration: 1s;
	animation-iteration-count: 1;
	animation-timing-function: ease-out;
}
@keyframes movingTitle {
	from {margin-top:120px;opacity:0;}
	to {margin-top:0; opacity:1;}
}

/*hero section*/
.home .hero-section {
	background-position:50% 20%;
}

/* front page section 3 */
#front-page-3 {
	padding: 0;
}
#front-page-3 .wrap {
	margin: 0;
	width: 100%;
	max-width: none;
}
#text-7 .textwidget, #text-9 .textwidget {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
}
#text-7 .textwidget{
  background-color: #69707F;
}
#text-9 .textwidget {
  background-color: #727988;
}
#text-7 .textwidget div, #text-9 .textwidget div:last-of-type {
	min-width: 30%;
	background-size: cover;
	background-position: top;
}
#text-7 .textwidget div{
  min-height: 400px;
	background-image: url("/wp-content/uploads/2021/12/IMG_0930-2.jpg");
}
#text-9 .textwidget div:last-of-type {
  min-height: 600px;
	background-image: url("/wp-content/uploads/2021/12/albany-court-of-appeals.jpg");
}
#text-7 .textwidget p, #text-9 .textwidget div:first-of-type {
	padding:5%;
	margin: 0;
}
@media screen and (max-width: 896px) {
	#text-7 .textwidget {
		flex-direction: column;
	}
	#text-9 .textwidget {
	  flex-direction: column-reverse;
	}
	#text-7 .textwidget div, #text-9 .textwidget div:last-of-type {
		min-width: 100%;
	}
	#text-9 .textwidget div:last-of-type {
	  min-height: 400px;
	}
	#text-7 .textwidget p, #text-9 .textwidget div:first-of-type {
		padding: 8%;
	}
}

/* gets rid of odd space below header */
.blog .content {
	padding: 0;
}
/*fixes weird spacing in mobile navigation*/
#menu-top-menu {
  padding: 0;
}

/* fixes margin problem on front page */
.front-page-2 .widget-wrap {
	width: 100%;
	max-width:100%;
	margin:0;
}
@media screen and (max-width:750px){
	.front-page-2 .widget-wrap {
		width: 90%;
		max-width:90%;
		margin:auto;
	}
}

/* buttons */
.button, input[type=button] {
	border-radius: 2px;
}

/* all page content */
.page .content {
  padding: 1em;
}

/* grid on "Practices" page */
#practiceGrid {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
}
#practiceGrid div:nth-child(even) {
	background-color:#69707F;
}
#practiceGrid div:nth-child(odd) {
	background-color:#727988;
}
.practiceBlock {
	width: 100%;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content:space-between;
}
.practiceBlock h3{
	padding: 0;
}
.practiceBlock .button {
	width:100%;
	text-align: center;
}
@media screen and (min-width:1140px) {
	.practiceBlock {
		width: 33%;
	}
}@media screen and (max-width:1140px) {
  .practiceBlock.empty {
    display: none;
  }
}

/* "people" child pages */
.peopleBlock {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 24px;
	width: 100%;
}
.peopleContact {
	background-color: #69707F;
}
.peopleContact h4 {
	padding-top: 0;
	color: #6e6e6e;
}
.peopleContact .button {
	width: 100%;
	text-align: center;
	padding: 0 1em;
}
.peopleContact i {
	margin-right:6px;
}
.peopleDesc {
	margin-bottom: 48px;
}
@media screen and (min-width:600px) {
	.peopleImg {
		width: 40%;
	}
	.peopleContact {
		width: 60%;
		padding: 48px;
	}
	.peopleContact .button:first-of-type {
    margin-bottom:12px;
  }
}
@media screen and (max-width:600px) {
	.peopleBlock div {
		width: 100%;
		min-height: 300px;
	}
	.peopleContact {
		padding: 12px;
	}
	.peopleContact .button {
		padding: 0 .5em;
	}
}

/* "people" parent page */
article[aria-label="People"] .entry-content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.partner, .partnerPic a {
	width: 100%;
}
.partner {
	margin: .6em 0;
}
.paartnerPic {
	min-height:400px;
}
.partnerBlurb {
	padding: 1.5em;
	min-height: 250px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.partner:nth-child(even) {
	background-color:#69707F;
}
.partner:nth-child(odd) {
	background-color:#727988;
}
.partnerBlurb .button {
	width:100%;
	text-align: center;
}
@media screen and (min-width:896px){
	.partner {
		width: 32%;
	}
	.partnerPic, .partnerOverlay {
		min-height: 360px;
	}
	.abigail, .kara {
		background-position: 50% 30%!important;
	}
	.partnerBlurb {
		min-height: 400px;
	}
}
.peopleImg, .partnerPic {
	background-size: cover;
}
.stephen {
	background-image:url("/wp-content/uploads/2021/12/IMG_0929-2.jpg");
	background-position: top;
}
.abigail, .kara {
  background-position: center;
}
.abigail {
	background-image:url("/wp-content/uploads/2021/12/IMG_0926-2.jpg");
}
.kara {
	background-image:url("/wp-content/uploads/2021/12/IMG_0925-2.jpg");
}
.partnerOverlay {
	padding: 24px;
	height: 100%;
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	transition: all 0.3s ease;
	background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 75%);
}
.partnerOverlay h3, .partnerPic p {
	color: #fff;
	margin: 0;
}
.partnerPic a {
	text-decoration: none;
}
.partnerOverlay:hover {
	background-color: rgba(29,83,189,.5);
	transition: all 0.3s ease;
}

/* contact form  */
.wpforms-field-label {
	color: #fff;
}
div.wpforms-container-full .wpforms-form button[type="submit"] {
	background-color: #1C4DAE;
	color: #fff;
	border: none;
	padding: 0 30px;
}

/* news page */
.blog .content {
	margin-top: 24px;
}
.blog .content .entry {
	border: none;
}

/* footer */
#text-21 {
	margin-right: 24px;
}
.footer-credits .wrap {
padding: 4rem 1.5rem;
}
@media screen and (min-width:1094px) {
	.footer-credits .wrap {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
}