/* Start of CMSMS style sheet 'Layout: Top menu + 2 columns' */
/* nulla da vedere */
/* End of 'Layout: Top menu + 2 columns' */

/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'Accessibility and cross-browser tools' */

/* Start of CMSMS style sheet 'Module: News' */
div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
  border: 1px solid #000; 
  background: #FFE9AF; 
}

div#news h2 {
   line-height: 2em;
   background: #fff;
}

.NewsSummary {
    padding: 0.5em 0.5em 1em; /* padding for the news article summary */
    margin: 0 0.5em 1em 0.5em; /* margin to the bottom of the news article summary */
    border-bottom: 1px solid #ccc; 
}

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }

.NewsSummaryLink {
    font-weight: bold;
    padding-top: 0.2em;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
 }

.NewsSummaryMorelink {
  padding-top: 0.5em;
}

#NewsPostDetailDate {
  font-size: 90%;
  margin-bottom: 5px;
  font-weight: bold;
  }

#NewsPostDetailSummary {
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

#NewsPostDetailAuthor {

  padding-bottom: 1.5em;
  font-style: italic;
}


/* to add specific style to the below divs, uncomment them. */

/* 
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/
/* End of 'Module: News' */

/* Start of CMSMS style sheet 'Zoiosa' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on

Per i font: https://fonts.google.com/selection?selection.family=Alfa+Slab+One|Arvo|Baloo+Tammudu|Merriweather|Tangerine|Yanone+Kaffeesatz
******************/

* {
	margin:0;
	padding:0;
}
div {
	font-size: 1em;
}
img {
	border: 0;
}

/*****************
Links 
*****************/

a, a:link 
a:active {
	text-decoration: underline;
	background-color: inherit; 
	color: #b00404; 
	text-decoration-style: dotted;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #b00404;                
}
a:hover {
   text-decoration: none;
   background-color: #inherit;
   color: #76410b;
}
#footer a {
   text-decoration: none;
   background-color: #inherit;
   color: #000;	
}
/*****************
basic layout 
*****************/

body {
	background-color: #fde4a9;
	color: #000;
	text-align: left;
	font-family: 'Merriweather', serif;
	font-size: 75.01%;
}
#pagewrapper {
	border: 1px solid #fde4a9;
	margin: 0 auto;     
	max-width: 80em; 
	min-width: 60em;
	background-color: #fde4a9;
	color: #000;
}
#header {
	height: 140px; /* adjust according your image size */           
}
#header h1 a {
	background: url(http://www.mantovamedievale.it/sito/uploads/images/Mantovamedievale.png) no-repeat 0 12px;   
	background-color: #fde4a9;
	display: block; 
	height: 118px;             
	width: 960px;
	text-indent: -999em;
	text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
    padding-top: 3.3em;
    padding-left: 0.8em;
}
#search {
	float: right;
	width: 23em;     
	text-align: right;
	padding: 0.6em 0 0.2em 0;
	margin: 0 1em;
}
.breadcrumbs {
	padding: 1em 0 1.2em 0; 
	font-size: 90%;             
	margin: 0 1em;              
	border-bottom: 1px dotted #000;
}
#content {
	margin: 1.5em auto 2em 0;
}
#main {
	margin-left: 29%; 
	margin-right: 2%; 
	margin-top: 6%;
}
#sidebar {
	float: left;  
	width: 26%;   
	display: inline;  
	margin-left: 0;
}
#sidebar.hascontent {
	width: 24%;  
}
#footer {
	clear:both;      
	color: #fff;
    background: linear-gradient(#b00404, #d83e36);
	background-color: #d83e36;
	font-family: 'Yanone Kaffeesatz', sans-serif;
	font-size: 1.3em;
}
#footer p {
	padding: 1.5em;      
	margin:0;
}
#footer p a {
	color: #fff; 
}
.hr {
	height: 1px;
	margin: 1em;
	border-bottom: 1px dotted black;
}
.left49 {
	float: left;
	width: 49%;  
}
.right49 {
	float: right;
	width: 49%;
	text-align: right;
}

