/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */


    /*
    ITC Avant Garde Gothic Pro Book
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 300;
    font-style: normal;
    ITC Avant Garde Gothic Pro Medium
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 500;
    font-style: normal;
    ITC Avant Garde Gothic Pro Bold
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
     */

:root {
  --rosso: #ff5279;
  --grigio: #f5f5f0;
  --blu2: #3a4c6e;
  --blu: #2D3044;
  --verde: #1ce394;
  --viola: #575ef2;
  --giallo: #ff991f;
}

body {
  color: #5a5a5a;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
}

/* TEXT
-------------------------------------------------- */
a {transition: all 0.5s ease;}
h1, h2, h3, h4 {font-weight: 300;}
p {
  color: var(--blu);
  font-weight: 300;
}
.mono {
  font-family:'Space Mono';
}
.titolo-paragrafo {
font-size:18px;
color:var(--blu);
margin-top:50px;
font-family:'Space Mono';
font-style:normal;
font-weight:400;
margin-bottom: 30px;
text-transform: uppercase;
}
.titolo-paragrafo::after {
  content: "";
    height: 0.5em;
    z-index: -1;
    display: block;
    width: 50px;
    margin-top: 10px;
}
.linearossa::after {
    border-top: 4px solid var(--rosso);
}
.lineaverde::after {
    border-top: 4px solid var(--verde);
}
.lineaviola::after {
  border-top: 4px solid var(--viola);
}
.text-big {
  font-size: 2em;
  line-height: 1.1em;
  font-weight: 300;
}
.text-medio {
  font-size: 1.5em;
  line-height: 1.2em;
  font-weight: 300;
}
.text-rosso {
  color: var(--rosso);
}
.text-blu {
  color: var(--blu);
}
.text-giallo {
  color: var(--giallo);
}

.button:hover .text-giallo {
  color: var(--viola);
}
.text-verde {
  color: var(--verde);
}
.text-viola {
  color: var(--viola);
}
.bold {
  font-weight: 400!important;
}
.black {
  font-weight: 600!important;
  letter-spacing: 0.5px;
}
.small {
  font-size: 0.9em;
}
.link-medio {
  text-decoration: underline;
  color: var(--rosso);
  font-weight: 400;
  font-size: 1.2em;
}
.link-medio:hover {
  color: var(--blu);
}
dl.lista-servizi {
  text-align: center;
  line-height: 1.2em;
}
dl.lista-servizi dt {color: var(--rosso); text-transform: uppercase; font-weight: 300; margin-bottom: 30px; font-family: "Space Mono", sans-serif;}
dl.lista-servizi dd {color: var(--blu); font-weight: 300; margin-bottom: 10px;}
dl.lista-servizi dd::after {
  content: "";
    height: 0.5em;
    border-top: 2px solid var(--rosso);
    z-index: -1;
    display: block;
    width: 32px;
    left: 50%;
    margin-left: -16px;
    margin-top: 10px;
    position: relative;
}

.intro-news {
    font-weight: 300;
    font-size: 1.4em;
}

ul.menufooter {
  list-style-type: none;
  font-weight: 300;
  font-size: .8em;
  line-height: 1.2em;
  letter-spacing: 0.4px;
  padding: 0;
}
ul.menufooter li {
  margin-bottom: 5px;
}
.indirizzo {
  font-size: 0.8em;
}
ul.mypratiche-list {
  list-style-type: none;
  font-weight: 300;
  padding: 0;
}
.keyword {
  font-size: 2em;
  line-height: 1.1em;
  color: #ffffff;
}
.keyword-icon {
  /* width:58px; */
  height:35px;
}

@media (min-width: 576px) {
  .text-medio {
    font-size: 1.8em;
  }
}

@media screen and (min-width: 950px) {
  .keyword {
    font-size: 3em;
    line-height: 1.2em;
  }
  .keyword-icon {
    /* width:58px; */
    height:52px;
  }
}


/* NAVBAR
-------------------------------------------------- */
.navbar,
.dropdown-menu {
    transition: all 0.5s ease;
}

.navbar-scrolled,
.navbar-blu {
  background-color: rgba(38,44,56, .94)!important;
  /* box-shadow: 0 3px 10px rgba(0,0,0, .15); */
}
.toggler-mycasa,
.toggler-mycasa:active,
.toggler-mycasa:checked,
.toggler-mycasa:focus {
  border: none;
  color: rgba(255,255,255,1)!important;
  box-shadow: none;
}

