/*
Theme Name: WCC
Theme URI: http://richdurnan.com	
Description: Customized for Western Colorado Congress
Version: 1.0
Author: Rich Durnan

*/


/* = code for scaling bacground image............ */

#backgroundimage {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}

#wrapper {
	width: 900px;
	text-align: justify;
	background-color: #FFC981;
	/*background: rgb(253,233,206);	
	background-color: rgba(253,233,206, 0.75);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px; 
	border: medium solid #000;*/
	background-attachment: scroll;
	margin-top: 3em;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
}

#header {
	position: relative;
	margin-top: -3em;
	color: ;
	width: 900px;
	background-image: url(http://www.wccongress.org/wp-content/themes/WCC1.0/images/wccHeader.jpg);
	background-repeat: no-repeat;
	z-index: 10;
}

#header h1 {
	margin-top: 44px;
	color: #000;
	font: font-family: 'Didact Gothic', sans-serif;
	font-family: 'Ubuntu', sans-serif;
}

/* = formating for nav bar ........................*/

#menu-nav-menu {
	padding-top: 128px;
	padding-left: 1em;
	background-image: url(http://www.wccongress.org/wp-content/themes/WCC1.0/images/navbar.png);
	background-repeat: repeat-x;
	background-position: bottom;
	z-index: 9;
}
#nav ul.horizontal {
	list-style-type: none;
	font-size: medium;
	font-weight: normal;
	text-align: left;
	vertical-align: middle;
	-moz-padding-start:0;
	-webkit-padding-start:0;
	padding-start:0;
	height: 28px;
	color: #FFF;
}

#nav ul.horizontal> li{
	list-style-type: none;
	display: inline-block;
	vertical-align: top;
	padding-right: 0.675em;
	padding-left: 0.5em;
	border-right-style: groove;
	border-right-width: medium;	
}
#nav ul.menu.sub-menu {
	display: none;
	-webkit-padding-start: 0;
	position: absolute;

}
#nav ul.horizontal>li:hover ul.menu.sub-menu {
	display: block;
	-moz-padding-start:0;
	-webkit-padding-start:0;
	padding-start:0;
}
#nav ul.menu.sub-menu> li{
	display: block;
	list-style: none;
	background: #f1f5fb;
	padding-right: 0.5em;
	padding-left: 0.5em;

}

#nav a {
	color: #FFF;
	font-size: 90%;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	font-weight: bold;
}

#nav a:hover {
	color: #FFF;
}

/* Droppy Nav Bar Basic code - don't modify */
 
 .droppy {
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
	text-align: center;
}
  .droppy li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
}
  .droppy a { display: block; }
  .droppy ul { display: none; position: absolute; left: 0; margin: 0; padding: 0; }
  * html .droppy ul { line-height: 0; } /* IE6 "fix" */
  	.droppy ul a { zoom: 1; } /* IE6/7 fix */
    .droppy ul li { float: none; }
    .droppy ul ul { top: 0; }
    
/* Essentials - configure this */

.droppy ul { width: 130px; }
.droppy ul ul { left: 131px; }

/* Everything else is theming */

.droppy *:hover { background-color: none; }
.droppy a {padding: 6px; line-height: 1; }
  .droppy li.hover a { background-color: none; }
  .droppy ul { top: 25px; }
    .droppy ul li a { background-color: #3e859c; }
      .droppy ul a.has-subnav { background-color: #3e859c; }
			.droppy ul a.hover { background-color: #3e859c0; }
   .droppy ul a { border-bottom: 1px solid black; border-right: none; opacity: 0.9; filter: alpha(opacity=90); }
/* .droppy ul a { border-bottom: none; } - I also needed this for IE6/7 */

#body {
	padding-left: 1em;
	padding-right: 1em;
	text-align: left;
	font-size: 90%;
}

body, form {
	font-family: 'Didact Gothic', sans-serif;
	font-family: 'Ubuntu', sans-serif;
	font-size: 100%;
}

h1 {
	font-family: 'Didact Gothic', sans-serif;
	font-family: 'Ubuntu', sans-serif;
	font-size: 150%;
}

h2 {
	font-family: 'Didact Gothic', sans-serif;
	font-family: 'Ubuntu', sans-serif;
	font-size: 120%;
}

a {
	color: #000;
	text-decoration: none;
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-bottom-style: dotted;
	border-top-color: #000;
	border-right-color: #000;
	border-bottom-color: #000;
	border-left-color: #000;
}

a:hover {
	text-decoration: underline;
	color: #F56B00;
}

h1.page {
	display: none;
	font-size: 80%;
}

#feature-home {
	width: 300px;
	position: relative;
	text-align: left;
	float: right;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

#feature-right{
	width: 300px;
	position: relative;
	text-align: left;
	padding: 5px;
	float: right;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 10px;
}

#donate{
	width: 150px;
	position: relative;
	border: medium solid #3e859c;
	text-align: center;
	padding: 2px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
	margin-right: auto;
	margin-left: auto;
}

#donateleft{
	width: 150px;
	position: relative;
	border: medium solid #3e859c;
	text-align: center;
	padding: 2px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
	margin-right: 10px;
	float: left;
}

#donateright{
	width: 150px;
	position: relative;
	border: medium solid #3e859c;
	text-align: center;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
	margin-left: 5px;
	float: right;
	padding: 2px;
	margin-right: 5px;
}

#updates-right{
	width: 160px;
	position: relative;
	text-align: left;
	padding: 5px;
	float: right;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 10px;
}

/* feature-left not currently in use */

#feature-left{
	width: 300px;
	position: relative;
	border: medium solid #FFF;
	text-align: justify;
	padding: 10px;
	float: left;
	background: rgb(255, 255, 255); /* The Fallback */
	background: rgba(255, 255, 255, 0.40);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
	clear: right;
	margin-top: 5px;
	margin-right: 2em;
	margin-bottom: 2em;
	margin-left: 5px;
}
td {
	padding-right: 20px;
	text: justify;
}


/* Blog post sidebar ................................. */

#sidebar {
	float: right;
	margin-left: 5px;
	margin-right: 5px;
	border: medium solid #000;
	-webkit-border-radius: 15px;
	-moz-border-radis: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
	width: 330px;
	font-size: 90%
}

#sidebar ul {
	-moz-padding-start:1em;
	-webkit-padding-start:1em;
	padding-start:1em;
}

#sidebar li {
	list-style-type: none
}
#sidebar h2 {
	font-size: 130%
}
.posts { 
	max-width: 500px;
}

img {
	border: 0;
}

#footer {
	color: #000;
	margin-top: 2em;
	font-weight: bold;
	clear: both;
	text-align: center;
	padding-top: 1em;
	padding-bottom: 1em;

}

#footer p {
	margin: 0;
	padding: 0;
	font-size: small;
}


/* =Images wordpress media loadeer
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}