
@media (max-height: 800px) {
  #mop-homepage-casa, #mop-homepage-gatto, #mop-homepage-mutuo{
      overflow-y: auto !important;
      height: 700px !important;
      -webkit-overflow-scrolling:touch;
  }
  
}
iframe{
  height: 1000px;
}

.imagemop {
  width: 48%;
  position: relative;
  float: left;
  padding-right: 2%;
}

.imagemop p {
  position: absolute;
  bottom: 15px;
  left: 2px;
  z-index: 100;
  width: 100%;
  text-align: left;
}

.imagemop p a {
  padding: 10px;
  color: #FFF;
  background: #BA000B;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.imagemop img {
  border: 2px solid #0A2653;
}

.hidden, .hidden * {
  display: none;
}

.imagemop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;/*rgba(175, 20, 00, 0.5);*/
  z-index: -1;
  opacity: 0;
}

.imagemop-overlay__visible {
  z-index: 9999999;
  opacity: 1;
}

.form-container {
  
  max-height: 550px;
  position: absolute;
  width: 100%;
  height: 65%;
  left: 50%;
  top: 35%;
  transform: translateX(-50%) translateY(-50%);
      min-width: 335px;
}

.form-container .mophome.show {
  height: 100%;
}

.form-container iframe {
  width: 100%;
  height: 100%;
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  .imagemop {
    width: 100%;
    padding-right: 0%;
  }
  iframe
  {
    overflow-y: hidden !important;
    min-height: 1000px !important;
  }
  /* #mop-homepage-rcauto, #mop-homepage-casa, #mop-homepage-gatto, #mop-homepage-mutuo{ */
  #mop-homepage-casa, #mop-homepage-gatto, #mop-homepage-mutuo{
    overflow-y: hidden !important;
    height: 700px !important;
    -webkit-overflow-scrolling:touch;
  }
  #mopmodal, .form-container {
    overflow-y: hidden !important;
    position: absolute;

    width: 80%;
    height: 80%;
  }
}

@media only screen and (min-width : 1600px) {
    iframe {
        overflow: hidden;
    }
}
@media only screen and (max-width : 930px) {
    iframe {
        top: 25px;
        left: 0px;
        position: absolute;
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll !important;
        min-height: 100% !important;
    }

    .form-container {

        max-width: 90% !important;
        max-height: 750px ;
        min-height: 100%;
        position: absolute;
        width: 100% !important;
        height: 100%% !important;
        -webkit-overflow-scrolling: touch;
        left: 50%;
        top: 55%;
        transform: translateX(-50%) translateY(-50%);
        min-width: 335px;
        overflow-y: auto !important ;
    }
}
@media only screen and (max-width : 630px) {
    iframe {
        margin-top: 5%;
        min-height: 100% !important;
    }

    .form-container {
        left: 50% !important;
        top: 50%;
    }
}

/*! Inizio gestione TY */
#rca-container iframe{
  border-radius: 20px;
}
#cane-gatto iframe{
  border-radius: 20px;
}
#casa-container iframe{
  border-radius: 20px;
}
#infortuni-container iframe{
  border-radius: 20px;
}
#infortuni-container #thank_you_container{
  box-shadow: 0 0 !important;
  border-radius: 20px !important;
}
#salute-container iframe{
  border-radius: 20px;
}
#salute-container #thank_you_container{
  box-shadow: 0 0 !important;
  border-radius: 20px !important;
}
/*? Fine gestione TY */

/*! Inizio modifiche cane & gatto */

