/*
Theme Name: Crag Law Center, redesigned
Theme URI: http://crag.org
Description: custom WP theme for Crag Law Center
Version: 1.0
Author: Gene Ehrbar
Author URI: http://geneehrbar.com
Tags: 
*/


/* General/type styles */

body, p, #maincontent, #newscontent, #rightcontent, .leftfeature, #latest{
	font-family: verdana,helvetica,arial,sans-serif;
	font-size: 11px;
}

a, a:hover, a:active, a:visited{
  color: #83523c;
  text-decoration: underline!important;
}


/* #main-nav a{ */
#nav a{
	font-family: Geneva, Tahoma, helvetica,arial,sans-serif;
	color: #fff;
/*	font-size: 15.5px;
	font-weight: bold;
	padding-right: 6px;
	padding-left: 3px;
	line-height: 37px;*/
}

#footer a, #footer a:hover, #footer a:active, #footer a:visited{
	font-family: verdana,helvetica,arial,sans-serif;
	font-size: 8.5px;
	color: #fff;
}


#navbox a, #navbox a:hover, #navbox a:active, #navbox a:visited{
	font-family: verdana,helvetica,arial,sans-serif;
	font-size: 11px;
}

#searchbox{
	color: #fff; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold;
}
.homeheadline {
	font-family: helvetica,arial,sans-serif;
	font-size:9pt;
	font-weight: bold;
}


/* Header styles */

#headerimg h1
{
	margin: 0;
	padding: 0;
	background: transparent url('/images/crag-logo.png') no-repeat 2px 0px;
	height: 207px;
	width: 147px;
}

#headerimg h1 a
{
	display: block;
	text-indent: -1000em;
/*	width: 178px;
	height: 30px;*/
	margin: 0;
	padding: 0;
	background: transparent url('/images/crag-logo.png') no-repeat 2px 0px;
	overflow: hidden;
	height: 207px;
	width: 147px;
}

#maincontent h2 {
	color: #000; font-size: 15px;
	text-align: center;
/*	padding-bottom: 10px; */
} 



#newscontent h2{
	color: #000; font-size: 12px;
}

#newscontent h2{
	padding-top:0px;
	padding-bottom: 5px;
}


.rightfeature h2, .leftfeature h2{
	padding: 3px 3px 3px 3px;
	margin: 0px;
	background: #ddd;
	color: #778877;
	font-style: bold;
	font-size: 12px;
	text-align: left;
	border-bottom: 2px solid #778877;
}

.rightfeature p, .leftfeature p{
	padding: 3px 3px 3px 3px;
}



#maincontent h3, #newscontent h3, #rightcontent h3, .leftfeature h3{
	font-size: 11px;
	color: #000;
	font-weight: bold;
}

#maincontent h3 {
	padding-bottom: 0px;
	padding-top: 10px;
}

#newscontent h3, #rightcontent h3, .leftfeature h3{
	padding: 0px;
	margin: 0px;
}

h3 {
	padding-bottom:0px!important;
}

/*layout*/
html,
body {
	margin:0;
	padding:0;
	height:100%;
	width:100%;
}

body {
  border:0;    /* This removes the border around the viewport in old versions of IE */
  background:#fff;
  min-width:920px;    /* Minimum width of layout - remove line if not required */
              /* The min-width property does not work in old versions of Internet Explorer */
/*  font-size:90%; */
}

#container {
   min-height:100%;
   position:relative;
}

#container {
	height:100%;
}


#header {
	text-align:center;
	background: #fff url('/wp-content/themes/crag/images/hood-bg.png') no-repeat top center;
	height: 207px;
	width: 100%;
	border-bottom:15px solid #fff;
	
}

/*
#headertopstripe{
	text-align:center;
	background: #fff;
	height: 13px;
	width: 100%;
}
*/

#headerbox{
	width: 908px;
	height: 215px;
	text-align: left;
	margin: 0px auto;

}

#headerimg {
	height: 202px;
	width: 137px;
	margin-top: 6px;
	float: left;
}

/*scrolling timeline*/

#featurebox {
	position: relative;
	height: 148px;
	width: 745px;
	float: left;
	margin-top: 12px;
	margin-left: 6px;
/*	border: 1px solid #778877;
	background:#ccc url(/images/timeline-bg.png) bottom left no-repeat; */
/*	background: transparent url('/wp-content/themes/crag/images/header-bg.png') no-repeat top left; */
	background: transparent;
	overflow: hidden;
	z-index:101;
}



#timelineintro{
	position: relative;
	height: 145px;
	width: 698px;
	background: #000;
	text-align: center;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 24px;
	line-height: 120px;
	color: #fff;
	z-index: 106;
}

