body { margin: 0 0 0 0; font-family:tahoma, verdana; background-color :#fff; font-size: 14px; text-align: center; width: 100%; min-height: 100%; height:auto; overflow: -moz-scrollbars-vertical;}
html { width: 100%; height: 100%;}
.logotop 			{height:80px;width:auto;float:left;padding:10px;}
.claim   			{text-align: center;width:95%;padding: 10px;color:#000;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:20px;}
.masterbody   {margin-top: 130px;width: 100%;height:auto;position:relative;z-index:0;overflow: hidden;}
.selectbar		{width: 90%;padding: 10px;height:auto;border: 1px solid #b3b8ba;text-align: center;display: flex;justify-content: center;}
.topbar 	  	{width:100%;background-color:#53b835;height:70px; position: fixed; top: 0; left: 0; right: 0;z-index: 50;padding: 0px;}
.logotop{height: 50px;float: left;margin: 0px;}
.logotop img{height: 98%;margin-top: -10px;}
.titlebar    {float:left;line-height: 70px;height: 70px;padding-left:20px;margin-top: -10px;}
.selsett{font-family:tahoma, verdana;color:#fff;background-color: #3d73a3;height: 40px;font-size:15px;border:1px solid #ff7108;}
.hmenuset{}
.cta-button {
  background-color: #ff6600; /* colore arancio energico */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 250px;
  margin-top: 20px;
  user-select: none;
  margin: auto;
}

.cta-button:hover {
  background-color: #e05500;
  transform: scale(1.03);
}
.model-details {
  font-family: 'Arial', sans-serif;
  margin: 10px 0;
  background: #f9f9f9;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  max-width: 450px;
}

.model-details h3 {
  margin-top: 0;
  color: #333;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 3px;
}

.model-details table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.model-details th {
  text-align: left;
  width: 40%;
  padding: 8px 0;
  color: #555;
  font-weight: normal;
  vertical-align: top;
}

.model-details td {
  padding: 8px 0;
  color: #000;
  vertical-align: top;
  font-size: 14px;
}

.contlib {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centra i blocchi sulla riga */
  gap: 20px; /* spazio tra i blocchi */
  padding: 20px;
}

.antemodule {
  width: 300px;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s;
}

.antemodule:hover {
  cursor: pointer;
  transform: scale(1.03);
}

.imgmod img {
  width: 100%;
  height: auto;
  display: block;
}

.namemod {
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.premium{
  background-color: #be1434;
  color:#fff;
  text-align: center;
  padding: 10px 8px 10px 8px;
}
.selmod{
  width:99%;
  height: 99%;
}
.masterbodyfacsimile {
  display: flex;
  gap: 20px;           /* spazio orizzontale tra i due pannelli */
  align-items: flex-start;
  box-sizing: border-box;
  padding: 10px;
  width: 95%;
  margin-top: 120px;
}

/* pannello sinistro: il PDF */
.anteselmod {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* pannello destro: dati modello */
.dataselmod {
  flex: 0 0 47%;       /* occupa il 42% */
  height: auto; /* 80% dell’altezza della finestra */
  overflow: auto;      /* scroll se troppo lungo */
  box-sizing: border-box;
  padding: 0 10px;
  background: #ffffff; /* facoltativo */
  border:0px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  box-sizing: border-box;
}
.titlemod{
  font-size:22px;
  font-family: 'Arial', sans-serif;
}
.desmod{
  font-family: 'Arial', sans-serif;
  font-size:18px;
  color: #146090;
}
.infomod{
  color: #4b4e4f;
  font-size:16px;
}
.iframepdf{
  width:95%;
  height: 100%;
  border: 0px;
}

.radio-toolbar { margin: 5px; }
.radio-toolbar input[type="radio"] { opacity: 0; position: fixed; width: 0;}
.radio-toolbar label {
    display: inline-block;
    background-color: #eaedee;
    padding: 7px 14px;
    font-family: sans-serif, Arial;
    font-size: 16px;
    border: 2px solid #444;
    border-radius: 4px;
}
.radio-toolbar label:hover {background-color: #dfd; cursor: pointer;}
.radio-toolbar input[type="radio"]:focus + label {border: 2px dashed #444;}

.radio-toolbar input[type="radio"]:checked + label { background-color: #bfb; border-color: #4c4;}


.container {
  margin: 0 auto;width:99%;display: flex;justify-content: center;
}
.round {
  position: relative;margin-right: 5px;margin-left: 5px;float: left;
}

.round label {
  background-color: #eaedee;
  border: 1px solid #ccc;
  border-radius: 30%;
  cursor: pointer;
  height: 28px;
  left: 0;
  position: absolute;
  top: 0;
  width: 28px;
}

.round label:after {
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  height: 6px;
  left: 7px;
  opacity: 0;
  position: absolute;
  top: 8px;
  transform: rotate(-45deg);
  width: 12px;
}

.round input[type="checkbox"] {
  visibility: hidden;
}

.round input[type="checkbox"]:checked + label {
  background-color: #66bb6a;
  border-color: #66bb6a;
}

.round input[type="checkbox"]:checked + label:after {
  opacity: 1;
}
.checkbtn  { padding:5px 5px 5px 15px;}
.divchk {float:left;width:auto;height:auto;padding:10px;margin-right:5px;margin-top: 5px;}

.bodytemplates {width: 100%;height: 100%;margin:0 0 0 0px;overflow: auto;}

.prvpdf {width:100%;height:100%;overflow: auto;}

.contprv {width:94%;height:450px;overflow:auto;border:0px solid #000;display: flex;justify-content: center;}


/* The Modal (background) */
.modalw {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modalw-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  height: 250px;
}

/* The Close Button */
.closew {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closew:hover,
.closew:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.navbar {
  position: fixed;
  top: 70;
  left: 0;
  right: 0;
  background-color: #1e486e;
  color: #ffffff;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;         /* Cambia in colonna per supportare layout a più righe */
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  z-index: 50;
  text-align: left;

}


.navbar-brand a {
  color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}

.navbar-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 10px;
  font-size: 15px;
}

.navbar-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}


@media (max-width: 768px) {



  .masterbodyfacsimile {
    flex-direction: column;
    width: 100%;
    padding: 5px;
  }

  .anteselmod,
  .dataselmod {
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .barthumb {
    overflow-x: auto;
    overflow-y: hidden;
    display: block;
    white-space: nowrap;
    padding: 10px 0;
    background: #f9f9f9;
  }

  #thumbnails {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 10px;
  }

  #thumbnails canvas {
    width: 80px;
    height: auto;
    flex: 0 0 auto;
    border: 2px solid transparent;
    cursor: pointer;
  }

  #thumbnails canvas.active {
    border-color: #007bff;
  }

  .model-details table {
    max-width: none;
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
  }
  .hmenuset{display: none !important;margin-top: 0px !important;}
  .cta-button{display: flex;margin: auto;}
}

@media (min-width: 1200px) {

	/* > 1200px */
	#masterdiv 		{width: 100%;margin:0 0 0 0px;}

    .mastertitle    {color:#ffffff;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:20px;}
    .latosx         {width: 60%;height:auto;float: left;text-align: center;}
    .latodx         {width: 40%;height:auto;float: left;}
    .modulo         {display: inline-block;margin-left:10px;margin-top: 10px;width:750px;min-height:750px;height: auto;padding: 10px;border:1px solid #10a6c1;background-color:#fff;border-radius: 5px;}
    .titlelbl       {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:18px;}
    .bold           {font-weight:bold;color:#3a3a3b;}
    .info           {color:#3a3a3b;font-size:15px;}
    .tips           {color:#3a3a3b;font-size:10px;}
    .tit            {color:#10a6c1;font-weight:bold;}
    .inpmod         {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;border:1px solid #10a6c1;background-color:#fff;border-radius: 2px;height:35px;width:450px;}
    .combo          {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:14px;border:1px solid #10a6c1;background-color:#fff;border-radius: 2px;height:35px;width:300px;}
    .dotactive      {height:50px;width: 50px;background-color: #10a6c1;border-radius: 50%;display: inline-block;text-align: center;vertical-align:middle;line-height: 48px;color:#fff;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;}
    .dotanoctive    {background-color: #828285;}
    .lineto         {display: block;height: 1px;border: 0;border-top: 1px solid #ccc;margin: 1em 0;padding: 0;width:70px;}
    .titlestep      {color:#10a6c1;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:18px;}
    .noactive       {color:#3a3a3b;}
    .datistep       {width:650px;height:auto;float: left;}
    .btnnext        {width:150px;height:35px;padding: 10px;line-height: 32px;text-align: center;background-color:#10a6c1;color: #fff;border-radius: 5px; }
    .btnnext:hover  {cursor:pointer;background-color:#0b6676;}
    .customCheckbox {float: left;position: relative;width: 20px;height: 20px;background: #eaeaea;border-radius: 2px;border: 1px solid #d2d2d2;box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1);overflow: hidden;}
    .customCheckbox.customCheckboxChecked { background: #6CC5EB; border: 1px solid #60ACCC;}
    .customCheckbox input { opacity: 0;  cursor: pointer;  z-index: 5;  width: 100%;  height: 100%;  display: block;  position: absolute;  top: 0;  left: 0;}
    .customCheckbox span {  display: none;  text-align: center;  line-height: 20px;  font-size: 90%;  color: #222;}
    .customCheckbox.customCheckboxChecked span {  display: block;}
    .err            {color:#ff0000;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;}
}

@media (min-width: 768px) and (max-width: 1199px) {

	/* 768 to 1199 */
	#masterdiv 		{width: 100%;margin: 0 auto;}
	.topbar 		{width:100%;background-color:#53b835;height:70px; }
		.mastertitle    {color:#ffffff;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:20px;}
		.titlebar       {float:left;line-height: 80px;height: 80px;padding-left:20px;}
    .latosx         {width: 100%;height:auto;float: left;}
    .latodx         {width: 100%;height:auto;float: left;}
    .modulo         {display: inline-block;margin-left:10px;margin-top: 10px;width:700px;min-height:550px;height: auto;padding: 10px;border:1px solid #fff;background-color:#fff;border-radius: 5px;}
    .titlelbl       {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:18px;}
    .bold           {font-weight: bold;}
    .info           {color:#3a3a3b;font-size:14px;}
    .tips           {color:#3a3a3b;font-size:10px;}
    .tit            {color:#10a6c1;font-weight:bold;}
    .inpmod         {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;border:1px solid #10a6c1;background-color:#fff;border-radius: 2px;height:35px;width:90%;}
    .combo          {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:14px;border:1px solid #10a6c1;background-color:#fff;border-radius: 2px;height:35px;width:90%;}
    .dotactive      {height:50px;width: 50px;background-color: #10a6c1;border-radius: 50%;display: inline-block;text-align: center;vertical-align:middle;line-height: 48px;color:#fff;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;}
    .dotanoctive    {background-color: #828285;}
    .lineto         {display: block;height: 1px;border: 0;border-top: 1px solid #ccc;margin: 1em 0;padding: 0;width:30px;}
    .titlestep      {color:#10a6c1;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:18px;}
    .noactive       {color:#3a3a3b;}
    .datistep       {width:650px;height:auto;float: left;}
    .btnnext        {width:150px;height:35px;padding: 10px;line-height: 32px;text-align: center;background-color:#10a6c1;color: #fff;border-radius: 5px; }
    .btnnext:hover  {cursor:pointer;background-color:#0b6676;}
    .customCheckbox {float: left;position: relative;width: 20px;height: 20px;background: #eaeaea;border-radius: 2px;border: 1px solid #d2d2d2;box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1);overflow: hidden;}
    .customCheckbox.customCheckboxChecked { background: #6CC5EB; border: 1px solid #60ACCC;}
    .customCheckbox input { opacity: 0;  cursor: pointer;  z-index: 5;  width: 100%;  height: 100%;  display: block;  position: absolute;  top: 0;  left: 0;}
    .customCheckbox span {  display: none;  text-align: center;  line-height: 20px;  font-size: 90%;  color: #222;}
    .customCheckbox.customCheckboxChecked span {  display: block;}
    .err            {color:#ff0000;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;}
}


@media (max-width: 767px) {

	/*  < 767 */
	#masterdiv 		{width:100%;margin: 0 auto;}
	.topbar 		{width:100%;background-color:#53b835;height:60px; }
		.mastertitle    {color:#ffffff;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:20px;}
		.titlebar       {float:left;line-height: 40px;height: 40px;padding-left:20px;}
    .latosx         {width: 100%;height:auto;float: left;}
    .latodx         {width: 100%;height:auto;float: left;}
    .modulo         {display: inline-block;margin-left:2px;margin-top: 10px;width:90%;min-height:550px;height: auto;padding: 10px;border:1px solid #fff;background-color:#fff;border-radius: 5px;}
    .titlelbl       {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:18px;}
    .bold           {font-weight: bold;}
    .info           {color:#3a3a3b;font-size:14px;}
    .tips           {color:#3a3a3b;font-size:10px;}
    .tit            {color:#10a6c1;font-weight:bold;}
    .inpmod         {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;border:1px solid #10a6c1;background-color:#fff;border-radius: 2px;height:35px;width:95%;}
    .combo          {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:14px;border:1px solid #10a6c1;background-color:#fff;border-radius: 2px;height:35px;width:90%;}
    .dotactive      {height:50px;width: 50px;background-color: #10a6c1;border-radius: 50%;display: inline-block;text-align: center;vertical-align:middle;line-height: 48px;color:#fff;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;}
    .dotanoctive    {background-color: #828285;}
    .lineto         {display: block;height: 1px;border: 0;border-top: 1px solid #ccc;margin: 1em 0;padding: 0;width:30px;}
    .titlestep      {color:#10a6c1;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:18px;}
    .noactive       {color:#3a3a3b;}
    .datistep       {width:99%;height:auto;float: left;}
    .btnnext        {width:150px;height:35px;padding: 10px;line-height: 32px;text-align: center;background-color:#10a6c1;color: #fff;border-radius: 5px; }
    .btnnext:hover  {cursor:pointer;background-color:#0b6676;}
    .customCheckbox {float: left;position: relative;width: 20px;height: 20px;background: #eaeaea;border-radius: 2px;border: 1px solid #d2d2d2;box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1);overflow: hidden;}
    .customCheckbox.customCheckboxChecked { background: #6CC5EB; border: 1px solid #60ACCC;}
    .customCheckbox input { opacity: 0;  cursor: pointer;  z-index: 5;  width: 100%;  height: 100%;  display: block;  position: absolute;  top: 0;  left: 0;}
    .customCheckbox span {  display: none;  text-align: center;  line-height: 20px;  font-size: 90%;  color: #222;}
    .customCheckbox.customCheckboxChecked span {  display: block;}
    .err            {color:#ff0000;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;}
}
@media only screen and (min-width : 320px) and (max-width : 480px)
 	and (orientation : portrait) {
    .navbar {
      top: 60 !important; padding-top: 20px !important; height: 80px !important;
    }
    .navbar-links, .contsec{
      height: 80px !important;
    }
    .masterbody{
      margin-top: 130px !important;
    }
    .masterbodyfacsimile {
      margin-top: 170px !important;
    }
    .contsec {
      display: flex;
      overflow-x: auto;
      overflow-y: hidden;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
      gap: 10px; /* opzionale per spazio tra elementi */
      height: 25px;
      color: #ff0000 !important;
      font-size: 16px !important;
    }
    .antemodule {
      width: 150px;
      background-color: #f9f9f9;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      text-align: center;
      transition: transform 0.2s;
    }
    .selmod{
      width:99%;
      height: 99%;
    }
    .anteselmod{
      width:98%;
      height: 99%;
      clear: both;
      margin: 0 auto;
    }
    .dataselmod{
      width:98%;
      height: 99%;
      clear: both;
      margin: 0 auto;
      padding: 10px;
      box-sizing: border-box;
    }

		.logotop {height:50px;width:auto;float:left;padding:5px;}
		.claim   	  {text-align: center;width:95%;padding: 10px;color:#000000;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:17px;}
		.container  {display: table;}
		.divchk {float:left;width:42%;height:auto;padding:5px;margin-right:0 auto;font-size:14px;}
    .contprv {width:94%;height:450px;overflow:auto;border:0px solid #000;display:inline-block;}

		#masterdiv 		{width:100%;margin: 0 auto;}
	  .topbar 		{width:100%;background-color:#53b835;height:60px; }
		.mastertitle    {color:#ffffff;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:18px;}
		.titlebar       {float:left;line-height: 40px;height: 40px;padding-left:2px;}
    .latosx         {width: 100%;height:auto;float: left;}
    .latodx         {width: 100%;height:auto;float: left;}
    .modulo         {display: inline-block;margin-left:2px;margin-top: 10px;width:80%;min-height:550px;height: auto;padding: 10px;border:1px solid #fff;background-color:#fff;border-radius: 5px;}
    .titlelbl       {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:18px;}
    .bold           {font-weight: bold;}
    .info           {color:#3a3a3b;font-size:14px;}
    .tips           {color:#3a3a3b;font-size:10px;}
    .tit            {color:#10a6c1;font-weight:bold;}
    .inpmod         {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;border:1px solid #10a6c1;background-color:#fff;border-radius: 2px;height:35px;width:90%;}
    .combo          {color:#3a3a3b;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:14px;border:1px solid #10a6c1;background-color:#fff;border-radius: 2px;height:35px;width:90%;}
    .dotactive      {height:50px;width: 50px;background-color: #10a6c1;border-radius: 50%;display: inline-block;text-align: center;vertical-align:middle;line-height: 48px;color:#fff;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;}
    .dotanoctive    {background-color: #828285;}
    .lineto         {display: block;height: 1px;border: 0;border-top: 1px solid #ccc;margin: 1em 0;padding: 0;width:30px;}
    .titlestep      {color:#10a6c1;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:18px;}
    .noactive       {color:#3a3a3b;}
    .datistep       {width:95%;height:auto;float: left;}
    .btnnext        {width:150px;height:35px;padding: 10px;line-height: 32px;text-align: center;background-color:#10a6c1;color: #fff;border-radius: 5px; }
    .btnnext:hover  {cursor:pointer;background-color:#0b6676;}
    .customCheckbox {float: left;position: relative;width: 20px;height: 20px;background: #eaeaea;border-radius: 2px;border: 1px solid #d2d2d2;box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1);overflow: hidden;}
    .customCheckbox.customCheckboxChecked { background: #6CC5EB; border: 1px solid #60ACCC;}
    .customCheckbox input { opacity: 0;  cursor: pointer;  z-index: 5;  width: 100%;  height: 100%;  display: block;  position: absolute;  top: 0;  left: 0;}
    .customCheckbox span {  display: none;  text-align: center;  line-height: 20px;  font-size: 90%;  color: #222;}
    .customCheckbox.customCheckboxChecked span {  display: block;}
    .err            {color:#ff0000;font-family:'robotoregular', futura, tahoma, verdana, arial;font-size:16px;}
}
