body {  font-family: Arial, Helvetica, sans-serif;
    font-size:medium;
  margin:0; padding:0;
  top:0; bottom: 0; left:0; right:0;}



#f5x_main {
  padding: 4px; margin:0; 
}

ul.f5x_listview {
    border: 1px solid gray;
    margin:8px 0;
    padding:0;
    border-radius: 8px;
    background-color:#eee;
  }
  ul.f5x_listview li
  {
    line-height: 1.2em;
    margin:0; padding:8px;
    font-weight:bold;
    list-style-type: none;
    border-bottom:1px solid gray;
    text-shadow: none;
  }

  ul.f5x_listview li a
    {
      display: block;
      text-decoration: none;
      text-shadow: none;
      color: #003399;
    }
  ul.f5x_listview li:hover {
    background-color:white;
  }
  ul.f5x_listview li a:before
  {
  content: "\279C"; /* FontAwesome Unicode */
  font-family: FontAwesome;
  border-radius:16px;
  float:right;;
  background-color:transparent;
  color:#003FBD;
  padding:0 4px;
  width: 16px; /* same as padding-left set on li */
  }
  ul.f5x_listview li a.noIconRight:before
  {
      content: "";
  }

table.f5x_menuHor {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding:0 4px;
  margin-top: 4px;
  margin-bottom:4px;
  margin-left:auto;
  margin-right:auto;
background: rgb(255,232,139);
background: linear-gradient(150deg, rgba(255,232,139,1) 0%, rgba(254,245,210,1) 100%);
}
table.f5x_menuHor td {
    margin:0; padding:4px;
    font-weight:bold;

}
table.f5x_menuHor td a {
    font-family: Arial, Helvetica, sans-serif;
    font-size:small;
    color:#003399;
    text-decoration: none;
}
table.f5x_menuHor td a:hover {
    color:white;
}

  .f5x_button {
    display:inline-block;
    border: 1px solid gray;
    margin:4px;
    padding:8px;
    text-align:center;
    border-radius: 8px;
    background-color:#eee;
    font-weight:bold;
  }
  .f5x_button a
  {
    color:black;
    display:block;
    text-decoration:none;
  }

  .f5x_iconRight:after
  {
  border-radius:16px;
  float:right;
  background-color:#003FBD;
  color:white;
  padding:2px;
  width: 16px;
  }
  .f5x_iconLeft:before
  {
  border-radius:16px;
  float:left;
  padding:0 2px;
  width: 16px;
  }

  a.f5x_iconArrowR:after
  {
  content: "\276F"; /* FontAwesome Unicode */
  color: #003399;
  padding:0;
  margin-top: -2px;
  background-color: transparent;
  }
  a.f5x_iconLensR:after
  {
  content: "\1F50E"; /* FontAwesome Unicode */
    width: 24px;
    font-size:16px;
    color:#003399;
    background-color:transparent;

  }
  a.f5x_iconLongArrowR:after
  {
  content: "\279C"; /* FontAwesome Unicode */
  width: 24px;
  }
  a.f5x_iconArrowL:before
  {
  content: "\276E"; /* FontAwesome Unicode */
  color: #003399;
  margin-top: -2px;
  background-color:transparent;
  }
  a.f5x_iconCloseR:after
  {
  content: "X"; /* FontAwesome Unicode */
  }
  a.f5x_iconMenuL:before
  {
    content: "\2630";
  }
  a.f5x_iconHomeL:before
  {
    content: "\2302";
  }
  a.f5x_iconPlusR:after
  {
    content: "+";
    background-color:gray;
  }
  a.f5x_iconPlusL:before
  {
    content: "+";
    margin-top: -2px;
    background-color:transparent;
  }
   a.f5x_iconEuroL:before
   {
       content: "\20AC";
       color: green;
       background-color:white;
       border:1px solid #ddd; border-radius:16px; padding: 4px;
       margin-top: -5px;
   }

  .f5x_button:hover {
    background-color:white;
  }

  .f5x_collapsable .f5x_button
  {
    background-color: #eee;
  }

  .f5x_collapsable .f5x_button a
  {
    color:#003FBD;
    font-weight:bold;
  }

    .f5x_collapsable .f5x_button a:before
   {
  content: "+";
  float:left;
  color:#003FBD;
  padding:0;
  margin: 0;
  font-size: larger;

     }

