/*
Theme Name: chpllaw
Layout: Sidebar-Content
*/

.site-header {
	height: 120px;
	width: 100%;
	background: #fff;
	top: 30px;
	left: 0;
	position: fixed;
	z-index: 99;
	
	-webkit-box-shadow: 0px 0px 16px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 16px rgba(0,0,0,0.75);
}

#masthead.stickyh {
	background-color: #FFFFFF;
	top: 0px;
	height: 90px;
	position: fixed;
}

.site-description {
	display: none;	
}
.site-branding h1.site-title a {
	display: block;
	width: 80%;
    max-width: 1520px;
    margin: 8px auto;
    height: 100px;
    background-image: url(/wp-content/uploads/2026/02/CHL_logo_2.svg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

.site-branding h1.site-title a span.site-title-name {
	display: none;
}

.site-content {
	width: 80%;
	max-width: 1240px;
	margin: 0 auto;	
	margin-top: 240px;
	border-top: solid 5px #000;
/*	overflow-x: hidden;*/
	position: relative;
	
}


.content-area {
/*	width: 100%;
	width: 74.2%;*/
	width: auto;
	width: calc(100% - 320px);
	float: left;
	margin-left: 320px;

	position: relative;
	
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0, 1);
	box-shadow: 0px 0px 10px rgba(0,0,0, 1);
	

}

/*Adjustments for full page without side image, once used for attorneys .page-id-1725, and now just 404 pages, but may need new template*/
.error404 .content-area {
	width: 100%;
	float: none;
	margin: 0;
	padding: 0;
}

.site-main {
	background: #fff;
	background-image: url(../images/menu_bg.png);
	background-repeat: no-repeat;
	background-position: bottom right;
	padding: 60px 90px;	
/*	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0, 1);
	box-shadow: 0px 0px 10px rgba(0,0,0, 1);*/
	min-height: 630px;
}

.site-main.stickyp {
	padding-top: 150px;	
	transition: none;
}


.site-footer {
	clear: both;
	width: 80%;
	max-width: 1240px;
	margin: 0px auto;	
	overflow: hidden;
	font-size: 12px;
	font-size: 1.2rem;
	text-align: right;
}

.site-footer .site-info {
	width: 74.2%;
	width: auto;
	width: calc(100% - 320px);
	margin-left: 320px;
	padding: 5px 15px 5px 5px;
	background: #000000;
	color: #CBCBCB;	
	height: 30px;
	
}

/*.page-id-1725 .site-footer .site-info {
	width: 100%;
	margin-left: 0;
	padding: 5px;
	padding-right: 90;
	background: #000000;
	color: #CBCBCB;	
}*/

/*Smaller Desktops and iPads 950 - 1120*/
@media screen and (max-width:1120px){
	

.site-content {
	width: 90%;
	margin-top: 210px;
	position: relative;
}

.site-branding {
	width: 90%;
}

.main-navigation {
	margin-right: 5%;
}

.site-footer {
    width: 90%;
}


.site-main {
	padding: 60px;	
}
/*Side area*/
.practice-areas {
/*    top: -60px;
    left: -380px;*/
}
	
 .bio-image, .side-image {
/*    top: -60px;
    left: -380px;*/
}

.customside {
/*    left: -380px;
    top: 420px;*/
}

#branding-bar {
	top: 695px;
}

}

/*To Small Tablet 740- 940 */
@media screen and (max-width:940px){
	
	.site-branding h1.site-title a {
		max-width: 230px;
		height: 84px;
	}
	
	h1.site-title {
		height: auto;
	}
	
	.site-header {
		height: 90px;
		top: 30px;
	}

.main-navigation {
	margin-top: -71px;
	margin-right: 5%;
}

.main-navigation a {
    padding: 7px 30px;
}

.main-navigation .sub-menu a {
    padding: 4px 30px;
}

	.nav-menu {
		top: 90px;	
	}
	
	.site-main {
	padding: 30px;	
}
	
	.site-content {
	width: 90%;
	margin-top: 150px;
}

.content-area {
	width: 100%;
	float: none;
	margin-left: 0px;
}

.bio-image, .side-image {
	border: solid 1px #000;
	position: static;
}

.customside {
	width: 100%;
	position: static;
	padding: 15px 0px;
	
	font-size: 14px;
	font-size: 1.4 rem;
	font-weight: 500;
	text-align: left;
	
	color: #121212;
	text-shadow: none;
	
	line-height: 18px;
	line-height: 1.8rem;
	
/*	position: absolute;
	top: 90px;
	left: 15px;*/
	
}

.customside a {
	color: #121212;
	text-decoration: underline;
}

.customside a:hover {
	color: #496793;
}

h1.entry-title {
	font-size: 24px;
	font-size: 2.4 rem;
	
	color: #fff;
	padding-left: 60px;
	margin-left: -60px;

}

.page .entry-content h2 {
	margin-left: 0px;
	margin-bottom: 40px;
}


.site-footer {
	width: 90%;
}

.site-footer .site-info {
	width: 100%;
	margin-left: 0px;	
}

.practice-areas {
	
	width: auto;
	height: auto;
	
	position: static;
	left: 0px;
	top: 0px;	
	padding: 0px 30px;
	
}

.about-us-side {
	
	width: auto;
	height: auto;
	
	position: static;
	left: 0px;
	top: 0px;	
	padding: 0px 30px;
	
}

.practice-image {
	display: none;	
}

.page .entry-content .practice-areas h3{
	color: #496693;
	text-shadow: none;
	margin-left: -30px;
}


.practice-areas a {
	color: #496693;
	text-shadow: none;
}

.practice-areas a:hover {
	color: #121212;
}

	
}

