@font-face {
    font-family: 'Anonimo';
    src: url('../webfontkit/int30serif-250wt1000op-webfont.eot');
    src: url('../webfontkit/int30serif-250wt1000op-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfontkit/int30serif-250wt1000op-webfont.woff2') format('woff2'),
         url('../webfontkit/int30serif-250wt1000op-webfont.woff') format('woff'),
         url('../webfontkit/int30serif-250wt1000op-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Anonimo';
    src: url('../webfontkit/int025m-italic-webfont.eot');
    src: url('../webfontkit/int025m-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfontkit/int025m-italic-webfont.woff2') format('woff2'),
         url('../webfontkit/int025m-italic-webfont.woff') format('woff'),
         url('../webfontkit/int025m-italic-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Anonimo';
    src: url('../webfontkit/int30serif-750wt500op-webfont.eot');
    src: url('../webfontkit/int30serif-750wt500op-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfontkit/int30serif-750wt500op-webfont.woff2') format('woff2'),
         url('../webfontkit/int30serif-750wt500op-webfont.woff') format('woff'),
         url('../webfontkit/int30serif-750wt500op-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'TipomundiItalicBoldSlaRDF27-300wt0sl';
    src: url('../webfontkit/tipomundiitalicboldslardf27001-webfont.eot');
    src: url('../webfontkit/tipomundiitalicboldslardf27001-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfontkit/tipomundiitalicboldslardf27001-webfont.woff2') format('woff2'),
         url('../webfontkit/tipomundiitalicboldslardf27001-webfont.woff') format('woff'),
         url('../webfontkit/tipomundiitalicboldslardf27001-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'TipomundiItalicBoldSlaRDF27-700wt0sl';
    src: url('../webfontkit/tipomundiitalicboldslardf27002-webfont.eot');
    src: url('../webfontkit/tipomundiitalicboldslardf27002-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfontkit/tipomundiitalicboldslardf27002-webfont.woff2') format('woff2'),
         url('../webfontkit/tipomundiitalicboldslardf27002-webfont.woff') format('woff'),
         url('../webfontkit/tipomundiitalicboldslardf27002-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;

}


html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

body {
	font-family: 'Anonimo', Georgia, serif;
	font-weight: normal;
	font-size: 16px;
  	letter-spacing: 0.005em;
  	line-height: 135%;
  	background-color: rgb(182,203,215);
  	color: #475B62;
  	border:0;
	margin:0;
	overflow-y: auto;
}

.boldfont, .boldize{
    font-weight: bold !important;
}

.italicfont{
    font-family: 'Anonimo';
    font-weight: normal;
    font-style: italic;
}

.smallsizefont{
    font-size: 0.8em;
}

.mediumsizefont{
    font-size: 1.4em;
}

.largesizefont{
    font-size: 2.5em;
    line-height: 1.1;
}

.underline{
    text-decoration: underline;
    text-decoration-color: #cc4500;
}

.unbreakable{
    white-space: nowrap;
}


svg#InfernoWeb{
	cursor: -webkit-grab; cursor: -moz-grab;
	overflow: hidden;
}

svg#InfernoWeb:active{
	cursor: -webkit-grabbing; cursor: -moz-grabbing;
}

h1{
    font-weight: bold;
    font-size: 2.1em;
 	letter-spacing: 2.5%;
 	line-height: 100%;
 	margin:0;
 	padding:0;
}

h2{
    font-weight: bold;
    font-style: normal;
    font-size: 1.6em;
 	letter-spacing: 2.5%;
 	line-height: 100%;
 	color: #475B62;
 	margin:0;
 	padding:0;
}

p{
	margin: 10px 0px; 
}

ul {
	padding:0;
	margin:0 0 0 0;
}

a:link { color: inherit; }
a:visited { color: inherit; }
a:hover { color:#BF4718; }
a:active { color: #8C3411; }

.shadow {
	
	visibility: visible;
	stroke: white;
	stroke-width: 20;
	stroke-opacity: .4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.firstCharIndicator{
	fill-opacity:0;
	stroke: white;
	stroke-width: 20;
	stroke-opacity: 0;
	-webkit-animation: pulse 2.5s infinite;
}

@-webkit-keyframes pulse {
  0% {
  	stroke-width: 0;
  	stroke-opacity: 0;
  }
  33% {
	stroke-width: 25;
  	stroke-opacity: .75;
  }
  66% {
  	stroke-width: 0;
  	stroke-opacity: 0;
  }
  100% {
  	stroke-width: 0;
  	stroke-opacity: 0;
  }
}


.personaggi{
	cursor: pointer;
}


.activeChar > .shadow {
  visibility: hidden;
}

#tempHighlight{
	fill: white;
	fill-opacity: .6;
	-webkit-animation: manageCircleFill 1 1s;
}

@-webkit-keyframes manageCircleFill {
  0% {fill-opacity: 0;}
  30% {fill-opacity: .9;}
  100% {fill-opacity: .6;}
}


#navContainer{
	background-color: white;
	width: 100%;
	min-height: 58px;
	z-index: 999999999;
	
}

.navbar{
	display: flex;
	padding: 30px 50px 15px 50px;
	background-color: white;
    font-weight: bold;
	font-size: 0.95em;
}

.navbar li:nth-child(1){
	flex: 7;
}

.navbar li:nth-child(2){
	flex: 3;
	text-align:center;
}

.navbar li:nth-child(3), .navbar li:nth-child(4){
	flex: 2;
	text-align:center;
}


.navbar a{
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.navbar p{
	margin:0;
}

.navbar a:hover{
	color:#BF4718;
}

.navbar a:active{
	color: #8C3411;
	
}

#title{
	font-size:1.8em;
}



#mobileNavContainer {
	background-color: white;
    font-weight: bold;
	font-size: 1.7em;
	line-height: 2;
	
}

#mobileNavContainer div{
	padding: 20px 50px;
	overflow: auto;
}

#mobileNavContainer a{
	cursor:pointer;
}

#mobileButton {
	display: none;
	background-color: white;
	width: 35px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
}