#timeline{
	position: relative;
	height: 145px;
	z-index:102;
}

#timelinephotos{
	position: relative;
	height: 130px;
	z-index:103;
	text-align: left;
}

#timelinedates{
	position: relative;
	height: 15px;
	background: #000;
	z-index:102;
	text-align: left;
}

.timelineyear{
	padding-left: 15px;
	padding-right: 155px;
	font-family: Helvetica, Arial, sans-serif;
	font-style: bold;
	font-size: 10px;
	line-height: 14px;
	color: #fff;
}

.timelinepost{
	position: absolute;
	width: 1px;
	height: 130px;
	border-left: 1px dotted #666;	
	z-index:104;
}

.timelinethumb{
	position: absolute;
	width: 49px;
	height: 49px;
	border: 2px solid #000;
	z-index:105;
}


/*end scrolling timeline*/



/* #main-nav { */
#nav{
	z-index: 100;
	background: #778877 url('/images/navbar.png') no-repeat top left;
	float: left;
	text-align: left;
	width: 500px;
	height: 37px;
/*	margin-top: 160px; */
/*	padding-top: 8px; */
	margin-left: 22px;
	margin-top: 10px;
/*	border: 1px solid #000; */
}

#searchbox{
	float: right;
	text-align: left;
	margin-top: 10px;
/*	padding-top: 14px; */
	width: 200px;
	height: 24px;
}

#body {
	text-align: center;
/*	padding:10px; */
	padding-bottom:60px;   /* Height of the footer */
/*	border: 1px solid #000; */
}

#page{
	z-index: 99;
	margin: 0px auto;
	padding: 0;
	width: 908px;
	min-height: 600px;
	background:#fff;
}

.navigation{
	clear: both;
        padding-bottom: 20px;
}

#content{
	z-index: 99;
	position: relative;
	margin:0;
	padding:0;
	width: 915px;
}

#feature{
	margin:0;
	padding:0;
	width: 915px;
}


#newscolumn{
	position: relative;
	float: left;
	width: 138px;
	min-height:500px;
	background:#ccc;
	border: 1px solid #83523c;
/*	border-top: 1px solid #83523c;
	border-left: 1px solid #83523c;
	border-bottom: 1px solid #83523c; */

}

#newscolumntest{
	position: relative;
	float: left;
	width: 138px;
	min-height:500px;
}

#newscontent{
	text-align:left;
	padding: 0px 10px 10px 10px;
}

#latest{
	padding: 3px 3px 3px 3px;
}

#rightcontent{
	text-align:left;
	padding: 10px;
}

.rightfeature{
/*	background: #778877; */
	border: 1px solid #778877;
	width: 138px;
	height: 138px;
	margin-bottom: 20px;
	text-align: left;
	position: relative;
	overflow: hidden;
	z-index: 101;
}

.leftfeature{
	border: 1px solid #778877;
	width: 138px;
	height: auto;
	margin-bottom: 20px;
	text-align: left;	
}

#feature1{
	background: transparent;
}

#feature2{
	background: transparent url('http://www.crag.org/images/bighole.jpg') no-repeat 0px -34px;
}

#feature3{
	background: transparent url('http://www.crag.org/images/mthoodresidents.gif') no-repeat 0px -16px;
}

#maincolumn{
	z-index: 99;
	position: relative;
	float: left;
	width: 908px;
	min-height:350px;
	margin-left: 2px;
}

#maincontent{
	z-index: 99;
	width: 547px;
	min-height:400px;
	float: left;
	text-align:left;
	padding-top: 5px;
	padding-left: 20px;
	padding-bottom: 10px;
	padding-right: 30px;
/*	border: 1px solid #83523c;
	border-left: 1px solid #83523c;
	border-right: 1px solid #83523c;*/
}

#rightcontent{
	width: 124px;
	min-height:500px;
	float: left;
	text-align:left;
/*	background:#ccc;
	border: 1px solid #83523c;*/
/*	border-top: 1px solid #83523c;
	border-right: 1px solid #83523c;
	border-bottom: 1px solid #83523c; */
}

#footer {
	clear:both;
	float:left;
	width:100%;
	height:60px;   /* Height of the footer */
	margin-top:15px;
	padding-top: 10px;
	text-align: center;
/*	background-color: #ccbab0; */
	background: #778877; 
/*	border-top:3px solid #83523c; */
	border-top:3px solid #ccc;
}

#footer p {
  padding:10px;
  margin:0;
}

.footertext{
	font-size: 8.5px;
}

/* end layout */


/* blog styles */

/*.post {
  margin: 0 0 40px;
  text-align: justify;
}
*/
.post hr {
  display: block;
}

.widecolumn .post {
  margin: 0;
}

.narrowcolumn .postmetadata {
  padding-top: 5px;
}

