*{
  box-sizing: border-box;
}

.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%;}

.hidden {
  opacity: 0;
}

.visible {
  opacity: 1;
}

/* INIZIO NAV MOBILE */
.icon-bar {
	display:none;
}
/* FINE NAV MOBILE */

body{
  background-image: url(../img/sfondo.png);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* --- INIZIO MENU --- */

.barra {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 5px;
  display: flex;
  background-color: lightblue;
  z-index: 1;
}

a{
  text-decoration: none;
  color: darkblue;
}

.logo{}

.menu{
  width: 100%;
  text-align: right;
}

.menu li{
  display: inline-block;
}

.menu li a{
  color: darkblue;
  padding: 10px;
  display: block;
}

.menu li:hover{
  background-color: white;
  color: black;
}

h1{
  font-size: 30px;
  margin-top: 10%;
  margin-left: 5%;
  display: block;
  color: darkblue;
}


/* --- FINE MENU --- */


/* --- INIZIO CORPO --- */
#container{
  margin-top: 6%;
  width: 100%;
  margin-bottom: 5%;
}

/* -- inizio finestra modale -- */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 50px; /* 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 */
  text-align: center;
}

/* Modal Content */
.modal-content {
  border-radius: 10px;
  background-color: white;
  margin: 0 auto;
  padding: 1%;
  border: 1px solid #888;
  color: darkblue;
  width: 75%;
}

/* 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;
}

/* -- fine finestra modale -- */



h4{
  text-align: center;
}

img {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.col-12-top{
  font-weight: bold;
  margin: auto;
  padding: 2%;
  background-color: rgb(0,0,0);
  background-color: rgba(255,255,255, 0.8);
  overflow: auto;
}


.col-6-left{
  border: 2px solid black;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-size: 100%;
  width: 50%;
  height: 430px;
  float: left;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(255,255,255, 0.5);
}

.col-int{
  padding: 10% 2%;
  font-weight: bold;
}

.col-12{
  font-weight: bold;
  margin: auto;
  padding: 0.5%;
  overflow: auto;
}

.col-12-text{
  margin-bottom: 8%;
  font-weight: bold;
  padding: 0.5%;
  background-color: rgb(0,0,0);
  background-color: rgba(255,255,255, 0.5);
  overflow: auto;
}

#whomaps {
  width:60%;
  height:640px;
}

/* -- INIZIO TABELLA -- */

table {
  text-align: center;
  width: 100%;
  height: auto;
  margin-top: 3%;
  margin-bottom: 1rem;
  color: black;
  border-collapse: collapse;
  font-size: 16px;
}

.table td{
  background-color: rgb(0,0,0);
  background-color: rgba(40,129,219, 0.8);
}

.table td, .table th {
  padding-left: .5rem;
  padding-right: .5rem;
  padding-top: 20px;
  padding-bottom: 20px;
  vertical-align:top;
}

.table thead th {
  color: white;
  background-color: #001c4a;
  vertical-align: bottom;
}

.table-bordered td{
  border: 1px solid silver;
  border-collapse: collapse;
}

.table-bordered thead td, .table-bordered thead th {
  border-bottom-width: 1px;
}

/* -- FINE TABELLA -- */


.divscience{
  padding-top: 2%;
  padding-bottom: 2%;
  border-radius: 15px;
  margin: 0 auto;
  width: 80%;
  background-color: rgba(255,255,255, 0.7);
}

.science{
  padding: 1.5%;
  margin-right: 4%;
}

.ascience{
  color: #ff0000;
  text-transform: uppercase;
  font-weight: bold;
  text-align: left;
}

.log-right{
  height: auto;
  width: 30%;
  float: right;
  padding-left: 1%;
  padding-right: 4%;
}

.log-left{
  height: auto;
  width: 30%;
  float: left;
  padding-right: 1%;
  padding-left: 1%;
}

h2{
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
}

h3{
  font-size: 25px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2%;
  margin-bottom: 10%;
}

p{
  font-family: Arial;
  font-size: 16px;
  text-align: justify;
}

/* --- FINE CORPO --- */

#footer{
  height: 12%;
  text-align: center;
  margin-top: 5%;
  padding: 2%;
  color: darkblue;
  width: 100%;
  min-height: 60px;
  background-color: lightblue;
  position: fixed;
  bottom: 0;
}


@media screen and (max-width: 1366px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 25px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 3% auto;
    padding: 3%;
    width: 70%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  #container{
    margin-top: 6%;
    margin-bottom: 6%;
  }

  #footer{
    height: 12%;
    text-align: center;
    margin-top: 5%;
    padding: 2%;
    color: darkblue;
    width: 100%;
    min-height: 60px;
    background-color: lightblue;
    position: fixed;
    bottom: 0;
  }
}


@media screen and (max-width: 1024px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 20px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 15% auto;
    padding: 2%;
    width: 70%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  #container{
    margin-top: 7%;
    margin-bottom: 10%;
  }

    #footer{
      height: 6%;
      padding-top: 20px;
      font-size: 15px;
    }

}


