/*
Theme Name: Resilienze
Theme URI:
Author: Marco Burlando
Author URI: https://winsorg.it
Version: 1.20
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
Text Domain: resilienze

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.
*/

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

ol, ul {
	list-style: none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

*, *:before, *:after {
  box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing:1.2px;
    background:#fff;
		font-size: 20px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.uppercase {
    text-transform: uppercase;
}

.text-center {
	text-align: center;
}

header.main-header {
  position: fixed;
  top: 0;
	width: 100%;
	/* padding-top: 30px; */
	z-index: 999;
	transition: all 0.5s ease;
}

body:not(.home) {
  padding-top: 83px;
}

#site-navigation {
	float: right;
	margin-right: 30px;
	padding: 8px 18px;
  background: #17373e;
  
  margin-top: 20px;
}

header.sticky #site-navigation {
	/* margin-top: 20px; */
}

.logo {
	float: left;
	display: none;
	margin: 10px 30px;
}

body:not(.home) .logo {
  display: block;
}

body:not(.home) .main-header {
  background: rgb(23,55,62);
}


footer .logo {
  margin-top: -10px;
  float: none;
  display: inline-block !important;
}

.primary-menu li {
	display: inline-block;;
	margin-right: 10px;
}

.primary-menu li.fb-item {
  margin-left: 20px;
}

.primary-menu li a {
	text-transform: uppercase;
	color: #fff;
	font-family: 'Unica One', cursive;
}

section {
	z-index: 0
}

.logo img {
	max-height: 60px;
	width: auto;
}



#menuToggle
{
  display: none;
  position: absolute;
  top: 32px;
  right: 36px;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: rgb(23, 55, 62);
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

.sticky #menuToggle span {
  background: #fff;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #fff;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu-mobile
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 0;
  padding: 40px;
  padding-top: 125px;
  right: -100px;
	height: 105vh;

  background: #17373e;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(100%, 0);

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu-mobile li
{
  padding: 10px 0;
  font-size: 22px;
}

#menu-mobile li a {
  color: #fff;
}

/*
 * And let's fade it in from the left
 */
#menuToggle input:checked ~ div > #menu-mobile
{
  transform: none;
}

section.home_height {
	background-size: cover;
}

section .first-content {
	padding-top: 40px;
}

section#legami-invisibili .first-content {
	padding-top: 40px;
}

section.standard_page {
	padding:100px;
}

section.standard_page p,
section.standard_page li {
	font-size:14px;
	line-height:24px;
	padding-bottom:10px;
}

section.standard_page header {
	position:relative;
	padding-bottom:80px;
	display:none;
}

section .content-text {
	width:80%;
	margin: 0 auto;
	color: #000;
	line-height: 34px;
	padding-bottom: 100px;
}

#legami-invisibili .content-text {
  color: #fff;
}

section .citazione {
	font-family: 'Unica One', cursive;
	font-size: 30px;
	line-height: 40px;
}

.title-section {
	width: 100%;
	text-align: center;
	padding: 40px 0 40px 0;
}

.button-section {
	padding-top: 0px;
	padding-bottom: 120px;
	display: block;
	width: 425px;
	margin: 0 auto;
}

.title-section .title,
.button-section .title,
.page-title,
.page-template-default .entry-content h1,
.page-template-default .entry-content h2,
.page-template-default .entry-content h3,
.page-template-default .entry-content h4,
.page-template-default .entry-content h5,
.page-template-default .entry-content h6 {
	font-family: 'Unica One', cursive;
	font-size: 58px;
	background: #17373e;
	display: inline-block;
	color:#fff;
	padding:4px 28px;
}

.page-template-default .entry-content h1,
.page-template-default .entry-content h2,
.page-template-default .entry-content h3,
.page-template-default .entry-content h4,
.page-template-default .entry-content h5,
.page-template-default .entry-content h6 {
  font-weight: normal;
  font-size: inherit;
}
.page-template-default .entry-content h1 { font-size: 3rem; margin: 2em 0 1.5em 0; }
.page-template-default .entry-content h2 { font-size: 2.25rem; margin: 1.5em 0 1em 0; }
.page-template-default .entry-content h3 { font-size: 2rem; }
.page-template-default .entry-content h4 { font-size: 1.5rem; }
.page-template-default .entry-content h5 { font-size: 1.25rem; }
.page-template-default .entry-content h6 { font-size: 1rem; }


