* { font-family: 'Montserrat', sans-serif;}
body, html {
	height: 100%;
  	background-color: #fff;
  	color: #333;
	font-family: 'Montserrat', sans-serif;

}

p,ul,li,form,input,label {font-size: 18px; line-height: 1.5em}
h1 { font-size: 30px; font-family: 'Fredoka One', cursive;}
h2{ font-size: 25px; font-family: 'Fredoka One', cursive;}
h4 { font-size: 20px; font-family: 'Fredoka One', cursive;}
h2 a { font-family: 'Fredoka One', cursive;}
h3 { font-size: 20px; font-family: 'Fredoka One', cursive;}
img { margin: 0 !important}
a { color:#d61b08 }
footer { background: #d61b08;}
footer p, footer a { font-size: 16px; color: #fff}
footer .info p, footer .info a { font-size: 12px; color: #fff}
footer h4 { color: #fff; font-size: 30px; font-family: 'Fredoka One',cursive;}
footer ul { list-style: none; padding: 0; margin: 0;}
footer li { margin-bottom: 10px}
footer li a { color: #fff; font-size: 20px; font-family: 'Fredoka One',cursive; text-decoration: none;}

h2 a { text-decoration: none;}

.m0 {margin:0}
.margin-b10 { margin-bottom:10px}
.margin-tb10 { margin-bottom:10px; margin-top:10px}
.margin-b20 { margin-bottom:20px}
.margin-b5 { margin-bottom:5px}
.margin-t10 { margin-top:10px}
.margin-t20 { margin-top:20px}
.margin-t40 { margin-top:40px}
.margin-t50 { margin-top:50px}
.margin-t60i { margin-top:60px !important}
.margin-t100 { margin-top:100px}
.margin-t180 { margin-top:180px}
.margin-auto, .margin-auto div { margin-left: auto; margin-right: auto;}
.fm {margin:5px 0 5px 0; width:100%; height:auto}
.padding-10{ padding: 10px}
.padding-20{ padding: 20px}
.padding-tb10 { padding-bottom:10px; padding-top:10px}
.padding-lr20 { padding-left:20px; padding-right:20px}
.padding-lr10 { padding-left:10px; padding-right:10px}
.container-calcolatore { border-radius: 5px; background: #eee; padding:20px}
img{ border-radius: 15px;}
.iubenda-tp-btn,.iubenda-tp-btn[data-tp-float][data-tp-float=bottom-right], .iubenda-tp-btn[data-tp-float][data-tp-float=top-right] { display: none !important; visibility: hidden !important; }
.descrizione img {width:100%; height: auto !important}
.padre{ display: flex;
  justify-content: center;
  align-items: center;}
.titolopagina h1,.titolopagina h2{ font-size:42px; color: #fff; text-align: center; z-index: 2; position: relative; width: 90%; margin: 0 auto}
.titolopagina .conth1but {z-index: 2;}
.titolopagina h1 a,.titolopagina h2 a { font-family: 'Fredoka One', cursive;}
.titolopagina p { color: #fff; text-align: center; margin: 0 auto; z-index: 2; position: relative; width: 90%;}
.titolopagina a {text-decoration: none; color: #fff;}
.titolopagina{ border-radius: 15px;position: relative; height: 400px}
.titolopagina .scuro {background: #222; opacity: .5; position: absolute; width:100%; height: 100%; z-index: 1; border-radius: 15px;}
.contstorie {
	width: 100%;
    height: 10px!important;
		display: block;
		margin: 70px auto 0 auto;
}
.container {
  max-width: 1140px;
  margin: 60px auto 0 auto;
  padding: 10px;
		position: relative;
		z-index: 0;
}
.container.homepg {margin: 20px auto 0 auto;}
@media(max-width: 640px) {.container {margin:0 auto;}.container.homepg {margin: 0 auto;}}
@media(min-width: 768px) and (max-width: 1024px) {.container {margin:0 auto;}.container.homepg {margin: 0 auto;}}

.center.slider{
	margin: 80px auto 0 auto;
  width:100%;
	max-height: 600px;
}
@media(max-width: 640px) {.center.slider {margin:0 auto;}}
@media(min-width: 768px) and (max-width: 1024px) {.center.slider {margin:0 auto;}}

.slick-slide{
  margin:10px;
}
.contslide{
  border-radius:8px;
}
.slick-slide img{
  width:100%;
}
.slick-slide .scuro {background: #222; opacity: .4; position:absolute; width:100%; height: 100%; z-index: 1;border-radius:8px;}
.inslide { min-height:600px; max-width:800px; position: relative; display: flex;
  justify-content: center;
  align-items: center; border-radius:8px;}
.inslide h3 { text-align: center; padding: 0 40px}
.inslide h3 a{font-size: 3.5rem; color: #fff; z-index: 2;position: relative;text-align: center; text-decoration: none;font-family: 'Fredoka One', cursive; }
@media(max-width: 640px) {.inslide { min-height:325px;}.inslide h3 a{font-size: 30px;}}
@media(max-width: 640px) {.inslide h3 a{font-size: 30px;}}
@media(min-width: 768px) and (max-width: 1024px) {.inslide h3 a{font-size: 2.5rem;}}
.sezione {text-align: center;}
.sezione h2{font-size: 2.5rem; color: #d61b08; }
@media(max-width: 640px) {.sezione h2{font-size: 30px;}}
.pagination { list-style: none; padding: 0; margin: 0 auto; text-align: center;}
.pagination li{ display: inline-block;}
.linkpag {
  background-color: #d61b08;
  border: none;
  color: white;
	padding: 8px 16px;  cursor: pointer;
  font-size: 20px;
	border-radius: 2px;
	text-decoration: none;
	margin-left:5px;
}
.linkpag a{ color: #fff;text-decoration: none;}

/* Darker background on mouse-over */
.linkpag:hover {
  background-color: #82241b;
}
.linkpag.current {
  background-color: #82241b;
}
.contmenu{ max-width: 1140px; margin: 0 auto;}
/* OLD .categorie { height: 160px; overflow: hidden;}*/
.categorie.aperto { height: auto}
.categoria { padding: 10px; margin-right: 5px; color: #fff; text-align: center; border-radius: 2px; background: #d61b08; text-decoration: none; font-size: 14px; display: inline-block; margin-bottom: 10px}
.boximmagine { background: #eee; padding: 10px; border-radius: 10px; margin: 10px}
.boximmagine form { text-align: center; padding-bottom:10px}
.boximmagine.boxvideo span {max-width: 100%; min-width: auto !important}
.videoyt { width: 100%; height:654px;}
@media(max-width: 640px) {.videoyt { width: 100%; height: 413px;}}
.licenza { font-size: 10px; margin-bottom: 10px; display: block; text-align: center;}
.licenza a {color:#d61b08}
footer .licenza a, footer .licenza {color:#fff; font-size: 10px;}
/*======================================================
                          Navbar
  ======================================================*/
#navbar {
  background: #fff;
	background-size: cover;
  color: #d61b08;
  position: absolute;
  top: 0;
	height: 60px;
  line-height: 100px;
  width: 100%;
  z-index: 4;
}

.nav-wrapper {
  margin: auto;
  text-align: center;
  width: 100%;
}


.logo {
  float: left;
  margin-left: 28px;
  font-size: 1.5em;
  height: auto !important;
  letter-spacing: 1px;
}
.logo img{ margin-top: 5px !important}
#navbar ul {
  display: inline-block;
  float: right;
  list-style: none;
  margin-top: -2px;
  text-align: right;
  transition: transform 0.5s ease-out;
  -webkit-transition: transform 0.5s ease-out;
}
@media(max-width: 640px) {
    #navbar ul {
      display: none;
    }
  } @media(orientation: landscape) {
      #navbar ul {
        display: inline-block;
      }
    }

#navbar li {
  display: inline-block;
}

#navbar li a {
  color: #111;
  display: block;
  font-size: 0.7em;
  letter-spacing: 1px;
  margin: 27px 20px;
  padding: 0 4px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

#navbar li a:hover {
  color: #eee;
  transition: all 1s ease;
  -webkit-transition: all 1s ease;
}

/* Animated Bottom Line */
#navbar li a:before, #navbar li a:after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -1px;
  background: #fff;
}

#navbar li a:before {
  left: 0;
  transition: 0.5s;
}

#navbar li a:after {
  background: #fff;
  right: 0;
}

#navbar li a:hover:before {
  background: #fff;
  width: 100%;
  transition: width 0.5s cubic-bezier((0.22, 0.61, 0.36, 1));
}

#navbar li a:hover:after {
  background: transparent;
  width: 100%;
  /* transition: 0s; */
}
.separator-top
{
  width:100%;
  height:65px;
  position:absolute;
  object-fit:cover;
  top:60px;
  background-repeat:no-repeat;
  background-size: 100%;
  z-index:4;
  transition:0.5s;
}

/*======================================================
                    Mobile Menu Menu Icon
  ======================================================*/
@media(max-width: 640px) {
  .menuIcon {
    cursor: pointer;
    display: block;
    position: absolute;
    right: 15px;
    top: 28px;
    height: 23px;
    width: 27px;
    z-index: 5;
  }

  /* Icon Bars */
  .icon-bars {
    background: rgb(13, 26, 38);
    position: absolute;
    left: 1px;
    top: 45%;
    height: 2px;
    width: 20px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }

  .icon-bars:before {
    background: rgb(13, 26, 38);
    content: '';
    position: absolute;
    left: 0;
    top: -8px;
    height: 2px;
    width: 20px;
    -webkit-transition: 0.3s width 0.4s;
    transition: 0.3s width 0.4s;
  }

  .icon-bars:after {
    margin-top: 0px;
    background: rgb(13, 26, 38);
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 2px;
    width: 20px;
    -webkit-transition: 0.3s width 0.4s;
    transition: 0.3s width 0.4s;
  }

  /* Bars Shadows */
  .icon-bars.overlay {
    background: rgb(97, 114, 129);
    background: rgb(183, 199, 211);
    width: 20px;
    animation: middleBar 3s infinite 0.5s;
    -webkit-animation: middleBar 3s infinite 0.5s;
  } @keyframes middleBar {
      0% {width: 0px}
      50% {width: 20px}
      100% {width: 0px}
    } @-webkit-keyframes middleBar {
        0% {width: 0px}
        50% {width: 20px}
        100% {width: 0px}
      }

  .icon-bars.overlay:before {
    background: rgb(97, 114, 129);
    background: rgb(183, 199, 211);
    width: 10px;
    animation: topBar 3s infinite 0.2s;
    -webkit-animation: topBar 3s infinite 0s;
  } @keyframes topBar {
      0% {width: 0px}
      50% {width: 10px}
      100% {width: 0px}
    } @-webkit-keyframes topBar {
        0% {width: 0px}
        50% {width: 10px}
        100% {width: 0px}
      }

  .icon-bars.overlay:after {
    background: rgb(97, 114, 129);
    background: rgb(183, 199, 211);
    width: 15px;
    animation: bottomBar 3s infinite 1s;
    -webkit-animation: bottomBar 3s infinite 1s;
  } @keyframes bottomBar {
      0% {width: 0px}
      50% {width: 15px}
      100% {width: 0px}
    } @-webkit-keyframes bottomBar {
        0% {width: 0px}
        50% {width: 15px}
        100% {width: 0px}
      }


  /* Toggle Menu Icon */
  .menuIcon.toggle .icon-bars {
    top: 5px;
    transform: translate3d(0, 5px, 0) rotate(135deg);
    transition-delay: 0.1s;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .menuIcon.toggle .icon-bars:before {
    top: 0;
    transition-delay: 0.1s;
    opacity: 0;
  }

  .menuIcon.toggle .icon-bars:after {
    top: 10px;
    transform: translate3d(0, -10px, 0) rotate(-270deg);
    transition-delay: 0.1s;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .menuIcon.toggle .icon-bars.overlay {
    width: 20px;
    opacity: 0;
    -webkit-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
  }
}

/*======================================================
                   Responsive Mobile Menu
  ======================================================*/
.overlay-menu {
  background: #d61b08;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 15px;
  transform: translateY(-100%);
  width: 100vw;
  height: 100vh;
  /* -webkit-transition: transform 0.2s ease-out;
  transition: transform 0.2s ease-out;*/
  z-index:3;
}

.overlay-menu.aperto {
	transform: translateY(0%);
	transition: transform 0.2s ease-out
}

.overlay-menu ul, .overlay-menu li {
  display: block;
  position: relative;
}

.overlay-menu li a {
  display: block;
  font-size: 1em;
  letter-spacing: 4px;
  padding: 10px 0;
	color: #fff;
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
	text-decoration: none
}

.overlay-menu li a:hover,
.overlay-menu li a:active {
  color: rgb(28, 121, 184);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}



.snip1527 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-size: 16px;
  margin: 10px auto 0 auto;
  max-width: 100%;
	border-radius: 15px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
	height: 400px;
}

.snip1527 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.snip1527 .image {height:100%}
.snip1527 img {
  vertical-align: top;
  position: relative;
	height: 100%;
	width: auto !important;
	right: 33%;
}

.snip1527 figcaption {
  padding: 25px 20px 25px;
  position: absolute;
  bottom: 0;
  z-index: 1;
	width: 100%;
}

.snip1527 figcaption:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #d61b08;
  content: '';
  background: -moz-linear-gradient(90deg, #d61b08 0%,#F9DE43 100%,#F9DE43 100%);
  background: -webkit-linear-gradient(90deg, #d61b08 0%,#F9DE43 100%,#F9DE43 100%);
  background: linear-gradient(90deg, #d61b08 0%,#F9DE43 100%,#F9DE43 100%);
  opacity: 0.9;
  z-index: -1;
}

.snip1527 .date {
  background-color: #fff;
  border-radius: 50%;
  color: #d61b08;
  font-size: 18px;
  font-weight: 700;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 0;
  position: absolute;
  right: 15px;
  text-align: center;
  text-transform: uppercase;
  top: -25px;
}

.snip1527 .date span {
  display: block;
  line-height: 14px;
}

.snip1527 .date .month {
  font-size: 11px;
}

.snip1527 h2,
.snip1527 p {
  margin: 0;
  padding: 0;
}

.snip1527 h2 {
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
	font-family: 'Fredoka One', cursive;
}

.snip1527 p {
  font-size: 0.8em;
  line-height: 1.6em;
  margin-bottom: 0px;
}

.snip1527 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.snip1527:hover img,
.snip1527.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.btna{ text-align:center; margin: 20px auto 0 auto; display: block; background: #f5f5f5; padding:20px 20px 30px 20px; border-radius: 5px;}

.btn {
  background-color: #d61b08;
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
	border-radius: 2px;
	text-decoration: none;
}

/* Darker background on mouse-over */
.btn:hover {
  background-color: #82241b;
}
.bd{width:100%;text-align:center;padding-bottom:20px;padding-top:20px;}
@media screen and (max-width: 767px) {
	.intropg.padding-lr10 { padding-left: 0; padding-right: 0}
	.boximmagine { margin: 0px 0 10px 0}
	.titolopagina {height:300px}
	.titolopagina h1, .titolopagina h2 {
		font-size: 32px;
	}
	.btn {
		font-size: 18px;
	}
}

.chevron::before {
  border-style: solid;
  border-width: 0.25em 0.25em 0 0;
  content: '';
  display: inline-block;
  height: 0.45em;
  left: 0.15em;
  position: relative;
  top: 0.15em;
  transform: rotate(-45deg);
  vertical-align: top;
  width: 0.45em;
  text-align: center;
  margin: 0 auto;
}

.arrowsWrap .arrows::after { content: ' All the categories'; padding-left: 8px}

.chevron.bottom:before {
  top: 0;
  transform: rotate(135deg);
}

.arrowsWrap {
  width: 200px;
  margin: 0 auto;
	text-align: center;
	text-decoration: none;
}
.arrowsWrap a {	text-decoration: none;}
.arrowsWrap .arrows {
  padding: 15px 0;
  cursor: pointer;
  display: inline-block;
  -webkit-animation-name: wobble-vertical;
  animation-name: wobble-vertical;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation: wobble-vertical 2s steps(10) infinite;
  -moz-animation: wobble-vertical 2s steps(10) infinite;
  -ms-animation: wobble-vertical 2s steps(10) infinite;
  -o-animation: wobble-vertical 2s steps(10) infinite;
  animation: wobble-vertical 2s steps(10) infinite;
}
.arrowsWrap .arrows .chevron {
  /*Loop Animation*/
  transition: 0.70s;
  -webkit-transition: 0.70s;
  -moz-transition: 0.70s;
  -ms-transition: 0.70s;
  -o-transition: 0.70s;
  width: 50px;
  height: 50px;
}
.arrowsWrap .arrows .chevron:hover {
  opacity: .5;
}

.arrows.open .chevron {
  /*Rotate Animation*/
  transition: 0.70s;
  -webkit-transition: 0.70s;
  -moz-transition: 0.70s;
  -ms-transition: 0.70s;
  -o-transition: 0.70s;
}

/*Hover.css Copyright Ian Lunn 2014.*/
/* Wobble Vertical */
@-webkit-keyframes wobble-vertical {
  16.65% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  33.3% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  49.95% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }
  66.6% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  83.25% {
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes wobble-vertical {
  16.65% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }
  33.3% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  49.95% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }
  66.6% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  83.25% {
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.foot {
  position: fixed;
  width: 100%;
  height: 135px;
  bottom: -135px;
  padding: 0;
  box-shadow: 0 -2px 0 0 rgba(255, 255, 255, 0);
  transition: all .2s;

}
.foot .infoot{   background:#fff; margin: 0 auto; text-align: center;}
@media screen and (max-width: 767px) {
	.foot {
	  height: 90px;
	  bottom: -90px;
	}
}
.foot .footclose {
  position: relative;
	text-align: center;
	display: inline-block;
	height: 25px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
	padding:5px 10px 0px 10px;
	background: #fff;
  transition: all .3s;

}
.foot .footclose:hover {
  color: #fff;
}
.foot .footclose:active {
  color: #fff;
}

.scrolled {
  bottom: 0px;
}

.gone {
  transition: all 300;
  opacity: 0;
}

@media screen and (min-width: 64em){
.pure-u-lg-1-2, .pure-u-lg-12-24 {
    width: 49.7%;
}}

@media screen and (min-width: 80em){
.pure-u-xl-1-3, .pure-u-xl-8-24 {
    width: 33%;
}
}
