/* 1200px and up - laptop/desktop */

.L {
	float: left;
}
.R {
	float: right;
}
.CLEAR {
	clear: both;
}

.centered { 
	text-align:center; 
}
.leftalign { 
	text-align:left; 
}
.rightalign { 
	text-align:right; 
}

.FULL {
  width: 98%;
  margin: 0 1%;
}
.HALF {
  width: 48%;
  margin: 0 1%;
}
.THIRD {
  width: 31.3%;
  margin: 0 1%;
}
.THIRDx2 {
  width: 64.6%;
  margin: 0 1%;
}
.QUARTER {
  width: 23%;
  margin: 0 1%;
}
.QUARTERx3 {
  width: 73%;
  margin: 0 1%;
}
.FIFTH {
  width: 18%;
  margin: 0 1%;
}
.SIXTH {
  width: 14.6%;
  margin: 0 1%;
}
.TWELVEx5 {
  width: 39.6%;
  margin: 0 1%;
}

.wrapW {
	width:100%;
}
.pageW {
	width:1380px;
	margin:0 auto;
}

.italic {
  font-style: italic;
}
.unbold {font-weight: normal;}
.red { color: #F00 !important; }

body {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
  	background-color: #FFF;
}



img.centered {
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
img {
	max-width: 100%;
	height: auto;
} 

a.ANCHOR {
	margin: -240px 0 240px;
	display: inline-block;
}

/* FIXED TOP+HEADER */
body {
	padding-top: 162px;
}
#wrapHDR {
	position: fixed;
	top: 0px;
  	z-index: 1003;
}
#wrapHDR2 {
	position: fixed;
	top: 116px;
	box-shadow: 0 6px 6px #0002;
  	z-index: 1002;
}



/* HEADER */

#wrapHDR {
	background-color: #FFF;
}
#HDR {
	height: 116px;
	position: relative;
	z-index: 1000;
}
#LOGO {
	position: absolute;
	top: 20px;
	left: 0px;
	z-index: 2000;
}
#LOGO img {
	height: 77px;
	width: auto;
}
#CALLUS {
	position: absolute;
	top: 16px;
	right: 0px;
	z-index: 2000;
}
#CALLUS a {
	color: var(--HPMred);
	font-weight: 600;
	font-size: 16pt;
}
#CALLUS a.HDRspanish {
	font-size: 10pt;
	margin-right: 4pt;
	display: inline-block;
}
#SLOGAN {
	position: absolute;
	top: 44px;
	left: 147px;
	z-index: 2000;
	color: var(--HPMred);
	font-weight: 600;
	font-size: 16pt;
	font-style: italic;
}

#wrapHDR2 {
	background-color: var(--HPMred);
}
#HDR2 {
	height: 46px;
	z-index: 1000;
	font-size: 14pt;
	color: #FFF;
	font-weight: bold;
	padding-top: 8px;
	position: relative;
	box-sizing: border-box;
	text-align: center;
}
#HDR2 a {
	font-size: 14pt;
	color: #FFF;
	text-decoration: none;
	border-right: solid 1px #FFF;
	padding: 0 7pt 3pt 4pt;
	text-transform: initial;
	font-weight: bold;
}
#HDR2 li:last-child a {
	border-right: none;
}
#HDR2 a:hover {
	color: #FFFC;
}
#navbar2 {
	text-align: center;
}

/* NAVI */
#NAVI {
	bottom: 10px;
	position: absolute;
	right: 0px;
	width: max-content;
}
.navbar {
	text-align: right;
}
.main-navigation {
	display: inline-block;
}





/* SLIDER */
#wrapHOMESLIDER {
	background-color: var(--HPMred);
/*	background-image: url("images/BCKslider.jpg");
	background-position: center bottom;
	background-size: cover;*/
	margin-top: -23px;
	z-index: -1;
	position: relative;
}
#HOMESLIDER {
	position: relative;
	overflow: hidden;
	height: 580px;
}
#wrapHOMESLIDER h1 {
	position: absolute;
	bottom: 50%;
	left: 50%;
	animation: OverlayAnim 1s;
	transform: translate(-50%, 50%);
	color: #FFF;
	width: 100%;
	text-align: center;
	text-shadow: 0 4px 16px #000;
}
@keyframes OverlayAnim {
  0% { bottom: -50%; opacity:0; }
  10% { bottom: -50%; opacity:0; }
  100% { bottom: 50%; opacity:1; }
}


