/*   
Site: Eric Perkins Law
Author: Buckethead
Version: v1
*/

/*	=Global Reset
	------------------------------------------------------ */
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input {
	margin: 0;
	padding: 0;
}

h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th {
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
}

ul,ol {
	list-style: none;
}

fieldset,img {
	border: none;
}

caption,th {
	text-align: left;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */


/*	=layout
	------------------------------------------------------ */
body {
	text-align: center;
	background: #fff url(http://www.ericperkinslaw.com/images/v1/body-bg.png) no-repeat center top;
}

#wrapper {
	width: 750px;
	margin: 0 auto;
}

#header {
	height: 172px;
	position: relative;
}

h1#masthead {
	position: absolute;
	top: 50px;
}

#mast-contact {
	position: absolute;
	text-align: right;
	right: 0;
	top: 4px;
}

#address {
	position: relative;
	text-align: left;
	padding: 8px;
	width: 232px;
	float: right;
	margin: 30px 0 0 0;
	background-color: #2e426b;
	border: 1px solid #55678d;
}

#main {
	margin: 40px 0;
	text-align: left;
}

#content {
	width: 480px;
	float: left;
}

#side-col {
	width: 250px;
	float: right;
}

#footer {
	padding: 20px 0 0 0;
	color: #888;
	border-top: 1px solid #bbb;
}

/*	=typography
	------------------------------------------------------ */
body {
	font-size: 62.5%;
	font-family: "Lucida Grande","Lucida Sans Unicode", arial, sans-serif;
	color: #333;
}

p {
	font-size: 1.2em;
	line-height: 1.6em;
	margin-bottom: 1.5em;
}

#mast-contact p {
	font-family: Georgia, serif;
	color: #fff;
	margin: 0;
}

#mast-contact p span {
	color: #d1daed;
}

#address p {
	margin: 0;
}

#footer p {
	font-size: 0.9em;
}

h2.welcome {
	font-size: 2.1em;
	color: #593f38;
	margin-bottom: 0.7em;
	font-family: Georgia, serif;
	font-weight:normal;
	text-transform: none;
}

h2.welcome span {
	font-style: normal;
}

h2 {
	font-size: 1.8em;
	font-weight: normal;
	margin-bottom:0.6em;
	text-transform: uppercase;
	color: #000;
}

h2.blog-title {
	font-size: 1.8em;
	font-weight: normal;
	margin-bottom:0.2em;
	font-family: Georgia, serif;
	text-transform: none;
	color: #000;
}


h3 {
	font-size: 1.4em;
	font-weight: bold;
	margin-bottom:0.3em;
	color: #000;
}


h4 {
	font-size: 1.8em;
	font-family: Georgia, serif;
	margin: 0 0 0.4em 0;
	color: #000;
	text-transform: uppercase;
}

h4.blog-meta {
	font-size: 1.1em;
	font-family: "Lucida Grande","Lucida Sans Unicode", arial, sans-serif;
	margin: 0 0 0.6em 0;
	color: #666;
	text-transform: none;
}


h4#h4-whats-new {
	text-indent: -9999px;
	height: 20px;
	width: 242px;
	margin-left: 8px;
	display: block;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h4-whats-new.gif) no-repeat left top;
}

h4.l2-nav-h4 {
	text-transform: uppercase;
	font-size: 1.2em;
	font-family: "Lucida Grande","Lucida Sans Unicode", arial, sans-serif;
	color: #fff;
	background-color: #40527a;
	padding: 17px 10px 10px 10px;
	margin: 0 0 1px 0;
}

ul {
	list-style-type: disc;
	margin: 0 0 1.5em 3em;	
}

ol {
	list-style-type: decimal;
	margin: 0 0 1.5em 3em;	
}

li {
	font-size: 1.2em;
	line-height: 1.6em;
	margin-bottom: 0.7em;
}

em {
	font-style: italic;
	font-family: Georgia, serif;
}

strong {
	font-weight: bold;
}


/*	=page headers
	------------------------------------------------------ */
h2#biography {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-biography.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#comm-service {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-comm-service.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#rep-transact {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-rep-transact.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#start-ups {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-start-ups.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#franchising {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-franchising.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#reg-d {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-reg-d.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#tax-exempt {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-tax-exempt.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#articles {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-articles.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#why-choose {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-why-choose.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#questions-feedback {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-questions-feedback.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

h2#contact-us {
	width: 480px;
	height: 25px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/h2-contact-us.gif)no-repeat left top;
	text-indent: -9999px;
	display: block;
	border-bottom: 1px solid #d3d4d9;
}

/*	=site elements
	------------------------------------------------------ */
ul.new-posts-side {
	list-style-type: none;
	margin: 0 0 1.5em 8px;
}

ul.new-posts-side li {
	margin: 0 0 1px 0;
	line-height: 1.3em;
}

ul.new-posts-side li a {
	display: block;
	padding: 11px 13px;
	width: 216px;
	color: #000;
	text-decoration: none;
	font-weight: bold;
	border-top: 1px solid #d3d2d9;
	background-color: #eeeef3;
}

ul.new-posts-side li a span {
	font-size: 1em;
	font-weight: normal;
	color: #4c4c4c;
}

ul.new-posts-side li a:hover {
	background-color: #e5e5ed;
}

ul.rss-list {
	margin: 0 0 1.5em 8px;
	list-style-type: none;
}

