/*
Theme Name: CDMCS
Theme URI: http://cdmcs.org/
Description: Theme for CDMCS Website
Version: 0.1
Author: Stephen Jefferson
Author URI: http://www.agc.org/

*/

/*Main Containers*/

body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Trebuchet MS', Verdana, Arial, Sans-Serif;
	background: #ba9d7b url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-body.png) top center no-repeat;
	color: #000;
	text-align: center;
	margin: 0 0 20px 0;
	padding: 0;
	background-image: expression('none');
	}

#page {
	text-align: left;
	background-image: none !important;
	height: 100%;
	margin: -70px auto 20px auto;
	padding: 0px 0px 0px 20px;
	width: 980px !important;
	}

/*END Main Containers*/

/*Header*/

#ship {
	position: relative;
	top: 83px;
	left: 76px;
	width: 200px;
	height: 177px;
	background: transparent url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/ship.png) top left no-repeat;
	z-index: 1;
	visibility: expression('hidden');
}

#buoy {
	position: relative;
	top: -130px;
	left: 650px;
	width: 30px;
	height: 210px;
	background: transparent url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/buoy.png) top left no-repeat;
	z-index: 1;
	visibility: expression('hidden');
}

#header {
	float: left;
	position: relative;	
	left: -20px;
	padding: 0 0 0 20px;
	height: 325px;
	width: 100%;
	margin-top: expression('-70px');
	background: transparent url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-header-border.png) bottom left no-repeat;
	z-index: 9;
}

#headerimg 	{
	position: relative;
	top: -45px;
	left: -14px;
	margin: 0px;
	height: 58px !important;
	width: 988px !important;
	background: url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-content-top.png) top left no-repeat;
}

#header-content {
	float: left;
	background: #c5e9ff;
	margin-top: -255px;
	padding: 12px 20px 0px 0px;
	padding-left: 0px !important;
	width: 940px !important;
	margin-top: expression('-210px');
	margin-left: expression('7px');
	padding-right: expression('0px');
	z-index: 9;
}

#header-content #cdmcs-logo {
	float: left;
	margin-left: 20px;
}

#header-content #cdmcs-logo a img {
	position: relative;
	z-index: 99;
}

#header-content #cdmcs-name {
	position: relative;
	float: right;
	z-index: 3;
}

/*END Header*/

/*Navigation*/

#navigation {
	position: relative;
	float: left;
	clear: both;
	width: 960px !important;
	height: 40px;
	background: #9b9b9b url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-nav.gif) top left repeat-x;
	border: 1px solid #000;
	border-width: 1px 0px;
	font-size: 17px;
	margin-top: 20px;
	z-index: 2;
}

#navigation ul {
	float: left;
	margin: 6px 0px 0px 5px;
	width: 100%;
	padding: 0px;
}

#navigation ul li {
	position: relative;
	display: inline;
	border-left: 1px solid #c2c2c2;
}

#navigation ul li.page-item-2 {
	border-left: 0px;
}

#navigation ul li#nav-starter {
	border-left: 0px;
}

#navigation ul li a {
	color: #fff !important;
	text-decoration: none;
	z-index: 2;
	padding: 8px 15px;
	line-height: 30px;
}

#navigation ul li a:hover {
	text-decoration: underline;
}

#navigation ul li ul li ul {
	display: none !important;
}

.jqueryslidemenu ul li ul{
	position: absolute !important;
	top: 21px !important;
	left: 0px !important;
	display: block;
	width: 175px !important;
	visibility: hidden;
	border: 1px solid #898989;
	border-top: 1px solid #000;
	padding-top: 0px !important;
	z-index: 99 !important;
	font-size: 15px;
}

.jqueryslidemenu ul li ul li{
	display: list-item;
	float: left;
	position: relative;
	width: 168px !important;
	border-bottom: 1px solid #898989;
	padding: 3px !important;
	margin: 0px !important;
	background: #aaa url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-nav-sub.gif) top left repeat-x;
}

.jqueryslidemenu ul li ul li a{
	position: relative;
	float: left;
	text-align: left;
	width: 158px !important;
	padding: 5px !important;
	line-height: 20px !important;
}

.downarrowclass{
	position: relative;
	padding-bottom: 5px;
	padding-left: 10px;
	margin-left: -8px;
	margin-left: expression('0px');
}

.rightarrowclass{
	position: absolute;
	right: -2px;
	display: none;
}

/*END Navigation*/

/*Middle Section Containers*/

#midcontent-container-border {
	float: left;
	position: relative;
	left: -20px;
	width: 1000px;
	height: 100%;
	background: transparent url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-midcontent-border.png) top left repeat-y;
	z-index: 2;
}

