/*
THEME NAME: Law Offices of Dennis Lam
THEME URI: http://www.screensmudge.com
DESCRIPTION: Theme for Law Offices of Dennis Lam
VERSION: 1.0
AUTHOR: screensmudge
AUTHOR URI: http://www.screensmudge.com
*/

/* Architecture */
html, body {
	background: url(images/bodygrad.jpg) repeat-x center top;
	border-top-width: 0;
	height: 100%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100.01%;
	font-weight: normal;
	line-height: normal;
	margin: 0;
}

.wrapper {
	background: url(images/tilebg.jpg) repeat center top;
	width: auto;
	min-height: 100%;
	margin: 0 auto;
	background-attachment:scroll;
}

.gradwrapper {
	background: url(images/gradbg.jpg) repeat-x center top;
	width: auto;
	min-height: 100%;
	margin: 0 auto;
	background-attachment:scroll;
}

#maincontainer {
	background: transparent;
	min-height: 100%;
	width: 963px;
	margin-left: auto;
 	margin-right: auto;
	margin-bottom: -40px;
	position: relative;
}

#header {
	background: url(images/headerbg.jpg) no-repeat;
	position: relative;
	height: 182px;
	width: 963px;
}

#header #login {
	position:absolute;
	font-family: Garamond, Georgia, serif;
	font-weight:bold;
	font-size:0.875em;
	color:#f0f0f0;
	top:98px;
	right:180px;
}

#header #login a, #header #login a:hover, #header #login a:visited {
	text-decoration: none;
	color:#f0f0f0;
}

#header #email {
	position: absolute;
	font-family: Garamond, Georgia, serif;
	font-weight:bold;
	font-size:0.875em;
	color:#f0f0f0;
	width: 100px;
	top:98px;
	right:38px;
}

#header #email a, #header #email a:hover, #header #email a:visited {
	text-decoration: none;
	display: block;
	color:#f0f0f0;
}

#gotocn {
	position: absolute;
	height: 17px;
	width: 64px;
	top: 130px;
	right: 38px;
}

#navbar {
	float: left;
	width: 180px;
	height: 800px;
	margin-left: 9px;
	font-family: Garamond, Georgia, serif;
	text-transform: uppercase;
}

#navbar ul {
	list-style-type: none;
}
#navbar li {
	width: 180px;
}
#navbar .mainlink {
	height: 88px;
	width: 180px;
}
#navbar li a {
	height: 88px;
	text-decoration:none;
}
#navbar li.activelink {
	font-weight:bold;
}
#navbar li.activelink li {
	font-weight:normal;
} /*do not bold level 2 when parent is activelink*/
#navbar li#current {
	font-weight:bold;
}

#navbar .botnonlink {
	margin:0;
	padding:0;
	width: 180px;
	height:18px;
	background: url(images/linkbottom.png) no-repeat;
}

#navbar .homelink {
	background: url(images/homemain.png) no-repeat;
}

#navbar .aboutlink {
	background: url(images/aboutmain.png) no-repeat;
}

#navbar .immigrationlink {
	background: url(images/immigrationmain.png) no-repeat;
}

#navbar .familylawlink {
	background: url(images/familylawmain.png) no-repeat;
}

#navbar .personalinjurylink {
	background: url(images/personalinjurymain.png) no-repeat;
}

#navbar .resourceslink {
	background: url(images/resourcesmain.png) no-repeat;
}

#navbar .contactlink {
	background: url(images/contactmain.png) no-repeat;
}

#navbar a {
	display: block;
}
#navbar ul li ul {
	width:180px;
}
#navbar li li {
	background: transparent url(images/sublink.png) no-repeat 0 -30px;
	height: 30px;
	cursor: pointer;
}
#navbar li li.firstli {
	background: transparent url(images/firstsublink.png) no-repeat 0 -35px;
	height: 35px;
}
#navbar .sublink {
	height: 30px;
	margin-right: 24px;
	text-align: right;
}
#navbar li li a {
	padding:0;
	color:#000;
	font-size:0.8125em;
	line-height: 36px;
	text-decoration: none;
}
#navbar li li.firstli a {
	line-height: 46px;
}
#navbar li li:hover {
	background-position: 0 0;
}
#navbar li li#current a {
	font-weight:bold;
}

#navbar li li.selector {
	background-position: 0 0;
}

