/*
Theme Name: EMX
Author: Better Days srl
Description: EMX theme
*/


/* 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,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td { margin: 0;padding: 0;border: 0;outline: 0;font-size: 100%;vertical-align: baseline;background: transparent;} body { line-height: 1em; } ol,ul { list-style: none; } 
blockquote,q {quotes: none;}blockquote:before,blockquote:after,q:before,q:after { content: ''; content: none; } /* remember to define focus styles! */ :focus { outline: 0; } /* remember to highlight inserts somehow! */ ins { text-decoration: none; } del { text-decoration: line-through; } /* tables still need 'cellspacing="0"' in the markup */ table { border-collapse: collapse; border-spacing: 0; } 
* {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;outline: none!important; font-family: 'Hind Vadodara', sans-serif;}
.clearfix:before,.clearfix:after {	content: " ";	display: table;}
.clearfix:after {clear: both;}
.clearfix {	*zoom: 1;}
.clear {clear: both;}
html { font-size:13px; overflow-x:hidden;box-sizing: border-box;}


html,body {background:#000; color:#D1F89E;font-size:18px}

* {font-family: 'Source Sans Pro', sans-serif; font-weight:400;}

/* MOBILE E GLOBALI*/

/*.mobile {display:block}
.desktop {display:none}*/

#wp-admin-bar-wpseo-menu {display:none!important}

a {color:#D1F89E;text-decoration:none}
.site-section-EMEE a {color:#000}

/* img {width:100%;height:auto} */

#page {padding:1rem;position:relative;padding-top:4rem;}
#header {width: 100%;height:auto;background:#000;z-index: 10;}

#top {
    z-index: 2;
    display:flex;
    justify-content:space-between;
    flex:0 0 100%;
    overflow:hidden;
    /* background:red; */
    align-items:center;
    
    position: relative;
    /* width: 100%; */
    padding: 1rem;
    background:#000;box-shadow: 0px 0px 3px #000000aa;
}

/*#top a.logo {height:2rem;transition: all .5s ease-in-out}*/
#top a.logo {height:2.5rem;transition: all .5s ease-in-out}
#hamb {}
#top a.logo img {height:100%;width:auto;}

.menulatopen #header {position:fixed;top:0;left:0}
.menulatopen.admin-bar #header {top: 46px;}
.menulatopen.desktop.admin-bar #header {top: 32px;}

.page-template-page-home #top a.logo {height:5rem;padding-top:1rem;}
.page-template-page-home .main {margin-top:5rem}
.page-template-page-home.menulatopen #top a.logo {height:2rem;padding-top:0;}


#latmenu {
    z-index: 2;
    position:absolute;
    top:4rem;
    left:-100vw;
    width:100vw;
    padding:1rem;
    transition: left .5s ease;
    height:100vh;
    background:#D1F89E;
    }
#latmenu.open {left:0;/* pointer-events: none; */}
#latmenu a {color:#000;}
#latmenu .voci ul {border-left:1px solid #111;padding-top:1rem;padding-left:2rem;position:relative;height: auto; width:100%;margin-left:1rem}
#latmenu .voci ul:after,
#latmenu .voci ul:before {position:absolute;left:-5px;content:'';border-top:1px solid #111;width:10px;height:1px;line-height: 1px;}
#latmenu .voci ul:after {bottom: -2px;left: -5px;}
#latmenu .voci ul:before {top:0rem;}
#latmenu .voci li:position {relative}
#latmenu .voci li.current-menu-item a {font-weight:700}
#latmenu .voci li.inactive a {color:rgba(0,0,0,.2); cursor:default}

.contenuto:before,
/*#latmenu .voci li.current-menu-item:before {
    position:absolute;
    background:#000;padding:0rem;border-radius:50%; line-height:2rem; font-size:.8rem;
    border:2px solid #D1F89E;box-shadow: 0px 0px 3px #000000aa;
    left:calc(-1rem - 2px );
    width:2rem;height:2rem;

  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: never;
 
  display: inline-block;
  text-decoration: inherit;
  text-align: center;
 
  font-variant: normal;
  text-transform: none;
 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

    content: '\e810';;
 }
*/

#latmenu .voci li a {
    font-size:1rem;
    line-height:2rem;
    font-weight:600;
    text-transform:uppercase;
}

