/*********************************************************************/
/************** Progetti di Impresa Srl copyright 2006 ***************/
/*********************************************************************/

/* ************************************************** */
/* *************** OVERRIDE ************************* */
/* ************************************************** */

@media all AND (min-width: 1280px)
{
	.onscroll #mainheader .comune .logoimgMuseo {
    width: 9rem;
	left: 0.5rem;
	}

	body.onscroll #mainheader .logo-nome-ente {
    left: 0.1rem;
    }
	
	#mainheader .logo-ridotto { display: none; }
}

.onscroll #mainheader .logo-esteso { display: none; }
.onscroll #mainheader .logo-ridotto { display: inline; }


@media all AND (max-width: 767px)
{
	#ContenutoMenu ARTICLE
	{
	padding-left: 10px;	
	padding-right: 10px;	
	}
	
	.card.card-bg {
    margin-left: 0 !important;
    margin-right: 0 !important;
    }
	
	.section.section-background-header {
    background-color: #ebebeb;
	}
}


/* ************************************************** */
/* *************** ASIDE **************************** */
/* ************************************************** */

ASIDE H5 A {
    color: #222 !important;
    background-color: #CFD5DA;
    padding: 1rem !important;
    border-radius: 15px;
    margin-bottom: 0.5rem;
}

ASIDE H5 A:hover {
    color: #FFF !important;
    background-color: #4D5861;
    padding: 1rem !important;
    border-radius: 15px;
    margin-bottom: 0.5rem;
}

ASIDE .container-fluid {
	background-color: white !Important;
	
}

ASIDE H3 { 
	border-top: 1px dashed #eee;
	font-size: 1.8rem;
	padding: 0.5rem;
	font-weight: 500;
	background-color: white !important;
	color: #4a4a4a;
} 

#BoxRigaSuperiore {
	border-top: 1px dashed #ccc;
	margin-top: 1rem;
	padding-top: 1rem;
}

#BoxPaginaPrecedente  {
    text-align: center;
    padding: 2rem 0;
}

.alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #111 !important;
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(../../googlefont/7cHrv4kjgoGqM7E3b_s0wH8RnA.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/*********************************************************************/
/**** RESET DEI VALORI DI DEFAULKT DEI BROWSER ***********************/
/*********************************************************************/

html {
    color: #000;
    background: #FFF;
    word-wrap: break-word;
    /*word-break: break-all;*/
    font-family: 'Barlow Regular', monospace;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote
{
    margin: 0;
    padding: 0;
}

tt, code, kbd, samp {
    font-family: monospace;
}

i, cite, em, var, address, dfn {
    font-style: italic;
}

.bigStyle
{
    font-size: 110%;
}

.marker
{
    background-color: Yellow;
}

fieldset, img
{
    border: 0;
}
/*
h1, h2, h3, h4, h5, h6, table, tr, td, th, p
{
    font-size: 100%;
    font-weight: normal;
}*/

abbr, acronym
{
    border: 0;
    font-variant: normal;
}

sup
{
    vertical-align: baseline;
}

sub
{
    vertical-align: baseline;
}

/*because legend doesn't inherit in IE */
legend
{
    color: #000;
}

input, button, textarea, select, optgroup, option
{
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}

/*@purpose To enable resizing for IE */
/*@branch For IE6-Win, IE7-Win */
input, button, textarea, select
{
    font-size: 100%;
}

img
{
    -ms-interpolation-mode: bicubic;
}




/*********************************************************************/
/**** STRUTTURA MAGIC DESIGNER ***************************************/
/*********************************************************************/

#formid_intestazione1
{

}

#formid_intestazione1 .intestazione
{

}

#formid_intestazione2
{

}

#formid_intestazione3
{
    /*border-top: 1px dashed #D6E0DE;*/
}

#corpo
{

}

#formid_sx
{

}

#formid_dx
{

}

#formid_centro {
    min-height: 400px;
}

#formid_fondo1
{

}

#formid_fondo2
{

}

#formid_fondo3
{

}

#formid_allineaFondo
{
    clear: both;
}
/*needed to make room for footer*/

/*classe che nasconde tutto ciò che serve per l'altocontrasto*/
/*che però non si deve vedere nel portale*/
.fortecontrasto
{
    display: none;
}

* > html #formid_allineaFondo
{
    float: left;
    width: 100%;
}


#boxTotale input[type=checkbox], #boxTotale input[type=radio] {
    width: auto !important;
}