#midcontent-container {
	float: left;
	position: relative;
	left: 20px;
	height: 100%;
	min-height: 400px;
	width: 960px;
	background: #fff url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-content-gradient.gif) top left repeat-x;
	z-index: 2;
}

#content {
	position: relative;
	float: left;
	font-size: 1.4em;
	margin: 0px 20px;
	padding: 20px 35px 20px 0px;
	z-index: 0 !important;
	width: 615px;
	height: 100% !important;
	min-height: 400px !important;
	background: transparent url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/rope.png) top right repeat-y;
}

/*END Middle Section Containers*/

/*Links in Middle Section*/

a:link,
a:visited {
	color: #000;
	text-decoration: underline;
}

a:hover,
a:active {
	color: #444;
}

/*END Links*/

/*Titles and Font Styles*/

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: normal;
	float: left;	
	clear: left;
	width: 100%;
}

#pagetitle,
.widgettitle {
	float: left;
	font-weight: bold;
	width: 100%;
	display: block;
	margin: 10px 0px;
	padding-bottom: 5px;
	border-bottom: 1px solid #275a70;
}

#sidebar .widgettitle {
	font-size: 1.3em;
	width: 100%;
	font-weight: normal;
	text-align: center;
	background: #b1ddeb url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-sidebar-box-title.png) no-repeat top center;
	border-color: #83bdd0;
	padding-top: 5px;
	margin-top: 0px;
}

.entry .widgettitle {
	background: #c6c6bc url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-content-box-title.png) no-repeat top center;
	top: -25px !important;
	padding: 0px 0px 0px 5px;
	width: 99%;
}

h1 {font-size: 4em;}
h2 {font-size: 1.6em;}
h3 {font-size: 1.3em;}

#content h3 {
	float: left;
	margin-top: 10px;
	margin-bottom: 0px;
}

small {
	font-size: 0.9em;
	line-height: 1.5em;
}

/* END Titles and Font Styles */

/*Middle Section Formatting*/

#search .post,
#search .page,
.newspost,
.event-item {
	float: left;
	clear: left;
	width: 96%;
	background: #d6ebff url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-post-box.gif) repeat-x bottom left;
	border: 1px solid #76b8f1;
	padding: 10px;
	margin: 0px 0px 20px 0px;
}

#search .post .widgettitle,
#search .page .widgettitle,
.newspost .widgettitle,
.event-item .widgettitle {
	font-weight: normal;
}


#content p {
	float: left;
	clear: both;
	width: 100%;
	margin: 5px 0px;
}

#content ul,
#content ul li {
	float: left;
	clear: left;
	width: 95%;
}

img.center {
	position: relative;
	display: block;
	margin: 0px auto;
	width: 100%;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.center {
	text-align: center;
}

.hidden {
	display: none;
}

a img {
	border: none;
}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
}

.post-edit-link {
	float: left;
	clear: both;
}

ul#subpagelist,
.entry ul {
	float: left;
	margin-bottom: 20px;
}

ul#subpagelist li,
.entry ul li {
	float: left;
	clear: left;
	margin: 5px 0px;
}

hr {
	display: none;
}

/*END Middle Section Formatting*/

/*Footer*/

#footer-border {
	float: left;
	position: relative;
	left: -20px;
	padding-left: 20px;
	width: 1000px;
	background: transparent url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-footer-border.png) top left no-repeat;
	top: expression('-117px');
}

#footer {
	float: left;	
	padding: 0px;
	margin: 0 auto;
	width: 960px;
	clear: both;
	background: #fff url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-footer.png) top center no-repeat;
	border-top: 1px solid #c6c6c6;
	margin-left: expression('17px');
	font-size: 1.3em;
}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
}

/* END Footer */

/*Sidebar*/

#sidebar {
	position: relative;
	float: right;
	padding: 25px 5px 0px 0px;
	width: 258px;
	height: 100%;
	margin-right: 5px;
	width: expression('240px');
	padding: expression('15px 5px 40px 0px');
	font-size: 14px;
}

.sidebar-container {
	float: left;
	width: 93%;
	margin: 0px 10px 10px 0px;
	padding: 0px 0px 30px 10px;
}

#sidebar ul {
	margin: 0;
	padding: 0;
}

#sidebar ul li {
	float: left;
	clear: left;
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
}

.sidebar-container p {
	width: 230px;
}

#searchform {
	float: left;
	padding: 5px 3px;
	text-align: center;
	margin-bottom: 20px;
	background: #f0e3b0;
	padding: 1px;
	margin-left: 2px !important;
	margin-bottom: 0px !important;
}

