@charset "utf-8";
/* 
Theme Name: IV BIENAL MÚSICA HOJE
Theme URI: http://www.bienalmusocahoje.com
Author: UNIGRAF/PROEC - Wilson M. Voitena
Author URI: http://www.proec.ufpr.br
Description: CSS desenvolvido para IV Bienal Música Hoje
Version: 2.0
*/
 
/*
b - #f8f7c1
r - #c83c57
v - #385550
*/

#container {
	margin: 0 auto;
	max-width: 80em;
}

.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	background-color: #f8f7c1;
}

#logo {
	display: block;
	padding: .5em;
	float: left;
	font-size:2em;
	font-weight: bold;
	color: #C83C57;
}

/* 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 {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0;
	display:inline-block;
	float: left;
	background-color: #f8f7c1;
	}

/* Styling the links */
nav a {
	display:block;
	padding:1em;	
	color: #385550;
	font-size:1em;
	text-decoration:none;
	border-top: #f8f7c1 solid .2em;
}


nav ul li ul li:hover { 
	border-top: #c83c57 solid .0em;
}

/* Background color change on Hover */
nav a:hover { 
	border-top: #c83c57 solid .2em;
	background: #385550;
	color: #f8f7c1 ;
}

/* 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" */
	border-top: #f8f7c1 solid .2em;
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:100%;
	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:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:auto; 

}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' +'; }
li > a:only-child:after { content: ''; }


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {

	#logo {
		display: block;
		padding: .5em;
		width: auto;
		text-align: center;
		float: none;
	}

	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #212F2D;
		padding:14px 20px;	
		color: #f8f7c1;
		font-size:17px;
		text-decoration:none;
		border: none;
	}

	.toggle:hover {
		background-color: #C83C57;
		color: #f8f7c1;
	}

	/* 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%;
		border-top: #6B6B6B .1em solid;
		}

	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: #385550;
		color: #f8f7c1;
		width: auto;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:1em; 
	  	width: 97%;
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #fff;
		color: #760001;
		width: 97%;
		padding-left: 3em;
	}

	/* 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" */ 

	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 100%;
	}

}