form.f5x_form input[type=number],form.f5x_form input[type=text], form.f5x_form input[type=password],form.f5x_form input[type=date], form.f5x_form input[type=tel], form.f5x_form input[type=email], form.f5x_form input[type=url], form.f5x_form input[type=search]
 {
  border: 1px solid gray; padding:4px; margin:4px 0 4px 0; border-radius:8px; font-size:medium; font-weight:bold;
}
form.f5x_form input[type=number]::placeholder,form.f5x_form input[type=text]::placeholder, form.f5x_form input[type=password]::placeholder,form.f5x_form input[type=date]::placeholder, form.f5x_form input[type=tel]::placeholder, form.f5x_form input[type=email]::placeholder, form.f5x_form input[type=url]::placeholder, form.f5x_form input[type=search]::placeholder
{
  font-weight: normal;
}
form.f5x_form input[type=submit]
{
  background-color: #003FBD; color: white; font-weight: bold; border: 1px solid gray; padding: 4px 16px; border-radius: 8px; font-size: large;
}

form.f5x_form input[type=file]
{
  background-color: gray; color: white; font-weight: bold; border: 1px solid gray; padding: 4px; border-radius: 8px; font-size: medium;
}

form.f5x_form button {
    border: 1px solid gray;  display:block; font-size:large; font-weight:bold;
    width:98%; margin-left:auto; margin-right:auto; margin-top:16px; margin-bottom:16px; padding:8px; border-radius:16px;
}

form.f5x_form select {
  border: 1px solid gray; padding:4px; margin:4px; border-radius:8px; 
}
form.f5x_form textarea {
  border: 1px solid gray; padding:4px; margin:4px 0 4px 0; border-radius:8px; display:block; width: 95%; font-size: medium; font-weight: bold;
}
form.f5x_form label {
  display:block;
  font-weight:bold;
  padding: 8px;
}
form.f5x_form label.divider
{
    border-bottom:1px solid black;
}

.f5x_form label.selected {
  background-color: #3e78a7; /* colore azzurro tenue */
  border: 2px dotted white;
  border-radius: 12px;
}

form.f5x_form fieldset
{
    border-radius:8px;
    border:1px solid gray;
    background-color: #3388cc;
    margin: 8px 4px;
}

form.f5x_form.temaGrigio fieldset
{
  background-color: #eee;
}

form.f5x_form.temaGrigio h2
{
  color: dimgray;
}

form.f5x_form fieldset legend
{
  background-color: aliceblue;
  border-radius: 8px;
  padding-left: 8px;
  padding-right:8px;
  color: gray;
}

form.f5x_form fieldset label
{
    color: white;
}
form.f5x_form.temaGrigio fieldset label
{
    color: black;
}

form.f5x_form fieldset h2 {
    color:white;
}

h2.f5x {
  text-align:center;
  background-color: #eee;
  font-size:medium;
  font-weight:bold;
  padding:16px 4px;
  margin:4px 0;
  color: black;
  text-shadow:none;
  border-radius:8px;
  border: 1px solid gray;
}



ul.f5x_temaBlu li a:after, ul.f5x_temaBlu li a:before
    {
      background-color: white;
      color:#0066CC;
    }

ul.f5x_listview.f5x_temaGrigio
    {
      background-color: #eee;
      color:#003399;
    }
ul.f5x_listview.f5x_temaGrigio li a
    {
      color:#003399;
    }

ul.f5x_listview li.f5x_temaRosso
    {
      background-color: #CC0033;
      color:white;
    }