img.img-left {
	float: left;
	margin: 0 10px 10px 0;
}

img.img-right {
	float: right;
	margin: 0 0 10px 10px;
}

img.img-wide {
	margin: 0 0 15px 0;
}

input.input-dotted {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px dotted #9EA6AA;
	padding: .5em;	
}

input.input-dotted:focus{
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #000;
}

textarea {border: 1px dotted #9EA6AA;padding: .5em .3em;}
textarea:focus {border: 1px solid #000;}


/*	=navigation
	------------------------------------------------------ */
ul#main-nav {
	width: 750px;
	position: relative;
	height: 20px;
	top: 152px;
	margin: 0;
	list-style-type: none;
}

#main-nav li {
	margin: 0;
	float: left;
	position: relative;
}

#main-nav li a {
	height: 20px;
	display: block;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/nav-tabs.gif) no-repeat left top;
	text-indent: -9999px;
}

#main-nav li#home-nav a {background-position: 0px 0px;width: 105px;}
#main-nav li#practice-nav a {background-position: -105px 0px;width: 145px;}
#main-nav li#articles-nav a {background-position: -250px 0px;width: 122px;}
#main-nav li#whats-new-nav a {background-position: -372px 0px;width: 125px;}
#main-nav li#about-nav a {background-position: -497px 0px;width: 125px;}
#main-nav li#contact-nav a {background-position: -622px 0px;width: 128px;}

#main-nav li#home-nav a:hover {background-position: 0px -20px;}
#main-nav li#practice-nav a:hover {background-position: -105px -20px;}
#main-nav li#articles-nav a:hover {background-position: -250px -20px;}
#main-nav li#whats-new-nav a:hover {background-position: -372px -20px;}
#main-nav li#about-nav a:hover {background-position: -497px -20px;}
#main-nav li#contact-nav a:hover {background-position: -622px -20px;}

#main-nav li#home-nav-active a {background-position: 0px -40px;width: 105px;}
#main-nav li#practice-nav-active a {background-position: -105px -40px;width: 145px;}
#main-nav li#articles-nav-active a {background-position: -250px -40px;width: 122px;}
#main-nav li#whats-new-nav-active a {background-position: -372px -40px;width: 125px;}
#main-nav li#about-nav-active a {background-position: -497px -40px;width: 125px;}
#main-nav li#contact-nav-active a {background-position: -622px -40px;width: 128px;}

/* dropdowns */
#main-nav li.over ul { left: 0; display: block;}
#main-nav li li { float: none; position: static; width: 100%; }

#main-nav li li a, #main-nav li li a:hover, #main-nav li li a:active {
	background: none;
	height: auto;
	padding: 1px 8% 6px;
	text-indent: 0;
	width: 84%;
}

#main-nav li li a {
	font-size: 12px;
	line-height: 1.2em;
	color: #fff;
	text-decoration: none;
}

#main-nav li li a:hover { background: #8999ba; }

#main-nav li ul {
	background: #55678d;
	border-bottom: 1px solid #1f325a;
	display: none;
	line-height: 1.5;
	padding: 5px 0;
	margin: 0;
	position: absolute;
	top: 20px;
	width: 200px;
	text-align: left;
	list-style-type: none;
}

ul.l2-nav {
	margin: 0 0 1.5em 0;
	list-style-type: none;
}

ul.l2-nav li {
	margin: 0;
}

ul.l2-nav li a {
	font-weight: bold;
	color: #000;
	text-decoration: none;
	padding: 10px 10px 10px 31px;
	background: transparent url(http://www.ericperkinslaw.com/images/v1/nav-arrow.gif) no-repeat 0 6px;
	border-top: 1px solid #d0d0d0;
	border-bottom: 1px solid #e8e8e8;
	border-left: 1px solid #f6f6f6;
	border-right: 1px solid #f6f6f6;
	width: 207px;
	display: block;
	margin: 0 0 1px 0;
}

ul.l2-nav li a:hover {
	background: transparent url(http://www.ericperkinslaw.com/images/v1/nav-arrow-over.gif) no-repeat 0 6px;
}

ul.l2-nav li a.l2-active {
	background: #cbcbcb url(http://www.ericperkinslaw.com/images/v1/nav-arrow-active.gif) no-repeat 0 6px;
	border-top-color: #b0b0b0;
	border-bottom-color: #b0b0b0;
	border-left-color: #c0c0c0;
	border-right-color: #c0c0c0;
}


/*	=linkage
	------------------------------------------------------ */
a, a:visited {
	color: #4f737d;
}

a:hover {
	text-decoration: none;
}

#mast-contact a, #mast-contact a:visited {
	color: #d1daed;
}

#footer a, #footer a:visited {
	color: #888;
}

a.rss-link {
	background: transparent url(http://www.ericperkinslaw.com/images/v1/rss-icon.gif) no-repeat left top;
	padding-left: 18px;
	text-decoration: none;
	color: #000;
}

a.rss-link span {
	border-bottom: 1px dotted #4f737d;
	color: #4f737d;
}

a.rss-link:hover {
	background: transparent url(http://www.ericperkinslaw.com/images/v1/rss-icon-over.gif) no-repeat left top;
}

a.rss-link:hover span {
	border-bottom: 1px solid #4f737d;
}

a.no-icon {
	background-image: none;
}