/**************************************************************/
/***************** BANNER ISTANTE ONLINE *********************************/
/****************************************************************/

.banner-istanze-container .banner {
    vertical-align: top;
	margin-left: -3px;
}

.banner-istanze-container .panel.panel-default {
    /*overflow: hidden;*/
    box-shadow: none;
    border: none;
    margin: 14px 0
}

.banner-istanze-container .panel-default .panel-body {
	position: relative;
    padding: 0;
}

.banner-istanze-container .panel-default .panel-body .figure {
        width: 100%;
        height: 120px;
        overflow: hidden;
        border: 1px solid #ddd;
        box-shadow: 2px 2px 4px #ccc;
    }

    .banner-istanze-container .panel-default .panel-body .figure span {
	    position: relative;
            display: block;
            width: 100%;
            height: 120px;
            background-size: cover;
            background-position: center center;
        }

        .banner-istanze-container .panel-default .panel-body .figure span img {
                width: 100%;
                height: 100%;
                background-color: white;
                opacity: .1;
                transition: opacity .25s ease-in;
                -moz-transition: opacity .25s ease-in;
                -webkit-transition: opacity .25s ease-in;
            }

                    .banner-istanze-container .panel-default .panel-body .figure span img:hover {
                opacity: 0;
                transition: opacity .25s ease-in;
                -moz-transition: opacity .25s ease-in;
                -webkit-transition: opacity .25s ease-in;
            }

     .banner-istanze-container .panel-default .panel-body .content {
     	position: absolute;
     	bottom: 7px;
     	margin: 0 3%;
     	text-align: center;
     	width: 94%;
     }

            .banner-istanze-container .panel-default .panel-body .content .titolo {
    padding: 5px 2px;
    display: block;
    background-color: #FFF;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 0 2px #977702;
    color: #333;
    line-height: .8em;
    text-align: center;
}

    .banner-istanze-container .panel-default .panel-body .content .titolo a {
		color: #333;
		font-size: 1rem;
		}

div#BoxHeaderContenuto {
    clear: both;
}

/* float */
.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.floatcenter {
    margin: 0 auto;
}


#boxTotale IMG.floatleft {
    float: left;
    margin: 0 !important;
    margin-right: 2% !important;
    margin-bottom: 5px !important;
    max-width: 97%;
    height: auto !important;
}


#boxTotale IMG.floatright {
    float: right;
    margin: 0 !important;
    margin-left: 2% !important;
    margin-bottom: 5px !important;
    max-width: 97%;
    height: auto !important;
}

/* immagini */
#boxTotale IMG{
    max-width: 100%;
    max-height: 100%;
}

#boxTotale li {
    list-style-position: inside;
}

.campoEditor {
    list-style: inherit;
}

#boxTotale .risultatiRicercaStandard .paginazione li {
    width: 32.5%;
    vertical-align: top;
}

#mapgoogle {
    position: relative;
    margin: 0 auto;
    width: 99%;
    height: 500px;
    border: 1px solid #979797;
}

#directions {
    position: relative;
    width: 90%;
    margin: 0 auto;
}

#tabs .ui-state-active, #tabs .ui-widget-content .ui-state-active, #tabs .ui-widget-header .ui-state-active {
    border: 1px solid #003eff !important;
    background: #006EDB !important;
    font-weight: normal !important;
    color: #ffffff !important;
}

.has-error {
    background-color: #f2dede;
    border-color: #C00000;
}

    .has-error .form-control {
        border-color: #C00000;
    }

    .has-error .help-block {
        color: #C00000 !important;
    }

.form-group span.H4.Titolo {
    font-size: 1rem !important;
    font-weight: bold;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    border-bottom: 1px dashed #ddd;
    color: black;
    display: block;
}

.form-group .radioButtonGroupItem {
    display: inline-block;
    margin-right: -4px;
    padding-right: 10%;
}

    .form-group .radioButtonGroupItem input {
        margin-right: 10px;
    }

.form-group.row.text-center.recaptcha * {
    text-align: center;
    margin: 0 auto;
}



#tooltipdiv {
    border: black 1px dotted;
    padding: 5px 20px 5px 5px;
    display: block;
    background-color: #f0f0f0;
    color: black !important;
    margin: 10px;
    min-width: 250px;
    text-decoration: none;
    z-index: 1500 !important;
}

