/*
Theme Name: ERI
Theme URI: http://richdurnan.com	
Description: Customized for Ecuadorian Rivers Institute
Version: 1.1
Author: Rich Durnan

*/



/*
#backgroundimage {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}
*/
body {
	background-color: #293d6a;
}

#wrapper {
	width: 900px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
	background-attachment: scroll;
	margin-top: 1em;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
	border: medium solid #000;
	text-align: justify;
	background-color: #FFF;
}

#header {
	position: relative;
	color: #000;
	width: 900px;
	background-image: url(images/header.png);
	background-repeat: no-repeat;
	z-index: 10;
}

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

#menu-nav-menu {
	padding-top: 225px;
	padding-left: 1em;
	background-image: url(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: 30px;
}

#nav ul.horizontal> li{
	list-style-type: none;
	display: inline-block;
	vertical-align: top;
	padding-right: 0.75em;
}
#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-weight: bold;
}

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

/* Droppy Nav Bar Basic code - don't modify */
 
 .droppy { display: block; margin: 0; padding: 0; position: relative; }
  .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 {font-size: 12px; padding: 6px; line-height: 1; }
  .droppy li.hover a { background-color: none; }
  .droppy ul { top: 25px; }
    .droppy ul li a { background-color: #1569b2; }
      .droppy ul a.has-subnav { background-color: #2E2A2A }
			.droppy ul a.hover { background-color: #30A8C3; }
   .droppy ul a { border-bottom: 1px solid white; 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: 18px;
}

body, h1, h2, h3, form {
	font-family: 'Arimo', sans-serif;	
}

#body h2, #body p {
	margin: 0.3em 0;
}

a {
	color: #1569b2;
	text-decoration: none;
}

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

h1.page {
	display: none
}

#feature-right{
	width: 300px;
	position: relative;
	border: medium solid #000;
	text-align: justify;
	padding: 10px;
	float: right;
	/*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;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 2em;
	margin-left: 2em;
}
#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;
}


#sidebar {
	float: right;
	margin-left: 10px;
	border: medium solid #000;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
}

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

#sidebar li {
	list-style-type: none
}
#sidebar h2 {
	font-size: 100%
}

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;
}

.map-right {
	float: right;
}

.left {
	float: left;
}

.photoRight {
	float: right;
	text-align: right;
	margin-top: 0em;
	margin-right: 0em;
	margin-bottom: 1em;
	margin-left: 1em;
	border: 2px solid #FFF;
}
.photoLeft {
	float: left;
	text-align: left;
	margin-top: 0em;
	margin-right: 1em;
	margin-bottom: 1em;
	margin-left: 0em;
	border: 2px solid #FFF;
}

/* =Images
-------------------------------------------------------------- */

/*
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;
}

