/* Colour Palette -- Pining from ColourLovers*/


/* Grid Style */

.col {
	padding: 0 1.5em;
}
.row .row {
	margin: 0 -1.5em;
}

.row:before, .row:after {
	content: "";
	display: table;
}
.row:after {
	clear: both;
}

@media only screen {
	.col {
		float: left;
		width: 100%;

		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
}

.container { max-width: 90em; }

		/* you only need width to set up columns; all columns are 100%-width by default, so we start
		   from a one-column mobile layout and gradually improve it according to available screen space */

		@media only screen and (min-width: 34em) {
			.feature, .info { width: 50%; }
		}

		@media only screen and (min-width: 54em) {
			.content { width: 66.66%; }
			.sidebar { width: 33.33%; }
			.info    { width: 100%;   }
		}

		@media only screen and (min-width: 76em) {
			.content { width: 70%; } /* 7/12 */
			.sidebar { width: 30%; } /* 5/12 */
			.info    { width: 50%;    }
		}


body {
	font-family: "Rosario", sans-serif;
	 margin-left: auto;
	 margin-right: auto;
}

a {
	color: #000;
}

a:hover {
	color: #85B2B0;		
}


h1 {
	font-size: 2.2em;
}
h2 {
	font-size: 1.4em;
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}

h3 {
	font-size: 1.1em;
	font-style: italic;	
}

h4 {
	font-size: 1.1em;
}


h5 {
	font-size: .90em;
	font-style: italic;	
}

h6 {
	font-size: .80em;
	font-style: italic;
	color: #003300;
}

p, ul {
	font-size: 0.8125em;
	line-height: 1.5;
	margin: 0 0 1.5em;
}
code {
	font-size: 1.2727em;
	color: #777;
}
iframe {
	border: 0;
	overflow: hidden;
}

ul {
	list-style-type: none;
}

li.leftPad {
	padding-left: 25px;	
}
.topBar {
	display: block;
	height: 6em;
	width: 100%;
	background-color: #00485B;
	border-bottom: 3px solid #000;	
	border-top: 3px solid #000;	
}

.bacias {
	float: left;
	clear: both;
	margin-top: 0.3em;
	margin-left: 0.2em;
}

.mainMaps {
	float: left;
	margin-bottom: 1em;
	 -moz-box-shadow:    .2em .2em .2em .2em #aaa;
	 -webkit-box-shadow: .2em .2em .2em .2em #aaa;
	 box-shadow:         .2em .2em .2em .2em #aaa;	
}

.container {
	margin: 0 auto;
	max-width: 90em;
	padding: 1em 0;
}

.sidebar {
	background-color: #D2DCC9;
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
}

.footer {
	padding-top: 1.5em;
}

.desc {
	color: #888;
	font-size: 0.8125em;
	font-style: italic;
}

.intro {
	border-bottom: 1px solid #bbb;
	padding-bottom: 1.5em;
}

.social {
	border-top: 1px solid #bbb;
	padding-top: 1.5em;
}


/*Table Styles*/

table {
  border-collapse: collapse;
  margin-bottom: 1em;
}

thead {
	background-color: #8CB84B;
	font-weight: bold;
	font-size: 1em;
}

td, th {
  border: 1px solid #999;
  padding: 0.5em;
  text-align: left;
  font-size: 0.8125em;
}

th {
	background-color: #8CB84B;
}

/*Menu Styles*/

.menu  {
	padding-top: 2.5em;
	padding-bottom: 1em;
}

.menu ul {
	margin: 0;	
	padding: 0;
	text-align: left;
}

.menu li {
	margin: 0 1em 1em 0;
	padding: 0;
	list-style: none;
	display: inline-block;
	font-size: 1.2em;
}

.menu a {
	padding: 0.5em 0.5em;
	text-decoration: none;
	color: #999;
	line-height: 100%;
}

.menu a:hover {
	color: #85B2B0;
}

.menu .current a {
	background: #999;
	color: #fff;
	border-radius: 5px;
}


#featureWatersheds {
	text-decoration: none;	
}