#container {
	float: right;
	width: 760px;
	margin-right: 5px;
}

#topcontent {
	float:right;
	background: url(images/topcontent.png) no-repeat;
	width: 760px;
	height: 8px;
}

#midcontent {
	float:right;
	background: url(images/midcontent.png) repeat-y;
	width: 760px;
	min-height: 984px;
	overflow: hidden;
}

#botcontent {
	float:right;
	background: url(images/botcontent.png) no-repeat;
	width: 760px;
	height: 10px;
}

#contentheader {
	float:left;
	background: url(images/cheader.jpg) no-repeat;
	width: 710px;
	height: 175px;
	margin-top: 15px;
	margin-left: 24px;
}

#contenttitle {
	float:left;
	color: #fff;
	font-family: Garamond, Georgia, serif;
	font-size: 1.375em;
	text-transform: uppercase;
	margin-top:117px;
	margin-left:22px;
}

#infocontent {
	float: left;
	width: 760px;
	padding: 20px 0;
}

#homepagecontent {
	float:left;
	width: 698px;
	margin-top: 10px;
	margin-left: 31px;
}

#pagecontent, #profilecontent {
	float:left;
	width: 696px;
	margin-top: 10px;
	margin-left: 32px;
}

#artpagecontent {
	float:right;
	width: 600px;
	margin-top: 10px;
	margin-right: 26px;
}

#immpagecontent {
	float:right;
	width: 535px;
	margin-top: 10px;
	margin-right: 26px;
}

#immpagecontent h1, #artpagecontent h1 {
	color: #0036ad;
	font-family: Garamond, Georgia, serif;
	font-size: 1.625em;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 15px;
}

#immpagecontent h4, #artpagecontent h4 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.125em;
	font-weight: bold;
	margin-bottom: 10px;
}

#immpagecontent ol, #artpagecontent ol {
	list-style-position: outside;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	margin-left: 30px;
	margin-bottom: 10px;
	line-height: 20px;
}


#pvimmpagecontent {
	float:right;
	width: 525px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	margin-top: 10px;
	margin-right: 26px;
}

#pvimmpagecontent h1 {
	color: #0036ad;
	font-family: Garamond, Georgia, serif;
	font-size: 1.625em;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 15px;
}

#pvimmpagecontent h4 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.125em;
	font-weight: bold;
	margin-bottom: 10px;
}

#pvimmpagecontent ol, #pvimmpagecontent ul {
	list-style-position: outside;
	margin-left: 30px;
	margin-bottom: 10px;
	line-height: 20px;
}

#articlessidemenu {
	float: left;
	width: 75px;
	font-size: 0.75em;
	min-height: 637px;
	margin-left: 32px;
	border-right: 1px solid #cdcdcd;
}

#articlessidemenu ul {
	list-style-type: none;
}

#articlessidemenu li {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #0036ad;
	font-weight: bold;
	text-transform: uppercase;
	width: 160px;
	padding: 10px 0;
}

#articlessidemenu li a {
	color: #0036ad;
	text-decoration: none;
}

#articlessidemenu li a:hover {
	text-decoration: underline;
}

#articlessidemenu #currenta {
	color: #000;
}

#sidemenu {
	float: left;
	width: 145px;
	font-size: 0.75em;
	min-height: 637px;
	margin-left: 32px;
	border-right: 1px solid #cdcdcd;
}

#sidemenu ul {
	list-style-type: none;
}
#sidemenu li {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #0036ad;
	font-weight: bold;
	text-transform: uppercase;
	width: 160px;
	padding: 10px 0;
	cursor: pointer;
}

#sidemenu li li {
	cursor: none;
}

#sidemenu li a, #sidemenu li a:hover, #sidemenu li a:visited {
	color: #0036ad;
	text-decoration: none;
}

#sidemenu li li {
	font-size: 1em;
	padding: 3px 0;
}

#sidemenu li li a, #sidemenu li li a:hover, #sidemenu li li a:visited {
	color: #000;
	text-decoration: underline;
}

#sidemenu li img {
	padding-left: 5px;
	padding-bottom: 3px;
}

#pvsidemenu {
	float: left;
	width: 160px;
	font-size: 0.625em;
	min-height: 637px;
	margin-left: 32px;
	border-right: 1px solid #cdcdcd;
}