/********************
CONTENT STYLING
*********************/

/* TEXT */

p {
	font-size: 1.2em;
	text-align:justify;
	margin: 0 0 1.5em 0;  
	line-height:1.4em;
	padding: 0;
}
span.corsivo {
	font-style: italic;	
}
span.grassetto {
	font-weight: bold;
}
#tab-main {
	list-style-type: none;
}
#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
#content h2 {
	color: #fb0000; 
	font-family: 'Arvo', serif;
	font-size: 2.2em; 
	text-align: left; 
	letter-spacing: 2px;
	line-height: 1.5em;
	padding-bottom: 10px;
}
#content h3 {
	color: #fb0000; 
	font-size: 1.3em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
#content h4 {
	color: #fb0000;
	font-size: 1.4em;
	line-height: 1.3em;
	letter-spacing: 1.4px;
	margin: 0;
	padding-bottom: 10px;	
}
#content h5 {
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
#main p {
    color: #000;
    font-weight: normal; 
	font-size: 1.2em;	
}
p img {
	width: 100%;
}
.img-ul-main {
	width: 100%;	
}
span.didascalia-immagine {
	display:block;
	font-size:9px;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
pre {
	font-family: monospace;
	font-size: 1.0em;
}
em, i {
	font-style:italic;
}
code, pre {
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
	border: 1px solid #000; 
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;   
}
cite {
	font-family: 'Tangerine', cursive;
    padding-top: 0.6em;
    padding-bottom: 0.4em;
    text-align: justify;
    display: block;
    font-size: 3em;
    line-height: 1;
}
span.didascalia-cite {
	font-size: 0.9em;
    font-style: italic;
    display: block;
    margin-top: 0;
    margin-bottom: 2em;
    text-align: right;
}

/* END TEXT */

/* LISTS */
#main ul,
#main ol,
#main dl {
	font-size: 1.0em;
	line-height:1.4em;
	margin: 0 0 1.5em 0;
}
#main ul li,
#main ol li {
    font-size:1.2em;
	margin: 0;
    line-height: 1.7;
}

#dl dt {
	font-weight: bold;
	margin: 0 0 0.25em 3em;
}
#dl dd {
	margin: 0 0 0 3em;
}
.FondoSinistraFooter {
	float: left;
	width: 50%;
	text-align: left;
}
.FondoDestraFooter {
	float: left;
	width: 50%;
	text-align: left;
}
.FondoFooter {
	clear:both;
}
.spanfooter {
	font-weight: bold;
    font-size: 1.8em;
    display: block;
    padding-left: 0.8em;
}
.descFooter {
	text-align: justify;
}
.info-lato-sinistro {
	list-style-type: none;
}
.info-lato-sinistro li{
    padding-top: 5px;
    padding-bottom: 5px;
}
.lista-footer {
	list-style-type: none;
	padding-left: 1.5em;
	padding-top: 2em;
}
ul.prodotti-mercanti {
	list-style-type: none;
	margin: 0;	
}
ul.prodotti-mercanti li {
	margin: 0px;
}
.menu-lato-sinistro {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	font-size: 1.4em;
	color: #fff;
}
ul.menu-lato-sinistro {
	list-style-type: none;
}
ul.menu-lato-sinistro li {
    background-color: #b00404;
    padding: 0.3em 2em;
    line-height: 2.5em;
    background: linear-gradient(#b00404, #d83e36);
}
.menu-lato-sinistro a {
	color: #fff;
	text-decoration: none;
}
ul.menu-lato-sinistro li :hover {
	background-color: #76410b;
}
#mappa-dove-siamo img {
	width: 100%;
}
.google-maps {
  position: relative;
  padding-bottom: 75%; // Definisco l'aspect ratio
  height: 0;
  overflow: hidden;
}
.google-maps > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
/* End of 'Zoiosa' */

