/* dhhs style mods css */

body div#sectionnav h3 {
	cursor: pointer !important;
	
}


/* TOO MUCH IMPACT. KEEP AND REFINE 
#maincontent1 p, #maincontent2 p, #maincontent2r p, #maincontent3 p, 
#maincontent1 li, #maincontent2 li, #maincontent2r li,
#maincontent3 li, #pageaside p, #maincontent1 dd, #maincontent2 dd,
#maincontent2r dd, #maincontent3 dd { margin: 0 0 1em; } */



/* ADDED 10-15-19 

#top_nav.clearfix {
	border-bottom: 4px solid #fff;
}
div#sectionnav h3 + ul {
	display: none;
}
div#sectionnav h3 {
	color: #373737;
	background: #c3dae1;
	margin: 2px;
}
*/

/* THE INTENT OF THIS SECTION IS TO SEPARATE SEMANTICS FROM STYLE
FROM: https://betterwebtype.com/articles/2019/06/16/5-keys-to-accessible-web-typography/#5-correctly-use-the-heading-levels
'Use the HTML headings tags (h1, h2, …) for defining the semantics and CSS for defining the styles (.h1, .h2, ...)' */
.h1 { font-size: 1.4em;}
.h2 { font-size: 1em;}
.h3 { font-size: .925em;}
.h4 { font-size: .8125em;}
.h5 { font-size: .75em;}

.parBold { font-size: .8125em;}


body {
    font-family: "Open Sans","Helvetica Neue", Arial, sans-serif !important;
}

/* #ccc on blue field doesn't meet contrast. This is meant to reset it. */
.sliver a {color: #fff; font-weight: 600;}
#sliver_container .sliver {background-color: #02263d;}



.header, #sectionnav h3, #sectionnav, #tabs, #tabs a, 
#top_nav, #top_nav.clearfix {
	background: rgb(58, 103, 146);
}


body footer, body #pagefooter, body #tabs a:hover, .footer_column a:visited, .footer_column a:link {
    background: rgb(58, 103, 146);
    color: #fff;
}



div#pageaside {background: #fff;}
	
/* STYLE FOR COVID-19. ADDED TO HEADER 031620 */
/* 
#covid-19, #covid-19:hover {border: 2px solid #8d1d1c;}
 */
#covid-19 {display: none;/*  margin: 2px auto; background: #8d1d1c; padding: .4em; font-family: "Open Sans","Helvetica Neue", Arial, sans-serif !important; color: #ffffff; text-align: center; font-weight: 700; font-size: 1.5em; */}
/* 
#covid-19:hover {color: #8d1d1c; background: #ffffff; }
 */

#maincontent1, #maincontent2, #maincontent3 {padding-bottom: 2em;}

@media only screen and (max-width: 480px){
	
	#top_nav.clearfix, #tabs a {background: #0D2E40; /* 515151 rgb(23, 79, 132); */ }
	#tabs a:hover { background: #7a7a7a; /*rgb(95, 124, 167); */	color: #fff; }
	
		
	
	/* HOLD FOR NOW. NEEDED?  #tabs { background-color: #2d8095; padding: 0; } rgb(23, 79, 132) 
	#tabs li {background: #333;  margin-right: 1px; font-size: .8em;}
	#tabs a {border-radius: 0; padding: 4px 10px; margin-top: 0;}*/
	
	#tabs {
	list-style: none;
	padding: 0 0 0 3px;
	margin: 0;
	background: #0D2E40; /* rgb(23, 79, 132); */
}
	#tabs a {
	text-decoration: none;
	display: block;
	padding: 7px 9px 3px;
	text-align: center;
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	border-top-right-radius: 0;
	-moz-border-radius-topleft: 0;
	-webkit-border-top-left-radius: 0;
	border-top-left-radius: 0;
	margin: 0;
	font-weight: 600;
	font-size: 13px;
}

	
	
	

	div.logo-replace { width: 100%; }

#top_nav.clearfix {
	border-bottom: 2px solid #ccc;
}	

