/*
Theme Name: 	SCUOLA ECOGRAFIA PAVIA
Description: 	Responsive WordPress Theme based on Boostrap and Font Awesome.
Version:     	3.0.0
Author:     	Claudio Nasuelli
Author URI:   https://www.nasuellidesign.it/
Site:         https://www.nasuellidesign.it/
Text Domain: 	nakedpress
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.
*/


body, html { margin: 0; padding: 0; height: 100vh;}
body.admin-bar .navbar-fixed-top { position: fixed; top: 32px; z-index: 1000;}


/* -------------------------------------------------------------------------------- */
/* ! Base */
/* -------------------------------------------------------------------------------- */

html, body{height: 100vh;}
body{font-family: "Lato"; background: #f2f6f2; color: #004d99;}

@media (min-width: 1024px) {
  body { overflow: auto }
}


/* ! Transitions */
.transition-fade {  transition: 0.1s;  opacity: 1; }
html.is-animating .transition-fade { opacity: 0;  }

.preloader{background: #fff url('img/oval.svg') no-repeat center center; background-size: 200px;  position: fixed;top:0;left:0;width: 100%;height: 100%;z-index: 9999;}

@font-face {
  font-family: 'Neue Montreal';
  src: url('fonts/NeueMontreal-Medium.woff2') format('woff2'),
  url('NeueMontreal-Medium.woff') format('woff');
}

.scroll-container{overflow:hidden;}
.container{ margin: 0 auto; max-width: 1200px;}


/* ! Typography */
h1,h2,h3,h4,h5,h6{font-family: 'Neue Montreal';}
p{font-size: 18px;line-height: 28px; margin-bottom: 20px;}

a{color:#004d99}
a:hover{color:#337ab7}

.headline{font-size: 50px;margin: 0 0 40px 0; }
.title{font-size: 50px;margin: 0 0 20px 0;}
.subtitle{font-size: 25px;margin: 0 0 20px 0;}

.subtitle-yellow{font-weight: bold; text-transform: uppercase;}

@media (max-width: 768px) {
  .headline{font-size: 35px;}
  .title{font-size: 35px;}
  .subtitle{font-size: 20px;}
}

/* ! Buttons */

.button{display: inline-block;color:#000; border: 3px solid #000; padding: 10px 20px;margin-top: 15px;text-align: center;position: relative;overflow: hidden;transition: all 0.3s cubic-bezier(0.28, 0.44, 0.49, 1);}
.button:before{content: ' '; width: 100%; height: calc(100% + 0.2rem); background: #337ab7; z-index: -1;position: absolute; bottom: 0; left: 0; transform: translateY(100%);transition: all 0.3s cubic-bezier(0.28, 0.44, 0.49, 1);}
.button:hover:before{transform: translateY(0%);}
.button:hover{color:#fff!important;}

.button-box{text-decoration: none;  border-radius: 100px;background: #004d99; color:#fff; text-transform: uppercase; text-transform: underline; font-weight: bold;font-size: 14px;padding: 16px 30px 14px 30px!important; letter-spacing: 1px}
.button-box:hover:before{transform: translateY(0%);}
.button-box:hover{color:#fff!important; background: #337ab7;}
@media (max-width: 768px) {
  .button-box{font-size: 12px;padding: 14px 18px 11px 18px!important;}
}

/* ! Header */


.logo img{display: block;padding: 10px;z-index: 110;text-align: center;margin-top: 20px;position: fixed; top:5px; left:15px; overflow: hidden; width: 175px; transition: all 1s cubic-bezier(.215, .61, .355, 1);}


/* ! Menu Side  */
.menu-side{text-align: center; position: fixed;top:35%;left:0%; transition: all 1s cubic-bezier(.215, .61, .355, 1);}
.menu-side__items{list-style-type: none;padding: 0; transition: all 1s cubic-bezier(.215, .61, .355, 1);}
.menu-side__items a{padding: 10px 45px;font-size: 18px;display: block;color:#004d99; text-decoration: none;}
.menu-side__items a:hover{color:#337ab7; transition: all 0.3s cubic-bezier(0.28, 0.44, 0.49, 1);}


/* ! Menu Hidden */
.menu-hidden{
  transition: all 0.6s cubic-bezier(.92, .02, .83, 0.21);
  transform: translateX(-100%);
  position: fixed;
  top:0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #004d99ed url(http://eco.nasuellidesign.it/wp-content/themes/scuola-ecografia-pavia/img/logo_menu_sfondo.png) no-repeat top right;
  z-index: 100;
}
.menu-hidden--open{transform: translateY(0);}
.menu-hidden__items{list-style-type: none;padding: 50px;}
.menu-hidden__items a{ color:#fff; font-size: 40px; text-decoration: none;}


.navbar-scroll-down .nav-wrap{background: #fff;}

.nav-wrap li.active a {color: #EA4343; }


/* ! Hamburger */
.hamburger{width: 50px;height: 50px; position: fixed; top:50%;left: 0;margin-top: -25px; transform: translateX(-100%);transition: transform 1s cubic-bezier(.215, .61, .355, 1);z-index: 110}

.scroll-down .hamburger{transform: translateX(20px);}
.scroll-down .menu-side__items{transform: translateX(-100%);}
.scroll-down .logo img{width: 60px;}

.icon-hamburger{ width: 30px;height: 30px;position: absolute;top:20px; right:20px}
.icon-hamburger span {height: 4px;width: 100%; position: absolute; background: #004d99; top: 11px; transition: all 0.2s ease-in-out;}
.icon-hamburger span:before,
.icon-hamburger span:after{height: 4px;width: 100%; position: absolute; background: #004d99; content: ' '; margin-top: -10px; transition: all 0.3s cubic-bezier(.215, .61, .355, 1);}
.icon-hamburger span:after{margin-top: 10px}

.icon-hamburger--open span{background: transparent!important;}
.icon-hamburger--open span:before{transform: rotate(45deg);margin-top: 0;background: #fff;}
.icon-hamburger--open span:after{transform: rotate(-45deg);margin-top: 0;background: #fff;}

.scroll-container{padding: 40px 40px 0 210px;}

@media (max-width: 767px) {
  .menu-side{display: none;}
  .scroll-container{padding: 15px 15px 0 55px;}
  .hamburger{transform: translateX(15px);}
  .grid .vertical-center{height: auto;}
  .menu-hidden{overflow-y: auto; padding-left: 55px;padding-bottom: 30px;padding-top: 115px; background: #004d99;}
  .menu-hidden__items a{color:#fff; padding: 0px!important; font-size: 30px!important;}

  .logo img{width: 60px;overflow: hidden; margin-left: -17px;}
  .scroll-down .logo img{width: 70px;overflow: hidden; margin-left: -17px;}

  .subtitle-yellow{font-size:12px; margin-top: -115px;}

    .area-riservata{padding-left: 65px!important;}

}


/* ! Locomotive Scroll  */

[data-scroll-section]{position: relative; display: block;}
/* .wp-block-image img,
.img-article{height: 400px;width: 100%;object-fit: cover;} */
.img-article-small{height: 150px;width: 100%;object-fit: cover;}

@media (max-width: 767px) {
  /* .wp-block-image img,
  .img-article, */
  .img-article-small{height: 240px;}
}

/* ! Slider */

.splide__slide{height: 400px;display: flex; justify-content: center;align-items: center; color:#fff}


/* ! Cover  */

.page .cover{height: 40vh;position: relative; background: #333;display: flex; width: 100%; align-items: center;z-index: 0}

.cover{height: 100vh;position: relative; background: #333;display: flex; width: 100%; align-items: center;z-index: 0}
.cover__content{color:#fff; padding: 20px;width: 100%; text-align: center;position: relative; z-index: 1}
.cover:before{content: ' ';width: 100%;height: 100%;background: #000;position: absolute;top:0; left:0; z-index: 0; opacity: 0.3}



/* ! intro text */

.intro-text{padding: 150px 0 50px 0;}
.intro-text h1{ min-width: 700px;}

/* ! Block Intro */

.block-ps-intro{height: 100vh; display: flex; align-items: center; position: relative;}
.block-ps-intro:before{ content: ' '; background: linear-gradient(90deg, rgba(0, 0, 0, 0.33) 0%, rgba(0, 0, 0, 0.33) 100%); position: absolute; top:0; left:0; width: 100%;height: 100%;z-index: 0}
.block-ps-intro .grid{max-width: 1180px; width: 100%; margin: 0 auto; padding: 200px 0 150px 0;}

.text-container{height: 300px; position: relative; display:block;width: 100%;}
.text-container__hidden{position: absolute; top: 20px; /*display: inline-block;*/ width: 100%; opacity: 0; animation: slide 10s 1 cubic-bezier(.215, .61, .355, 1); animation-delay: 0.9s}

.text-container__img{width: 100%;height: 400px; position: relative; display:block; width: 100%; justify-content: center; align-content: center;}
.text-container__img img{margin-top: -200px; justify-content: center; align-content: center;}

@media (max-width: 767px) {
.text-container__img img{width: 85%; height: auto; margin-top: 0;}
}

/* Ipad Verticale */
@media (max-width: 998px) {
.text-container__img img{width: 80%!important; height: auto; margin-top: 0;}
.scroll-down-icon{display: none!important;}
}

/* Ipad Orizzontale */
@media (max-width: 1080px) {
.text-container__img img{width: 60%!important; height: auto; margin-top: 0;}
.text-container__img img{margin-top: 33px!important;}
.scroll-down-icon{display: none!important;}
}

.block-ps-intro video.wp-block-cover__video-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    -o-object-fit: cover;
    object-fit: cover;
    outline: none;
    border: none;
    box-shadow: none;
    padding-bottom: 3px;
}

.parallax{background-attachment: fixed!important;}

/* ! Block Panel */

.block-ps-panel{padding: 90px 20px;}
.block-ps-panel__img img{height: auto;width: 100%;max-width: 750px; display: block; margin: 20px auto; box-shadow: 0 5px 20px rgba(0,0,0,.55); border-radius: 20px;}
.block-ps-panel__text{max-width: 750px; display: flex; width: 100%; height: 100%; align-items: center;padding: 20px;}
.block-ps-panel__text h3{margin-bottom: 10px;}

.sfondo__media {background: #004d99;padding: 10px;border-radius: 20px;margin-bottom: 60px; margin-right: 30px;}
.sfondo__media img{margin-right: -23px; margin-bottom: -30px;border-radius: 20px;}

@media (max-width: 767px) {
  .block-ps-panel{ padding: 50px 0 20px 0;}
  .block-ps-panel__text{padding: 20px 0;}
  .block-ps-panel__img{padding: 0 15px 15px 15px;}
  .block-ps-panel__img img{height: auto;width: 100%; display: block;margin: 0 auto;max-width: 100%}
  .block-ps-panel__right { flex-direction: column-reverse!important; }

  .sfondo__media {margin-bottom: 0;}

/*@media (max-width: 767px) {
  .block-ps-panel{ padding: 100px 0 20px 0;}
  .block-ps-panel__text{padding: 20px 0;}
  .block-ps-panel__img{padding: 50px 15px 15px 15px;}
  .block-ps-panel__img img{height: auto;width: 100%; display: block;margin: 0 auto;max-width: 100%}
  .block-ps-panel__right { flex-direction: column-reverse!important; }*/

  .block-ps-panel__text,
  .block-ps-panel-gallery__text{padding: 20px;}
}



/* ! Block Evidenza */

.block-ps-panel-evidenza{padding: 90px 20px;}
.block-ps-panel-evidenza__img img{height: auto;width: 100%;max-width: 750px; display: block; margin: 20px auto;}
.block-ps-panel-evidenza__text{max-width: 750px; display: flex; width: 100%; height: 100%; align-items: center;padding: 20px;}
.block-ps-panel-evidenza__text h3{margin-bottom: 10px;}


@media (max-width: 767px) {
  .block-ps-panel-evidenza{ padding: 50px 0 20px 0;}
  .block-ps-panel-evidenza__text{padding: 20px 0;}
  .block-ps-panel-evidenza__img{padding: 0 15px 15px 15px;}
  .block-ps-panel-evidenza__img img{height: auto;width: 100%; display: block;margin: 0 auto;max-width: 100%}
  .block-ps-panel-evidenza__right { flex-direction: column-reverse!important; }


  .block-ps-panel-evidenza__text,
  .block-ps-panel-gallery__text{padding: 20px;}
}




/* ! Block Cover */

.block-ps-cover{display: flex; align-items: center;position: relative}
.block-ps-cover:before{ content: ' '; background: #000;opacity: 0.5; position: absolute; top:0; left:0; width: 100%;height: 100%;z-index: 0}
.block-ps-cover .grid{max-width: 1180px; width: 100%; margin: 0 auto; padding: 200px 0 150px 0;}

/* ! Block Text */

.block-ps-text{display: flex; align-items: center;position: relative}
.block-ps-text .grid{max-width: 1180px; width: 100%; margin: 0 auto;}
.block-ps-text{max-width: 750px; margin: 0 auto; }




/* -------------------------------------------------------------------------------- */
/* ! Sezione Contatti */
/* -------------------------------------------------------------------------------- */

i.fa.icnmassi {
font-size:22px;
transition: 0.7s;
width: 45px;
height: 45px;
line-height: 45px;
color: #fff;
background:#004d99;
margin-right: 15px;
text-align: center;
border-radius: 9999px;
float: left;}

.elencontatti p{border-bottom: 1px dashed #016f92; padding-bottom: 6px;}

i.fa.icnmassi:hover {transition: 0.7s;color: #fff;background:#0079f0;}

.hr-massi{border-top: 1px dashed #004d99;}


#hide{display:none;margin-left:24px;}

/* TASTO MORE */
.more-link span {
display: none !important;
}

.intro-contatti {text-align: center; margin-top: 123px; font-size: 38px; font-weight: bold; padding: 20px 0 20px 0;}

.contatti-mobile{text-decoration: none;}



/* ! Footer */
.footer{
  background: #004d99 url(http://eco.nasuellidesign.it/wp-content/themes/scuola-ecografia-pavia/img/logo_footer.png) no-repeat bottom right;
  min-height: 300px; color:#fff; margin-top: 100px;padding-bottom: 50px;}
.footer a{color: #fff!important; text-decoration: none!important;}

  @media (max-width: 767px) {
    .footer{background: #004d99}
  }

/* --------------------------------------------------------------------------------------------------------------------------- */
/* ! WordPress */
/* --------------------------------------------------------------------------------------------------------------------------- */



/* Pagination */
.pagination { margin: 40px 0 40px 0; padding: 0; width: 100%; }
.pagination span,
.pagination a { float: left; margin: 0 10px 10px 0; padding: 14px 19px; border: 1px solid #ddd; }

/* Gallery */
.gallery { float: left; margin: 20px 0 20px 0; width: 103.55%; }
.gallery-item { float: left; width: 33.333333%; text-align: center; }
.gallery img { margin: 0 10% 0 0; width: 90%; height: auto; border: none!important; }
.gallery-caption { width: 90%;margin:10px 0 0 0;}

/* Image */
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; max-width: 97%; height: auto; }
.alignright { float: right; margin-bottom: 10px; margin-left: 20px; max-width: 97%; height: auto; }
.aligncenter { display: block; margin: 0 auto; max-width: 97%; height: auto; }
.alignnone { max-width: 97%; height: auto; }

.img-article{box-shadow: 0 5px 20px rgba(0,0,0,.55); border-radius: 20px;}

/* img responsive */
.img-res{width: 100%;height: auto;}

/* video responsive */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Table */
table {border-collapse: collapse;margin: 40px 0; width:100%;}
table, th, td {border: 1px solid #ddd;padding:10px; font-size: 18px;text-transform: capitalize;}
table  tr:first-child td {font-weight: 900; text-transform: uppercase; background: #eee; padding:12px 8px;}

/* Image Caption */
.wp-caption { margin-top: 1.5rem;margin-bottom: 0px; padding: 10px; max-width: 97%; border: 1px solid #ddd; text-align: center; }
.wp-caption img { margin: 0; padding: 0; width: 100%!important; height: auto; border: 0 none; }
.wp-caption p.wp-caption-text { margin: 0; padding: 8px; font-size: 1em; line-height: 17px; }

/* Stiky */
.sticky { border-right: 3px solid #eee; border-bottom: 3px solid #ddd; }

/* Search */
.search-form {background: #fff;border-bottom:1px solid #333; margin-bottom: 40px;}
.search-form input[type=text]{ width: 80%; color: #333; background: #fff;}
.search-form button{float:right;border: none; background: none;padding: 3px;}

.icon-search{width: 30px;height: 30px;display: block;background: url(img/icons/search.svg) no-repeat center center;}

/* Contact Form 7 */
.wpcf7 label{width:100%}

/* Comments */
.comment-form-author,
.comment-form-email,
.comment-form-url { float: left; margin-top: 20px; margin-right: 3%; width: 30.3333333%; }
.comment-form-author input,
.comment-form-email input,
.comment-form-url input { width: 100%; }

ol.commentlist { margin: 0 0 1em; padding: 0; list-style: none; text-indent: 0; }
ol.commentlist li.comment { padding: 1em; border-top: 1px solid #eee; }
ol.commentlist li.comment div.vcard cite.fn { text-transform: uppercase; font-size: 14px; }
ol.commentlist li.comment div.vcard img.avatar { float: left; margin: 6px 1em 1em 0; border-radius: 50px; }
ol.commentlist li.comment div.comment-meta { font-size: 12px; }
ol.commentlist li.comment ul { margin: 0 0 1em 2em; }
ol.commentlist li.comment div.reply { margin-left: 80px; font-size: 11px; }
ol.commentlist li.comment div.reply a { font-weight: bold; }
ol.commentlist li.comment ul.children { margin: 1em 0 0; list-style: none; text-indent: 0; }
ol.commentlist li.comment ul.children li.depth-2 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.comment ul.children li.depth-3 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.comment ul.children li.depth-4 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.even { background: #fff; }
ol.commentlist li.odd { /* background: #f9f9f9; */  }
ol.commentlist li.parent { border-left: 1px solid #eee; }
ol.commentlist li.bypostauthor .fn { font-weight: bold; }
ol.commentlist li img{max-width: 97%;}

input[type=text],
input[type=email] { color: #004d99; width: 100%;margin-right: 10px; padding: 10px; border: 1px solid #004d99; border-radius: 100px; background: #fff; -webkit-appearance: none;font-size: 18px;}
input[type=tel] { color: #004d99; width: 100%;margin-right: 10px; padding: 10px; border: 1px solid #004d99; border-radius: 100px; background: #fff; -webkit-appearance: none;font-size: 18px;}
textarea {color: #004d99; padding: 10px; width: 100%; border: 1px solid #004d99; background: #fff; -webkit-appearance: none;border-radius: 20px;font-size: 18px;}
input[type=submit] { margin-top: 10px; padding: 15px 20px; color: #fff; text-transform: uppercase; background: #004d99; border-radius: 100px;  font-size: 18px;}
#comments { width: 100%; }

/* Calendar Widget */
#wp-calendar { width: 100%; }
#wp-calendar a { padding: 0; border: none; }
#wp-calendar caption,
.screen-reader-text { padding-bottom: 10px; color: #000; text-align: left; text-transform: uppercase; font-weight: 700; font-size: 14px; }
#wp-calendar thead { font-size: 10px; }
#wp-calendar thead th { padding-bottom: 10px; }
#wp-calendar tbody { color: #aaa; }
#wp-calendar tbody td { padding: 8px; border: 1px solid #fff; background: #f5f5f5; text-align: center; }
#wp-calendar tbody td:hover { background: #fff; }
#wp-calendar tbody .pad { background: none; }
#wp-calendar tfoot #next { text-align: right; text-transform: uppercase; font-size: 10px; }
#wp-calendar tfoot #prev { padding-top: 10px; text-transform: uppercase; font-size: 10px; }

/* functional stuff */

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* ! Grid System */

.grid { margin: 0 auto; max-width: 1200px; display: flex; flex-flow: row; flex-wrap: wrap;}
.grid--center{justify-content: center;}

.col{ flex: 1;}

[class*='col-'] { position: relative;padding: 0 15px;}


.col-20{ width: 20%; }
.col-25{ width: 25%; }
.col-30{ width: 30%; }
.col-33{ width: 33.33%; }
.col-40{ width: 40%; }
.col-50{ width: 50%; }
.col-60{ width: 60%; }
.col-70{ width: 70%; }
.col-80{ width: 80%; }
.col-90{ width: 90%; }
.col-100{ width: 100%; }

@media (max-width: 991px) {

  .tab-20 { width: 20%; }
  .tab-25 { width: 25%; }
  .tab-33 { width: 33.33%; }
  .tab-50 { width: 50%; }
  .tab-100 { width: 100%; }
}

@media (max-width: 768px) {
  [class*='col-'] { width: 100%;}
  .sma-20 { width: 20%; }
  .sma-25 { width: 25%; }
  .sma-33 { width: 33.33%; }
  .sma-50 { width: 50%; }
  .sma-100 { width: 100%; }

  .sma-hide{display:none}
}

/* Nested Grid */
.grid .grid{
  margin-left: -15px;
  margin-right: -15px;
}



*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}



/* ! Animations */

.fade-left{opacity: 0; transition: all 1s cubic-bezier(.215, .61, .355, 1); transform: translateX(-100px);transition-delay: 0s; display: block;will-change: transform, opacity; }
.fade-left.is-inview{opacity: 1;transform: translateX(0px)}

.fade-right{opacity: 0; transition: all 1s cubic-bezier(.215, .61, .355, 1); transform: translateX(100px);transition-delay: 0s; will-change: transform, opacity; }
.fade-right.is-inview{opacity: 1;transform: translateX(0px)}

.fade-up{opacity: 0; transition: all 1s cubic-bezier(.215, .61, .355, 1); transform: translateY(50px);transition-delay: 0s; will-change: transform, opacity; }
.fade-up.is-inview{opacity: 1;transform: translateY(0px)}

.fade-down{opacity: 0; transition: all 1s cubic-bezier(.215, .61, .355, 1); transform: translateY(-50px);transition-delay: 0s; will-change: transform, opacity; }
.fade-down.is-inview{opacity: 1;transform: translateY(0px)}

.fade{opacity: 0; transition: all 1s cubic-bezier(.215, .61, .355, 1); transition-delay: 0s; will-change: transform, opacity; }
.fade.is-inview{opacity: 1;}

.text-reveal{overflow: hidden;display: block;}
.text-reveal b{display: inline-block;will-change: transform; transform: translate3d(0,100%,0); transition: all 1s cubic-bezier(.4, .0, .0, 1);}
.text-reveal.is-inview b{transform: none;}


/* ! Scroll Down */
.scroll-down-icon{width: 100px; height: 100px;position: absolute;bottom: 80px; left:50%; margin-left: -50px;display: block;}
.line-center{background: #fff; width: 3px; height: 0px; opacity: 0;position: absolute;left:50%; margin-top: 10px; animation: vertical_line_growth 4s cubic-bezier(.215, .61, .355, 1) infinite; }
.line-center span{position: absolute;bottom:-20px;width: 100px;display: block;left:-50px;text-align: center;color:#fff; text-transform: uppercase;font-size: 11px;}

@keyframes vertical_line_growth {
  0% { height: 0; opacity: 0;}
  20% { height: 0; opacity: 0;}
  40% { height: 0; opacity: 1;}
  60% { height: 30px; opacity: 1;}
  80% { height: 30px; opacity: 1;}
  100% { height: 30px; opacity: 0;}
}

@media (max-width: 768px) {
  .scroll-down-icon{width: 100px; height: 100px;position: absolute;bottom: 15px; left:50%; margin-left: -50px;display: block;}
}

.delay-1{transition-delay: .1s!important}
.delay-2{transition-delay: .2s!important}
.delay-3{transition-delay: .3s!important}
.delay-4{transition-delay: .4s!important}
.delay-5{transition-delay: .5s!important}
.delay-6{transition-delay: .6s!important}
.delay-7{transition-delay: .7s!important}
.delay-8{transition-delay: .8s!important}
.delay-9{transition-delay: .9s!important}
.delay-10{transition-delay: 1s!important}
.delay-11{transition-delay: 1.1s!important}
.delay-12{transition-delay: 1.2s!important}
.delay-13{transition-delay: 1.3s!important}
.delay-14{transition-delay: 1.4s!important}
.delay-15{transition-delay: 1.5s!important}
.delay-16{transition-delay: 1.6s!important}
.delay-17{transition-delay: 1.7s!important}
.delay-18{transition-delay: 1.8s!important}
.delay-19{transition-delay: 1.9s!important}
.delay-20{transition-delay: 2s!important}


/* ! Helpers */
.m-0 { margin: 0 !important; }
.m-1 { margin: 20px; }
.m-2 { margin: 50px; }
.m-3 { margin: 100px; }
.m-4 { margin: 180px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 20px; }
.mt-2 { margin-top: 50px; }
.mt-3 { margin-top: 100px; }
.mt-4 { margin-top: 180px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 20px; }
.mb-2 { margin-bottom: 50px; }
.mb-3 { margin-bottom: 100px; }
.mb-4 { margin-bottom: 180px; }
.mb-40 { margin-bottom: 40px; }
.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 20px; }
.ml-2 { margin-left: 50px; }
.ml-3 { margin-left: 100px; }
.ml-4 { margin-left: 180px; }
.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 20px; }
.mr-2 { margin-right: 50px; }
.mr-3 { margin-right: 100px; }
.mr-4 { margin-right: 180px; }

@media (max-width: 767px) {
  .m-4 { margin: 100px; }
  .mt-4{margin-top: 100px}
  .ml-4 { margin-left: 100px; }
  .mr-4 { margin-right: 100px; }
  .mb-4 { margin-bottom: 100px; }

  .mt-sma-0{margin-top: 0;}
  .mt-sma-1{margin-top: 20px;}
  .mt-sma-2{margin-top: 40px;}
  .mt-sma-3{margin-top: 80px;}

  .mb-sma-0{margin-bottom: 0;}
  .mb-sma-1{margin-bottom: 20px;}
  .mb-sma-2{margin-bottom: 40px;}
  .mb-sma-3{margin-bottom: 80px;}
}

.grey img{filter: grayscale(50%);transition: all 1s cubic-bezier(.215, .61, .355, 1);}
.grey img:hover{filter: grayscale(0%);}

.single {background: #f2f6f2 url(http://eco.nasuellidesign.it/wp-content/themes/scuola-ecografia-pavia/img/logo_menu_sfondo_blu.png) no-repeat top right;}

@media (max-width: 767px) {
.single {background: #f2f6f2;}
.page {background: #f2f6f2;}
}

.ombra h1,
.ombra h2,
.ombra h3,
.ombra h4,
.ombra p{text-shadow: 4px 3px 12px #000;}

.img-res{width: 100%;}
.padding-all{padding: 20px;}
.page-min-height{min-height: 101vh}
.display-none{display: none;}
.max-width{max-width: 600px; margin: 10px auto;}
.text-center{text-align: center;}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white p{color:#fff}

.text-white .button{color:#fff; border-color: #fff}

.text-center h1,
.text-center h2,
.text-center h3,
.text-center h4,
.text-center p{text-align: center;}

.vertical-center{
  display: flex;
  align-items: center;
  height: 100vh;
}

.tricolore  {
  content: "";
  width: 190px;
  height: 3px;
  display: inline-block;
  margin: 4px 10px;
  background: rgb(27,133,65);
  background: -moz-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  background: linear-gradient(90deg, rgba(27,133,65,1) 0%, rgba(27,133,65,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(238,31,39,1) 66%, rgba(238,31,39,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1b8541",endColorstr="#ee1f27",GradientType=1);
}

.wp-block-media-text__media {
  background: #004b96;
  padding: 12px!important;
  border-radius: 10px!important;
  margin-bottom: 60px!important;
  box-shadow: 0 5px 20px rgba(0,0,0,.55);
}

/*.azzurro {color:#4e7996;}*/
.testo-azzurro {font-size: 16px; line-height: 1.5;}
.big{font-size: 34px;}

@media (max-width: 767px) {
  .tricolore {width: 120px;}
  .big{font-size: 20px;}
  }