.page-template-default .entry-content h1 a,
.page-template-default .entry-content h2 a,
.page-template-default .entry-content h3 a,
.page-template-default .entry-content h4 a,
.page-template-default .entry-content h5 a,
.page-template-default .entry-content h6 a {
  color: white;
  text-decoration: none !important;
  display: inline-block;
  padding: 0 .5em;
}
.page-template-default .entry-content h1 a:hover,
.page-template-default .entry-content h2 a:hover,
.page-template-default .entry-content h3 a:hover,
.page-template-default .entry-content h4 a:hover,
.page-template-default .entry-content h5 a:hover,
.page-template-default .entry-content h6 a:hover {
  background-color: #a3005b;
}

.entry-content a {
  color: #a3005b;
}
.page-template-default .entry-content a.btn-primary {
  color: white;
  text-decoration: none !important;
}


.entry-content a:hover {
  text-decoration: underline;
}


.page-template-default .entry-content {
  text-align: center;
}


.button-section .title {
	margin-bottom: 2px;
	font-size: 38px;
}

.freccia {
	margin: 0 auto;
	display: block;
	margin-top: 20px;
}

.title-section .subtitle {
	font-family: 'Unica One', cursive;
	color:#17373e;
	margin-top: 30px;
	font-size: 40px
}

.format-wrapper {
	padding-left: 0%;
	padding-right: 0%;
	padding-top: 0px;
  padding-bottom: 60px;
	width: 100%;
	margin: 0 auto;
  vertical-align: bottom;
  text-align: center;
}

#programma .content-text {
  padding-bottom: 50px;
}

.format-wrapper a {
  display: inline-block;
}

.format-wrapper img {
  margin: 0 40px;
}

.programma-festival .format-wrapper img {
  margin: 0 auto;
}

.mobile-format-content {
  display:none;
}

.column-full {
	width: 45%;
	float: left;
	display: inline-block;

}

.column-text {
	margin-left: 5%;
}

.title-serre {
	font-family: 'Unica One', cursive;
	color:#17373e;
	margin-bottom: 80px;
	font-size: 40px
}

#dove .title-section {
  padding-bottom: 20px;
}

#dove .title-section .title {
  background:#9e1459;
}

#dove .title-section .subtitle {
  color:#9e1459;
}

#dove {
  position: relative;
}

#dove .vedi-su-mappa .title {
  background: #17373e;
  font-size:33px;
  position: absolute;
  bottom: 70px;
  right: 5%;
  font-family: 'Unica One', cursive;
}

#dove .vedi-su-mappa .title a {
  color: #fff;
}

#dove .vedi-su-mappa {
  padding: 0;
}

.text-dove {
	font-size: 14px;
	line-height: 24px;
}

.copy {
  text-align: center;
  padding-bottom: 20px;
  font-size: 14px;
  line-height: 22px;
}

.img-fluid {
  width: 100%;
  height: auto;
}

iframe.mappa {
	width: 100% !important;
}

footer:not(.entry-footer) {
	background:#17373e;
	padding: 30px 80px;
	color:#ffff;
}

footer a {
  color:#fff;
}

footer .title_{
  font-family: 'Unica One', cursive;
  margin-bottom: 16px;
  font-size: 25px;

}

footer .content-footer-padding {
  font-size:14px;
  line-height: 20px;
}

footer .content-footer-padding strong {
  padding-bottom: 2px;
  display: block;
}


footer .social i {
  color:#fff;
  background: #17373e;
  font-size: 40px;
}

.col-4 {
	width: 25%;
	float: left;
	display: inline-block;;
}

.col-5 {
	width: 20%;
	float: left;
	display: inline-block;;
}

#programma {
  padding: 4px;
}

#programma .title-section {
  padding-bottom: 20px;
}

.hide {
  display: none;
}

.visible {
  display: block;
}

@media only screen and (max-width: 1024px) {


  .format-content {
    width: 50%;
  }


  #dove .vedi-su-mappa .title {
    font-size: 24px;
    bottom: 37px;
    right: 54px;
  }

}

@media only screen and (min-width: 1024px) and (max-width: 1240px) {
  .format-wrapper a {
    width: 200px;
  }

  .programma-festival .format-wrapper a {
    width: 24%;
  }

  .format-wrapper img {
    width: 90%;
  }


}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  #programma .content-text {
    min-height: 200px;
  }

  .format-wrapper a {
    width: 200px;
  }

  .programma-festival .format-wrapper a {
    width: 24%;
  }

  .format-wrapper img {
    width: 85%;
  }
}

