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


html, body {
		height: 100%;	
		margin: 0; padding: 0;
		overflow-y: hidden;
	}
	
	
	body {
	
		background-color: #121212;
		background-image: none;
		background-repeat: no-repeat;
		background-position: center 5px;
		background-size: cover;
		
	}
	
	.bg {
		height: 100%;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: -1;
		background-image: none;
		background-repeat: no-repeat;
		background-position: center 5px;
		background-size: cover;
		
		display: none;
		opacity: 1;
		
		
			-webkit-transition: none;
			-o-transition: none;
			transition: none;
	}
	
	#mainbar {
		/*background: rgba(0,0,0,0.6);*/
		background-image: url(../images/homepageBar2560.png);
		background-repeat: no-repeat;
		background-position: center center;
		width: 100%;
		height: 200px;
		position: absolute;
		bottom: 0;
		left: 0;
		box-sizing: border-box;
		
			
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
	}
	
	#mainbarinner {
		width: 100%;
		max-width: 1280px;
/*		background-image: url(images/homepageBar1280.png);
		background-repeat: none;
		background-position: left center;*/
		
		
		margin: 0 auto;	
/*		background: red;*/
		height: 200px;
	}
	
	#homenav {
		width: 320px;
		float: left;
		padding: 20px;
		box-sizing: border-box;
/*		background: blue;*/
		
	}
	
	#homemenu {
		margin: 0;
		padding: 0;
		list-style: none;
		text-align: right;
	}
	
	#homemenu a {
	font-family: "Raleway","Century Gothic",sans-serif;
	color: #FFF;
 	text-decoration: none;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 500;
	line-height: 32px;
  	text-shadow: 0px 2px 2px rgba(0,0,0,.8);
	letter-spacing: 1px;
	
	-webkit-transition: all 250ms ease-in-out;
	-o-transition: all 250ms ease-in-out;
	transition: all 250ms ease-in-out;	
	
	}
	
	#homemenu a:hover, #homemenu a:focus{
		font-size: 20px;
		outline: none;
		/*margin-right: 5px;	*/
	}

	
	#tag {
	color: #FFF;
	font-size: 60px;
	font-family: "Raleway","Century Gothic",sans-serif;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5), 2px 4px 8px rgba(0, 0, 0, 1);
	position: absolute;
	top: 50%;
	width: 100%;
	left: 0;
	margin-top: -30px;
	
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
	
	opacity: 0;

		
	}
	
	#tag .donebetter {
		font-weight: 400;
		opacity: 0;
		position: relative;
		
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
	}
	
	#quote {
/*		width: calc(100% - 320px);*/
		width: auto;
/*		float: left;*/	
		color: #FFF;
		padding: 20px 40px;;
		padding-right: 110px;
		box-sizing: border-box;
		margin-left: 320px;
		
		position: relative;	
		height: 200px;
		
		background-position: 98% center;
		
	}
	
	#quote p {
		
		margin: 0;
		padding: 20px 110px 20px 40px;
		
		font-family: "Raleway","Century Gothic",sans-serif;
		color: #FFF;
		font-size: 18px;
		font-weight: 500;
		line-height: 32px;
  		text-shadow: 0px 2px 2px rgba(0,0,0,.8);
		
		position: absolute;
		top: 0px;
		left: 0px;	
		
		-webkit-transition: all 1200ms ease;
		-o-transition: all 1200ms ease;
		transition: none;
	}
	
	#quote p strong {
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 1px;	
	}
	
	#quote p .attribute {
	color: #EDAB56;
	font-size: 80%;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	top: -2px;
	}
	
	#quote:hover {
	background-image: url(../images/bar_arrow.png);
	background-repeat: no-repeat;
	background-position: right center;
	cursor: pointer;
	}
	
	p.activeq {
		opacity: 1;
	}
	
	p.hiddenq {
		opacity: 0;
	}


@media screen and (max-width:1280px) {
	
	#mainbar {
	background-image: url(../images/homepageBar1280.png);
	background-repeat: no-repeat;
	background-position: left center;

	}
	
	#quote p {
		
		padding: 20px 80px 20px 40px;
		font-size: 16px;
		line-height: 24px;
	}
	
}


@media screen and (min-width:740px) and (max-width:940px) {

	
	#quote p {
		padding: 20px 20px 20px 40px;
		font-size: 14px;
		line-height: 20px;
	}
	
	#tag {
	font-size: 48px;
	}
	
}


/* --OLD STUFF ------------------------------------------------------------------------------------*/

.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: 102px;
	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;
}

.stickyh .site-branding {
	margin-top: 0px;
	height: 90px;
}

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

/*HOME EDITS*/
.site-content {
	width: 100%;
	height: 100%;
	margin: 0;
	position: absolute;
	top: 0;
}


.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;
}

/*HOME EDITS*/
.site-footer {
	display: none;
}

#branding-bar {
	display: none;	
}

/*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%;
}


}

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

.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;
	
}

.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){
	
	#quote {
		display: none;
	}
	
	#tag {
	font-size: 36px;
	}
	
	body {
		background-image: none !important;	
	}
	
	.bg {
/* 		background-image: none !important;	
		display: none; */
		background-image: url("../images/background_marisa.jpg");
		display: block;
	}
	
	#mainbar {
		/*background: rgba(0,0,0,0.6);*/
		background-image: none;
		background: #496894 none repeat scroll 0% 0%;
	}
	
	#mainbarinner {
		width: 100%;
	}
	
	#homenav {
		width: 100%;
		float: none;
		padding: 20px;
		
	}
	
	#homemenu {
		text-align: center;
	}
	
	
	/*OLDER BELOW*/

	
	.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 {
	
	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;
}


	
}

@media screen and (max-width:480px){
	
	#tag {
	font-size: 22px;
	}
}