#mop-homepage-gatto html {
  overflow-y: visible !important;
}
#mop-homepage-gatto {
  min-height: 900px !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
}
/* #mop-homepage-gatto {
  min-height: 900px !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
}
#cane-gatto {
  min-height: 900px !important;
}
#mop-homepage-gatto html {
  overflow-y: visible !important;
}

@media only screen and (max-width: 945px) {
  #mop-homepage-gatto {
    min-height: 930px !important;
  }
  #cane-gatto {
    min-height: 920px !important;
  }
}

@media only screen and (max-width: 900px) {
  #cane-gatto {
    min-height: 1440px !important;
  }
  #mop-homepage-gatto {
    min-height: 1390px !important;
  }
}

@media only screen and (max-width: 767px) {
  #cane-gatto {
    min-height: 860px !important;
  }
  #mop-homepage-gatto {
    min-height: 860px !important;
  }
}

@media only screen and (max-width: 630px) {
  #cane-gatto {
    min-height: 940px !important;
  }
  #mop-homepage-gatto iframe {
    min-height: 890px !important;
  }
}

@media only screen and (max-width: 600px) {
  #cane-gatto {
    min-height: 1440px !important;
  }
  #mop-homepage-gatto iframe {
    min-height: 1390px !important;
  }
}

@media only screen and (max-width: 425px) {
  #cane-gatto {
    min-height: 1460px !important;
  }
  #mop-homepage-gatto iframe {
    min-height: 1420px !important;
  }
}

@media only screen and (max-width: 350px) {
  #cane-gatto {
    min-height: 1480px !important;
  }
  #mop-homepage-gatto iframe {
    min-height: 1450px !important;
  }
} */



/*? Fine modifiche cane & gatto */

/*! Inizio modifiche casa */
/* #casa-container iframe{
  height: 850px !important; 
}
@media only screen and (max-width: 975px) {
  #casa-container iframe{
    height: 900px !important; 
  }
}
@media only screen and (max-width: 930px) {
  #casa-container{
    min-height: 1420px !important; 
  }
  #casa-container iframe {
    min-height: 1370px !important; 
  }
}

@media only screen and (max-width: 767px) {
  #casa-container {
    min-height: 840px !important;
  }
  #casa-container iframe {
    min-height: 838px !important; 
  }
}
@media only screen and (max-width: 650px) {
  casa-container {
    min-height: 940px !important;
  }
  #casa-container iframe {
    min-height: 900px !important; 
  }
}
@media only screen and (max-width: 620px) {
  #casa-container {
    min-height: 1370px !important; 
  }
  #casa-container iframe {
    min-height: 1330px !important; 
  }
}
@media only screen and (max-width: 475px) {
  #casa-container {
    min-height: 1400px !important; 
  }
  #casa-container iframe {
    min-height: 1360px !important; 
  }
} */

/*? Fine modifiche casa */

/*! Inizio modifiche rca */

/* #mop-homepage-rcauto iframe{
  min-height: 970px;
}
#rca-container {
  min-height: 1020px;
}

@media only screen and (max-width: 945px) {
  #rca-container {
    min-height: 1050px;
  }
  #mop-homepage-rcauto iframe{
    min-height: 1030px;
  }
}

@media only screen and (max-width: 930px) {
  #rca-container {
    min-height: 1090px;
  }
  #mop-homepage-rcauto iframe{
    min-height: 1070px !important;
  }
}

@media only screen and (max-width: 900px) {
  #rca-container {
    min-height: 1720px;
  }
  #mop-homepage-rcauto iframe{
    min-height: 1650px !important;
  }
}

@media only screen and (max-width: 767px) {
  #rca-container {
    min-height: 1010px;
  }
  #mop-homepage-rcauto iframe{
    min-height: 1010px !important;
  }
}
@media only screen and (max-width: 630px) {
  #rca-container {
    min-height: 1060px;
  }
  #mop-homepage-rcauto iframe{
    min-height: 1060px !important;
  }
}

@media only screen and (max-width: 600px) {
  #rca-container {
    min-height: 1690px;
  }
  #mop-homepage-rcauto iframe{
    min-height: 1690px !important;
  }
}
@media only screen and (max-width: 425px) {
  #mop-homepage-rcauto button[type="submit"] {
    margin-top: 30px !important;
  }
  #rca-container {
    min-height: 1750px;
  }
  #mop-homepage-rcauto iframe{
    min-height: 1750px !important;
  }
} */
/*? Fine modifiche rca */


/*! Inzio modifiche mop contatti in pagina rca */
@media only screen and (max-width: 630px) {
  #mop-contatti-rca-container iframe {
    height: 500px !important;
  }
}
/*? Fine modifiche mop contatti in pagina rca */

/*! Inzio modifiche mop valore sereno */

#valore-sereno-container #valore_sereno_box{
    height: 810px;
}

@media only screen and (max-width: 1011px) {
  #valore-sereno-container #valore_sereno_box {
    height: 1180px;
  }
}

