/*
Theme Name: Nuovo Rinascimento
Template: twentytwentythree
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
VAR SUMMARY

var(--wp--preset--color--base) --> Bianco #FFFFFF;
var(--wp--preset--color--contrast) --> Nero #000000
var(--wp--preset--color--dark) --> Nero #333333
var(--wp--preset--color--primary) --> Azzurro #1D93A8
var(--wp--preset--color--secondary) --> Grigio #B3B3B3
var(--wp--preset--color--tertiary) --> Grigio chiaro #E6E6E6

var(--wp--preset--font-family--bitter) --> Bitter 
Pesi e stili: 300 400 700 - 300i 400i 700i
var(--wp--preset--font-family--roboto) --> Roboto 
Pesi e stili: 300 400 700 - 300i 400i 700i
var(--wp--preset--font-family--roboto-slab)  --> Roboto Slab
Pesi e stili: 300 600 700

*/

article#post-41239 {
	position:relative;
}
article#post-41239 h3 a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: transparent;
    font-size: 0;
}
/* * * * * * * * *
 * HEADER
 * * * * * * * * */
.postid-39732 .wp-block-post-featured-image {
    display: none;
}
a {
	text-decoration: none;
	transition: all .3s ease;
}
a:hover {
	text-decoration: underline;
	opacity: .85;
}
a:focus {
    text-decoration: none !important;
}
.wp-site-blocks {
	padding-top: 0;
	padding-bottom: 0;
}

.top-bar-nav ul {
	gap:1px !important;
}
.top-bar, .btn-topbar a {
	font-family: var(--wp--preset--font-family--roboto-slab);
	font-weight: 400;
}

.nav-accessoria div {
	gap:10px !important;
}
.btn-rounded {
	padding: 5px 25px;
	border-radius: 20px;
	font-size: 17px;
	font-family:var(--wp--preset--font-family--roboto-slab);
	color: var(--wp--preset--color--base);
	font-weight: 400;
}
.btn-header-accedi {
	margin-left: 60px !important;	
}
.login {
	background: var(--wp--preset--color--dark);
}
.logout {
	background: var(--wp--preset--color--primary);
}
.logout-admin {
	background: rgb(218,31,124);
}
.content-nav {
	border-top: 1px solid var(--wp--preset--color--secondary);
	border-bottom: 1px solid var(--wp--preset--color--secondary);
	padding: 10px 0;
}
.main-nav a {
	font-weight:700;
	font-size: 18px;	
}

.short-btn a {
	display: flex;
	align-items: center;
	gap: 7px;
	font-weight: 400;
}
.short-btn a:before {
	content:"";
	display: flex;
	width: 40px;
	height:40px;
}
.short-audio a:before {
	background: url('https://wp-nr.ilnuovorinascimento.org/site/wp-content/uploads/2022/12/ico-audio.svg') no-repeat center / 40px 40px;
}
.short-cerca a:before {
	background: url('https://wp-nr.ilnuovorinascimento.org/site/wp-content/uploads/2022/12/ico-search.svg') no-repeat center / 40px 40px;
}

.hamb-ico a {
    width: 100%;
    display: flex !important;
    flex-direction: row;
    align-items: center;
}
.hamb-cerca a:before {
    background: url('https://wp-nr.ilnuovorinascimento.org/site/wp-content/uploads/2022/12/ico-search.svg') no-repeat center left / 32px;
}
.hamb-audio a:before {
    background: url('https://wp-nr.ilnuovorinascimento.org/site/wp-content/uploads/2022/12/ico-audio.svg') no-repeat center left / 26px;
}
.hamb-sel a:before {
    background: url('https://wp-nr.ilnuovorinascimento.org/site/wp-content/uploads/2023/02/ico-nr-sel.svg') no-repeat center left / 24px;
}
.hamb-ico a:before {
    content: "";
    width: 40px;
    height: 23px;
}
/* * * * * * * * *
 * HOME
 * * * * * * * * */

