body, html {
  height: 100%;
  font-family: "Inconsolata", sans-serif;
  color:#595959;
}
label{
  color:#000000;
  font-weight: 500;
}
/***desktop***/
@media screen and (min-width: 1200px) {
    .content{
        padding-top:10%;
    }    
}

/***tablet***/
@media screen and (max-width: 1199px) and (min-width: 900px) {
    .content{
        padding-top:12%;
    } 
}    

/***mobile***/
@media screen and (max-width: 899px) {
    .content{
        padding-top:25%;
    }
} 


/* Slideshow */
.imageslider {
  width: 100%;
  height: auto;
}
.images {
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-top:65px;
}
.images-inner {
  width: 500%;
  transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
  transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
}
.image-slide {
  width: 20%;
  float: left;
}
.image-slide,
.fake-radio,
.radio-btn {
  transition: all 0.5s ease-out;
}
.fake-radio {
  float: right;
}




/* Move slides overflowed container */
#slide1:checked ~ .images .images-inner {
  margin-left: 0;
}
#slide2:checked ~ .images .images-inner {
  margin-left: -100%;
}
#slide3:checked ~ .images .images-inner {
  margin-left: -200%;
}




/* Color of bullets */
#slide1:checked ~ div .fake-radio .radio-btn:nth-child(1),
#slide2:checked ~ div .fake-radio .radio-btn:nth-child(2),
#slide3:checked ~ div .fake-radio .radio-btn:nth-child(3) {
  background: red;
}
.radio-btn {
  width: 9px;
  height: 9px;
  border-radius: 5px;
  /*background: gray;*/
  background:#ffffff;
  display: inline-block !important;
  margin: 0 1px;
  cursor: pointer;
}
/* Color of bullets - END */




/* Text of slides */
#slide1:checked ~ .labels .label:nth-child(1),
#slide2:checked ~ .labels .label:nth-child(2),
#slide3:checked ~ .labels .label:nth-child(3) {
  opacity: 1;
}

.label {
  opacity: 0;
  position: absolute;
}
/* Text of slides - END */



/* Calculate AUTOPLAY for BULLETS */
@keyframes bullet {
  0%, 33.32333333333334%	{
    /*background: red;*/
    background:#ffffff;
  }
  33.333333333333336%, 100% {
    /*background: gray;*/
    background:#ffffff;
  }
}


#play1:checked ~ div .fake-radio .radio-btn:nth-child(1) {
  animation: bullet 12300ms infinite -1000ms;
}

#play1:checked ~ div .fake-radio .radio-btn:nth-child(2) {
  animation: bullet 12300ms infinite 3100ms;	
}

#play1:checked ~ div .fake-radio .radio-btn:nth-child(3) {
  animation: bullet 12300ms infinite 7200ms;	
}
/* Calculate AUTOPLAY for BULLETS - END */




/* Calculate AUTOPLAY for SLIDES */
@keyframes slide {
  0%, 25.203252032520325%	{ margin-left: 0; }
  33.333333333333336%, 58.53658536585366%	{ margin-left: -100%; }
  66.66666666666667%, 91.869918699187%	{ margin-left: -200%; }
}


.st-slider > #play1:checked ~ .images .images-inner {
  animation: slide 12300ms infinite;	
}
/* Calculate AUTOPLAY for SLIDES - END */





/* Calculate AUTOPLAY for CAPTION */
@keyframes caption {
  0%, 33.32333333333334%	{
    opacity: 1;
  }
  33.333333333333336%, 100% {
    opacity: 0;
  }
}


#play1:checked ~ .labels .label:nth-child(1) {
  animation: caption 12300ms infinite -1000ms;
}

#play1:checked ~ .labels .label:nth-child(2) {
  animation: caption 12300ms infinite 3100ms;	
}

