/* Cleanex theme CSS customizations for CIR, by Michael Johnson */

/* Main styles */
body { font-family:Georgia,"Times New Roman",Serif;	font-size:16px;	color:#414347; line-height:22px; background-image:none; background-color:black; }

h1, h2{margin-bottom:15px; font-family:"Times New Roman",Georgia,Serif; font-weight:normal; }
h3, h4, h5, h6{margin-bottom:8px; font-family:"Times New Roman",Georgia,Serif; font-weight:normal;}

h3, .headingcolor, .dropcap { color: #24347c; }

h2.posttitle a, h2.posttitle a:visited { text-transform:uppercase; }
h2.posttitle a, h2.posttitle a:visited, #logo h2 { color:#24347C; }
.archive-news-ext h2.posttitle a, .archive-news-ext h2.posttitle a.visited { text-transform:none; font-size:24px; line-height:26px; }
.archive-news-ext h2 { margin-bottom:2px; }

div.archive-news-ext { border-bottom: solid 1px #d5d5d5; padding-top:0.75em; padding-bottom:0.75em;}
div.archive-news-ext p { margin-bottom:10px; }
div.archive-news-ext a.more { margin:5px; float:right; margin-right:30px;  }
.post-type-archive-news-ext #header.inner { padding: 0px 0px 10px 0px;  } 
a.external_link { background:url(/wp-content/themes/cleanex/images/ext-icons/ext-icon-10.png) no-repeat 0px 7px; padding-left:15px; } 
a.more.ext-link { background-image:none; };

a, a:visited, #logo .dot, .colortext { color: #24347C; }

table { border: 0; margin:0; }
tr td { padding:0; }

hr { margin: 25px 0px; } 
.jqueryslidemenu ul li { font-size: 16px; }

/* Logo */
#top { padding-bottom:20px; }
#logo img { float:left; }
#logo span.desc {	float:left;	margin-top:67px; } /*adjust this to align logo with header text */
#logo span.desc h2 {
	margin-left: 20px;
	margin-bottom: 0;
	font-size: 48px;
	line-height:48px;
}
#topnav { border-color:black; } 

/* Sidebar */

#sidebar { border-color:black; /* border-color:#D5D5D5;*/ }
#sidebar .widget-area .widget_search {  -moz-border-radius: 0; -khtml-border-radius: 0; border-radius:0; }
#sidebar .widget-area .widget_text { font-style:italic; -moz-border-radius: 7px;	-khtml-border-radius: 7px;border-radius: 7px; }
#sidebar .widget-title { margin-bottom: 0;	font-size: 20px; line-height: 24px; }
#sidebar .widget-container { 
	background-color:#f2f2f2; /* #e8e8e8; */
	border: 1px solid #000000;
	-moz-border-radius: 7px 7px 0 0;
	-khtml-border-radius: 7px 7px 0 0;
	border-radius: 7px 7px 0 0;
	overflow:hidden;
} 
#sidebar .widget-container h2 {	
	/* background colors
		bright (top): #c80800	-- also the main bg color
		dark (bottom): #560300 */
	background-color:#c80800;	
	background-image: -moz-linear-gradient(top, #c80800, #560300);
	background-image: -ms-linear-gradient(top, #c80800, #560300);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#c80800), to(#560300));
	background-image: -webkit-linear-gradient(top, #c80800, #560300);
	background-image: -o-linear-gradient(top, #c80800, #560300);
	background-image: linear-gradient(top, #c80800, #560300);
	background-repeat: repeat-x;
	color:white;padding:0.25em;	
	font-weight:bold;
    font-style: normal;
	font-size:22px;
	text-align:center;
	/*text-transform:uppercase;*/	
	/*
	-moz-border-radius: 7px 7px 0 0;  
	-khtml-border-radius: 7px 7px 0 0;	
	border-radius: 7px 7px 0 0; 
	*/
	border-bottom:1px solid black;
}

/* Copied from OLS, for reference */
.sidebar-generic section.sidebar-widget {
	border: 1px solid #8bc7e9;
	-moz-border-radius: 7px;
	-khtml-border-radius: 7px;
	border-radius: 7px;
}

.sidebar-generic section.sidebar-widget h6 {
	/*background-color: #faa732;*/
	/* light blue (top): #a1c0d4; */
	/* dark blue (bottom): #034166; */
	padding: 4px 1em 8px 1em;
	background-color:#034166;
	background-image: -moz-linear-gradient(top, #a1c0d4, #034166);
	background-image: -ms-linear-gradient(top, #a1c0d4, #034166);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a1c0d4), to(#034166));
	background-image: -webkit-linear-gradient(top, #91adbf, #034166);
	background-image: -o-linear-gradient(top, #a1c0d4, #034166);
	background-image: linear-gradient(top, #a1c0d4, #034166);
	background-repeat: repeat-x;
	/*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a1c0d4', endColorstr='#034166', GradientType=0);*/
	border-color: #034166 #034166 #ad6704;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	/*filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);*/
}

#sidebar .widget-container>div, #sidebar .widget-container>ul, #sidebar .widget_archive>ul { border-width:0; border-style: none; border-color: black; padding-top:10px; }
#sidebar .widget-container>div.textwidget { border-width:1px; padding-top:0; }
#sidebar ul li a { color:#24347C; }
#sidebar ul li li {	background-image:none; border-bottom:0;	margin:0; padding:0px 0px 7px 14px; }
#sidebar ul li li:hover { background-image:none; }
#sidebar .lp-title a:link, #sidebar .lp-title a:visited, #sidebar .latestpost .lp-title a:visited, #sidebar .latestpost .lp-title a:link { text-decoration:none !important; }
#sidebar .lp-title { font-size:20px; }
#sidebar .latestpost li { margin-bottom:5px; margin-left:5px; margin-right:5px; }

#sidebar img.alignleft { margin-bottom:5px; margin-left:5px; margin-right:5px; } 
#sidebar .latestnews li { margin-bottom:20px; }
#sidebar ul li .latestnews li {	padding:0px 0px 7px 14px; }
#sidebar .widget_mj_cir_news .latestnews li{border-bottom:1px solid #efefef; background:url(/wp-content/themes/cleanex/styles/minimal/arrow.gif) no-repeat 0px 6px; }
#sidebar .widget_mj_case_child ul.childpost, #sidebar li.widget_mj_case_child ul li { list-style-type:disc; } 
#sidebar .widget_mj_case_child ul.childpost { margin-left:2em; } 
#sidebar .widget_mj_case_child ul.childpost li { padding-left:0; } 
#sidebar .widget_mj_case_child ul.childpost a { font-style:italic;  } 

/* Footer */
/*#frame-footer { border-bottom: 1px solid #EFEFEF; }*/
#footer { border-top:none; border-bottom: 1px solid #EFEFEF; padding-bottom:10px; }
#copyright { float:none; text-align:center;	font-size:14px; }

/* Posts */
.post { padding-bottom:20px; margin-bottom:40px; border-bottom: 1px solid black; }
/* Post content in 2-column mode */
.one_half .entry-content.postsection { width:auto; }
.one_half .entry-utility { display:none; }

.post-case { padding-bottom:0; margin-bottom:0; border-bottom:none; }
.post .release-meta { margin-bottom:1em; font-style:italic; text-transform:uppercase; }

.news-ext-date { text-transform:uppercase; color:#666666; } 
.news-ext-pub { font-size:80%; font-style:italic; } 
#sidebar .news-ext-case { font-size:80%; text-align:right; margin-right:1em; } 
#sidebar .news-ext-teaser p { margin-bottom:0; margin-left:0.5em; margin-right:0.5em; }

/*
.case-updates { padding:0.7em; margin-bottom:1em; border:solid 1px #D5D5D5; background-color:#ededed; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px;	border-radius: 5px; }
*/
.case-updates { margin-bottom:1em; }
.page-case .entry-content h2 { text-transform:none; }

#case-attachments, .sidebar-scroll, .widget_archive > ul { height:250px; overflow:auto; padding: 1em; }
#case-attachments ul, #legal-documents ul { list-style:none; margin-left:0; padding-left:0; }
#sidebar #case-attachments ul li, #sidebar #legal-documents ul li ul li { margin-left:0; padding: 5px 0; border-bottom:1px dotted #727272; }
#case-attachments .attachment-caption, #legal-documents .attachment-caption { text-transform:uppercase; color:#727272; font-size:90%; }

.entry-content table { margin:1em; } 
.entry-content table td { text-align:left; color:#414347;} /*TP added color attribute  */ 
.entry-content table.dropcap, .entry-content table.cirquote, .entry-content .cirquote-left { margin:0em; } 
.entry-content h2 { text-transform: uppercase; }
.entry-content hr.style2 {
	color:#414347;
	/*background-color:#414347;*/
	height: 12px;
	border: 0;
	box-shadow: inset 0 12px 12px -12px rgba(0,0,0,0.5);
	width: 100%;
	} /*TP added this line*/ 
.entry-content hr.style1 {
	color: #414347; 
	background-color: #414347; 
	height: 1px; 
	border: none; 
	width: 100%;
	} /*TP added this line*/
.entry-content hr.style3 {
    border: 0;
    height: 2px;
    background: #333;
    background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc); 
    background-image:    -moz-linear-gradient(left, #ccc, #333, #ccc); 
    background-image:     -ms-linear-gradient(left, #ccc, #333, #ccc); 
    background-image:      -o-linear-gradient(left, #ccc, #333, #ccc); 
} /*TP added this line*/
.entry-content tr td { border-top:none; } 
.entry-content .postdate, #content .postdate { color: #888; text-transform: uppercase; margin-bottom:5px; font-size:90%; } 
.entry-content.postsection { float:none; }
.entry-content .case-status { margin-bottom:1em; }
.entry-content .case-meta { float: right; }
.entry-content .case-meta a { margin: 0 1em 0 1em;}
.entry-content .cirquote, .entry-content .cirquote td { color: #24347c; text-align:left; }
.entry-content .cirquote-left, .entry-content .cirquote-left td  { color: #24347c; text-align:left; margin-right: 1em; } 
blockquote, .quote { background-image:none; margin:0 0 1em 0; padding:0.5em 1em 0.5em 1em; color: #24347c; text-align:center; font-style: italic; font-size:inherit; font-family:inherit; border-top:3px; border-bottom:3px; border-style:groove; border-color:#999999; clear:none; }
blockquote.left { width:165px; float:left; margin-right:1em; padding-left:0; padding-right:0; text-align:left; } 
blockquote.right { width:165px; float:right; margin-left:1em; padding-left:0; padding-right:0; text-align:left; } 
blockquote p { margin-bottom:20px; }

.dropcap {
	margin: 11px 1px 0 0;
	font-weight: normal;
	color: #C80800;
	font-size: 48pt;
}


.one_half .post { margin: 0 0.5em 40px 0; }
.one_half .post .last { margin-right:0; margin-left:0.5em; }
.one_half img.alignright { margin-right:10px; margin-left:10px; }


.archive .category { margin-left:100px; }
.archive .entry-content.postsection { width: 100%; }

.clearboth { clear:both; }




/* Clearfix hack (not working) */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;	
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}
/* End clearfix hack */


/* Other page load hack (fix delay):  */
/* From http://stackoverflow.com/questions/10571048/css-clearfix-how-to-over-come-the-inability-to-center-an-element-using-it */

#wrapper { overflow:hidden; } 

form .form_error { border:1px solid red ! important; }
form .form_noerror { border-width:0 ! important; } 