#searchform #s {
	float: left;
	position: relative;
	width: 211px !important;
	height: 23px;
	font-size: 16px;
	line-height: 25px !important;
	padding: 3px 5px;
	border: 1px solid #5d5d5d;
	border-width: 1px 0px 1px 1px;
}

#searchform #searchsubmit {
	float: left;
	position: relative;
	background: #e9e9e9 url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/form-search-button-bg.jpg) center center no-repeat;
	width: 28px;
	height: 31px;
	padding: 1px;
	text-indent: -999em !important;
	padding-left: expression('40px');
	border: 1px solid #5d5d5d;
}

.sidebar-container,
.newslistsidebar.widget_recent_entries {
	background: #d6ebff url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/bg-post-box.gif) repeat-x bottom left;
	padding: 6px;
	border: 3px solid #fff;
}

.newslistsidebar.widget_recent_entries li {
	list-style-type: disc !important;
	margin-left: 20px;
}

.newslistsidebar.widget_recent_entries li a {
	text-decoration: none !important;
}

.screen-reader-text {
     position: absolute;
     left: -1000em;
}

/*END Sidebar*/


/*Middle Content Footer*/

#midcontent-footer {
	float: left;
	clear: both;
	width: 100%;
	display: block;
	text-align: center;
	margin: 30px 0px;
}

/*END Middle Content Footer*/

/* Middle Content Form */

#content form {
	float: left;
	clear: left;
	width: 100%;
	text-align: left;
}

#content form p {
	line-height: 25px;
	font-size: 15px;
}

#content form input,
#content form textarea {
	border: 1px solid #333;
	height: 23px;
	font-size: 16px;
	font-weight: normal !important;
	padding: 4px 3px;
	line-height: 25px !important;
}

#content form textarea {
	width: 450px;
	height: 200px;
}

#content form input#submit {
	float: left;
	position: relative;
	clear: left;
	height: 30px;
	padding: 1px 4px 4px 4px;
	cursor: pointer;
	border: 1px solid #4e4e4e;
}

#content form input#submit:hover {
	border-color: #000;
}

#content form #rememberme-field input {
	border: 0px;
}

#content form #rememberme-field span {
	position: relative;
	top: -3px;
}

/* END Middle Content Form */

/* Home Page */

.home-tease-box {
	float: left;
	width: 270px;
	background: #fff/**#d6ebff**/;
	border-top: 5px solid #efefef;
	border-left: 1px solid #f9f9f9;
	border-right: 1px solid #f9f9f9;
	margin-left: 17px;
	padding: 5px;
}

.home-tease-box a {
	text-decoration: none !important;
}

.home-tease-box h3 {
	margin: 3px !important;
	margin-left: 20px !important;
}

.home-tease-box ul {
	width: 230px !important;
	margin-top: 0px;
}

.home-tease-box ul li {
	margin: 5px 0px;
}

.home-tease-box p {
	width: 100%;
	text-align: center;
}

/* END Home Page */

/* Events Page */

.dbem_events_list {
	float: left;
	width: 100% !important;
	padding: 0px;
}

.event-item {
	list-style: none;
}

.event-item .widgettitle {
	float: left;
	position: relative;
	top: -20px;
}

.event-item .widgettitle a {
	text-decoration: none !important;
}

li.event-item:before {
	content: "" !important;
}

.event-item * {
	float: left;
	clear: left;
	width: 100%;
	margin: 5px 0px;
}

.event-item-content {
	margin-left: 40px;
	margin-top: -10px;
}

.event-item-right-content {
	width: 350px;
	float: right;
	text-align: left;
}

.event-item-left-content {
	width: 150px;
	float: left;
}

#dbem-location-map {
	float: left;
	clear: left;
	width: 600px !important;
	height: 400px !important;
	margin-top: 10px;
}

/* END Events Page */

/* Search Page */

#search h4 {
	font-size: 18px;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
}

#search h4 a {
	text-decoration: none;
}

#search h4 a:hover {
	text-decoration: underline;
}

#search h4 small {
	float: right;
	font-size: 12px;
	padding-left: 15px;
	background: transparent url(http://www.cdmcs.org/wp-content/themes/cdmcs/images/login-required-lock.png) no-repeat top left;
}

#search small a {
	color: #777 !important;
	text-decoration: none;
}

/* END Search Page */

/* Members Page */

p.member {
	border-bottom: 1px solid #e1e1e1;
	padding: 10px 0px;
}

/* END Members Page */