/* Change autocomplete styles in WebKit */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid #0f0f0f;
  -webkit-text-fill-color: #0f0f0f;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
  transition: background-color 5000s ease-in-out 0s;
}

#comments-title,
#form-title,
#title-div,
#chart-title,
.form-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: space-between;
  -ms-flex-pack: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
#form-buttons,
#label-and-counter,
#nav-container,
#search-container,
.input-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: space-between;
  -ms-flex-pack: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}


#comments-title,
#form-title,
#nav-container,
#search-container,
#title-div,
#word-cloud-title,
.form-container {
  width: 100%;
  max-width: 100vw;
  height: auto;
  margin: auto;
}

#two-social-charts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  -webkit-align-items: baseline;
  align-items: baseline;
}

@media only screen and (max-width: 480px) {
  #two-social-charts {
    flex-direction: column;
  }
}


#chart1,
#chart2 {
  width: 100%;
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

@media only screen and (min-width: 750px) {
  #chart1,
  #chart2 {
    max-width: 325px;
  }
}



.modal-content li,
.modal-content p,
.modal-content ul,
body {
  font-family: SoleSans, Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.8;
  letter-spacing: normal;
  color: #0f0f0f;
  text-align: center;
}
#search-container,
.nav-btn {
  font-family: SoleSans, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #939598;
  text-align: left;
  text-transform: uppercase;
}
.form-container {
  font-family: SoleSans, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: normal;
  color: #939598;
  text-align: left;
}
.container .day,
.well .city,
.well .name,
.well .text {
  font-family: SoleSans, Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: normal;
  color: #0f0f0f;
  text-align: left;
}
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background-color: #fff;
  margin: 0;
  overflow-x: hidden;
}
nav,
section {
  margin: 0;
  padding: 30px 0;
}
@media only screen and (max-width: 480px) {
  nav {
    padding-top: 0px;
  }
}
img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
h1 {
  display: inline;
  font-family: "sole_display", Georgia, Times, "Times New Roman";
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  padding: 0;
  color: #fff;
}
@media only screen and (max-width: 480px) {
  h1 {
    font-size: 60px;
    padding: 0 15px;
  }
}
h2 {
  font-family: "sole_display", Georgia, Times, "Times New Roman";
  font-size: 40px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.0;
  letter-spacing: normal;
  color: #0f0f0f;
  text-align: center;
}

h3 {
  font-family: "sole_display", Georgia, Times, "Times New Roman";
  font-weight: 900;
}


@media only screen and (max-width: 480px) {
  h2 {
    margin: 0 15px 15px 15px;
    line-height: 1;
    font-size: 35px;
  }
}
@media only screen and (max-width: 480px) {
  h3 {
    margin: 20px 0;
    line-height: 1;
    font-size: 35px;
  }
}
@media only screen and (max-width: 480px) {
  h4 {
    margin: 20px 0 10 0;
    line-height: 1;
    font-size: 20px;
    font-weight: 600;
  }
}
label {
  text-transform: uppercase;
}
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #EBEBEC;
  color: #939598;
  margin: 0;
  resize: vertical;
  transition: ease-in-out, width 0.35s ease-in-out;
  font-weight: 400!important;
}
input[type="text"]:focus,
select:focus,
textarea:focus {
  background-color: #fff;
  color: #0f0f0f;
  font-weight: 600;
  border: 1px solid #000;
  outline-offset: 0 !important;
  outline: 0 !important;
  font-weight: 400!important;
}

a:link {
  text-decoration: underline;
}

#section-form {
  padding-top: 0;
}
@media only screen and (min-width: 480px) {
  #form-title {
    max-width: 630px;
  }
}
#form-title h2 {
  padding-top: 20px;
}
@media only screen and (max-width: 480px) {
  #form-title h2 {
    padding: 20px 15px 0 15px;
  }
}
#form-title p {
  font-size: 20px;
  line-height: 1.6;
  padding: 30px 0;
}
@media only screen and (max-width: 480px) {
  #form-title p {
    padding: 30px 15px;
  }
}
.form-container {
  padding: 10px;
}

