/*
Theme Name:   Ain & Bank
Theme URI:    http://dlsdesign.com/
Description:  Twenty Fifteen Child Theme
Template:     twentyfifteen
Version:      1.0.0
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  twenty-fifteen-child
*/




/* PARENT OVERRIDES */
html, body {
	height: 100%;
	background-color: rgb(68, 84, 103);
}

body:before {
	content: none;
}

.site {
	max-width: none;
}

.site-header {
	background: #15192d;
	margin: 0 auto 0 auto;
	padding: 0;
}

.header-wrap-front {
	background-color: #151a33;
	/*padding: 20% 0 10% 0;*/
	margin: 0 auto 0 auto;
	
}

.header-wrap {
	background-color: #fff;
	/*padding: 45px 0 20px 0;*/
	margin: 0 auto 0 auto;
	max-width: 1310px;
}

.site-branding {
	padding: 0;
	margin: 0;
}

.secondary-toggle {
	background-color: #fff;
	display: block;
	top: 0;
	right: 0;
	transform: none;
	z-index: 2;
}

.main-navigation {
	display: none;
	margin: 0;
	position: absolute;
	top: 0;
	right: 0;
}


.site-content {
	float: none;
	margin: 0 auto;
	width: 100%;
}

.content-area {
	max-width: 1310px;
	margin: 0 auto;
}

.site-main {
	padding: 0;
}

.hentry, .page-content {
	margin: 0;
}

.hentry {
	padding-top: 50px
}

.entry-header {
	padding: 0 50px;
}



.entry-content {
	padding: 0 50px;
}

/* 9-29-18 by David, to create larger font on homepage */

.entry-content-home {
	font-size: 115%;
	padding-top: 0;
	padding-right: 100px;
	padding-bottom: 0;
	padding-left: 100px;
	line-height: 185%;
}

.entry-content-home a {
	text-decoration: underline;
	border-bottom: none;
}

.entry-content a {
	text-decoration: underline;
	border-bottom: none;
}

.entry-content h2 {
	margin-top: 0;
	margin-bottom: 0;
}


.entry-footer {
	padding: 0;
}

.site-footer {
	float: none;
	margin: 0 auto;
	width: 100%;
	max-width: 1310px;
}

.site-info {
	padding: 15px 50px 20px 50px;
	margin-bottom: 50px;
}

/**
* Desktop Large 1240px
*/

@media screen and (min-width: 1310px) {
	.secondary-toggle {
		right: calc((100% - 1310px) / 2);
	}

	.main-navigation {
		right: calc((100% - 1310px) / 2);
	}
}

/* ---------------------------- */

/* CHILD STYLES */
body {
	font-family: 'Raleway', sans-serif;
}

/* updated by David, 9-30-18 then 2-14-25 */ 

b, strong {
	/*color: #ecbe41;*/
	color: #f3b200;
	font-weight: 700;
}

ul {
	list-style-type: none;
}

.h-rule {
	width: 80%;
	height: 3px;
	background-color: #898989;
	margin-bottom: 35px;
}

.innerbg {
	background-color: #fff;
	background-image: url("img/inside.png");
	background-repeat: no-repeat, no-repeat;
	background-position: right 80px;
}

.innerbg > article {
	background: none;
}

.site-header {
	color: #fff;
}

.header-wrap-front {
	/*
	background-image: url("img/background.jpg");
	background-repeat: no-repeat, no-repeat;
	background-position: center bottom;
	background-size: cover;
	*/
}
.header_main {
	width: 1310px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

/*.header-wrap {
	position: absolute;
	/*padding: 15% 0 10% 0;
	padding: 0;
	width: 1310px;
	max-width: 100%;
	background: none;
	margin: 0 auto;
	z-index: 1;
}

.bg_video_home {
	width:1310px;
	margin: 0 auto;
	max-width: 100%;
}*/
.main_menu {
	background: #151728;
    /*padding: 20px;*/
}

.main_menu ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	margin: 0;
	-webkit-justify-content: center;
	        justify-content: center;
}

.main_menu ul li {
	position:  relative;
}

.main_menu .sub-menu {
	background: #15192d;
	display: none;
	-webkit-flex-flow: column;
	        flex-flow: column;
	padding-bottom: .25em;
	position: absolute;
	top: 100%;
	left: 0;
	white-space: nowrap;
	z-index: 1000;
}

.main_menu li:hover>.sub-menu,
.main_menu li:focus>.sub-menu,
.main_menu li:focus-within>.sub-menu {
	display: -webkit-flex;
	display: flex;
}