.banner-animato {
	min-height: 300px;
	position: relative;
	box-shadow: -1px -1px 0px #fff inset;
}
.link-banner-regalo {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    max-width: inherit !important;
}
#background-video {
	bottom: 0;
	height: 100%;
	left: 0;
	-o-object-fit: cover;
	object-fit: cover;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	max-width: inherit;
	z-index: -1;
}
.section-label h5 {
	display: inline-block;
	background:var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	padding:5px 30px; 
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	font-weight: 700;
	transition: all .3s ease;
}
#evidenza .section-label h5 {
    background: #E6E6E6;
    border-bottom: 2px solid #fff;
    color: #555;
}
.section-label h5 a { 
	color: var(--wp--preset--color--base);
}
.section-label h5:hover {
    background: #08879c;
}
.section-label:not(.no-border) {
	border-bottom: 1px solid var(--wp--preset--color--secondary);
}
.loop_one-to-many {
	display: grid;
    grid-template-columns: auto 60%;
    grid-template-rows: auto;
	gap: 30px 60px;
}
.loop_one-to-many .article-wrap:first-child {
	grid-area: 1 / 1 / 5 / 2;
}
.article {
	display: flex;
	gap: 20px;
}
.loop_one-to-many .article.first-item, .grid .article {
	flex-direction: column;
	/*row-gap: 20px;*/
}
.grid {
	display: flex;
	gap: 30px;
}
.grid:not(.posts_grid) .article-wrap {
	flex-grow:1;
	flex-basis: 20%;
}
.grid .article-wrap:not(:last-of-type) {
    border-right: 1px solid var(--wp--preset--color--secondary);
    padding-right: 30px;
}
.grid figure {
	margin-bottom:0;
}
/*.grid:not(.grid-post):not(.posts_grid) .entry-cat {display: none;}*/

.loop_one-to-many figure {
	display: flex;
	margin:0;
	min-width: 200px;
	flex: 1;
}
.article img {
    object-fit: cover;
	width: 100%;
	height: 100%;
	aspect-ratio: 4/3;
}
a img {
	display: block;
}
img {
	pointer-events: none;
}
.page .posts_grid:not(.ultimi-numeri-grid) img {
	aspect-ratio: 2/3;
}
.loop_one-to-many figure a {
	display: flex !important;
	width: 100%;
}
a.entry-cat {
	font-family: var(--wp--preset--font-family--roboto-slab);
	font-weight: 700;
	font-size: 16px;
	color:var(--wp--preset--color--primary);
}

.lista-materiali .entry-cat, .nr-archive a.entry-cat {
	color:var(--wp--preset--color--contrast);
}
a.entry-cat:hover {
	color:var(--wp--preset--color--primary);
}
a.entry-cat:not(:last-of-type):after {
    content: ",";
}

.entry-details {
    display: flex;
    flex-direction: column;
}
.entry .meta-subtitle, .entry .meta-author {
    display: block;
}
h3.entry-title {
	font-family: var(--wp--preset--font-family--roboto-slab);
	font-size: 30px;
	margin: 10px 0;
	line-height:110%;
}
.entry-summary {
	font-weight: 400;
}
.entry-title a {
	color:var(--wp--preset--color--contrast);
	font-weight: 300;
}
.entry-title a:hover {
	opacity: .7;
	text-decoration: none;
}
.content-label {
	display: inline-block;
    margin-right: 7px;
    padding: 2px 8px 0;
    font-size: 11px;
    color: var(--wp--preset--color--white);
    font-family: sans-serif;
    margin-bottom: 10px;
    border-radius: 8px;
}
.type-content {
	background: var(--wp--preset--color--secondary);
}
.free-content {
	background: var(--wp--preset--color--primary);
}
.list-single-post {
	display: flex;
    flex-direction: column;
}
.list-single-post .article-wrap { 
	flex-grow: 1;
}
.list-single-post .entry-details {
    flex-direction: row-reverse;
	column-gap: 30px;
}
.list-single-post .entry-summary {
	width: 70%;
}
.column-direction article {
	flex-direction: column;
}
.section-carousel, #giovani {
	margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
    margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
}
.carousel {
	width:100%;
}