.navbar-dark.navbar-mycasa .navbar-nav .nav-link {
      color: rgba(255,255,255,1);
      font-weight: 300;
      letter-spacing: 0.5px;
}
.navbar-dark.navbar-mycasa .navbar-nav .nav-link:hover {
      color: var(--rosso);

}

/* MENU
-------------------------------------------------- */
.dropdown-menu {
  left: auto!important;
  background-color: rgba(38,44,56, 0);
  color: #ffffff;
  border-radius: 0;
  margin-top:0!important;
  top:auto!important;
  border: 0;
}
.dropdown-item {
  color: #ffffff;
  font-weight: 100;
}
.dropdown-item:hover {
  color: var(--rosso);
  font-weight: 100;
  background: none;
}
.nav-link.dropdown-toggle.show {
  /* background-color: rgba(38,44,56, .94); */
}

@media (min-width: 576px) {
  .dropdown-menu {
    background-color: rgba(38,44,56, .94);
    transition: all 0.5s ease;
  }
  .nav-link.dropdown-toggle.show {
    background-color: rgba(38,44,56, .94);
  }
  
}
@media (min-width: 768px) {
  .nav-link {
    padding: 1rem .75rem!important;
  }
  .navbar {
    padding-top: 0;
    padding-bottom:0;
  }
}



/* ITEMS
-------------------------------------------------- */

.back-grigio {
  background-color: var(--grigio);
}
.back-blu {
  background-color: var(--blu);
}
.back-viola {
  background-color: var(--viola);
}
.back-rosso {
  background-color: var(--rosso);
}
.intro-grigia {
  border-bottom-left-radius,
  border-bottom-right-radius: 30px!important;
}
.intro-grigia::after{
  content: "";
      display: block;
      margin: 0 auto;
      background-image: url('../img/freccia-grigia.png');
      background-repeat: no-repeat;
      background-position: center top;
      height: 50px;
      position: relative;

 /* left: 50%; */
/* margin-left: -50px; */
}

ul {
  list-style-type: none;
}
.bollo {
  background-color: var(--grigio);
  text-align: center;
  border-radius: 50%;
  transition: all ease 0.4s;
  color: var(--blu);
  float: left;
  margin: 15px 15px;
}
.bollo a {
  display: block;
  width: 240px;
  height: 240px;
  padding-top: 50px;
  text-decoration: none;
  color: var(--blu);
}
.bollo a:hover {
  color: white;
}
.icon-ristrutturazione {
background-image: url('../img/icon_ristrutturazione.svg');
}
.bollo a:hover .icon-ristrutturazione {
  background-image: url('../img/icon_ristrutturazione_over.svg');
}
.icon-riqualificazione {
  background-image: url('../img/icon_riqualificazione.svg');
}
.bollo a:hover .icon-riqualificazione {
  background-image: url('../img/icon_riqualificazione_over.svg');
}
.icon-consulenza {
  background-image: url('../img/icon_consulenza.svg');
}
.bollo a:hover .icon-consulenza {
  background-image: url('../img/icon_consulenza_over.svg');
}
.icon-mypratiche {
  background-image: url('../img/icon_my-pratiche.svg');
}
.bollo a:hover .icon-mypratiche {
  background-image: url('../img/icon_my-pratiche_over.svg');
}
.bollo-icon {
      display: block;
      height: 80px;
      margin: 0 auto 10px auto;
      position: relative;
      width: 160px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center center;
}
.bollo:hover {
  color: #fff;
  background-color: var(--rosso);
}
.bollo.bollo-viola {
  background-color: var(--viola);
}
.bollo.bollo-viola:hover {
  background-color: var(--giallo);
}
.bollo.bollo-viola a {
  color: #ffffff;
}
@media (min-width: 560px) {
  .bollo a {
    width: 260px;
    height: 260px;
    padding-top: 80px;
  }
}
@media (min-width: 768px) {
  .bollo a {
    width: 300px;
    height: 300px;
    padding-top: 80px;
  }
}
@media (min-width: 1000px) {
  .bollo a {
    width: 210px;
    height: 210px;
    padding-top: 40px;
  }
}
@media (min-width: 1200px) {
.bollo a {
  width: 240px;
  height: 240px;
  padding-top: 50px;
}
}
/* .bollo {
  width: 90%;
  aspect-ratio: auto 1 / 1;
  border-radius: 50%;
  background-color: var(--grigio);
  transition: all ease 0.4s;
}
a .bollo:hover {
  background-color: var(--verde);
  color: #ffffff;
}

.bollo-inner {
  padding-top:24%;
  padding-left: 14%;
  padding-right: 14%;
  padding-bottom: 0%;
}
.bollo-inner p {
  color: var(--blu);
  margin-top: 20px;
  font-size: 1.2em;
  line-height: 1.1em;
  text-decoration: none;
}
.bollo-inner p a {
  text-decoration: none;
}
a .bollo .bollo-inner p {
  color: var(--giallo);
}
.bollo-viola .bollo-inner p {
  color: #ffffff;
}
.logo-bollo-mypratiche {
width:150px;
}
.logo-bollo-mypratiche-br {
display: none;
}
@media screen and (max-width: 1350px) and (min-width: 950px) {
  .bollo-inner p {
    font-size: .9em;
    line-height: 1.1em;
  }
   .logo-bollo-mypratiche {
width:120px;  }
} */