#play1:checked ~ .labels .label:nth-child(3) {
  animation: caption 12300ms infinite 7200ms;	
}
/* Calculate AUTOPLAY for CAPTION - END */
/*
@media screen and (min-width: 1600px) {
.labelimgtop{
  position:absolute;z-index:10;left:42%; top:100px;
}
.imgtop{
  width:250px;
  height: auto;
}
}

@media screen and (max-width: 1599px) and (min-width: 1400px) {
  .labelimgtop{
    position:absolute;z-index:10;left:39%; top:100px;
  }
  .imgtop{
    width:250px;
    height: auto;
  }
  }

  @media screen and (max-width: 1399px) and (min-width: 1200px) {
    .labelimgtop{
      position:absolute;z-index:99;left:37%; top:100px;
    }
    .imgtop{
      width:250px;  
      height: auto;
    }
    } 
@media screen and (max-width: 1299px) and (min-width: 1000px) {
  .labelimgtop{
    position:absolute;z-index:99;left:37%; top:100px;
  }
  .imgtop{
    width:250px;
    height: auto;
  }
  }     
  @media screen and (max-width: 999px) and (min-width: 800px) {
    .labelimgtop{
      position:absolute;z-index:99;left:35%; top:70px;
    }
    .imgtop{
      width:200px;
      height: auto;
    }
  }
  @media screen and (max-width: 799px) and (min-width: 600px) {
    .labelimgtop{
      position:absolute;z-index:99;left:30%; top:70px;
    }
    .imgtop{
      width:150px;
      height: auto;
    }
  }
  @media screen and (max-width: 599px) {
    .labelimgtop{
      position:absolute;z-index:99;left:28%; top:70px;
    }
    .imgtop{
      width:100px;
      height: auto;
    }
  }
.slogan{
  color:#ffffff;
}
*/
.boxlink1, .boxlink2, .boxlink3{
  border:1px solid #ffffff;
  padding:1% 3%;
  text-align: center;
  width:200px
}
.boxlink1 a{
  color:#ffffff;
}
@media screen and (min-width: 1200px) {
.menubar{
  padding-left: 20%!important;
  padding-right:20%!important;
}
}
h5, h4, h3, h2, h1{
  color:#94bd0c;
  font-weight:bold;
}
.w3-container{
padding-bottom:7%;
}

/*** menu ***/
/* header */

.header {
    background-color: #fff;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    position: fixed;
    width: 100%;
    z-index: 3;
  }
  
  .header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #fff;
  }
  
  .header li a {
    display: block;
    padding: 20px 20px;
    border-right: 1px solid #f4f4f4;
    text-decoration: none;
  }
  
  .header li a:hover,
  .header .menu-btn:hover {
    background-color: #f4f4f4;
  }
  
  .header .logo {
    display: block;
    float: left;
    font-size: 2em;
    padding: 10px 20px;
    text-decoration: none;
  }
  
  /* menu */
  .header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
  }
  
  /* menu icon */
  .header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
  }
  
  .header .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
  }
  
  .header .menu-icon .navicon:before,
  .header .menu-icon .navicon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
  }
  
  .header .menu-icon .navicon:before {
    top: 5px;
  }
  
  .header .menu-icon .navicon:after {
    top: -5px;
  }
  
  /* menu btn */
  
  .header .menu-btn {
    display: none;
  }
  
  .header .menu-btn:checked ~ .menu {
    max-height: 240px;
  }
  
  .header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
  }
  
  .header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }
  
  .header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }
  
  .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
  .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
  }
  
  /* 48em = 768px */
  
  @media (min-width: 48em) {
    .header li {
      float: left;
    }
    .header li a {
      padding: 20px 30px;
    }
    .header .menu {
      clear: none;
      float: right;
      max-height: none;
    }
    .header .menu-icon {
      display: none;
    }
  }
/*.grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit, minmax(8rem, 1fr));
    grid-auto-rows:6rem;
}*/
/*** grid ***/
.card {
  padding: 1rem;
}

.cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-gap: 1rem;
}
.cardsprimo, .cardssecondo {
  max-width: 90%;
  margin: 0 auto;
  display: grid;
  grid-gap: 1rem;
}
.cardsgrafici {
    max-width: 90%;
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
  }

/* Screen larger than 750px 2 column */
@media (min-width: 750px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cardsprimo, .cardssecondo, .cardsgrafici { grid-template-columns: repeat(2, 1fr); }
}

/* Screen larger than 1100px 4 columns */
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .cardsprimo { grid-template-columns: repeat(4, 1fr); }
  .cardssecondo { grid-template-columns: repeat(3, 1fr); }
  .cardsgrafici { grid-template-columns: repeat(2, 0.4fr); }
  .cardgraf{
    text-align:center;
    width:50%; 
    margin: 0 auto;
    padding-top:5%;
  }
}
/*** end grid ***/