@media only screen and (max-width: 359px) {
  #valore-sereno-container #valore_sereno_box {
    height: 1210px;
  }
}

/*? Fine modifiche mop valore sereno */

/*! Inzio modifiche mop infortuni */
/* 
#infortuni-container {
  height: 970px !important;
}
#infortuni-container iframe{
    height: 920px !important;
}

@media only screen and (max-width: 930px) {
  #infortuni-container {
    height: 1270px !important;
  }
  #infortuni-container iframe{
      height: 1220px;
  }
}
@media only screen and (max-width: 911px) {
  #infortuni-container {
    height: 1340px !important;
  }
  #infortuni-container iframe{
      height: 1290px !important;
  }
}

@media only screen and (max-width: 767px) {
  #infortuni-container {
    height: 970px !important;
  }
  #infortuni-container iframe{
      height: 920px !important; 
  }
}

@media only screen and (max-width: 636px) {
  #infortuni-container {
    height: 1235px !important;
  }
  #infortuni-container iframe{
      height: 1185px !important;
  }
}
@media only screen and (max-width: 630px) {
  #infortuni-container {
    height: 1235px !important;
  }
  #infortuni-container iframe{
      min-height: 1175px !important;
  }
}
@media only screen and (max-width: 623px) {
  #infortuni-container {
    height: 1270px !important;
  }
  #infortuni-container iframe{
      min-height: 1220px !important;
  }
}
@media only screen and (max-width: 403px) {
  #infortuni-container {
    height: 1355px !important;
  }
  #infortuni-container iframe{
      min-height: 1300px !important;
  }
}
@media only screen and (max-width: 346px) {
  #infortuni-container iframe{
      min-height: 1330px !important;
  }
} */

/*? Fine modifiche mop infortuni */

/*! Inzio modifiche page salute fatta da luccarini */
/* #salute-container {
  height: 800px;
} */
 /* #salute-container{
  height: 930px !important;
 }
#salute-container iframe{
  height: 920px !important;
}
@media only screen and (max-width: 1024px) {
  #salute-container iframe{
    height: 970px !important;
  }
}
@media only screen and (max-width: 971px) {
  #salute-container iframe{
    height: 1020px !important;
  }
}

@media only screen and (max-width: 930px) {
  #salute-container{
    height: 1320px !important;
  }
  #salute-container iframe{
    height: 1320px !important;
  }
}

@media only screen and (max-width: 767px) {
  #salute-container{
    height: 920px !important;
  }
  #salute-container iframe{
    height: 920px !important;
  }
}

@media only screen and (max-width: 693px) {
  #salute-container{
    height: 970px !important;
  }
  #salute-container iframe{
    height: 970px !important;
  }
}

@media only screen and (max-width: 663px) {
  #salute-container{
    height: 1020px !important;
  }
  #salute-container iframe{
    height: 1020px !important;
  }
}
@media only screen and (max-width: 636px) {
  #salute-container{
    height: 1270px !important;
  }
  #salute-container iframe{
    min-height: 1270px !important;
  }
}
@media only screen and (max-width: 499px) {
  #salute-container{
    height: 1370px !important;
  }
  #salute-container iframe{
    min-height: 1370px !important;
  }
}
@media only screen and (max-width: 461px) {
  #salute-container{
    height: 1440px !important;
  }
  #salute-container iframe{
    min-height: 1440px !important;
  }
}
@media only screen and (max-width: 364px) {
  #salute-container{
    height: 1490px !important;
  }
  #salute-container iframe{
    min-height: 1490px !important;
  }
} */
/*? Fine modifiche page salute fatta da luccarini */


/*! Inzio modifiche vita premium */

 #vita-premium-container{
  height: 630px !important;
 }
#vita-premium-container iframe{
  height: 630px !important;
}
@media only screen and (max-width: 1200px) {
   #vita-premium-container{
    height: 650px !important;
  }
  #vita-premium-container iframe{
    height: 650px !important;
  }
}
@media only screen and (max-width: 1107px) {
   #vita-premium-container{
    height: 1000px !important;
  }
  #vita-premium-container iframe{
    height: 1000px !important;
  }
}
@media only screen and (max-width: 767px) {
   #vita-premium-container{
    height: 1000px !important;
  }
  #vita-premium-container iframe{
    height: 1000px !important;
  }
}
@media only screen and (max-width: 767px) {
   #vita-premium-container{
    height: 200px !important;
  }
  #vita-premium-container iframe{
    height: 1000px !important;
  }
}
@media only screen and (max-width: 767px) {

  #vita-premium-container iframe{
    height: 1100px !important;
  }
}