#wrapINNERBANNER {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	background-color: var(--HPMgray);
	/* margin-top: -23px; */
}
#INNERBANNER {
	height: 350px;
}
#wrapINNERBANNEREMPTY {
	height: 0;
}
/*
#INNERBANNER h1 {
	padding: 100px 20px;
	color: #FFF;
	text-shadow: 2px 2px 5px #0006;
	font-size: 48pt;
}
*/


/* HOME BARS */

a.BigButton {
  font-size: 18pt;
  font-weight: bold;
  background-color: var(--HPMred);
  display: inline-block;
  color: #FFF;
  padding: 16px 60px;
  border-radius: 8px;
  box-shadow: 0 4px 24px #0004;
}
a.BigButton:hover {
  background-color: #000;
  text-decoration: none;
  box-shadow: none;
}
.BCKmiddleline {
	background-image: url("images/BCKline.png");
	background-repeat: repeat-x;
	background-position: center;
}



#INTRO {
  padding: 60px 0 0;
}
#INTRO .L {
	background-image: url(//www.hpmlawyers.com/wp-content/themes/IWDresponsive_HPM/layout/images/BCKintroline.png);
	background-repeat: repeat-x;
	background-position: top;
	margin-top: -37px;
}

#INTRO h2, #INTRO h3 {
	margin: 0;
}


#AFFILIATIONS {
  padding: 60px 0 60px;
  text-align: center;
}
.BCKmiddleline h3 {
	background-color: #FFF;
	width: max-content;
	margin: 0 auto;
	padding: 0 20pt;
}
#AFFILIATIONS img {
	margin: 30px 1vw 0;
}


#SERVICES {
  padding: 60px 0;
  text-align: center;
}
#SERVICES h2 {
	margin-top: 0;
}
.Service {
	/* margin-bottom: 40px; */
	position: relative;
}
.Service .S_Background {
	box-shadow: 0 4px 24px #0004;
	border-radius: 16px;
	height: 360px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.Service .PopUp {
	box-shadow: 0 4px 24px #0004;
	padding: 30px;
	border-radius: 16px;
	min-height: 240px;
	background-color: #FFF;
	width: 76%;
	margin: -100px auto 0;
}
.Service .PopUp h4 {
  margin-top: 0;
}
.Service .PopUp p {
  text-align: center;
}
.Service a.BigButton {
	margin-top: 40px;
	margin-top: 90px;
	padding: 60px 60px;
}
.Service a:hover .PopUp {
  background-color: var(--HPMred);
}
.Service a:hover .PopUp h4 {
  color: #FFF;
}
.Service a:hover .PopUp p {
  color: #FFF9;
}
.Service a:hover > div {
  box-shadow: none;
}
#SERVICES div.Arrow {
	width: 40px;
	padding-top: 200px;
	font-size: 40px;
}
#SERVICES div.Arrow a:hover {
	cursor: pointer;
	color: #000;
}
#SERVICES #Carousel {
	width: calc(98% - 2*40px - 2*1px);
	margin: 0 1%;
	overflow: hidden;
	/* border-left: solid 1px var(--HPMred); */
	/* border-right: solid 1px var(--HPMred); */
	padding: 40px 0;
}


#BLOGPOSTS {
  padding: 60px 0;
}
#BLOGPOSTS h2 {
  margin: 0;
  text-align: center;
}


#wrapTESTIMONIALS {
  background-color: var(--HPMred);
}
#TESTIMONIALS {
	padding: 0;
	display: flex;
	flex-direction: row;
	min-height: 260px;
}
#TESTIMONIALS .L {
  position: relative;
}
#TESTIMONIALS .L img {
	width: 100%;
	position: absolute;
	bottom: 0;
}
#TESTIMONIALS .R {
	border: solid 3px #FFF;
	box-sizing: border-box;
	padding: 30px 20px 20px;
	border-radius: 16px;
	position: relative;
	margin: 30px 0 20px;
}
#TESTIMONIALS .R h4 {
	color: #FFF;
	margin: 0;
	z-index: 3;
	position: relative;
}
#TESTIMONIALS .R p {
	color: #FFF;
	text-align: right;
	margin: 10pt 0 0;
}
#Quote {
	position: absolute;
	top: -33px;
	left: -16px;
	z-index: 2;
}


