@import url(https://fonts.googleapis.com/css?family=Stoke);
@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans);

body{
margin:0px;
top:0px;
font-family: 'Alegreya Sans', sans-serif;
font-size:15px;
background:#fff;
}

img{border: none}

.captcha{
  width:100%;
}

#heart {
  left: 11px;
    position: relative;
    width: 50px;
    height: 45px;
}
#heart:before, #heart:after {
    position: absolute;
    content: "";
    left: 11px;
    top: 0;
    width: 12px;
    height: 20px;
    background: #8c668c;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    -webkit-transform: rotate(
-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(
-45deg);
    -webkit-transform-origin: 0 100%;
    -moz-transform-origin: 0 100%;
    -ms-transform-origin: 0 100%;
    -o-transform-origin: 0 100%;
    transform-origin: 0 100%;
}
#heart:after {
    left: 0;
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
         -o-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transform-origin: 100% 100%;
       -moz-transform-origin: 100% 100%;
        -ms-transform-origin: 100% 100%;
         -o-transform-origin: 100% 100%;
            transform-origin :100% 100%;}

.manchi{

    margin-left: -31px;

}
.btn{
  font-size:18px;
  opacity:1;
}
.btn:disabled {
    color: #212529!important;
    pointer-events: none;
    opacity: .65;
}

.btn:disabled #heart:before, .btn:disabled #heart:after{
  -webkit-animation-name: example;
  -moz-animation-name: example;
  -ms-animation-name: example;
  -o-animation-name: example;
  animation-name: example;


  -webkit-animation-duration: 0.5s;
  -moz-animation-duration: 0.5s;
  -ms-animation-duration: 0.5s;
  -o-animation-duration: 0.5s;
  animation-duration: 0.5s;
}

.badge{
    padding: 0.1em .2em;
    font-size: .65em;
    top: -10px;
    position: relative;
}


@keyframes example {
  0%   {background-color:#8c668c; top:0px;}
  25%  {background-color:black; top:-5px;}
  50%  {background-color:black; top:-10px;}
  75%  {background-color:#8c668c; top:-5px;}
  100% {background-color:#8c668c; top:0px;}
}



h3{
font-size:24px;
color:#271341;
margin:12px 0 -2px 0;
}

h2:hover{text-shadow: 1px 1px #333;}

a{
text-decoration:none;
color:#555;
}

a:hover{
color:#888;
}

.accordion{
cursor:pointer;
padding:10px;
}

.accordion:hover{
background:#eee;
}

p.label, #container li {
    margin-top: 16px;
    font-size: 25px;

    word-spacing: 3px;
}

.btn-check:focus + .btn, .btn:focus{
  box-shadow: 0 0 0 .25rem rgba(102,51,102,.25);
}

.nome{font-size: 55px;color: #666; text-transform: capitalize;border-bottom:1px solid #d8d8d8;padding-bottom: 20px;}


.box{

   height: 300px;
}


.blocco-info{

    padding:30px;
}


.switch_pad {
    text-decoration: underline;
    font-size: 18px;
    color: #666;

    padding: 5px;
}

.evento{
  font-weight: bold;
  margin-left: 2px;
  margin-bottom:0px;
}
.link-scheda{
  line-height: 12px;
  text-decoration: underline;
  margin-left: 2px;
}
.target{
  border: 2px solid #5a5a5a;
}


.try{
  background-color:#f9f7f7;;
  color:#9d9d9d;


    padding:5px;
}
.piccolo{font-size:16px;margin:0px;}
.titolo-info{font-size:20px;}

.ui-autocomplete,.ui-front {z-index:3000;}

.bg{
position:absolute;
width:100%;
z-index:-1;
margin:0px;
top:0px;
left:0px;
}

#top{
position:fixed;
width:80px;
height:80px;
z-index:50;
margin-top:-100px;
margin-left:-100px;
top:100%;
left:100%;
}

#topbar{
height:65px;
width:100%;
background:url('../img/bg-top-bar.png') repeat-x;
position:fixed;
top:0px;
}

.scuro{
  filter:brightness(0.5);
}



/*segui comuni - agenzie*/
.immagine-segui{margin-top:0px !important;margin-right:10px;}
.dropdown-item{padding:0.5rem 0.5rem !important;}
.popover-header{margin:0;}
.segui{font-size:16px;}


/*logger*/
#logger{
    z-index: 1004;
height:37px;
width:100%;
background:#1e1e1e;
text-align:right;
color:#ddd;
position:fixed;
top:0px;
}

#logger a{color:#ddd;}
#logger a:hover{color:#fff;}

#logout,#reglink,#reglink1{
background:#2E2E2E;
border:1px solid #6A6A6A;
color:#ddd;
margin-right:15px;
margin-top:5px;
cursor:pointer;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}

#logout:hover,#reglink:hover,#reglink1:hover{
border:1px solid #eee;
}

/*logger*/

#header{
width:950px;
margin:0 auto;
height:200px;
}

