body *,
body #header .title
{
	font-family: georgia,serif;
}

body strong
{
	font-family: inherit;
}

body .sidePanel .section:first-child .content
{
	font-size: inherit
}

body .sidePanel .title,  
body .sidePanel .title *,
body .sidePanel h2.title span
{
	font-size: 2rem !important;
}


body[data-theme-major="black"] .floatingPanel .section a[data-storymaps]:not(.btn-gis)
{
	border-bottom: none;
	padding: 5px 10px;
	background: #eee;
	color: #444;
	border-radius: 4px;
}

body a 
{
	font-weight: inherit;
}

*
{
	outline: none;
}

.sectionPanel .header
{
  display: none;
}

body .sidePanel .content
{
	font-size: 14px;
} 

#sidePanelInner > .separator
{
  display: none;
}

.sectionPanel .appTitle.anchored
{
  border-bottom: 1px solid #ccc;
  padding-top: 5px;
}

.section .box-cont,
.box-cont
{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.section .box-cont.cont-v2,
.box-cont.cont-v2
{
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.section .box-cont.cont-v3,
.box-cont.cont-v3
{
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.section .box,
.box
{
  /*flex: 1 1 200px;*/
  display: inline-flex;
  align-items: center;
  justify-content: stretch;
  flex-flow: column nowrap;
  margin: 6px;
  background: #eee;
  padding: 10px;
  border-radius: 6px;
  line-height: 1.3em;
  text-align: center;
	color: #444;
}

.box-cont.cont-v2 .box,
.box-cont.cont-v3 .box
{
  display: block;
  text-align: left;
}

.box-cont.cont-v3 .box
{
  background: #fff;
}

.section .box img,
.box img
{
  border-radius: 4px;
  transition: box-shadow 0.3s;
	display: block;
	margin: 0 auto 15px;
}

.box-cont.cont-v2 .box .image-wrapper,
.box-cont.cont-v3 .box .image-wrapper
{
  float: left; 
	margin-right: 10px;
}

.box-cont.cont-v2 .box .btn-gis,
.box-cont.cont-v3 .box .btn-gis,
.cont-v3 a[data-storymaps]
{
  float: right;
}

.box-cont.cont-v3 .box .btn-gis
{
  padding: 6px 20px;
	font-size: 0.9em;
}

.section .box h2,
.box h2
{
	font-size: 1.2em;
  line-height: 1.3em;
	margin-bottom: 10px;
}

.section .box .btn-gis,
.box .btn-gis,
.cont-v3 a[data-storymaps]
{
	margin-top: 10px;
}

.section .box img:hover,
.section .box a:hover img,
.box img:hover,
.box a:hover img
{
  box-shadow: 1px 1px 4px gray;
}

body .floatingPanel .section a.btn-gis[data-storymaps],
body a.btn-gis[data-storymaps]
{
	border: none;
}

.section a[data-storymaps].testo_sezione
{
  font-size: 14px;
  text-decoration: none;
  border: none;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
}      

.section a[data-storymaps].testo_sezione
{
  flex: 1 0 auto;
  margin-top: 8px;
  transition: color 0.3s;
}

.section a[data-storymaps].testo_sezione:hover
{
  color:#DE053E;
}

.btn-gis,
body .section a.btn-gis,
body .textEditorContent a.btn-gis
{
  color: #fff;
  outline: none;
  display: inline-flex;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  background: #DE053E;
	border: none;
}

.btn-gis *,
body .section a.btn-gis *,
body .textEditorContent a.btn-gis *
{
  text-decoration: none;
	color: inherit !important;
}

.btn-gis.blu,
body .section a.btn-gis.blu,
body .textEditorContent a.btn-gis.blu
{
  background: #064560;
}

.btn-gis.giallo,
body .section a.btn-gis.giallo,
body .textEditorContent a.btn-gis.giallo
{
  background: #CE9223;
}

.btn-gis.grigio,
body .section a.btn-gis.grigio,
body .textEditorContent a.btn-gis.grigio
{
  background: #555;
}

.btn-gis.chiaro,
body .section a.btn-gis.chiaro,
body .textEditorContent a.btn-gis.chiaro
{
  background: #dedede;
	color: #333;
}

.btn-gis:hover,
body .section a.btn-gis:hover,
body .textEditorContent a.btn-gis:hover
{
  filter: brightness(1.2);
}


h1{
	line-height:1.1em;
}

.floatingPanel .section img
{
	border-radius: 6px;
}

.floatingPanel .content
{
	line-height: 1.3em;
}

.floatingPanel .content li
{
	margin: .45em 0;
}

.ga_cat_work,
.ga_cat_diss,
.ga_cat_gis,
.ga_cat_meas
{
	margin:15px 0;
	display: inline-flex;
	align-items: center;
	flex-direction: column;
	line-height: 1.2em;
	text-decoration: none !important;
}

.ga_cat_work:hover,
.ga_cat_diss:hover,
.ga_cat_gis:hover,
.ga_cat_meas:hover
{
  filter: brightness(1.2);
}


.ga_cat_work:before,
.ga_cat_diss:before,
.ga_cat_gis:before,
.ga_cat_meas:before
{
	content: "";
	display: inline-block;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin-bottom: 5px;
	box-shadow: 1px 1px 3px #0004;
	background: url(ico_workflow.png) center / 80% no-repeat #ededed;
}

.ga_cat_diss:before
{
	background: url(ico_dissemination.png) center / 80% no-repeat #ededed;
}

.ga_cat_gis:before
{
	background: url(ico_gis.png) center / 80% no-repeat #ededed;
}

.ga_cat_meas:before
{
	background: url(ico_measure.png) center / 80% no-repeat #ededed;
}