* { font-family: 'Source Sans Pro'; }
h1, h2, h3, h4, h5 { color:#245A98; margin:20px 0 }
h3.area-title { font-size: 1.4em; font-weight: bold; text-transform: uppercase; border-bottom: 1px solid #A9B8CF; padding-bottom: 3px; }

#topo{ background: #F5F5F5 url('../img/barra-seagro.jpg') top center no-repeat; height: 165px; margin-top:-5px; }

.container{ max-width: 990px; }

.margin-bottom { margin-bottom: 20px; }
.margin-top { margin-top: 20px; }
.margin-top-0 { margin-top:0; }
.center { text-align: center; }

.nav{ margin: -29px 0 50px 0; min-width: 960px;  }
.nav li { list-style: none; float: left; display: inline;}
.nav a { color: #fff; padding: 10px; } 
.nav a.active, .nav a:hover, .nav2 a.active, .nav2 a:hover{ color:#fff; border-bottom:0; background: rgb(81,190,21); background: -moz-linear-gradient(top, rgba(81,190,21,1) 0%, rgba(55,158,15,1) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(81,190,21,1)), color-stop(100%,rgba(55,158,15,1))); background: -webkit-linear-gradient(top, rgba(81,190,21,1) 0%,rgba(55,158,15,1) 100%); background: -o-linear-gradient(top, rgba(81,190,21,1) 0%, rgba(55,158,15,1) 100%); background: -ms-linear-gradient(top, rgba(81,190,21,1) 0%, rgba(55,158,15,1) 100%); background: linear-gradient(to bottom, rgba(81,190,21,1) 0%, rgba(55,158,15,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#51be15', endColorstr='#379e0f',GradientType=0 ); text-decoration: none; border-top-right-radius: 5px; border-top-left-radius: 5px; }
.nav a.active, .nav2 a.active { margin-bottom: 2px; margin-top: 7px; }

.nav .sub { min-width: 70%; display: none; overflow: hidden; }
.nav .sub a { color:#333; line-height: 30px; }
.nav .sub a:hover{ background: none; color: #4EBA14; text-decoration: underline; }

.nav ul{ padding: 0; }
.nav > ul > li:hover > ul { color:#666; display: block; position: absolute; left: 14%; height: 52px; padding: 14px 5px 5px 5px; }

.nav2 { width: 25%; }
.nav2 { border:1px solid #D9E0EA; box-shadow: 5px 5px 0px #F2F6F9; padding: 10px; }
.nav2 a, #filhos a { display: block; float: left; clear: both; color:#22538E; padding:5px 10px; border-radius: 5px; font-size: 1.1em; margin-bottom: -5px; }
#filhos li, #arquivos li { list-style: none; }
#filhos a:before, #arquivos a:before { content: "» " }
.nav2 a:last-child { margin-bottom: 10px; }

.carousel a { color:white; font-size: 1.2em; line-height: 1.0em; font-weight: bold; }
.carousel .carousel-indicators { bottom:45px; }
.carousel .carousel-caption { background: rgba(37,89,149,0.8); width: 100%; padding:15px 20px 0 20px; left: 0; bottom: 0; height:65px; }

.video-wrapper { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.img-wrapper img { width: 100%; height: 100%; }

#conteudo.index #destaques a img{ margin-bottom: 15px; }
#conteudo.noticias .media .no-media { display: block; width: 100px; height: 70px; background: url('no-media.png') #245A98; }

article p{ font-size: 16px; }

@media (min-width: 1500px) { .nav > ul > li:hover > ul, .nav > ul > li > .sub:hover { left: 25%; } .nav .sub { min-width: 70%;} }
@media (max-width: 1200px) { .nav > ul > li:hover > ul, .nav > ul > li > .sub:hover { left: 10%; } .nav .sub { min-width: 85%;} }
@media (max-width: 1100px) { .nav > ul > li:hover > ul, .nav > ul > li > .sub:hover { left: 5%; } .nav .sub { min-width: 90%;} }
@media (max-width: 999px) {
	article { width: 100%!important; }
	#topo{ height: 67px; margin-bottom: 20px; background-position: 27% -40px; }
	.nav .home:after{ content: "Início"; padding-left: 10px; }
	.nav { min-width: 80%; border:1px solid #D9E0EA; box-shadow: 5px 5px 0px #F2F6F9; padding: 6px; }
	.nav li{ float: none; }
	.nav a { color:#666; display: block; clear: both; font-size: 1.1em; }
	.nav a.active { background:#84C340; color: #fff; margin-bottom: 2px; margin-top: 7px; }
	.nav a:last-child { margin-bottom: 10px; }
	.nav a:hover { background:#84C340; color: #fff; text-decoration: none; }
	.nav > ul > li:hover > ul { display: none;}
	.nav2 { width: 50%; height: auto!important; }
}

@media (max-width: 900px) {
	.navbar.navbar-default.visible-xs, .navbar-toggle{ display: block!important; }
	.nav.navbar-collapse.collapse{ display: none!important; }
	.nav.navbar-collapse.collapse.in{ display: block!important; }
}

@media (max-width: 400px) { #topo{ background-position: -487px -40px;} }