#mobileButton img{
	width: inherit;
	height: inherit;
}


#breadcrumbs{
		display: none;
		position: absolute;
		top: 102px;
		right: 30px;
		clear: both;
		background-color: white;
		width: 246px;
		padding: 5px;
	}

#infobox{
	position: absolute;
	top: 100px;
	left: 20px;
	display: none;
	background-color: white;
	width: 350px;
	max-height: 80vh;
	overflow: auto;
}

#infobox div{
	padding: 10px 20px;

}

#infobox h1{
	margin: 6px 30px 20px 0;
}

#infobox p{
	margin: 0.3em 0 0.9em 0;
}

#infobox p:last-child { 
	margin: 0.5em 0 0.6em 0;
}

#infobox h2, #charPlace, #charSin, #charCanto, #placeGirone, #placeLuogo ,#placeCanto, #placePeccatori, #cantoPeccato, #cantoLuogo {
    font-weight: bold;
	font-size: 1.3em;
}

.infoboxLabel{
	margin: 0 !important;
	font-style: italic;
}

#charDescr{
	font-size: 16px;
}

#charWiki, #placeWiki, #cantoWiki {
	border-top: 1px dashed;
	padding-top: 10px;
	margin-top: 20px;
}

#menuSwitcher{
	position: absolute;
	top: 102px;
	right: 30px;
	background-color: white;
	
	cursor: pointer;
}

#menuSwitcher ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /*font-family: 'Int29SerifBold', Georgia, serif;
	font-weight: bold;*/
    color: #475B62;
    background-color: #D7D7D7;;
}

#menuSwitcher li {
    float: left;
    display: block;
    text-align: center;
    padding: 0.7em 0.6em 0.6em 0.6em;
    font-size: 1.1em;
    text-decoration: none;
    border-right: 1px solid white;
    background-color: #D7D7D7;
}

#menuSwitcher li:last-child {
    border-right: none;
}

#menuSwitcher li:hover {
	background-color: #b4b4b4;
}

#menuSwitcher li:active {
	background-color: #8C8C8C;
}

#menuSwitcher .nav_active {
    background-color: white !important;
}

.lateralMenu{
	position: absolute;
    top: 146px;
    right: 30px;
    font-size: 1.1em;
    background-color: white;
    width: 311px;
    max-height: 75vh;
    overflow: auto;
    padding: 0.7em 0.6em 0.6em 0.6em;
    box-sizing: border-box;
    display: none;
}

.menu_active{
	display: block;
}

/*#struttura_inferno, #struttura_morale {
	max-width:800px;
    margin: 70px auto 200px auto;
    font-size: 1.2em;
}*/

