/*
Theme Name: Itastodi
Theme URI: http://wordpress.org/
Description: Template completamente personalizzato per il sito del Liceo Jacopone
Version: 1.0
Author: Martin Sarsini
Author URI: http://www.sarsini.it/
*/



/* Begin Typography & Colors */
* {
    margin: 0;
    padding: 0;
}
html {
    font-size: 100%;
    color: #000;
}

/* Begin Typography & Colors */
body {
	font: .80em/1.4em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background: #bbb577 url('images/bg.jpg') fixed;
	color: #333;
	text-align: left;
	margin: 0 auto;
	padding: 5px;
}
/************************** galleria **************************/
.ngg-galleryoverview {
	clear: none !important;

}

/************************** menu **************************/

ul.menu {
	list-style: none; margin-bottom: 10px;
}
ul.menu, ul.menu a, ul.menu a:visited, ul.menu a:link {
	background-color: #54814a;
	color: #fff !important;
}

ul.menu a, ul.menu a:visited, ul.menu a:link {
	padding: 2px 3px;
	display: block;
	font-weight: bold;
	text-decoration: none !important;
}
ul.menu a:active, ul.menu a:focus, ul.menu a:hover {
	background-color: #406538;
	color: #fff;
}

ul.nuovalista-sublevel-1 li {
	margin: 0 !important;
	border-top: 1px solid #fff1f1;
	font-weight: normal !important;
}

ul.nuovalista-sublevel-1 li a, ul.nuovalista-sublevel-1 li a:visited, ul.nuovalista-sublevel-1 li a:link {
	font-weight: bold !important;
	background-color: #eeecd3 !important;
	color: #406538 !important;
	font-size: .9em;
}

ul.nuovalista-sublevel-1 li a:active, ul.nuovalista-sublevel-1 li a:focus, ul.nuovalista-sublevel-1 li a:hover {
	background-color: #ec161c;
}

/************************** submenu **************************/
ul#rightbar {
	list-style: none; margin-bottom: 10px;
}
#rightbar h2 {
	background-color: #edf5cc;
	padding: 2px 3px;
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 0;
}
.textwidget {
	margin: 0 0 10px 0;
	background-color: #edf5cc;
}
.textwidget p {
	padding: 5px;
	font-size: 0.95em;
}
.textwidget a:hover {
	color: #000 !important;
}
.textwidget ul li {
	font-size: 0.95em !important;
	margin: 0 !important;
	border-top: 1px solid #fff1f1;
	border: 1px dotted white !important;
	background-color: #edf5cc;
	color: #54814a !important;
}
.textwidget ul li a, .textwidget ul li a:visited, .textwidget ul li a:link {
	padding: 2px 3px;
	font-weight: none;
	text-decoration: none !important;
	color: black;
}
div.textwidget {
	width: 150px !important;
}
div.textwidget div{
	width: 150px !important;
	display: block !important;

}
.textwidget ul li a:active, .textwidget ul li a:focus, .textwidget ul li a:hover {
	background-color: #406038;
	color: white;
}

/************************** header **************************/
#header {
	width: 750px; /* 750px */
	height: 170px;
	margin: 0 auto;
	text-align: center;
   background: #fff url('images/header.jpg') no-repeat top;
}
#header h1 {
	display: block;
	width: 750px;
	height: 129px;
}

#header h1 a {
	display: block;
	width: 750px;
	height: 129px;
}
#header h1 span {
	display: none;
	height: 0px;
}

#container {
	padding: 1em 0;
	background-color: white;
	width: 742px; /* 750px */
	margin: 0 auto;
	clear: left;
	border-left: 4px solid #376a03;
	border-right: 4px solid #376a03;
}


/************************** Navigazione header **************************/
#navigation {
	margin: 0 auto;
	text-align: center;
}
#navigation ul {
	margin: 0 auto;
	text-align: center;
	padding: 0;
	width: 740px;
	list-style: none;
	margin-top: 12px;
}
#navigation ul li {
	display: inline;
	margin: 0 0.5em 0 0;
}
#navigation a,
#navigation a:visited,
#navigation a:link {
	color: #fff;
	font-size: 1em;
	font-weight: bold;
	text-decoration: none;
	padding: 0.4em 0.5em 0.4em 0.5em;
	margin-left: 0.2em;
	height: 1.7em;
	background-color: #54814a;
	width: 105px;
	border-top: 1px solid #b5eb11;
	border-bottom: 2px solid #b5eb11;
}

#navigation a:focus,
#navigation a:hover,
#navigation a:active {
	background-color: #799a6b;
}



/***************************** menu laterali *****************************/
#sidebar {
	float: left;
	width: 11.5em;
	margin: 1em;
	list-style-type: none;
}
#rightbar {
	float: right;
	width: 12em;
	margin: 1em;
	list-style-type: none;
}


#sidebar li ul, #rightbar li ul {
	list-style-type: none;
	font-size: 0.95em;
}

#sidebar a,
#sidebar a:link,
#sidebar a:visited {
	color: #000;
	text-decoration: none;
}
#sidebar a:hover,
#sidebar a:active,
#sidebar a:focus {
	color: #fff;
	text-decoration: underline;
}

/* Contenuti */
#content a,
#content a:link,
#content a:visited {
	color: #406038;
	text-decoration: underline;
}
#content a:hover,
#content a:active,
#content a:focus {
	color: #fff;
	background-color: #406038;
	text-decoration: none;
}