@media only screen and (max-width: 768px) {
	#site-navigation {
		display: none;
	}

	#menuToggle {
		display: block;
	}

	.format-content,
	.column-full ,
  .col-4,
  .col-5  {
		display: block;
		float: none;
		clear: both;
		width: 100%;

	}

  #programma .content-text {
    min-height: auto;
  }

  #dove .title-section  {
    padding-bottom: 40px;
  }

	.button-section {
		width: 48%;
	}

	.title-serre {
		margin-top: 60px;
	}

  .column-text {
    margin-left: 0;
    padding-left: 5%;
  }

  footer {
    text-align: center;
  }

  footer .social {
    padding-top: 0;
  }

  footer .logo-col a {
    display: inline-block;
    margin: 0 auto;
  }

  .col-4 {
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    padding: 20px 0;
  }

  .col-5 {
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    padding: 20px 0;
  }

  footer .content-footer-padding {
    padding-left: 0;
  }

  .format-content {
    margin-left: 0;
    margin-right: 0;
  }

  .title-section .title,
  .button-section .title,
  .page-title {
    font-size: 30px;
  }

  .title-section {
    padding: 60px 0 40px 0
  }

  .format-wrapper {
    padding-top: 20px;
  }

  .mobile-format-content,
  .format-wrapper a {
    display: block;
  }

  .mobile-format-content {
      line-height: 34px;
      padding-bottom: 20px;
      padding-left: 4%;
      padding-right: 4%;
  }



  .format-wrapper a img {
    margin: 0
  }

  .button-section {
    text-align: center;
    padding-top: 0;
    padding-bottom: 40px;
  }

  .button-section .title {
    margin:0 auto;
    margin-bottom:2px;
  }


  #dove .vedi-su-mappa .title {
    font-size: 18px;
    bottom: 69px;
    right: 50px;
    padding-left: 10px;
    padding-right: 10px;
  }


}

@media only screen and (max-width: 375px) {
  .button-section {
		width: 100%;
	}

  .format-wrapper a img  {
    width: 80%;
  }

  .format-wrapper a img  {
    height: auto;
  }

  .format-content {
    margin-bottom: 100px;
  }


  #dove .vedi-su-mappa .title {
    font-size: 10px;
    bottom: 14px;
    right: 14px;
  }
}


a.video-teaser {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* body:not(.home) .site-main {
  max-width: 1200px;
  margin: 0 auto;
} */

body:not(.home) {
  font-weight: 400;
  font-size: 1.1rem;

  position: relative;
}

.page-header {
  text-align: center;
}

.page-title {
  text-transform: uppercase;
  font-weight: normal;
  margin: 2.5em 0;
}

/* .page-template-default .page-title {
  margin: 2em 0 1.5em 0;
} */

#programma-teaser {
  padding-bottom: 3rem;
}

.date-navigation.affix {
  z-index: 10;
  position: fixed;
  top: 83px;
  max-width: 1140px;
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: -20px;
  margin-left: -20px;
}

.date-navigation.affix-bottom {
  position: absolute;
  max-width: 1140px;
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: -20px;
  margin-left: -20px;
}

