/*------------- 
#b00000 rosso
#060509 nero
#0c0269 blu
#f77700 giallo
--------------*/

* {
    font-family: 'Roboto Slab', sans-serif;
    box-sizing: border-box;
    color: dimgray;
  }

h1{
  font-size: 40px;
  text-align: center;
  color: dimgrey;
  }

h2{
  font-size: 30px;
  text-align: center;
  color: dimgrey;
  }

h3{
  font-size: 20px;
  text-align: left;
  color: dimgrey;
  text-decoration: none;
  }

h4{
  color: dimgrey;
  }

h5{
  color: dimgrey;
  }

p {
  color: dimgrey;
}

ul {
  color: dimgrey;
}


/*------------- 
Header
--------------*/
.header {
  float: center;
}

/*------------- 
Navbar
--------------*/
.navbar {
	width: 100%;
	background-color: white;
	overflow: auto;
}

.navbar a {
  float: left;
  padding: 14px 16px;
  color: dimgray;
  text-decoration: none;
  font-size: 16px;
  width: 16,67%;
  text-align: center;
}

.navbar a:hover {
  background-color: #b00000;
  color: white;
}

/*------------- 
Dropdown
--------------*/
.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: dimgray;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

.dropdown:hover .dropbtn {
  background-color: #b00000;
  color: white;
}

/*------------- 
Dropdown Content
--------------*/
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: dimgray;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #0c0269;
}

/*------------- 
Show the dropdown menu on hover 
--------------*/
.dropdown:hover .dropdown-content {
  display: block;
}

/*-------------  
Row
--------------*/
.row {
  font-size: 18px;
  line-height: 2;
  text-align: left;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

/*-------------  
Table
--------------*/
table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}


/*-------------  
diariofotografico
--------------*/
.row_df {
  display: -ms-flexbox; /* IE 10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE 10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create two equal columns that sits next to each other */
.column_df {
  -ms-flex: 50%; /* IE 10 */
  flex: 50%;
  padding: 0 4px;
}

.column_df img {
  margin-top: 8px;
  vertical-align: middle;
}

/*-------------  
Footer
--------------*/
.footer {
  color:white;
  padding: 20px;
  text-align: left;
}

/*-------------  
For mobile phones:
--------------*/

[class*="col-"] {
  width: 100%;
}
/* Responsive layout - when the screen is less than 600px wide, 
make the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .columnKPI {width: 100%;}
}

@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}

/* Add responsiveness - on screens less than 500px, make the navigation links appear on top of each other, instead of next to each other */
@media screen and (max-width: 500px) {
  .navbar a {
    float: none;
    display: block;
    width: 100%;
    text-align: left; /* If you want the text to be left-aligned on small screens */
  }
}
