html
{
  box-sizing: border-box;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body
{
  margin: 0;
  background-color: white;
  color: black;
}

html,
body {
  font-family: Verdana, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  overflow-x: hidden;
}

/*----------------------------------------------------------------------*/

.warningmessage
{
  font-size: 20px;
  background-color: red;
  color: yellow;
  margin: 15px;
  padding: 15px;
  border-style: solid;
  border-width: 5px;
  border-radius: 20px;
}

.warningmessage a
{
  color: white;
}

#warning_nojquery
{
  display: none;
}
#warning_nosvg
{
  display: none;
}

/*----------------------------------------------------------------------*/

#header
{
  display: -webkit-flex;
  -webkit-align-items: flex-end;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  border-style: none;
  background-color: #cef3ff;
}

#logo
{
  border-style: none;
  margin: 0;
  padding: 0;
}

#logo img
{
  box-sizing: border-box;
  width: 20vw;
  max-width: 150px;
  margin: 1vw 1vw 1vw 1vw;
}

#sublogo
{
  border-style: none;
  margin: 0;
  padding: 0;
}

#sublogo img
{
  box-sizing: border-box;
  width: 60vw;
  max-width: 500px;
  margin: 1vw 1vw 0.5vw 1vw;
}

#utente
{
  box-sizing: border-box;
  border-style: none;
  margin: 0;
  padding: 20px 10px;
  font-size: 60%;
}

@media (max-width:600px)
{

#utente
{
  box-sizing: border-box;
  border-style: none;
  margin: 0;
  padding: 0 5px 2px 20px;
  font-size: 70%;
}

}

/*----------------------------------------------------------------------*/

#body
{
  display: -webkit-flex;
  -webkit-align-items: flex-start;
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  border-style: none;
  margin: 5px 0 10px 0;
  padding: 0;
  min-height: 80vh;
}

#menu
{
  flex-grow: 1;
  display: inline-block;
  border-style: none;
  margin: 0;
  padding: 0;
}

#menu > img
{
  display: none;
  border-style: none;
  box-sizing: border-box;
  width: 8vw;
  margin: 0.5vw;
}

#menu ul
{
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: white;
}

#menu > ul > li
{
  position: relative;
  box-sizing: border-box;
  margin: 5px;
  padding: 0;
}

#menu > ul > li > a
{
  background-color: #99ddff;
  display: block;
  color: black;
  margin: 0;
  padding: 5px;
  white-space: nowrap;
  border-radius: 5px;
}

#menu > ul > li > a:hover
{
  background-color: #55bbff;
}

#menu > ul > li > p
{
  background-color: #99ddff;
  border-radius: 5px;
  display: block;
  color: black;
  margin: 0;
  padding: 5px;
  white-space: nowrap;
}

#menu > ul > li > ul
{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#menu > ul > li > ul > li
{
  position: relative;
  box-sizing: border-box;
  margin: 5px;
  padding: 0;
}

#menu > ul > li > ul > li > a
{
  background-color: #aaeeff;
  display: block;
  color: black;
  margin: 0 0 0 10px;
  padding: 5px;
  white-space: nowrap;
  border-radius: 5px;
}

#menu > ul > li > ul > li > a:hover
{
  background-color: #55bbff;
}

/* menu livello 2 */
#menu > ul > li > ul[dropdown]
{
  display: none;
}

#menu > ul > li:hover > ul[dropdown]
{
  display: block;
  position: absolute;
  left: 0;
  top: 5px;
  transform: translate(30px, 0);
  z-index: 1;
}

#menu ul[dropdown]
{
  box-shadow: 5px 5px;
  border-radius: 10px;
}

#menu input[type="button"]
{
  background-color: #99ddff;
  display: block;
  color: black;
  margin: 0;
  padding: 5px;
  white-space: nowrap;
  border-radius: 5px;
  border-style: none;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

#menu input[type="button"]:hover
{
  background-color: #55bbff;
}

/*----------------------------------------------------------------------*/

#EVENTPAGINA
{
  box-sizing: border-box;
  width:100%;
}

#pagecontent
{
  flex-grow: 10;
  display: inline-block;
  border-style: none;
  margin: 0;
  padding: 0 20px 0 10px;
  box-sizing: border-box;
  width: 100%;
}

#pagecontent a
{
  text-decoration: underline;
  color: #6699ff;
  font-style: italic;
  font-weight: bold;
}

/*----------------------------------------------------------------------*/

@media (max-width:600px)
{
  #body
  {
    display: block;
  }

  #pagecontent
  {
    margin-top:15px;
    display: inline;
    float:left;
  }

  #menu
  {
    display: inline;
  }

  #menu  ul
  {
    display: block;
    background-color: white;
    box-shadow: 5px 5px;
    border-radius: 10px;
  }

  #menu li
  {
    float:left;
    margin: 1px;
  }
}

/*----------------------------------------------------------------------*/

#footer
{
  display: inline-block;
  border-style: none;
  background-color: white;
  position: relative;
  left: 50vw;
  transform: translate(-50%,0);
  box-sizing: border-box;
  margin: 0;
  padding: 10px 0 10px 0;
  text-align: center;
}

#footer ul
{
  list-style-type: none;
  margin: 0;
  padding: 10px;
  background-color: white;
}

#footer li
{
  display: inline;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-style: none;
}

#footer a
{
  background-color: #bbeeff;
  color: black;
  margin: 5px;
  padding: 5px;
  white-space: nowrap;
  border-radius: 5px;
}

#footer a:hover
{
  background-color: #55bbff;
}

/*----------------------------------------------------------------------*/

#body:after , #footer:after,
#body:before , #footer:before
{
  content: "";
  display: table;
  clear: both
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

img
{
  border-style: none;
  margin: 0;
  padding: 0;
  vertical-align: center;
}

a
{
}

a:link
{
  text-decoration: none;
}

a:visited
{
  text-decoration: none;
}

a:hover
{
  text-decoration: none;
}

a:active
{
  text-decoration: none;
}

h1
{
  display: block;
  background-color: #a6d4fa;
  color: black;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  border-radius: 20px;
  margin: 0 0 10px 0;
  padding: 2px 5px 2px 5px;
  font-size: 140%;
  text-align: center;
  text-decoration: none;
  font-style: normal;
  font-weight: normal;
  width: 100%;
}

h2
{
  display: table;
  background-color: #a6d4fa;
  color: black;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  border-radius: 15px;
  margin: 0 0 10px 0;
  padding: 2px 5px 2px 5px;
  font-size: 110%;
  text-align: center;
  text-decoration: none;
  font-style: normal;
  font-weight: normal;
}

h3
{
  display: table;
  background-color: #a6d4fa;
  color: black;
  margin: 0 0 5px 0;
  padding: 0;
  font-size: 110%;
  text-align: center;
  text-decoration: none;
  font-style: normal;
  font-weight: bold;
  border-style: none;
  border-radius: 5px;
  padding: 2px 5px 2px 5px;
}

h4
{
  display: table;
  color: black;
  margin: 0 0 5px 0;
  padding: 0;
  font-size: 105%;
  text-align: center;
  text-decoration: none;
  font-style: normal;
  font-weight: bold;
}

p
{
  margin: 0;
  padding: 0;
  min-height:1rem;
}

p.Contents1
{
  padding: 0 0 0 0;
  font-size: 110%;
  font-weight: bold;
}
p.Contents2
{
  padding: 0 0 0 20px;
  font-size: 100%;
  font-weight: bold;
}
p.Contents3
{
  padding: 0 0 0 40px;
  font-size: 90%;
  font-weight: normal;
}

p.Contents4
{
  padding: 0 0 0 60px;
  font-size: 80%;
  font-weight: normal;
}

#elencotesti .blocco
{
}

#elencotesti .elemento
{
  display: inline-block;
  background-color: #f5f5f5;
  margin: 10px;
  padding: 20px;
  border-style:solid;
  border-width: 1px;
  border-color: black;
  border-radius: 20px;
}

#elencotesti .data
{
  font-size: 60%;
  line-height: 2rem;
}