.main_menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.main_menu .nav-menu>li:last-of-type .submenu {
	left: unset;
	right: 0;
}

.main_menu .nav-menu>li:last-of-type .submenu .submenu {
	right: 100%;
}

/* added by David ----------------- */

.main_menu ul li a {
    color: #fff;
    margin: 0 15px; /* moved from li by Josiah */
}

.main_menu ul li a:hover {
	text-decoration: underline;
}


@media screen and (min-width: 1200px) {
.header-wrap-front button, .header-wrap button {
	display: none;
}
}
@media screen and (max-width: 1199px) {
.main_menu {
	display: none;
}
}
.n2-ss-section-main-content {
	padding: 0 !important;
}

.logo_home_slider {
	background: rgba(43, 63, 99, 0.5);
	height: 136px;
}

.logo_home_slider img {
	position: absolute;
    bottom: 5px;
    left: 25%;
}

div#n2-ss-2 .n2-style-55de70878a4d1aaa9a61d5c73a139887-heading {
	height: 136px;
}

.header-wrap {
	/*background-image: url("img/background_internal.jpg");
	background-repeat: no-repeat, no-repeat;
	background-position: center bottom;
	background-size: cover;
	*/
}

.site-branding {
	text-align: center;
}

.header-wrap-front {
	display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header-wrap-front .site-logo {
	/*float: left;*/
	/*background-color: rgba(43, 63, 99, 0.5);
	margin-bottom: 50px; */
}
.header-wrap-front .site-logo img {
	/*margin-top: -36px;
	width: 80%;
	max-width: 700px;*/
}

.site-logo img {
	/*max-width: 500px;
	margin-bottom: 10px;
	*/
}

.header-wrap-front .description {
	color: #fff;
	font-weight: 400;
	font-size: 2.45em;
}

.description {
	color: #fff;
	font-weight: 400;
	font-size: 1.4em;
}

.main-navigation {
	background-color: #445467;
	color: #eb7d5a !important;
	padding: 15px;
	font-size: 1.0em;
	z-index: 1;
	width: 400px;
}

.main-navigation * {
	color: #fff !important;
}

.main-navigation li {
	border-top: 1px solid #a9a9a9;
}

.menu-button {
	background-color: #fff;
}

.entry-content {
	/*padding-bottom: 5%; */
}

.slogan-header, .slogan-header-wide {
	background-color: #151728;
	color: #fff;
	margin: 0 50px;
	padding: 25px 45px;
}

.slogan-header-wide {
	margin: 0;
	padding: 25px calc( ( (100% - 1310px) / 2) + 50px);
	width: 100%;
}

.slogan-header h3 {
		font-size: 1.45em;
}

.slogan-header h3, .slogan-header-wide h3 {
	letter-spacing: 1px;
	font-weight: 400;
	font-size: 1.65em;
}

/* ampersand color changed by David 9-28-18 */

.slogan-header-ampersand h3, .slogan-header-wide-ampersand h3 {
	letter-spacing: 1px;
	font-weight: 400;
	font-size: 1.65em;
	font-family: 'Libre Baskerville', serif;
	color: #ecbe41;
}

.ampersand {
	letter-spacing: 1px;
	font-weight: 300;
	font-size: 1.65em;
	font-family: 'Alice', serif;
	color: #ecbe41;
}

/* wide version added by David 10-28-18 */

.slogan-header, .slogan-header-wide a {
	color: #fff;
}

.slogan-section {
	padding: 50px;
}

.slogan-section.section-attorneys {
	padding-right: 0;
	padding-bottom: 0;
}

/* by David 12-22-20: this centers photos in grid even if second line has less than three, without needing to use flex rows or columns AND identifies div I can use to swap out for a slideshow in mobile */ 

.section-attorneys {
	text-align: center;
}

.section-practices {
	text-align: center;
	color: #a9a9a9;
}

.section-practices p {
	margin-bottom: 1em;
}

.attorney-portrait {
	text-align: center;
}

/* changed by DS 9-30-18 to make larger */

.section-practices a {
	color: #565656;
	font-size: 1.5em;
	font-weight: 400;
}

/* changed by DS 9-30-18 to make hover dark gold */

.section-practices a:hover {
	color: #dda22f;
	border-bottom: 2px solid #565656;
}

.section-contact {
	padding-left: 95px;
	margin-bottom: 0px;
	font-family: 'Libre Franklin', sans-serif;
	font-weight: 400;
	font-size: 0.93em;
	color: #565656;
}

.front-contact-info {
	width: 35%;
	display: inline-block;
}

.front-contact-info img {
	width: 250px;
}

.front-map-wrapper {
	height: 500px;
	width: 60%;
	display: inline-block;
	margin-bottom: 50px;
}

.front-map-wrapper img {
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: unset;
}

/****** ATTORNEYS PAGE *****/
.attorney-grid {
	text-align: center;
}

/* 5-21-24 increase width from 33% causes 2x2 with wrap down to next breakpoint */

.attorney-item {
	display: inline-block;
	width: 36%;
	padding-right: 50px;
	margin-bottom: 50px;
	text-align: center;
}





/* changed by DS  10-1-18 */ 

.attorney-item:hover > h2:not(.attorney-label-name) {
	color: #dda22f;
	border-bottom: none;
}

.attorney-item:hover > h2:not(.attorney-label-name) > a {
	color: #dda22f;
	border: none;
}

.attorney-item h2 {
	display: inline-block;
	width: 80%;
	font-size: 1.35em;
	margin-top: 15px;
	border-bottom: 5px solid #fff;
}

.attorney-item img {
	width: 100%;
}

.attorney-label-name {
	margin-bottom: 0px;
}

.attorney-label-position {
	color: #435b8b;
	text-transform: uppercase;
	font-weight: 600;
}

/***** BIO PAGES ****/
.bio-main {
	vertical-align:top;
}

.bio-img {
	width: 40%;
	display: inline-block;
	vertical-align: top;
	margin-right: 50px;
}

.bio-info {
	display: inline-block;
	width: 40%;
	vertical-align: top;
}

.bio-name h1, .bio-name h3 {
	margin: 0;
	padding: 0;
}

.bio-details-item {
	display: inline-block;
	width: 30%;
	vertical-align: top;
	margin-right: 1%;
}

.bio-details-item > .accordion-trigger {
	/*font-size: 1.3em;
	text-transform: uppercase;
	letter-spacing: 2px;*/
	font-size: 1.2em;
    letter-spacing: 0;
}

.bio-details-item > .accordion-collapsed > .trigger-hint {
	/*line-height: 86%;
	padding-left: 1.5px;*/
	line-height: 125%;
    
	/*

	line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 2.6px;
    padding-top: 2.5px;

	*/

}

.bio-details-item > .accordion-extended > .trigger-hint {
	/*line-height: 70%;
	padding-left: 2px;*/
	line-height: 125%;
	
}

/******** PRACTICE AREAS LANDING ********/
.accordion-content {
	display: none;
	line-height: normal;
}
.accordion-content li {
	padding-bottom: 10px;
}

/* .accordion:hover > .accordion-collapsed {
color: #eb7d5a;
}

.accordion:hover > .accordion-collapsed .trigger-hint {
background-color: #eb7d5a;
} */
.case-item {
	border-bottom: 1px solid #ccc;
}

.case-item h3 {
	margin-bottom: 0px;
}

.case-item .case-info {
	margin: 10px 0;
}

.entry-content h3, .entry-summary h3, .page-content h3, .comment-content h3 {
    margin-top: 1.5em;
}

/* David added size here 9-28-18 */

.accordion-collapsed {
	color: #435b8b;
	font-size: 150%;
}

.accordion-collapsed > .trigger-hint {
	color: #fff;
	background-color: #435b8b;
	line-height: 98%;
	padding-right: 1px;
    padding-top: 1px;
}

/* .accordion:hover > .accordion-extended {
color: #435b8b;
}

.accordion:hover > .accordion-extended .trigger-hint {
background-color: #435b8b;
} */

.accordion-extended {
	color: #e5a91a;
	font-size: 150%;
}

.accordion-extended > .trigger-hint {
	color: #fff;
	background-color: #e5a91a;
	line-height: 90%;
}

.accordion-trigger {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select:none;
	-o-user-select:none;
	user-select:none;
}

.trigger-hint {
	display: inline-block;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	text-align: center;
}

/**** CASES *****/
.case-filters {
	background-color: #ecbe41;
	color: #fff;
	padding: 38px;
}

.case-search {
	display: inline-block;
	text-align: center;
}

.case-dropdown {
	width: 250px;
}

/******* CONTACT US ********/
.map-wrapper {
	height: 500px;
	width: 700px;
}

#map {
	height: 100%;
}