#header a{
text-decoration:none;
color:#777;
}

#header a:hover{
color:#999;
}

#logo{
width:144px;
height:200px;
/*background:url('../img/bg-logo-top.png') no-repeat;*/
background-position:0px 61px;
float:left;
text-align:center;
/*border: 1px solid green;*/
}

#logo-top{
margin:0 auto;
/*margin-top:8px;*/
/*margin-top:-26px;*/
/*border: 1px solid red;*/
}

#logo-scritta{margin-top: -20px;}

#menu-top{
float:left;
margin-left:50px;
}

#menu-top ul{
list-style-type:none;
height:65px;
margin-top:0px;
}

#menu-top ul li{
float:left;
padding:10px;

color:#555;
border-left:1px solid #444;
height:34px;
padding-top:15px;
}

#menu-top ul li.item{
padding-top:20px;
height:28px;
}

#menu-top ul li input {
 padding:5px;
width:154px;
height:20px;
border:none;
background:#eee;
box-shadow:inset 0 0 8px #000000;
background: url('../img/marker.png') no-repeat right #eee;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

#search{
width:100%;
margin:0 auto;
margin-top: 150px;
padding:5px;
background:#fff;
box-shadow:inset 0 0 10px #bbb;
border: 0px solid #999;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;

}

#search:hover{
-webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 204, 0.75);
-moz-box-shadow:    0px 0px 10px 0px rgba(50, 50, 204, 0.75);
box-shadow:         0px 0px 10px 0px rgba(50, 50, 204, 0.75);
transition-duration:0.5s;
-webkit-transition-duration:0.5s;
}

#n_search{
   width: 100%;
    padding:8px;
    font-size:18px;
    border:0.1px solid gray;
}

#n_search_comune{
   width: 100%;
    padding:8px;
    font-size:18px;
    border:0.1px solid gray;
}

#n_search_button{
    margin: 0 auto;
background: url('../img/lente.png') no-repeat;
height:31px;
width:32px;
border:none;
padding:8px;
cursor:pointer;
color:#fff;
}

#select_topic{
max-width: 950px;
display: inline-block;
margin-top:90px;
}

#select_topic img,#select_topic #topics,#select_topic #topics .topic{
float:left;
}

#select_topic img{
margin-top:50px;
cursor:pointer;
}

#select_topic #topics {

height:140px;
font-size:30px;
text-align:center;
overflow:hidden;
}


#select_topic #topics .topic{
    font-size: 20px;

text-align:center;
padding:20px;
font-family: 'Stoke', serif;
color:#ddd;
text-shadow: 1px 1px #aaa;
}

#select_topic #topics .topic.select{
color:#271341;
}

.blocco_bianco_partecipazione, .blocco_bianco_ringraziamento {
    text-transform: uppercase;
    background-color: white;
    padding: 2px;
}

.title{
  margin-top:200px;
  font-size:38px;
  text-align:center;
  padding:20px;
  font-family: 'Cinzel Decorative', serif;
  color:#ddd;
  text-shadow: 1px 1px #d1d1d1;
  color:#271341;
}

/*h1.title {
margin-top:160px;
font-size:38px;
text-align:center;
padding:20px;
font-family: 'Cinzel Decorative', serif;
color:#ddd;
text-shadow: 1px 1px #d1d1d1;
color:#271341;
}*/


.title-scheda-azienda {
 margin-top: 80px;
 font-size: 60px;
 color: #666;
}

.close-modal{

    text-decoration: underline;
    font-size: 18px;
    font-weight: bold;

}

#p-privacy-consent{
  font-size: 16px;
}
p.title {
margin-top:70px;
font-size: 30px;
text-align:center;
padding:20px;
font-family: 'Stoke', serif;
color:#ddd;
text-shadow: 1px 1px #d1d1d1;
color:#271341;
}

.commemorazioni {
    background-color: #fff;
    border: 1px solid #e3e3e3;
    margin:5px;
}
.dati {
    padding-bottom: 10px;
    border-bottom: 1px solid #d8d8d8;
}

/*.social a img {
    width: 30px;
    height: auto;
}*/

.freccia{

  float: left;
}
.indietro {
    font-size: 20px;
    margin-left: 10px;
}

.description{
    margin-top: 40px;
}
.btn{
padding:26px;
cursor:pointer;
background:#fff;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
color:#444;
width:133px;
border:1px solid #eee;
margin:0 auto;
margin-bottom:10px;
margin-top:10px;
background:#eee;
}

.btn a{
color:#222;
}

.btn:hover{
border:1px solid #ddd;
}

.btn-primary:hover {
    background-color: #fafcff;
}
/*-----*/

.btn-ext{
padding:20px;
font-size:22px;

/*cursor:pointer;
background:#fff;*/
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
color:#eee;
/*width:100%;*/
border:1px solid #444;
margin:0 auto;
/*margin-bottom:10px;
margin-top:10px;*/
background:#5E2B58;
}
.big_violet{
font-size:30px;
color:#5E2B58;
font-style:bold;
vertical-align:sub;
}

