/*
Federico Benvenuto
www.fedegrafia.com

// Scala colori 

#1A6D24 verde primario
#A2A633 secondo verde
#8C7607
#D9B471
#BF6C06 marrone
#8C3503

*/

/* FONTS IN LOCALE vedi issues 
================================================== */
/* montserrat-regular - latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: local(""),
    url("../fonts/montserrat-v25-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/montserrat-v25-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-500 - latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: local(""), url("../fonts/montserrat-v25-latin-500.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/montserrat-v25-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-800 - latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  src: local(""), url("../fonts/montserrat-v25-latin-800.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/montserrat-v25-latin-800.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-100 - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  src: local(""), url("../fonts/roboto-v30-latin-100.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/roboto-v30-latin-100.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-300 - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: local(""), url("../fonts/roboto-v30-latin-300.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/roboto-v30-latin-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../fonts/roboto-v30-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/roboto-v30-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  src: local(""), url("../fonts/poppins-v20-latin-300.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/poppins-v20-latin-300.woff")
      format("woff"); /* Modern Browsers */
}

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: local(""),
    url("../fonts/poppins-v20-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/poppins-v20-latin-regular.woff")
      format("woff"); /* Modern Browsers */
}

/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: local(""), url("../fonts/poppins-v20-latin-500.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/poppins-v20-latin-500.woff")
      format("woff"); /* Modern Browsers */
}

body {
  -webkit-font-smoothing: antialiased;
  /* Fix for webkit rendering */
  -webkit-text-size-adjust: 100%;
}

/* inizio css personalizzato 
================================================== */

body {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  /* serve per non far nascondere parte superiore carousel */
  color: #646464;
}

#header {
  background-color: #fff;
}

/* #Typography
================================================== */
.verde {
  color: #1a6d24;
}

#benedizione .lead {
  color: #b7b935;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-weight: inherit;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  text-decoration: underline;
}

h1 {
  margin-bottom: 1.5rem;
  color: #1a6d24;
  font-weight: bolder;
}

h2,
h3,
h4,
h5 {
  margin-bottom: 1.5rem;
  color: #1a6d24;
}

h3.notizie {
  margin-bottom: 1.5rem;
  color: #919f7c !important;
  font-size: 1.6rem;
}

h6 {
  color: #1a6d24;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 1.5rem;
}

em,
i {
  font-style: italic;
}

b,
strong {
  font-weight: 500;
  /*color: #518a72!important;*/
  color: #55c124 !important;
}

/* LINK BOTTONI 
================================================== */

a.btn:link,
a.btn:visited {
  text-decoration: none;
  outline: 0;
  color: rgb(248, 248, 248) !important;
}

a.btn:focus,
a.btn:hover {
  text-decoration: none;
  outline: 0;
  color: rgb(255, 255, 255) !important;
}

a.orari:link,
a.orari:hover {
  text-decoration: underline;
  outline: 0;
  color: rgb(248, 232, 88) !important;
}

a.orari:visited {
  text-decoration: underline;
  outline: 0;
  color: #fff !important;
}

/* LINKS
================================================== */

a,
a:link,
a:visited,
a:focus {
  text-decoration: none;
  outline: 0;
  color: #1a6d24 !important;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.4rem;
  color: #457c47 !important;
}

/* MENU PRINCIPALE 
================================================== */
.bg-light {
  background-color: #ffffff !important;
}

.navbar {
  padding-bottom: 2rem !important;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
}

.navbar-nav {
  margin-left: 5rem;
}

/* transazione su scoll menu  */
.navbar {
  /* -webkit-transition: all 0.4s ease;
   transition: all 0.4s ease;
  text-transform: uppercase;*/
  font-size: 1rem;
}

.nav-link.active {
  color: #b7b935 !important;
}

.nav-link:hover {
  color: #b7b935 !important;
}

/* DA USARE SE VOGLIO EFFETTI SCROLL SU MENU
rende parzialmente trasparente il menu quando scrollo  */
.transparent {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

/* animazione su logo allo scroll 
.transparent img{
  width: 105px;
  height: 52px;
  animation-name: moveInRight;
animation-duration: .7s;
animation-timing-function: ease-out;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 0;
}
*/
/*
.mobile-nav-toggle {
  color: #820f0f;
}*/

/* definiamo le animazioni */ /*
@Keyframes moveInRight {
/* quando animazione inizia */
/*
0% {
opacity: 0;
transform: translateX(40px);
}
/* stato intermedio, possiamo usare qualsiasi percentuale **/ /*
100% {
transform: translate(0);
}

}*/

/* scroll to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
}

.orari h2,
h3,
h4,
h5 {
  margin-bottom: 1.5rem;
  color: #ebebeb;
}

/* FORM CONTATTI
================================================== */

/* controlla i colori del focus del contact form */
.form-control:focus {
  color: #777;
  background-color: #fff;
  border-color: #395004;
  outline: 0;
  box-shadow: 0 0 0 0.2rem #3ab42f73;
}

#exampleCheck1 {
  margin-left: -1rem;
  margin-right: 2rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* sposta la scritta acconsento */
.form-check-label {
  margin-top: -2.2rem;
  margin-left: 1.5rem;
}

label {
  margin-top: 2rem;
}

/* avviso spedizione mail corretta */
.green {
  color: rgb(21, 75, 39);
}

/* per correggere il bordo dell'hamburger menu */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  /*box-shadow: none; se voglio eliminarlo del tutto */
  box-shadow: 1px 1px 1px 1px #12a112;
}

/* messaggio errore recaptcha */
h2.errore {
  color: #b31e3d !important;
}