#CALL {
  padding: 60px 0;
}
#CALL h2, #CALL h3 {
  margin: 0;
}





#wrapFORM {
	background-color: var(--HPMred);
}
#FORM {
	padding: 60px 0;
}
#FORM > div {
	margin-left: 0;
}
#FORM h2 {
	color: #FFF;
	margin: 40pt 0 0;
	font-size: 30pt;
}

#FORM .THIRDx2 .FULL, #FORM .THIRDx2 .HALF {
	margin-left: 0;
}
#FORM input, #FORM #Comments, #FORM #Review, #FORM #HearAboutUs {
	font-family: "Open Sans", Helvetica, Arial, "sans-serif";
	color: var(--HPMred);
	font-size: 14pt;
	background-color: #FFF;
	padding: 10pt;
	width: 100%;
	box-sizing: border-box;
	display: inline-block;
	margin: 0 0 10px 0;
	font-weight: normal;
	border-radius: 8px;
	border: none;
}
#FORM .button {
	font-family: "Open Sans", Helvetica, Arial, "sans-serif";
	margin-top: 20px;
	font-size: 18pt;
	font-weight: bold;
	background-color: #000;
	display: inline-block;
	color: #FFF;
	padding: 16px 30px;
	border-radius: 8px;
	box-shadow: 0 4px 24px #0004;
	width: max-content;
	border: none;
}
#FORM .button:hover {
	color: var(--HPMred);
	background-color: #FFF;
	cursor: pointer;
	box-shadow: none;
}
#HorizontalResults {
	width: 100%;
	margin-top: -50px;
	display: none;
	/* background-color: #FFF; */
	/* padding: 20px 0; */
	box-sizing: border-box;
	height: 260px;
	/* border: solid 2px #C00; */
}

#wrapFORM.ReviewsForm {
	background-color: #000;
}
#wrapFORM.ReviewsForm h3 {
	color: var(--ILLorange);
	text-align: center;
	margin-bottom: 20pt;
}


.Map {
	margin-bottom: -5px;
	filter: grayscale(1);
}

#wrapMAPS {
	background-color: #000;
}
#MAPS {
	padding: 60px 0;
}
#MAPS h3, #MAPS p {
	text-align: center;
	color: #FFF;
}
iframe.gMap {
	border: solid 1px var(--JSGred2) !important;
	box-sizing: border-box;
}




/* MAIN */
#MAINwrap {
	background-color: #FFF;
}
#MAIN {
	padding: 60px 2% 80px;
	box-sizing: border-box;
}
#MAIN.InnerFullWPage {
	padding: 40px 0% 80px;
	box-sizing: border-box;
}
#MAIN.ContactPage {
	padding: 0;
}
#MAIN h1 {
	font-size: 36pt;
	color: var(--H1color);
	line-height: 1.3;
	margin-bottom: 30pt;
	/* text-transform: uppercase; */
	font-weight: bold;
}
#MAIN h2 {
	font-size: 30pt;
}	

#MAIN p, #MAIN li {
	font-size: 14pt;
}
#MAIN .wp-block-spacer {
	clear: both;
	height: 30pt !important;
}
#MAIN hr.wp-block-separator {
	clear: both;
	margin: 40pt 0;
	border: none;
	background-color: var(--HPMred);
}
#MAIN hr.wp-block-separator.redline {
	margin: -20px 0 0;
	height: 11px;
}
#MAIN a {
	color: var(--HPMred);
}
#MAIN.ReviewsPage p {
	margin: 40pt 10%;
	font-size: 15pt;
}

.wp-block-video {
	width: 100%;
	height: auto;
	max-width: 1000px;
	margin: 0 auto;
}

.wp-block-image.moveuppic {
	margin-top: -93px;
}