/*.modal{
position:fixed;
border:1px solid #ddd;
max-width:100%;
padding:20px;
height: auto;
z-index:5000;
background:#fff;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
margin-top: 200px;
}*/

.hider{
position:fixed;
background:#111;
opacity:0;
width:100%;
height:100%;
z-index:4000;
top:0;
}

.arrow{cursor:pointer;}

#select_topic #topics .topic small{
font-size:15px;
}


#oggi,#ricorrenze,#future,#archivio,#elenco_scheda{
margin-top:60px;
}

#archivio, #oggi{ margin-bottom: 50px;}

#elenco_scheda {width: 658px;margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 0px;
/*margin-top: 240px;*/
margin-bottom: 240px;}

.anteprima-pad{margin-top:-8px;  }

#oggi .pad-even,#ricorrenze .pad-even,#future .pad-even,#archivio .pad-even,#elenco_scheda .pad-even, #oggi .pad-odd,#ricorrenze .pad-odd,#future .pad-odd,#archivio .pad-odd, #elenco_scheda .pad-odd{
width:440px;
height:180px;
background:#fefefe;
border:1px solid #ddd;
padding:8px;
margin-bottom:30px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#elenco_scheda .pad-even,#elenco_scheda .pad-odd{
width:300px;
height:100px;
}
.pad-even h2,.pad-odd h2{
text-transform: capitalize;
}

.pad-even img,.pad-odd img,.pad-even div,.pad-odd div{
float:left;
margin-right:10px;
}


#elenco_scheda .pad-even img,#elenco_scheda .pad-odd img{
float:left;
margin-right:20px;
}


#oggi .pad_black{
border:1px solid #271341;

}

.pad-even div,.pad-odd div{
width:240px;
}

.pad-even img.right,.pad-odd img.right{
float:right;
margin-left:10px;
}

.pad-even{
float:left;
}

.pad-odd{
float:right;
}

.pad-odd:hover,.pad-even:hover{
-webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 204, 0.75);
-moz-box-shadow:    0px 0px 10px 0px rgba(50, 50, 204, 0.75);
box-shadow:         0px 0px 10px 0px rgba(50, 50, 204, 0.75);
transition-duration:0.5s;
-webkit-transition-duration:0.5s;
}


.scheda-def{
width:650px;
background:#fefefe;
border:1px solid #ddd;
padding:8px;
margin:0 auto;
margin-bottom:30px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;

}


.scheda-def img{
float:left;
margin-right:10px;
}

.scheda-def img.right{
float:right;
margin-left:10px;
}

