:root {
  --white: #ffffff;
  --black: #424242;
  --grey: #555555;
  --light-grey: #777777;
  --dark-orange: #f05a28;
  --orange: #f48022;
  --blue: #4d6ca9;
  --light-blue: #b6cbd3;
  --pale-blue: #e4f0f4;
  --footer-bg: #034743;
  --title-font: 'Oswald', sans-serif;
  --base-font:'Nunito', sans-serif;
  --box-shadow: '0 0 5px rgba(161,172,175,.2)';
}

.st0{fill:var(--blue);}
body, p{font-family: 'Nunito', sans-serif; color: var(--light-grey)}
h1,h2,h3,h4,h5,h6{font-family: 'Oswald', sans-serif; color: var(--black); text-transform: uppercase; margin-bottom: 10px}
a{transition: all linear .2s; outline: none; color: var(--aquagreen)}
a:hover{color: var(--black); cursor: pointer}
.white{color: #fff}
.title-font{font-family: var(--title-font)}
.text-blue{color: var(--aquagreen)}
.text-orange{ color: var(--dark-orange)}
.stblue{fill:var(--blue);}

.button{    background: var(--orange);    color: #fff;    text-transform: uppercase;}
.button:hover,.button:focus{    background: var(--black);}

a.button{margin-bottom: 0;  background: none;  color: var(--orange) ;font-family: var(--title-font); border: 1px solid var(--orange); text-transform: uppercase; margin-top: 20px; font-size: 16px; padding-left: 30px; padding-right: 30px}
a.button:hover,a.button:focus{background: var(--orange) ; color: #fff}
a.button.light-button{color:#fff ; border: 1px solid #fff;}
a.button.light-button:hover{color:transparent; background: #fff; color: var(--orange) ;  }
.button.disabled, .button.disabled:focus, .button.disabled:hover, .button[disabled], .button[disabled]:focus, .button[disabled]:hover{background: var(--pale-blue) !Important; color:var(--grey) !Important}

a.button-blue{background: var(--blue);color:#fff; border: none; padding: 20px 30px !important;}
a.button-orange{background: var(--orange); color:#fff;border: none;  padding: 20px 30px !important;}
a.button-blue:hover,a.button-orange:hover{background: var(--black)}

p a.button{margin-top: 0}

ol { list-style: none;  counter-reset:my-awesome-counter;  margin: 0;  padding: 0;display: flex;  flex-wrap: wrap;}
ol li {  --size:65px;counter-increment: my-awesome-counter;   margin-bottom: 3rem; align-items: center;  width: 100%;  position: relative;padding-left: 6rem; min-height:  var(--size)}
ol li::after{content: ""; display: block;position: absolute; left: 30px; top:var(--size); height: 100%; border: 3px solid var(--light-blue);margin-top: -20px;}
ol li:last-child:after{display: none}
ol li::before {  content:  counter(my-awesome-counter);  font-family: var(--title-font);  font-size: 2.2rem;     line-height: var(--size); align-self: flex-start; background:  var(--blue); color: #fff; border-radius: 50%; width: var(--size); height: var(--size); display: block; position: absolute; left: 0; text-align: center; top: -20px}

.boxed-div{padding: 30px !important; box-shadow:0 0 5px rgba(161,172,175,.2);  }

.lit-form .search-submit{width: 28px !important; height: 28px; font-size: 0; background: var(--blue) url(../img/icons/ic_search.svg) center center no-repeat; background-size: 16px; margin-right: 0}
.lit-form input{height: 28px; box-shadow: none; border: none;width: 90px !important; transition: width linear .2s}
.lit-form input[type="search"]:focus{width: 200px !important}

.wp-block-button__link{margin-bottom: 0;  background: var(--orange);  color: #fff;font-family: var(--title-font);  text-transform: uppercase; margin-top: 20px; font-size: 16px; padding-left: 30px; padding-right: 30px}
.wp-block-button__link:hover{background: var(--black) ; color: #fff}

#moove_gdpr_cookie_modal .switch .slider{height: 29px}

header.header{/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3d5385+0,5775ae+91&1+0,0+100 */
background: -moz-linear-gradient(top,var(--blue) 0%,  rgba(255,255,255,.3) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, var(--blue) 0%, rgba(255,255,255,.3) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, var(--blue) 0%, rgba(255,255,255,.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d5385', endColorstr='#005775ae',GradientType=0 ); /* IE6-9 */ padding: 10px;}
.top-bar, .top-bar ul{background: none;}
.top-bar ul li a{font-family: "Oswald"; color: #fff; text-transform: uppercase; font-size: 16px;    letter-spacing: .02em;}
.top-bar ul li a:not(.logo-header):hover{background: var(--blue); color: #fff}
.top-bar #main-nav > .active>a{background:  var(--orange); color:#fff }
.dropdown.menu>li.is-active  > a{background: var(--blue); color: #fff}
.dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a::after{    border-color: #fff transparent transparent;}
.dropdown.menu.medium-horizontal>li.opens-left>.is-dropdown-submenu{background: #fff}
.dropdown.menu.medium-horizontal>li.opens-left>.is-dropdown-submenu li a{color: var(--black); font-size: 18px; font-family: var(--base-font); text-transform: initial}
.dropdown.menu.medium-horizontal>li.opens-left>.is-dropdown-submenu li a:hover{background: var(--blue); color: #fff}
.dropdown.menu > li.opens-left > .is-dropdown-submenu {  top: 100%;  right: 0;  left: 0 !important; }
.dropdown.menu.medium-horizontal>li.opens-left>.is-dropdown-submenu li.active a{color: var(--orange); background: none}

.top-bar ul li.highlight  a{background:var(--dark-orange); color: #fff; }
.top-bar ul li.highlight  a:hover{background:var(--black); color: #fff;}
.logo-header{font-size: 0 !important; background: url(../img/asimov.svg) left center no-repeat; background-size: contain; width: 350px; height: 115px}
.logo-header:hover{transform: scale(1.05)}

.position-top{height: 100vh;-webkit-transform: translateY(-100vh);    -ms-transform: translateY(-100vh);    transform: translateY(-100vh);}
.off-canvas-content.is-open-top.has-transition-push {    -webkit-transform: translateY(100vh);    -ms-transform: translateY(100vh);    transform: translateY(100vh);}
.off-canvas .close-button{color: #fff; position: relative}
.off-canvas .logo-header{    background-position: center;}
.off-canvas{background:var(--footer-bg); padding-top: 20px; padding-bottom: 20px; }
.off-canvas #offcanvas-nav{margin-top: 20px}
.off-canvas ul a{color: #fff; text-transform: uppercase; font-family:  var(--title-font); text-align: center}

.off-canvas  #offcanvas-nav>li > a{margin-bottom: 1px; background: var(--blue) }
.off-canvas  #offcanvas-nav> .active>a{background: var(--dark-orange)}
.accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle)>a::after{    border-color: #fff transparent transparent;}

.off-canvas  .submenu a{font-family: var(--base-font); text-transform: initial;font-size: 14px;} 
.off-canvas  .submenu .active>a{background: none}

body.overflow-header header.header{    z-index: 100;    position: absolute;    top: 0;    width: 100%; background: none}
body.home.overflow-header .entry-content > div:first-child{padding-top: 190px}
.home .page-title{display: none}
.home #breadcrumbs{display: none}
body.overflow-header #breadcrumbs{margin-top: 190px}


#breadcrumbs{background: var(--pale-blue); padding-top: 10px; padding-bottom: 10px; color: #fff; margin-bottom: 50px}
#breadcrumbs a{color: #fff;}
#breadcrumbs svg path {fill:#fff !important;}
#breadcrumbs .addtoany_shortcode a{height: 26px}

.newsletter-block{background: var(--dark-orange); padding-top: 40px; padding-bottom: 40px}
.newsletter-block h3, .newsletter-block p, .newsletter-block label{color: #fff !important;}

footer.footer{background: var(--footer-bg); color: #e8e8e8;margin-bottom: 0 }
footer.footer p , footer.footer a{color: #e8e8e8;}
.footer.footer .inner-footer{ padding-top: 40px; }
footer.footer h4{color: #fff}
.footer.footer .copyright{margin-top: 40px; background: var(--black); padding: 15px;}
.footer.footer .copyright p{margin: 0; font-size: 13px}


.footer.footer .menu { margin: 0; text-transform: uppercase}
.footer.footer .menu a{padding: .7rem 0}
.footer.footer .menu .active>a{background: none; color: #e8e8e8}
.footer.footer .sub-menu{display: none}

.social-menu a{width: 30px; height: 30px; background:  center center no-repeat; fill:#fff; background-size: contain; font-size: 0; margin-right: .7rem}
.social-menu .facebook-icon a{background-image:url(../img/icons/facebook.svg);}
.social-menu .linkedin-icon a{background-image:url(../img/icons/linkedin.svg);}
.social-menu .instagram-icon a{background-image:url(../img/icons/instagram.svg);}
.social-menu .youtube-icon a{background-image:url(../img/icons/youtube.svg);}
.social-menu .twitter-icon a{background-image:url(../img/icons/twitter.svg);}
.social-menu .pinterest-icon a{background-image:url(../img/icons/pinterest.svg);}

/* PAGE VAR */

h1.page-title{font-size: 50px; display: block; border-bottom: 1px solid var(--black); padding-bottom: 20px; margin-bottom: 40px}
.entry-content h2{font-size: 28px}
/* BLOCCHI */

.page .entry-content > div[class^="wp-block"] ,.single-edizioni .entry-content > div[class^="wp-block"] {margin-left: auto; margin-right: auto;margin-bottom: 90px; max-width: 120rem}
.page .entry-content > div[class^="wp-block"]:not(:first-child),.single-edizioni .entry-content > div[class^="wp-block"]:not(:first-child){margin-top: 30px}
.page .entry-content > div.wp-block-spacer,.single-edizioni .entry-content > div.wp-block-spacer{margin-bottom: 0 !important}
.wp-block-columns{max-width: 60rem !important; margin: 0 auto;    padding-right: .9375rem;    padding-left: .9375rem; }
.wp-block-column:not(:last-child){margin-right: 15px}
.wp-block-column:not(:first-child), .wp-block-column:nth-child(2n){margin-left: 15px}

/* BLOCCO HEADER */
.wp-block-header{background: center center no-repeat; background-size: cover; background-attachment: fixed; max-width: 100% !important; position: relative; padding-top: 150px; padding-bottom: 100px}
.wp-block-header:before{content:""; display: block; position: absolute;top: 0; width: 100%; height: 100%; background: -moz-linear-gradient(top, var(--blue) 0%, rgba(87,117,174,0.09) 91%, rgba(87,117,174,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, var(--blue) 0%,rgba(87,117,174,0.09) 91%,rgba(87,117,174,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, var(--blue) 0%,rgba(87,117,174,0.09) 91%,rgba(87,117,174,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d5385', endColorstr='#005775ae',GradientType=0 ); /* IE6-9 */}
.wp-block-header .grid-container{position: relative; z-index: 1; padding-top: 50px}
.wp-block-header .content-block .content-left{background: #fff; box-shadow:0 0 5px rgba(161,172,175,.2); padding: 25px 50px 50px 50px }
.contatore ul { background: var( --dark-orange); color: #fff; text-align: center; padding: 10px 0 15px 0}
 .wp-block-header .contatore ul { max-width: 80%; margin: 0 auto;  position: relative; top:-50px;  }
 .contatore ul .numero{font-family: var(--title-font); font-size: 35px}
.contatore ul .testo{font-family: var(--title-font); font-size: 13px; text-transform: uppercase}
 .contatore ul li:not(:last-child){border-right: 1px solid #fff}
.wp-block-header .content-block .content-left .title{font-size: 50px;font-family: var(--title-font); color: var(--orange);text-transform: uppercase; margin-bottom: 20px}
.wp-block-header .content-block .content-left .subtitle{font-size: 35px;font-family: var(--title-font); color: var(--blue); text-transform: uppercase}

.wp-block-header .content-block .content-right > div:first-child{background: var(--blue); color: #fff;}
.wp-block-header .content-block .content-right > div:last-child{background: var(--orange); color: #fff;}
.wp-block-header .content-block .content-right > div{padding: 20px}
.wp-block-header .content-block .content-right .title{color: #fff; margin-bottom: 10px; width: 100%}
.wp-block-header .content-block .content-right p{color: #fff; margin-bottom: 0}



@media screen and (max-width: 39.9375em) {
    .wp-block-header .content-block .contatore ul { max-width: 95%;}
    .wp-block-header .content-block .contatore ul .numero{font-size: 26px}
    .wp-block-header .content-block .content-left .subtitle{font-size: 28px}
    .wp-block-header .content-block .content-left .title{font-size: 35px}
    .wp-block-header .content-block .content-left{padding: 0 25px 25px;}
    .wp-block-header .content-block .content-right p{display: none}
    .page .entry-content > div.wp-block-spacer{margin-bottom: 0 !important}
    .single-edizioni  .entry-content > div.wp-block-spacer{margin-bottom: 0 !important}
    
}

/* BLOCCO ICONE */
.wp-block-icone .icona-block{ height: 110px; background: center center no-repeat; background-size: contain; margin-bottom: 15px}
.wp-block-icone .title{font-size:22px; margin-bottom: 10px}
.wp-block-icone .icona-block svg{object-fit: contain;    width: 100%;    height: 100%;}
	@media screen and (max-width: 39.9375em) {
    .wp-block-icone .content-block > div >.cell{margin-bottom: 30px; border-bottom: 1px solid var(--pale-blue); padding-bottom: 20px}
    .wp-block-icone .blocco-icone-content{text-align: left; }
.wp-block-icone .icona-block{   height: 89px;}
}


/* BLOCCO GALLERIA */
.slick-slide{outline: none}
.galleria-grid .cell{margin-bottom: 30px}
.galleria-slider .single-image{background: center center no-repeat; background-size: cover; border-bottom: 15px solid #fff;    border-top: 15px solid #fff;}
.galleria-slider .single-image a{width: 100%; height: 100%; display: block; opacity: 0; background: var(--orange); position: relative}
.galleria-slider .single-image a:hover{opacity: .6}
.galleria-slider .single-image a:before{content: "+";z-index: 2; font-size: 60px; left: 0; right: 0; color: #fff; display: block; position: absolute;width: 60px; height: 60px; top: 50%;   margin:-30px auto 0 ;    line-height: 60px;    text-align: center;}
.galleria-slider .single-image img{opacity: 0; width: 100%; height: 100%}
.galleria-slider .single-image.full-size{height: 100%}
@media screen and (max-width: 39.9375em) {
.galleria-slider .no-m-r{ border-left: .625rem solid #fff; border-right: .625rem solid #fff; margin-bottom: 1.25rem }
    .galleria-slider .single-image{border: 0; margin-top: 1.25rem;  }
    
}    
@media screen and (min-width: 40em) {
.galleria-slider .no-m-r{margin-right: 0; margin-left: 30px}
}
.galleria-slider .slick-prev{background: url(../img/icons/ic_arrow-right.svg) center center no-repeat !Important; background-size: contain !Important; width: 30px; height: 80px}
.galleria-slider .slick-next{background: url(../img/icons/ic_arrow-left.svg) center center no-repeat !important; background-size: contain !important; width: 30px; height: 80px}

.slick-prev:hover, .slick-prev:focus,.slick-next:hover, .slick-next:focus{opacity:.6;}


/* BLOCCO SOSTENITORI */
#sostenitori-tabs{margin-bottom: 30px}
.tabs-panel{padding: 0}
.aderisci-box{background:var(--blue); padding: 20px 30px !important; margin-top:5px; width: 100%}
.aderisci-box p{color: var(--white) }

#mappa-italia path{fill:var( --pale-blue); transition: all linear .1s }
.wp-block-sostenitori .tabs-title {padding: 0 .7rem}
.wp-block-sostenitori .tabs-title a{border: 1px solid var(--light-blue); color: var(--light-blue); font-family: var(--base-font); font-size: 16px; text-transform: uppercase;}
.wp-block-sostenitori .tabs-title.is-active a,.wp-block-sostenitori .tabs-title a:hover{border: 1px solid var(--orange); color: var(--orange); background: none}
.wp-block-sostenitori img{border: 5px solid #fff}
.sostenitori-description{margin-bottom: 40px}

/* BLOCCO MAPPA */
.mappa-container .grid-container > div{padding: 30px; box-shadow:0 0 5px rgba(161,172,175,.2);}
.mappa-container select, .mappa-container input[type="search"]{background: var(--pale-blue); border: none;color: var(--grey)}
.mappa-container input.button{background: var(--orange); color: #fff; text-transform: uppercase}
.mappa-container input.button:hover{background: var(--black)}
.mappa-container select::placeholder, .mappa-container input[type="search"]::placeholder{color: var(--grey)}

@media screen and (max-width: 39.9375em) {
    .wp-block-sostenitori .tabs-title a {font-size: 12px;padding:.4rem}
    .wp-block-sostenitori .tabs-title{padding: .5rem}
    .mappa-container .grid-container > div{padding:20px 10px;}
    .sostenitori-description{margin-bottom: 20px}
    #mappa-italia{margin-bottom: 20px}
}

/* BLOCCO STEPS */
.wp-block-steps{--size:60px}
.wp-block-steps .circle {  text-align: center; line-height: var(--size); border-radius: 50%; background-color: var(--blue);  color: #fff; height: var(--size); width: var(--size); z-index: 2; font-family: var(--title-font); font-size: 2rem}

.wp-block-steps .single-step.grid-x .small-3 {  display: inline-flex;  align-self: stretch;  align-items: center;  justify-content: center; position: relative;}
.wp-block-steps .single-step.grid-x .small-3::after {  content: "";  position: absolute;  border-left: 3px solid var(--light-blue); z-index: 1;}
.wp-block-steps .single-step.grid-x .small-3.bottom::after {  height: 50%;  left: 50%;  top: 50%;}
.wp-block-steps .single-step.grid-x .small-3.full::after {  height: 100%;  left: calc(50%);}
.wp-block-steps .single-step.grid-x.align-right .small-3.full::after {  height: 100%;  left: calc(50% - 3px);}
.wp-block-steps .single-step.grid-x .small-3.top::after {  height: 50%;  left: 50%;  top: 0;}
.wp-block-steps .grid-container .grid-x:last-child .full:after{height: 50%; top: 0}

.wp-block-steps .timeline div {  padding: 0;  height: 40px;}
.wp-block-steps .timeline hr {  border-top: 3px solid var(--light-blue);  margin: 0;  top: 17px;  position: relative;}
.wp-block-steps .timeline .small-3 {  display: flex;  overflow: hidden;}
.wp-block-steps .timeline .corner {  border: 3px solid var(--light-blue);  width: 100%;  position: relative;  border-radius: 15px;}
.wp-block-steps .timeline .top-right {  left: 50%;  top: -50%;}
.wp-block-steps .timeline .left-bottom {  left: -50%;  top: calc(50% - 3px);}
.wp-block-steps .timeline .top-left {  left: -50%;  top: -50%;}
.wp-block-steps .timeline .right-bottom {  left: 50%;  top: calc(50% - 3px);}
.wp-block-steps hr{border-bottom:0}
.wp-block-steps h5{margin-bottom: 0}

.related-post-bst{margin-top: 100px}
.related-post-bst h2{    font-size: 28px; margin-bottom: 30px}

.page-navigation {    border-top: 1px solid var(--black);    padding-top: 20px;    text-align: center;}
.pagination .current{background: var(--blue)}


/* SEARCH */
.search-results article {margin-top: 40px; border-bottom: 1px solid var(--light-blue); padding-bottom: 40px;}
.search-results .article-header h2{font-size: 24px; color: var(--black)}
.search-results .article-header a{color: var(--black)}
.search-results .article-header a:hover{color:var(--orange)}
.search-results article img{display: none}
.post-type-archive-biblioteca.search-results article.type-biblioteca{border-bottom: 0 ;margin-top: 0}

.searchform-biblioteca{margin-bottom: 50px}

/* SINGOLA REGIONE */
.lista-scuole{padding: 0; margin: 0}
.lista-scuole li{list-style: none;margin-bottom: 10px }
.single-mappa .entry-content .wp-block{margin-bottom: 100px}
.single-mappa .wp-block-mappa{margin-bottom: 100px; margin-top: 30px}


/* SINGOLA EDIZIONE */
.single-edizioni .type-edizioni > .article-header{margin-bottom: 100px; border-bottom: 3px solid var(--pale-blue);
    padding-bottom: 50px;}
.single-edizioni .data-edizione{font-size: 35px;   text-align: center; font-family: var(--title-font);    color: var(--blue);    text-transform: uppercase; margin-bottom: 20px}
.action-menu-button{margin-left: -.7rem; margin-right: -.7rem}
.action-menu-button li{padding: 0 .7rem}

.single-edizioni .article-footer > div{margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--black); margin-bottom: 100px}
.single-edizioni .article-footer a{text-transform: uppercase; font-size: 13px; color: var(--dark-orange); font-weight: 700}
.single-edizioni .article-footer .prev-link a{background: url(../img/icons/ic_arrow-right-orange.svg) left center no-repeat; padding-left: 20px}
.single-edizioni .article-footer .next-link a{background: url(../img/icons/ic_arrow-left-orange.svg) right center no-repeat; padding-right: 20px}

.wp-block-programma{background: var(--pale-blue);padding-top: 50px; padding-bottom: 50px}
.programma-orari{ margin-top: 50px; margin-bottom: 50px}
.programma-orari > div > div:first-child{font-size: 18px; color: var(--grey)}
.programma-orari > div > div:first-child .shrink{display: none;}
.programma-orari .single-line{margin-bottom: 10px; padding: 5px 4px; border-bottom: 1px solid var(--black)}
.programma-orari .single-line .time{font-family: var(--title-font); font-size: 18px; color: var(--grey); padding-right: 15px}
.programma-orari .single-line .description{}
.wp-block-programma h4{font-size: 20px}

.wp-block-proposta{margin-bottom:100px; padding-top: 50px; padding-bottom: 50px; background: var(--blue)}
.wp-block-proposta, .wp-block-proposta p, .wp-block-proposta h2{color: #fff;}

.wp-block-recensioni{margin-bottom:100px; padding-top: 50px; padding-bottom: 50px; background: var(--dark-orange)}
.wp-block-recensioni, .wp-block-recensioni p, .wp-block-recensioni h2{color: #fff;}

.cont-style ul { background: var( --orange); color: #fff; text-align: center; padding: 10px 0 15px 0}
.cont-style ul { max-width: 80%; margin: 0 auto;  }
.cont-style ul .numero{font-family: var(--title-font); font-size: 35px}
.cont-style ul .testo{font-family: var(--title-font); font-size: 13px; text-transform: uppercase}
.cont-style ul li:not(:last-child){border-right: 1px solid #fff}
.main-content-edizioni{font-size:18px;}

.wp-block-libri-finalisti h2, .wp-block-libri-vincitori h2{margin-bottom: 50px}
.wp-block-libri-vincitori{background: var(--pale-blue); padding-top: 50px; padding-bottom: 50px;}

/* SINGLE COMMISSIONE */
.commissione-template-default .main{margin-bottom: 100px}
.commissione-template-default img.wp-post-image{margin-top: 17px}

/* ARCHIVE POST */
.boxed-news article{background: #fff; box-shadow: 0 0 5px rgba(161,172,175,.2); padding-bottom: 10px; margin-bottom: 30px}
.boxed-news .post-categories{position: relative; top: -15px; margin-left: 0; padding-left: .9rem; padding-right: .9rem}
.post-categories{margin-left: 0}
.post-categories li{list-style: none; display: inline-block;}
.post-categories li a{padding: .5rem .7rem; border: 1px solid var(--orange); color: var(--orange); background: #fff; font-size: 12px; text-transform: uppercase; font-weight: 700}
.post-categories li a:hover{background: var(--orange); color: #fff;}
.post-source{position: relative; top: -10px; margin-left: 0; margin-bottom: 10px }
.post-source span{padding: .5rem .7rem; border: 1px solid var(--orange); color: var(--orange); background: #fff; font-size: 13px; font-weight: 700}

.boxed-news article .article-header, .archive-grid article .entry-content{padding-left: .9rem; padding-right: .9rem}
.boxed-news article .title{font-size: 18px; margin-bottom: 8px}
.boxed-news article .title a{font-family: var(--title-font); font-size: 18px; text-transform: uppercase; color: var(--grey); }
.boxed-news article .title a:hover{color: var(--dark-orange)}
.boxed-news article .post-date{font-size: 12px; font-weight: 700; color: var(--light-grey); margin-bottom: 8px}
.boxed-news article .entry-content,  .archive-grid article .entry-content p{font-size: 15px}
.boxed-news .excerpt-read-more {display: block; text-align: right; color: var(--orange)}
.boxed-news .excerpt-read-more:hover{color: var(--grey)}
.boxed-news .featured-image > a{background: var(--dark-orange); display: block}
.boxed-news .featured-image > a img{width: 100%; transition: opacity linear .2s}
.boxed-news .featured-image > a:hover img{opacity: .5}

.taxonomy-description{margin-bottom: 30px}

.wp-block-news {margin-bottom: 100px; background: -moz-linear-gradient(top, var(--blue) 0%, rgba(87,117,174,0.09) 91%, rgba(87,117,174,0) 100%);    background: -webkit-linear-gradient(top, var(--blue) 0%,rgba(87,117,174,0.09) 91%,rgba(87,117,174,0) 100%);    background: linear-gradient(to bottom, var(--blue) 0%,rgba(87,117,174,0.09) 91%,rgba(87,117,174,0) 100%);    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d5385', endColorstr='#005775ae',GradientType=0 ); padding-top: 40px}
.wp-block-news h2{font-size: 28px; margin-bottom: 30px; color: #fff}

/* single post */
.single-post .header-image{margin-bottom: 0; position: relative; padding-top: 190px; background:center center no-repeat; background-size: cover; background-attachment: fixed}
.single-post .header-image:before{    content: "";    display: block;    position: absolute;    top: 0;    width: 100%;    height: 100%;    background: -moz-linear-gradient(top, var(--blue) 0%, rgba(87,117,174,0.09) 91%, rgba(87,117,174,0) 100%);    background: -webkit-linear-gradient(top, var(--blue) 0%,rgba(87,117,174,0.09) 91%,rgba(87,117,174,0) 100%);    background: linear-gradient(to bottom, var(--blue) 0%,rgba(87,117,174,0.09) 91%,rgba(87,117,174,0) 100%);    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d5385', endColorstr='#005775ae',GradientType=0 );}
.single-post .header-image img{opacity: 0}body.single-post #breadcrumbs{margin-top: 0}

.wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption, .wp-block-image.is-resized>figcaption{display: block}
figure.aligncenter{text-align: center}
.single .wp-block-image{margin-bottom: 0}


.single-post .entry-title{    font-size: 50px;    display: block;   }
.single-post .post-date{font-size: 14px; font-weight: 700; color: var(--light-grey); margin-bottom: 8px}
.single-post .article-header{  border-bottom: 1px solid var(--black);    padding-bottom: 20px;    margin-bottom: 40px;}
.single-post .article-footer{margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--black); margin-bottom: 100px}
.single-post .article-footer a{text-transform: uppercase; font-size: 13px; color: var(--dark-orange); font-weight: 700}
.single-post .article-footer .prev-link a{background: url(../img/icons/ic_arrow-right-orange.svg) left center no-repeat; padding-left: 20px}
.single-post .article-footer .next-link a{background: url(../img/icons/ic_arrow-left-orange.svg) right center no-repeat; padding-right: 20px}
@media screen and (max-width: 63.9375em) {
    .single-post .header-image{padding-top: 0; background-attachment: initial}
.single-post .entry-title {    font-size: 38px;}
    
}
@media screen and (max-width: 39.9375em) {
    .single-post .entry-title{font-size: 35px}
   .single-post .addtoany_shortcode{margin-left: -10px;margin-right: -10px;height: 24px;}
    .single-post .article-header{margin-bottom: 25px}
    .single-post .article-footer{margin-top: 25px; margin-bottom: 60px}
    .wp-block-news {margin-bottom: 60px}
    
       body.overflow-header.single-post header.header{position: initial; 
    background: -moz-linear-gradient(top,var(--blue) 0%, rgba(87,117,174,.3) 100%);
    background: -webkit-linear-gradient(top, var(--blue) 0%, rgba(87,117,174,.3) 100%);
    background: linear-gradient(to bottom, var(--blue) 0%, rgba(87,117,174,.3) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d5385', endColorstr='#005775ae',GradientType=0 ); }
}

/* ARCHIVE BIBLIOTECA */
.archive main{margin-bottom: 100px}
.type-biblioteca .featured-image{height: 250px; background:#fff center center no-repeat; background-size: auto 200px; box-shadow: 0 0 5px rgba(161,172,175,.2); margin-bottom: 15px; transition: all linear .2s}
.type-biblioteca .featured-image img {opacity: 0; width: 100%; height: 100%}
.type-biblioteca .featured-image:hover{ box-shadow: 0 0 10px rgba(161,172,175,.5)}
.type-biblioteca .title,.type-biblioteca .title a {font-size: 18px; color:var(--black)}
.type-biblioteca .title a:hover{color: var(--orange);}
.badge-winner{position: relative}
.badge-winner:before{content: attr(data-anno) ; display: block; position: absolute; right: -15px; top: -10px; width: 85px; height: 75px; background: url(../img/icons/ic_winner-07.svg) center center no-repeat; background-size: contain;    text-align: center;    line-height: 73px;    color: #fff;    font-size: 13px;    font-family: var(--title-font);    letter-spacing: 1px;}
/* SINGOLA BIBLIOTECA */
.type-biblioteca .description{margin-top: 40px}
.single-biblioteca .cover-book img{width: 100%; margin: 0 auto; margin-bottom: 40px}
@media screen and (max-width: 39.9375em) {
    .single-biblioteca .cover-book img{width: 250px}
    .type-biblioteca .featured-image{height: 180px;background-size: auto 160px }
    .badge-winner:before{    left: -10px;    top: -10px;    width: 73px; right: initial;     height: 56px;line-height: 54px; font-size: 12px}
}

.wp-block-contatto h2{ margin-bottom: 50px}

/* FORM */
[type=color], [type=date], [type=datetime-local], [type=datetime], [type=email], [type=month], [type=number], [type=password], [type=search], [type=tel], [type=text], [type=time], [type=url], [type=week], textarea{border: 1px solid #ccc}
input::placeholder, textarea::placeholder{  color: #999;}
label{color: var(--grey)}
.wpcf7-form [type=button], .wpcf7-form  [type=submit]{ background: var(--orange); color: #fff; text-transform: uppercase; }
.wpcf7-form [type=button]:hover, .wpcf7-form [type=submit]:hover{background:var(--black);}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing,div.wpcf7-mail-sent-ng, div.wpcf7-aborted{border: none; background:var(--dark-orange); color: var(#fff); font-size: 14px;padding: 1rem 10px;margin: 0 0 20px 0; color: #fff;  }
.wpcf7-not-valid{margin-bottom: 0}
span.wpcf7-not-valid-tip{height: 30px;   line-height: 30px;    display: block;    background:var(--dark-orange);   color:#fff;  margin-bottom: 30px; padding: 0 10px}
.wpcf7-form .privacy-check  {  font-size: 14px;  letter-spacing: 2.1px;  color: var(--greyish-brown); text-align: left}
.wpcf7 .ajax-loader{display: none !Important}
[type=text]{font-size: 14px;}
[type=text]:placeholder{font-size: 14px;}
.wpcf7-form [type=button], .wpcf7-form [type=submit]{ background: var(--orange);    color: #fff; cursor: pointer; transition: all linear .2s;text-transform:  uppercase; border: none; padding: 10px 30px; margin-right: 0}
.wpcf7-form [type=button]:hover, [type=submit]:hover{    background: var(--black);}
input:disabled, input[readonly],input:disabled:hover, textarea:disabled, textarea[readonly]{background: var(--pale-blue)}


form input[type=checkbox]{-webkit-appearance: none;	    background-color: #fff; top: 5px;   border: 1px solid var(--black);	outline: none;	width: 18px; height: 18px;	display: inline-block;	position: relative;}
.wpcf7-form input[type=radio]{-webkit-appearance: none;	    background-color: transparent; top: 5px;   border: 1px solid var(--grey);	outline: none;	width: 18px; height: 18px;	display: inline-block;	position: relative; min-height:20px  !important;min-width:18px !important;padding:0 !important;}
input[type=checkbox]:checked:after {    content: '';   width: 10px;   left: 3px;   position: absolute;   top: 3px;   background: var(--blue);   height: 10px;    }
[type=checkbox], [type=file], [type=radio] { margin: 0 15px 0 0;}

span input:focus +label{color: red}
div.wpcf7 .ajax-loader{display: none}
span.wpcf7-list-item{margin: 0}


@media screen and (max-width: 63.9375em) {
    .grid-y{    -webkit-box-orient: horizontal; display: -webkit-box; margin: 0 auto; margin-left: -.9375rem !important;}
    .grid-margin-y>.medium-6{height: auto;     width: 50%;     margin-left: .9375rem !important;   
    margin-right:  .9375rem !important; }
    .page .entry-content > div[class^="wp-block"]{margin-bottom: 60px}
    .single-edizioni .entry-content > div[class^="wp-block"]{margin-bottom: 60px}
    .wp-block-header{padding-bottom: 60px}
    .grid-padding-x>.cell{margin: 0 auto;}
  
}
@media screen and (max-width: 39.9375em) {
   
    a.button{padding:10px; margin-top: 10px; font-size: 13px}
    ol li {    --size: 46px; padding-left: 55px}
    ol li:before {font-size: 18px} 
    ol li::after{left: 20px}
    
    .grid-y{margin-left: -.625rem !important;}
    .grid-margin-y>.medium-6{ margin-left:.625rem !important; margin-right: .625rem !important; }
    .logo-header{    width: 213px; height: 65px;}
    .top-bar .top-bar-left, .top-bar .top-bar-right{flex: auto}
    .top-bar-right{flex-grow: 0 !important}
    .wp-block-column{margin-bottom: 0}
    .wp-block-column:not(:last-child) {margin-right: 0;}
    .wp-block-column:not(:first-child), .wp-block-column:nth-child(2n){margin-left: 0}
    
    .inner-footer> .cell{margin-bottom: 25px}
    
    .entry-content h2{font-size: 25px !Important}
    h2{font-size: 40px !important}
    h1.page-title{font-size: 40px; padding-bottom: 12px; margin-bottom: 25px}
    
    
    .wp-block-libri-finalisti h2, .wp-block-libri-vincitori h2{font-size: 35px !important; margin-bottom: 20px}
    .single-edizioni .data-edizione {  font-size: 28px;}
    body.home.overflow-header .entry-content > div:first-child{padding-top:120px }
    .single-edizioni .type-edizioni > .article-header{margin-bottom: 50px}
   .wp-block-contatto h2{margin-bottom: 20px}
    .boxed-div { padding: 20px !important;}
    .page .entry-content .wp-block{margin-bottom: 50px}
    
        .single-edizioni .entry-content .wp-block{margin-bottom: 50px}
}

/* Small only */
@media screen and (max-width: 39.9375em) {}

/* Medium and up */
@media screen and (min-width: 40em) {}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
      .wp-block-column:not(:first-child), .wp-block-column:nth-child(2n){padding-left:.9375rem; margin-left: 0; }
    .wp-block-column:not(:last-child){padding-right:.9375rem; margin-right: 0;}
    
}
@media screen and (min-width: 64em) and (max-width: 77.9375em) {
    .logo-header{    width: 318px;    height: 100px;}
    .dropdown.menu>li>a{padding: .7rem .5rem}
    .top-bar ul li a{font-size: 15px}
}
/* Large and up */
@media screen and (min-width: 64em) {}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}