@media only screen and (min-width: 480px) {
  .form-container {
    max-width: 630px;
  }
}
.form-container .input.checkbox label {
  display: inline-block;
}
.form-container .input.checkbox input {
  display: inline-block;
}
.form-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ebebec;
}
.form-container .input.checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}
.form-container input:checked ~ .checkmark {
  background-color: #fff;
}
.form-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.form-container input:checked ~ .checkmark:after {
  display: block;
}
.checkmark:after {
  left: 9px;
  top: 5px;
  width: 10px;
  height: 15px;
  border: solid #0f0f0f;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.form-container .input.correct-input label {
  color: #0f0f0f;
}
.form-container .input.wrong-input label {
  color: #ed1c24;
}
.form-container .input.wrong-input .vase--status {
  color: #ed1c24;
}
.form-container .input .asterisk {
  padding: 0.3rem;
}
.form-container .input .vase--status {
  display: block;
 /*  padding: 0.5rem 0; */
  font-weight: 300;
  will-change: color;
}
.form-container label {
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 300;
  will-change: color;
  line-height: 1.8;
  -webkit-transition: color ease-in-out 0.3s;
  -moz-transition: color ease-in-out 0.3s;
  -ms-transition: color ease-in-out 0.3s;
  -o-transition: color ease-in-out 0.3s;
  transition: color ease-in-out 0.3s;
}
.form-container input {
  display: block;
  width: 100%;
  /* padding: 0.5rem 0; */
  /* background: 0 0; */
  border: none;
  /* border-bottom: solid 2px #ddd; */
  outline: 0;
  letter-spacing: 0.1rem;
  will-change: border-color;
  -webkit-transition: border-color ease-in-out 0.3s;
  -moz-transition: border-color ease-in-out 0.3s;
  -ms-transition: border-color ease-in-out 0.3s;
  -o-transition: border-color ease-in-out 0.3s;
  transition: border-color ease-in-out 0.3s;
}
.form-container input [data-vase-field-type="phone"],
.form-container input[type="tel"] {
  letter-spacing: 0.2em;
}
.form-container input[type="checkbox"] {
  width: auto;
}
.form-container input.correct-input {
  border-color: #0f0f0f;
}
.form-container input.wrong-input {
  border-color: #ed1c24;
}
.form-container form {
  max-width: 600px;
  margin: 0 auto;
}
@media only screen and (max-width: 480px) {
  .form-container form {
    width: 100%;
  }
}

.form-container form.style-dark .input_text,
.form-container form.style-dark .input_textarea {
  position: relative;
  margin-top: 20px;
}
.form-container form.style-dark .input_textarea input {
  padding: 0.8rem 1rem;
  border: none;
  background: #ebebec;
  border-radius: 4px;
  will-change: background-color;
  -webkit-transition: background-color ease-in-out 0.3s;
  -moz-transition: background-color ease-in-out 0.3s;
  -ms-transition: background-color ease-in-out 0.3s;
  -o-transition: background-color ease-in-out 0.3s;
  transition: background-color ease-in-out 0.3s;
}
.form-container form.style-dark .input_text input.correct-input,
.form-container form.style-dark .input_textarea input.correct-input {
  background-color: #fff;
  border: 1px solid;
}
.input-box {
  width: 600px;
  padding: 20px 0;
}
.input-box .form-input {
  width: 280px;
}
@media only screen and (max-width: 480px) {
  .input-box {
    flex-direction: column;
    width: 100%;
    padding: 20px 0 0 0;
  }
  .input-box .form-input {
    width: 100%;
  }
}
input[type="text"]:focus,
textarea:focus {
  background-color: #fff;
  color: #0f0f0f;
  font-weight: 600;
  border: 1px solid #000;
  outline-offset: 0 !important;
  outline: 0 !important;
  font-weight: 400!important;
}
input:-internal-autofill-selected {
  appearance: menulist-button;
  background-color: #fff !important;
  background-image: none !important;
  color: -internal-light-dark(black, #fff)!important;
}
#label-and-counter {
  margin-top: 40px;
}
#required-field {
  margin-bottom: 20px;
  font-style: italic;
}
#privacyBtn {
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
#form-buttons div {
  width: 48%;
  text-align: center;
}
#formSubmit {
  background-color: #0f0f0f;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  font-weight: 800;
  text-transform: uppercase;
  will-change: background;
  -webkit-transition: background ease-in-out 0.3s;
  -moz-transition: background ease-in-out 0.3s;
  -ms-transition: background ease-in-out 0.3s;
  -o-transition: background ease-in-out 0.3s;
  transition: background ease-in-out 0.3s;
}
#formSubmit:active,
#formSubmit:focus,
#formSubmit:hover {
  background: #8f8f8f;
  outline: 0;
  text-decoration: none;
  color: #fff;
}