.scheda-def div.info-def{
background:#efefef;
padding:10px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

.title-info-def{
color:#af0000;
}

.scheda-def em{
font-size:22px;
}


/* Pagination Archivio*/
ul.pagination{font-size:30px;text-align:center;/*overflow:hidden;*/font-family: 'Stoke', serif; color:#ddd;text-shadow: 1px 1px #aaa; list-style: none;padding-left:0; margin-bottom:60px;}
#container ul.pagination li{float: left; width: 9%; line-height: 52px;}
ul.pagination li a{color: #ddd; display: block;}
ul.pagination li a:hover{color: #271341;}
ul.pagination li a.selected{color: #271341; font-size: 40px;}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}


/*testi*/
.center{text-align:center;}
.left{text-align:left;}

.justify{text-align:justify;}
/*caratteri*/
.lighter{ font-weight: lighter;}
.bold {font-weight: bold;}

/*float*/
.f-left{float:left;}
.f-right{float:right;}

/*clear*/
.clear{clear:both;}
.clearl{clear:left;}
.clearr{clear:right;}
  .l-margin {
    padding: 0px;
      padding-bottom: 10px!important;
      padding-top: 10px!important;
      /* height: 200px; */
      margin-left: 20px;
  }

.r-margin {margin-right: 20px}


.border {border-style:solid; border-width:1px; padding: 7px;}
.video-border {border-style:solid; border-width:1px; padding: 7px 7px 3px 7px;}

/*colori*/
.violet {color:#5e2b58;}
.grey {color:#999;}
.light-violet {color:#ddb5dd;}
.light-grey {color:#ddd;}
.dark-grey {color:#2D2D2D;}
.black {color:#000;}
.bright a{color:#888;}
.bright a:hover{color:#d1d1d1;}


.box-left {float: left; padding: 15px 15px 15px 0;}
.box-right {float: right; padding: 15px 0 15px 15px;}

#footer {
    margin-top: 200px;
    background: #080808 url(../img/footer/bg_footer.jpg) repeat-x;
   height: auto;
    color: #fff;
}


#footer h3{
    margin:0px 0px 16px 0px;

    padding:0px;

}

#footer ul{background:url('../img/footer/separator.png') repeat-y right;height: auto;padding-left: 5px;}
#footer ul li{list-style-type:none;font-size:16px;}

.f-col{
float:left;
padding:10px;
width:135px;
margin-top:35px;

}

.f-col-img{
text-align:right;
width:170px;
float:left;
margin-top:35px;
padding-top:45px;
}


span.white{
font-size: 17px;
color:#ddd;
}

.placeholder{
color:#ddd;
}

#after-footer, #after-footer {
height: auto;
width:100%;
background:#000;
text-align:center;
color:#444444;
padding: 8px;
font-size:13px;
border-top:1px solid #181818;
}


#after-footer a:hover{
color:#666;
text-decoration:underline;
}

.fb_iframe_widget {vertical-align: top;}




/*** form ***/

.form{
max-width:500px;
margin:0 auto;

}

.form input[type="text"],.form input[type="password"],.form select{
padding:5px;
height:40px;
width:100%;
border:1px solid #ddd;
font-size:25px;
margin-bottom:20px;
font-family: 'Alegreya Sans', sans-serif;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

.form select{
max-width:503px;
height:45px;
}

.form input[type="text"].span2l,.form input[type="password"].span2l{
padding:5px;
height:40px;
width:230px;
border:1px solid #ddd;
font-size:25px;
margin-bottom:20px;
margin-right:14px;
font-family: 'Alegreya Sans', sans-serif;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

.form input[type="text"].span2r,.form input[type="password"].span2r{
padding:5px;
height:40px;
width:230px;
border:1px solid #ddd;
font-size:25px;
margin-bottom:20px;
margin-right:0px;
font-family: 'Alegreya Sans', sans-serif;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

.form input[type="text"]:hover,.form input[type="password"]:hover{/*
-webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 204, 0.75);
-moz-box-shadow:    0px 0px 10px 0px rgba(50, 50, 204, 0.75);
box-shadow:         0px 0px 10px 0px rgba(50, 50, 204, 0.75);
transition-duration:0.5s;
-webkit-transition-duration:0.5s;*/
}


.form input[type="submit"],.form input[type="button"], a.button{
padding:10px;
height:50px;
width:200px;
border:1px solid #ddd;
background: #7C4B7C;
font-size:25px;
margin-bottom:20px;
font-family: 'Alegreya Sans', sans-serif;
color:#ddd;

cursor:pointer;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}


.form input[type="submit"]:hover,.form input[type="button"]:hover{
color:#fff;
}


.form p{float:none;}

.form p.nofloat{
float:none;
text-align:center;
}


.form p.title_small{
float:none;
font-size:24px;
text-align:center;
padding:0px;
font-family: 'Stoke', serif;
color:#ddd;
text-shadow: 1px 1px #aaa;
color:#271341;
}

.form ul li{list-style-type:none;}

.form textarea{
padding:5px;
min-height:140px;
height:140px;


width:100%;
border:1px solid #ddd;
font-size:25px;
margin-bottom:20px;
font-family: 'Alegreya Sans', sans-serif;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.navbar-dark .navbar-toggler {
    color: rgba(255,255,255,.55);
    border-color: rgb(46 46 46);
}
/*** end form ***/

/* MODAL COMUNI*/
.privacy-link{
cursor:pointer;color: #555;font-size: 16px;}
.privacy-link:hover{
      color: #888;
}
#modal-comuni-background{
    display: none;

    top:0px;
    letf:0px;
    position:fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);

    z-index: 9999;
}

#modal-comuni {
    height: 100%;
    text-align: center;
    opacity: 1;
    z-index: 9999;
    /* top: 20%; */
    position: relative;
    /* margin: auto; */
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    background: white;
}
#modal-comuni span {
    font-weight: bold;
    color: #271341;
    font-family: 'Stoke', serif;
    font-size: 23px!important;
}

#modal-comuni input {
    padding: 5px;
    height: 45px;
    max-width: 560px;
    border: 1px solid #ddd;
    font-size: 25px;
 /*   margin-bottom: 20px;*/
    font-family: 'Alegreya Sans', sans-serif;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}


#comuni-search{
    margin-top: 10px;
    overflow: hidden;
}

#comuni-list{
    max-height: 370px;
    overflow: scroll;
    max-width: 300px;
    margin: 0 auto;
}

#comuni-ul li{
    cursor: pointer;
    font-size: 24px;
}

#comuni-ul li:hover{
    color: #271341;
}

#modal-comuni-x{
    float: right;
}

#modal-comuni-x a {
    font-weight: 800;
    font-size: 25px;
    float: right;
    color: #271341;
    margin-top: -5px;
}


.id_input_ac_search{
  text-align: center;
  border-color: #c4bebe;
  font-size: 30px;
  margin-bottom: 10px;
  height: 60px;
  border-radius: 0px;
  width: 100%;
}
#ac_search_button{
      border-color: white;
      text-transform: uppercase;
      font-size: 30px;
      background-color: #271341;
      height: 60px;
      width: 100%;
      color: white;
}
.div-ringraziamento{
  background-image:url("../img/scheda-defunto/icona-ringraziamento.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-position: left 10px top 10px;
}
.div-anniversario{
  background-image:url("../img/scheda-defunto/icona-anniversario.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-position: left 10px top 10px;
}
.div-partecipazione{
  background-image:url("../img/scheda-defunto/icona-partecipazione.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-position: left 10px top 10px;
}
.div-santo-rosario{
  background-image:url("../img/scheda-defunto/icona-rosario.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-position: left 10px top 10px;
}
.div-commemorazione{
  background-image:url("../img/scheda-defunto/icona-commemorazione.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-position: left 10px top 10px;
}
.div-messa-di-settima{
  background-image:url("../img/scheda-defunto/icona-messa-di-settima.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-position: left 10px top 10px;
}
.div-messa-di-trigesimo{
  background-image:url("../img/scheda-defunto/icona-trigesimo.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-position: left 10px top 10px;
}
.anniversario, .ringraziamento, .partecipazione, .santo-rosario, .commemorazione, .messa-di-trigesimo, .messa-di-settima {
  background-color: #e0e0e0;
}

/*-------------- COOKIE ---------------------*/
button#ihavecookiesBtn {
    margin-left: 0px !important;
}
/* Cookie Dialog */
#gdpr-cookie-message {
  border: 1px solid #666;
    position: fixed;
    right: 30px;
    bottom: 30px;
    max-width: 375px;
    background-color:#fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 6px 6px rgba(0,0,0,0.25);
    margin-left: 30px;
    font-family: system-ui;
    z-index:50;
}
#gdpr-cookie-message h4 {
    color: #030303;
    font-family: arial;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 25px;
}
#gdpr-cookie-message h5 {
    color:#666;
    font-family:arial;
    /*font-size: 15px;*/
    font-weight: 500;
    margin-bottom: 10px;
}
#gdpr-cookie-message p, #gdpr-cookie-message ul {
    color:#666;
    font-size: 15px;
    line-height: 1.5em;
    font-family:arial;
}
#gdpr-cookie-message p:last-child {
    margin-bottom: 0;
    text-align: left;
}
#gdpr-cookie-message li {
    width: 49%;
    display: inline-block;
}
#gdpr-cookie-message a {
    color: #333333;
    text-decoration: underline;
    font-size: 13px;
    padding-bottom: 2px;
    border-bottom: 1px dotted rgba(255,255,255,0.75);
    transition: all 0.3s ease-in;
}
#gdpr-cookie-message a:hover {color: #271341;transition: all 0.3s ease-in;}
#gdpr-cookie-message button,
button#ihavecookiesBtn {
    border: none;
    background: #8c668c;
    color: white;
    font-family: arial;
    font-size: 20px;
    padding: 7px;
    border-radius: 3px;
    margin-left: 0px;
    cursor: pointer;
    transition: all 0.3s ease-in;
}
#gdpr-cookie-message button:hover {
    background: white;
    color: #271341;
    transition: all 0.3s ease-in;
}
button#gdpr-cookie-advanced{
  background: white;
  color:#444444;
}
button#gdpr-cookie-refuse {
    background: white;
    color: #555555;
    margin: 8px;
}
#gdpr-cookie-message button:disabled {
    opacity: 0.3;
}
#gdpr-cookie-message input[type="checkbox"] {
    float: none;
    margin-top: 0;
    margin-right: 5px;
}