/* Columns & captions */
.wp-block-columns {
	margin-bottom: 0;
}
.wp-block-columns.NOSHADOW .aligncenter.size-full {
	box-shadow: none;
}
.wp-block-image .aligncenter > figcaption, .wp-block-image .alignleft > figcaption, .wp-block-image .alignright > figcaption {
	display: block;
	text-align: center;
}
.wp-block-image.NOSHADOW img {
	box-shadow: none;
}
.wp-block-image.size-large {
	text-align: center;
	margin-bottom: 20pt;
}





#MAINL {
	padding-right: 4%;
	box-sizing: border-box;
}

#MAINR h2 {
	color: var(--ILLorange);
	font-size: 24pt;
}
#MAINR ul {
	padding-left: 20px;
}
#MAINR li {
	font-size: 12pt;
}
.widget_block {
	margin-bottom: 60px;
}
.widget_block li, .widget_block p, .widget_block a {
	color: var(--ILLorange);
}

/* BLOG */
.PostCell {
	margin-bottom: 50pt;
}
/*
.PostCell .Thumb {
	background-color: var(--FPTgreen);
	padding: 40pt 10pt 10pt;
	background-repeat: no-repeat;
	background-position: center;
	border-bottom: solid 3px var(--FPTgreen);
}
*/
#MAIN .PostCell h3.PostsTit {
  font-size: 18pt;
  margin-top: 0;
}
#MAIN .PostCell p {
	margin: 5pt 0 0;
	font-size: 12pt;
	border-left: solid 1px var(--HPMred);
	padding-left: 10px;
}
#MAIN a.morelink {
	color: var(--HPMred);
	text-align: left;
	display: block;
	font-weight: normal;
	margin-top: 10px;
}



/* PAGES' TWEAKS */
.wp-block-image.HardShadow .alignleft {
	margin-right: 2em;
}
.wp-block-image.HardShadow img {
	border: none;
	box-shadow: 10px 10px 0px #000;
	border-radius: 0;
}
.wp-block-image.HardShadow figcaption {
	font-size: 11pt;
	text-align: center;
	line-height: 1.4;
	margin-top: 10pt;
}


iframe#GMap {
	width: 100%;
	border: solid 1px var(--HPMgray) !important;
	box-shadow: 0 8px 16px #0008;
	filter: grayscale(1);
}




#MAIN a {
	text-decoration: none;
}
#MAIN a:hover {
	text-decoration: underline;
}
#MAINL {
	/*padding: 80px 0;*/
}
#MAIN .HALF {
	width: 46%;
	margin: 0 2%;
}


/* FAQs */
/* COLLAPSABLE styles */
.ui-accordion .ui-accordion-icons {
	padding-left: 2.2em;
	margin-top: 10px !important;
	background: none;
	border: none;
	font-size: 18pt;
	color: var(--HPMred);
	padding: 0px 0 10px 40px;
}
.ui-accordion .ui-accordion-content {
	border: none;
	padding: 0px 0 0px 3pt;
	/* border-left: dotted 2px #CCC; */
	margin-left: 0.9em;
	border-radius: 0;
	/* background: #0a436e11; */
	margin-bottom: 20px;
}
.ui-accordion-content li {
	/*list-style: square;*/
}

._collapsable h3 {
	font-size: 18pt;
	margin-top: 0;
	margin-bottom: 16pt;
}



/* Attorney Page */
#INNERATTORNEYBANNER {
  height: 500px;
  background-repeat: no-repeat;
  background-position: bottom left;
  position: relative;
  background-size: contain;
}
#INNERATTORNEYBANNER #InnerBannerCard {
  background-color: var(--HPMred);
  width: 50%;
  left: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 15px;
  box-shadow: 0 8px 16px #0008;
}
#INNERATTORNEYBANNER #InnerBannerCard h1 {
  color: #FFF;
  font-size: 30pt;
  margin: 8pt 0;
  font-family: "Open Sans", Helvetica, Arial, "sans-serif";
}
#INNERATTORNEYBANNER #InnerBannerCard h2 {
  color: #FFF;
  font-size: 24pt;
  margin: 0;
  font-family: "Open Sans", Helvetica, Arial, "sans-serif";
  font-weight: 500;
}
#INNERATTORNEYBANNER #InnerBannerCard h3 {
  color: #FFF;
  font-size: 18pt;
  margin: 24pt 0 24pt;
  font-family: "Open Sans", Helvetica, Arial, "sans-serif";
}
#MAIN.AttorneyWPage {
	padding: 0 0% 80px;
	box-sizing: border-box;
}
#MAIN.AttorneyWPage > div.L {
	padding-top: 40px;
}
#MAIN.AttorneyWPage > div.R {
	background-color: #0001;
	padding: 0 30px 80px;
	box-sizing: border-box;
}
#MAIN h1.AttorneyName {
	border-bottom: solid 10px var(--HPMred);
	padding-bottom: 10px;
}

