/*
THEME NAME: Tom Chen
DESCRIPTION: Custom Theme developed for Tom Chen
VERSION: 1.0
.
*/

* {
	padding: 0;
	margin: 0;
	max-width: auto;
}

body {
	color: #666666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 17px;
	background-color: black;
	background-position: top center;
	background-repeat: no-repeat;
	text-align: center;
}

hr {
	border-top-width: 4px;
	border-right-width: 0px;
	border-left-width: 0px;
	border-right-style: none;
	border-left-style: none;
	border-top-style: double;
	border-top-color: #333;
	margin-bottom: 50px;
	margin-top: 40px;
	margin-right: 0px;
	margin-left: 0px;
	padding: 0px;
}

img {
	border-style:none;
}

a:link {
	color: #0187b7;
	text-decoration: underline;
}

a:active {
	color: #0187b7;
	text-decoration: underline;
	outline: none;
}

a:visited {
	color: #0187b7;
	text-decoration: underline;
}

a:hover {
	color: #0187b7;
	text-decoration: none;
}

a:focus {
	-moz-outline-style: none;
}

a img {
	border: none;
}

ul {
	list-style-type: none;
}

li {
	margin: 0;
	padding: 0;
}

input, textarea, select {
	font:100% Arial, "Helvetica Neue", Helvetica, sans-serif;
	vertical-align: middle;
}

form,fieldset {
	border:none;
}

#header {
	position: relative;
	height: 130px;
	width: 100%;
	margin: 0 auto;
	/*background: transparent url(../wedding-photographer-images/header-bg.png) repeat;*/
	text-align: center;
}

#header .inner {
	position: relative;
	width:1000px;
	height:130px;
	margin: 0 auto;
	text-align: left;
	background: transparent;
	padding-top: 1px;
}

#header h2 {
	display: block;
	width: 400px;
	margin: 30px 0 0 10px;
}

/* Main Menu */
#menu {
	position: relative;
	width: 100%;
	text-align: center;
	margin: 0 auto;
	background: black;
	list-style:none;
	text-align: center;
	height: 30px;
	margin: 0 auto;
}

#menu ul {
	display: block;
	width: 1000px;
	margin: 0 auto;
}

#menu li {
	font-size: 11px;
	width: auto;
	float: left;
	list-style-type: none;
	position: relative;
	overflow: visible;
}

#menu li span {
	float: left;
	display: block;
	width: 5px;
	text-align: center;
	height: 28px;
	line-height: 28px;
}

#menu li.first span {
	display: none;
}

#menu li a {
	display: block;
	height: 30px;
	line-height: 30px;
	padding: 0 16px;
	color: white;
	text-decoration: none;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

#menu li ul {
	position: absolute;
	padding-top: 0px;
	width: 235px;
	top: 27px;
	left: -999em;
	background: #171717;
	color: white;
	text-align: left;
	z-index: 99;
	border-top: 1px solid #333;
	
}

#menu li ul li {
	border-right: 1px solid #333;
	border-left: 1px solid #333;
	border-bottom: 1px solid #333;
	float: none;
	top: 0px;
	left: 0;
	text-align: left;
}

#menu li ul li span {	
	display: none;
}

#menu li ul li a {
	letter-spacing: 1px;
	color: white;
	text-transform: none;
	
}

#menu a:hover {
    	text-decoration: underline;
}

#menu li:hover ul {
	left: auto;
}

#footer {
	padding-top: 1px;
	margin-top: 106px;
	position: relative;
	clear: both;
	width: 100%;
	background: #0c0c0c;
	color: #666;
	font-size: 10px;
}

#footer .inner {
	position: relative;
	width: 1000px;
	margin: 0 auto;
	text-align: left;
	padding: 10px 0 100px 0;
}

#footer p {
	clear: left;
	color: #666;
	margin-left: 10px;
	line-height: 14px;
}

#footer a {
	color: #666;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

#footer .caci {
	position: absolute;
	top: 25px;
	left: 580px;
}

#footer .nci {
	position: absolute;
	top: 20px;
	left: 785px;
}

#footer #menu {
	background: transparent;
	font-size: 10px;
}

#footer #menu a {
	color: #666;
	font-size: 10px;
	letter-spacing: 1px;
	padding: 0 10px;
}

.content .post {
	clear: both;
}
.navigation {
	width: 1000px;
}
.content div.alignleft {
	float: left;
	margin: 10px 10px 10px 0;
}

.content div.alignright {
	float: right;
	margin: 10px 0 10px 10px;
}

br {
	line-height: 18px;
	display: block;
}


.catwarning {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 10px 0;
	background-color: white;
	opacity: .7;
	-moz-opacity; .7;
	-webkit-opacity: .7;
	filter: alpha(opacity=70);
	border: 2px solid red;
	font-weight: bold;
	text-align: center;
	z-index: 2000;
}

.clear, #boxes .clear, #content .clear {
	float: none;
	clear: both;
	width: 100%;
}

#connect {
	position: absolute;
	top: -60px;
	right: 0;
	width: 366px;
/*	background: url('../wedding-photographer-images/connect-bg.jpg') top center no-repeat;*/
	text-align: center;
	padding-top: 35px;
}


#pagelist li {
	display: block;
	float: none;
	clear: left;
}

#pagelist .sub-menu {
	list-style-type: disc;
	margin-left: 20px;
}

.smallbox,
.content .smallbox {
	width: 100%;
	height: 185px;
	margin-bottom: 30px !important;
	padding-bottom: 30px !important;
	margin-top: -20px;
	position: relative;
}

.content .smallbox {
	width: 940px;
}

.single_smallbox {
	clear: both;
	margin-top: 25px;
}

.smallbox h1 {
	font-size: 18px;
	padding-bottom: 10px;
	padding-left: 10px;
}

.smallbox h2 {
	font-size: 16px;
	padding-bottom: 10px;
	padding-left: 10px;
}

.smallbox h3 {
	font-size: 14px;
	padding-bottom: 10px;
	padding-left: 10px;
}

.smallbox p {
	padding-bottom: 10px;
}