.carousel-cell {
	width:360px;
	box-sizing: border-box;
	padding: 0 15px;
	border-left: 1px solid var(--wp--preset--color--secondary);
	display: flex;
	align-items: stretch;
	min-height:540px;
}
.carousel-cell article {
	flex-grow: 1;
}
#conoscere-buddismo .flickity-button {
    background: rgba(230,230,230, 0.5);
}
.quattrostagioni-btn {
	margin-top:10px !important;	
}
.single-post .wp-block-columns {
    gap: 30px 60px;
}
.gradient-text {
	/* Fallback: Set a background color. */
  background-color: #CA4246;
  
  /* Create the gradient. */
   background-image: linear-gradient(
        45deg,
        #12C5D8 16.666%, 
        #0CA1BA 83.333%);
  
  /* Set the background size and repeat properties. */
  background-size: 100%;
  background-repeat: repeat;

  /* Use the text as a mask for the background. */
  /* This will show the gradient as a text color rather than element bg. */
  background-clip: text;
	-webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  
  /* Animate the text when loading the element. */
    /* This animates it on page load and when hovering out. */
    animation: rainbow-text-simple-animation-rev 0.75s ease forwards;
}
.gradient-text-magenta {
background-color: #CA4246;
background-image: linear-gradient(
        45deg,
        rgb(118,38,120) 16.666%, 
        rgb(218,31,124) 83.333%);
background-size: 100%;
background-repeat: repeat;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent; 
}
.gradient-text:hover{
    animation: rainbow-text-simple-animation 0.5s ease-in forwards;
}
.shadow-white-text {
	filter: drop-shadow(2px 2px #fff);
}
footer .wp-social-link {
    background: var(--wp--preset--color--primary) !important;
    padding: 15px;
}

/* Move the background and make it smaller. */
/* Animation shown when entering the page and after the hover animation. */
@keyframes rainbow-text-simple-animation-rev {
    0% {
        background-size: 650%;
    }
    40% {
        background-size: 650%;
    }
    100% {
        background-size: 100%;
    }
}

/* Move the background and make it larger. */
/* Animation shown when hovering over the text. */
@keyframes rainbow-text-simple-animation {
    0% {
        background-size: 100%;
    }
    80% {
        background-size: 650%;
    }
    100% {
        background-size: 650%;
    }
}
.lista-materiali {
	border-left: 1px solid var(--wp--preset--color--primary);
}
.lista-materiali .article-wrap {
	margin-top: 5px;
}
.link-pagina-giovani h3, .lista-materiali h3 {
	width: 100%;
	min-height: 45px;
}
.lista-materiali h3 {
	margin: 0 !important;
}
.lista-materiali h3.entry-title a { 
	color: var(--wp--preset--color--primary);
}

.link-pagina-giovani .article-wrap:not(:last-of-type) h3.entry-title,
.lista-materiali .article-wrap:not(:last-of-type) h3.entry-title {
	margin: 0 0 20px 0;
}
.link-pagina-giovani h3 a, .lista-materiali h3 a {
	display: flex;
	justify-content: space-between;
	width: 100%;
	align-items: center;
}
.link-pagina-giovani h3 a { 
	color: var(--wp--preset--color--base) !important;
	font-weight: 400;
}
.link-pagina-giovani h3 a:after {
	content:"";
	display: flex;
	background: url('https://wp-nr.ilnuovorinascimento.org/site/wp-content/uploads/2022/12/goto.svg') no-repeat center / 45px;
	width: 45px;
	height: 45px;
	margin-left:3vw;	
}
.lista-materiali h3 {
    display: flex;
    justify-content: space-between;
}
.lista-materiali .article {
	flex-direction: column;
}
.lista-materiali h3 a:after {
	content:"";
	width: 100px;
	height: 45px;
	margin-left:3vw;	
	display: flex;
	background-color:  var(--wp--preset--color--primary);
	mask: url(https://wp-nr.ilnuovorinascimento.org/site/wp-content/uploads/2022/12/goto.svg) no-repeat center right / 45px;
	-webkit-mask: url(https://wp-nr.ilnuovorinascimento.org/site/wp-content/uploads/2022/12/goto.svg) no-repeat center right / 45px;
}
/*
.loghi-correlati figure:not(:last-of-type) {
	border-bottom: 1px solid var(--wp--preset--color--secondary);
	padding-bottom: 30px;
}*/
.loghi-correlati {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.loghi-correlati figure {
	display: flex;
    justify-content: center;
    align-items: center;
}
.footer-nav {
	list-style-type: none;
	margin:0;
	padding:0;
}
.f-col {
	align-self: stretch !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
}
/* * * * * * * * *
 * TAXONOMY
 * * * * * * * * */
.archive .article {
	flex-direction: column;
}
.tax-issuem_issue_categories .section-label {
	display: flex;
	border-bottom: 1px solid var(--wp--preset--color--secondary);
}
.tax-issuem_issue_categories .section-label h1 {
	display: inline-block;
	background:var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	padding:5px 30px; 
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	font-weight: 700;
	margin: 0 !important;
}
ul.categories-nav {
	list-style: none;
    margin: 0;
    padding: 20px 10px 10px;
	background: rgba(12, 161, 186, .15);
}
.archive ul.categories-nav {
	column-count:3;
}
.archive .categories-nav li {
	padding-left: 20px;
    padding-bottom: 10px;
    line-height: 120%;
}
.article-cat .categories-nav {
	width: 100%;
	text-align: center;
}
.has-global-padding.is-layout-constrained.wp-block-group.alignwide.article-cat {
    text-align: center;
}

.categories-nav a {
	font-size: 16px;
	font-weight: 400;
}
.categories-nav li.active a {
	color: var(--wp--preset--color--primary);
    text-shadow: 0 0 black;
}

.posts_grid {
	flex-wrap: wrap;
}
.posts_grid .article-wrap {
	flex-basis: calc(33% - 39px);
}
.posts_grid .article-wrap, .posts_grid .article-wrap:not(:last-of-type) {
	border:0;
	padding:0;
	margin-top: 0;
	margin-bottom: 30px;
}

.posts_grid::after {
    content: '';
    flex: auto;
}
.pagination ul:after, .pagination ul:before {
    content: '';
    flex: auto;
}
h1.tax-title {
	display:flex;
	border-bottom: 1px solid var(--wp--preset--color--secondary);
}
.tax-title a {
	font-size: clamp(14px, 0.875rem + ((1vw - 7.68px) * 0.481), 18px);
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
	display: inline-block;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
    padding: 8px 30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 700;
    margin: 0 !important;
	line-height: 1.1;
}
.tax-title a:hover {
	opacity: .85;
}

.pagination ul {
	list-style-type: none;
	display: flex;
    justify-content: space-between;
	margin:0;
	padding:0;
	gap: 30px;
}
/* * * * * * * * *
 * ARTICLE
 * * * * * * * * */
.entry-content {
    word-wrap: break-word;
}
.single .tax-title {
	font-size: clamp(14px, 0.875rem + ((1vw - 7.68px) * 0.481), 18px);
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
	display: inline-block;
	background-color: var(--wp--preset--color--primary);
    padding: 8px 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 700;
	line-height: 1.1;
}
.single .tax-title a {
	color: var(--wp--preset--color--base);	
	padding: 0 5px;
}
.single .categories-nav li {
    display: inline;
}
.single .categories-nav li:not(:last-child):after {
     content: ", "; 
	margin: 0 4px 0 0;
}

.single .categories-nav a {
	color: var(--wp--preset--color--dark);
	font-weight: 400;
	font-size: 16px;
}
.single ul.categories-nav {
	padding:6px;
}
.single .article-intro {
	text-align: center;
	font-size: 22px;
	font-weight: 300;
}
.article-ref .entry-cat:after {
    content: " | ";
}
.wp-block-post-date {
	text-transform: lowercase;
}
.soundcloud-player {
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
}

.tax-title-wrap {
	border-bottom: 1px solid var(--wp--preset--color--secondary);
	width: 100%;
    display: flex;
    justify-content: center;
}
.article-ref {
	gap: 5px !important;
}
h3.article-sottotitolo {
	text-align: center;
	font-weight: 300;
	font-size: 26px;
}
h4.article-autore {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #666;
}
.print {
	display: flex;
	align-items: center;
	font-weight: 400;
	gap: 5px;
}
.print > * {
	display: flex;
}
.print svg, .anteprima-stampa svg {
	width: 32px;
}
.go-back svg {
	width: 29px;
}
.pdf svg {
	width: 25px;
}
.soundcloud-player {
    background: rgba(12, 161, 186, .15);
    padding: 15px 15px 10px;
	border-radius: 15px;
}
.single-article figure.wp-block-post-featured-image img {
    max-width: 100% !important;
	height: auto;
}
.img-video-featured iframe {
	aspect-ratio: 16 / 9;
	height: auto;
}
.single figcaption {
    margin-top: 0 !important;
    text-align: center;
    font-weight: 500;
	font-family: var(--wp--preset--font-family--roboto-slab);
	font-size: 15px;
}
.single .wp-block-quote {
    border-left: 7px solid var(--wp--preset--color--primary);
	font-size:18px;
}
.single .wp-block-quote.magenta {
	border-color:#ED1E79;
}
.single .wp-block-quote.grigio {
	border-color:var(--wp--preset--color--secondary);
}
.single .wp-block-quote.rosso {
	border-color:var(--wp--preset--color--custom-rosso);
}
span.xxl-a {
    font-size: 23px;
    font-weight: 600;
    font-family: var(--wp--preset--font-family--roboto-slab);
	color: #383838;
}
.text-size {
	font-style:italic;
}
span.xs-a {
    font-family: var(--wp--preset--font-family--roboto-slab);
    font-size: 16px;
    font-weight: 600;
	color: #383838;
	padding-left: 10px;
}
input[type=range] {
  	-webkit-appearance: none;
  	margin: 10px;
	padding: 0 10px 5px 10px;
}
input[type=range]:focus {
  	outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
	height: 2px;
	cursor: pointer;
	animate: 0.2s;
	background: var(--wp--preset--color--tertiary);
	border-radius: 25px;
}
input[type=range]::-webkit-slider-thumb {
	height: 20px;
	width: 20px;
	border-radius: 50%;
	background: rgb(255,255,255);
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(223,223,223,1) 100%);
	cursor: pointer;
	box-shadow: 0px 0px 3px rgb(143, 143, 143);
	-webkit-appearance: none;
	margin-top: -8px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  	background: var(--wp--preset--color--secondary);
	border-radius: 25px;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *     NUMERI PRECEDENTI
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.page-id-239 h1, .page-id-38264 h1, .page-id-22208 h1  {
    font-size: 18px;
	text-align: left !important;
	text-transform: uppercase;
    display: inline-block;
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base) !important;
    padding: 8px 30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 700;
	margin-bottom: 0 !important;
}
.page-id-239 .title-wrap, .page-id-38264 .title-wrap, .page-id-22208 .title-wrap {
	border-bottom: 1px solid var(--wp--preset--color--secondary);
}
.nr-archive .numero-img {
    margin-bottom: 15px;
}
.trova-numeri {
	padding-bottom: 30px;
}
form.vai-nrnum {
    display: flex;
    justify-content: flex-end;
	align-items: center;
}
.form-container {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
}
select#anno {
	height: 36px;
	background: var(--wp--preset--color--white);
}
.vai-nrnum input#nrnum, select#anno {
    border: 1px solid var(--wp--preset--color--secondary);
    width: 80px;
	margin-left: 10px;
	border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
	border-top-right-radius: 0;
    border-bottom-right-radius: 0;
	padding: 9px;	
	font-family: var(--wp--preset--font-family--bitter);
	color: var(--wp--preset--color--black);
}
.vai-nrnum input[type="submit"] {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    border: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
    padding: 10px 15px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 36px;
	border:0;
	margin:0;
	cursor: pointer;
}
.pagination {
    text-align: center;
	width:100%;
}
.pagination a {
	color:var(--wp--preset--color--dark);
	margin: 0 5px;
}
.pagination .current {
	color: var(--wp--preset--color--primary);
}
.export-box .export {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
	cursor: pointer;
	margin: 0 15px !important;
}
.export-box {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.print-grid {
    display: flex;
    flex-direction: column;
    max-width: 800px !important;
}
.print-grid .article-wrap {
	border: 0 !important;
    padding: 0 !important;
}

/* Ricerca */
.form-ricerca label {
    display: block;
	margin-top: 20px;
}
.form-ricerca .search_submit {
    background: var(--wp--preset--color--primary);
    border: 0;
    font-size: 16px;
    color: var(--wp--preset--color--base);
	cursor: pointer;
}
.form-ricerca input, .form-ricerca select {
    display: block;
    width: 100%;
    padding: 9px;
    margin: 10px 0;
    box-sizing: border-box;
	border-radius: 20px;
	border: 1px solid var(--wp--preset--color--secondary);
}
h4.titolo-risultato {
    margin-top: 0;
}
/* width */
::-webkit-scrollbar {
  width: 10px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--wp--preset--color--secondary); 
  border-radius: 5px;
	background: var(--wp--preset--color--tertiary);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--wp--preset--color--primary); 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--wp--preset--color--primary); 
}
.contenuto-riservato {
    background: linear-gradient(0deg, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%);
    position: relative;
    top: -180px;
    padding: 150px 20px 20px;
    text-align: center;
}
.cta-contenuto-riservato {
	border: 1px solid var(--wp--preset--color--secondary);
	padding-bottom:10px;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cta-contenuto-riservato > *:not(h4) {
	display: flex;
	gap:50px;
	width: 75%;
	justify-content: center;
    align-items: center;
}
.contenuto-riservato a {
	width: 50%;
	color: var(--wp--preset--color--base);
	padding: 10px 20px;
    border-radius: 10px;
	font-weight: 400;
}
.cta-accedi {
	background:var(--wp--preset--color--primary);
}
.cta-abbonati {
	background:var(--wp--preset--color--magenta);
}
.contenuto-riservato h4 {
	margin: 20px;
	font-size: 20px;
}
.wp-block-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid grey;
    flex-wrap: nowrap;
}
.wp-block-file a {
    color: var(--wp--preset--color--dark);
    font-size: 16px;
}
a.wp-block-file__button.wp-element-button {
    color: var(--wp--preset--color--base);
    border-radius: 50px;
    padding: 10px 15px;
}
.c-go-top {
	background: none repeat scroll 0 0 padding-box var(--wp--preset--color--primary);
	bottom: 40px;
	border-radius: 50%;
	display: none;
	opacity: 0.8;
	position: fixed;
	right: 40px;
	text-decoration: none;
	z-index: 999;
	width: 50px;
	height: 50px;
}