/* nuovo menu bootstrap*/
.sfondo {top: 35px;z-index:1500;width: 100%;background-color: #2D2D2D;}
.menu-alto{top:20px;}
.bg-dark {background-color: #2D2D2D!important;}
.navbar{padding:18px;}
.nav-item a{color: #858282;font-size: 18px;padding-right: 15px;}

.logo-top{
    width: 70px;
    margin-top: 0px;
    height: auto;
}

/* nuovo card bootstrap*/
img{
  max-width: 100%;
}

.card {

    border-radius: 0px;
   height: 520px;
}

.card:hover {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(102, 51, 102, 0.75);
  -moz-box-shadow: 0px 0px 10px 0px rgba(102, 51, 102, 0.75);
  box-shadow: 0px 0px 10px 0px rgba(102, 51, 102, 0.75);
  transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
}

.card img {
    /*width: 100px;*/
    height: auto;
    border-radius: 50%;
    border: none;
}
.card h2{
  text-transform: capitalize;
    text-align: center;
}

.card azienda{

    border-radius: 100%;

}

.right {
    height: initial!important;
    width: initial!important;
    position: absolute;
    bottom: 10px;
    max-width: 170px;
    max-height: 70px !important;
    border-radius: 0% !important;
}

.corpo{
    width: 100%;
    height: 420px;
    background-color: #f5f1ed;
}

.slogan{
  font-size: 19px;
}
#comuni-ul{
  list-style-type:none;
  border-right: 1px solid #eee;
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;

}
.cerca{
    display:none;
    color: #555;
    background-color: #e1e1e1;
    text-transform: uppercase;
    font-size: 20px;
    padding: 8px;
    width: 100%;
    text-align: center;
    border: 1px solid #e1e1e1;
    cursor: pointer;
}
ul.pagination li a {
    padding-left:20px;
    padding-right:20px;
    color: #ddd;
    display: block;
}
#bannerScheda{
    width: 100%!important;

}

.dati-def, .info-funerale {


   width: 100%!important;
}

.agenzia {
  border: 1px solid #a9a4a4;
    width: 100%;
    float: left;
    margin: initial!important;
    /* padding-bottom: 20px; */
}
.text {
    margin-left: 10px;
    text-transform: uppercase;
    font-size: 18px;
}

.filtri label{
    padding:20px 0 20px 0;
  border-bottom:1px solid black;
}

input[type="radio"] {
    -ms-transform: scale(1.5); /* IE 9 */
    -webkit-transform: scale(1.5); /* Chrome, Safari, Opera */
    transform: scale(1.5);
    cursor: pointer;
}

.filtri-titolo{
    padding:15px;
    color: white;
    background-color: #271341;
}
input[type='radio']:after {
        width: 18px;
        height: 18px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #d1d3d1;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }

    input[type='radio']:checked:after {
        width: 18px;
        height: 18px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #452645;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }

#n_search_comune_2 {
    width: 90%;
    padding: 8px;
    font-size: 18px;
    border: 0.1px solid gray;
}

.zona{
max-width: 500px;
    margin-top: 30px!important;
}


small{
  font-size: 18px;
}

.info-form {
    margin-right: 84px;
    float: right;
    margin-bottom: 5px;
    margin-top: -17px;
    font-size: 18px;
}
.sedi{
   border-left: 1px solid #d9d9d9;
 border-right: 1px solid #d9d9d9;
}
.sedi p{
    font-size:20px;
    margin:0px;
}
.foto img {
    border-radius: 50%;
}

.foto,.info{ width: 200px;}
.info{background: #f4f4f4;; /*#CECAC8;*/}
.foto{background: #f8f8f8; height: auto;width:100%;/*margin-top:50px;*/margin-bottom:50px}
.foto img{border-radius: 50%;cursor: auto;}
.corpo_modale{
  max-width: 500px;
  margin:0 auto;
}
.logo-azienda {
    width: 200px;
    height: 200px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-left: -100px;
    margin-top: -80px;
    background-color: #fff;
}
.logo-azienda img {
  margin-top: 0px!important;
 margin-top: 70px;
}
h3.title {
    margin-top: 1px;
    font-size: 25px;
}

.padding {
  text-align: right;
    font-size: 20px!important;
    margin-right: 40px;
    margin-top: 40px;
    font-style: italic;
}
.social {
    padding-top: 30px;
    background-color: #ece9e9;
    height: 96px;
}
.dona_associazioni{
    margin-bottom: 20px;
    color: white;
    padding: 20px;
    background-color: #271341;
    width: 223px;
    margin: 0 auto;
    font-size: 20px;
}

.navbar-brand{
  width: 80px;
    left: 10px;
    top: 43px;
    z-index: 1504;
    position: fixed;
}
  .cerca-mobile {
    display: block;
    top: 43px;
    right: 24px;
    width: 55px;
    z-index: 1504;
    position: fixed;
    background-color: #2e2e2e;
    border: none;

     box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
     animation: pulse-white 2s infinite;
  border-radius: 50%;
  }

  @keyframes pulse-white {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
  }
#search {
    display: none;
}

#back-top{
position:fixed;
bottom:20px;
right: 20px;
z-index: 1500;
}
.card-body {
    text-align: center;
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

@media (max-width: 980px){

  /*h1.title {
      margin-top: 160px;
      font-size: 38px;
      text-align: center;
      padding: 20px;
      font-family: 'Stoke', serif;
      color: #ddd;
      text-shadow: 1px 1px #d1d1d1;
      color: #271341;
  }*/
  .cerca-mobile {
    display: block;
    top: 43px;
    right: 24px;
    width: 55px;
    z-index: 1504;
    position: fixed;
    background-color: #2e2e2e;
    border: none;

     box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
     animation: pulse-white 2s infinite;
  border-radius: 50%;
  }
  @keyframes pulse-white {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
  }







  #search {
      display: none;
      margin-top:250px;
  }
  .slider{
    margin-top:165px;
  }
  .navbar-brand {
    width: 80px;
      margin-left: auto;
      margin-right: auto;
      left: 0;
      right: 0;
      text-align: center;
      left: 10px;
      top: 43px;
      z-index: 1504;
      position: fixed;
  }
  .navbar-collapse {
      margin-top: 44px;
      align-items: center;
      width: 100%;
  }

  .logo-azienda {
    width: 100px;
    height: 100px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    margin-top: -23px;
    background-color: #fff;
}

 .logo-azienda img {
    width: 50px;
    margin-top: 0px!important;
    height: auto;
 }
  .title-scheda-azienda {
   margin-top: 80px;
   font-size: 45px;
   color: #666;
  }

  .nome {
      padding: 10px;
      font-size: 45px;
  }

.id_input_ac_search {

    font-size: 27px;
    height: 50px;

}

#ac_search_button {

    font-size: 30px;
      height: 50px;

}
    #footer {

  height: auto;

}
.cerca{
    display:block;
}

.laptop_search{
        display:none;
    }
    #n_search_button {
    margin: 0 auto;
    background: none;
    height: inherit;
    width: inherit;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #000;
    background-color: #dedada;
    width: 100%;
}

