/*----------------  SOPRA I 700 px:--------------------------*/

body {
  margin: 0;
  font-family: 'Noto Sans Display', sans-serif;
  background-color: rgb(187, 193, 187);
  min-width: 20em;
} 
pre {
  font-size: 1em;
}

a {
    color: blue;
}

a:hover {
    color: #ac5e60;
}

h1, h2, h3, h4 {
    color: #620c1b;
    margin: 0;
}

p{
  margin-top: 0.4em; 
  margin-bottom: 0;
}

.copyright {
  padding-left: 3ex;
  font-size: 0.6em;
}

.highlight {
    border: 1px solid #620c1b;
    padding: 1ex;
    background-color: #fafafa;
}

.little_space {
  height: 1em;
}

.title {
  color: #620c1b;
  text-align: center;
  font-weight: 900;
  font-size: 1em;
}

.subtitle{
  color: #620c1b;
  text-align: left;
  font-weight: 900;
  font-size: 0.8em;
}

#tool_logo{
    position: relative; 
    top: 1.25em;
    left: 1.25em;
    overflow: hidden;
    z-index: 1;
  }

#tool_logo a {
    color: rgb(25, 25, 140);
    font-size: 2.5em;
    font-weight: 900;
    text-decoration: none;
  }

#tool_image { 
  position: relative; 
  top: 1.25em;
  left: 0ex;
  padding: 0 0.7em;
  border: 0;
  width: 10em;
  z-index: 1;
  }

#fbk_image{
  position: absolute; 
  top: 2em;
  right: 1.25em;
  width: 6em;
  padding: 0 0.7em;
  border: 0;
  z-index: 1;
}

.sidenav {
  height: 100%;
  width: 11.25em;
  position: relative; 
  top: 1.25em;
  background-color: rgb(187, 193, 187);
  overflow: hidden;
}

.sidenav a {
  padding: 0.375em 0.5em 0.375em 1em;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  color: black;
  display: block;
}

.sidenav a.active { /*colore costante quando sono su una pagina*/
  background-color: rgb(147, 9, 25);
  color:  rgb(210, 128, 51);
}

.sidenav a:hover:not(.active) { /*colore che si vede quando ci passi sopra con il mouse*/
  background-color: rgb(210, 128, 51);
  color: rgb(147, 9, 25);
}

.sidenav .icon { /* di default non faccio vedere l'icona del menu!*/
  display: none;
}

#content {
  border: solid black 4px;
  background-color: white;
  text-align: left;
  position:absolute;
  top: 1.25em;
  left: 0em;
  right: 1.25em;
  padding: 1.25em;
  margin-left: 11.25em; /* Same as the width of the sidenav */
  font-size: 1em; 
}

.last_phrase {
  padding-bottom: 6em;
}

#last_row {
  border-top: 0.1em solid black;
}

/*----------------- via di mezzo -------------------*/

@media screen and (min-width: 43.75em) and (max-width: 73.75em) {
  #fbk_image{
    width: 4em;
  }
}

/*----------------- SOTTO AI 700px/43.75em -------------------*/

@media screen and (max-width: 43.75em) {
  body{
    background-color: white;
  }

  #fbk_image{
    position: absolute; 
    top: 0.5em;
    left: 5.1em;
    padding: 0;
    overflow: hidden;
    width: 3em;
    border: 0;
  }

  #tool_image{
    position: absolute; 
    top: 0.5em;
    left: 0.5em;
    padding: 0;
    overflow: hidden;
    width: 4em;
    border: 0;
  }

  #tool_logo{
    position: relative; 
    top: 0.5em;
    left: 0.5em;
    overflow: hidden;
    z-index: 1;
  }

  #tool_logo a {
    color: rgb(25, 25, 140);
    font-size: 1.5em;
    font-weight: 900;
    text-decoration: none;
  }

  .sidenav {
    position: relative; 
    top: 0;
    width: 100%;
    background-color: white;
  }
  .sidenav a {display: none;} /* do not show pages list!*/
  .sidenav a.icon {
    float: none;
    display: block;
    text-align: right;
    color: #620c1b;
    font-size: 10pt;
  }
  .sidenav.responsive .icon {
    float: center; 
    display: block;
    font-size: 10pt;
  }
  .sidenav.responsive a {
    float: none;
    display: block;
    text-align: right;
    font-size: 0.8em;
  }

  .copyright {
    display: none;
  }

  #content{
    position: relative; /* relative to the sidebar*/
    top: 2.5em;
    padding: 0em 1.25em; 
    padding-bottom: 0.5em;
    margin: 0;
    font-size: 0.938em;  
    border: none;
  }
    
  #last_row {
    border-top: 0.1em solid black;
  }
}  

