﻿/* ------------- TAGS GENERALI ---------- */
* {
    box-sizing: border-box;
}
HTML, BODY, FORM
{
    padding:0;
    margin:0;
    height:100%;
    min-width:290px;    /*=320 - scrollbars*/
}
FORM 
{
  background-attachment:fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
H1, H2, H3  {
    line-height: normal;
    position: relative;
    
}



/* ------------- LAYOUT GENERALE ---------- */
.layout_header {
  margin: 0 auto;
  text-align:center;
}
.layout_page
{
    margin: 0 auto;
    text-align:center;
}
.layout_footer
{
    margin: 0 auto;
    text-align:center;
}


/* ---------- GESTIONE DEI MENU -------- */
.menu0_container {
  margin: 0;
  padding: 0;
  display:inline-block;
  vertical-align:top;
}
.menu0_selected {
  font-weight:bold;
}
.menu0_container li {
  display: inline-block;
  margin: 0 0.25em;
}


/* ------------- LAYOUT ANTEPRIMA ---------- */
.art_block {
  display: inline-block;
  margin: 1em;
  max-width: 30em;
  min-width: 15em;
  padding: 1em;
  position: relative;
  vertical-align: top;
  width: 30%;
}
.art_block > a {
	color: Black;
	text-decoration: none;
	border: 1px solid lightgray;
	display: block;
    height: 12em;       /* 10 righe per 1.1em + 2 margini per 0.5em */
    overflow:hidden;
    line-height: 1.1em;
}
.art_block > a.img_background
{
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover;    
}
.art_block > a > b {
	display: inline-block;
	width:50%;
	margin-top: 0.5em;
}
.art_block > a.img_background > b {
	background: #000000;
	color: #ffffff;
	width: auto;
	display: block;
	margin-top: 0;
	padding: 0.25em 0;
}
.art_block > a > div     
{
    text-shadow: 0px 0px 1px #ffffff, 1px 1px 1px #ffffff;
    color:#777777;
} 
.art_block > a.img_background > div     
{
    text-shadow: 0px 0px 1px #ffffff, 1px 1px 1px #ffffff;
    color:#000000;
} 
.art_block > a > div > p
{
    margin: 0.5em 0;
    text-align:left;
}
.art_block img {
    margin:0.5em;
    width:40%;
}


/*-------- Full Slide Show --------*/
#supersized_container {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index:-1;
}
#ctl00_cplhBodyRoot_pnlSlideShow_Controls {
  display: none;
}
#supersized_container ul
{
    margin:0;
    padding:0;
}
#controls-wrapper ul#slide-list
{
    margin-top:0;    
}
#thumb-tray ul#thumb-list
{
    margin-top:0;    
}
#supersized_container #slidecaption {
    bottom: 2em;
    color: white;
    font-size: 2em;
    font-weight: bold;
    left: 5em;
    margin: 0;
    position: absolute;
    right: 5em;
    text-align: center;
    text-shadow: 0 0 15px #000, 0 0 5px #000;
}


/* ------- Form contatti ------------ */
.form_contatti {
    padding:1em;    
}
.form_contatti input[type="text"], 
.form_contatti textarea, 
.form_contatti select {
  border: 1px solid gray;
  border-radius: 2px;
  box-sizing: border-box;
  margin-bottom: 1em;
  padding: 0.5em;
  width: 100%;
}
.form_contatti .pannello {
  margin: 0 auto;
  text-align: center;
  max-width:40em;  
  position:relative;
  text-shadow: 1px 1px 1px #fff;
}
.form_contatti .pannello .fullWidth {
  display: inline-block;
	width: 97%;
}
.form_contatti .pannello .halfWidth {
    display: inline-block;
    width: 48%;
}
.form_contatti .pannello > span > label,
.form_contatti .pannello > span > span 
{
    display:block;
}
.form_contatti .pannello.conferma > div
{
    margin-top:2em;
    margin-bottom:2em;    
}
.form_contatti .pannello.conferma .turing img {
  vertical-align: middle;
}
.form_contatti .send_button {
  display: inline-block;
  background: #777;
  padding: 1em;
  border-radius: 1em;
  color: #fff;
  text-decoration: none;
}