.nav-menu li.current_page_item a {
	border-bottom: solid 2px #ecbe41;
	padding-bottom: 2px;
}

.nav-menu li.current_page_item a {
	border-bottom: solid 2px transform;
	padding-bottom: 2px;
}

.main_menu ul li a:hover {
	text-decoration: none;
	border-bottom: solid 2px #ecbe41;
	padding-bottom: 2px;
}

.home-page-slider {
	height: 650px;
	overflow: hidden;
	position: relative;

}

.home-page-slider .mejs__controls {
	display: none;
}

.home-page-slider .video-container {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	
}

.home-page-slider .slides-wrapper {
	position: relative;
	z-index: 99999;
	height: 100%;
}

.home-page-slider .slides-wrapper .slick-list,
.home-page-slider .slides-wrapper .slick-track {
	height: 100%;
}

/* faac25 */ 
.home-page-slider .slides-wrapper .slick-slide {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;

}

.home-page-slider .slides-wrapper .slick-slide .slider-text {
	font-size: 32px;
    text-align: center;
    color: #fff;
}

.home-page-slider .slides-wrapper .slide {
	display: block;
	font-size: 40px;
}

.main-navigation {
	z-index: 9999;
}

.menu-button {
	z-index: 999999;
}

.site-branding {
	display: none;
}

