@media print { #camo-edit {display: none;} }
#camo-edit .surname,#camo-edit .company{display: none} 
/* Cookie bar **/
/*** inizio video e consenso cookie ***/

div.external-blocker {font-family: "Segoe UI", sans-serif; border: 1px solid black!important;width: 100%;height: 315px;padding: 20px 10px 10px 10px;background: #ededed;color: #777;text-align:center; margin-bottom: 20px;}
div.external-blocker > p {margin: 0 0 20px 0;padding: 0}
div.external-blocker > p > a {border: none;text-decoration: underline;color: #2572e3;}
div.external-blocker > p > a:hover {text-decoration: none;}
div.external-blocker > a.cookie_consent_accept_save {display: inline-block; padding: 10px; font-size: 16px; font-weight: 600; text-align: center; text-decoration: none; border-radius: 6px; border: 1px solid #2572e3; background: #2572e3; color: #fff; box-sizing: border-box;margin-bottom: 20px;}
.youtube-preview {cursor:pointer;height: 420px;width: 100%; max-width: 640px;}
section.g10 div.external-blocker {height: 100%;}
body.overlay-active { width: 100% !important;height: 100% !important;overflow: hidden; position: fixed; top: 0; left: 0; z-index: 11000;}
div.cookie_wrap {font-family: "Segoe UI", sans-serif; position: fixed;inset: 0; background-color: rgba(0, 0, 0, 0.6);z-index: 11000;display: flex;justify-content: center;align-items: flex-end;padding: 2rem 0;overflow-y: auto;}
div.cookie_wrap p {font-size: 15px; margin: 0;}
div.cookie_wrap p a {text-decoration: underline;  font-weight: normal; color: #000000;}
div.cookie_wrap p a:hover {text-decoration: none;}

a.cookie_consent_panel_change {color: #2572e3; font-weight: 600; text-decoration: none; margin: 0 auto; display: block; width: fit-content; line-height: 30px; font-size: 15px}
a.cookie_consent_panel_change:hover { text-decoration: underline}

div.cookie_consent {background: white;color: #222;  border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); max-width: 680px;  width: 94%;   margin: 20px auto; padding: 2.5rem; z-index: 9999; font-family: "Segoe UI", sans-serif; transition: all 0.3s ease-in-out;}
div.cookie_consent_actions {display: flex; justify-content: space-between; align-items: stretch; flex-wrap: wrap; gap: 1rem; padding-bottom: 1rem; margin:30px 0 0 0; font-weight:700;}
div.cookie_consent_actions a { flex: 1 1 40%; max-width: 200px; white-space: nowrap; padding: 10px 0; font-size: 16px; font-weight: 600; text-align: center; text-decoration: none; border-radius: 6px; border: 1px solid #2572e3; background: #2572e3; color: #fff; box-sizing: border-box;}
div.cookie_consent_actions a:hover { background: #000; border-color: #000; color: #fff;}
div.cookie_consent_actions a.cookie_consent_reject_save, div.cookie_consent_actions a.cookie_consent_selection_save { background: none; color: #000; border-color: #000;}
div.cookie_consent_actions a.cookie_consent_accept_save:hover, div.cookie_consent_actions a.cookie_consent_reject_save:hover, div.cookie_consent_actions a.cookie_consent_selection_save:hover, div.external-blocker > a.cookie_consent_accept_save:hover { background: #000; border-color: #000; color: #fff;}
div.cookie_consent > div.cookie_consent_actions, div.cookie_consent > a.cookie_consent_panel_change {display: none;}

#cookie_consent_title {font-size: 26px; line-height: 30px; font-weight: 600; color: #000000; margin-bottom: 20px;}
#cookie_consent_selection {display: none;}
#cookie_consent_selection p {max-height: 0; overflow: hidden; opacity: 0; margin-bottom: 0; transition: max-height 0.2s ease, opacity 0.2s ease; color: #222;}
#cookie_consent_selection p.visible { max-height: 200px; margin-top: 4px; margin-bottom: 12px; opacity: 1;}
#cookie_consent_selection a.more-info:before { content: "?"; cursor: pointer; color: #a0a0a0; display: inline-block; width: 20px; font-size: 16px; height: 20px; line-height: 18px; border: 1px solid #a0a0a0; border-radius: 50%; text-align: center; margin-left: 5px; font-weight: 400;
}
#cookie_scroll_fade_overlay {position: sticky; bottom: 0; left: 0; width: 100%; height: 30px; pointer-events: none; background: linear-gradient(to bottom, transparent, white 80%); z-index: 2;}

.cookie_consent.customize #cookie_consent_intro {display: none;}
.cookie_consent.customize #cookie_consent_selection { max-height: calc(100vh - 360px); overflow-y: auto; -webkit-overflow-scrolling: touch; display: block; padding-right: 8px;}
.cookie_consent.customize #cookie_consent_selection::-webkit-scrollbar { width: 10px;  background-color: transparent;}
.cookie_consent.customize #cookie_consent_selection::-webkit-scrollbar-track { background-color: #f1f1f1; border-radius: 10px;}
.cookie_consent.customize #cookie_consent_selection::-webkit-scrollbar-thumb { background-color: #000; border-radius: 10px; border: 2px solid #f1f1f1;}
.cookie_consent.customize #cookie_consent_selection::-webkit-scrollbar-thumb:hover { background-color: #174aa3;}
.cookie_consent.customize > a.cookie_consent_panel_change { display: block; }
.cookie_consent.customize > div.cookie_consent_actions { display: flex; margin: 0}
 
div.cookie_consent_option{ display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 6px; border-top: solid 1px #cccccc; gap: 6px; flex-wrap: wrap;}
div.cookie_consent_option:first-child { border: none; margin-top: 0; padding-top: 8px;}
div.cookie_consent_option > span.option_title {margin-bottom: 0px; font-size: 16px; font-weight: 400; display: flex; align-items: center; gap: 5px; color: #222;}
div.cookie_consent_option div.cookies-switch { display: flex; align-items: center; gap: 8px;}
div.cookie_consent_option div.cookies-switch .selection_value {order: 0; color:gray; font-size: 15px}
div.cookie_consent_option div.cookies-switch .cookie_consent_toggle {order: 1;}
div.cookie_consent_option div.cookies-switch .selection_value.selected {color:#2572e3;}
div.cookie_consent_option p{margin:8px 0px;clear:both}

a.cookie_consent_toggle, a.cookie_consent_forced{ position:relative; cursor: pointer; background-color: #ccc; -webkit-transition: .4s; transition: .4s; padding: 2px; color: #fff; border-radius: 30px; width: 54px; height:26px; display: inline-block }
a.cookie_consent_toggle:before, a.cookie_consent_forced:before { position: absolute; content: ""; height: 22px; width: 22px; left: 2px; bottom: 2px; background-color: white; -webkit-transition: .4s; transition: .4s; border-radius: 50%; }
a.cookie_consent_toggle.selected:before, a.cookie_consent_forced:before{left:30px; }
a.cookie_consent_forced {background:#2572e3; cursor: not-allowed;opacity: 0.7}
a.cookie_consent_toggle.selected { background:#2572e3; }

@media (max-width: 599px) {    
    div.cookie_consent {padding: 1rem;}
    div.cookie_consent_actions {margin: 12px 0;}
    div.cookie_consent_actions a{padding:8px 0;width: 96%;  display: block;  text-align: center !important;  margin: 6px 0 !important; font-size:16px;line-height: 22px;}        

    #cookie_consent_title {flex-wrap: wrap;font-size: 22px;line-height: 26px;margin-bottom: 0;padding:12px;}
    #cookie_consent_title span{display: block;width:100%;}

    #cookie_consent_intro {padding: 12px 12px 6px 12px;font-size: 15px;line-height: 22px;}
    #cookie_consent_intro p{max-height: 220px; overflow-y: auto; -webkit-overflow-scrolling: touch;}
    #cookie_consent_selection {font-size: 15px; line-height: 22px;}
    #cookie_consent_selection p {margin-bottom: 10px;}
    #cookie_consent_selection p.visible {margin-top: 8px}
    #cookie_consent_selection a.more-info, div.cookie_consent_option div.cookies-switch a {margin-bottom: 0;}

    .cookie_consent.customize #cookie_consent_selection { max-height: calc(100vh - 400px);margin: 0 12px; padding-right: 0;}
    .cookie_consent.customize a.cookie_consent_panel_change {margin-bottom: 6px}
    .cookie_consent.customize > div.cookie_consent_actions {margin: 12px}

    a.cookie_consent_reject_save {margin: 10px 0 20px 0;font-size: 18px;line-height: 26px;padding: 7px 25px;}
    
    div.cookie_consent_option {flex-direction: column; align-items: flex-start;}
    div.cookie_consent_option > span.option_title { font-size: 16px; line-height: 16px; float: none; margin-bottom: 0;}    
    div.cookie_consent_option div.cookies-switch {  margin-top: 0;  align-self: flex-start; }
    div.cookie_consent_option div.cookies-switch .selection_value {order: 2; }    
}

@media (orientation: landscape) and (max-device-width: 899px) {
    div.cookie_wrap {align-items: flex-start; padding-top: 1vh;}
    div.cookie_consent {padding: 1.5rem 2.5rem;}
    div.cookie_consent_actions {padding-bottom: 0;}

    .cookie_consent.customize #cookie_consent_selection {max-height: calc(100vh - 240px);}
}

/*** fine video e consenso cookie ***/

input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {opacity:1 !important;}
input:-moz-placeholder,textarea:-moz-placeholder { /* Firefox 18- */opacity:1 !important;}
input::-moz-placeholder,textarea::-moz-placeholder {  /* Firefox 19+ */	opacity:1 !important;}
input:-ms-input-placeholder,textarea:-ms-input-placeholder {  opacity:1 !important;}
/***zoom image**/
html.camo-bmark #zoom{top:48px}
html.camo-bmark #zoom button{top:58px}
#zoom {	position: fixed;inset: 0px; overflow: scroll; height:100%;  background-color: rgb(0, 0, 0,0.7);	z-index:1000;display:none;   padding-top:40px;	padding-left:15px; padding-right: 15px;}
#zoom button {position: fixed; top:10px;right: 25px; font-size:40px;line-height: 36px;    background:transparent;   color:var(--c1);min-width:50px;cursor:pointer}	
#zoom img {max-width: 100%;height: auto; margin:40px auto;display: block;}
.overlay-active{width:100% !important;height:100%!important;overflow:hidden;}
.overlay-active #zoom {display:block;}


/***zoom image*/


.page .btitle{
	padding: 70px 0px;
	font-size: 68px
}
/***/

#intestazione.fixed-top {position: fixed;right: 0;left: 0;z-index: 1030;}
.content-menu.open .main-menu {
  right: 0%;
  ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
  -webkit-transition: 1s ease;
  -moz-transition: 1s ease;
  -o-transition: 1s ease;
  transition: 1s ease;
  z-index:299;
}
 

input[type="search"]{outline: none; border:none;background: rgba(255,255,255,0.2);font-family: var(--f1);font-size:19px;line-height: 24px; padding:4px 15px; color:var(--c6);border-width: 0 0 2px 0;border-image:linear-gradient(90deg, var(--c4), var(--c5));border-style: solid;font-style: italic;border-image-slice: 1;}
input[type="search"]:focus {color: var(--c2);}
.bsearch{width:20px;position: absolute;background-color: transparent;right: 0;margin-right: 5px}
.bsearch svg {fill:var(--c5);transition: all 0.5s}
.bsearch svg:hover {fill:var(--c4)}
#search{text-align: center;margin: 10px 15%;position: relative;}
input[type="search"]{width: 100%;}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}
/*pagina dettaglio*/

.detail .block-maps{padding-top: 20px;}
.detail .block-maps{padding-bottom: 30px;}
.detail iframe {margin-bottom: 0}
.detail .file{display: block; color:var(--c2);padding-left: 40px;min-height: 40px}
.detail .file:hover{color:var(--c4)}
.detail .download-content .file-size {margin: 0}
.detail .download-content .odd {margin-bottom: 15px}
section.download .download-head .title {display: inline-block}

.request-sent p, .homepage .attributi .prezzo {text-align: center;margin: auto}
.request-sent::before {content:"Grazie!";font-weight: 800;font-size: 30px;line-height: 34px;margin-bottom: 20px;text-transform: none;color: var(--c3);display: block;text-align: center}
.request-sent .title {display: none!important}
.js-form {margin: 0 auto}
.page .js-form .title {font-size: 24px;line-height: 28px;font-family: var(--f2)}
.js-form .input-checkbox {width: 100%}
.js-form .input-checkbox input {width: 30px;height: 20px;}
.js-form .next {font-family: var(--f2)}
iframe{min-height: 270px;border: 1px var(--c8) solid;}
.sponsor{padding-top: 15px;}
.sponsor img{border:8px solid var(--c1)}
.org1{background: var(--c5)}
.organizzatori{background: var(--c2); padding: 25px;color:var(--c1);font-size: 22px; line-height: 28px;text-align: center}
.organizzatori span{display: block}
.organizzatori .txt{padding-bottom: 5px;}
.organizzatori div{padding: 10px 0}
.g7 ul span.sotto,.programma span.sotto{font-size: 18px; color: var(--c5)}
footer{padding-top: 20px; padding-bottom: 0px;position: relative;background-color: var(--c1); color: var(--c2);font-size: 16px;line-height: 22px;}
.finfo{background: linear-gradient(90deg, var(--c4), var(--c5));}
.credit{margin-top:0px; background: linear-gradient(90deg, var(--c4), var(--c5));color:var(--c2);padding: 10px 0 20px;font-weight: 400}
.credit a,.credit a:visited{color:var(--c3)}
.credit a:hover{opacity: 0.8}
.credit img{margin-top: -5px}
footer .col-flex{display: flex;flex-wrap:wrap;padding-top: 20px;padding-bottom: 0px;font-size: 15px;line-height: 18px; justify-content: space-between}
.logofoot img{max-width: 190px;margin: 10px 0}
footer mark{font-weight: 400;font-size: 15px;line-height: 18px;display: block;padding-top: 5px; padding-bottom: 5px;color:var(--c3)}
footer p{margin: 0; text-align: center}
footer a,footer a:visited{color:var(--c3)}
footer a.button{color:var(--c1)}
footer a:hover{opacity: 0.8}
footer .email{display: block}
/***footer***/

.fsocial{text-align: center;padding-top: 5px;display: flex;justify-content: center}
.fsocial a.si{width:26px;}
.fsocial a{width:30px;height: 30px; margin-right: 5px; margin-left: 5px; display: inline-block;}
.fsocial a path{fill:var(--c3)}
.fsocial a:hover path{fill:var(--c1)}
footer .fcont, footer .second{padding: 10px 0 0}
.foot-image {display: block;text-align: right;width: 100%;margin-top:-40px;}
.foot-image img {height: 180px;	width: auto;}

/** gallery**/
.gallery ul li:before{content: "";width:0;padding-left:0;}
.gallery-content{display: flex;flex-wrap: wrap;justify-content: left;column-gap: 10px}
.gallery-content img{padding: 0}
.gallery-content div{margin-bottom: 10px;width:calc(50% - 10px)}
.page .gallery .gallery-head .title{position: relative; display: block;padding-top: 30px;padding-bottom:40px; }
.gallery-head .title:after{content:"";width:90px;height: 7px;background: var(--c3);display: block;position: absolute;left:0;bottom: 15px}
/***download***/
section.download{padding:20px 20px 30px}
.download-head >.title,.vertical-table-files > .title,section.gallery >.title,.plain-table >.title,.vertical-table >.title,section.module>.title{display: block;text-transform: none;font-weight:700;font-size:24px; line-height: 30px;}
section.download .description{display:none;}
.page .download {max-width:90%;margin: 30px auto;}
.download .file span {font-size: 20px;line-height: 22px; color: var(--c3);padding-left: 30px;display: inline-block}
.download .download-content {padding-top: 0px}
section.download li:before{content:""}
section.download li{display: block;position:relative;font-family: var(--f1);font-style: normal;padding-left:30px;min-height:30px; padding-bottom: 5px;padding-top:5px;}
section.download li a,section.download li a:visited{color:var(--c2)}
section.download li a:hover{color:var(--c5)}
.download-content div {position: relative;padding: 5px 0px;}
.file-size{color:var(--c8); font-size:16px;}
.file-size:before{content:"("}
.file-size:after{content:")"}
.pdf:before,.doc:before,.docx:before,.xls:before,.xlsx:before,.ppt:before,.zip:before{ content:"";width:25px;height:25px;position: absolute;left:0; top:5px;}
.download .file span.file-size {color:var(--c6);padding-left: 5px}
.download span.desc {display: none}
.pdf:before{background:url("../img/background/file-pdf.svg") no-repeat top}
.doc:before, .docx:before{background:url("../img/background/file-word.svg")no-repeat top}
.xls:before, .xlsx:before{background:url("../img/background/file-excel.svg")no-repeat top}
.ppt:before{background:url("../img/background/file-ppt.svg")no-repeat top}
.pp_pic_holder .ppt{ display: none !important;}
 .zip:before{background:url("../img/background/file-zip.svg")no-repeat top}
/**homepage**/
.home .group.g3{padding-bottom: 20px; padding-top: 40px}
.g2 {background: var(--c6)}
.g2 .abstract{color: var(--c2)}
.home .g3 header{text-align: center}
.home .g3 .title a,.home .g3 .title a:visited,.home .g3 .title a:hover{color:var(--c10)}
.home .g4 .title{color:var(--c4);font-weight:400;font-size:26px; line-height: 28px; font-family:var(--f2); text-align: center;margin-bottom: 20px}
.home .g4 .title a,.home .g4 .title a:visited,.home .g4 .title a:hover{color:var(--c4)}
.home .g4 .abstract{text-align: center}

.home .g4c{margin-top:auto;margin-bottom: 0;width:100%}
.home .g4 .block img{width: 100%; max-width: none;height: auto;-webkit-border-top-left-radius: 20px;-webkit-border-top-right-radius: 20px;-moz-border-radius-topleft: 20px;-moz-border-radius-topright: 20px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;}
.home .g4 .button{display: inline-block;	padding: 8px 30px;	font-size: 18px;line-height: 22px;color: var(--c3)!important;font-family: var(--f2); font-weight: 400; position: relative;z-index: 0;cursor: pointer; overflow: hidden; border:solid 1px var(--c5);background-color: var(--c4);transition: 0.7s}
.home .g4 .button:hover{background-color:var(--c3);color:var(--c4)!important}
.home .g4 .text{padding: 0px 15px 0px;font-size:18px; line-height: 22px;text-align: center;color: var(--c4)}
.home .g6c .block{padding-bottom: 20px}
.home .g6{padding:20px 0 0;background: var(--c7)}
.home .g6 .title{display: block; text-align: center;color:var(--c10)}
.home .g6 .abstract{padding: 0px 20px 0;color:var(--c6);display: block; text-align: center; line-height: 30px}
.home .g6 .media{padding-top: 30px;}

.home .g7{padding-bottom: 20px;background: var(--c7)}
.home .g7 p{margin-bottom:0}
.home .g9{background: var(--c6); padding-bottom: 1px;}
.home .g10{background: var(--c6)}
.home .g10 .abstract{font-family:var(--f1);font-size: 21px; line-height: 25px;font-weight: 700;color: var(--c3)}
.home .g10c{display: flex;flex-wrap: wrap; justify-content: space-around}
.home .g10 .block{position:relative;background: var(--c1);padding: 12px;  border-radius: 5px;margin-bottom: 25px;max-width: 330px;width:100%}
/*.home .g10 .block:before{content: "leggi tutto";color:var(--c6);position: absolute;bottom:20px;left:10px;font-weight: 400}*/
.home .g10 .block.g10-4::before {content:""}
.home .g10 .block.g10-4{padding: 0;overflow: hidden;text-align: center; background: var(--c1)}
.home .g10-4p p{margin: 0}
.home .g10-4p{display: flex;height: 100%;justify-content: center;max-height: 570px}
.home .g10 article.allclick:hover:before{color:var(--c3)}
.home .g11{padding-top: 30px;padding-bottom: 0}
.home .g10 .title{font-size: 26px; line-height: 28px; display: block;font-weight: 700;padding-bottom: 8px;padding-top: 16px;color:var(--c3)}
.home .g10 article .title a,.home .g10 article .title a:visited{font-size: 26px; line-height: 28px; font-family: var(--f1);color:var(--c10);font-weight: 700;}
.home .g10 .theme,.home .g10 time{display: none}
.home .g10 article.allclick:hover .title a{color:var(--c5)}
.home .g10 .read:before{display: none}
.home .g10 .read{width:100%; background: none;text-align: left;padding: 5px;}
.home .g10 .read p{margin: 0}
.home .g10 .read a,.home .g10 .read a:visited{color:var(--c3);font-size:24px; line-height: 28px}
.home .g10 .read.allclick:hover a{color:var(--c2)}
.home .g10 .read a:after{content:">";font-size: 16px; line-height: 24px;padding-left: 4px; display: inline-block;font-weight: 700}
.home .g10 .text{padding-top: 10px; padding-bottom: 20px;}
.g3 img{height:75px; width:75px; align-items: center}
.g3 p{color:var(--c2); text-align: center}
.g3 .media{text-align: center}
.g3 .title {font-family:var(--f2);color:var(--c10);padding:15px 10px 0 ; font-size:36px; line-height: 38px}
.g3 .title:after{content:"";width:100%;height:1px; background: rgba(0,5,0,0.5);display: block;margin-top: 12px}
.home .g4{background: url(../img/sfondo-medioevale2-xs.jpg) no-repeat var(--c3); background-size: cover; position: relative;padding:10px 20px; min-height: 300px;display: flex;background-position: right}
.g4:before{content: ""; width:100%; height: 100%; position:absolute;background: linear-gradient(180deg, rgba(30,14,0,1)0%, rgba(255,255,255,0) 60%); top:0; left:0}
.g5 {background: linear-gradient(90deg, var(--c3), var(--c2));}
.g5c {padding-top: 20px;padding-bottom: 20px }
.g5 .title{font-family: var(--f2); color: var(--c4)}
.g5 .text {color:var(--c4); padding-top: 10px;font-size:18px; line-height: 22px}

.g5 .button{color:var(--c4); border-color:var(--c4)}
.g5 .button:hover,.next:hover {background-color:var(--c5);transition: 0.7s}
.g6 .title {font-family:var(--f2);color:var(--c3)}
.g6 .abstract span{display: block;opacity: 0.6}
.g7 .title{;font-family:var(--f2); font-size: 34px;line-height: 38px; padding-bottom:20px}
.g7 .block{ margin-bottom: 35px}
.g7 ul li{padding-left: 0}
.home .g8{padding: 0}
.home .g8c >.block{display: none}
.home .g8c >.first{display: block;}
.home .g8 img{border:2px solid var(--c4)}
.g9-1h .title {text-align: left;font-family:var(--f2)}
.g9 a{color:var(--c3)}
.g9 p{text-align: right ; margin-top: 0}
.g10 .title a{font-family:var(--f2)}
.g10 img { transition: transform 0.3s ease; /* Effetto fluido */}
.g10 .allclick:hover img {transform: scale(1.2)}
.g10 .media { overflow: hidden}
.g11 .title {font-family:var(--f2);color:var(--c10)}
.g11-1a {color: var(--c6); padding-top:0px;padding-bottom: 10px;}
.home .g12{padding-top: 0}
.home .g11 iframe{margin-bottom: 0}
.g12 p,.g13 p {color:var(--c3);font-family:var(--f2);line-height: 38px; font-size: 32px;color:var(--c10)}
.g12 ul li{padding-left: 0}
.g12 .text a,.g12 .text a:visited,.g13 .text a,.g13 .text a:visited{color:var(--c6)}
.g12 .text a:hover,.g13 .text a:hover{color:var(--c5)}
.group.empty,.attivita .page-menu {display: none;}


.onscreen {opacity: 1 !important;filter: blur(0px)!important}

/*** correlati*/
.related{margin-top: 30px; background: var(--c5)}
.related .head{padding-top: 30px;padding-bottom: 30px;}
.content-related{overflow: hidden;}

.banner-b p,.banner-b .btitle{white-space: normal}
.banner-b div{ display: inline-block;vertical-align: top; /* allinea i div in cima */}
.banner-b .cycle-slide{width: 96%!important;max-width:380px;margin:0 2%}
#pager{text-align: center;position: absolute;z-index:220;bottom: 0;width: 100%;}
.homepag #topB{position: relative}
.cycle-pager span{font-size:2px;display: inline-block;padding:1px;cursor: pointer;color:transparent;width:35px;height: 3px;background: var(--c1);margin: 20px 8px 0;}
.cycle-pager .cycle-pager-active{background:var(--c5);transition: all 1s;}
.cycle-pager span:hover{background:var(--c4);transition: all 1s;}

.contatti .page strong {color: var(--c3);font-size: 20px;font-weight: 600;}
.page .form-buttons {padding-top: 20px;}
.module .title {text-align: center;display: block}
.page .js-form p{color:var(--c2);text-align: center; font-weight: 300}
.page form {padding: 20px 10px;}
.contatti form .input-field:nth-child(6){width: 100%}
/***CUSTOM**/
 

/**template**/

/* pagine*/
.attivita .page-menu{display: none}
.page-menu {margin-top: 40px;}

@keyframes borderAnimation {
  0% {
    border-color: rgba(246,246,245,1);
  }
  25% {
     border-color: rgba(255,176,22,0.9);
  }
  50% {
     border-color: rgba(57,56,56,0.60);
  }
  75% {
     border-color: rgba(255,176,22,0.9);
  }
  100% {
    border-color: rgba(246,246,245,1);
  }
}




@media (min-width: 375px) {
.fsocial span{padding-left: 20px;padding-right: 10px}
	/*.gallery-content{height:245px }*/
	.gallery-content .cycle-carousel-wrap .cycle-slide{margin-right: 10px}

}

@media (min-width: 420px) {
iframe{min-height: 310px}	
.cycle-pager span{width:30px;}	
.home .g4{background: url(../img/sfondo-medioevale2-sm.jpg) no-repeat var(--c3); background-size: cover; position: relative;background-position: right}
	
}
@media (min-width: 500px) {
	.home .g4{min-height: 290px;padding-top: 40px}
	.active.responsive-nav::after {max-width: 34px;transform: translateY(-12px) rotate(-135deg);}
	.gallery-content.noSlide div{width: 49%;margin:0 0.5%}
	footer .col-flex >div{width: 48%;}
	footer .col-flex{padding: 20px 5px 0}
	footer .col-flex > div.logofoot{width: 100%}
	footer .col-flex > div.foot-image{width: 100%;margin-top: -25px}
}

@media (min-width: 600px) {
	.bwrap {padding: 20px 20px;	width: 100%;}
	.bwrap .btitle span{display: block}
	.homepage .slider{top:0px/**da questo punto lo slider è visualizzato sotto il menù*/}
	.home .btitle {font-size: 32px;	line-height: 38px;}
	.home .babstract {font-size: 18px;line-height: 24px;padding-top: 8px;width:90%;margin-left: 5%}	
	.cycle-pager span{margin: 10px 10px 0;transition: all 0.5s;}	
	.page header{padding-top: 10px}
	.page .js-form .title {font-size: 28px;line-height: 32px;}
	.page .js-form form{max-width: 420px;margin: auto}
	.credit{padding-top: 15px;text-align: center}
	.home .g4 .title {font-size: 32px;	line-height: 34px;}
	.g4-1a {font-size: 22px;line-height: 26px;}
	.home .g4 {	min-height: 390px;	padding-top: 200px;}
	.home .g10 .block{width: 48%}
	.home .group.g3, .home .g6{padding-top: 30px;}
	.g2 .title2 {font-size: 24px;line-height: 28px;}
	.g3{text-align: center}
	.g3c {display: flex; flex-wrap: wrap; justify-content: space-between}
	.g3 .block {width: 48%;}
	.g5c{width: 90%;margin-left: 5%;padding-bottom: 30px}
	.g5 .title{margin-bottom: 40px}
	.g5 .text {	padding-top: 20px;font-size: 20px;line-height: 24px;}
	.home .g7{padding-left:50px; padding-right: 50px}
	.home .g6 .abstract {margin-top: 10px;}
	.home .g11 .abstract {margin-top: 10px; margin-bottom: 20px}
	.g12 p{margin-top:30px}

}

@media (min-width: 700px){
	.organizzatori .content{display: flex;flex-direction: row}
	footer .col-flex >div{width: 32%;}
	footer .col-flex > div.logofoot{width: 32%}
	footer .col-flex > div.foot-image{width: 100%;margin-top: -25px}
	.container { padding-inline :15px}
	.organizzatori .content{display: flex;flex-direction: row;align-items: stretch;column-gap: 10px}
	.organizzatori .l1{max-width: 240px}
	.organizzatori .txt{font-size: 16px;height: 38px;}
	.organizzatori .content div{display: flex;flex-direction: column;flex: 1;}
	.organizzatori span.image{height: auto;flex: 1; display: flex;  align-items: center; justify-content: center; }
	.g7c{display: flex;flex-wrap: wrap;column-gap: 4%;justify-content: center}
	.g7c >div{width: 48%;}
}

@media (min-width: 768px) {
	.home .bwrap {width: 80%;padding-bottom: 90px;}
	section.page .module .js-form form{max-width: 750px; margin: auto}
	
	.bsearch{width:30px;position: absolute;bottom:2px;}
	.p4col section.page > section>.block {width:auto!important}
	#pager{display: block!important; }
	.g4 .abstract {font-size: 20px;line-height: 26px;padding-top: 8px;padding-right: 25px;width:700px;margin-left:auto;margin-right: auto}	
	.related .cycle-slide{width: 350px!important;margin-right:10px}
	.related-slideshow>div{width: 350px;}
	.banner-b>div{width: 230px;}
	.banner-b .odd,.banner-b .even {padding: 30px 15px 15px;}
	.page .gallery .gallery-head .title{padding-top: 50px;padding-bottom:50px; }
	.gallery-content{margin-bottom:80px;max-width:710px}
	/*.gallery-content div{min-width:325px;max-width: 325px}*/
	.gallery-head .title:after{bottom: 30px}
	.gallery-content div{margin-bottom: 10px;width:calc(33% - 10px)}
	footer .col-flex{padding: 30px 0 0}
	.page .js-form .title {font-size: 30px;line-height: 34px;}
	.js-form form{display: flex; flex-wrap: wrap; justify-content: space-between;}
	.js-form form>div{width: 49%;}
	.js-form form>div.textarea, .js-form form>.privacy-policy, .js-form form>.form-buttons{width: 100%}
	.page form {padding: 10px 40px 30px;}
	.module{padding-top: 40px}
	.page .download {max-width: none;margin: 0px 20px;}
	.home .btitle {font-size: 38px;	line-height: 42px;}
	footer .container{width:auto}
	footer .col-flex > div.logofoot {width: 22%;}
	footer .col-flex > div.foot-image {width: 100%;	margin-top: -65px;}
	.button { font-size: 20px; line-height: 24px}
	.g9 p { margin-bottom: 0}
	.g9 .block {display: flex; flex-wrap:wrap; justify-content: space-between; align-items: center}
	.g10 .text{font-size:20px;line-height: 24px;}
	.home .g10 .block::before {font-size:17px;}
	.fsocial {justify-content: center;}
	.g11 { text-align: center;}
	.g12c{display: flex;flex-wrap: wrap; column-gap: 4%;}
	.g12c .block:not(.g12-4) {flex: 1; }
	.g13-1{width:100%;}
	.g13-1 p{text-align: center;display: block;width: 100%}
	.organizzatori .txt {font-size: 20px;	}

}
@media (min-width: 800px) { 
	.home .group.g4 {padding-top: 50px; padding-bottom: 100px}
	.g4-h1{font-size: 30px;}
	.g4-1a{padding-right: 0;}
	.g4 p{padding: 100px; top:100% ;}
	.bm{top:150%}
	.home .g9{padding-top: 50px}

}
@media (min-width: 992px) {
	.home .slider .container:after{content:"";width: 100%; height: 100%;position:absolute; bottom:0; display: block;background: -moz-linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1); transition: all 1s cubic-bezier(0, 0, 0.2, 1);}
	#header {padding-block:0 }
	#header .info {top:0}
	.container {padding-block:15px}

	.home .group.g2{overflow: hidden}
	.g2c{padding: 30px 50px}
	.g2 .button{margin-top: 20px; margin-bottom: 20px}
	.g4c,.g6c,.g10c{max-width:none}
	.page header{padding-bottom: 20px}
	.contatti .flex{max-width: 900px;margin: auto}
	.gallery-content{max-width:930px}
	.home .btitle {font-size: 44px;	line-height: 52px;}
	.home .babstract {font-size: 24px;line-height: 28px;padding-top: 10px;}	
	.big-title .abstract {font-size: 20px;line-height: 24px;}	
	footer{padding-top: 0px; padding-bottom: 0px;}
	.related .cycle-slide{width: 305px!important;margin-right:10px}
	.related-slideshow>div{width: 305px;}
	.page .js-form .title {font-size: 36px;line-height: 40px}
	.breadcrumbs {display: block;}
	.page .download {max-width: none;}	
	
	.page-menu{margin-top: 100px;}
	footer .col-flex > div {width: 24%;}
	footer .col-flex{padding: 50px 0 0}
	.foot-image img{width:100%;height: auto;margin-top: 20px}
	footer .col-flex > div.logofoot{width: 22%;padding-right: 20px}
	footer .col-flex > div, footer .col-flex > div.foot-image {width: 26%;}
	footer .col-flex > div.foot-image{margin-top: 0}
	.logofoot img{max-width: none;width:100%}
	.buttom, .next { font-size: 20px; line-height: 24px}
	.g2 .abstract,.g6 .abstract { font-size: 30px; line-height: 36px}
	.g3 p { line-height: 24px; font-size: 17px}
	.g4-1a{ color:var(--c4);font-size: 23px; line-height: 30px}
	.g4c .block{width:100%; }
	.home .g4{background: url(../img/sfondo-medioevale2.jpg) no-repeat var(--c3); background-size: cover; position: relative;height: 500px}
	.home .g10 .block{width:24%;}
	.home .group.g3, .home .g6, .home .g6{padding-top: 60px;}
	.home .group.g4, .home .g10{padding-bottom: 50px;}
	.g4 {padding-top: 50px}
	.home .group.g4 .title {width:600px;font-size: 40px; line-height: 50px;padding-bottom: 20px;margin-right:auto;margin-left: auto}
	.g4 .abstract {width:550px;font-size: 26px;	line-height: 32px;text-align: center}
	.home .g7 p{margin-top: 0}
	.home .g7{align-self: end}
	.g7 .title {font-size: 32px;line-height: 36px;padding-bottom: 30px}
	.g7c > div {width: 31.3333%;}
	.g6c{padding-bottom: 10px}
	.g7c{column-gap: 2%}
	.group.g7, .group.g9, .group.g12{ padding-left: 30px; padding-right: 30px}
	.home .g10 .title{ font-size: 24px; line-height: 30px}
	.home .g11{padding-top: 50px}
	.g11 .abstract {font-size: 30px ; line-height: 36px}
	.g12 p{ font-size: 34px}
	.credit{ padding-bottom: 0; padding-top: 0}
	.credit img{margin-top: -3px}
	.sponsor .content{display: flex;flex-direction: row;min-height: 150px;}
	.sponsor .content img{max-width: 11%;}
	.sponsor{padding-bottom: 15px}
}
@media (min-width: 992px) and (max-width: 1199px){	
	

}
@media (min-width: 1025px) {
}
@media (min-width: 1200px) {
	section.page .module .js-form,.gallery-content{max-width:1130px}
	.title {font-size: 36px;line-height: 42px;}
	.home .btitle {font-size: 52px;	line-height: 58px;}
	.related .cycle-slide{width: 370px!important;margin-right:20px}
	.related-slideshow>div{width: 365px;}
	.sep::before {content: "";	padding-left: 0;padding-right: 0;}
	.home .g4 {background-attachment: fixed;	}
	.home .g4 .text{font-size: 17px; line-height: 24px}
	.g5c {width: 80%;margin-left: 10%;	padding-bottom: 40px;}
	footer .col-flex > div.logofoot{width:26%;}
	footer .col-flex > div.second{width:22%}
	footer .col-flex > div, footer .col-flex > div.foot-image {width: 26%;}
	.home .g10 .block{max-width: 324px;}
	.fsocial a.si {width: 31px;}
	.fsocial a{width: 36px; height: 36px}
	.home .group.g2{padding-left:65px; padding-right:320px; position: relative; z-index:0}
	.home .g2 .abstract, .home .g6 .abstract {font-size: 38px;	line-height: 42px;}
	.title2 {padding-top: 28px;	padding-bottom: 28px;font-size: 26px;	line-height: 28px;}
	.home .g2 .text{padding-right: 0px;}
	.g2:after{content:""; background: url(../img/scudo.svg) no-repeat ; width: 850px; position: absolute;height: 850px; opacity: 0.5; top: 50px;right:-35%; z-index:-1; transform:rotate(-0deg )}
	.g3 .block {
        display: grid;
        grid-template-columns: 150px auto;
        grid-template-rows: auto auto;
		width: 44%;
		margin-left: 3%;
		margin-right: 3%;
		align-content: flex-start;
		padding: 0;
		grid-column-gap: 20px; /* Imposta il gap solo tra le colonne */
    }

    .g3 .media {
        grid-row: span 2;
        grid-column: 1;
    }

    .g3 header {
        grid-row: 1;
        grid-column: 2;
    }

    .g3 .text {
        grid-row: 2;
        grid-column: 2;
    }
	.g3c {display: flex; justify-content: center; max-width: 1080px; margin: auto}
	.g3 img {height: auto;width: auto}
	.g3 .text { line-height: 22px; font-size: 17px; }
	.g3 .title{ padding: 0; font-size: 32px; text-align: left}
	.g3 p{text-align: left}
	.home .group.g3 { padding-bottom: 80px; padding-top: 80px}
	.home .g4 { background-attachment: fixed; height: 500px; }
	.home .g4:before{content: ""; background: linear-gradient(180deg, rgba(30,14,0,1)0%, rgba(255,255,255,0) 70%)}
	.group.g7, .group.g9, .group.g10, .group.g12,.group-g13{ padding-left: 60px; padding-right: 60px}
	.home .group.g4 .title {font-size: 60px; line-height: 64px;padding-bottom: 20px}
	.wp11-12{padding:70px 20px 20px;display: flex;flex-direction: row;column-gap: 20px}
	.group.g12{padding: 0;align-self: flex-end}
	.g12c {flex-direction: column;	column-gap: 0;}
	.wp11-12 .g11{min-width: 50%}
	.home .g11{padding-top: 0;}
	.g7c {column-gap: 3%;}
	.g11c .block{text-align: left}
		.gallery-content div{margin-bottom: 10px;width:calc(25% - 10px)}

}
@media (min-width: 1400px) {
	.wp11-12{max-width: 1320px;margin: auto}
	footer .container{max-width: 1360px}
	footer .container .row>div{padding-left: 0; padding-right: 0}
	.gallery-content{max-width: 1320px}
	.page section.download {width: 1320px;margin: 0px auto 10px}
	.download-head, .download-content{padding-left: 20px;padding-right: 20px}
	.home .g4 .media {	width: 255px;	}
	.home .g4c,.home .g6c .first header, .home .g9c, .home .g10c, .home .g11c , .home .g12c,.home .g13c{margin: 0 auto;max-width: 1360px}
	.home .g5c{margin: 0 auto;max-width: 970px}
	.g4c .block{padding-top: 100px;}

	.home .g7c{max-width: 1070px;margin: auto}
	footer .col-flex > div.fcont,footer .col-flex > div.logofoot{width:28%}
	footer .col-flex > div.fcont{padding-left: 30px;}
	footer .col-flex > div.second{width: 24%;}
	footer .col-flex > div.foot-image{width:20%}
	footer .col-flex > div.foot-image img{width:340px;position: absolute;right:0;top:20px;margin-top: 0}
	footer .col-flex{padding-bottom: 70px;}
	.credit{position: relative;z-index:2}
	.home .group.g2{padding-right: 0%}
	.home .g2c{padding-right: 0;padding-top: 50px; padding-bottom: 50px}
	.home .g2c .block{max-width: 800px}
	.g2:after{content:""; background: url(../img/scudo.svg) no-repeat ; width: 850px; position: absolute;height: 850px; opacity: 0.5; top: 0px;right:-22%; z-index:-1; transform:rotate(-0deg )}
	.home .g10c{ justify-content: space-between}
	.sponsor .content {	max-width: 1380px;min-height: 50px;height: auto;justify-content: space-around}
	.sponsor .content img{max-width:9%;border:0}
}
@media (min-width: 1600px) {
	.sponsor .content {	max-width: 1500px;}

}

@media (min-width: 1800px) {
	.g2:after{content:""; background: url(../img/scudo.svg) no-repeat ; width: 850px; position: absolute;height: 850px; opacity: 0.5; top: 0;right:-12%; z-index:-1; transform:rotate(-0deg )}
}

.hidden,.fadein,.fromleft,.fromright {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity:0;	
	display:block !important;
	-webkit-transition: background .4s ease;
    transition: background .4s ease;
}
.visible {
	/*-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
	filter: alpha(opacity=100) !important;
	opacity:1 !important;	*/
	-webkit-transition: background .4s ease;
    transition: background .4s ease;
	visibility:visible !important;

}
.fromleft.visible,.fromright.visible ,.zoomin.visible {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
	filter: alpha(opacity=100) !important;
	opacity:1 !important;

}
.del6 {-webkit-animation-delay: 2.2s; animation-delay: 1.2s;}
.del5 {-webkit-animation-delay: 1.8s; animation-delay: 1.0s;}
.del4 {-webkit-animation-delay: 1.4s;animation-delay: .8s;}
.del3 {-webkit-animation-delay: 1.0s; animation-delay: .6s;}
.del2 {-webkit-animation-delay: .6s; animation-delay: .4s;}
.del1 {-webkit-animation-delay: .2s; animation-delay: .2s;}
.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}
@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}