/* GLOBAL */

html,
body {
  height: 100%;

  margin: 0;
}

* {
  -webkit-box-sizing: border-box;

  box-sizing: border-box;
}

/* SPIEGAZIONI */

#spiegazioni {
  max-width: 640px;

  height: auto;

  margin: 20px auto 20px auto;

  padding: 10px 38px;

  font-family: "Open Sans", sans-serif;

  font-size: 15pt;
}

.cosa-acquistiamo-categoria {
  font-family: "Open Sans Condensed";

  font-size: 19pt;

  color: #6eb33c;

  text-align: center;
}

/* TITOLO */

#isola_fascia {
  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  -ms-flex-flow: wrap;

  flex-flow: wrap;

  -webkit-box-pack: center;

  -ms-flex-pack: center;

  justify-content: center;

  -ms-flex-line-pack: center;

  align-content: center;

  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;

  margin-bottom: 30px;

  width: 100%;

  height: auto;

  background-color: #001522;

  -webkit-box-shadow: 0 0 25px rgba(0, 22, 36, 0.8);

  box-shadow: 0 0 25px rgba(0, 22, 36, 0.8);
}

h1#testo_fascia {
  display: inline;

  margin: 30px 0;

  font-family: "Open Sans Condensed", sans-serif;

  font-size: 30pt;

  text-align: center;

  font-weight: normal;

  color: orange;

  border-width: 1px 0 1px 0;

  border-style: solid;

  border-color: #cc6600;
}

/* CONTAINER */

.container {
  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  -webkit-box-orient: horizontal;

  -webkit-box-direction: normal;

  -ms-flex-flow: row wrap;

  flex-flow: row wrap;

  -ms-flex-pack: distribute;

  justify-content: space-around;

  -webkit-box-align: start;

  -ms-flex-align: start;

  align-items: flex-start;

  max-width: 740px;

  margin: auto;

  margin-bottom: 30px;
}

/* GALLERIA */

#galleria {
  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  -webkit-box-orient: horizontal;

  -webkit-box-direction: normal;

  -ms-flex-flow: row wrap;

  flex-flow: row wrap;

  -webkit-box-pack: center;

  -ms-flex-pack: center;

  justify-content: center;

  -ms-flex-line-pack: start;

  align-content: flex-start;

  width: 350px;

  margin-bottom: 30px;

  padding-top: 5px;

  background-color: #001522;

  -webkit-box-shadow: 0 0 25px rgba(0, 22, 36, 0.8);

  box-shadow: 0 0 25px rgba(0, 22, 36, 0.8);
}

.images {
  width: 300px;

  height: auto;

  margin-top: 20px;
}

.immaginiScheda {
  width: 100%;

  height: auto;

  -webkit-transition: 0.2s ease;

  -o-transition: 0.2s ease;

  transition: 0.2s ease;
}

.immaginiScheda:hover {
  -webkit-transform: scale(1.05);

  -ms-transform: scale(1.05);

  transform: scale(1.05);
}

.bottone {
  width: 300px;

  padding: 20px;

  background-color: #001522;

  border: 1px dotted orange;

  border-radius: 25px;

  font-family: "Open Sans", sans-serif;

  font-size: 15pt;

  text-align: center;

  text-decoration: none;

  color: orange;

  margin: 20px 0 20px 0;
}

.linkout {
  display: block;

  max-width: 720px;

  padding: 20px;

  cursor: pointer;

  background-color: #001522;

  border: 1px dotted orange;

  border-radius: 25px;

  -webkit-box-shadow: 0 0 25px rgba(0, 22, 36, 0.8);

  box-shadow: 0 0 25px rgba(0, 22, 36, 0.8);

  font-family: "Open Sans", sans-serif;

  font-size: 15pt;

  text-align: center;

  text-decoration: none;

  color: orange;

  margin: auto;

  margin-bottom: 60px;
}

/* SCHEDA */

#scheda {
  width: 350px;

  margin-bottom: 30px;

  padding: 40px;

  border: 1px dotted orange;

  background-color: #e6e6e6;
}

