/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

.et-db #et-boc .et-l .et-fb-option--tiny-mce .et-fb-tinymce-html-input {
	color: black!important;
}

.chambers-logo {
	display: flex!important;
	margin-left: auto!important;
	margin-top: 100px!important;
}

a {
	text-decoration: none!important;
}

.attorneys-title, .attorneys-name {
  padding-bottom:0;
}
.attorneys-title, .attorneys-name {
  margin-bottom: 0;
}

.attorneys-row {
  display: grid;
      column-gap: 2%;
	-webkit-column-gap: 2%;
	row-gap: 6%;
  grid-template-columns: repeat(1, 1fr);
}  

.attorneys-row .attorneys-column {
    width: 100%!important;
    margin-right: 0!important;
}


@media screen and (max-width: 767px) {
	.attorneys-column:not(:last-child) {
		margin-bottom: 2.5em !important;
	}
	.attorney-2-col-row {
		margin-top: -2.5em;
	}
}


@media screen and (min-width: 768px) and (max-width: 980px) {
	.attorney-2-col-row .attorneys-column {
		width: 47.25%;
    	margin-right: 5.5%;
	}

}
  
@media screen and (min-width: 981px) {
	
/* .attorneys-title {
  font-size: .7rem!important;
}

.attorneys-name {
font-size: 1.4rem!important;
} */
	.attorney-2-col-row {
		display:flex;
		justify-content:center;
		min-height:313px; /* fix for safari */
	}
}
	
/* 	@media screen and (min-width: 1720px) {

 .attorneys-row {
     grid-template-columns: repeat(5, 1fr);
}  */
		
@media screen and (min-width: 1490px) {
	
		
/* .attorneys-title {
  font-size: 1.2rem!important;
}

.attorneys-name {
font-size: 2.2rem!important;
} */
	
}

/* || General styles */
a:hover {
	opacity:0.8;
}
body,
#page-container {
	overflow-x:hidden;
}
article {
	position:relative;
}
.entry-content li:not(.menu-item) {
    line-height: 2em;
    padding-bottom: 15px;
}
.et_clickable:hover {
	opacity:0.8;
	transition: all 0.3s ease-in;
}

body .et_pb_button, .et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button, .et_button_no_icon.et_button_left .et_pb_button:hover, .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover,
body input[type="submit"] {
    padding: 0.7em 2em !important;
}
body:not(.home) #page-container #main-content > article:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
	max-width: 1500px;
    max-height: 810px;
    background: url(/wp-content/uploads/2022/01/inner-page-header-bg-scaled.jpg) no-repeat;
    background-size: cover;
    background-position: 50% 0;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.et_pb_button:after, .et_pb_button:before {
	display: none;
}
body .et_pb_button,
body input[type="submit"] {
font-weight: 700 !important;
    text-transform: uppercase !important;
    border: 1px solid #ea6245;
    font-size: 15px;
    background-color: #10223a;
    border-width: 1px!important;
    border-radius: 0px;
    letter-spacing: 2px;
    color: #fff;
}
.social_linkedin:before {
    content: "\e09d";
}

/* forms */
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea, input[type="url"] {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #515A67;
    padding: 1em 0;
    color: #fff !important;
	width: 100%;
	font-size:1.6rem;
}
form label {
    color: #B3BAC4;
    font-family: 'Playfair Display';
}
body input[type="submit"]:hover {
	background-color: #ea6245;
    color: #10223a;
	cursor:pointer;
}
.wpcf7 form .wpcf7-response-output {
	color:#fff;
}

/* || Typography */

/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%; }
body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 2;
  font-weight: 400; 
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300; }
body h1 { font-size: 4.8rem !important; line-height: 1.2;}
body h2 { font-size: 4rem !important; line-height: 1.25}
body h3 { font-size: 3.5rem !important; line-height: 1.5;}
body h4 { font-size: 2.5rem !important; line-height: 1.4;}
body h5 { font-size: 1.6rem !important; line-height: 1.5;}
body h6 { font-size: 1.2rem !important; line-height: 1.6;}

@media (max-width:440px) {
	body .et_pb_button,
	body input[type="submit"]{
		font-size:0.8em !important;
	}
}

@media (max-width: 550px) {
  body h1 { font-size: 4.0rem !important; }
  body h2 { font-size: 3.2rem !important; }
  body h3 { font-size: 2.8rem !important; }
  body h4 { font-size: 2.2rem !important; }
  body h5 { font-size: 1.4rem !important; }
}