#formReset {
  background-color: #ebebec;
  color: #939598;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  width: 100%;
  font-weight: 800;
  text-transform: uppercase;
  will-change: background;
  -webkit-transition: background ease-in-out 0.3s;
  -moz-transition: background ease-in-out 0.3s;
  -ms-transition: background ease-in-out 0.3s;
  -o-transition: background ease-in-out 0.3s;
  transition: background ease-in-out 0.3s;
}
#formReset:active,
#formReset:focus,
#formReset:hover {
  background: #69696f;
  outline: 0;
  text-decoration: none;
  color: #939598;
}

#form-success-ok-btn {
  background-color: #939598;
  border: none;
  color: white;
  padding: 10px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 4px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  will-change: background;
  -webkit-transition: background ease-in-out 0.3s;
  -moz-transition: background ease-in-out 0.3s;
  -ms-transition: background ease-in-out 0.3s;
  -o-transition: background ease-in-out 0.3s;
  transition: background ease-in-out 0.3s;
}

#form-success-ok-btn:active,
#form-success-ok-btn:focus,
#form-success-ok-btn:hover {
  background: #69696f;
  outline: 0;
  text-decoration: none;
}

#form-success-commenti-btn {
  background-color: #0f0f0f;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  will-change: background;
  -webkit-transition: background ease-in-out 0.3s;
  -moz-transition: background ease-in-out 0.3s;
  -ms-transition: background ease-in-out 0.3s;
  -o-transition: background ease-in-out 0.3s;
  transition: background ease-in-out 0.3s;
}
#form-success-commenti-btn:active,
#form-success-commenti-btn:focus,
#form-success-commenti-btn:hover {
  background: #8f8f8f;
  outline: 0;
  text-decoration: none;
  color: #fff;
}


#char-count {
  text-align: right;
  color: #0f0f0f;
}
#privacy-div {
  margin: 20px 0px;
}
@media only screen and (min-width: 480px) {
  #comments-title {
    max-width: 630px;
  }
}
@media only screen and (max-width: 480px) {
  #comments-title h2 {
    margin: 0 15px;
  }
}
.container {
  margin-top: 30px;
}
.container .day {
  color: #939598;
  text-transform: uppercase;
  font-size: 16px;
  /* margin-bottom: 10px; */
}
.well {
  position: relative;
  padding-bottom: 2.5em;
  padding-top: 0;
  background-color: #fff;
  -webkit-box-shadow: 7px 7px 11px -6px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 7px 7px 11px -6px rgba(0, 0, 0, 0.2);
  box-shadow: 7px 7px 11px -6px rgba(0, 0, 0, 0.2);
}
.well.text-collapse p {
  max-height: 4em;
}
.well.text-collapse p:after {
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(-20%, rgba(255, 255, 255, 0.9)),
    to(rgba(255, 255, 255, 0))
  );
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.9) -20%,
    rgba(255, 255, 255, 0) 100%
  );
}
.well.text-collapse [data-toggle="text-collapse"] .fa-chevron-up {
  display: none;
}
.well.text-collapse [data-toggle="text-collapse"] .fa-chevron-down {
  display: block;
}
.well .name {
  font-family: sole_headline, Georgia, Times, "Times New Roman";
  font-size: 26px;
  font-weight: 800;
  line-height: 1.0;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
/* margin-top: 10px; */
}
.well .city {
  color: #939598;
  text-transform: uppercase;
}
.well .text {
  overflow: hidden;
  max-height: 40em;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: inherit;
}
.well .text:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}
.well [data-toggle="text-collapse"] {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 2em;
  width: 2em;
}
.well [data-toggle="text-collapse"] .fa {
  cursor: pointer;
  display: block;
  font-size: 1em;
  color: #0f0f0f;
}
.well [data-toggle="text-collapse"] .fa:hover {
  color: #0f0f0f;
}
.well [data-toggle="text-collapse"] .fa-chevron-down {
  display: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  text-align: left;
  border: 2px solid #0f0f0f;;
  width: 70%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}
@media only screen and (max-width: 480px) {
  .modal-content {
    width: 80%;
  }
}

.modal-content li,
.modal-content p,
.modal-content ul {
  text-align: left;
  font-size: 16px;
}
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
.modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: 700;
}
.modal-close:focus,
.modal-close:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#form-success-modal-content {
  top: 70px;
  width: 50%;
}

