/* BOOTSTRAP MODAL */

/*!
 * Generated using the Bootstrap Customizer (https://getbootstrap.com/docs/3.4/customize/)
 */
/*!
 * Bootstrap v3.4.1 (https://getbootstrap.com/)
 * Copyright 2011-2019 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  -o-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.modal-content {
  position: relative;
  background-color: #ffffff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  outline: 0;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}
.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: 0.5;
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 15px;
}
.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 90%;
    margin: 30px auto;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
  .modal-sm {
    width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}

.clearfix:before,
.clearfix:after,
.modal-header:before,
.modal-header:after,
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: " ";
}
.clearfix:after,
.modal-header:after,
.modal-footer:after {
  clear: both;
}
.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.invisible {
  visibility: hidden;
}
.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.hidden {
  display: none !important;
}
.affix {
  position: fixed;
}

/* HERA CSS */

body {
  display:flex;
  flex-direction:column;
  height: : 100vh;
  min-height: 100vh;
  /*width: 100vw;*/
  margin: 0;
  font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
  font-size: 14px;
  color: #4a4a4a;
}

a {
  color: #337ab7;
}

ul li,
ol li {
  list-style-type: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.container {
  max-width: 928px;
  margin:0 auto;
  background-color:#fff;
}

header .img-fluid {
    width: 100%;
    max-width: 190px !important;
}

header .logohera.img-fluid {
    width: 100%;
    max-width: 115px !important;
}

header h1 {
  margin:15px 0;
  padding:0 15px;
}

.main-container {
  flex: 1;
  background-attachment: fixed;
  background: url("https://image.contatti.gruppohera.it/lib/fe3c11717564047f761577/m/1/a0d154d9-7566-49ab-83a9-b55537742d84.png") no-repeat center / cover;
  padding: 15px;
  color: #4a4a4a;
}

.main-container .container {
  border: 1px solid silver;
}

.form-container {
  border-top: 1px solid #dadada;
  margin: 20px 2em 0;
}

.main-container .container .content-txt {
  padding: 1em 2em .5em;
}

.main-container .container-ty .content-txt {
  padding: 1em 2em 2em;
}

.main-container .container .content-txt p {
  font-size:17px;
  line-height:24px;
  margin:10px 0 0;
}

.main-container .container .content-form {
  padding: 1em 0 2em
}

.main-container .form-container .content-txt {
  padding: 1em 0 .5em
}

.content-form .row {
  display:flex;
  flex-direction: column;
}

.content-form .row .item {
  flex: 0 0 100%;
  display: flex;
  flex-direction:column;
}

input, input::placeholder, select {
  color: #333;
  font-size: 17px;
  text-transform: none;
  opacity: 1;
  font-weight: bold;
}

.content-form .item input,
.content-form .item select {
  padding: 10px 15px;
  border-radius: 0;
  box-shadow: none;
  border: 2px solid #345da7;
  margin: 15px 0 10px 0;
  background: transparent;
}

.content-form .item input {

}

.content-form .item select {
  flex: 0 0 99%;
  display: flex;
}

form.h-unsubscribe {
  display: flex;
  flex-direction: column;
}

.top-container {
  padding-top:3rem;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

fieldset {
  border: none;
}

.item-legend {
  
}

.checkcontainer {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-top: 15px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkcontainer-label {
  display: inline-block;
  font-size: 17px;
  vertical-align: middle;
  margin-top: 30px;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  border: 2px solid #345da7;
}

/* Hide the browser's default checkbox */
.container input.privacy-check {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.modal-body ,
.modal-body p,
.modal-body li {
  line-height:18px;
}

.img-dk {
    display: none;
    width:100%;
  }
  
.img-mb {
  display: block;
  width:100%;
}

.btn {
  background: #345da7;
  color: #ffffff;
  font-weight: 400;
  border-radius: 6px;
  border: 1px solid #045d92;
  width: 200px;
  margin-top: 40px;
  margin-bottom: 0;
  transition: background .5s;
  letter-spacing: 1px;
  font-size: 20px;
  line-height:50px;
}

.btn:hover {
    background: #ffffff;
    color: #345da7;
}

.btn-secondary {
  background-color:#d3d3d3;
  color:#333;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  width: auto;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

.text-center {
  text-align:center;
}

label.error {
  color: #f00;
  margin:0 10px;
  display: block;
  font-size: 14px;
  font-weight:bold;
  border-radius:5px;
  font-style:italic;
}

label#privacy-error {
  margin-top:15px;
}

.salutation {
  display: block;
  font-size:24px;
  font-weight:500;
  line-height:27px;
  margin: 20px 0 10px;
}

.bolder {
  font-weight:bold;
}

.content-image {
  background: #ececec;
  padding: 30px 0 15px 0;
  border-top: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
  margin-top:6px;
}

footer {
  background-image: linear-gradient(90deg, #fefefe 60%, #4a4a4a 0);
  transition: all .5s;
}

footer .container {
  display: flex;
  flex-direction:column;
}

footer .item {
  padding: 10px 15px;
}

footer .item-2,
footer .item-3 {
  background-color: #4a4a4a;
  display:flex;
}

footer .item-2 {
  padding-top:15px;
}

footer .item-3 {
  padding-bottom:15px;
}

footer .item-2 ul,
footer .item-3 ul {
  width:100%;
  margin:0;
  padding:0;
}

footer .item a {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}

footer .item.item-1 p {
  color: #000;
  font-weight: normal;
  font-size: 11px;
  margin:5px 0;
}

footer .item.item-1 p.credits {
  margin:20px 0;
  font-weight:bold;
}

    
footer h3 {
    font-weight: bold;
    font-size: 16px;
}

.modal {
  display: none;
}


/**** RID PAGES ****/

.rid-container.form-container .content-txt{
  margin: 1em 0 .5em;
}

.rid-container ul li {
  list-style-type: disc;
  font-size: 17px;
  line-height: 24px;
  margin: 10px 0 0;
}

.blueregular {
  color: #337ab7 ;
}

.bluebold {
  font-weight: bold;
  color: #337ab7 ;
}

.error-container,
.error-container p {
  text-align:center;
}

.error-container img {
    width:100%;
  }

/**** ****/

@media (min-width: 768px) {
  
  .main-container {
    padding: 5% 0;
  }

  header h1 {
    padding:0;
  }

  .main-container .container .content-txt {
    padding: 3em 2em .5em;
  }

  .main-container .container.container-ty .content-txt {
    padding: 3em 2em 4em;
  }

  .main-container .container-ty .content-txt {
    padding: 1em 2em 2em;
  }

  .main-container .form-container .content-txt {
    padding: 3em 0 .5em
  }

  .main-container .container .content-form {
    padding: 3em 0 2em
  }

  .content-form .row {
    flex-direction: row;
    justify-content:space-between;
  }

  .content-form .row.item {
    flex-direction: column;
  }

  .content-form .item input {
    width: 90%;
  }

  .content-form .row .item {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
  }

  .abitanti-item input {
      align-self: flex-end;
  }

  .checkcontainer-label {
    margin-top: 10px;
  }

  .u-confirm h3 {
    letter-spacing: .5px;
    font-size: 42px !important;
    line-height: 1.2;
    font-weight: 900;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .error-container img {
    max-width:370px;
    margin-top:20px;
  }




/**** RID PAGES ****/

.main-container .container .content-txt {
    padding: 3em 2em .5em;
  }

.rid-container .content-txt {
  padding: 1em 0 2em
}

.rid-container.form-container .content-txt{
  margin: 1em 0 .5em;
}
/*** ***/
}

@media (min-width: 575px) {

  .img-dk {
    display: block;
  }
  
  .img-mb {
    display: none;
  }

  footer .container {
    flex-direction: row;
    justify-content: flex-end;
    padding:0;
  }

  footer .item {
    width:33.333%;
    padding: 20px 0;
  }

  footer .item-2 ul {
    border-right: 1px solid #fff;
  }

  footer .item {
    padding: 20px 15px;
  }

  footer .item-2,
  footer .item-3 {
    padding: 20px 15px;
  }

}