/*? Fine modifiche vita premium */


/*! Inzio modifiche auto e moto */

 
@media only screen and (max-width: 830px) {
   #container-auto-moto{
    height: 1100px !important;
  }
  #container-auto-moto iframe{
    height: 1100px !important;
  }
}
@media only screen and (max-width: 767px) {
   #container-auto-moto{
    height: 1800px !important;
  }
  #container-auto-moto iframe{
    height: 1800px !important;
  }
}
@media only screen and (max-width: 375px) {
  #container-auto-moto .custom-link{
    margin-top: 60px !important;
  }
}

/*? Fine modifiche auto e moto */


/*! Inzio modifiche amici 4 zampe */

 
@media only screen and (max-width: 830px) {
   #amici-4-zampe{
    height: 1100px !important;
  }
  #amici-4-zampe iframe{
    height: 1100px !important;
  }
}
@media only screen and (max-width: 767px) {
   #amici-4-zampe{
    height: 1800px !important;
  }
  #amici-4-zampe iframe{
    height: 1800px !important;
  }
}
@media only screen and (max-width: 375px) {
  #amici-4-zampe .custom-link{
    margin-top: 60px !important;
  }
}

/*? Fine modifiche amici 4 zampe */


/*! Inzio modifiche unicoop salute */

#my-form.container-unicoop-salute{
  height: 980px !important;
}
#my-form.container-unicoop-salute iframe{
  height: 980px !important;
}
@media only screen and (max-width: 1610px) {
  #my-form.container-unicoop-salute{
  height: 1000px !important;
}
  #my-form.container-unicoop-salute iframe{
    height: 1000px !important;
  }
}
@media only screen and (max-width: 1545px) {
  #my-form.container-unicoop-salute{
  height: 1300px !important;
}
  #my-form.container-unicoop-salute iframe{
    height: 1300px !important;
  }
}
@media only screen and (max-width: 1265px) {
  #my-form.container-unicoop-salute{
  height: 1350px !important;
}
  #my-form.container-unicoop-salute iframe{
    height: 1300px !important;
  }
}
@media only screen and (max-width: 1146px) {
  #my-form.container-unicoop-salute{
  height: 1450px !important;
}
  #my-form.container-unicoop-salute iframe{
    height: 1500px !important;
  }
}
@media only screen and (max-width: 1023px) {
  #my-form.container-unicoop-salute{
    height: 940px !important;
  }
}
@media only screen and (max-width: 964px) {
  #my-form.container-unicoop-salute{
    height: 1000px !important;
  }
}
@media only screen and (max-width: 808px) {
  #my-form.container-unicoop-salute{
    height: 1030px !important;
  }
}
@media only screen and (max-width: 773px) {
  #my-form.container-unicoop-salute{
    height: 1300px !important;
  }
}
@media only screen and (max-width: 767px) {
  #my-form.container-unicoop-salute{
    height: 1000px !important;
  }
}
@media only screen and (max-width: 727px) {
  #my-form.container-unicoop-salute{
    height: 1300px !important;
  }
}
@media only screen and (max-width: 576px) {
  #my-form.container-unicoop-salute{
    height: 1400px !important;
  }
}
@media only screen and (max-width: 528px) {
  #my-form.container-unicoop-salute{
    height: 1460px !important;
  }
}
@media only screen and (max-width: 431px) {
  #my-form.container-unicoop-salute{
    height: 1530px !important;
  }
}
@media only screen and (max-width: 381px) {
  #my-form.container-unicoop-salute{
    height: 1570px !important;
  }
}

/*? Fine modifiche unicoop salute */