#menuEcm #tooltipdiv {
    border: black 1px dotted;
    padding: 5px 20px 5px 5px;
    display: block;
    background: #f0f0f0 no-repeat 100% 5%;
    margin: 10px;
    min-width: 250px;
    text-decoration: none;
    z-index: 1500 !important;
}


#boxTotale .bold {
    font-weight: bold;
}

#boxTotale .italic {
    font-style: italic;
}

.k-scheduler-table td, .k-scheduler-table th {
    padding: 0.2em!important;
}

.k-scheduler:focus{
    border:1px dotted yellow!important;
}


.modal button.close {
    opacity: 1;
}

@media (max-width: 600px) {
.risultatiRicercaStandard {
    clear: both!important;
}
}



.background-ricerca .box {
position: relative;
width: 100%;
/* desired width */
margin:0
}

.background-ricerca .box100 {
    height: 100px;
}

.background-ricerca .box150 {
    height: 150px;
}


.background-ricerca .box200 {
    height:200px; 
}

.background-ricerca .box300 {
    height: 300px;
}


.box:before {
    content: "";
    display: block;
    /*/padding-top: 100%;*/
    /* initial ratio of 1:1*/
}

.background-ricerca img {
    min-width: 100%;
    height: auto;
}

.background-ricerca  .content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #333;
    color: #fff;
    /*   display: flex;
  align-items: center; */
    line-height: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Other ratios */
/*/
.ratio2_1:before {
    padding-top: 50%;
}

.ratio1_2:before {
    padding-top: 200%;
}

.ratio4_3:before {
    padding-top: 75%;
}

.ratio16_9:before {
    padding-top: 56.25%;
}*/

.background-ricerca.background-colorato, .background-colorato {
    background-color: #CFD5DA;
}

.background-ricerca.background-white {
    background-color: white;
}

.testo24 {
    font-size: 1.33rem;
}

.testo16 {
    font-size: 1rem;
}

.alternatetemplate {
    background-color: #CFD5DA;
    border: 1px solid #CFD5DA;
}


.input-search-wrapper input#TxtRicerca {
    border: 1px solid #9b9b9b;
    height: 48px;
    border: 0;
    border-radius: 4px;
    background-color: #f2f2f2;
}

#argomentoModal, .searchWidgetModal {
    z-index: 1100;
    padding: 0 !important;
}

.it-calendar-wrapper .it-header-block-title {
    background-color: lightgrey;
    color: black;
    padding: .5em 0;
    border-radius: 4px 4px 0 0;
}


#video-background {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
    width: 100%;
}

.box-300overlay {
    min-height:300px;
}

    .box-300overlay.it-hero-wrapper .it-hero-text-wrapper {
        text-transform: uppercase;
        padding: 0% 5% 48px 70%;
        margin-top: -30%;
        text-align: center;
        font-size: 0.97rem;
    }

        .box-300overlay.it-hero-wrapper .it-hero-text-wrapper  strong {
            font-size: 2.2rem;
        }

        .box-300overlay.it-hero-wrapper .it-hero-text-wrapper .bg-dadefinire {
          background-color: lightgrey;
          color:black;

        }

.owl-dot-interni {
    width: 8px;
    height: 8px;
    background: #B83F39;
    display: inline-block;
    opacity: .3;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 50px;
    margin: 0 8px;
}

    .owl-dot-interni:hover, .owl-dot-interni:focus, .owl-dot-interni.active {
        opacity: 1;
    }

.owl-item.full-width {
    width: 100% !important;
}

.owl-item.half-width {
    width: 25% !important;
}

/*#AgendaCarWrapper .owl-stage {
    width: 100% !important;
}*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #mainheader .logoimg img {
        /* height: 70px; */
        height: 70px;
    }
}



@media (max-width:991px) {

    .link-list-wrapper ul li h3, .link-list-wrapper ul li a {
        padding: 0px;
    }

}


.bg-nonantola .recaptcha * {
    background: transparent !important;
}



/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }
	
	.mfp-title small {
    display: none;
}

iframe {
    max-width: 100%!important;
    max-height: none!important;
}

@media screen and (max-width: 800px) 
{

  #eventocalhome .owl-dots {
    display: none;
  }
}