.c-go-top:hover,
.c-go-top:focus,
.c-go-top:active,
.c-go-top:visited {
  color: #fff;
  outline: 0;
  text-decoration: none;
}
.c-go-top svg {
    display: block;
    margin: auto;
    padding: 17px 10px 10px 10px;
}

.share-zone .hidden {
  display: none;
}

.share-zone svg {
  width: 32px;
  height: 32px;
}

.share-zone button, .share-zone .button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  color: #777;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  text-transform: capitalize;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.share-zone .button {	
  justify-content: left;
}
span.share-txt {
    font-family: var(--wp--preset--font-family--bitter);
    font-size: 16px;
    font-weight: 400;
    color: #3e3e3e;
}
.share-zone button:hover, .share-zone .button:hover {
  border-color: #cdd;
	text-decoration: underline;
}

.share-zone .share-button, .share-zone .copy-link {
  padding-left: 10px;
    padding-right: 10px;
    background: transparent;
    border: 0;
}

/*.share-zone .share-button, .share-zone .share-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
*/
.share-zone .share-dialog {
  display: none;
  width: 95%;
  max-width: 500px;
  box-shadow: 0 8px 16px rgba(0,0,0,.15);
  z-index: -1;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 4px;
  background-color: #fff;
}

.share-zone .share-dialog.is-open {
  display: block;
  z-index: 2;
}

