/* HEADER CSS */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

.header {
  position: sticky;
  top: 0;
  margin: auto;
  width: 80%;
}
/* Responsive layout */
@media screen and (max-width: 1000px) {
  .header {
    position: static;
    top: 0;
    margin: auto;
    width: 80%;
  }
}

.navbar {
  overflow: hidden;
  background-color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

.logo_sito{
   float: left;
   padding-left:3px;
   padding-right:3px;
   padding-top:19px;
   padding-bottom:19px;   
}
.column-content{
  float: left;
  font-size: 24px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  margin: 0;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 24px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  margin: 0;
}

.dropbtn::after { 
  content: url('https://www.ilcodiceamico.it/images/header/drop2.png');
}
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 30%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Create two equal columns that floats next to each other in the navbar*/
.column {
  float: left;
  width: 50%;
  padding: 10px;
  background-color: #3C3C3C;
  color: #FFFFFF;
}

.column a {
  float: none;
  color: #FFFFFF;
  padding: 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.column a:hover {
  background-color: #555;
  color: #FFFFFF;
}

.row {
   background-color: #3C3C3C;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1000px) {
  .column {
    width: 200%;
    height: auto;
  }
}

.logo{
   display: block;
   vertical-align:middle;
   margin: 0;
}   


/*---------------------*/
/* BODY CSS */
/*---------------------*/

/*Breadcrumb list*/
ol.categorie {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
  font-size: 24px;
}
li {
  float: left;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 4px;
  text-decoration: none;
}

li a:hover {
  background-color: #111111;
}

.son {
  margin-left:24px;
  list-style-image: url('https://www.ilcodiceamico.it/images/header/horiz_list4a.png');     
}

/*Fine breadcrumb list*/

/* Solid border */
hr.solid {
  border-top: 3px solid #bbb;
  margin: 0;
  padding: 0;
}

hr.solid_footer {
  border-top: 3px solid #bbb;
  padding: 0;
  margin: auto;
}

hr {
  height:3px;
  border-top: 3px solid #bbb;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  background-color: #333;
  color: #FFFFFF;
}
a {
   color: #FFFFFF;
}
.home_body{
  margin: auto;
  width: 80%;
}

.descrizione_azienda{
   float:left;
   font-size: 24px;
   padding: 10px 10px 10px 10px;
   margin: 10px 0px 10px 0px;
   box-sizing: border-box;
   border: 5px solid white;
   border-radius: 10px;
}

/* Responsive layout */
@media screen and (max-width: 1000px) {
  .descrizione_azienda {
    width: 100%;
  }
}

.div_azienda{
   float:left;
   font-size: 24px;
   width: 30%;
   padding: 0px 5px 0px 5px;
   margin: 10px 0px 10px 0px;
   box-sizing: border-box;
   border: 5px solid white;
   border-radius: 10px;
   display: inline-block;
   left:0px;
}

/* Responsive layout */
@media screen and (max-width: 1000px) {
  .div_azienda {
    width: 100%;
  }
}

.div_azienda2{
   font-size: 24px;
   width: 30%;
   padding: 0px 5px 0px 5px;
   margin-top: 10px;
   margin-bottom: 10px;
   /* seconda colonna con margin-left */
   margin-left: 2%;
   box-sizing: border-box;
   border: 5px solid white;
   border-radius: 10px;
   display: inline-block;
}

/* Responsive layout */
@media screen and (max-width: 1000px) {
  .div_azienda2 {
    width: 100%;
    margin-left: 0px;
  }
}

.avatar_logo {
  border-radius: 50%;
  border: 4px solid white;
  padding:4px;
  font-size: 20px;
  
  font-family: DejaVu Sans Mono, Arial, Helvetica, sans-serif;
  display: inline-block;
  background: black;
  padding-left:4px;
}

.avatar_par { 
   display:block;
   margin: auto;
   width: 90%;
   border-radius: 10px;
   text-align: center;
   background-color: #464242;
   font-size: 20px;
   font-family: DejaVu Sans Mono, Arial, Helvetica, sans-serif;
}
.avatar_sinistra { display:block;text-align: center;padding-left:4px;padding-top:4px;padding-bottom:4px;}
.avatar_destra { display:block;text-align: center;padding-left:10px;padding-top:4px;padding-bottom:4px;}

#promo_scheda {
  padding: 10px;
  margin: auto;
  width: 90%;
  background-color: #D9D7D7;
  color:black;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
}
#button_elenco_codici {
  border: 2px solid #005BFF;
  padding: 10px;
  margin: auto;
  width: 60%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  background-color: #005BFF;
  color:white;
  font-size: 24px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
#button_elenco_codici:hover {
   border: 2px solid #063DA0;
   background-color: #063DA0;
}
/* ELENCO AZIENDE - LINK AZIENDA */
#azienda_in_elenco {
   text-decoration: none;
}
#azienda_in_elenco:hover {
   color: #A6A3A3;
}

/* The Modal (background) */ 
.modal { 
display: none; /* Hidden by default */ 
position: fixed; /* Stay in place */ 
z-index: 1; /* Sit on top */ 
padding-top: 200px; /* 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 */ 
.modal-content { 
background-color: #fefefe;
color: #000000;
margin: auto; 
padding: 20px; 
border: 1px solid #888; 
width: 80%; 
} 
 
/* The Close Button */ 
.close { 
color: #aaaaaa; 
float: right; 
font-size: 28px; 
font-weight: bold; 
} 
 
.close:hover, 
.close:focus { 
color: #000; 
text-decoration: none; 
cursor: pointer; 
} 


/* FAQ */
.faq-section {
   font-size: 24px;
   position:relative;
   float: left;
   left:0;
   margin-top:20px;
   box-sizing: border-box;
   border: 5px solid white;
   border-radius: 10px;
   width:100%;
   
   
   .faq-title{
      font-size: 24px;
      padding: 18px 10px 18px 18px;
   }
   
.faq-holder {
  
  .question {
    input { 
      display: none;
      &:checked + label + .content {
        display: block;
        margin-top: 0;
        margin-bottom: 0;
        padding:  18px 18px 18px 18px;
      }
    }
    
    .label_faq:after {
  content: '\02C4';
  color: #FFF;
  font-weight: bold;
  float: right;
  margin-left: 5px;
  margin-right: 5px;
}

.active:after {
  content: "\02C5";
}
    
    label {  
      background: #666;
      color: #FFF;
      cursor: pointer;
      display: block;    
      font-size: 24px;
      padding: 18px 18px 18px 18px;
      transition: max-height 0.2s ease-out;      
      &:hover, &:active {
        background: #464242;
      }
 
    }
    .content {
      background-color: #fff;
      color: #000;
      padding: 18px 18px 18px 18px;
    }
    
    input + label + .content {
      display: none;
    } 
  }  
}
  
}




/* Footer */    
footer {
  padding:10px;
  width:100%;
  font-size: 24px;
  margin-top: 20px;
  position:relative; 
  float: left;
  left:0;
  box-sizing: border-box;
  border: 5px solid white;
  border-radius: 10px;  
}