/* --- Blocchi:HEADER --- */
.layout_header 
{
 background-color:#000000;
 color:#ffffff;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  transition: background-color 0.25s ease 0s;
}
.layout_header > div
{
    position:relative;  
    margin:0 auto;  
}
.layout_header nav {
  font-size: 1em;
  text-align: center;
  padding-left:9em;
  transition: all 0.25s ease 0s;
}
.layout_header.mini {
  font-size: 0.9em;
}
.layout_header .logo {
  background-color: #000000;
  background-image: url("/graphics/logo.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 5px solid #000000;
  border-top:0;
  height:6em;
  display: inline-block;
  left: 0.5em;
  position: absolute;
  top: 0;
  transition: all 0.25s ease 0s;
  vertical-align: top;
  width: 8em;
}
.layout_header.mini .logo,
.layout_header #show-menu:checked ~ .logo {
  height: 3em;  
  border-width:0;
}
.layout_header li:hover
{
    background-color:#ffffff;    
}
.layout_header li a {
  color: #ffffff;
  display: inline-block;
  padding: 0 0.5em;
  line-height:3em;
  text-decoration: none;
}
.layout_header li:hover a 
{
    color:#000000;
}
/* --- HEADER-FLAGS --- */
.layout_header nav .flags {
	display: inline-block;
	position: relative;
	vertical-align: top;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	width:3em;
}
.layout_header nav .flags div {
	left: 0;
	position: absolute;
	top: 0.5em;
	z-index: 999;
	/*transition: all 0.25s ease 0s;*/
	line-height: 1em;
	vertical-align: middle;
}
.layout_header .mini nav .flags div 
{
  padding: 0.5em 0 0 0;
}
.layout_header nav .flags .flag {
	display: block;
	height: 0;
	line-height: 0;
	margin: 0;
	opacity: 0.5;
	transition: all 0.25s ease 0s;
}
html[lang=it] .layout_header nav .flags .flag.it,
html[lang=en] .layout_header nav .flags .flag.en,
html[lang=fr] .layout_header nav .flags .flag.fr,
html[lang=de] .layout_header nav .flags .flag.de,
html[lang=no] .layout_header nav .flags .flag.no
{
    height: 1em;
    line-height: 1em;
    margin: 0.5em 0.5em 1em 0.5em;	
}
.layout_header nav .flags:hover .flag 
{
  height: 1em !important;
  line-height: 1em;
    margin: 0.5em 0.5em 1em 0.5em;	
}
html[lang=it] .layout_header nav .flags .flag.it,
html[lang=en] .layout_header nav .flags .flag.en,
html[lang=fr] .layout_header nav .flags .flag.fr,
html[lang=de] .layout_header nav .flags .flag.de,
html[lang=no] .layout_header nav .flags .flag.no,
nav .flags .flag:hover
{
    opacity:1;
 }
.layout_header nav .flags:hover div
{     
    background: #000000 none repeat scroll 0 0;
}


/* --- Blocchi:PAGE --- */
.layout_page {
  margin: 0 auto;
  padding: 0;
  position: relative;
  text-align: center;
}
.layout_header + .layout_page {
  padding-top: 2em;
}
.layout_page.HMan
{
    /*display:table;    /* 2017-01-05 SI-TABLE by ROBY */
    /* height:100%;     /* 2017-01-05 SI-TABLE by ROBY */
    min-height:100%;    /* 2017-01-05 NO-TABLE by ROBY */
    width:100%;    
}
.layout_page.W100 {
    max-width:100%;
}
.layout_page > div 
{
    margin:0 auto;
    position:relative;    
    vertical-align:middle;
}
.layout_page.HMan > div
{
    /*display:table-cell;   /* 2017-01-05 SI-TABLE by ROBY */
	min-height:100%;        /* 2017-01-05 NO-TABLE by ROBY */
}
.layout_page.testo_alto > div {
    vertical-align:top;
}
.layout_page.testo_basso > div {
    vertical-align:bottom;
}
.layout_page > div > * 
{
    /* z-index:1;  /* 2017-01-12 per comandi slideshow */
}
.layout_page > div > .text_block,
.layout_page > div > .art_block
{
    display:inline-block;
    position:relative;    
    margin: 0 auto;
    vertical-align: middle; 
    padding:0 1em;   /*2017-01-11*/
}
.layout_page > div > .art_block
{
    padding-top:1em;
    padding-bottom:1em;
}
.layout_page.text_blocks_1 > div > .text_block,
.layout_page.art_blocks_1 > div > .art_block {
    width:100%;
    max-width:100%; /*2017-03-27*/
}