.date-navigation {
  text-transform: uppercase;
  font-size: 1em;
  padding: 4px 0;
  background: #fcfcf2;
}
.date-navigation ul {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
/* .date-navigation li {
  flex-grow: 1;
} */
.date-navigation ul > li {
  flex: 1 0 25%;
}

.date-navigation ul > li:first-child {
  flex: 0 1 100%;
  margin-bottom: 4px;
}
.date-navigation a {
  display: block;
  text-align: center;
  color: #a3005b;
  border: 2px solid #a3005b;
  padding: .6em 0;
  background-color: #fcfcf2;

  margin-left: 2px;
  margin-right: 2px;

  transition: background-color .2s; 
}
.date-navigation a:hover,
.date-navigation a.active,
.date-navigation .active a {
  background-color: #a3005b;
  color: white;
}
.date-navigation li:first-child a {
  margin-left: 0;
}
.date-navigation li:last-child a {
  margin-right: 0;
}

.date-day {
  background-color: rgb(23,55,62);
  color: white;
  font-size: 1.2em;
  padding: .75em;
  text-align: center;
  text-transform: uppercase;
  margin: 1em 0;
  font-weight: normal;
}

.hentry {
  margin-top: 2em;
  margin-bottom: 2em;
}
.hentry:last-child {
  margin-bottom: 8em;
}

body.page-template-default .hentry {
  margin-top: 0;
  margin-bottom: 0;
}


.single-rt_evento .hentry,
.type-rt_guest.hentry {
  margin-top: -2em;
  padding-top: 2em;
  border-top: 2px solid black;
  /* border-bottom: 2px solid black; */
}

.type-rt_guest.hentry:not(:first-child) {
  margin-top: 2em;
}


.featured-media {
  position: relative;
}
.featured-media,
.post-thumbnail {
  width: 100%;
  height: 100%;
}
.post-thumbnail {
  padding-bottom: 100%;
}

.single-rt_evento .featured-media,
.type-rt_guest .featured-media {
  height: auto;
  padding-bottom: 100%;
}
.single-rt_evento .post-thumbnail,
.type-rt_guest .post-thumbnail {
  position: absolute;
}

a.post-thumbnail,
.post-thumbnail img {
  display: block;
}

.entry-main {
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
}
.entry-main:before,
.entry-main:after {
  position: absolute;
  content: '';
  left: 20px;
  right: 20px;
  border-top: 2px solid black;
}
.entry-main:before {
  top: 0;
  display: none;
}
.entry-main:after {
  bottom: 0;
}

.single-rt_evento .entry-main {
  padding-top: 0;
  padding-bottom: 40px;
}
.single-rt_evento .entry-main:before,
.single-rt_evento .entry-main:after,
.type-rt_guest .entry-main:before,
.type-rt_guest .entry-main:after {
  display: none;
}


.entry-title {
  font-size: 1.8rem;
  font-family: 'Unica One', cursive;
  text-transform: uppercase;
  font-weight: 400;
}

.type-rt_guest .entry-title {
  color: white;
}
.entry-title span {
  background-color: #9e1459;
  display: inline-block;
  padding: .05em .3em;
}

.entry-title a {
  color: black;
}

.entry-meta {
  font-size: 1.2rem;
}
.entry-meta p,
.entry-content p {
  margin: .8em 0;
}
p.meta-ospiti {
  margin: 1em 0;
}


.single-rt_evento .entry-content p {
  margin: .4em 0 1em 0;
}

.type-rt_guest .entry-content p:first-child {
  margin-top: 0 !important;
}



.entry-content p {
  line-height: 1.25;
}

.entry-content {
  margin: 1em 0;
}
.type-rt_guest .entry-content {
  margin: 0;
  padding-bottom: 1em;
}

.meta-info {
  color: rgb(23,55,62);
}
.meta-sottotitolo {
  color: #9e1459;
  font-weight: 700;
}
.meta-st-sguardi {
  color: rgb(9,161,159);
}
.meta-st-narrazioni {
  color: rgb(222,190,94);
}
.meta-st-percezioni {
  color: rgb(192,197,0);
}
.meta-st-sperimentazioni {
  color: rgb(163,0,91);
}

small {
  font-size: .8em;
}

.meta-ospiti span a {
  color: #9e1459;
}
.meta-ospiti span a:hover {
  text-decoration: underline;
}

.entry-footer {
  padding: .5em 0;
}

a.btn {
  display: block;
  margin: 0 auto;
  background-color: transparent;
  border: 2px solid rgb(23,55,62);
  padding: .5em 1em;
  color: rgb(23,55,62);
  text-transform: uppercase;
  font-weight: 500;

  transition: color 0.2s ease-out, background-color 0.2s ease, border-color 0.2s ease;
}
a.btn:hover {
  color: white;
  background-color: rgb(23,55,62);
}

a.wp-block-button__link {
  border-radius: 0;
  color: rgb(23,55,62);
  background-color: #d7de22;
  border: 2px solid #d7de22;
}
a.wp-block-button__link:hover {
  color: white;
  text-decoration: none;
}

a.btn-primary {
  color: white;
  background-color: rgb(23,55,62);
  border: 2px solid rgb(23,55,62);
}
a.btn-primary:hover,
a.wp-block-button__link:hover {
  background-color: #9e1459;
  border-color: #9e1459;
}

a.btn-secondary {
  background-color: #d7de22;
  border: 2px solid #d7de22;
}
a.btn-secondary:hover {
  background-color: #9e1459;
  border-color: #9e1459;
}

.entry-footer .btn + .btn {
  margin-top: .5em;
}

.btn-small {
  font-size: .8em;
}

.col-edizione .btn-small {
  padding: .2em .5em;
}

.archive.term-preview .content-area,
.archive.term-10-settembre .content-area,
.archive.term-11-settembre .content-area,
.archive.term-12-settembre .content-area,
.archive.term-13-settembre .content-area,
.post-type-archive-rt_guest .content-area,
.post-type-archive-rt_evento .content-area,
#programma-teaser,
.page-template-default .content-area {
  background: url("images/bg-programma_01.jpg") no-repeat center top #fcfcf2;
  background-size: 275%;
}

#programma-teaser {
  /* background: url("images/resilienze_2020_02c.jpg") no-repeat center top #fcfcf2; */
  background-image: none;
}
.archive.term-preview,
.archive.term-10-settembre,
.archive.term-11-settembre,
.archive.term-12-settembre,
.archive.term-13-settembre,
.post-type-archive-rt_guest,
.post-type-archive-rt_evento {
  background-color: #fcfcf2;
}