#struttura_inferno li,  #struttura_morale li{
	line-height: 1.15;
	padding: 0;
	padding-bottom: 0.40em;
	list-style-type: none;
}

#struttura_inferno	a,  #struttura_morale a {
	cursor: pointer; 
}

#struttura_inferno	a:hover,  #struttura_morale a:hover {
	color: #BF4718;
	text-decoration: underline;
}

#struttura_inferno	a:active,  #struttura_morale a:active {
	color: #8C3411;
	text-decoration: underline;
}

#struttura_inferno	ul,  #struttura_morale ul {
	padding-left: 1.6em;
}

#nav_personaggi ul, #nav_canti ul {
	
	padding: 0 0.8em;

}

#nav_personaggi	li, #nav_canti li {
    
    text-align: left;
    border-bottom: 1px solid #475B62;
    cursor: pointer;
    line-height: 130%;
    padding: 0 0 0.7em 0;
    margin: 0 0 0.7em 0;
    list-style-type: none;
}

#nav_personaggi	li:last-child, #nav_canti li:last-child {
    border-bottom: none;
}

#nav_personaggi	li:hover, #nav_canti li:hover {
	color: #BF4718;
	text-decoration: underline;
}

#nav_personaggi	li:active, #nav_canti li:active {
	color: #8C3411;
}

#credits{
	position: absolute;
	left: 20px;
	bottom: 0;
	padding: 5px 20px;
	background-color: white;
    font-weight: bold;
	font-size: 0.8em;
}

#credits p{
	margin: 0;
}

#lang_switch{
	position: absolute;
	left: 30px;
	bottom: 50px;
	padding: 15px 20px;
	background-color: white;
    font-weight: bold;
	font-size: 1.5em;
}

#lang_switch p{
	margin: 0;
}

.logo{
	height:180px !important;
}


#navArrows{
	
	position: absolute;
	bottom: 45px;
	width: 220px;
	height: 130px;
	left: calc(50% - 110px);

}

#navArrows img{
	display: inline-block;
	vertical-align: middle;
}


#allSins{list-style: none; font: 0.9em/1.5; cursor: pointer;}
#allSins #header {padding: 8px;font-size: 1.6em;font-weight: bold}
#allSins #header:hover {color:#BF4718;}
#allSins #header:active {color:#8C3411;}
#allSins li {margin: 0;}
#allSins .sinSection {list-style: none;margin-left: 20px;font-weight: bold;text-indent: -18px;font-size: 19px ;padding: 2px 0;}
#allSins .sinSection a:hover {color:#BF4718;}
#allSins .sinSection a:active {color:#8C3411;}
#allSins .subSins { list-style: none; margin:0;padding:0; font-family: 'Anonimo', Georgia, serif; font-weight: normal;}
#allSins .sin {margin:0;padding-left: 15px;font-size: 18px;padding-bottom: 3px;padding-top: 3px;}
#allSins .sin:hover {color:#BF4718;}
#allSins .sin:active {color:#8C3411;}
#allSins .activeSect {list-style: font-size: 19px !important;}
#allSins .activeSect ul{ display: block !important}
#allSins .activeSin {pointer-events: none;}


.closeButton {
	float: right;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	padding: 0;
    background-color: transparent;
    border: none;
}

#closeInfoBox{
	display: block;
	position: absolute;
	right: 20px;
	top: 10px;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	padding: 0;
    background-color: transparent;
    border: none;
}

.closeButton svg, #closeInfoBox svg{
	width: inherit;
	height: inherit;
}

.closeButton line, #closeInfoBox line{
	stroke: #475B62;
	stroke-width: 4;
	stroke-linecap: round;
}

.closeButton svg:hover > line, #closeInfoBox svg:hover > line{
	stroke: #BF4718;
}

.closeButton svg:active > line. #closeInfoBox svg:active > line{
	stroke: #8C3411;
}


.padded{
	padding: 40px;
}

.menus  {
	position: absolute;
	display: none;
	border:0;
	z-index: 99999999999;
	overflow: auto;
	background-color: rgba(255,255,255,0.96);
    font-size: 1.3em;
    width: 100%;
    height: 100%;
    text-align: left;
    margin: 0px auto;
}

#welcomePage, #about {
	background-color: rgba(255,255,255,1);
}