#pvsidemenu ul {
	list-style-type: none;
}
#pvsidemenu li {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #0036ad;
	font-weight: bold;
	width: 160px;
	padding: 10px 0;
	cursor: pointer;
}

#pvsidemenu li li {
	cursor: none;
}

#pvsidemenu li a, #sidemenu li a:hover, #sidemenu li a:visited {
	color: #0036ad;
	text-decoration: none;
}

#pvsidemenu li li {
	font-weight: normal;
	font-size: 1em;
	padding: 3px 0;
}

#pvsidemenu li li a, #sidemenu li li a:hover, #sidemenu li li a:visited {
	color: #000;
	text-decoration: underline;
}

#pvsidemenu li img {
	padding-left: 5px;
	padding-bottom: 3px;
}

#homepagecontent p, #pagecontent p, #profilecontent p, #immpagecontent p, #artpagecontent p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	color: #000;
	line-height: 25px;
	margin-bottom: 20px;
}

#pvimmpagecontent p {
	color: #000;
	line-height: 25px;
	margin-bottom: 20px;
}

#pagecontent ul, #profilecontent ul {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	color: #000;
	line-height: 25px;
	margin-bottom: 20px;
	list-style-position: inside; 
}

#profilecontent ul {
	line-height: 18px;
	list-style-position: outside;
	margin-left: 15px;
}

#profilecontent img {
	float: left;
	margin-right: 20px;
}

#profilecontent #vitae {
	float: left;
	width: 696px;
	font-family: Garamond, Georgia, serif;
	text-transform: uppercase;
	font-size: 1.125em;
	font-weight: bold;
	border-bottom: 1px solid #000;
	padding-top: 5px;
	padding-bottom: 4px;
	margin-bottom: 15px;
}

#profilecontent .vitaeleft {
	float: left;
	width: 312px;
	font-size: 0.6875em;
	padding-right: 20px;
	border-right: 1px solid #cdcdcd;
}

#profilecontent .vitaeright {
	float: right;
	width: 312px;
	font-size: 0.6875em;
	padding-left: 20px;
}

#news {
	float:right;
	width: 200px;
	margin-right: 26px;
	border-left: 1px solid #cdcdcd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.6875em;
}

#newscontent table {
	width: 165px;
	border-collapse: collapse;
	border-spacing: 0;
	border-width: 0;
	margin-left: 25px;
}

#newscontent table td {
	display:inline-block;
	padding: 10px 0;
	line-height: 18px;
	border-collapse: collapse;
	border-bottom: 1px dashed #000;
}

#newscontent .newsdate {
	font-weight: bold;
	text-transform: uppercase;
	color: #0036ad;
}

#newscontent .readmore {
	float: right;
	color: #0036ad;
}

#resourcescontent {
	float:left;
	width: 696px;
	margin-top: 10px;
}

#resourcescontent h1 {
	color: #0036ad;
	font-family: Garamond, Georgia, serif;
	font-size: 1.625em;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 15px;
}

#resourcescontent p {
	margin-bottom:5px;
}

#contactcontent {
	position: relative;
	width: 654px;
	margin: 30px auto;
}

#contactcontent h1,h2,h3,h4,h5 {
	font-family: Garamond, Georgia, serif;
	margin-bottom: 5px;
}

#contactcontent p {
	margin-bottom:10px;
}

#contactcontent #gmap {
	position: absolute;
	top: 0;
	right: 0;
}

#clearfooter {
	height: 40px;
	clear: both;
}

#footer {
	clear: both;
	color: #0036aa;
	font-size: 0.625em;
	height: 80px;
	width: 963px;
	position: relative;
	margin: 0 auto;
}

#footer a {
	color: #0036ad;
	text-decoration:none;
}

#footer a:hover {
	text-decoration:underline;
}

#footerlinks {
	float: right;
	margin-top: 20px;
	margin-right: 20px;
}

#footerlinks table td {
	width: 120px;
}

#copyright {
	float: left;
	margin-top: 35px;
	margin-left: 100px;
}

#createdby {
	float: left;
	margin-top: 35px;
	margin-left: 50px;
}

#createdby span {
	color: #ad9c54;
}



/* General */
* {
	margin: 0;
	padding: 0;
	zoom: 1.0;
}

a:active {
outline: none;
border: none;
}

a:focus {
-moz-outline-style: none;
}

img {
	border: none;
	vertical-align: bottom;
}