.voci {
  margin: auto;

  margin-top: 50px;

  max-width: 300px;

  height: auto;

  border-width: 1px 0 0 0;

  border-style: solid;

  border-color: #cc6600;

  font-family: "Open Sans", sans-serif;

  font-size: 18px;

  text-align: center;

  color: #cc6600;
}

.descrizioni {
  margin: auto;

  margin-top: 10px;

  width: 100%;

  height: auto;

  font-family: "Open Sans", sans-serif;

  font-size: 18px;

  text-align: center;
}

a.bottone:link,
a.bottone:visited {
  text-decoration: none;

  color: orange;
}

a.bottone:hover,
a.bottone:active,
a.linkout:hover,
a.linkout:active {
  text-decoration: none;

  color: white;

  cursor: pointer;

  background-color: orange;
}

/* MODALBOXES */

.modalbox {
  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  z-index: 1200;

  background-color: rgba(0, 22, 36, 0.43);

  cursor: pointer;

  /* FLEX INSIDE */

  display: none;

  -webkit-box-pack: center;

  -ms-flex-pack: center;

  justify-content: center;

  -ms-flex-line-pack: center;

  align-content: center;

  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;
}

.modalconts {
  /* POSIZIONE e FORMA */

  position: relative;

  width: 300px;

  height: auto;

  margin: 15px;

  border: 1px dotted #001522;

  border-radius: 25px;

  -webkit-box-shadow: 0 0 25px rgba(0, 22, 36, 0.43);

  box-shadow: 0 0 25px rgba(0, 22, 36, 0.43);

  background-color: orange;

  cursor: default;

  /* FONTE */

  font-family: "Open Sans", sans-serif;

  font-size: 14pt;

  text-align: center;

  padding: 25px;

  color: #001522;

  /* ANIMAZIONE */

  -webkit-animation-name: dallalto;

  animation-name: dallalto;

  -webkit-animation-duration: 1s;

  animation-duration: 1s;
}

@-webkit-keyframes dallalto {
  from {
    top: -300px;

    opacity: 0;
  }

  to {
    top: 0;

    opacity: 1;
  }
}

@keyframes dallalto {
  from {
    top: -300px;

    opacity: 0;
  }

  to {
    top: 0;

    opacity: 1;
  }
}

/* MEDIA QUERIES */

@media screen and (max-width: 760px) {
  .linkout,
  #paypal-button,
  #emailform {
    width: 280px;
  }

  #sold {
    width: 90px;
  }
}

@media screen and (max-width: 360px) {
  .images {
    width: 250px;

    margin-top: 20px;
  }

  .bottone {
    width: 250px;

    margin: 20px 0 20px 0;
  }

  #scheda {
    padding: 20px;
  }
}

/* STILI PER LA EMAIL FORM */

#emailform {
  display: block;

  max-width: 720px;

  padding: 20px;

  border: 1px dotted orange;

  background-color: #e6e6e6;

  -webkit-box-shadow: 0 0 25px rgba(0, 22, 36, 0.8);

  box-shadow: 0 0 25px rgba(0, 22, 36, 0.8);

  margin: auto;

  margin-bottom: 40px;

  font-family: "Open Sans", sans-serif;

  text-align: center;

  text-decoration: none;
}

label {
  font-size: 15pt;

  color: #cc6600;
}

.barraInput {
  font-size: 12pt;

  margin-bottom: 30px;

  margin-top: 30px;

  width: 90%;

  padding: 15px;

  font-family: "Open Sans", sans-serif;
}

#areaTesto {
  width: 90%;

  height: 100px;

  font-family: "Open Sans", sans-serif;

  resize: vertical;
}

.bottoneInvio {
  padding: 12px;

  background-color: #001522;

  border: 1px dotted orange;

  border-radius: 25px;

  font-size: 15pt;

  color: #cc6600;

  font-weight: bold;

  cursor: pointer;

  font-size: 15pt;

  margin-bottom: 20px;

  width: 90%;
}