#loadingPage {
	position: absolute;
	border:0;
	z-index: 99999999999;
	overflow: auto;
	background-color: rgb(255,255,255);
    font-size: 1.3em;
    width: 100%;
    height: 100%;
    text-align: left;
    margin: 0px auto;
}

.loadingTexts{
	position: absolute;
	text-align: center;
	width: 100%;
	top: 25%;
}

.loadingTexts p{
	padding: 0 30px;
}

.menus h1{
    font-size: 2em;
    display: inline; 
}

.menus #aboutContent{
	clear: both;
	padding: 40px 120px;
	font-size: 0.85em;
	line-height: 1.4;
	overflow: auto;
}

.menus #aboutContent p{
	margin: 20px 0 0 0; 
}

.menus #aboutContent ul, .menus #aboutContent ol, .menus #aboutContent li{
	list-style:  initial;
	padding-left: 1em;
}

.menus #aboutContent table{
	margin: 30px 0;
	border-spacing: 30px;
	border-collapse: separate;	
	text-align: center;
}

.menus #aboutContent img{
	margin: 0 auto;
	width: 6em;
	height: 100%;
	vertical-align: middle;
}

.menus #aboutContent table p{
	margin: 0; 
}

.menus #table_desktop{
	display: block;
}

.menus #table_mobile{
	display: none;
}

#indicatori_luoghi, #gruppi_gironi{
	
}

#indicatori_peccati, #gruppi_peccati {
	
}

.lateral_info{
	cursor: pointer;
}

.infoActive {
	visibility: visible;
	cursor: pointer;
}

#buttonBox {
	display: inline-block;
	/*position: absolute;
	bottom: 30px;
	right: 30px;*/
}

#buttonBox button{
	display: block;
}

#buttonBox .zoomButton:first-child{
	margin-bottom: 10px;
}

.zoomButton{ 
	border-radius: 50%;
	width: 60px;
	height: 60px;
	padding: 0;
	background-color: white;
    border: none;
}

#buttonBox svg {
	width: inherit;
	height: inherit;
}

#buttonBox line {
	stroke: #475B62;
	stroke-width: 4;
	stroke-linecap: round;
}

.zoomButton:hover, #goLeft:hover, #goRight:hover{ 
	background-color: #D7D7D7;
}

.zoomButton:active, #goLeft:active, #goRight:active{ 
	background-color: #8C8C8C;
}

/*#canti_inferno	li {
	cursor: pointer;
}

#canti_inferno	li:hover {
	color: #BF4718;
	text-decoration: underline;
}

#canti_inferno	li:active {
	color: #8C3411;
}*/

	

#goLeft,#goRight{
	display: inline-block;
	border-radius: 50%;
	width: 75px;
	height: 75px;
	padding: 0;
	background-color: white;
    border: none;
    margin: 0 0 25px 0;
}

#goLeft svg,#goRight svg {
	width: inherit;
	height: inherit;
}

#goLeft polyline,#goRight polyline {
	stroke: #475B62;
	stroke-width: 7.5;
	stroke-linecap: round;
	fill: none;
}

.directions_table{
	width:900px;
	text-align: center;
	margin: 0 auto;
	font-size: 0.85em;
}

.direction{
	width: 200px;
	margin: 10px 20px 10px 0px;
}

.direction svg{
	width: 80%;
	height: auto;
}

.direction_custom {
	width: 200px;
	margin: 10px 20px 10px 0px;
}

.direction_custom svg{
	width: 100%;
	height: auto;
}


#startNav{
	font: inherit;
	border-radius: 10px;
	background-color: white;
    color: #475B62;
    border: solid 6px #475B62;
    padding: 10px 20px 6px 20px; 
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    cursor: pointer;
}

#startNav:hover{
	background-color: #D7D7D7;
}

#startNav:active{
	background-color: #8C8C8C;
}

#mobileInfoButtonBox{
	position: absolute;
	top: 58px;
	right: 0;
	padding: 18px 50px 0 0;
}

#expandInfoMobile{
	display: none;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	padding: 0;
	background-color: white;
    border: none;
}

#expandInfoMobile svg {
	width: inherit;
	height: inherit;
}

#expandInfoMobile line {
	stroke: #475B62;
	stroke-width: 4;
	stroke-linecap: round;
}