#n_search_comune {
  margin-bottom: 15px;
    width: 100%;
    padding: 8px;
    font-size: 20px;
    border: 0.1px solid gray;
}
#n_search {
  margin-bottom: 15px;
    width: 100%;
    padding: 8px;
    font-size: 20px;
    border: 0.1px solid gray;
}

.mobile-inserimento {
  padding: 15px;
  width: 94px;
  margin-bottom: 5px;
  margin-top: 5px;
}
.corpo {
    width: 100%;
    height: 480px;
    background-color: #f5f1ed;
}

.card {
    border-radius: 0px;
    height: 580px;
}

}

@media (max-width: 980px){

.navigazione_fixed {
    background-color: #eeeeee;
    top: 85px;
    z-index: 20;
    position: fixed;
    width: 100%;
    height: 121px;
}
.slide-nav {
    font-size: 18px!important;

}

.nav-up{margin-top:-190px;}
.sfondo{

transition: all 0.2s ease-in-out;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
}
.logo-menu-scomparsa{
transition: top 0.4s ease-in-out;
-webkit-transition: top 0.4s ease-in-out;
-moz-transition: top 0.4s ease-in-out;
-o-transition: top 0.4s ease-in-out;
}
.cerca-mobile{
transition: top 0.2s ease-in-out;
-webkit-transition: top 0.2s ease-in-out;
-moz-transition: top 0.2s ease-in-out;
-o-transition: top 0.2s ease-in-out;
}
.navigazione_fixed{
transition: top 0.2s ease-in-out;
-webkit-transition: top 0.2s ease-in-out;
-moz-transition: top 0.2s ease-in-out;
-o-transition: top 0.2s ease-in-out;
}
.nav-up1{top:0px!important;}
}