.single-rt_evento .content-area {
  background: url("images/bg-evento_02.jpg") no-repeat center top #e9f3e8;
  /* background-size: 100% auto; */
}
.single-rt_evento {
  background-color: #e9f3e8;
}

.single-rt_evento .row.rt_evento {
  justify-content: center;
}

/* .post-type-archive-rt_guest .content-area {
  background: url("images/bg-ospiti_01.jpg") no-repeat center top #c7cb11;
}
.post-type-archive-rt_guest {
  background-color: #c7cb11;
} */


.logo-col {
  text-align: center;
}

.section-header {
  text-align: center;
}


.col-edizione p {
  text-align: left;
}


.rf-template-gallery-01 {
  margin-bottom: 2em;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}
.rf-template-gallery-01 > figure {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}


.rf-template-gallery-01 .wp-block-column {
  margin-top: 1.5em;
  margin-bottom: 1.5em;  
}
.rf-template-gallery-01 .wp-block-image {
  margin-bottom: 0;
}

.rf-template-ospiti {
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  margin-top: 2em;
}


.rf-template-ospiti + .rf-template-ospiti {
  border-top: 0;
  margin-top: 0;
}

.rf-template-ospiti .wp-block-image {
  height: auto;
  margin-bottom: 0;
  padding-bottom: 100%;
}

.rf-template-ospiti .wp-block-column {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.rf-template-ospiti h1,
.rf-template-ospiti h2,
.rf-template-ospiti h3,
.rf-template-ospiti h4,
.rf-template-ospiti h5,
.rf-template-ospiti h6 {
  font-size: 2rem;
  background-color: #9e1459 !important;
}

.rf-template-ospiti .wp-block-column:first-child {

}





.dropup,
.dropright,
.dropdown,
.dropleft {
  position: relative;
}

.dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.dropup .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 0.125rem;
}

.dropup .dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}

.dropup .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropright .dropdown-menu {
  top: 0;
  right: auto;
  left: 100%;
  margin-top: 0;
  margin-left: 0.125rem;
}

.dropright .dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
}

.dropright .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropright .dropdown-toggle::after {
  vertical-align: 0;
}

.dropleft .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: 0;
  margin-right: 0.125rem;
}

.dropleft .dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
}

.dropleft .dropdown-toggle::after {
  display: none;
}

.dropleft .dropdown-toggle::before {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0.3em solid;
  border-bottom: 0.3em solid transparent;
}

.dropleft .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropleft .dropdown-toggle::before {
  vertical-align: 0;
}

.dropdown-menu[x-placement^="top"], .dropdown-menu[x-placement^="right"], .dropdown-menu[x-placement^="bottom"], .dropdown-menu[x-placement^="left"] {
  right: auto;
  bottom: auto;
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #007bff;
}