/*! Inizio modifiche unicoop malattia */
#my-form.container-unicoop-malattia{
  height: 800px !important;
}
#my-form.container-unicoop-malattia iframe{
  height: 1500px !important;
}
@media only screen and (max-width: 1545px) {
  #my-form.container-unicoop-malattia{
    height: 980px !important;
  }
}
@media only screen and (max-width: 1441px) {
  #my-form.container-unicoop-malattia{
    height: 1000px !important;
  }
}
@media only screen and (max-width: 1262px) {
  #my-form.container-unicoop-malattia{
    height: 1100px !important;
  }
}
@media only screen and (max-width: 1240px) {
  #my-form.container-unicoop-malattia{
    height: 800px !important;
  }
}
@media only screen and (max-width: 930px) {
  #my-form.container-unicoop-malattia{
    height: 840px !important;
  }
}
@media only screen and (max-width: 773px) {
  #my-form.container-unicoop-malattia{
    height: 1030px !important;
  }
}
@media only screen and (max-width: 767px) {
  #my-form.container-unicoop-malattia{
    height: 850px !important;
  }
}
@media only screen and (max-width: 727px) {
  #my-form.container-unicoop-malattia{
    height: 1000px !important;
  }
}
@media only screen and (max-width: 680px) {
  #my-form.container-unicoop-malattia{
    height: 1030px !important;
  }
}
@media only screen and (max-width: 586px) {
  #my-form.container-unicoop-malattia{
    height: 1090px !important;
  }
}
@media only screen and (max-width: 570px) {
  #my-form.container-unicoop-malattia{
    height: 1100px !important;
  }
}
@media only screen and (max-width: 529px) {
  #my-form.container-unicoop-malattia{
    height: 1160px !important;
  }
}
@media only screen and (max-width: 442px) {
  #my-form.container-unicoop-malattia{
    height: 1200px !important;
  }
}
@media only screen and (max-width: 425px) {
  #my-form.container-unicoop-malattia{
    height: 1300px !important;
  }
}
/*? Fine modifiche unicoop malattia */


/*! Inizio modifiche unicoop malattia */
#container-unicoop-viaggi{
  height: 1000px !important;
}
#container-unicoop-viaggi iframe{
  height: 700px !important;
}
@media only screen and (max-width: 1480px) {
  #container-unicoop-viaggi iframe{
    height: 730px !important;
  }
}
@media only screen and (max-width: 1262px) {
  #container-unicoop-viaggi{
    height: 1200px !important;
  }
  #container-unicoop-viaggi iframe{
    height: 1200px !important;
  }
}
@media only screen and (max-width: 1024px) {
  #container-unicoop-viaggi{
    height: 750px !important;
  }
  #container-unicoop-viaggi iframe{
    height: 750px !important;
  }
}

@media only screen and (max-width: 790px) {
  #container-unicoop-viaggi{
    height: 850px !important;
  }
  #container-unicoop-viaggi iframe{
    height: 850px !important;
  }
}
@media only screen and (max-width: 640px) {
  #container-unicoop-viaggi{
    height: 1200px !important;
  }
  #container-unicoop-viaggi iframe{
    height: 1200px !important;
  }
}
@media only screen and (max-width: 465px) {
  #container-unicoop-viaggi{
    height: 1300px !important;
  }
  #container-unicoop-viaggi iframe{
    height: 1300px !important;
  }
}

/*? Fine modifiche unicoop malattia */




/*! Inizio modifiche unicoop casa */

#my-form.container-unicoop-casa{
  height: 1000px !important;
}
#my-form.container-unicoop-casa iframe{
  height: 1500px !important;
}
@media only screen and (max-width: 1545px) {
  #my-form.container-unicoop-casa{
    height: 980px !important;
  }
}
@media only screen and (max-width: 830px) {
  #my-form.container-unicoop-casa{
    height: 1070px !important;
  }
}
@media only screen and (max-width: 795px) {
  #my-form.container-unicoop-casa{
    height: 1500px !important;
  }
}
@media only screen and (max-width: 767px) {
  #my-form.container-unicoop-casa{
    height: 1050px !important;
  }
}
@media only screen and (max-width: 750px) {
  #my-form.container-unicoop-casa{
    height: 1500px !important;
  }
}
@media only screen and (max-width: 434px) {
  #my-form.container-unicoop-casa{
    height: 1530px !important;
  }
}
@media only screen and (max-width: 389px) {
  #my-form.container-unicoop-casa{
    height: 1560px !important;
  }
}
/*? Fine modifiche unicoop casa */