#content {
    margin: 0em 1em 0 16em;
    font-size: 0.9em;
}
#content p {
	margin: 0.8em 0;
	line-height: 180%;
}
#content table {
	border: 1px solid #406038;
}
#content table td {
	padding: 2px;
}


/* Footer */
#footer {
	width: 750px; /* 750px */
	height: 43px;
	margin: 0 auto;
	text-align: center;
	background: #fff url('images/footer.jpg') no-repeat top;
}
#footer p {
    margin: 0;
}
#footer a,
#footer a:link,
#footer a:visited {
	text-decoration: underline;
	color: #000 !important;
}
#footer a:focus,
#footer a:active,
#footer a:hover {
	color: #fff;
	text-decoration: underline;
	background-color: #dee2eb !important;
}

/* Forms */
#content form {
	background: #edf5cc url('images/forms-bg.gif') repeat-x bottom;
	padding: 1em;
}
#content form label span {

}
#content form label input {

}
textarea {
	width: 99%;
}
#content .submit input {
	padding: 2px 10px;
	border: none;
	background-color: #406038;
	color: #fff;
}

#content form p {
	margin: 0 auto;
}

#searchform {
	margin-bottom: 10px;
}
#searchform br {
	display: none;
}
#searchform input {
	padding:0px;
	margin: 0px;
	border: none;
	background-color: #406038;
	color: #fff;
}
#searchform #s {
	float: left;
	width: 7em;
	margin:0 0.5em 0 0;
	border: 1px solid #406038;
	background-color: #fff;
	color: #000;  
}

/* Generali */
.pinball-on {
	background-color: #406038 !important;
}
.pinball-on a, .pinball-on a:link, .pinball-on a:visited, .pinball-on a:active, .pinball-on a:hover, .pinball-on a:focus {
	color: white !important;
}
h2 {
    margin: 0 0 0.5em 0;
    font-size: 140%;
	 line-height: 150%;
	 color: #406038;
}
#childrenpages {
	list-style: none;
}
#childrenpages li {
margin-left: 15px;
}
#childrenpages li a, #childrenpages li a:link, #childrenpages li a:visited {
	text-decoration: none;
	font-size: 1.3em;
	font-weight: bold;
	background-color: #edf5cc;
	padding: 5px;
	margin-bottom: 10px;
	display: block;
}
#childrenpages li a:active, #childrenpages li a:focus, #childrenpages li a:hover {
	background-color: #406038;
	color: white;

}
#childrenpages li ul {
	list-style: none;
	border-top: 1px dotted #406038;
	margin-bottom: 1px solid white;
	margin-top: -10px;
}
#childrenpages li ul li a, #childrenpages li ul li a:link, #childrenpages li ul li a:visited {
	font-size: 1em;
}

/* Posts */
h3 a, h3 a:link, h3 a:visited {
	text-decoration: none !important;
	font-size: 14px !important;
}
.entry {
	margin-bottom: -10px;
}
.postmetadata {
	font-size: smaller;
	margin-top: -10px;
}



/* common styling */
.hometab {
	border-top: 1px solid #069;
}

#sidebar ul li a, #sidebar li a:visited {
	display: block;
	text-decoration: none;
	width: 150px !important;
	height: 25px;
	text-align: left;
	border-bottom: 1px dotted #fff;
	background: none;
	line-height: 25px;

	font-weight: bold;
}

#sidebar ul {
	padding:0;
	margin:0;
	list-style-type: none;
}

#sidebar ul li {
	float:left;
	margin-right:1px;
	position:relative;
}
#sidebar ul li ul {
	display: none;
}

/* specific to non IE browsers */

#sidebar ul li a,
#sidebar ul li a:visited,
#sidebar ul li a:link {
	color: #fff;
	background-color: #54814a;
}

#sidebar ul li:hover a {
	color: #fff;
	background-color: #406538;
}

#sidebar ul li:hover ul {
	display: block;
	position: absolute;
	top: 0;
	left: 157px;
	width: 150px;
	border-bottom: 1px dotted #fff;
	border-width: 1px 1px 0px 1px;
	color: #54814a !important;
	font-size: 10px !important;
}
#sidebar ul li:hover ul li a.hide {
	background-color: #eeecd;
	color: #54814a !important;
	font-size: 10px !important;
}

#sidebar ul li:hover ul li:hover a.hide {
	width:150px;
	font-size: 10px !important;
}

#sidebar ul li:hover ul li ul {
	display: none;
	font-size: 10px !important;
}

#sidebar ul li:hover ul li a,
#sidebar ul li:hover ul li a:visited,
#sidebar ul li:hover ul li a:link, {
	display: block;
	background-color: #406538;
	color: #54814a !important;
	width: 150px;
	font-size: 10px !important;
}

#sidebar ul li:hover ul li a:hover {
	background-color: #ec161c;
	color: #54814a !important;
	font-size: 10px !important;
}

#sidebar ul li:hover ul li:hover ul {
	display: block;
	position: absolute;
	left: 180px;
	top: 0;
	color: #54814a !important;
	font-size: 10px !important;
}

#sidebar ul li:hover ul li:hover ul li a {
	display:block;
	width: 150px;
	background: #eeecd3;
	color: #54814a !important;
	font-size: 10px !important;
}

#sidebar ul li:hover ul li:hover ul li a:hover {
	background: #ec161c;
	color: #54814a !important;
	font-size: 10px !important;
}

/* END NAVT CSS FLYOUT                           */