#form-success-modal-content p {
  text-align: left;
  font-size: 30px;
  line-height: 1.2;
}

#form-success-title {
  font-weight: 800;
}


@media only screen and (max-width: 480px) {
  #form-success-modal-content {
    top: 70px;
    width: 80%;
  }
}

#search-container {
  align-items: baseline;
}
@media only screen and (min-width: 480px) {
  #search-container {
    max-width: 630px;
    justify-content: center;
    margin-bottom: 80px;
  }
}
@media only screen and (max-width: 480px) {
  #search-container {
    flex-direction: column-reverse;
  }
}
#section-search-div,
#word-search-div {
  width: 70%;
}
@media only screen and (max-width: 480px) {
  #section-search-div,
  #word-search-div {
    width: 100%;
    padding: 0 15px;
  }
}

.hidden {
  display: none;
}
.displayed {
  display: block;
}
.not-displayed {
  display: none;
}
.error {
  background-color: #fde8e9;
  color: #ed1c24;
}
.circles {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: unset;
  top: -13px;
  left: 0;
  width: 100%;
  height: 26px;
}
.circle-arg {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  margin-right: 5px;
}

.circle-arg-0 {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  margin-right: 5px;
  background-color: #f4c5d5;
}
.circle-arg-1 {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  margin-right: 5px;
  background-color: #6141a6;
}
.circle-arg-2 {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  margin-right: 5px;
  background-color: #a289d9;
}
.circle-arg-3 {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  margin-right: 5px;
  background-color: #f2de79;
}
.circle-arg-4 {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  margin-right: 5px;
  background-color:	#f2a444;
}

#first-section {
  margin-top: 65px;
  background-color: #0098AE;
  /* background: linear-gradient(180deg, #0098ae 0, #89cad9 50%); */
}
#title-div {
  width: 100%;
  height: calc(100% - 65px);
  max-height: calc(100% - 65px);
  margin: auto;
}
@media only screen and (min-width: 480px) {
  #title-div {
    /* max-width: 630px; */
  }
}

@media only screen and (min-width: 480px) {
  #intro {
    max-width: 630px;
  }
}

#intro p {
  font-size: 20px;
  line-height: 1.6;
  padding: 30px 0;
  color: #fff;
}
@media only screen and (max-width: 480px) {
  #intro p {
    padding: 30px 15px;
  }
}

#nel-box-qui-sotto {
  cursor: pointer;
  text-decoration: underline;
}


#arrow-scroll {
  cursor: pointer;
}

#arrow-scroll img {
  width: 20px;
  height: auto;
}

@media only screen and (min-width: 480px) {
  #word-cloud-section {
    margin-bottom: 0px;
  }
}

@media only screen and (min-width: 480px) {
  #word-cloud-title {
    max-width: 630px;
  }
}
.chart-title h2 {
  padding-top: 20px;
}
@media only screen and (max-width: 480px) {
  .chart-title h2 {
    padding: 20px 0px 0 0px;
  }
}
.chart-title p {
  font-size: 20px;
  line-height: 1.6;
  padding: 30px 0;
}
@media only screen and (max-width: 480px) {
  .chart-title p {
    padding: 15px 0px;
  }
}

@media only screen and (max-width: 480px) {
  .social-chart {
    width: 100%;
  }
}


@media only screen and (min-width: 480px) {
  #nav-container {
    max-width: 350px;
  }
}
.nav-btn {
  text-align: center;
  position: relative;
  width: 50%;
  border-bottom: 4px solid #ebebec;
  cursor: pointer;
}
@media only screen and (max-width: 480px) {
  .nav-btn {
    width: 100%;
  }
}
@media only screen and (max-width: 480px) {
  .nav-btn:first-child {
    margin-left: 15px;
  }
}
@media only screen and (max-width: 480px) {
  .nav-btn:last-child {
    margin-right: 15px;
  }
}
#nav-form:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  width: 50%;
  border-right: 1px solid #ebebec;
}
.nav-btn-active {
  color: #0f0f0f;
  border-bottom: 4px solid #0f0f0f;
  transition: 0.5s linear all;
}

.faN {
  width: 30px!important;
}

select{
	appearance: none;
    background-image: url(../assets/img/freccino2.svg);
    background-position: 97% center;
    background-repeat: no-repeat;
    background-size: 14px;
    outline: none;
}

.well.text-collapse .text {
    min-height: 75px;
}