.main {margin-top:1rem;}
.contenuto {padding:2rem 1rem 1rem 1rem; border:1px solid #d1f89e; border-radius:15px;position:relative}
.contenuto:before {position:absolute;top:calc( -1rem - 1px);left:calc(50% - 1rem - 2px)}
.contenuto>* {color:#ffffff; font-size:1.1rem;line-height:1.7rem;}
.contenuto h2 {font-size:1.5rem;margin:1rem 0}
.contenuto ul,
.contenuto ol {margin:0rem 0 1rem 0;padding-left: 2rem;}
.contenuto ul li {margin-bottom:.3rem;list-style:disc}
.contenuto ol li {margin-bottom:.3rem;list-style:decimal}
.contenuto iframe { max-width:100%; }
.contenuto p {padding-bottom:1rem}
.contenuto li a,
.contenuto p a {text-decoration:underline; text-decoration-color:rgb(209 248 158);text-decoration-thickness:3px}
.contenuto hr {height:0px;border:0;border-top:3px solid rgba(209,248,158,.8);width:150px;margin:4rem auto;}



.contenuto a.button {background:#d1f89e;padding:0 1rem;margin-right:.5rem;display:inline-block;color:#000;text-decoration:none;border-radius:15px;line-height:2.5rem}
.contenuto a.button.fixed {position:fixed;bottom:1rem;left:.5rem;border:2px solid #000}

.pic {width:100%;}


.post-template-default,
.page-template-page-wide,.page-template-page-wide-menu, .page-template-page-wide-menu-lat,
.page-template-page-emee, .page-template-page-green {background:#D1F89E!important; }
.post-template-default, .contenuto, 
.page-template-page-wide-menu-lat .contenuto,
.page-template-page-wide-menu .contenuto, .page-template-page-wide .contenuto, .page-template-page-emee .contenuto, .page-template-page-green .contenuto {background:#000;/* z-index: 40; */}
.page-template-page-wide-menu .contenuto *, .post-template-default .contenuto *, 
.page-template-page-wide-menu-lat .contenuto *,
.page-template-page-wide .contenuto *, .page-template-page-emee .contenuto *, .page-template-page-green .contenuto * {color:#fff}
.page-template-page-green .contenuto a.button span {color:#000;border:1px solid #000; border-radius:50%;width:2rem;height:2rem;line-height:2rem;display:inline-block;text-align:center;}
.page-template-page-green .contenuto a.button {font-size:1rem;width:100%}
.page-template-page-wide-menu h1, .page-template-page-wide-menu-lat h1, .post-template-default h1, .page-template-page-wide h1,
.page-template-page-emee h1, .page-template-page-green h1 {line-height:2rem;background:#000;font-size:1.8rem;color:#fff;text-transform:uppercase;font-weight:600;padding:1rem;border-radius:15px;z-index: 0;}
.post-template-default h1,.page-template-page-wide-menu h1, .page-template-page-wide-menu-lat h1, .page-template-page-wide h1 {display:inline-block;}
.post-template-default h1 {margin-top:0}

.contenuto a {text-decoration:underline}

.post-template-default .pagina {padding-top:3rem;}
.post-template-default .meta {top:-1.5rem}

/*.page-template-page-wide p img {width:30%}*/


.meta {color:#fff;text-transform:lowercase;background:#000;display:inline-block;padding:.5rem;border-radius:15px;font-size: .7rem;float: right;position: relative;top: -1rem;}
.page-template-page-portal .lista .item,
.page-template-page-emee .lista .item {padding:1rem;background:#000;margin-bottom:2rem;border-radius:15px;color:#fff;font-weight:400;/* position:relative; */}
.page-template-page-emee .lista .item * {color:#fff}
.lista .item p a.readmore {text-decoration:none;font-size:.8rem;display:inline-block;border-radius:5px;background:#d1f89e;color:#000;/* font-weight:bold; */padding:0 5px;}

.page-template-page-emee .lista .item h3 {text-transform:uppercase;padding-bottom:1rem;}
.page-template-page-emee .lista .item h3 a {font-weight: 700;}

.page-template-page-portal .lista .item .text,
.page-template-page-emee .lista .item .text {position:relative}
.page-template-page-portal .lista .item .text:after,
.page-template-page-emee .lista .item .text:after {content:'';position:absolute;bottom:-5px;left:0;width:100%;background:#000;height:3rem; 
  background: linear-gradient(to top, rgba(0,0,0, 1) 5%, rgba(255,255,255, 0) 100% );
    pointer-events: none;

}

    .page-template-page-emee h2,
    .page-template-page-emee h1 {background:#d1f89e;color:#000;
      border:2px solid #000;font-size:2rem;display:inline-block;
      line-height:2rem; font-weight:600;border-radius:15px;padding:1rem;
      margin-bottom:1.5rem;
      }

.bordo {border:1px solid #d1f89e;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.page-template-page-emee #content>h2 {margin-top:3rem;text-transform: uppercase;}


@keyframes float {
	0% {
		
		transform: translatex(0px);box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
	}
	50% {
		
		transform: translatex(-10px);box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2);
	}
	100% {
		
		transform: translatex(0px);box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
	}
}


#menuh2 {background:#000; padding:1rem .5rem; border-radius:15px;}
#menuh2.hidden {left:-95%!important}
#menuh2.hidden #shownav {animation: float 2s ease-in-out infinite;}
#menuh2 li {padding:.1rem .5rem; line-height:1.1rem;font-size:.8rem}
#m0 {font-size:.7rem;opacity:.8}
#menuh2.lat #m0 {color:#fff;opacity:1;text-transform:uppercase;font-weight: bold;}
#menuh2 li a {text-transform:uppercase;display:flex;justify-content:flex-start;align-items:flex-start}
#menuh2 li a.h2 {color:#fff;margin-top:.5rem}
#menuh2 li a.h3 {text-transform:none;}
#menuh2 li a.h3:before {content:'\2013\a0'; display:inline-block;width:1rem;
  transform:rotate(18deg);
  font-weight:bold;font-size:1.4rem;line-height:1rem;padding-right:5px;flex:0 0 1rem;
}
#index {
  position:fixed;
  bottom:1rem;
  right: .5rem;
  background:#000;
  display:inline-block;
  width:3rem;
  height:3rem;
  line-height:3rem;
  text-align:center;
  border:1px solid #d1f89e;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius:50%;
}
#index span:before {position:relative;top:-2px!important}

#footer {background:#fff;/* padding:1rem; */color:#000;font-size:1rem;}
#footer .social {display:flex;background:#000;color:#d1f89e;justify-content:center;align-items:center;padding:1rem 0;flex-wrap: wrap;}
#footer .social a {flex:0 0 2rem;height:2rem; line-height:2rem;display:flex;align-items:center;justify-content:center;color:#000;background:#d1f89e; border-radius:50%;margin:0 .3rem .3rem .3rem;}
#footer .social>span {margin-right:1rem}
#footer .container {padding:1rem}
#footer .loghi {display:flex;flex-wrap:wrap; padding-top:2rem;}
#footer .loghi span {width:100%;display: flex;flex: 0 0 100%;padding-left:.5rem;font-weight:600}
#footer .loghi a {display:flex;flex: 0 0 25%;justify-content:center;align-items:center;padding:.5rem;}
#footer .loghi a img {width:100%;height:auto!important; display:inline-block;}
#footer .loghi.founded a {flex:0 0 50%}
#footer .social a.newsletter {background: none!important}
@media only screen and (min-width: 1024px) {
	#footer .social {flex-wrap:nowrap}
}

.error404 h1 {color:#fff}
.error404 .single p {line-height:1.5rem; padding-bottom:4rem}

#menuh2.lat {position:fixed;top:7rem;z-index: 1;width:90%;left: -92%;}
#menuh2.lat {transition: left .4s ease-in-out;}
#menuh2.lat #shownav {
  position:absolute;
  right:-3rem;
  top:0;
  width:3rem;
  height:3rem;
  transition: right .4s ease-in-out;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:50%;
  border-top-left-radius:0;
  border-bottom-left-radius:0;
  border:1px solid #d1f89e;
  border-left-color:transparent;background:#000;
}
#menuh2.lat #shownav.icon-right-big {background:#000}



#menuh2.lat.aprilo {left:-12px;}
#menuh2.lat.aprilo #shownav {right:1px;border:0;top:1px}


    /* PARTICIPANT PORTAL */

.lista.partecipanti .item {display:inline-block;width: 49%;text-align:center;vertical-align: top;padding: 0;
   padding-top:1rem}
.lista.partecipanti img {max-width:80%;border-radius:50%}
.page-template-page-portal .lista .item h4 a{font-weight:bold}
.lista.partecipanti .item h4 {font-size:.8rem;line-height:1rem;}
.lista.partecipanti .item p {font-size:.7rem;line-height:1rem;padding-bottom:0}
.lista.partecipanti.public .item p {font-size:.6rem;line-height:.8rem;}
.lista.partecipanti.public .item h4 {font-size:.7rem;line-height:1rem; white-space:nowrap}
.lista.partecipanti .item .text p a {
    text-decoration:none;
    font-size:1rem;
    line-height: 1.8rem;
    width: 1.8rem;
    display:inline-block;
    color:#000;
    background:#d1f89e;
    border-radius:50%;
    margin:5px 2px;
}
.page-template-page-portal .lista .item .text:after {display:none}


/* FREEZE */
.freeze {display:flex;position:fixed;top:0;left:0;z-index:999;
    width:100vw;height:100vh;background:rgba(0,0,0,.9);
    align-items:center;justify-content:center;
    }
.freeze .form {position:relative;color:#000;background:#d1f89e;padding:2rem;border-radius:15px}
.freeze .form label {display:block;padding-bottom:1rem;}
.freeze .form label span {display:block;color:#777}
.freeze .form input {border:0;padding:.5rem;}
.freeze .form input[type=submit] {
	background:#000;color:#fff;border:0;border-radius:5px;
}
.freeze .form .icon-cancel {position:absolute;top:0rem;right:0rem;color:#000;display:inline-block;width:2rem;height:2rem;line-height:2rem;text-align:center}


/* LESSONS */
.lessons-template-default .contenuto h2 {
	border-bottom:2px solid #d1f89e;
	padding:2rem 0 .5rem 0;
	font-weight:normal;
}
.lessons-template-default .contenuto.lista.speakers {padding-top:0;margin-bottom:2rem}
.lessons-template-default .contenuto.lista.speakers h2 {padding-top:0}

.lessons-template-default .contenuto h2 strong {
	font-weight:normal;font-size:1rem
}


.speakers-template-default .main .contenuto.nobord {border:0;padding-top: 0;padding-bottom: 0;}
.speakers-template-default h1 {text-align:center;/* padding: 0; */margin-bottom: 0;}
.speakers-template-default .speakers-template-default {}
.speakers-template-default .lista.partecipanti {text-align:center}
.speakers-template-default .lista.partecipanti h4 {display:none}
.speakers-template-default .lista.partecipanti .item {padding-top:0;width: 100%;}
.speakers-template-default .lista.partecipanti .item .text p a {margin:10px}
.speakers-template-default .lista.partecipanti .item .text span {font-size:1.5rem;line-height:2rem;}
.speakers-template-default .lista.partecipanti .item .text span.role {font-size:1rem;}

.lista.partecipanti .item .divpic {padding-top: 80%;width: 80%;border-radius: 50%;margin: 0 auto;background-size: cover;background-position: center center;}

/* CELL NORMALI*/
@media only screen and (min-width: 375px) {


}


/* IPAD VERTICALE */
@media only screen and (min-width: 768px) {

    /* PARTICIPANT PORTAL */

	.lista.partecipanti .item {width: 30%;}


}


/* DESKTOP O IPAD ORIZZONTALE */
@media only screen and (min-width: 1024px) {

	/*.mobile {display:none}
	.desktop {display:block}*/

    .page-template-page-home #top a.logo {margin-left: 4rem;}
    .menulatopen.page-template-page-home #top a.logo {margin-left: 0rem;}
    #hamb { margin-right:2rem}


     #latmenu .voci li:not(.inactive):not(.current-menu-item):hover:before {
        position:absolute;
        opacity:.8;
        background:#000;padding:0rem;border-radius:50%; line-height:2rem; font-size:.8rem;
        border:2px solid #D1F89E;box-shadow: 0px 0px 3px #000000aa;
        left:calc(-1rem - 2px );
        width:2rem;height:2rem;

      font-family: "fontello";
      font-style: normal;
      font-weight: normal;
      speak: never;

      display: inline-block;
      text-decoration: inherit;
      text-align: center;
      /* opacity: .8; */

      /* For safety - reset parent styles, that can break glyph codes*/
      font-variant: normal;
      text-transform: none;

      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;

      /* Uncomment for 3D effect */
      /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */

        content: '\e810';;
     }



    .page-template-page-home .pagina,
    .page-template-page-green .pagina {
      display:flex; justify-content:space-between;
    }
    .page-template-page-home .pagina {padding-top:3rem;}
    .pagina {
      padding-bottom:0rem;
      margin:0 4rem;
    }
    .pagina .main {
      flex:0 0 50%;
      margin: 3rem 0rem 3rem;
    }
    .page-template-page-wide .pagina .main {margin-top:0}
    .pagina .pic {
      display:flex;
      align-self:flex-end;
    }
    .pagina .pic img {align-self:flex-end}

    .page-template-page-portal .pic, 
    .page-template-page-portal .pic img
     {max-height: 50vh;width:auto;justify-content:center;}
     .page-template-page-portal .pic {margin-bottom:2rem;
         margin-left: calc( 33% - 1.5rem );}

    
    .page-template-page-green h1 {position:absolute; }
    .page-template-page-green .pic {order:0; padding-top:10rem;}
    .page-template-page-emee .main,
    .page-template-page-green .main {order:1}
    .page-template-page-emee .pic {
      position:absolute;
      top: 5rem;
      right:2rem;
      width: 30%;
      z-index:0;
      text-align:right;
      }
      
      .page-template-page-wide-menu h1,
      .page-template-page-wide-menu-lat h1,
       .page-template-page-wide h1 {display:inline-block;margin-left: 4rem;margin-right: 4rem;margin-bottom: 0rem;}
    .page-template-page-emee .pic img {height:5rem;width:auto;display:inline-block}
   .page-template-page-emee .main {
    width:70%;
    /* flex:0 0 70%; */
    padding:0rem 0 0 0;
    margin:0 0 2rem 0;
    z-index: 0;
    position: relative;
   }
   .page-template-page-emee .lista {width:70%;position: relative;margin: 0 4rem;}

   .page-template-page-emee .lista .meta {top:0; right:-120px; width:100px}

  .page-template-page-emee #content>h2 {margin:2rem 4rem 1.5rem 4rem}

   .page-template-page-wide-menu-lat h1,
   .page-template-page-wide-menu h1, .page-template-page-wide h1 {margin-left: 0rem;margin-right: 0rem;margin-bottom: 1rem;}

  .post-template-default .pagina {margin:0 4rem;}
  .post-template-default .pagina .main {margin:0}

  .contenuto:before {top:3rem; left:calc(-1rem - 1px)}
  .contenuto {padding:2rem 2rem }




    #footer .loghi span {font-weight:600;font-size:.8rem;padding-left:.5rem;}
    #footer .container {display:flex;flex-wrap:wrap}
    #footer .loghi {justify-content:space-between}
    #footer .loghi a {flex: 0 0 11%;}
    #footer .loghi.consortium {flex:0 0 78%;}
    #footer .loghi.founded {flex:0 0 20%;margin-left:2%;}
    #footer .loghi.founded a {flex:0 0 80%;}

    #footer .loghi.advisory {flex:0 0 100%;}
    #footer .loghi.advisory a {flex: 0 0 7.5%;}

    #menuh2.lat {max-height:calc(100vh - 7rem);overflow:hidden;overflow-y:auto;
        position:fixed;left: -20px;z-index: 9;top: 6.5rem;width:33%;font-size:.75rem;line-height:.7rem;}
    #menuh2.lat li {padding:.3rem 0 0 1rem;font-size: .85rem;}
	
	#menuh2.hidden {left:-20px!important}
	#menuh2.lat #shownav {display:none}


    .page-template-page-wide-menu-lat .pagina h1, 
    .page-template-page-wide-menu-lat .pagina .main {margin-left: calc(33% - 1.5rem)}
    .page-template-page-wide-menu-lat .pagina .main {margin-top:0rem}



	#menuh2.lat {
	  --scrollbarBG: transparent;
	  --thumbBG: #888;
	}
	#menuh2.lat::-webkit-scrollbar {
	  width: 11px;
	}
	#menuh2.lat {
	  scrollbar-width: thin;
	  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
	}
	#menuh2.lat::-webkit-scrollbar-track {
	  background: var(--scrollbarBG);
	}
	#menuh2.lat::-webkit-scrollbar-thumb {
	  background-color: var(--thumbBG) ;
	  border-radius: 6px;
	  border: 3px solid var(--scrollbarBG);
	}


    /* PARTICIPANT PORTAL */

	.lista.partecipanti .item {width: 23%;}

	.lessons-template-default .lista.partecipanti .item {width: 15%;}



    .speakers-template-default .lista.partecipanti .item {width: 50%;max-width:500px}

}


#G_info {background:#111;
  border: 1px solid var(--colore1); margin:.5rem;border-radius:15px;
  position:
  fixed;bottom:0;right:0;width:50%;
  height:
  auto;padding:1rem;
  text-align:
  center;max-width:250px;
  }
#G_info a {color:#fff;display:block;font-size:.8rem;line-height:1.3rem;border:1px solid #fff; margin:1rem 0 0 0; border-radius:5px}
#G_chiud {background-color: var(--colore1);color: #fff!important;border-color:#000}

/* DESKTOP GRANDI */
@media only screen and (min-width: 1114px) {

  html,body {font-size:22px}

  .page-template-page-emee .lista .meta { width:120px;right:-140px}

}


/* DESKTOP GRANDI GRANDI */

@media only screen and (min-width: 1350px) {
  html,body {font-size:24px}

  .contenuto p, .contenuto li {font-size:.8rem;line-height:1.4rem}

}


@media only screen and (min-width: 1500px) {
    #menuh2.lat {font-size:.75rem;line-height:.7rem;}
    #menuh2.lat li {font-size: .7rem;padding-top: .1rem;}
}











/* CBUTTON EFFECTS */
.cbutton {
	position: relative;
	overflow: visible;
	-webkit-transition: color 0.7s;
	transition: color 0.7s;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.cbutton.cbutton--click {
	outline: none;
	color: #ffffff;
}

.cbutton__icon {
	display: block;
}

.cbutton__text {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}


.cbutton::after {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -35px 0 0 -35px;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	content: '';
	opacity: 0;
	pointer-events: none;
}

/* Novak */
.cbutton--effect-novak::after {
	/*background: rgba(111,148,182,0.25);*/

	background: rgba(255,255,255,0.5);
}

.cbutton--effect-novak.cbutton--click::after {
	-webkit-animation: anim-effect-novak 0.5s forwards;
	animation: anim-effect-novak 0.5s forwards;
}

@-webkit-keyframes anim-effect-novak {
	0% {
		opacity: 1;
		-webkit-transform: scale3d(0.1, 0.1, 1);
		transform: scale3d(0.1, 0.1, 1);
	}
	100% {
		opacity: 0;
		-webkit-transform: scale3d(8, 8, 1);
		transform: scale3d(8, 8, 1);
	}
}

@keyframes anim-effect-novak {
	0% {
		opacity: 1;
		-webkit-transform: scale3d(0.1, 0.1, 1);
		transform: scale3d(0.1, 0.1, 1);
	}
	100% {
		opacity: 0;
		-webkit-transform: scale3d(8, 8, 1);
		transform: scale3d(8, 8, 1);
	}
}



a.edit-post-link {
	text-decoration:none;
	font-size:.9rem;background:yellow;color:#000;font-weight:bold;padding:0;line-height:1.1rem;
	display:inline-block;height:1.1rem;vertical-align:middle;align-self:center;border-radius:.3rem;padding:0 5px;border:.05rem solid #000;
	box-sizing:border-box;
}



.MAILCHIMP {width:100%;flex: 0 0 100%;background:#000;color:#fff}
#mc_embed_signup {background: transparent!important;
				 max-width:100%!important;
				  width:100%!important;
				  
				 
				 }







/* NEWS LOOP FOR HOME PAGE  */

.news-home-loop ul{
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap:15px;
  margin: 0 auto;
}
.contenuto .news-home-loop ul li {
  list-style-type: none;
  flex:0 1 100%;
  margin-bottom: 0px;
}
div.rc_text .news-home-loop ul li::before{
  content:none;
  margin-left:0;
}

.news-home-loop .news-card figure img, .news-home-loop .news-card{
  border-radius: 15px;

}

.news-home-loop .news-card figure {
  margin-bottom: 0px;
}
.news-home-loop .wp-block-group .wp-block-group{
  flex: 1 1 70%;
}
.news-home-loop .news-card figure{
  flex: 1 1 25%;
}

.news-home-loop .news-card a, .news-home-loop .news-card time, .news-home-loop .news-card h2{
  padding:0px;
}

.news-home-loop .news-card time{
  padding: 0;

}
.news-home-loop .wp-block-group .wp-block-group {
  padding:1em 0.7em;
}

.news-home-loop .news-card h2{
  padding: 0px;
  margin: 0px;
}

.projects-buttons-home .wp-block-button a {
  color:#ffffff!important;
  font-weight: 800;
  background:#8100ff; 
  border-radius: 15px;
}

.contenuto hr.news-separator{
  border-top: 1px solid var(--colore1);
  margin:1rem auto;
  width:400px;
}

@media screen and (max-width: 850px) {
  
  .news-home-loop .wp-block-group .wp-block-group, .news-home-loop .news-card figure{ 
    flex: 1 1 100%;
  }
  .news-home-loop .wp-block-group{
    flex-direction: column;
  }
  .news-home-loop .wp-block-group .wp-block-group {
    padding:0 0.7em 2em 0.7em;
  }
  
}

 @media screen and (max-width: 1023px){
  .rc_title.newemee {
    color: #ffffff;
  }
  .landing.home-rc h1.rc-title, .contenuto.bordo.rc_text.newemee * {
    color: #000000;
  }
  
 }

 .home-rc .main, .home-rc h1{
  flex-grow: 1;
  flex-shrink: 1;
 }


.post-template-default .contenuto * {
	color: #000;
}

@media screen and (min-width: 1024px) {

  .post-template-default section.rc-section.home-rc#page-content {
    display: block;
    margin-top: 0;
  }

  .post-template-default .home-rc .main {
    max-width: 100%;
  }
} 

.home a, .home .contenuto li a {
	color: #000;
	text-decoration-color: #000;
}

.home .home-news li {
	width: 23%;
	max-width: 23%;
	min-width: 300px;
}

.home-news .wp-block-post-featured-image img{
  height:200px;
}
.home-news h2.wp-block-post-title{
  font-size:1rem;
}
@media (min-width: 600px) {
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image),  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2) ~ figure.wp-block-image:not(#individual-image) {
    width: calc(20% - var(--wp--style--unstable-gallery-gap, 16px)*.66667);
    max-width: 300px;
  }
}