.dropdown-item.disabled, .dropdown-item:disabled {
  color: #6c757d;
  background-color: transparent;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  display: block;
  padding: 0.5rem 1.5rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

.dropdown-item-text {
  display: block;
  padding: 0.25rem 1.5rem;
  color: #212529;
}

.navbar-nav .dropdown-menu {
  position: static;
  float: none;
}





a.dropdown-toggle + button.dropdown-toggle {
  display: none;
}

.dropdown-menu {
  background-color: #9e1459;
}
.primary-menu .dropdown-menu li {
  margin-right: 0;
}

.video-crystal-drops {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .archive.term-preview .content-area,
  .archive.term-10-settembre .content-area,
  .archive.term-11-settembre .content-area,
  .archive.term-12-settembre .content-area,
  .archive.term-13-settembre .content-area,
  .post-type-archive-rt_guest .content-area,
  .post-type-archive-rt_evento .content-area,
  #programma-teaser,
  .page-template-default .content-area {
    background-size: 200%;
  }

  .page-template-default .entry-content h1 { font-size: 3.5rem; margin: 2em 0 1.5em 0; }
  .page-template-default .entry-content h2 { font-size: 3rem; margin: 1.5em 0 1em 0; }
  .page-template-default .entry-content h3 { font-size: 2.5rem; }
  .page-template-default .entry-content h4 { font-size: 2rem; }
  .page-template-default .entry-content h5 { font-size: 1.5rem; }
  .page-template-default .entry-content h6 { font-size: 1rem; }

  .date-navigation.affix {
    max-width: 540px;
  }

  .logo-col {
    text-align: left;
  }
  .logo-col + .logo-col {
    text-align: right;
  }

  a.btn {
    display: inline-block;
  }
  .entry-footer .btn + .btn {
    margin-top: 0;
    margin-left: 1em;
  }

  .rf-template-ospiti .wp-block-column {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    text-align: left;
  }
  .rf-template-ospiti .wp-block-column:first-child {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;

    text-align: center;
    /* margin-bottom: 0; */
  }



  .navbar-expand-sm .navbar-nav .dropdown-menu {
    position: absolute;
  }
  
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

}



/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

  .date-navigation.affix {
    max-width: 720px;
  }

  .date-navigation ul > li {
    flex: 1 1 auto !important;
    margin-bottom: 0;
  }

  .archive.term-preview .content-area,
  .archive.term-10-settembre .content-area,
  .archive.term-11-settembre .content-area,
  .archive.term-12-settembre .content-area,
  .archive.term-13-settembre .content-area,
  .post-type-archive-rt_guest .content-area,
  .post-type-archive-rt_evento .content-area,
  #programma-teaser,
  .page-template-default .content-area {
    background-size: 175%;
  }
  
  .post-thumbnail {
    padding-bottom: 0;
  }

  .entry-main:before,
  .entry-main:after {
    left: -10px;
  }
  .entry-main:before {
    display: block;
  }

  .rf-template-ospiti .wp-block-column {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    text-align: left;
  }
  .rf-template-ospiti .wp-block-column:first-child {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;

    text-align: center;
    /* margin-bottom: 0; */
  }


  .navbar-expand-md .navbar-nav .dropdown-menu {
    position: absolute;
  }
  
}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  body:not(.post-type-archive-rt_guest) .featured-media {
    padding-top: 20px;
    border-top: 2px solid black;
  }
}



/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  body:not(.home) {
    font-size: 1.10rem;
  }

  .date-navigation {
    font-size: 1.1em;
  }
  .date-navigation.affix {
    max-width: 960px;
  }

  .date-day {
    font-size: 1.4em;
  }

  .entry-title {
    font-size: 2.6rem;
  }
  .entry-meta {
    font-size: 1.25rem;
  }
  .entry-meta p,
  .entry-content p {
    margin: .6em 0;
  }

  
  .rf-template-ospiti .wp-block-column {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    text-align: left;
  }
  .rf-template-ospiti .wp-block-column:first-child {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    text-align: center;
    /* margin-bottom: 0; */
  }

  .rf-template-ospiti .wp-block-image {
    height: 100%;
    padding-bottom: 0;
  }


  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
  }
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  
}



/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  body:not(.home) {
    font-size: 1.25rem;
  }

  
  .date-navigation {
    font-size: 1.2em;
  }
  .date-navigation.affix {
    max-width: 1140px;
  }

  .entry-title {
    font-size: 2.8rem;
  }
  .entry-meta {
    font-size: 1.5rem;
  }
  .entry-meta p,
  .entry-content p {
    margin: .4em 0;
  }

  .archive.term-preview .content-area,
  .archive.term-10-settembre .content-area,
  .archive.term-11-settembre .content-area,
  .archive.term-12-settembre .content-area,
  .archive.term-13-settembre .content-area,
  .post-type-archive-rt_guest .content-area,
  .post-type-archive-rt_evento .content-area,
  #programma-teaser,
  .page-template-default .content-area {
    background-size: auto;
  }

  .navbar-expand-xl .navbar-nav .dropdown-menu {
    position: absolute;
  }

}
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  
}