@media (max-width: 768px){

  /*h1.title {
      margin-top: 160px;
      font-size: 38px;
      text-align: center;
      padding: 20px;
      font-family: 'Stoke', serif;
      color: #ddd;
      text-shadow: 1px 1px #d1d1d1;
      color: #271341;
  }*/
  .mobile-inserimento {
    padding: 15px;
    width: 94px;
    margin-bottom: 5px;
    margin-top: 5px;
}

  .nav-item a {
      font-size: 22px;
      padding-right: 15px;
  }

    #footer {

    height: auto;

}
#footer ul li {
    list-style-type: none;
    font-size: 12px;
}

.form input[type="text"], .form input[type="password"], .form select {
    padding: 5px;
    height: 40px;
    width: 100%;
    border: 1px solid #ddd;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: 'Alegreya Sans', sans-serif;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
     #c_ricorrenze{
        font-size: 10px;

    }

    #c_oggi{
        font-size: 10px;

    }
     #c_future{
         font-size: 10px;

    }

    #select_topic img {
    margin-top: 26px;
    cursor: pointer;
}

 ul.pagination li a {
     font-size:22px;
     padding-left:10px;
    padding-right:10px;
    color: #ddd;
    display: block;
}
}
@media (max-width: 575.98px) {

  /*h1.title {
    /* word-wrap: break-word; */
      /*margin-top: 120px;
      font-size: 38px;
      text-align: center;
      padding: 20px;
      font-family: 'Stoke', serif;
      color: #ddd;
      text-shadow: 1px 1px #d1d1d1;
      color: #271341;
  }*/

  textarea {
      width: 100%;
      resize: vertical;
  }
  .mobile-inserimento {
    padding: 5px;
    width: 70px;
    margin-bottom: 5px;
    margin-top: 5px;
}
.navbar {
    padding: 12px;
}
.cerca-mobile  {
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
    height: 55px;
    display: block;
    top: 38px;
    right: 24px;
    width: 55px;
    z-index: 1504;
    position: fixed;
    background-color: #2e2e2e;
    border: none;
    box-shadow: 20px 19px 20px 10px rgb(255 255 255);
    animation: pulse-white 2s infinite;
    border-radius: 50%;
}
.navbar-brand {
    width: 80px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    left: 10px;
    top: 35px;
    z-index: 1504;
    position: fixed;
}

  #footer ul li {
      list-style-type: none;
      font-size: 18px;
  }
  body{
  margin:0px;
  top:0px;
  font-family: 'Alegreya Sans', sans-serif;
  font-size:18px;
  background:#fff;
  }

  .logo-azienda img {
      width: 70px;
      margin-top: 0px!important;
      height: auto;
  }
  .logo-azienda {
    width: 120px;
    height: 120px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-left: -60px;
    margin-top: -78px;
    background-color: #fff;
}
.info-form{

    float: left;
    margin-bottom: 5px;
    margin-top: -17px;
    font-size: 15px;
}