.layout_page.text_blocks_2 > div > .text_block,
.layout_page.art_blocks_2 > div > .art_block {
    width:50%;
    /* max-width:50%; /*2017-03-27 - 2020-04-08:modificata per permettere 2 colonne con larghezza 30/70% */
}








.layout_page.text_blocks_3 > div > .text_block,
.layout_page.art_blocks_3 > div > .art_block {
    width:33.33%;
}
.layout_page.text_blocks_4 > div > .text_block,
.layout_page.art_blocks_4 > div > .art_block {
    width:25%;
}
.layout_page.text_blocks_5 > div > .text_block,
.layout_page.art_blocks_5 > div > .art_block {
    width:20%;
}
.layout_page.text_blocks_6 > div > .text_block,
.layout_page.art_blocks_6 > div > .art_block {
 
    width:16.66%;
}
.layout_page > div > .art_block{
    vertical-align:top;
}
.layout_page.testo_alto > div > .text_block
{
    vertical-align:top;
}
.layout_page.testo_basso > div > .text_block
{
    vertical-align:bottom;
}
.layout_page > div > .back_block:first-child + .text_block:last-child,
.layout_page > div > .text_block > .back_block {
    text-shadow: 1px 1px 1px #fff;
}
.layout_page > div > .text_block *,
.layout_page > div > .art_block * 
{
    max-width:100% !important;
}
.layout_page > div > .text_block > p,
.layout_page > div > .text_block > ol,
.layout_page > div > .text_block > ul,
.layout_page > div > .art_block > p,
.layout_page > div > .art_block > ol,
.layout_page > div > .art_block > ul,
{
    max-width:40em !important;
    /* z-index:1;  /* 2017-01-12 per comandi slideshow */
}
.layout_page > div > .text_block > p,
.layout_page > div > .text_block > ol,
.layout_page > div > .text_block > ul,
.layout_page > div > .text_block > div,
.layout_page > div > .text_block > table,
.layout_page > div > .art_block > p,
.layout_page > div > .art_block > ol,
.layout_page > div > .art_block > ul,
.layout_page > div > .art_block > div,
.layout_page > div > .art_block > table
{
    margin-left:auto;
    margin-right:auto;
    position:relative;
    text-align:left;
    /* z-index:1;  /* 2017-01-12 per comandi slideshow */
}
.layout_page.pagina_dettaglio > div > .text_block > p
{
    line-height:1.5em;
}
.layout_page > div > .back_block,
.layout_page > div > .text_block > .back_block
{
    position:absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;    
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    overflow: hidden;
    /* z-index:0;  /* 2017-01-12 per comandi slideshow */
}
.layout_page > div .back_block.cycle-slideshow > .cycle-slide {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
  right: 0;
  z-index: 0 !important;
}
.layout_page > div .back_block.cycle-slideshow > .cycle-slide > .cycle-overlay {
  margin: 30% auto;
  text-shadow: 1px 1px 1px #ffffff;
}
.layout_page > div .back_block.cycle-slideshow > .cycle-pager {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  z-index: 101;
}
.layout_page > div .back_block.cycle-slideshow > .cycle-pager  > span
{
    display:inline-block;
    font-size:2em;
    color:#000000;
    text-shadow: 0px 0px 5px #ffffff;
    padding:0 2px;
    cursor:pointer;
}
.layout_page > div .back_block.cycle-slideshow > .cycle-pager > span.cycle-pager-active
{
    color:#ffffff;
    text-shadow: 0px 0px 5px #000000;
}
.layout_page > div .back_block.cycle-slideshow > .cycle-pause {
  background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.4);
  display: none;
  font-size: 30px;
  height: 60px;
  left: 50%;
  line-height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  position: absolute;
  top: 50%;
  width: 60px;
  z-index: 999;
}
.layout_page > div .back_block.cycle-slideshow.cycle-paused > .cycle-pause  {
    display:block;
}
.layout_page > div .back_block > video {
  height: auto;
  left: 0;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 0;
  width: auto;
}
.layout_page > div .back_block > .video_control {
  bottom: 0.5em;
  left: 0.5em;
  position: absolute;
  z-index:1;
}
.layout_page > div .back_block > .video_control > .ctrl {
  cursor: pointer;
  display: inline-block;
  font-size: 1em;
  height: 1em;
  line-height: 1em;
  margin: 0 0.5em;
  text-shadow: 0 0 5px #ffffff;
  vertical-align: middle;
  width: 1em;
}
.layout_page > div .back_block > .video_control > .ctrl:hover 
{
    color:#FFFFFF;
    text-shadow: 0 0 5px #000000;
}
.layout_page > div .back_block > .video_control.play > .ctrl.play,
.layout_page > div .back_block > .video_control.pause > .ctrl.pause,
.layout_page > div .back_block > .video_control.mute > .ctrl.mute,
.layout_page > div .back_block > .video_control.unmute > .ctrl.unmute
{
  display:none;
}
.layout_page > div .back_block .video_ytbackground_container 
{
    position: relative;
    background: transparent;
    height: 100%;
    width: 100%;
    text-align:center;
}
.layout_page > div .back_block .video_ytbackground_container .ytplayer-container {
 position: absolute;
 top: 0;
 
 background: white; opacity: 0; pointer-events: none; position: relative;
}
.layout_page > div .back_block .video_ytbackground_container.loaded .ytplayer-container{
 background: transparent; opacity: 1;   
}
.layout_page > div .back_block .video_ytbackground_container.ended .ytplayer-container {
 background: white; opacity: 0; pointer-events: none; position: relative;
}
.layout_page > div .back_block .video_ytbackground_container .ytplayer-container .ytplayer-player  {
    position:absolute;
}
.layout_page > div .back_block .video_ytbackground_container .ytplayer-shield {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

/* -- Blocchi:FOOTER -- */
.layout_footer 
{
    background-color:#000000;
    color:#bbb;
    text-align:center;
}
.layout_footer > div {
	padding: 0;
	display: inline-block;
}
.layout_footer > div td {
	vertical-align:top;
	text-align:left;
	padding:1em;
}
.layout_footer a 
{
    color:#ddd;
}
.layout_footer a:hover,
.layout_footer b,
.layout_footer strong,
.layout_footer h2, 
.layout_footer h3,
.layout_footer h4
{
    color:#ffffff;
}





/* ---- Fuori layout ----- */
.scm-cs-background-fisso 
{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index:-1;
}







/* ---- Responsive ---- */
/* (>320 & <480) 
/* 480 
/* 768 
/* 1024 
/* (>1024) */

/* DEFAULTS >> */
@viewport {
    width: device-width;
    zoom: 1.0;
}
@-ms-viewport {
    width: device-width;
    zoom: 1.0;
}
/* DEFAULTS << */


/* >>>> MENU A SCOMPARSA >>>> */
.show-menu {
	cursor: pointer;
	display: none;
	z-index: 10000;
	margin: 0.5em 1em;
	/*font-size:1.5em;*/
	line-height:2em;
	height:2em;
}
#show-menu {
    display: none;
}
@media screen and (max-width: 768px)
{   
    .layout_header {
        text-align:right;       
    }
    .layout_header.mini {
        font-size:1em; 
    }
    .layout_header nav {
	    position: fixed;
	    left: 1em;
	    right:1em;
	    top: 2em;
	    height:0;
	    padding: 0;
	    background: rgba(0,0,0,0);
	    transition:all 0.25s ease 0s;
	    overflow:auto;
    }
    .layout_header #show-menu:checked ~ nav {
        background: rgba(0,0,0,1);
        width:auto;
        height:auto;
        top: 4em;
        bottom: 1em;
	    padding:1em;
    }
    .layout_header .logo {
	    position: fixed;
	    left: 0.5em;
    }
    .layout_header nav .menu0_container li {
        display:block;
        margin:1em;
    }
    .layout_header nav .menu0_container li a {
        display:block;
    }
    .layout_header nav .flags,
    .layout_header nav .flags > div {
        width:auto;
        display:block;
        text-align:center;
        position:relative;
    }
    .layout_header nav .flags .flag,
    .layout_header nav .flags:hover .flag,
    html .layout_header nav .flags .flag
    {
        height: 1.5em !important;
        line-height: 1em;
        margin: 1em;	
        display: inline-block;
    }
    
    
    .layout_header nav > ul.menu0_container, .layout_header nav .flags { display:none; } 
    .layout_header #show-menu:checked ~ nav > ul.menu0_container, .layout_header #show-menu:checked ~ nav .flags { display: block; } 
    .show-menu { display:inline-block; }
}
/* <<<< MENU A SCOMPARSA <<<< */