.wp-block-column.logos {
  text-align: center;
  margin-bottom: 60px;
}
.wp-block-column.logos figure {
	display: inline;
	text-align: center;
	margin: 0 10px;
}
.wp-block-column.logos figure img {
	height: 70px;
	width: auto;
}
.wp-block-column.logos p {
	display: none;
}

/*
#MAINR.SpecialtiesRBar {
	background-color: var(--SAAred);
	padding: 74px 20px 30px;
	box-sizing: border-box;
	box-shadow: 4px 4px 12px #0006;
}
.SpecialtiesRBar h4 {
	color: #FFF;
}
.SpecialtiesRBar ul {
	padding: 0;
}
.SpecialtiesRBar li {
	padding-left: 1.3em;
	color: #FFF;
	list-style: none;
	font-size: 11pt;
}
.SpecialtiesRBar li::before {
	content: "\f105";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	display: inline-block;
	margin-left: -1.3em;
	width: 1.0em;
}
#MAIN .SpecialtiesRBar ul a {
	color: #FFF;
	text-decoration: none;
}
#MAIN .SpecialtiesRBar ul a:hover {
	text-decoration: underline;
}
#MAINR {
	padding: 80px 0;
}

#recent-posts-2 a {
	text-decoration: none;
}
#recent-posts-2 a:hover {
	text-decoration: underline;
}
#recent-posts-2 ul {
	padding: 0;
}
#recent-posts-2 li {
	padding-left: 1.3em;
	color: var(--Acolor);
	list-style: none;
	font-size: 11pt;
}
#recent-posts-2 li::before {
	content: "\f105";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	display: inline-block;
	margin-left: -1.3em;
	width: 1.0em;
}
*/


/* ATTORNEYS */
.LawyerLink {
  margin-bottom: 20px;
}
.LawyerLink .ProfilePic {
	width: 100%;
	margin-bottom: 5px;
}
.LawyerLink .ProfilePic img {
  width: 100%;
  height: auto;
}
.LawyerLink h4 {
  font-size: 14pt;
  text-align: center;
}


/* FOOTER */
#FTRwrap {
	background-color: #000;
	background-image: url("images/BCKftr.jpg");
	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
}
#FTR {
	padding: 60px 0 60px;
}
#FTR p {
	font-size: 12pt;
	margin-top: 0;
	margin-bottom: 16pt;
	font-weight: normal;
	text-align: left;
	line-height: 1.5;
	color: #FFFC;
	text-rendering: optimizelegibility;
}
#FTR h4 {
  color: #FFF;
  margin-top: 0;
}
#FTR a {
	color: #FFF;
}
#FTR i.fab {
  font-size: 18pt;
  font-weight: bold;
}

#POSTFTR {
  margin-top: 80px;
}
#POSTFTR p {
  font-size: 10pt;
}








#MAIN li {
	margin-top: 8pt;
}
ul#FAQvideos {
	padding-left: 0;
}
#MAIN ul#FAQvideos li.page_item_has_children {
	font-weight: bold;
	font-size: 17pt;
	list-style: none;
}



#MAINL {
  width: 66%;
}
#MAINR {
  width: 30%;
}

#MAIN a.bigbutton {
	display: block;
	background-color: var(--HPMred);
	color: white;
	padding: 10px;
	margin-bottom: 4pt;
	font-size: 14pt;
	text-transform: uppercase;
}
#MAIN a.bigbutton:hover {
	background-color: #000;
	text-decoration: none;
}
.FAQvideo {
	width: 100%;
	height: 481px;
}
