/*
Theme Name: 	Domiciliazione Roma
Description: 	Responsive WordPress Theme based on Boostrap function and Font Awesome 5.15.
Version:     	2.0
Author:     	Alberto Cattani
Author URI:     https://albertocattani.com
Site:           https://albertocattani.com
Text Domain: 	domrome
Domain Path: 	/languages
Tags:        	grid-layout, blog, custom-menu, featured-images, right-sidebar
License:    	GNU General Public License v3.0
License URI:	http://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/



/* ------------------------------------------------------------------------- *
/* ! Color */
/* ------------------------------------------------------------------------- */

:root {
    --giallo: rgb(251, 186, 0);
    --rosso:rgb(153, 10, 44);
    --rossoscuro: #6d061e;
    --lgreen:#44C554;
    --black:#333;
    --beige:#eae0bd;
}


/* ! Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {display: block;}

blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {content: '';content: none;}
table {border-collapse: collapse;border-spacing: 0;}
strong{font-weight: bold;}
.corsivo{font-style: italic;}


/* ! Default style */
article, aside, figcaption, figure, footer, header, hgroup, legend, main, nav, section {display: block;}
*, ::after, ::before {box-sizing: border-box;}
html{scroll-behavior: smooth;margin: 0; padding: 0;overflow-x: hidden;}
body{font-family: "Inter", sans-serif;line-height:normal; font-size: 14px;line-height: 1.5;color:var(--black);font-weight: 300;background: #f7f7f7;margin:0;padding: 0;overflow-x: hidden;}
a{color: var(--rosso);text-decoration:none;transition: 0.6s;font-weight: 500;}
a:hover{text-decoration: none;opacity: 1;color: var(--green);}
img.resp{width: 100%; height: auto;}
img.rounded{border-radius: 99%;}



/* ! Typografy */
h1, h2, h3, h4, h5, h6 { font-family: "Playfair", serif;font-optical-sizing: auto;font-weight: 700;font-style: normal;font-variation-settings:"wdth" 100;}
p {margin:0;}
h1, .h1 {font-size: 2.5rem;font-weight: bold;}
h2, .h2 {font-size: 2.5rem;font-weight: bold;}
h3, .h3 {font-size: 1.75rem;}
h4, .h4 {font-size: 1.5rem;}
h5, .h5 {font-size: 1.25rem;}
h6, .h6 {font-size: 1rem;}
p{margin-bottom: 1rem;}
small{font-size: 70%;}
hr.wp-block-separator{max-width: 100px;margin: 30px auto;}

/* ! container */
.container__fluid{padding: 0 15px;margin: 0 auto;width: 100%; }
.container {max-width: 1350px;width: 100%; padding: 0 15px;margin: 0 auto;}
.container.white{margin-top: 2rem;margin-bottom: 2rem; padding-top: 1rem; padding-bottom: 1rem;}
.container.white .breadcrumbs{text-transform: uppercase;}
.maps{max-width: 1350px;width: 100%;margin: 0 auto 30px auto;}



/* ! Utility */
.animate {transition: 0.6s;}
.p-1{padding: 1rem;}
.p-2{padding: 2rem;}
.p-3{padding: 3rem;}
.p-4{padding: 4rem;}
.p-5{padding: 5rem;}
.pt-1{padding-top: 1rem;}
.pt-2{padding-top: 2rem;}
.py-1{padding-top: 1rem; padding-bottom: 1rem;}
.py-2{padding-top: 2rem; padding-bottom: 2rem;}
.py-3{padding-top: 3rem; padding-bottom: 3rem;}
.py-4{padding-top: 4rem; padding-bottom: 4rem;}
.py-5{padding-top: 5rem; padding-bottom: 5rem;}
.my-1{margin-top: 1rem; margin-bottom: 1rem;}
.my-2{margin-top: 2rem; margin-bottom: 2rem;}
.my-3{margin-top: 3rem; margin-bottom: 3rem;}
.my-4{margin-top: 3rem; margin-bottom: 4rem;}
.my-5{margin-top: 3rem; margin-bottom: 5rem;}
.mb-1{margin-bottom: 1rem;}
.mb-2{margin-bottom: 2rem;}
.mb-3{margin-bottom: 3rem;}
.mt-3{margin-top: 3rem;}
.trattino {width: 100px;height: 2px;background: linear-gradient(to right, var(--rosso) 0%,var(--giallo));margin: 20px 0;}
.trattino.center{margin: 20px auto;}
.tt{text-transform: uppercase;}
.white {background: #fff;}






/* ! Buttons */
.home .buttons {display: flex;flex-wrap: wrap;gap: 10px;}
.home .buttons a.button{
  background-image: url(img/cartelli-piccoli.svg);  
  background-color: var(--beige);
  background-size: cover;
  background-position: center;
  border-radius: none;
  width: 160px;
  height: 80px;
  color:var(--rosso);
  border-radius:5px ;
}
.home .buttons a.button:hover{
  background-image: url(img/cartelli-piccoli.svg);  
  background-color: var(--giallo);
}
.home .buttons small{display: block;}
.button.modal{cursor: pointer;}


a.button,
.slider a.button,
.button,
.wp-block-button__link
{
  position: relative;
  display: block;
  border-radius:0;
  border: 0;
  transition: 0.5s;
  text-align: center;
  padding: 15px;
  color: #fff;
  width: 250px;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 20px 0;
  background: var(--rosso);
  z-index: 1;
  border: 2px solid var(--rosso);
  transition: 0.6s;
  border-radius: 15px;
}

a.button:hover,
.slider a.button:hover,
.button:hover,
.wp-block-button__link:hover
{
  padding: 15px;
  color: #fff;
  width: 250px;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 20px 0;
  background: var(--giallo);
  z-index: 1;
  border: 2px solid var(--giallo);

}


/* ! Header */
body.has__thumbnail header{background: transparent;}
header{z-index: 99;width: 100%;border-bottom: 2px solid var(--rosso);display: flex;flex-wrap:wrap; padding-right: 15px;padding-left: 15px;justify-content: space-between;background: var(--beige);}

.has__thumbnail header,
.blog header{position: absolute;background: transparent;border-bottom: 2px solid transparent;}


/* ! Header logo */
header .header__logo {width: 200px;transition:.6s;z-index: 100;padding-top: 15px;order: 1;z-index: 999;}
header .header__logo a {display: block;max-width: 100%;}
header .header__logo a img {width: 350px;height: auto;transition: 0.6s;max-width: 100%;border-radius: 5px;border: 2px solid var(--rosso);}

/* ! nav_contact */
header .nav__contact {width: auto;display: flex;justify-content: flex-end;align-items: flex-start;margin: 0;padding: 0;position: fixed;top: 50%;right:0; transition: 0.6s;z-index: 999;}
header .nav__contact ul{list-style: none;display: flex;flex-direction: row;margin: 0;padding: 0;flex-direction: column;}
header .nav__contact ul li{margin: 0;padding: 0;cursor: pointer;text-align: center;margin-top: 5px;margin-right: -15px;transition:0.6s ;}
header .nav__contact ul li:hover {margin-right: 0;}
header .nav__contact ul li a {
  background-image: url(img/cartelli-piccoli.svg);
  background-color: var(--beige);
  background-size: cover;
  background-position: center;
  color: var(--rosso);
  text-align: center;
  align-items: center;
  display: block;
  text-transform: uppercase;
  width: 88px;
  height: 44px;
  margin:0; 
  padding: 0;
  transition: 0.6s;
  font-size: 0.7rem;
  border-radius: 5px;
  border: 1px solid var(--rosso);
  padding: 5px;
}
header .nav__contact ul li a:hover {background-color: var(--giallo);border: 1px solid var(--giallo);}

header .nav__contact ul li a strong{text-transform: none;font-weight: 400;display: block;margin-top: -2px;}

/* ! header__nav */
header .header__nav{width: 50%; width: auto;display: flex;margin-top:15px;order:2;justify-content: center;align-items: center;}
header .header__nav ul{display: flex;flex-direction: row;list-style: none;margin: 0;padding: 0;}
header .header__nav ul li{margin: 0;padding: 0;position: relative;}
header .header__nav ul li a{display: block; font-size: 1.1rem;text-transform: uppercase;line-height: normal;padding:5px 10px;text-align: center;color:#fff; text-shadow: 0 0 3px var(--rosso);}
header .header__nav ul li a span{position: absolute;rotate: 0deg;display: block;bottom: 0;left: 0;width: 0%;height: 2px;background:transparent; transition: 0.6s;}
header .header__nav ul li a:hover span{position: absolute;rotate: 0deg;display: block;bottom: 0;left: 0;width: 100%;height: 2px;background:var(--rosso);}


header .header__nav ul li a:hover{background: var(--rosso);color: #fff;}
header .header__nav ul li.current_page_item a{color: var(--rosso);border-bottom:2px solid var(--rosso) ;color: #fff;}

/* Children */
header .header__nav ul li.menu-item-has-children {position: relative;}
header .header__nav ul li.menu-item-has-children a{cursor: pointer;}

/* Elimino gli smussi dai children */
header .header__nav ul li.menu-item-has-children ul li:first-child a,
header .header__nav ul li.menu-item-has-children ul li:last-child a
{border-radius:0;}

header .header__nav ul li.menu-item-has-children.active-menu ul.sub-menu a{color: #fff; text-shadow: none;background: rgba(0,0,0,0.4);}
header .header__nav ul li.menu-item-has-children.active-menu ul.sub-menu a:hover{background:rgba(0,0,0,1);border-radius: 0;}
header .header__nav ul li.menu-item-has-children a i{transition: .6s;}
header .header__nav ul li.menu-item-has-children.active-menu a i{-ms-transform: rotate(180deg);transform: rotate(180deg);}
header .header__nav ul li.menu-item-has-children ul{margin: 0;padding: 0;position: absolute;left: 0;z-index: 999;border-bottom: 4px solid var(--rosso);display: flex;flex-direction: column;}
header .header__nav ul li.menu-item-has-children ul li{display: none;width: 320px;background: rgba(246,246,246,0.7);margin: 0;}
header .header__nav ul li.menu-item-has-children ul li a{text-align: left;border-bottom: 1px solid #ddd;}
header .header__nav ul li.menu-item-has-children.active-menu ul li{display: block;}
header .header__nav ul li.menu-item-has-children.active-menu ul li{background: rgba(246,246,246,1);}





/* Navbar */
header .navbar {
    width: 40px;
    display: none;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999999;
    transition: all 0.6s;
    order:4;
}

header .navbar span {
    background: #fff;
    height: 6px;
    width: 40px;
    display: block;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
}

header .navbar span:nth-child(2),
header .navbar span:nth-child(3) {
    margin-top: 10px;
}

.is-scrolled header .navbar {
    top: 10px;
}



@media (max-width: 1500px) {
  /* ! header__nav */
header .header__nav{justify-content: flex-end;}
}

@media (max-width: 1450px) {


  /* ! header__nav */
header .header__nav{width: 100%;order: 3;margin-top:-30px;}
}

@media (max-width: 997px) {


  header .header__logo{width: 150px;}
  


  /* ! header__nav */
  header .header__nav{position: fixed;right: -100vw;top: 0;transition: all 1s cubic-bezier(.215,.61,.355,1);z-index: 999999;height: 0;width: 0;display: flex;justify-content: center;}
  
  header .header__nav nav{background: transparent;width: 80%;}
  header .header__nav ul{flex-direction: column;margin-top: 25%;width: 100%;padding: 0;}
  header .header__nav.wide{right: 0;margin: 0;width: 100vw;height: 100vh;background:linear-gradient(to left, var(--rosso) 0%,var(--dblue)) ;overflow-y: scroll;}
  header .header__nav ul li:first-child a{border-bottom-left-radius: 0;border-top-left-radius: 0;margin-top: 50px;}
  header .header__nav ul li a{margin: 0;padding: 15px;}
  header .header__nav ul li a:hover {background: transparent;}

  /* Children */
  header .header__nav ul li.menu-item-has-children ul{position: relative;border:0;}
  header .header__nav ul li.menu-item-has-children ul li{width: auto;background: var(--rosso);width: 100%;}
  header .header__nav ul li.menu-item-has-children ul li a{text-align: center;padding:0 5px;font-size: 1rem;margin:0;}
 

  /* ! Navbar Icon wide */
  header .navbar{display: block;order:2;}
  header .navbar.close span:nth-child(1){transform:rotate(45deg) translateY(13px) translateX(10px);}
  header .navbar.close span:nth-child(2){background: transparent;}
  header .navbar.close span:nth-child(3) {transform: rotate(-45deg) translateY(-13px) translateX(10px);}
}




/* ! Frontpage */

/* ! Main Carousel */
.main-carousel .carousel-cell{width: 100%; height: 80vh;min-height: 600px;text-align: center;margin-right: 30px;display: flex;}
.main-carousel .carousel__caption{width: 80%;position: absolute;bottom: 15%;left: 10%;margin: 0 auto;}
.main-carousel .carousel-cell .seo-title-target {color: #fff;text-align: left;font-size: 3.5rem;font-weight: 700;}
.main-carousel .carousel-cell h2,
.main-carousel .carousel-cell h3{color: #fff;text-align: left;text-transform: none;font-size: 1.5rem;font-weight: 400;}
.main-carousel .carousel-cell h3{font-weight: 300;}

@media (max-width: 997px) {
  .main-carousel .carousel-cell .seo-title-target {font-size: 2rem;}
  .main-carousel .carousel-cell h2,
  .main-carousel .carousel-cell h3{font-size: 1.25rem;}
}

/* ! Frontpage*/
section{margin-top: 50px;margin-bottom: 50px;}
section.slider,
section.slider_blog{margin-top: 0;}




.home .jumbotron__fluid{min-height: 100vh;padding: 150px 0;}
.home .jumbotron__fluid h3 {text-transform: none;display: block;font-size:1.5rem ;text-shadow: 0 0 5px var(--rosso);}
.home .jumbotron__fluid h2{color: #fff}
.home .jumbotron__fluid {
    background: linear-gradient(90deg,rgba(153, 10, 44, 0.8) 0%,rgba(153,10,44,0.8) 50%, rgba(251,186,0,0.5) 100%), url(img/domiciliazione-roma-fori-imperiali-vista.jpg); 
    background-size: cover;
    background-position: center; 


}

.home .carousel-cell{width: 650px; height:650px;border-radius: 99%;border: 2px solid var(--giallo);text-align: center;display: flex;
}




.home section.sedi h3 {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    width: 350px;
    margin: 1rem auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
}

@media only screen and (max-width: 767px) {
  body.home .jumbotron__fluid h2 {font-size: 1.5rem;}
}

/* ! Footer */

footer{background: linear-gradient(to bottom, var(--rosso) 0%,var(--rossoscuro)30%, var(--rossoscuro)70%, var(--rosso)100%);color: #fff;border: 2px solid var(--giallo);}
footer .logo img{margin-top: 15px;height: auto;width: 350px;border: 2px solid (--rosso);border-radius: 5px;}
footer .logo-description {background-color: var(--beige);text-align: center;text-transform: uppercase;width: 350px;color:var(--rosso);}
footer a{color: var(--giallo);}



/* ! Contact footer */
footer h5.title__contact__footer{text-transform: uppercase;margin-top: 50px;margin-left: 15px;margin-bottom: 15px;}
footer .menu__contact__footer  {display: flex;background: transparent;justify-content:flex-start;}
footer .menu__contact__footer ul{display: flex;flex-direction: row;flex-wrap: wrap;list-style: none;padding: 0;margin: 0;font-weight: 500;}
footer .menu__contact__footer ul li:nth-child(2),
footer .menu__contact__footer ul li:nth-child(3)
{margin-left: 10px;}
footer .menu__contact__footer a {
  background-image: url(img/cartelli-piccoli.svg);
  background-color: var(--beige);
  background-size: cover;
  background-position: center;
  width: 112px;
  height: 56px;
  display: block;
  color: var(--rosso);
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  transition: 0.6s;
  cursor: pointer;
}
footer .menu__contact__footer a span{display: block;}
footer .menu__contact__footer a:hover{
    background-image: url(img/cartelli-piccoli.svg);
  background-color: var(--giallo);
}



/* ! Nav Footer */
footer h5.menu__footer__title{text-transform: uppercase;margin-top: 50px;margin-left: 15px;}
footer .nav__footer  {display: flex;background: transparent;justify-content:flex-start;}
footer .nav__footer  {width: 100%;margin: 10px 0;padding: 0;transition: .6s;}
footer .nav__footer nav ul{list-style: none;margin: 0; padding: 0;display: flex;flex-direction: column;margin-left: 10px;}
footer .nav__footer nav ul li a strong{display: block;font-size: 0.8rem;text-transform: none;font-weight: 400;}
footer .nav__footer nav ul li a {
  text-transform: uppercase;
  line-height: 1rem;
  padding: 5px;
  display: block;
  font-size: 1rem;
  margin: 5px;
  color: #fff;
  transition: .6s;
  border: 1px solid transparent;
}

footer .nav__footer nav ul li a:hover {color: #fff;transition: .6s;border: 1px solid var(--rosso);background: var(--rosso);}
footer .nav__footer nav ul li a:before{content: "\f0da ";font-family: "Font Awesome 5 Free";font-weight: 900;color: var(--rosso);padding-right: 2px;transition: .6s;}
footer .nav__footer nav ul li a:hover::before{color: #fff;}





/* ! Form */
footer ul.nav-pills{display: flex; flex-direction: row;border-bottom: 2px solid var(--rosso);margin: 0; padding: 0;list-style: none;}
footer ul.nav-pills li{padding:10px 15px;text-transform: uppercase;border-radius: 5px 0 0 0;transition: 0.6s;cursor: pointer;}
footer ul.nav-pills li.active{background: var(--rosso);color: #fff;}
footer .form-group {margin-bottom: 1rem;}
footer .form-contact-info{display: none;transition: 0.6s; }
footer .form-preventivo{display: none;transition: 0.6s; }
footer .form-contact-info.active{display: block;}
footer .form-preventivo.active{display: block;}
footer .form-contact-info h5,
footer .form-preventivo h5,
footer .ti-chiamiammo-noi h5{text-transform: uppercase;padding: 10px;border-radius: 10px 0 0 0;font-size: 1rem;color: var(--rosso);margin: 0;}
footer h5.form__title{text-transform: uppercase;background: var(--rosso);padding:15px 10px;border-radius: 5px 5px 0 0;}
footer form label {display: inline-block!important;}


/* Form standard formattazione */
.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}
.wpcf7-form-control-wrap {
    position: relative;
}
.form-control{display: block;width: 100%;height: calc(1.5em + .75rem + 2px);padding: .375rem .75rem;font-size: 1rem;line-height: 1.5;color: #495057;background-color: #fff;background-clip: padding-box;border: 1px solid #ced4da;border-radius: .25rem;transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;}
textarea {resize: vertical;}
textarea.form-control{height: auto;}
button, input, optgroup, select, textarea {font-family: inherit;}



/* ! back-to-top */
.back-to-top {
  display: block;
  position: fixed;
  line-height: 1rem;
  bottom:20px;
  left:calc(50% - 25px);
  bottom: 20px;
  visibility: hidden;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  text-align: center;
  padding: 0;
  border-radius: 99px;
  border: 2px solid transparent;
  transition:0.5s;
  background: var(--giallo);
  opacity: 0.7;
  z-index: 999;
}
.back-to-top:hover{opacity: 1;border:2px solid #fff;width: 60px;height: 60px;left:calc(50% - 30px);}
.display-top .back-to-top {visibility: visible;}
.back-to-top a {color: #fff;padding: 0;}
.back-to-top a .top-up {position: absolute;top:10px;left: 0; right: 0; margin: 0 auto;transition:0.5s;}
.back-to-top:hover a .top-up {top:8px;}
.back-to-top a .top-down {position: absolute;top:10px;left: 0; right: 0; margin: 0 auto;transition:0.5s;}
.back-to-top:hover a .top-down {top:22px;}


/* ! Credits */
footer section.credits{padding: 20px 0px;text-align: center;margin: 0;}
footer .credits .ottomedia {text-align: right;padding-top: 50px;padding-bottom: 10px;font-size: 15px;font-weight: 400;display: block;width: 100%;}
footer .credits .ottomedia a span.logo {color: var(--lgreen);}
footer .credits .ottomedia a img {max-width: 100%;height: auto;vertical-align: middle;width: 150px;margin-left: -10px;}



/* ! Media & text home */
section.media__text__special {margin-top: 100px;margin-bottom: 100px;}
section.media__text__special h3{margin: 0;text-transform: uppercase; color: #fff;font-size: 1rem;margin-bottom: 10px;}
section.media__text__special h3 strong{background: var(--rosso); padding: 5px;}
section.media__text__special h4{margin: 0;font-size: 1.5rem;}
section.media__text__special h4::after{
  content: "";
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, var(--red) 0%,var(--dblue));
    margin: 10px 0;
    display: block;
}

section.media__text__special .wp-block-media-text .wp-block-media-text__content {
    background: rgba(240,240,241,0.85);
    padding: 50px;
    z-index: 1;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    border-radius: 15px;
    margin-left: -80px;
}



section.media__text__special .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{
    margin-left: 0;
    margin-right:-80px;
}

@media (max-width: 768px) {
    section.media__text__special .wp-block-media-text .wp-block-media-text__content{padding: 15px;margin-left: 0;border-radius:0 ;}
    section.media__text__special .wp-block-media-text img {border-radius: 0;}
    section.media__text__special .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{margin-right: 0;border-radius: 0;}
}

.home section.media__text__special .wp-block-media-text img{border-radius:15px}

/* ! Single & Page */
article h3,
article h4{margin-bottom: 1rem;}
.jumbotron__fluid{padding: 300px 0 150px 0;min-height: 500px;margin-top: -40px;}
.jumbotron__fluid .center-animated{color:#fff;margin-top: 30px;}
.jumbotron__fluid .center-animated h1{text-transform: uppercase;font-size: 3.5rem;}
.jumbotron__fluid .center-animated h2{font-weight: 400;}
.jumbotron__fluid .center-animated p {text-decoration: none;cursor: pointer;margin-bottom: 0;font-size: 1.1rem;}
.jumbotron__fluid .center-animated p.prezzo{font-style: italic;font-size: 80%;margin: 0;}
.page article h2,
.page article h2 a{text-transform: uppercase;color: var(--black);font-weight: bold;}
.page .wp-block-cover.has-background-dim.border{border: 2px solid var(--rosso);margin-top: 10px;}
article.page h2::before{content: " ";display: block;width: 100px;height: 2px;background: linear-gradient(to right, var(--rosso) 0%,var(--giallo));margin: 30px auto;}
article.page h2:first-child::before{display: none;}

.wp-block-media-text.alignwide{max-width: 1350px;margin: 0 auto;padding-left: 15px;padding-right: 15px;}


/* ! Comments */
.single .comments-area {background: var(--grey); padding: 5px;margin-top: 30px;}
.single .comments-area textarea{width: 100%;}
.single .comments-area p.form-submit input{transition: 0.6s;text-align: center;padding: 10px; border-radius: 5px;background: transparent; border: 2px solid var(--rosso);color: var(--rosso);width: 250px;text-transform: uppercase;font-size: 1rem;display: block;margin-top: 20px;}
.single .comments-area p.form-submit input:hover{color: #fff;background: var(--rosso);}


@media (max-width: 767px)  {
.jumbotron__fluid .center-animated h1{font-size: 2rem;}
}


/* ! Page Schede */
.page-template-page-schede .article{background: #fff;}
.page-template-page-schede .article h2{font-size: 2rem;}
.page-template-page-schede .article h3{margin-bottom: 1rem;}
.page-template-page-schede .article ul{padding-inline-start: 20px; }
.page-template-page-schede .servizi .p-1{background: #fff;}
.page-template-page-schede .servizi h3 {font-size: 1.25rem; color: var(--rosso); border-bottom: 1px solid var(--rosso);}
.page-template-page-schede ul{display: block;list-style-type: disc;margin-block-start: 1em;margin-block-end: 1em;margin-inline-start: 0px;margin-inline-end: 0px;padding-inline-start: 0px;}
.page-template-page-schede .servizi li{list-style: none;display: flex;line-height: 1.5rem;;text-transform: uppercase;}
.page-template-page-schede .servizi .icone {font-size: 1.5rem;color: var(--dblue);min-width: 40px;line-height: 1;text-align: center;}

.page-template-page-schede .servizi table .td{width: 80px;}
.page-template-page-schede img.google,
.page-template-page-schede .servizi table{margin-top: 10px;max-width: 100%;}




/* ! Modal */
.box__modal{position: fixed;width: 80%;height: 85%;top: -212%; right: 5%; background: #f6f6f6;box-shadow: 0 10px 10px rgba(0,0,0,0.5);transition: 0.6s;z-index: 0;transform: perspective(1000px) rotateY(270deg) scale(0);overflow-y: scroll;}
.box__modal .content img{max-height: 50px;}
.box__modal.active{left:15%; transform: perspective(1000px) rotateY(0deg) scale(1);top: 5%;z-index: 999;}
.box__modal .close{position: relative;color: var(--giallo);padding-bottom: 10px; text-align: right;margin-right: 5px;z-index: 9999;font-size: 35px;}
.box__modal .content iframe{display: none;}
.box__modal.active .content iframe{display: block;}
.box__modal .content{position: absolute;top: 0; left: 0;width: 100%;height: 100%;padding: 5%;box-sizing: border-box;}
.box__modal .content h5{text-transform: uppercase;padding-top: 10px; margin-bottom: 15px; text-align: center;color: var(--rosso);}
.box__modal .content input.button{border:2px solid var(--rosso);color: var(--rosso);transition: 0.6s;}
.box__modal .content input.button:hover{color: #fff;background: var(--rosso);}

@media (max-width: 576px) {
  .box__modal .content img{max-height: 50px;}
  .box__modal .close{font-size: 15px;}
}





/* ! Animate */
:root {--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1;}
.animated {animation-duration: var(--animate-duration);animation-fill-mode: both;}

@keyframes bounceOutLeft {
  20% {opacity: 1;transform: translate3d(20px, 0, 0) scaleX(0.9);}
  to {opacity: 0;transform: translate3d(-2000px, 0, 0) scaleX(2);}
}
.bounceOutLeft {animation-name: bounceOutLeft;}

@keyframes bounceInLeft {from,60%,75%,90%,
  to {animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);}
  0% {opacity: 0;transform: translate3d(-3000px, 0, 0) scaleX(3);}
  60% {opacity: 1;transform: translate3d(25px, 0, 0) scaleX(1);}
  75% {transform: translate3d(-10px, 0, 0) scaleX(0.98);}
  90% {transform: translate3d(5px, 0, 0) scaleX(0.995);}
  to {transform: translate3d(0, 0, 0);}
}
.bounceInLeft {animation-name: bounceInLeft;}

@keyframes bounceInRight {from,60%,75%,90%,
  to {animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);}
  from {opacity: 0;transform: translate3d(3000px, 0, 0) scaleX(3);}
  60% {opacity: 1;transform: translate3d(-25px, 0, 0) scaleX(1);}
  75% {transform: translate3d(10px, 0, 0) scaleX(0.98);}
  90% {transform: translate3d(-5px, 0, 0) scaleX(0.995);}
  to {transform: translate3d(0, 0, 0);}
}
.bounceInRight {  animation-name: bounceInRight;}


@keyframes lightSpeedInRight {
  from {transform: translate3d(100%, 0, 0) skewX(-30deg);opacity: 0;}
  60% {transform: skewX(20deg);opacity: 1;}
  80% {transform: skewX(-5deg);}
  to {transform: translate3d(0, 0, 0);}
}
.lightSpeedInRight {animation-name: lightSpeedInRight;animation-timing-function: ease-out;}

@keyframes zoomInDown {
  from {opacity: 0;transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);}
  60% {opacity: 1;transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);}
}

/* ! col & row */
.row {display: -ms-flexbox;display: flex;-ms-flex-wrap: wrap;flex-wrap: wrap;margin-right: -15px;margin-left: -15px;}
.no-gutters {margin-right: 0;margin-left: 0;}
.no-gutters > .col,
.no-gutters > [class*="col-"] {padding-right: 0;padding-left: 0;}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {position: relative;width: 100%;padding-right: 15px;padding-left: 15px;}
.col-1 {-ms-flex: 0 0 8.333333%;flex: 0 0 8.333333%;max-width: 8.333333%;}
.col-2 {-ms-flex: 0 0 16.666667%;flex: 0 0 16.666667%;max-width: 16.666667%;}
.col-3 {-ms-flex: 0 0 25%;flex: 0 0 25%;max-width: 25%;}
.col-4 {-ms-flex: 0 0 33.333333%;flex: 0 0 33.333333%;max-width: 33.333333%;}
.col-5 {-ms-flex: 0 0 41.666667%;flex: 0 0 41.666667%;max-width: 41.666667%;}
.col-6 {-ms-flex: 0 0 50%;flex: 0 0 50%;max-width: 50%;}
.col-7 {-ms-flex: 0 0 58.333333%;flex: 0 0 58.333333%;max-width: 58.333333%;}
.col-8 {-ms-flex: 0 0 66.666667%;flex: 0 0 66.666667%;max-width: 66.666667%;}
.col-9 {-ms-flex: 0 0 75%;flex: 0 0 75%;max-width: 75%;}
.col-10 {-ms-flex: 0 0 83.333333%;flex: 0 0 83.333333%;max-width: 83.333333%;}
.col-11 {-ms-flex: 0 0 91.666667%;flex: 0 0 91.666667%;max-width: 91.666667%;}
.col-12 {-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;}
.justify-content-center{-ms-flex-pack: center!important;justify-content: center!important;}



/* ! Smartphone  columns*/
@media (min-width: 576px) {
  .col-sm-1 {-ms-flex: 0 0 8.333333%;flex: 0 0 8.333333%;max-width: 8.333333%;}
  .col-sm-2 {-ms-flex: 0 0 16.666667%;flex: 0 0 16.666667%;max-width: 16.666667%;}
  .col-sm-3 {-ms-flex: 0 0 25%;flex: 0 0 25%;max-width: 25%;}
  .col-sm-4 {-ms-flex: 0 0 33.333333%;flex: 0 0 33.333333%;max-width: 33.333333%;}
  .col-sm-5 {-ms-flex: 0 0 41.666667%;flex: 0 0 41.666667%;max-width: 41.666667%;}
  .col-sm-6 {-ms-flex: 0 0 50%;flex: 0 0 50%;max-width: 50%;}
  .col-sm-7 {-ms-flex: 0 0 58.333333%;flex: 0 0 58.333333%;max-width: 58.333333%;}
  .col-sm-8 {-ms-flex: 0 0 66.666667%;flex: 0 0 66.666667%;max-width: 66.666667%;}
  .col-sm-9 {-ms-flex: 0 0 75%;flex: 0 0 75%;max-width: 75%;}
  .col-sm-10 {-ms-flex: 0 0 83.333333%;flex: 0 0 83.333333%;max-width: 83.333333%;}
  .col-sm-11 {-ms-flex: 0 0 91.666667%;flex: 0 0 91.666667%;max-width: 91.666667%;}
  .col-sm-12 {-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;}
  .offset-sm-0 {margin-left: 0;}
  .offset-sm-1 {margin-left: 8.333333%;}
  .offset-sm-2 {margin-left: 16.666667%;}
  .offset-sm-3 {margin-left: 25%;}
  .offset-sm-4 {margin-left: 33.333333%;}
  .offset-sm-5 {margin-left: 41.666667%;}
  .offset-sm-6 {margin-left: 50%;}
  .offset-sm-7 {margin-left: 58.333333%;}
  .offset-sm-8 {margin-left: 66.666667%;}
  .offset-sm-9 {margin-left: 75%;}
  .offset-sm-10 {margin-left: 83.333333%;}
  .offset-sm-11 {margin-left: 91.666667%;}
}

@media (min-width: 768px) {
  .col-md-1 {-ms-flex: 0 0 8.333333%;flex: 0 0 8.333333%;max-width: 8.333333%;}
  .col-md-2 {-ms-flex: 0 0 16.666667%;flex: 0 0 16.666667%;max-width: 16.666667%;}
  .col-md-3 {-ms-flex: 0 0 25%;flex: 0 0 25%;max-width: 25%;}
  .col-md-4 {-ms-flex: 0 0 33.333333%;flex: 0 0 33.333333%;max-width: 33.333333%;}
  .col-md-5 {-ms-flex: 0 0 41.666667%;flex: 0 0 41.666667%;max-width: 41.666667%;}
  .col-md-6 {-ms-flex: 0 0 50%;flex: 0 0 50%;max-width: 50%;}
  .col-md-7 {-ms-flex: 0 0 58.333333%;flex: 0 0 58.333333%;max-width: 58.333333%;}
  .col-md-8 {-ms-flex: 0 0 66.666667%;flex: 0 0 66.666667%;max-width: 66.666667%;}
  .col-md-9 {-ms-flex: 0 0 75%;flex: 0 0 75%;max-width: 75%;}
  .col-md-10 {-ms-flex: 0 0 83.333333%;flex: 0 0 83.333333%;max-width: 83.333333%;}
  .col-md-11 {-ms-flex: 0 0 91.666667%;flex: 0 0 91.666667%;max-width: 91.666667%;}
  .col-md-12 {-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;}
  .offset-md-0 {margin-left: 0;}
  .offset-md-1 {margin-left: 8.333333%;}
  .offset-md-2 {margin-left: 16.666667%;}
  .offset-md-3 {margin-left: 25%;}
  .offset-md-4 {margin-left: 33.333333%;}
  .offset-md-5 {margin-left: 41.666667%;}
  .offset-md-6 {margin-left: 50%;}
  .offset-md-7 {margin-left: 58.333333%;}
  .offset-md-8 {margin-left: 66.666667%;}
  .offset-md-9 {margin-left: 75%;}
  .offset-md-10 {margin-left: 83.333333%;}
  .offset-md-11 {margin-left: 91.666667%;}
}

@media (min-width: 992px) {
.col-lg-1 {-ms-flex: 0 0 8.333333%;flex: 0 0 8.333333%;max-width: 8.333333%;}
.col-lg-2 {-ms-flex: 0 0 16.666667%;flex: 0 0 16.666667%;max-width: 16.666667%;}
.col-lg-3 {-ms-flex: 0 0 25%;flex: 0 0 25%;max-width: 25%;}
.col-lg-4 {-ms-flex: 0 0 33.333333%;flex: 0 0 33.333333%;max-width: 33.333333%;}
.col-lg-5 {-ms-flex: 0 0 41.666667%;flex: 0 0 41.666667%;max-width: 41.666667%;}
.col-lg-6 {-ms-flex: 0 0 50%;flex: 0 0 50%;max-width: 50%;}
.col-lg-7 {-ms-flex: 0 0 58.333333%;flex: 0 0 58.333333%;max-width: 58.333333%;}
.col-lg-8 {-ms-flex: 0 0 66.666667%;flex: 0 0 66.666667%;max-width: 66.666667%;}
.col-lg-9 {-ms-flex: 0 0 75%;flex: 0 0 75%;max-width: 75%;}
.col-lg-10 {-ms-flex: 0 0 83.333333%;flex: 0 0 83.333333%;max-width: 83.333333%;}
.col-lg-11 {-ms-flex: 0 0 91.666667%;flex: 0 0 91.666667%;max-width: 91.666667%;}
.col-lg-12 {-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;}
.offset-lg-0 {margin-left: 0;}
.offset-lg-1 {margin-left: 8.333333%;}
.offset-lg-2 {margin-left: 16.666667%;}
.offset-lg-3 {margin-left: 25%;}
.offset-lg-4 {margin-left: 33.333333%;}
.offset-lg-5 {margin-left: 41.666667%;}
.offset-lg-6 {margin-left: 50%;}
.offset-lg-7 {margin-left: 58.333333%;}
.offset-lg-8 {margin-left: 66.666667%;}
.offset-lg-9 {margin-left: 75%;}
.offset-lg-10 {margin-left: 83.333333%;}
.offset-lg-11 {margin-left: 91.666667%;}
}

@media (min-width: 1200px) {
  .col-xl-1 {-ms-flex: 0 0 8.333333%;flex: 0 0 8.333333%;max-width: 8.333333%;}
  .col-xl-2 {-ms-flex: 0 0 16.666667%;flex: 0 0 16.666667%;max-width: 16.666667%;}
  .col-xl-3 {-ms-flex: 0 0 25%;flex: 0 0 25%;max-width: 25%;}
  .col-xl-4 {-ms-flex: 0 0 33.333333%;flex: 0 0 33.333333%;max-width: 33.333333%;}
  .col-xl-5 {-ms-flex: 0 0 41.666667%;flex: 0 0 41.666667%;max-width: 41.666667%;}
  .col-xl-6 {-ms-flex: 0 0 50%;flex: 0 0 50%;max-width: 50%;}
  .col-xl-7 {-ms-flex: 0 0 58.333333%;flex: 0 0 58.333333%;max-width: 58.333333%;}
  .col-xl-8 {-ms-flex: 0 0 66.666667%;flex: 0 0 66.666667%;max-width: 66.666667%;}
  .col-xl-9 {-ms-flex: 0 0 75%;flex: 0 0 75%;max-width: 75%;}
  .col-xl-10 {-ms-flex: 0 0 83.333333%;flex: 0 0 83.333333%;max-width: 83.333333%;}
  .col-xl-11 {-ms-flex: 0 0 91.666667%;flex: 0 0 91.666667%;max-width: 91.666667%;}
  .col-xl-12 {-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;}
  .offset-xl-0 {margin-left: 0;}
  .offset-xl-1 {margin-left: 8.333333%;}
  .offset-xl-2 {margin-left: 16.666667%;}
  .offset-xl-3 {margin-left: 25%;}
  .offset-xl-4 {margin-left: 33.333333%;}
  .offset-xl-5 {margin-left: 41.666667%;}
  .offset-xl-6 {margin-left: 50%;}
  .offset-xl-7 {margin-left: 58.333333%;}
  .offset-xl-8 {margin-left: 66.666667%;}
  .offset-xl-9 {margin-left: 75%;}
  .offset-xl-10 {margin-left: 83.333333%;}
  .offset-xl-11 {margin-left: 91.666667%;}
}



/* ! Flickity v2.2.2 */

.flickity-enabled {position: relative;}
.flickity-enabled:focus { outline: none; }
.flickity-viewport {overflow: hidden;position: relative;height: 100%}
.flickity-slider {position: absolute;width: 100%;height: 100%;}

/* draggable */
.flickity-enabled.is-draggable {-webkit-tap-highlight-color: transparent;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}
.flickity-enabled.is-draggable .flickity-viewport {cursor: move;cursor: -webkit-grab;cursor: grab;}
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {cursor: -webkit-grabbing;cursor: grabbing;}

/* ---- flickity-button ---- */
.flickity-button {position: absolute;background: hsla(0, 0%, 100%, 0.75);border: none;color: #333;}
.flickity-button:hover {background: white;cursor: pointer;}
.flickity-button:focus {outline: none;box-shadow: 0 0 0 5px #19F;}
.flickity-button:active {opacity: 0.6;}
.flickity-button:disabled {opacity: 0.3;cursor: auto;pointer-events: none;}
.flickity-button-icon {fill: currentColor;}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {top: 50%;width: 44px;height: 44px;border-radius: 50%;transform: translateY(-50%);}
.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }

/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {left: auto;right: 10px;}
.flickity-rtl .flickity-prev-next-button.next {right: auto;left: 10px;}
.flickity-prev-next-button .flickity-button-icon {position: absolute;left: 20%;top: 20%;width: 60%;height: 60%;}

/* ---- page dots ---- */
.flickity-page-dots {position: absolute;width: 100%;bottom: 25px;padding: 0;margin: 0;list-style: none;text-align: center;line-height: 1;}
.flickity-rtl .flickity-page-dots { direction: rtl; }
.flickity-page-dots .dot {display: inline-block;width: 8px;height: 8px;margin: 0 4px;background:#fff;opacity: 0.5;cursor: pointer;}
.flickity-page-dots .dot.is-selected {opacity: 1;background: var(--giallo)}

/* End Flickity */