.menu-azienda-wrapper {
  display:none;
}
.title {
    margin-top: 139px;
    font-size: 26px;
    text-align: center;
    padding: 20px;
    font-family: 'Stoke', serif;
    color: #ddd;
    text-shadow: 1px 1px #d1d1d1;
    color: #271341;
}
.description {
    margin-top: 20px;
}
.big_menu_pad, .big_menu_pad2 {

    width: 50%;
    padding: 10px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    text-align: center;
    float: left;
    background: #fefefe;
    border: 0px solid #ddd;
}

.big_menu_pad p{
  font-size:14px;
}
  .card img {

      /*width: 200px;*/
      height: auto;
      border-radius: 50%;
      border: none;
  }
  .corpo p {
    line-height: 23px;
}

  .corpo h2 a{
    font-size: 34px;
  }
  p.label, #container li {
      margin-top: 16px;
      font-size: 19px;

      word-spacing: 3px;
  }
  .padding {
      text-align: right;
      font-size: 18px!important;
      margin-right: 40px;
      margin-top: 40px;
      font-style: italic;
  }
  .nome{font-size: 40px; text-transform: capitalize;border-bottom:1px solid #d8d8d8;}

  .sedi {
    border-left: 0px solid #9c9b9a;
    border-right: 0px solid #9c9b9a;
      border-top: 1px solid #9c9b9a;
      border-bottom: 1px solid #9c9b9a;
  }
  ul.pagination li a {
  font-size: 20px;
  padding-left: 8px;
  padding-right: 8px;
  color: #ddd;
  display: block;
}

ul.pagination li a.selected {
    color: #271341;
    font-size: 27px;
}

.right {
    position: absolute;
    bottom: 10px;
    width: 130px;
    height: auto;
    border-radius: 0% !important;
}

a {
    text-decoration: none;
    color: #807f80;
}
    #select_topic img {
    margin-top: 57px;
    cursor: pointer;
}
.cerca{
    display:block;

}

.laptop_search{

        display:none;
    }

    #n_search_button {

    margin: 0 auto;
    background: none;
    height: inherit;
    width: inherit;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #000;
    background-color: #dedada;
    width: 100%;
}
.nav-item a {
    font-size: 25px;
    padding-right: 15px;
}
 .navbar-nav {
    margin-top: 45px;

 }
   .nav-item {
      background-color: #3e3e3e;
    margin-bottom: 10px;
}

#footer {

    background: #101010;
    height: auto;

}


#after-footer {
    height: auto;

}

#search {
    width: 100%;
    margin: 0 auto;
    margin-top: 183px;
    padding: 25px;
    background: #fff;
    box-shadow: inset 0 0 10px #bbb;
    border: 1px solid #999;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 0px;
}

#n_search {
    width: 100%;
    margin-bottom: 15px;

}

#n_search_comune {
    width: 100%;
    margin-bottom: 15px;

}

    #c_ricorrenze{
        font-size: 12px;

    }

    #c_oggi{
        font-size: 12px;

    }
     #c_future{
         font-size: 12px;

    }

#select_topic #topics .topic small {
    font-size: 4px;
}
#select_topic #topics .topic {
    font-size: 15px;
    text-align: center;
    padding: 5px;
    font-family: 'Stoke', serif;
    color: #ddd;
    text-shadow: 1px 1px #aaa;
}

#select_topic #topics {
    margin-top: 47px;
    height: 50px;

    text-align: center;
    overflow: hidden;
}



#select_topic img {
    width: 35px;
    height: auto;
    cursor: pointer;
}


.card {
    margin-bottom: 30px;
    border: 1px solid rgb(0 0 0 / 40%);
  }


}

.title-white{
  color:#CCC !important;
}

.grey{
  color:#999;
}


@media (max-width: 400px) {

  #gdpr-cookie-message button, button#ihavecookiesBtn {
      border: none;
      background: #8c668c;
      color: white;
      font-family: arial;
      font-size: 11px;
      padding: 6px;
      border-radius: 3px;
      margin-left: 0px;
      cursor: pointer;
      transition: all 0.3s ease-in;
  }

  button#gdpr-cookie-advanced{
    background:white;
    color:#444444;
  }

button#gdpr-cookie-refuse {
      background: white;
      color: #555555;
      margin: 8px;
      font-size:11px;
  }

  #gdpr-cookie-message p, #gdpr-cookie-message ul {
      color: #666;
      font-size: 11px;
      line-height: 1.5em;
      font-family: arial;
  }

  .mobile-inserimento {
      padding: 8px;
      width: 55px;
      margin-bottom: 5px;
      margin-top: 5px;
      font-size: 11px;
  }
  ul.pagination li a {
  font-size: 19px;
  padding-left: 6px;
  padding-right: 6px;
  color: #ddd;
  display: block;
}
ul.pagination li a.selected {
    color: #271341;
    font-size: 27px;
}
}