.share-zone header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.share-zone .targets {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  margin-bottom: 20px;
}

.share-zone .close-button {
  background-color: transparent;
  border: none;
  padding: 0;
}

.share-zone .close-button svg {
  margin-right: 0;
}

.share-zone .link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 4px;
  background-color: #eee;
}

.share-zone .pen-url {
  margin-right: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *     RESPONSIVE
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media all and (min-width: 1024px) {
	.hidden-on-desktop {
		display: none !important;
	}
	.sticky-nav {
		position: -webkit-sticky;
		position: -moz-sticky;
		position: -o-sticky;
		position: -ms-sticky;
		position: sticky;
		top: -223px;
		z-index: 100;
	}
	.single-post h3.entry-title {
		font-size: 50px;
		margin: 20px 0;
	}
}
@media all and (max-width: 1023px) {
	.main-nav, .current-time {
		display: none !important;
	}
	.main-header {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		max-width: 100%;
	}
	.brand-header {
		flex-grow:1;
		padding-right: 0 !important;
	}
	.logo img {
		width: 100%;
		max-width: 400px;
	}
	.nav-header {
		margin-top: 0 !important;
		padding-bottom: 0 !important;
		padding-left: 0 !important;
	}
	.content-nav {
		border: 0;
	}
	
	.list-single-post .entry-details {
		flex-direction: column;
		column-gap: 0;
	}
	.list-single-post .entry-summary {
    	width: 100%;
	}
	.titolo-materiali {
		font-size: 45px !important;
	}
	.contacts-footer h4 {
		font-size: 2rem !important;
	}
	.contacts-footer p {
    	font-size: 1.3rem !important;
	}
	.contacts-footer .wp-block-button__link {
    	font-size: 1rem !important;
	}
	.contacts-footer .wp-block-image {
    	max-width: 200px;
	}
	.contacts-footer li.wp-social-link {
    	font-size: 20px;
    	padding: 10px;
	}
	.loghi-correlati {
    	grid-template-columns: repeat(2,minmax(0,1fr));
	}
}
@media all and (max-width: 1110px) {
	.main-nav a {
		font-size: 16px;	
	}
}
@media all and (min-width: 992px) {
	.posts_grid .article-wrap:not(:nth-child(3n)) {
		border-right: 1px solid var(--wp--preset--color--secondary);
    	padding-right: 30px;
	}
	.page-id-239 .posts_grid .article-wrap,
	.page-id-38264 .posts_grid .article-wrap,
	.page-id-22208 .posts_grid .article-wrap {
    	flex-basis: calc(25% - 23px);
		border: 0;
		padding-right: 0;
	}
	
	/* hamburger menu */
	.wp-block-navigation__responsive-container.is-menu-open {
		background-color: #c7c7c77a !important;
		align-items: center;
		justify-content: center;
	}
	.wp-block-navigation__responsive-dialog {
		background: #f5f5f5;
    	padding: 50px;
		box-shadow: 0px 0px 100px rgb(0 0 0 / 15%);
	}
	.wp-block-navigation__responsive-container-close {
		top: 15px;
    	right: 15px;
	}
	.wp-block-navigation__responsive-container-content {
		padding-top: 0 !important;
	}
	.wp-block-navigation__responsive-dialog .wp-block-navigation__container {
		max-width: 800px;
		display: grid !important;
		margin: auto;
		grid-template-columns: auto auto auto;
	}
	.wp-block-navigation__responsive-dialog li.wp-block-navigation-item.wp-block-navigation-link {
    	border-bottom: 1px solid var(--wp--preset--color--tertiary);
    	padding-bottom: 20px;
	}
	.loop_one-to-many .article.first-item h3.entry-title {
		font-size: 50px;
		margin: 20px 0;
	}
}
@media all and (min-width: 782px) and (max-width: 991px) {
	.list-single-post figure {
		display: none;
	}
	.loop_one-to-many .article.first-item h3.entry-title {
		font-size: 50px;
		margin: 20px 0;
	}
	.short-link {
		display: none !important;
	}
	.loop_one-to-many {
		gap: 30px;
		grid-template-columns: auto 50%;
	}
	.archive ul.categories-nav {
		column-count:2;
	}
	.article {
		flex-direction: column;
	}
	.loop_one-to-many .article:not(.first-item) figure {
		display: none;
	}
	.article-wrap:not(.carousel-cell) {
		width: 100%;
	}
	.grid {
		flex-wrap: wrap;
	}
	.single-post .wp-block-columns {
		gap: 30px;
	}
	#conoscere-buddismo .article-wrap:nth-child(2n+2) {
		border-right: 1px solid var(--wp--preset--color--secondary);
    	padding-right: 30px !important;
	}
	#conoscere-buddismo .article-wrap:first-of-type {
		width: calc(100% - 60px);
		border-right: 0;
		padding-right: 0 !important;
	}
	.grid:not(.posts_grid) .article-wrap {
    	width: calc(50% - 60px);
		padding-right: 30px;
		flex-basis: initial;
	}
	.grid:not(.posts_grid) .article-wrap:nth-child(2n+2) { 
		border-right: 0;
		padding-right: 0 !important;
	}
	.grid.posts_grid .article-wrap {
    	flex-basis: calc(50% - 32px);
	}
	.posts_grid .article-wrap:not(:nth-child(2n)) {
    	border-right: 1px solid var(--wp--preset--color--secondary);
    	padding-right: 30px;
	}
	.pagine-giovani h2 {
		font-size: 43px !important;
	}
	.cta-newsletter {
		flex-direction: column;
		text-align: center;
	}
	.wp-block-navigation__responsive-dialog .wp-block-navigation__container {
		width: 100%; 
	}
	.wp-block-navigation__responsive-dialog li.wp-block-navigation-item.wp-block-navigation-link {
    	border-bottom: 1px solid var(--wp--preset--color--tertiary);
    	padding-bottom: 20px;
    	width: 100%;
	}
	
}
@media all and (max-width: 781px) {
	body {
    	overflow-x: hidden;
	}
	.archive ul.categories-nav {
		column-count:initial;
	}
	.cta-contenuto-riservato > *:not(h4) {
		flex-direction: column;
		gap: 20px;
		width: 95%;
	}
	.contenuto-riservato a {
    	width: calc(90% - 40px); 
	}
	.article-wrap:not(:last-child) {
		margin-bottom: 30px !important;
	}
	.payoff {
		display: none;
	}
	.hidden-on-mobile {
		display: none !important;
	}
	.loop_one-to-many {
		display: grid;
		grid-template-columns: 100%;
		grid-template-rows: auto;
		gap: 30px;
	}
	.loop_one-to-many .article-wrap:first-child {
		grid-area: 1 / 1 / 2 / 2;
	}
	.article {
		flex-direction: column;
	}
	
	.article-wrap:not(.carousel-cell) {
		width: 100%;
	}
	.single-post-dx {
		order: -1;
	}
	.grid {
		flex-direction: column;
	}
	.grid .article-wrap {
    	width: calc(100%);
		padding-right: 0px !important;
		flex-basis: initial;
	}
	.grid .article-wrap { 
		border-right: 0 !important;
	}
	.lista-materiali {
		border-left:0 !important;
		padding-left:0 !important;
	}
	.pagine-giovani .wp-block-group {
		flex-direction: column;
    	justify-content: center;
	}
	.cta-newsletter {
		flex-direction: column;
		text-align: center;
	}
	.single h1 {
		font-size: 40px !important;
	}
	header.wp-block-template-part {
    	padding-bottom: 30px;
    	border-bottom: 1px solid var(--wp--preset--color--secondary);
		margin-bottom: 30px;
	}
	.wp-block-navigation__responsive-dialog .wp-block-navigation__container {
		width: 100%; 
	}
	.wp-block-navigation__responsive-dialog li.wp-block-navigation-item.wp-block-navigation-link {
    	border-bottom: 1px solid var(--wp--preset--color--tertiary);
    	padding-bottom: 20px;
    	width: 100%;
	}
	.single .categories-nav li:before {
		background: transparent !important;
	}
	.single .categories-nav a {
		color:var(--wp--preset--color--dark);
	}
	.banner-animato {
		min-height: 100px; 
	}
}
@media all and (max-width: 599px) {
	.logo-nr-esteso {
		display: none;
	}
	.logo-nr { 
		width: 75px;
		height: auto;
		min-height: 1px;
	}
	.top-bar {
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.btn-topbar a {
		color:var(--wp--preset--color--dark) !important;	
		padding: 0 !important;
		font-size:13px;
	}
	.btn-topbar:first-child a:after {
		content:"|";
		display: inline-block;
		margin: 0 5px;
	}
	.loghi-footer {
    	flex-direction: column;
    	text-align: center;
	}
	.loghi-footer ul {
    	justify-content: space-evenly;
	}
	.text-size {
		display: block;
	}
	.form-container {
		flex-direction: column;
	}
	.print-txt, .share-txt {
		display: none;
	}
	/*.utilities {
		flex-direction: column;
	}
	*/
}
@media all and (min-width: 600px) {
	.logo-nr {
		display: none;
	}
	.logo-nr-esteso {
		margin-top:0 !important;
	}
	.btn-topbar-newsletter a{ 
		background: linear-gradient(90deg,rgb(147,39,143) 0%,rgb(237,30, 121) 100%);
	}
	.btn-topbar-abbonati a{ 
		background: var(--wp--preset--color--primary);
	}
	.btn-topbar a {
		color:var(--wp--preset--color--base) !important;	
		padding: 10px 15px !important;
	}
}

@media all and (max-width: 380px) {

	.loghi-correlati {
    	grid-template-columns: repeat(1,minmax(0,1fr));
	}
}