/**
CUSTOM STYLE

1. GENERALE
2. TOP BAR
3. NAVBAR
4. HERO
5. SLICK CAROUSEL
6. GALLERY
7. MODALI
8. FOOTER
9. CTA BTN
10. FAQ
11. PREVENTIVO


*/

/*
*GENERAL
*/

.post, .page {
  margin: 0 0 1.5em;
  position: relative;
  margin: 0;
  padding: 0 5px;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #262525;
  height: 100%;
  min-height: 100vh;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #262525;
}

h1 {
  font-size: 26px;
  font-weight: 700;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

h6 {
  font-size: 18px;
  font-weight: 400;
}

p {
  font-size: 14px;
  font-weight: 400;
}

hr.divider {
  border: 0.5px solid rgba(38, 37, 37, 0.1);
  width: 80%;
  max-width: 1100px;
  margin: 15px auto;
}

/*
  * TOP BAR
  */

body.iphoneX .top-bar {
  height: 101px;
}

body.iphoneX .top-bar ul {
  
}
.top-bar {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  width: 100vw;
  height: 58px;
  margin:0;
  background-color: #08284f;
  padding-top: 20px;
  z-index: 400;
  -webkit-backface-visibility: hidden;
}

.top-bar ul {
  text-align: center;
  margin: 0;
  padding: 0;
}

.top-bar .contatti li {
  list-style: none;
  display: inline-block;
  margin-right: 25px;
}
.top-bar .contatti li:last-child {
  margin-right: 0;
}
.top-bar .contatti li a {
  width: 25px;
  height: 25px;
  display: block;
  background: #ddd;
}
.top-bar .contatti li a.facebook {
  background: url("/wp-content/uploads/2019/10/004-facebook.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.top-bar .contatti li a.instagram {
  background: url("/wp-content/uploads/2019/10/003-instagram.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.top-bar .contatti li a.whatsapp {
  background: url("/wp-content/uploads/2019/10/002-whatsapp.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.top-bar .contatti li a.email {
  background: url("/wp-content/uploads/2019/10/005-envelope.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.top-bar .contatti li a.telefono {
  background: url("/wp-content/uploads/2019/10/001-call-answer.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

/*
* NAVBAR
*/

.nav {
  padding-top: 10px;
  margin-top: 52px;
}

.nav .brand {
  display: block;
}

/*
* HERO
*/

body.iphoneX header {
  margin-top: 100px;
}

.hero {
  text-align: center;
}

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

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

.button.cta {
  background: #ffe65f;
  border-width: 2px;
  color: #08284f;
  width: 260px;
  height: 45px;
  border-radius: 30px;
  padding: 5px 0;
  padding-bottom: 20px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
  border-color: #dbc54f;
  transition: 0.2s all linear;
}
.button.cta:hover {
  background: rgb(255, 236, 137);
}

/*
  * SLICK CAROUSEL
  */

.hero-carousel {
  padding-top: 40px;
}

.hero-carousel .slick-prev:before,
.hero-carousel .slick-next:before {
  font-size: 22px;

  color: #08284f;
  opacity: 0;
}

.hero-carousel .slick-prev {
 
  background: url('./vendors/slick/left-arrow.png');
  background-size: contain;
  background-position: center center;
  width: 30px;
  height: 30px;
  left: -38px;
}

.hero-carousel .slick-next {
  background: url('./vendors/slick/right-arrow.png');
  background-size: contain;
  background-position: center center;
  width: 30px;
  height: 30px;
  right: -38px;
}
/*
* GALLERY
*/

.gallery-button-wrapper {
  text-align: center;
  padding: 25px 0;
}

.gallery-button {
  text-decoration: underline;
  font-size: 18px;
  color: #262525;
  background: #08284f;
  border: 0.1rem solid #08284f;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  height: 3.8rem;
  letter-spacing: 0.1rem;
  line-height: 3.8rem;
  padding: 0 3rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.2s all ease-in-out;
}
.gallery-button:hover {
  background: #1856a0;
  color: #fff;
}

.gallery .container {
  padding: 0;
}

.gallery-header .column {
  max-width: 992px;
  margin: auto;
}

.gallery-header {
  display: block;
  background: #08284f;
  position: fixed;
  width: 100%;
  height: 70px;
  top: 0;
  left: 0;
  z-index: 210;
}

.gallery-header h1 {
  color: #ffffff;
  margin-left: 50px;
}

.close-btn {
  border-radius: 30px;
  margin-top: 15px;
  margin-right: 25px;
  background: #ccb84d;
  transition: 0.2s All ease-in-out;
}

.close-btn:hover {
  background: #ffe65f;
}

.gallery-body {
  background: #ffffff;
  width: 100%;
  min-height: 100vh;
  text-align: center;
  margin-top: 72px;
}
.image-gallery {
  display: inline-block;
  max-width: 49.2%;
  text-align: center;
}
.image-gallery a {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 40rem) {
  .image-gallery {
    max-width: 24%;
  }
}

/*
* MODALI
*/

.modali {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  transform: translateX(-100%);
  opacity: 0;
  transition: 0.2s All ease-in-out;
}

.modali.in {
  transform: translateX(0);
  opacity: 1;
}

/*
* FOOTER
*/

.site-footer {
  position: relative;
  bottom: 0;
  width: 100%;
  height: auto;
  text-align: center;
  background: #071f3e;
  color: #ffffff;
  padding-top: 13px;
  margin-top: 20px;
  padding-bottom: 20px;
  transition: 0.2s All ease-in-out;
}

.site-footer ul {
  margin: 0;
  padding: 3px 0;
}

.site-footer .legals ul li {
  list-style: none;
  display: inline-block;
  margin-left: 15px;
}

.site-footer .legals ul li a {
  color: #fff;
  text-decoration: underline;
  font-size: 12px;
}

/*
* CTA BUTTON
*/

.wrapper-cta-btn {
  position: fixed;
  text-align: center;
  width: 100%;
  bottom: 0;
  left: 0;
  height: 100px;
  z-index: 100;
  background: #071f3e;
  padding-top: 20px;
}

/*
* FAQ
*/

.faq,
.preventivo {
  padding: 40px 0;
  max-width: 768px;
}

.faq .title,
.preventivo .title {
  width: 100%;
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

.faq .title h2,
.preventivo .title h2 {
  text-align: center;
}
.wrapper-domanda-risposta {
  padding: 10px 0;
}

/*
* PREVENTIVO
*/

@media (min-width: 40rem) {
  input[type="email"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="text"],
  input[type="url"],
  input[type="date"],
  textarea,
  select {
    width: 50%;
    font-size: 2rem;
  }

  span.wpcf7-list-item {
    margin: 0 2px;
  }
}
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
input[type="date"],
textarea,
select {
  font-size: 2rem;
}

.preventivo .form {
  padding-bottom: 30px;
  text-align: center;
}
input[type="date"],
input[type="checkbox"] {
  font-size: 2rem;
  border: 0.1rem solid #d1d1d1;
  background-color: transparent;

  border-radius: 0.4rem;
  box-shadow: none;
  box-sizing: inherit;
  height: 3.8rem;
  padding: 0.6rem 1rem;
}

.preventivo .form .wpcf7-submit {
  border-radius: 30px;
  width: 200px;
  font-size: 24px;
  background-color: #6fcc19;
  border: 0.1rem solid #6fcc19;
  transition: 0.2s All ease-in-out;
}
.preventivo .form .wpcf7-submit:hover {
  background-color: #76dc18;
}

span.wpcf7-list-item {
  display: inline-block;
  margin: 0;
}

span.wpcf7-list-item-label {
  display: block;
  padding: 10px;
}

input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  padding: 10px;
}


.acceptance-730 input[type="checkbox"] {

  -ms-transform: scale(2);
  -moz-transform: scale(2);
  -webkit-transform: scale(2);
  -o-transform: scale(2);
  transform: scale(2);
  padding: 10px;
  display: inline;
  float: left;
  margin-right: 20px;
  margin-top: 15px;

}

.wpcf7-form-control-wrap.checkbox-843 {

  display: block;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 3px;
  max-width: 50%;
  margin:0 auto;

}