/*hides list items in left nav. javascript in footer include allows show/hide on click */
div#sectionnav h3 + ul { display: none; }

#sectionnav h3 { padding: 8px; font-size: .8em; text-align: center;
	background: #402706; /*THESE COLORS WORK WITH THE OLD COLOR SCHEME, NOT THE NEW ONE #5E5B3A */
	font-family: "Open Sans","Helvetica Neue", Arial, sans-serif !important; }

	#sectionnav h3:first-child::after {content: url(/dhhs/images/menu-icon.png);}
	#sectionnav h3:active {color: #402706; background: #fff;}
	
	#sectionnav li ul li a,
	#sectionnav li a { padding: 5px 10px; }
	
	div#pagefooter .footer_column:nth-child(3) {display: none;}

	div#pagefooter .footer_column,
	div#pagefooter .footer_column:first-child {float: left; margin: 0;}

div#pagefooter .footer_column.footCol1, 
div#pagefooter .footer_column.footCol5 {width: 50%; margin: 0;}

div#pagefooter .footer_column.footCol1,
div#pagefooter .footer_column.footCol1 h4,
div#pagefooter .footer_column.footCol5 {text-align: center;}

div#pagefooter .footer_column.footCol4 h4,
div#pagefooter .footer_column.footCol5 h4 {padding: 0;}


/* div#pagefooter .footer_column.footCol1 h4 ~ p {float: left;} */


div#pagefooter .footer_column.footCol2,
div#pagefooter .footer_column.footCol4 {width: 48%;}

div#pagefooter .footer_column.footCol1,
div#pagefooter .footer_column.footCol2 {height: 225px;} 

div#pagefooter div.footer_column  { margin: 0;  min-width: 0; text-align: center; }
div#pagefooter div.footer_column h4 {padding-bottom: 0; font-size: 1em;}

#pagefooter {padding-bottom: 1em; margin-top: 1em; padding-top: .4em; background-image: none; border: 1px solid #999;}

/* div#pagefooter .footer_column:nth-child(4), 
div#pagefooter .footer_column:last-child {width: 100%; max-width: 480px; text-align: center;} */
div#pagefooter .footer_column,
div#pagefooter .footer_column:first-child {min-width: 155px; max-width: 160px;}

/*for DLC contacts page */
div.twoColumns {position: static; float: none; width: 100%; min-height: inherit;}


} /*end media query */

/* to create flexible side-by-side boxes without using float */

.flex-row 				{ display:flex;margin:1em 0;border-top: 1px solid #ececec;padding:1em 0 0 0;flex-wrap:wrap;}
.flex-row img 			{max-width:100%;display:block;}
.flex-row .icon 		{width:72px;margin:0 auto;}
.flex-cell 				{ flex: 1; padding: 0 .75em;border-left: 1px solid #ececec;}
.flex-cell:first-child 	{ flex: 1;margin-left:0;padding-left:0;border-left: none;}
.flex-cell:last-child 	{ flex: 1;margin-right:0; padding-right:0;}
.flex-cell li 			{ margin-bottom:.5em;/*list-style-type: none; padding-left:0;margin-left:0; */}
.flex-border 			{padding: 16px;border: 1px solid #e7e9ec;border-radius: 5px;}
.flex-cell h3 			{margin-top:0;}	
.flex-cell > h2:first-child {margin-top:0 !important;}
.flex-cell > h2:first-child,.flex-cell > h3:first-child		{margin-top:0 !important;}
	@media only screen and (max-width: 670px) {
	.flex-row  {margin: 1em 0;flex-direction:column;}
	.flex-cell  {flex:1 !important;padding: 0;border-left: none;}
}
/* use these to create side-by-side boxes without the need for rows */
.flex-row-two {flex:1 1 50%;padding-right:1rem;}
.fr-quarter {flex-basis:25%;}
.fr-third {flex-basis:33.3%;}
.fr-half {flex-basis:50%;}
@media only screen and (max-width: 670px) {
  .fr-quarter,.fr-third,.fr-half {flex-basis:100%;}
}