@media only screen and (min-width: 1px) {

	#welcomePage {
		display: block;
		
	}

	#mobileNavContainer{
		display: none;	
	}

	.menus .columns
	{   
	    -moz-column-width: 10em;
	    -webkit-column-width: 10em;
	    column-width: 10em;
	    width:800px;
	    margin: 40px auto 0 auto;
	    text-align: center;
	}

	.menus .columns ul
	{
	    margin: 0;
	    padding: 0;
	    list-style-type: none;
	}

	.menus .columns li
	{
	    line-height: 200%;
	    padding: 0;
	    list-style-type: none;
	}

	.menus .columns ul li
	{
	    margin-top:0px;
	    padding-left: 10px;

	}

	.menus .columns ul li:first-child
	{
	    margin-top:0px;

	}

}

/*
@media only screen and (max-width: 1024px) { 

	body {
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	}


	svg#InfernoWeb{
		cursor: default;
	}

	svg#InfernoWeb:active{
		cursor: default;
	}

	h1{
		font-size: 1.4em;	
	}
	
	#infobox h2, #charPlace, #charSin, #charCanto, #placeGirone, #placeLuogo ,#placeCanto, #cantoPeccato, #cantoLuogo {
		font-size: 1.2em;
	}

	#welcomePage {
		display: none;
	}

	#mobileNavContainer, #infobox, .menus, .menus #aboutContent{
		overflow: scroll;
	}

	#infobox{
		position: absolute;
		left: 0;
		top: 58px;
		display: none;
		width: 100%;
		max-height: 10000px;
		border-top: 1px dashed #475B62;
	}

	#infobox div{
		padding: 20px 50px 0 50px;
	}

	#infobox #charName{
		width: calc(100% - 80px)
	}

	#infobox div p{
		display: none;
	}

	#infobox #charWiki{
		margin-bottom: 2em;
	}

	#breadcrumbs{
		display: none;
	}

	#mobileButton {
		display: inline;
		background-color: white;
	}

	#nav_table {
		padding: 15px 50px 8px 50px;
	}

	#title {
	    font-size: 1.6em;
	}

	#nav_table td:nth-child(2) {
		display: none;
	}

	#nav_table td:nth-child(3) {
		display: none;
	}

	#nav_table td:nth-child(4) {
		display: none;
	}

	#nav_table td:nth-child(5) p{
		display: none;
	}

	#navArrows{
		bottom: 6%;
		width: 130px;
		left: calc(50% - 65px);
	}

	#navArrows img{
		width: 45%;
	}

	#navArrows #goRight{
		float: right;
	}

	#buttonBox{
		display: none;
	}

	#expandInfoMobile{
	visibility: hidden;
	display: block;
	}

	.menus #aboutContent{
		padding: 40px 0;
		margin: 0;
	}

	.menus #table_desktop{
		display: none;
	}

	.menus #table_mobile{
		display: block;
	}

	#gruppo_indicatori {
		display: none !important;
	}

	.menus h1 {
	    font-size: 1.5em;
	}

	.menus .columns
	{   
	    width:100%;
	    margin: 40px auto 0 auto;
	    text-align: center;
	}

	.menus .columns ul
	{
	    margin: 0;
	    padding: 0;
	    list-style-type: none;
	}

	.menus .columns li
	{
	    line-height: 200%;
	    padding: 0;
	    list-style-type: none;
	}

	.menus .columns ul li
	{
	    margin-top:0px;
	    padding-left: 10px;

	}

	.menus .columns ul li:first-child
	{
	    margin-top:0px;

	}

	.deactivatedLink{
		color: #bebebe;
		pointer-events: none;
	}

	#nav_personaggi	li {
		font-size: 1.1em;
		line-height: 1.3;
		margin-bottom: 1em;
	}
	
	.menus .columns li{
		font-size: 1.1em
	}

	#struttura_morale, #struttura_inferno {
		min-width: 460px;
    	padding-right: 60px;
	}

	#show_instr, #lang_switch{
		display: none;
	}

	#credits{
		left: 0px;
	}
}

*/

#line1, #line2{
    position: absolute;
    width: 3px;
    margin-left: -2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
}

#line1{
    margin-top: 1px;
}

#line2{
    margin-top: -2px;
}





.personaggi:hover .shadow, .lateral_info:hover path {  /*polyline:not([fill-opacity="0"])*/
	stroke: white !important;
	stroke-width: 20 !important;
	stroke-opacity: .8 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;	
}