/*To Mobile less than 740 */

@media screen and (max-width:740px){
	
	body {
		/*Remember to remove the bg*/	
	}
	
	.site-header {
	height: 90px;
	width: 100%;
	background: #fff;
	top: 30px;
	left: 0;
	position: fixed;
	z-index: 99;
	
	-webkit-box-shadow: 0px 0px 16px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 16px rgba(0,0,0,0.75);
	
		height: 90px;
		top: 0px;
		
}

h1.site-title {
	height: 90px;	
}
	
	h1.site-title a {
    display: block;
    height: 90px;
    width: 320px;
	margin: 0 auto;
    background-image: url("../images/chpl_logo_mobile3.png");
    background-position: center center;
}	

.site-branding {
	width: 100%;
	margin: 0px auto 0px auto;
	height: 60px;
	background-image: none;
}

.main-navigation {
	float: none;
	margin: 0px auto;
	width: 100%;
	background: #496894;
/*	background: rgba(112,140,196,0.47);*/
	position: absolute;
	top: 90px;
	left: 0px;

}

	button.menu-toggle {
/*	width: 320px;
	text-align: right;
	border: none;
	border-radius: 0px;
	background: none;
	background-color: transparent;
	
		background-image: url(images/hamburger25.png);
	background-position: right center;
	background-repeat: no-repeat;
	
	box-shadow: none;
	color: #496793;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer; 

	-webkit-appearance: button; 

	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1;
	padding: 20px 40px;
	text-shadow: none;*/
	
	background-image: url(../images/hamburger25_white.png);
	color: #fff;
	margin-left: 168px;
	margin: 0 auto;
	background-position: 66% center;
	padding: 30px 0px 5px;
	padding: 12px 0px;
	text-align: center;
	position: relative;
	left: -20px;
}

	.nav-menu {
		top: -90px;	
	}
	
	.stickyh .nav-menu {
		top: -90px;	
	}
	
	#masthead.stickyh h1.site-title a {
		height: 90px;
	}

	.stickyh .main-navigation {
		margin-top: 0px;	
	}
	
	.site-content {
	width: 100%;
	margin-top: 90px;
}

.content-area {
	width: 100%;
	float: none;
	margin-left: 0px;
}

h1.entry-title {
	
	padding-left: 30px;
	margin-left: -30px;
	/*This would be better optimized if no background image was the default and media queries add it on larger screens*/
	background-image: none;
	background-color: rgba(0,0,0, 0.9);
	width: 100%;
/*	width: 115%;*/
	min-width: 320px;
	width: calc(100% + 60px);
	height: 160px;
	font-size: 20px;
}

/*.page-id-1725 h1.entry-title {
	height: 90px;
}*/

.page .entry-content h2 {
	margin-left: 0px;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 22px;
	
	margin-top: -143px;
	margin-bottom: 113px;
}

.bio-image, .side-image {
	width: 100%;
	height: auto;
}

.customside {
	width: 100%;
	position: static;
	padding: 15px 15px 15px 30px;
	
	font-size: 14px;
	font-size: 1.4 rem;
	font-weight: 500;
	text-align: left;
	
	color: #fff;
	text-shadow: 2px 2px 2px rgba(0,0,0, .8);
	
	line-height: 18px;
	line-height: 1.8rem;
	
	position: absolute;
	top: 88px;
	left: 0px;
	z-index: 2;
	
}

.customside a {
	color: #C2CFE1;
	text-decoration: underline;
}

.customside a:hover {
	color: #fff;
}

.site-footer {
	width: 100%;
}




	
}