/* minor responsive adjustments */

.footer {
	border-top: 10px solid #00485B;
}

.footer img {
	float: left;
	padding-right: 3em;
}

.content {
	border-bottom: 1px solid #aaa;
	margin-bottom: 1.5em;
}

/*Responsive Media Queries*/

@media only screen and (min-width: 34em) {
	p, ul {
		font-size: 0.875em;
	}
	.feature:first-child,
	.info:first-child {
		border-right: 1px solid #aaa;
	}
	.container {
		padding: 1em;
	}
	h1 {
		font-size: 2.6em;
	}
	h2 {
		font-size: 1.6em;
	}
	
}

@media only screen and (min-width: 54em) {
	.content {
		border: none;
		margin-bottom: 0;
	}
	.info:first-child {
		border: none;
	}
	h1 {
		font-size: 3em;
	}
	h2 {
		font-size: 1.7em;
	}
	
}

@media only screen and (min-width: 76em) {
	.info:first-child {
		border-right: 1px solid #aaa;
	}
	h1 {
		font-size: 3.2em;
	}
	h2 {
		font-size: 1.8em;
	}
}


/*Slideshow from GitHub viljamis/ResponsiveSlides.js*/


  
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border-bottom: 2px solid #000;
  }
  
.rslides_container {
  margin-bottom: 50px;
  position: relative;
  float: left;
  width: 100%;
  }

.SP2004_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 60%;
  left: 0;
  z-index: 99;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("images/themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.SP2004_nav:active {
  opacity: 1.0;
  }

.SP2004_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }
  
.TO2005_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  z-index: 99;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("images/themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.TO2005_nav:active {
  opacity: 1.0;
  }

.TO2005_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }
  
.TO2006_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  z-index: 99;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("images/themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.To2006_nav:active {
  opacity: 1.0;
  }

.TO2006_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }

.Brazil2007_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  z-index: 99;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("images/themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.Brazil2007_nav:active {
  opacity: 1.0;
  }

.Brazil2007_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }
  
.TO2007_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  z-index: 99;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("images/themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.TO2007_nav:active {
  opacity: 1.0;
  }

.TO2007_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }
  
.TO2008_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  z-index: 99;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("images/themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.TO2008_nav:active {
  opacity: 1.0;
  }

.TO2008_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }
  
  
.caption {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px;
  text-align: center;
  background: #000;
  background: rgba(0,0,0, .8);
  color: #fff;
}

@media screen and (max-width: 600px) {
  .github {
    display: none;
  }
}


/*Responsive Menu Media Queries*/


@media screen and (max-width: 60em) {
	.menu {
		position: relative;
		min-height: 1em;
		margin-top: 2em;
	}	
	.menu ul {
		width: 20em;                           
		padding: 0.5em 0;
		position: absolute;
		top: 0;
		left: 0;
		border: solid 1px #aaa;
		background: #fff url(images/menuIcon.png) no-repeat 0.5em 0.7em;
		border-radius: 5px;
		box-shadow: 0 1px 2px rgba(0,0,0,.3);
	}
	.menu li {
		display: none; /* hide all <li> items */
		margin: 0;
	}
	.menu .current {
		display: block; /* show only current <li> item */
	}
	.menu a {
		display: block;
		padding: 0.5em 0.5em 0.5em 2.5em;
		text-align: left;
	}
	.menu .current a {
		background: none;
		color: #666;
	}

	/* on menu hover */
	.menu ul:hover {
		background-image: none;
	}
	.menu ul:hover li {
		display: block;
		margin: 0;
	}
	.menu ul:hover .current {
		background: #aaa;
	}

	/* right menu */
	.menu.right ul {
		left: auto;
		right: 0;
	}

	/* center menu */
	.menu.center ul {
		left: 50%;
		margin-left: -90px;
	}
	
}