.small-cite {
	font-size: 19px;
    color: #333;
    font-weight: 400;
}

/* 9-28-18 changes by David: height of div and name of image */

.inner-header-bg {
	background-image: url('/wp-content/themes/ainbank/src/inner-header-bg-new.jpg');
	height: 244px;
	background-position: center;
	background-size: cover;
	display: flex;
    justify-content: center;
    align-items: center;
}

.header_main {
	width: 100%;
    background: #15192d;
}

/* 9-28-18 changes by David: size of font */

.inner-header-bg .slider-text {
	font-size: 48px;
	line-height: 50px;
    text-align: center;
    color: #fff;
}


.secondary-toggle:hover, .secondary-toggle:focus {
    background-color: #fff;
}


.mobile-site-info {
	display: none;
}

.with-bottom-line {
    border-bottom: solid 1px gray;
}

article.professionals {
	padding-bottom: 25px;
}

@media (max-width: 1200px) { 
	.home-page-slider {
		height: auto;
		z-index: 9;
		/*padding: 40px 0;*/
	}
}


#lambda-btn {
	z-index: 99999999;
    position: absolute;
    bottom: 4px;
    left: 50%;
    margin-left: -48px;
    text-align: center;
}

#lambda-btn img {
	width: 75%;
}

#lambda-btn span {
	display: block;
    text-align: center;
    color: #fff;
    font-family: 'Raleway', sans-serif;
}

#lambda-btn.stick {
	position: fixed;
    top: 120px;
}


.professionals-template-default .accordion-content {
	padding-top: 15px;
}

.professionals-template-default .accordion-content p {
	margin-bottom: 0;
}

.contact-flex-link {
	display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* 9-28-18 changes by AWS: The 3 dark blue bands on front page should extend out to the full width of the screen */
.content-area.hentry {
	margin: 0 auto;
}

.content-area.hentry.entry-content-home {
	padding-top: 50px;
	padding-bottom: 1.6842em;
}

.content-area.hentry.entry-content-home p:last-child {
	margin-bottom: 0;
}


@media (max-width: 768px) {
.attorney-item {
	width: auto;
}
.home-page-slider {
    padding: 0;
}


/* press room is page-id-637; in the news is page-id-568; white papers is page-id-581 */

.entry-content .news-title h2,
.page-id-637 .entry-content h2,
.page-id-568 .entry-content h2,
.page-id-581 .entry-content h2,
.page-id-637 .entry-content h2 a, 
.page-id-568 .entry-content h2 a,
.page-id-581 .entry-content h2 a,
.news-title .entry-content h2 a
 {
	font-size: 20px;
	line-height: 30px;
}

}

/* 5-21-24 changed from 29%, 28%, 27%, 26%, 25% */

@media (min-width: 1200px) and (max-width: 1300px) {
  .attorney-item {
      width: 35%;
  }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  .attorney-item {
      width: 34%;
  }
}

@media (min-width: 840px) and (max-width: 999px) {
  .attorney-item {
      width: 34%;
  }
	
  .attorney-item h2 {
      font-size: 1.15em;	
  }
	
}

@media (min-width: 770px) and (max-width: 839px) {
  .attorney-item {
      width: 33%;
  }
	
	.attorney-item h2 {
      font-size: 1.12em;	
  }
	
}

@media (min-width: 650px) and (max-width: 769px) {
  .attorney-item {
      width: 32%;
  }
	
	.attorney-item h2 {
      font-size: 1.09em;	
  }
	
	
}

#rev_slider_2_1 .tp-parallax-wrap:nth-child(3) {
	top: 0 !important;
}
#rev_slider_2_1 .tp-parallax-wrap:nth-child(3) img {
	width: auto !important;
}