@media only screen and (max-width: 992px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 20px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: -10px auto;
    padding: 2%;
    width: 70%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  .menu{
    width: 30%;
    position: absolute;
    top:0;
    right: -100%;
    background-color: lightblue;
    height: 100vh;
    padding-top: 80px;
    padding-right: 2%;
  }

  .menu li {
    display: block;
  }

  .menu--open{
    right: 0%;
  }

  .icon-bar {
  	display:block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 30px;
  }

  .icon-bar span {
    background: darkblue;
    height: 3px;
    width: 100%;
    display: block;
    margin-bottom: 5px;
  }

  #container{
    margin-bottom: 8%;
  }

  h1{
    padding: 0;
    margin-top: 5%;
    margin-bottom: 1%;
    display: block;
  }

  .col-6-left{
    height: 300px;
  }


  h3{
    margin-top: 0;
    margin-bottom: 15px;
  }


  p{
    font-size: 12.5px;
    margin-right: 10px;
  }

  li{
    margin-left: -10px;
  }

  #footer{
    padding-top: 20px;
    font-size: 15px;
  }

}

@media only screen and (max-width: 812px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 20px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: -10px auto;
    padding: 2%;
    width: 70%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  #container{
    margin-top: 6%;
    margin-bottom: 10%;
  }

  h3{
    font-size: 20px;
  }

  #footer{
    padding-top: 15px;
    font-size: 13px;
  }

}


@media only screen and (max-width: 768px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 25px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 35% auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  .menu{
    width: 60%;
  }

  h2{
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
  }

  #whomaps{
    width: 80%;
    height: 550px;
  }

  #container{
    margin-top: 7%;
    margin-bottom: 13%;
  }

  .col-int{
    padding: 9% 2%;
  }

  .col-6-left{
    width: 100%;
  }

  p{
    margin: 0.5%;
  }

  h4{
    font-size: 17px;
  }

  td{
    font-size: 15px;
  }

  #footer{
    height: 8%;
  }

}


@media only screen and (max-width: 736px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 20px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: -10px auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

.menu{
  width: 40%;
}


#container{
  padding-top: 0.6%;
}

#footer{
  height: 20%;
}

}

@media only screen and (max-width: 720px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 20px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 6% auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

#footer{
  height: 12%;
}

}


@media only screen and (max-width: 667px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 15px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: -15px auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  #container{
    margin-top: 7.5%;
    margin-bottom: 12%;
  }

  .menu {
    width: 40%;
  }

  #footer{
    padding-top: 10px;
    font-size: 13px;
  }

}

@media only screen and (max-width: 653px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 15px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: -15px auto;
    padding: 2%;
    width: 65%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  .menu {
    padding-top: 7%;
    width: 50%;
  }


}

@media only screen and (max-width: 568px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 15px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 45% auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  #container{
    margin-top: 9%;
    margin-bottom: 15%;
  }

  .menu {
    width: 50%;
  }

  #footer{
    padding-top: 10px;
    font-size: 13px;
  }

}

@media only screen and (max-width: 540px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 20px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 35% auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  #footer{
    height: 10%;
    padding-top: 10px;
    font-size: 13px;
  }

}

@media only screen and (max-width: 414px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 15px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 45% auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

.menu{
  width: 55%;
}

.ascience{
  font-size: 10px;
}


#container{
  padding-top: 4.5%;
  padding-bottom: 6%;
}

#whomaps{
  width: 80%;
  height: 350px;
}

#footer{
  height: 9%;
}

}


@media only screen and (max-width: 375px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 12px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 45% auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  h2{
    font-size: 20px;
  }

  #whomaps{
    width: 80%;
    height: 350px;
  }

  /* -- fine finestra modale -- */


  #container{
    margin-top: 8%;
    margin-bottom: 15%;
  }

  .col-int{
    padding: 8% 2%;
  }

  .menu{
    width: 60%;
  }
  .table td, .table th {
    padding-top: 15px;
    padding-bottom: 15px;
    vertical-align:top;
  }

  td{
    font-size: 13px;
  }

  h4 {
    font-size: 13px;
  }

  .ascience{
    font-size: 8.5px;
  }

  #footer{
    height: 7%;
    padding-top: 10px;
    font-size: 10px;
  }

}


@media only screen and (max-width: 360px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 12px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 45% auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  .menu{
    width: 60%;
  }

  #whomaps{
    width: 80%;
    height: 350px;
  }

  #container{
    margin-top: 10%;
    margin-bottom: 12%;
  }

  h2 {
    font-size: 22px;
  }

  h3{
    font-size: 18px;
  }

}

@media only screen and (max-width: 320px) {

  /* -- inizio finestra modale -- */
  .mod {
    font-size: 12px;
    font-weight: bold;
  }

  /* Modal Content */
  .modal-content {
    margin: 45% auto;
    padding: 3%;
    width: 90%;
  }

  /* The Close Button */
  .close {
    font-size: 18px;
  }

  /* -- fine finestra modale -- */

  h1{
    font-size: 20px;
    margin-top: 5%;
  }

  a{
    font-size: 12px;
  }

  .icon-bar {
    top: 10px;
    right: 15px;
  }


  h2{
    font-size: 20px;

  }

  #container{
    margin-top: 6%;
    margin-bottom: 15%;
  }

  .col-int{
    padding: 8% 2%;
  }

  h3{
    font-size: 18px;
  }


  p{
    margin: 0.5%;
  }

  h4{
    font-size: 13px;
  }

  td{
    font-size: 10px;
  }

  .ascience{
    font-size: 7px;
  }

  p.science{
    font-size: 10px;
  }

  #footer{
    height: 10%;
    padding-top: 10px;
    font-size: 10px;
  }


}