.widecolumn .postmetadata {
  margin: 30px 0;
}

.widecolumn .smallattachment {
  text-align: center;
  float: left;
  width: 128px;
  margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
  text-align: center;
  margin: 5px 0px;
}

.postmetadata {
  clear: left;
}

.clear {
  clear: both;
}

/* end blog styles */


/* Begin Lists

  Special stylized non-IE bullets
  Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
  margin-left: 0px;
  padding: 0 0 0 30px;
  list-style: none;
  padding-left: 10px;
  text-indent: -10px;
}

html>body .entry li {
  margin: 7px 0 8px 10px;
}


.entry ul li:before, .col2 ul ul li:before {
  content: "\00BB \0020";
}

.entry ol {
  padding: 0 0 0 35px;
  margin: 0;
}

.entry ol li {
  margin: 0;
  padding: 0;
}

.postmetadata ul, .postmetadata li {
  display: inline;
  list-style-type: none;
  list-style-image: none;
}

.navigation li {
  list-style: none;
display: inline;
padding-right: 10px;
}

/* End Entry Lists */


/* Begin Form Elements */

.entry form { /* This is mainly for password protected posts, makes them look better. */
  text-align:center;
}

select {
  width: 130px;
}

#searchform .textinput {
  height: 14px;
  width: 110px;
  padding: 2px;
  margin: 0px auto;
}

#commentform input {
  width: 170px;
  padding: 2px;
  margin: 5px 5px 1px 0;
}

#commentform textarea {
  width: 90%;
  padding: 2px;
}

#commentform #submit {
  margin: 0;
  float: right;
}
  /* End Form Elements */



/* Begin Images */
p img {
  padding: 0;
  max-width: 100%;
}

/*  Using 'class="alignright"' on an image will (who would've
  thought?!) align the image to the right. And using 'class="centered',
  will of course center the image. This is much better than using
  align="center", being much more futureproof (and valid) */

img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
border: 1px solid #000;
}

img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
border: 1px solid #000;
}

img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
border: 1px solid #000;
}



.alignright {
  float: right;
}

.alignleft {
  float: left
}
/* End Images */



/* Begin Comments*/
.alt {
  margin: 0;
  padding: 10px;
}

.commentlist {
  padding: 0;
  text-align: justify;
}

.commentlist li {
  margin: 15px 0 3px;
  padding: 5px 10px 3px;
  list-style: none;
}

.commentlist p {
  margin: 10px 5px 10px 0;
}

#commentform p {
  margin: 5px 0;
}

.nocomments {
  text-align: center;
  margin: 0;
  padding: 0;
}

.commentmetadata {
  margin: 0;
  display: block;
}
/* End Comments */



/* menus */

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {width:520px; height:32px; font-size:0.85em; position:relative; z-index:200;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:520px; w\idth:520px;}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:120px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:128px;position:relative;}
/* style the links for the top level */
.menu a, .menu a:visited {display:block;font-size:11px;text-decoration:none; width:118px; height:30px; background:transparent; padding-left:10px; line-height:29px; font-size: 12px;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:120px; w\idth:118px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#778877;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#999 url(images/drop.gif) bottom right no-repeat;}
.menu ul ul :hover > a.drop {background:#999 url(images/drop.gif) bottom right no-repeat;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#778877;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#999;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:30px;left:0; width:140px;}
/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu ul ul ul{left:120px; top:10px; width:120px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-120px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {background:#777; height:auto; line-height:1em; padding:5px 10px; width:108px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:120px;w\idth:108px;}

/* style the top level hover */
/*.menu a:hover, .menu ul ul a:hover{color:#fff; background:#999;}
.menu :hover > a, .menu ul ul :hover > a {color:#fff;background:#999;}*/

.menu a:hover{color:#fff; background:transparent;} 
.menu ul ul a:hover{color:#fff; background:#999;}
.menu :hover > a {color:#fff; background:transparent;}
.menu ul ul :hover > a {color:#fff;background:#999;}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;z-index:202;}


/* ================================================================ 
   This CSS is further CSS I have created specifically for Wordpress
   so that the current page is highlighted in two levels.
   If you want it in three levels let me know.

   Author: Isaac Rowntree
   Website: www.zackdesign.biz
=================================================================== */


.menu ul ul .current_page_item a {
  color: #a00000;
/*  background: white; */
}

.menu .current_page_item a {
  color: #a00000;
  font-weight: bold;
/*  background: white; */
}

.menu ul .current_page_item ul a {
/*  color: white; */
  font-weight: normal;
}

.menu ul .current_page_item ul a:hover {
/*  background: gray; */
}

.menu .current_page_item a:hover {
/*  background: white; */
}

/* end menus */