ul.f5x_listview li.f5x_temaRosso a
    {
      color:white;
    }

ul.f5x_listview li.f5x_temaSoftRosso
    {
      background-color: #f8d7da;
      color:black;
    }
ul.f5x_listview li.f5x_temaSoftRosso a
    {
      color:#003399;
    }


ul.f5x_listview li.f5x_temaBlu
    {
      background-color: #0066CC;
      color:white;
    }
ul.f5x_listview li.f5x_temaBlu a
    {
      color:white;
    }

ul.f5x_listview li.f5x_temaSoftBlu
    {
      background-color: #cce5ff;
      color:black;
    }
ul.f5x_listview li.f5x_temaSoftBlu a
    {
      color:#003399;
    }

ul.f5x_listview li.f5x_temaBlu a:after, ul.f5x_listview li.f5x_temaBlu a:before
{
  color: white;
  background-color:#0066CC;
}

li.f5x_temaGiallo
    {
      background-color: #FFFF99;
      color:white;
    }
ul.f5x_listview li.f5x_temaGiallo a
    {
      color:#003399;
    }

li.f5x_temaSoftGiallo
    {
      background-color: #fff3cd;
      color:black;
    }
ul.f5x_listview li.f5x_temaSoftGiallo a
    {
      color:#003399;
    }    

li.f5x_temaVerde
    {
      background-color: #009900;
      color:white;
    }
ul.f5x_listview li.f5x_temaVerde a
    {
      color:white;
    }

li.f5x_temaSoftVerde
    {
      background-color: #d4edda;
      color:black;
    }
ul.f5x_listview li.f5x_temaVerde a
    {
      color:#0066CC;
    }

.f5x_button.f5x_temaRosso
{
    background-color: #CC0033;
    color:white;
}
.f5x_button.f5x_temaRosso a {
  color:white;
}
.f5x_button.f5x_temaRosso a:before, .f5x_button.f5x_temaRosso a:after {
  color:white;
}

.f5x_button.f5x_temaVerde
{
    background-color: #009900;
    color:white;
}
.f5x_button.f5x_temaVerde a {
  color:white;
}
.f5x_button.f5x_temaVerde a:before, .f5x_button.f5x_temaVerde a:after {
  color:white;
}

.f5x_button.f5x_temaBlu
{
    background-color: #0066CC;
    color:white;
}
.f5x_button.f5x_temaBlu a {
  color:white;
}

.f5x_button.f5x_temaBlu a:before, .f5x_button.f5x_temaBlu a:after {
  color:white;
}

.f5x_button.f5x_temaGiallo
{
    background-color: #FFFF99;
    color:black;
}
.f5x_button.f5x_temaGiallo a {
  color:black;
}

h2.f5x_temaRosso
    {
     background-color: #CC0033;
     color:white;
    }
h2.f5x_temaBlu
    {
     background-color: #0066CC;
     color:white;
    }
h2.f5x_temaVerde
    {
     background-color: #009900;
     color:white;
    }

.f5x_box_softblue {
    padding: 4px;
    margin:4px;
    background-color: #cce5ff;
    border: 1px solid #b8daff;
    border-radius: 8px;
    color: #004085;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
}

.f5x_box_softyellow {
  padding:4px;
  margin:4px;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius:8px;
  color: #856404;
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
}

.f5x_box_softred {
  padding:4px;
  margin:4px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius:8px;
  color: #721c24;
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
} 

.f5x_box_softgray {
  padding:4px;
  margin:4px;
  background-color: #e2e3e5;
  border: 1px solid #d6d8db;
  border-radius:8px;
  color: #383d41;
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
}

.f5x_box_softgreen {
  padding:4px;
  margin:4px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius:8px;
  color: #155724;
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
}

.f5x_box_strongred {
  padding:4px;
  margin:4px;
  background-color: #cc0000;
  border: 1px solid #721c24;
  border-radius:8px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
  font-weight: bold;
}
