/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);
@import url(https://fonts.googleapis.com/css?family=Courgette);
@import url(https://fonts.googleapis.com/css?family=Bowlby+One);

body {
	word-wrap:break-word !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin: 0;
	}

.toggle,
[id$=Drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	background-color: #295A7D;
	line-height: 33px;
	text-align: center;
}

nav > a {
	text-align: center;
}

.text-title {
	display: none;
	text-align: center;
	color:#088AA4;
	vertical-align: middle;
}
#logo {
	padding: 0 15px;
	display: inline-block;
	font-size:20px;
	line-height: 60px;
}

.header {
	width:99%;
	height: 100px;
	padding:5px;
	background-color: #FAF9F9; 
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	display: inline-block;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	text-align: left;
	}
	
nav li {
	z-index:1;
}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	background-color: #295A7D;
	
	}

/* Styling the links */
nav a, nav span {
	display:block;
	padding:9px 10px;	
	color:#FFF;
	font-size:14px;
	text-decoration:none !important;
	cursor: pointer;
}

nav ul li ul li:hover { background: #0b314c; }

/* Background color change on Hover */
nav a:hover { 
	background-color: #0b314c; 
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 50px; 
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:240px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-50px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:240px; 
}

.sticky {
	position: fixed;
	width: 100%;
	z-index: 2;
	top: 0;
}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:only-child:after { content: ''; }

/*
Search Bar
*/
.logo-new {
	display: inline-block;
	width: 100%;
	height: 60px;
	margin-top: 20px;
}

.logo-new .img {
	display: inline-block;
}

.logo-new .img img {
	height: 60px;
	width: auto;
	vertical-align: middle;
	margin-left: 90px
}


.logo-new .text {
	width: 60%;
	display: inline-block;
	vertical-align: middle;
}

.logo-new .text .nomeEntidade {
	color: #808080;
	font-size: 24px;
	display: block;
}

.logo-new .text .nomeMunicipio {
	color: #20577D;
	font-size: 18px;
	font-weight: bold;
	vertical-align: middle;
	line-height: 20vim;
}



.center {
	display: inline-block;
	width: 20%;
	text-align: center;
	vertical-align: top;
	color: #20577D;
	font-weight: bold;
	font-size: 27px;
	position: relative;
}
.center span .portal {
	vertical-align: middle;
	position: absolute;
	top: 20px;
	left: 0px;
	width: 100%;
	font-family: serif;
}

.portal {
	font-family: 'Courgette';
	font-size: 30px;
	font-weight: lighter;
	color: rgba(0, 0, 255, 0.63);
}

.transparencia {
	font-family: 'Josefin Sans';
	font-size: 35px;
	color: rgba(0, 0, 255, 0.60);
}

.right {
	float: right;
	width: 320px;	
}
.search {
  width: 100%;
}

.search .searchTerm {
  width: 250px;
  border: 1px solid #20577D;
  padding: 5px;
  height: 21px;
  outline: none;
  color: #088AA4;
  vertical-align: super;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  background: #FAF9F9;
  
}

.searchTerm:focus{
  color: rgba(51, 54, 56, 0.91);
}

.searchButton {
  vertical-align: top;
  width: 40px;
  height: 33px;
  border: 1px solid #20577D;
  background: #FAF9F9;
  text-align: center;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  margin-left: -7px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.btn-pesquisa {
	color: #20577D; 
	margin-left:-32px; 
	vertical-align:super; 
	cursor:pointer;
	position:absolute;
	top: 8px;
	right: 13px;
}

/*Resize the wrap to see the search bar change!*/
.wrap{
  padding-left: 10px;
  display: block;
  position: absolute;
  top: 63px;
  right: 155px;
  width:295px;

}
.update {
	display: block;
	position: absolute;
	top: 103px;
	font-size: 12px;
	height: 50px;
	right:160px;

}

.peq {
	font-size: 16px !important;
	font-weight: normal;
}

.update-logo, .update-info {
	display: inline-block;
	color: #20577D;
}


#nome {
	text-align: center;
}

.hiddenEntidade {
	color: #808080;
	font-size: 15px
}

.hiddenMunicipio {
	font-size: 18px
}

.information {
	height: 54px;
    position: absolute;
    top: 52px;
    right: 90px;
}

/* Media Queries
--------------------------------------------- */

@media all and (max-width : 1156px) {
	.logo-new .img img {
		margin-left: 10px;
	}
	.information {
		right: 10px;
	}
	
	.wrap {
		right: 65px;
	}
	
	.update {
		right: 70px;
	}
	
}

@media all and (max-width : 853px) {
	.logo-new .text {
		display: none;
	}
	
	.logo-new {
		width: 23%;
	}
}


@media all and (max-width : 768px) {
	
	#geral label {
		display: none;
	}
	#geral a {
		display: block;
	}
	
	.header {
		height: 110px;
	}
	
	.update {
		top: 100px;
	}
	
	#logo {
		display: block;
		padding: 0;
		width: 100%;
		text-align: center;
		float: none;
	}

	nav {
	z-index: 100;
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu-ul {
		z-index: 100;
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		padding:14px 20px;	
		color:#FFF;
		font-size:17px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #0b314c;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id$=Drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #000;
	}
	
	nav a:hover:first-child{
		background-color: #0b314c;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:17px; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #0b314c; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}

	.center {
		display: none;
	}

	.logo-new {
		width:60%;
		top:20px;
	}

	.text-title {
		display: block;
	}
	 .img img { 
	 	height: 65px !important;
	 	width: auto !important;
	 	vertical-align: middle; 
	 }
	 .wrap {
	 	right: 60px;
	 	top:38px;
	 }
	 .information {
	 	top: 29px;
	 	right: 5px;
	 }
	 
	 .logo-new .img img {
	 	margin-left: 0;
	 }
	 
	 .update {
	 	top: 90px;
	 	right: 20px;
	 }

}

@media all and (max-width : 470px) {
	.search .searchTerm {
		width: 135px;
	}
	
	.wrap {
		width: 185px;
	}
	
	.btn-pesquisa {
		right: 18px;
	}

}

@media all and (max-width : 350px) {
	.img img { 
		height: 45px !important;
	 	width: auto !important;
	 }
	 
	 .wrap {
	 	width: 160px;
	 }
	.search .searchTerm {
		width: 115px;
	}
	.update {
		top: 80px;
		right: 7px;
	}
	
	.information {
		top: 26px;
		height: 40px;
		right: 10px
	}
	
	.btn-pesquisa {
		right: 15px;
	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}
	.btn-pesquisa {
		right: 13px;
	}
}