/* || Header and Main Navigation */
#top-menu li a,
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	font-weight: 400;
}
ul#top-menu > li:not(:last-child),
.et_pb_menu .et_pb_menu__menu>nav>ul>li:not(:last-child) {
    padding-right: 30px !important;
}
body.home #et-top-navigation {
	padding-right:35px !important;
}
#innerHeader {
	background-color: transparent !important;
}
#innerHeader.sticky-menu {
	background-color:#10223A !important;
	transition: all 0.4s ease;
}

/* MOBILE MENU SLIDE IN EFFECT - FIXED MOBILE HEADER */
.et_mobile_menu li a {
	text-align:left;
}
body:not(.home) ul.et_mobile_menu li:not(.current-menu-item) a {
	color: #10223a!important;
}
.et_pb_menu__wrap .mobile_menu_bar {
		z-index: 10;
}
.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
		position: fixed;
}
/* Set the mobile menu full height and move it down so it doesn't overlap the fixed header */
/* Adjust the 80px set in the height calc value to match the height of your mobile menu */
body #page-container .et_mobile_menu {
display: block !important;
    height: 100vh !important;
/*     width: 65vw; */
    left: auto;
    right: 0;
    position: fixed;
    max-width: 360px;
    overflow: auto;
	top:0 !important;
    z-index: 5;
	padding: 10% 40px !important;
	background-color: #fff !important;
    -webkit-transition: -webkit-transform 0.4s 0s;
    -moz-transition: -moz-transform 0.4s 0s;
    transition: transform 0.4s 0s;
    -overflow-scrolling: touch!important;
    -webkit-overflow-scrolling: touch!important;
}

/* Move the mobile menu fully off the screen when closed using translateX(100%) */
.mobile_nav.closed .et_mobile_menu {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}

/* Move the mobile menu back onto the screen when open using translateX(0%) */
.mobile_nav.opened .et_mobile_menu {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

/* Switch the menu icon to a CROSS when opened */
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
}
/* END - MOBILE MENU SLIDE IN EFFECT - FIXED MOBILE HEADER */

/* Inner page header
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* Inner page footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.inner-footer-copyright {
	display:block !important;
}

.inner-footer-copyright a {
	color: #A6B1BBFF;
}

/* || Home */
@media (max-width: 900px) {
	.home-linkedin-bar {
		margin: auto !important;
	}
}
/*show hamburger menu on desktop*/
@media (min-width: 980px) {
#headerWhiteBg .et_pb_menu .et_pb_menu__menu, .et_pb_fullwidth_menu .et_pb_menu__menu,
#headerDarkBgHamOnly .et_pb_menu .et_pb_menu__menu, .et_pb_fullwidth_menu .et_pb_menu__menu {
    display: none !important;
}
	
	#headerDarkBgHamOnly .et_mobile_nav_menu {
		display:block !important;
	}

#headerWhiteBg .et_pb_menu .et_mobile_nav_menu, .et_pb_fullwidth_menu .et_mobile_nav_menu,
#headerDarkBgHamOnly .et_pb_menu .et_pb_menu__menu, .et_pb_fullwidth_menu .et_pb_menu__menu {
    display: flex;
    float: none;
    margin: 0 6px;
    align-items: center;
}
}

@media only screen and (min-width:430px) {
	body .n2-ss-slider[data-responsive=fullpage] {
		min-height: 100vh;
	}
}

@media (min-width:1199px) {
	div#main-content .n2-ss-slide {
		height:100vh !important;
	}
	body .n2-ss-slider[data-responsive=fullpage] {
		min-height: 100vh;
	}
}

.n2-ss-slider-controls.n2-ss-slider-controls-absolute-right-center:before {
	content: "";
    height: 100%;
    width: 1px;
    top: 0;
    position: relative;
    right: 25px;
    background: #EA6245;
    visibility: visible;
}

body.home footer#main-footer {
	display:none;
}

/* first slide white all across */
.hero-area-bottom .n2-style-654fb965c533036469fbf99fa08e4336-heading.n2-ss-item-image-content.n2-ss-item-content.n2-ow-all:before {
    position: absolute;
    height: 41px;
    bottom: 0;
    left: -100%;
    width: 500%;
    background: #fff;
    content: "";
}