/* ---- LAYOUT RESPONSIVE ---- */
@media screen and (min-width: 1201px) 
{            
    .layout_header > div {
        max-width:1200px;
    }
    .layout_page.WStd > div {
        max-width:1200px;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1200px)
{            
    .layout_header > div {
        max-width:1024px;
    }
    .layout_page.WStd > div{
        max-width:1024px;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px) 
{
    .layout_header > div {
        max-width:768px;
    }
    .layout_page.WStd > div{
        max-width:768px;
    }
    
    .layout_page.text_blocks_6 > div > .text_block, 
    .layout_page.art_blocks_6 > div > .art_block  {
        min-width:33.33%;
    }
}
@media screen and (min-width: 601px) and (max-width: 768px)
{
    .layout_page.WStd > div {
        max-width:600px;
    }
    
    .layout_page.text_blocks_5 > div > .text_block, 
    .layout_page.art_blocks_5 > div > .art_block {
        min-width:33.33%;
    }
    .layout_page.text_blocks_6 > div > .text_block, 
    .layout_page.art_blocks_6 > div > .art_block  {
        min-width:33.33%;
    }
    
    .layout_header nav .menu0_container li {
        display:inline-block;
        width:40%;
    }
}
@media screen and (min-width: 481px) and (max-width: 600px)
{
    .layout_page.WStd > div {
        max-width:480px;
    }
    
    .layout_page.text_blocks_4 > div > .text_block, 
    .layout_page.art_blocks_4 > div > .art_block  {
        min-width:50%;
    }
    .layout_page.text_blocks_5 > div > .text_block, 
    .layout_page.art_blocks_5 > div > .art_block  {
        min-width:33.33%;
    }
    .layout_page.text_blocks_6 > div > .text_block, 
    .layout_page.art_blocks_6 > div > .art_block  {
        min-width:33.33%;
    }
    
    .layout_header nav .menu0_container li {
        display:inline-block;
        width:40%;
    }
    table, tr, td, th 
    { 
        display:block;
        width:auto !important;
    }
}
@media screen and (min-width: 1px) and (max-width: 480px)
{    
    .layout_page.WStd > div {
        max-width:320px;
    }
    
    .layout_page.inverti_ordine_480 > div,
    .layout_page.inverti_ordine_480 > div > div {
        transform:rotate(180deg);
    }
    
    .layout_page.text_blocks_2 > div > .text_block, 
    .layout_page.art_blocks_2 > div > .art_block  {
        min-width:100%;
    }
    .layout_page.text_blocks_3 > div > .text_block, 
    .layout_page.art_blocks_3 > div > .art_block  {
        min-width:100%;
    }
    .layout_page.text_blocks_4 > div > .text_block, 
    .layout_page.art_blocks_4 > div > .art_block  {
        min-width:50%;
    }
    .layout_page.text_blocks_5 > div > .text_block, 
    .layout_page.art_blocks_5 > div > .art_block  {
        min-width:50%;
    }
    .layout_page.text_blocks_6 > div > .text_block, 
    .layout_page.art_blocks_6 > div > .art_block  {
        min-width:50%;
    }
    
    .form_contatti .pannello .halfWidth {
        width: 98%;
    }
    table, tr, td, th 
    { display:block;
      width:auto !important;
    }
    
    .layout_page.inverti_ordine_480 > div,
    .layout_page.inverti_ordine_480 > div > div {
        transform:rotate(180deg);
    }
}