.bio-contact {
	margin-bottom: 15px;
}


@media (min-width: 1920px) { 
	#rev_slider_2_1 .tp-parallax-wrap:nth-child(3) img {
		width: 100% !important;
	}
}


@media (max-width: 576px) {
	.home-page-slider {
		height: 500px;
	}

	.case-search {
		width: 100%;
	}

	.case-search .case-dropdown {
		width: 100%;
	}

	.desktop-site-info {
		display: none;
	}

	.mobile-site-info {
		display: block;
	}

	.mobile-site-info table,
	.mobile-site-info td,
	.mobile-site-info tr {
		border: none;
		font-size: 10px;
	}

	.site-info {
		margin-bottom: 0;
	}

}
@media (max-width: 425px) {
	.accordion-content {
		margin-bottom: 0;
	}

	.header-wrap-front {
    	padding: 15px 0 15px 20px;
	}
	.main-navigation {
    	max-width: 100%;
    	width: 100%;
	}
	.slogan-header h3, .slogan-header-wide h3 {
	    font-size: 1.4em;
	    line-height: 1;
	}
	.entry-content-home {
		padding: 0 20px !important;
	}
	.slogan-header {
		margin: 0;
	}
	.slogan-section {
    	padding: 50px 0;
	}
	.slogan-section.section-attorneys {
		padding: 50px 0 0 40px;
	}
	.section-practices a {
    	font-size: 1.1em;
    }
    .slogan-section.section-contact {
    	padding: 50px 20px 0;
    }
    .front-contact-info {
    	width: 100%;
	}
	.front-map-wrapper {
    	width: 100%;
    	margin-bottom: 0;
	}
	.slogan-header-wide {
    	padding: 25px 45px;
	}
	.site-info {
    	padding: 0;
	}
	.entry-content {
    	padding: 0 20px;
	}
	.inner-header-bg .slider-text {
    	font-size: 20px;
    	line-height: 25px;
    }
    .inner-header-bg {
    	height: 200px;
	}
	.bio-img {
	    width: 100%;
	    margin-right: 0;
	}
	.bio-info {
    	width: 100%;
    	margin-top: 20px;
	}
	.bio-details-item {
	    width: 100%;
	    margin-right: 0;
	    margin-top: 10px;
	}
	.bio-details-item > .accordion-collapsed > .trigger-hint, .bio-details-item > .accordion-extended > .trigger-hint {
    	line-height: 160%;
	}
	.entry-header {
    	padding: 0 20px;
	}
	.map-wrapper {
    	max-width: 100%;
    	margin-bottom: 20px !important;
	}
	.accordion-collapsed {
    	font-size: 110%;
	}
	.accordion-collapsed > .trigger-hint {
    	line-height: 150%;
	}
	.accordion-extended > .trigger-hint {
    	line-height: 125%;
	}
	.attorney-item {
    	margin-right: 20px;
	}
}

/* by David 7-15-21 style for new News page, page-id-568 */
/* by David 7-26-21 apply to White Papers also, but hide underscore for better appearance */

.news-title a {
	font-size: 32px;
	text-decoration: none;
	color: #435b8b;
	/* border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #435b8b; */
	padding-bottom: 0px;
	margin-bottom: 14px;
}

/* by David 9-12-21 for Press Room: here it made sense to put the link to the pdf in a read-more phrase so the default color on the h2 is the same as .news-title 2 */

.page-id-637 h2 {
		color: #435b8b;
		margin-bottom: -20px;
}

.page-id-637 h3 {
	margin-bottom: 15px;
}

.news-title a:hover {
	text-decoration: none;
	color: #333;
	/* border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #333; */
}


/* 8-5-22 temporarily hide both maps until google api is fixed or replaced 

.page-id-15 .map-wrapper,
.page-id-2 .front-map-wrapper {
	display: none;
}*/

@media (max-width: 768px) {

	.page-id-2 .front-map-wrapper {
	display: none;
	}
	
}

/* 3-11-24 hide slide show at bottom of About page by adding class below -- 
also removed shortcode for slider */

.page-id-328 .forcefullwidth_wrapper_tp_banner {
    display: none;
	/* following was not in stylesheet so was probaly inherent in slider package 
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 0px;
    margin-bottom: 0px; */
}





/* 5-15-24 force Ain on own row 

.post-5 .post-27 .attorney-item {
    display: inline-block;
    width: 33%;
    margin-right: 30%;
    margin-left: 30%;
    padding-right: 50px;
    margin-bottom: 50px;
    text-align: center;
}

*/