/*last slide text align fix on mobile */
@media (max-width:701px) {
	.home-footer-copyright p {
		text-align: center !important;
	}
}

body.parent-pageid-73 h3, 
body.parent-pageid-73 h4, 
body.parent-pageid-73 h5 {
  color: #ea6245 !important;
}



/* Attorneys row of 3 match row of 4 */

@media (min-width:981px) {
	body .et_pb_row.attorneys-3col {
		padding-left: calc(12% + 25px) !important;
    	padding-right: calc(12% + 25px) !important;
    	display: grid;
    	gap: 0px 4%;
    	grid-template-columns: auto auto auto;
	}
	body .et_pb_row.attorneys-3col .et_pb_column {
		width: 100%;
		margin-right: 0%;
	}
}
@media (max-width:980px) and (min-width:768px) {
	.attorneys-3col {
    	display: grid;
    	gap: 0px 5.5%;
    	grid-template-columns: auto auto;
	}
}
@media (max-width:767px) {
	.attorneys-column {
	    width: 100% !important;
    	margin-right: 0% !important;
	}
}

.education.education-v2 ul li ul {
    padding-left: 25px;
}
.education.education-v2 ul li li {
	border: none;
    padding-bottom: 0px;
	list-style: circle;
    padding-left: 0px;
}

.education.education-v2 ul li ul li:not(:first-child) {
    margin-top: 0px;	
}



/* Attorneys Single Education Fix  */
@media screen and (min-width: 768px) {
	.education ul li > div {
		flex-wrap: wrap;
	}
	.education ul li > div > div {
		padding-right: 20px;
	}
}


/* START - bio page update */

.bio-badge {
	display: flex;
    justify-content: center;
}

.et_pb_testimonial_author {
    margin-top: 15px !important;
}

/* END - bio page update */


/* START - Home Slider Hero Content slider for badges and quotes */

.slider-quote {
	width: 900px;
    max-width: 80%;
}


.slider-quote_content {
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-size: 22px;
    color: #FFFFFF !important;
	line-height: 1.5em;
}

.slider-quote_author {
    font-family: 'Mulish', Helvetica, Arial, Lucida, sans-serif;
    color: #ea6246 !important;
	font-weight: 700;
	margin-top: 15px;
    display: block;
}


.slider-badges {
    display: flex;
    width: 80%;
    justify-content: center;
    gap: 40px;
}

body .slider-badges img {
    width: 100%;
    height: 100%;
    display: flex;
    object-fit: fill;
    max-height: 110px;
}
body .slider-badges div {

}
body .slider-badges div:last-child {

}

body .swiper {
	padding-bottom: 50px;
    padding-top: 50px;
}

body .swiper-wrapper {
	display: flex;
    align-items: center;
}


body .swiper-slide {
    background: transparent;
}



body .swiper-button-next, body .swiper-button-prev {
	display:none;
}


body .swiper-pagination-bullet-active {
	background:#ea6246 !important;
}
body .swiper-pagination-bullet {
	background:rgb(255 255 255 / 75%);
}
@media screen and (max-width: 767px) {
	.slider-quote_content {
		font-size: 16px;
		line-height: 1.4em !important;
	}
	.slider-quote_author {
    	font-size: 16px;
	}
	.slider-badges {
		gap: 20px 30px;
        flex-wrap: wrap;
	}
	body .slider-badges div {
    	width: 82px;
	}
	body .swiper {
		padding-bottom: 40px;
		padding-top: 40px;
	}
}



/* END - Home Slider Hero Content slider for badges and quotes */

@media screen and (min-width: 981px) {
	.staff-row-empty-col {
		display:flex;
		justify-content: center;
	}

	#main-content .et_pb_column_empty {
		display:none !important;
	}
}


/* Tim Chambers Badges */

.tim-chambers-badges .et_pb_code_inner {
	display: flex;
    gap: 20px;
}
.tim-chambers-badges .et_pb_code_inner div {
    flex: 0 1 auto;	
}
.tim-chambers-badges .et_pb_code_inner img {
	width:100%;
}
@media screen and (max-width: 1300px)  {
	.tim-chambers-badges .et_pb_code_inner {
		gap: 10px 30px;
        flex-wrap: wrap;
        justify-content: center;
	}
	.tim-chambers-badges .et_pb_code_inner div {
    	flex: 0 1 130px;
	}
}
