/* CSS Document */

* {margin:0;padding:0}
body {font-family: Arial, Helvetica, sans-serif; font-size: 90%; background-color:#e5e5e5; background-image:url(images/bodybg.jpg); background-repeat:repeat-x;}


/*++++++++++++++++ TYPOGRAPHY ++++++++++++++++*/
p {padding:0 5px 0 5px;}
p, ul, ol {margin: 0 0 .5em; }
h1, h2, h3, h4, h5, h6 {letter-spacing: -1px;margin: .5em 0 .3em;color:#000;padding-bottom: .1em}
h1 {font-size: 196%;margin-top:.6em}
h2 {font-size: 136%}
h3 {font-size: 126%}
h4 {font-size: 116%}
h5 {font-size: 106%}
h6 {font-size: 96%}
hr {clear:both;height:0; color:#fff; background-color:#FFFFFF; border:none}

a {}
a:visited {color:#996600}
a:hover {background-color:#ffffcc}

.highlight {color:#E17000}
.subdued {color:#999}
.error {color:#c00;font-weight:bold}
.success {color:#390;font-weight:bold}
.caption {color:#999;font-size:11px}
.date {font: bold 82% arial;color:#bbb;display:block;letter-spacing: 1px}
.alert {
	background: #fff6bf url(images/exclamation.png) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
	padding: 5px 20px 5px 45px;
	border-top: 2px solid #ffd324;
	border-bottom: 2px solid #ffd324;
	}
.tip {
	background: #F8FAFC url(images/information.png) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
	padding: 5px 20px 5px 45px;
	border-top: 2px solid #B5D4FE;
	border-bottom: 2px solid #B5D4FE;
	}
	
	
/*++++++++++++++++ LISTS ++++++++++++++++++*/
ul {margin: .3em 0 1.5em 1.5em;}
	ul.related {margin-top: -1em}
ol {margin: .5em .5em 1.5em}
ol li {margin-left: 1em;padding-left: 0;background: none; list-style-type: decimal}
li {line-height: 1em;/*padding-left: 14px;background: transparent url("listbullet.gif") no-repeat 0 2px*/}
dl {margin: 0 0 1em 0}
dt {font-weight:bold;margin-top: 1.3em}
dl dl {margin: 0 0 1.5em 30px}

#nav ul,#sidebar ul {list-style-type:none}

/*************** PAGE LAYOUT ****************************************/
#wrapper {background: #fff; width:90%; min-width:840px; margin:0 auto; padding: 0 5px 5px 5px; text-align:left; border-left: 5px solid #FF8D01; border-right: 5px solid #FF8D01;border-bottom: 5px solid #FF8D01;}
#topbar {background: #000; width:100%; float:left; }
#header {background: #fff; width:100%;height:70px;float:left; clear:both }
#search {background: #ebebeb; width:28%;height:70px;float:left;  }
#strumenti {background: #fff; width:21%;height:70px;float:right; }
#navbar {background: #ff9900; width:100%;float:left; clear:both;}
#wrapcontent {float:left;width:76.5%;}
#maincontent {background: #fff; float:right; width:68.5%; margin:0 .75% 0 0; }
#nav {float:left;width:29%; }
#sidebar {float:right;width:23%;  }
#footer {background: #ebebeb; width:100%;height:50px;clear:both; text-align:center; padding-top:15px; margin-top:10px; border-top:1px solid #333;}
#credits {}

/*************** PAGE SECTION LAYOUT ****************************************
HEAD = topbar, header, search, strumenti, navbar
BODY = wrapcontent, maincontent, nav, sidebar
FOOT = footer
***************************/
/***** HEAD - %topbar *****/
#topbar h3 {float:right; margin:0;}
#topbar h3 {position:relative; width:290px; height:25px; padding:0; overflow:hidden; margin-top:0px; color:#fff;}
#topbar h3 em {display:block; width:290px; height:25px; background:url(images/topbar_mghlogo.gif); position:absolute;top:0;left:0px;}
/*#topbar, #topbar ul {padding: 0;margin: 0;list-style: none; font-size:90%}
#topbar a {display: block;width: auto; color:#fff; font-weight:bold; text-decoration:none; padding: 3px 0;}
#topbar li {float: left;width: auto;text-transform:capitalize;}
#topbar li ul {	position: absolute;	width: 10em;left: -999em;}
#topbar li ul li{width: 6.5em; background-color:#ccc; border-bottom:1px solid #ebebeb;}
#topbar li:hover ul {left: auto;}*/

/***** HEAD - %navbar *****/
#navbar {background-color:#CCCCCC;border-top: 5px solid #ccc;border-bottom: 5px solid #f4f4f4}
/*#navbar, #navbar ul {padding: 0;margin: 0;list-style: none; }
#navbar a {display: block;width: auto; color:#fff; font-weight:bold; text-decoration:none; padding: 3px 0;}
#navbar ul {float: right; margin-right: 10px;}
#navbar li {float: left;width: auto;text-transform:capitalize;}*/

#header h1 {position:relative; width:49%; height:60px; padding:0;overflow:hidden;margin-top:0px;color:#fff; float:left;}
#header h1 em {display:block; width:360px; height:60px; background:url(../images/logo_ateneo.gif); position:absolute;top:0; left:0px;}



/***** BODY - %nav *****/
#nav ul {margin: 0 0 1em 0;padding:0;}
#nav ul ul{margin: 0;padding:0;}
#nav li {font-weight:bold;margin-top: .1em; width:100%;padding:0;}
#nav li a{display:block; background-color:#f7f7f7; color:#000; padding:2px 2px 2px 5px; width:94%;border-left: 2px solid #ccc; border-right: 2px solid #ccc;text-decoration:none;}
#nav li a:hover{background-color:#FFC501; color:#000; padding:2px 2px 2px 5px; width:94%; border-left: 2px solid #FF8D01; border-right: 2px solid #FF8D01;}
#nav li li a{ background-color:#FFC501;color:#000; border-left: 2px solid #ccc; border-right: 2px solid #ccc; font-weight:normal; text-decoration:none;}
#nav li li a:hover{background-color:#ffffcc; color:#000; border-left: 2px solid #FF8D01; border-right: 2px solid #FF8D01;}
#nav h3 {margin-bottom:0; padding:2px 2px 2px 25px; background: #fff;}
#nav h3.help { background-image:url(images/help.gif); background-repeat:no-repeat; background-position: left bottom; }

/* hide submenus */
.navdocenti { display:none;} 
.navstudenti { display:none;} 
.navautori { display:none;} 
.navlibrerie { display:none;} 
.navbiblioteche { display:none;}  
.navmedia { display:none;} 

p.navgradient {background-color:#FE8800; background-image:url(images/red_orange_gradient.gif); background-repeat:repeat-x;margin:0 2% 0 0 ;padding:8px 5px 10px 5px; color:#FFFFFF; font-weight:bold;}
p.navgradient a {color:#FFFFFF; text-decoration:none;display:block; padding:0; margin:0;}
p.navgradient a:hover {background-color:transparent;text-decoration:underline;color:#FFFFFF;}
p.navgradient a:visited {background-color:transparent;color:#FFFFFF;}

/***** maincontent cols *****/
div.mc70 {background: #fff; width:70%;float:left; margin-top:10px; margin:0; padding:0; }
div.mc30 {background: #EBEBEB; width:29%;float:right; margin-top:10px; margin:0; padding:0; }
div.mc60 {background: #fff; width:60%;float:left; margin-top:10px; margin:0; padding:0; }
div.mc40 {background: #EBEBEB; width:39%;float:right; margin-top:10px;}
div.mc50 {background: #fff; width:49%;float:left; margin-top:10px; margin:0 ; padding:0; }
div.mc50s {background: #fff; width:49.5%;float:left; margin-top:10px; margin:0 ; padding:0; }
div.mc50d {background: #fff; width:49.5%;float:right; margin-top:10px; margin:0; padding:0; }
div.mc40 h3,div.mc50s h3,div.mc50d h3,div.mc30 h3, div.mc70 h3, div.mc60 h3,div.mc100 h3{background: #FF8D01; padding:2px 2px 2px 5px; color:#FFFFFF }

/************* SIDEBAR **********************/
#sidebar h3 {background: #f1f1f1; margin-bottom:0; padding:2px 2px 2px 25px; background-image:url(images/astrix.gif); background-position:left; background-repeat:no-repeat;}
#sidebar ul.elencosidebar {margin: 0 0 0 0;padding:0; }
#sidebar ul.elencosidebar li {font-weight:normal;margin-top: .1em; width:100%;padding:0;}
#sidebar ul.elencosidebar li a {display:block; background-color:#f7f7f7; color:#000; padding:2px 2px 2px 5px; width:96%;border-left: 2px solid #ccc; border-right: 2px solid #ccc;text-decoration:none;}
#sidebar ul.elencosidebar li a:hover {background-color:#FFC501; color:#000; padding:2px 2px 2px 5px; width:96%; border-left: 2px solid #FF8D01; border-right: 2px solid #FF8D01;}

#sidebar h1, #sidebar h2, #sidebar h3, #sidebar p{ /*margin-left:10px;*/}

.sbgradient {background-color:#FE8800; background-image:url(images/red_orange_gradient.gif); background-repeat:repeat-x;margin:0;padding:8px 5px 10px 5px; color:#FFFFFF; font-weight:bold;}

/************* BOOK LISTS AND RESULT PAGES *****************/

/************* BOOKBLOCK **********************/
#bookblock div { border: 1px dotted #999; border-width: 0; margin: 0; padding:0; font-size:90%;}
#bookblock div.libro {float:left; clear:left;padding: 0; margin:0;}
#bookblock div.half {float:left; width:48%; margin:0 .5% 0 .5%;}
#bookblock div.alt {background: #f7f7f7;  }
#bookblock img {float:left; padding: 0 5px 0 2px; margin:0;}
#bookblock div.alt img {float:right; padding: 0 2px 0 5px}
#bookblock div.nuovo {background-image:url(images/novita.gif); background-position:top left; background-repeat:no-repeat; padding-top:15px; }
#bookblock div a { color: #990000; display: block; font-weight: bold; font-size: 120%; text-decoration: none; clear:both;}
#bookblock div a:hover { background: #ffffcc; }
#bookblock a em { color: #333; display: block; font-weight:normal; font-style:normal; font-size: 80%; line-height: 110%; }
#bookblock a span { color: #125F15; font-weight: normal; font-size: 80%; line-height: 125%;display: block;}

.pagelinks { font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px;margin:20px 0 0 0;padding:10px 0; clear:both; border-top:1px solid #000; }
.pagelinks a:link, .pagelinks a:visited, .pagelinks a:active{color:black;background-color: #FFFFFF;border: 1px solid #ebebeb;margin: 1px;text-decoration: none;padding: 1px 5px;}
.pagelinks a:hover {color:#000;background: #ffffcc;border: 1px solid #ebebeb;margin: 1px;text-decoration: none;padding: 1px 5px;}
.current {background-color: #FF0000;border: 1px solid #FF0000;color: #FFFFFF;font-weight: bold;margin: 1px;padding: 1px 5px;}

#libroscheda {}
#libroscheda img {float:left; padding: 0 5px 0 2px; margin:0;width:25%}
#libroinfo ul{float:left; padding: 0 5px 0 2px; margin:10px 0;width:35%; list-style-type:none;}
#libroscheda ul li.acquistare {border-top:1px solid #ccc;margin:15px 0;padding:10px 0}
#libroscheda ul img {width:140px}
#librocorrelati{float:left; padding: 0 2px 0 5px; margin:0; width:35%; border-left:1px dotted #ccc;}
#libroscheda h3 { border-bottom:1px solid #999;}
#libroscheda p.bookdesc {background-color:#f4f4f4; border-bottom:1px solid #ebebeb;border-top:1px solid #ebebeb;padding: 5px 0 5px 10px;margin: 10px 0;}
#librocorrelati h3{ font-size:110%; border-bottom:1px solid #999;}
#librocorrelati ul{list-style-type:none;padding:0;margin:0;}
#librocorrelati ul li{padding:2px;margin:0;border-bottom:1px dotted #f4f4f4;}


#stylechanger {background: #ebebeb; border-bottom: 2px solid #000; width:100%; height: 50px; padding:5px 10px 3px 10px; font-size:12px;}

#topnav, #topnav ul {	padding: 0;	margin: 0;	list-style: none; z-index:999; }
#topnav a {	display: block;	width: auto; color:#FFFFFF; text-decoration:none;padding: .4em .3em .3em .4em; font-weight:bold; }
#topnav a:hover {	background-color:#999;}
#topnav li {	float: left;width: auto;background-color:#000;}
#topnav li ul {position: absolute;	width: 10em;left: -999em;}
#topnav li li {
	width: 9em
}
#topnav li:hover ul {	left: auto;width: 8em;}
#topnav li:hover ul, #topnav li.sfhover ul {
	left: auto;
}


/* FORMS 
------------------------------------*/
/*-fields-*/
#modulo fieldset {border: 1px solid #ebebeb; padding:5px; background-image:url(bg-form.png); background-repeat:repeat-x; clear:both;}
#modulo legend {color:#990000; background-color:transparent; margin:0; padding:2px; font-size:larger; font-weight:bold;}
#modulo label { display:block;	background-color: #FFF2BF; float: left;  width: 94.5%; padding: 2px 0 2px 4%; text-align: left; margin: 2px; border-top: 1px solid #ebebeb;	border-bottom: 1px solid #cccccc; }
#modulo input, #modulo textarea {float: left; width: 96%;background-color: #ffffff;padding: 2px 0; border-top: 1px solid #ebebeb;	border-left: 1px solid #ebebeb;border-right: 1px solid #cccccc;border-bottom: 1px solid #cccccc;	margin:2px 0 0 .5%; }
#modulo select {float: left; width: 96%; background-color: #ffffff;	padding: 2px; border-top: 1px solid #ebebeb;border-left: 1px solid #ebebeb;border-right: 1px solid #cccccc; border-bottom: 1px solid #cccccc;	margin: 1px 2px; }
#modulo select.f-autowidth {float: left; width: auto; background-color: #ffffff;	padding: 2px; border-top: 1px solid #ebebeb;border-left: 1px solid #ebebeb;border-right: 1px solid #cccccc; border-bottom: 1px solid #cccccc;	margin: 1px 2px; }


/*-field divs- opt req */

#modulo div  {width:48.5%; float:left; margin-left:0%;margin-right:0%;}

/*#modulo div.f-req,#modulo div.f-opt  {width:98.5%; float:left; margin-left:0%;margin-right:0%;}*/
#modulo div.f-wide  {width:98.5%; float:left; }

/*div.f-req label, div.f-req p { display:block;	background-color: #FFF2BF; float: left;  width: 94.5%; padding: 2px 0 0 4%; text-align: left; margin: 2px; border-top: 1px solid #ebebeb;	border-bottom: 1px solid #cccccc;}*/
#modulo div.f-req label { background-color: #FFF2BF; background-image:url(obbstar.gif); background-position:left;	background-repeat:no-repeat; font-weight:bold;	border-top: 1px solid #ff0000; border-bottom: 1px solid #ffCC00;}
#modulo div.f-req input, #modulo div.f-req select, #modulo div.f-req textarea {border-top: 1px solid #999;	border-left: 1px solid #999;border-right: 1px solid #333;border-bottom: 1px solid #333;}
/*div.f-req p, div.f-err p {	padding: 3px 0 3px 2%;background-color: #FFF2BF; }*/
#modulo div.f-err label  {background-color:#CC0000; color:#FFFFFF; font-weight:bold; background-image:url(errstar.gif); 	background-position:left;	background-repeat:no-repeat; font-weight:bold; border-top: 1px solid #CC0000; border-bottom: 1px solid #990000; }


/*-controlset-*/

#modulo div.controlset {width:100%; }
#modulo div.controlset label, 
#modulo div.controlset input { display: inline; float: none; width:auto; padding:1px; margin:0 0 0 3px;background-color:transparent; border-width:0; }
#modulo div.controlset label { background-color:transparent; background-image:none; border-width:0; font-weight:normal; color:#000;}

#modulo span.label { display:block;	background-color: #FFF2BF; color:#000; float: left;  width: 94.5%; padding: 2px 0 0 4%; text-align: left; margin: 2px; border-top: 1px solid #ebebeb;	border-bottom: 1px solid #cccccc;}

#modulo span.sublabel { display:block;	background-color: transparent; float: left;  width: 98.5%; padding: 2px 0 0 0; text-align: left; margin: 2px; border-top: 0px solid #FFF2BF;	border-bottom: 1px solid #FFF2BF;}
#modulo div.f-req span.label { background-color: #FFF2BF; background-image:url(obbstar.gif); background-position:left;	background-repeat:no-repeat; font-weight:bold;	border-top: 1px solid #ff0000; border-bottom: 1px solid #ffCC00;}
#modulo div.f-err span.label { background-color:#CC0000; color:#FFFFFF; font-weight:bold;  background-image:url(errstar.gif); 	background-position:left;	background-repeat:no-repeat; font-weight:bold; border-top: 1px solid #CC0000; border-bottom: 1px solid #990000;}

#modulo input:focus,
#modulo input.error:focus, 
#modulo textarea:focus,
#modulo select:focus {	background-color: #FFC; border-color: #FC6; }
#modulo .f-submit {	width:90%; text-align:center; }
#modulo .f-submit input {	background-color: #FFC501; border-color: #333; width:200px;}

/* Search form
--------------------------------*/
#search form {padding:2px; font-size:85%; background-color:#f1f1f1; background-image:url(images/searchformbg.jpg); background-repeat:repeat-x;}
#search form fieldset {border-width:0;}
#search fieldset {border: 1px solid #ebebeb; padding: 0 5px 0 5px; background-image:none; clear:both;}
#search legend {display:none;}
#search label { background-color:transparent;  width: auto; padding: 0; text-align: left; margin: 2px; border-top: 0px solid #ebebeb;	border-bottom: 0px solid #cccccc;}
#search input,#search select  { width: auto;background-color: #ffffff;padding: 2px 0; border-top: 1px solid #ebebeb;	border-left: 1px solid #ebebeb;border-right: 1px solid #999;border-bottom: 1px solid #999;	margin:0; }
#search .submit {text-align:center;  background-color: #FFC501; border-color: #333; width:48.5%; float:right;}
#search a.ricercaavanzata {background-color:#fff;color:#FF9900;float:right; display:block; width:100%;border-top:1px solid #000; padding:2px;text-align:center;}
#search a:hover.ricercaavanzata {background-color:#ffffcc;}