.header-testo {
  padding-top: 7em;
  padding-bottom: 3em;
}
footer, footer p {
  color: var(--grigio);
}
footer a, footer p a {
  color: var(--grigio);
  text-decoration: none;
}
footer a:hover, footer p a:hover {
  color: var(--rosso);
  text-decoration: none;
}
/* BUTTONS
-------------------------------------------------- */
.button {
color: #ffffff;
font-family: "itc-avant-garde-gothic-pro";
font-style: normal;
font-weight: 300;
transition: all 0.5s ease;
}
a.button, a.button:active, a.button:visited, a.button:link {text-decoration: none;}
.btn-rosso {background-color: var(--rosso);}
.btn-verde {background-color: var(--verde);}
.btn-viola {background-color: var(--viola);}
.btn-giallo {background-color: var(--giallo);}
.btn-bianco {background-color: #ffffff; color: var(--blu);}
.btn-grande {padding: 15px 20px; border-radius: 30px;}
.btn-piccolo {font-size: .8em; padding: 5px 15px; border-radius: 20px;}
.btn-medio {font-size: .9em; padding: 7px 15px; border-radius: 20px;}

a.button:hover,
a.button.btn-rosso:hover,
a.button.btn-verde:hover
{background-color: var(--blu);color: #ffffff; text-decoration: none;}
a.button.btn-viola:hover
{background-color: var(--giallo);color: #ffffff; text-decoration: none;}
a.button.btn-giallo:hover
{background-color: #ffffff;color: var(--giallo); text-decoration: none;}

/* TEAM
-------------------------------------------------- */

.team-nome {
  text-transform: uppercase;
  font-size: 1.4em;
  font-weight: 400;
  margin-bottom: 0;
}
.team-descrizione {
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: 300;
  margin-top: 0;
  color: var(--rosso);
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 0;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 4rem;
  z-index: 10;
  right: 10%;
  left: 10%;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}

.gradient {
  background-image: linear-gradient(to right, rgba(20,30,40,1) 0%, rgba(38,44,56,.7) 80%, rgba(255,0,0,0) 100%);
   mix-blend-mode: multiply;
}
.text-start {
  background: url('../img/Virgolette.png') top left no-repeat;
  background-size: 70px;
  padding-left: 30px;
  padding-top: 20px;
}


@media (min-width: 576px) {
  .text-start {
    background-size: 100px;
    padding-left: 50px;
    padding-top: 30px;
  }
}

/* RESPONSIVE CSS
-------------------------------------------------- */

.visible {display: none;}

.navbar-dark.navbar-mycasa {
background-color: rgba(38,44,56, .92);
}

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .carousel-caption {
    right: 15%;
    left: 15%;
    bottom:5rem;
  }
  .featurette-heading {
    font-size: 50px;
  }
  .visible {display: inline-block;
  }
  .navbar-dark.navbar-mycasa {
    background: none;
  }
  .text-big {
    font-size: 2.5em;
    line-height: 1.1em;
    font-weight: 300;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}