/*
Theme Name: Fatf
Template: twentytwentyfive
Author: FrancoAgostinoTeatroFestival
Author URI: https://www.teatrofestival.it
Description: FrancoAgostinoTeatroFestival custom theme based on twentytwentyfive
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fatf
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* fatf */
.float-right{
	float:right;
}
.float-left{
	float:left;
}
.event-content{
	border:0px solid red;
}
.hero-section {
	height: 300px;
	background: 
	  linear-gradient(to right, rgba(0,0,255,0.6) 20%, rgba(0, 255, 76, 0.6)) 80%,
	  url('./assets/images/lego_pattern.jpg');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
  }

.innershadow {
	box-shadow: inset 0px 0px 10px #1a1a1a;
  }

.editiontitle {
	color: #fff;
	text-shadow: 2px 2px 2px #1a1a1a;
	letter-spacing: 0.05em;
  }
  
  .cardevent {
	width: 180px;
	display: inline-block;
	vertical-align: top;
	min-height: 280px;
	box-shadow: 0px 0px 4px #666;
	position: relative;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 20px;
  }
  
  .card_date {
	text-align: center;
  }
  
  .card_content p {
	font-size: 14px;
  }
  
  .card_content .time {
	margin-bottom: 15px;
  }
  
  .card_content .address strong {
	display: block;
	line-height: 1em;
	margin-bottom: 8px;
	font-size: 14px;
  }
  
  .eventlist .event-list-grid {
	text-align: right;
  }
  
  /*event colorset*/
  .cardevent {
	width:180px;
  min-height:260px;
	text-align: left;
	background: #fff url("./assets/images/sfondoCal.jpg") bottom right no-repeat;
  }
  .cardevent .card_type, .cardevent .card_date, .cardevent .card_content, .cardevent .card_more {
	padding-left: 16px;
	padding-right: 16px;
  }
  .cardevent .card_date {
	font-family: "museo";
	font-size: 26px;
	font-weight: bold;
	line-height: 40px;
  }
  .cardevent h3 {
	color:#1a1a1a;
  }
  .cardevent .card_date a {
	text-decoration: none;
  }
  .cardevent .card_type {
	font-family: "museo";
	font-size: 20px;
	font-weight:bold;
	line-height: 27px;
	color: #fff;
	text-transform: uppercase;
  }
  .cardevent .card_content {
	color: #1a1a1a;
  }
  .cardevent .card_content h3 {
	font-family: "m7";
	font-size: 16px;
	line-height: 1em;
	margin-top: 10px;
  }
  .cardevent .card_more {
	position: absolute;
	bottom: 16px;
  }
  .cardevent .card_more a {
	font-variant: small-caps;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	padding: 3px;
  }
  .cardevent .card_type {
	background: rgb(102, 153, 0);
  }
  .cardevent .card_date, .cardevent .card_date a {
	color: rgb(102, 153, 0);
  }
  .cardevent .card_more a {
	background: rgb(102, 153, 0);
  }
  .cardevent.formazione .card_type {
	background: rgb(102, 153, 0);
  }
  .cardevent.formazione .card_date, .cardevent.formazione .card_date a {
	color: rgb(102, 153, 0);
  }
  .cardevent.formazione .card_more a {
	background: rgb(102, 153, 0);
  }
  .cardevent.protagonismo-culturale .card_type {
	background: #666;
	font-size: 18px;
  }
  .cardevent.protagonismo-culturale .card_date, .cardevent.protagonismo-culturale .card_date a {
	color: #666;
  }
  .cardevent.protagonismo-culturale .card_more a {
	background: #666;
  }
  .cardevent.fiaba-pc {
	background: #fff url("./assets/images/sfondoCalPc.jpg") bottom right no-repeat;
  }
  .cardevent.fiaba-pc .card_type {
	background: rgb(201.5, 151.7907488987, 0);
  }
  .cardevent.fiaba-pc .card_date, .cardevent.fiaba-pc .card_date a {
	color: rgb(201.5, 151.7907488987, 0);
  }
  .cardevent.fiaba-pc .card_more a {
	background: rgb(201.5, 151.7907488987, 0);
  }
  .cardevent.museo-pc {
	background: #fff url("./assets/images/sfondoCalPc.jpg") bottom right no-repeat;
  }
  .cardevent.museo-pc .card_type {
	background: rgb(102, 153, 0);
  }
  .cardevent.museo-pc .card_date, .cardevent.museo-pc .card_date a {
	color: rgb(102, 153, 0);
  }
  .cardevent.museo-pc .card_more a {
	background: rgb(102, 153, 0);
  }
  .cardevent.spettacolo-pc {
	background: #fff url("./assets/images/sfondoCalPc.jpg") bottom right no-repeat;
  }
  .cardevent.spettacolo-pc .card_type {
	background: rgb(204, 0, 0);
  }
  .cardevent.spettacolo-pc .card_date, .cardevent.spettacolo-pc .card_date a {
	color: rgb(204, 0, 0);
  }
  .cardevent.spettacolo-pc .card_more a {
	background: rgb(204, 0, 0);
  }
  .cardevent.mostra .card_type {
	background: rgb(51, 51, 51);
  }
  .cardevent.mostra .card_date, .cardevent.mostra .card_date a {
	color: rgb(51, 51, 51);
  }
  .cardevent.mostra .card_more a {
	background: rgb(51, 51, 51);
  }
  .cardevent.festa {
	background: #fff url("./assets/images/sfondoCalFesta.jpg") bottom right no-repeat;
  }
  .cardevent.festa .card_type {
	background: url("./assets/images/festa.png") no-repeat;
  }
  .cardevent.festa .card_date, .cardevent.festa .card_date a {
	color: rgb(229.5, 183.6, 0);
  }
  .cardevent.festa .card_more a {
	background: rgb(229.5, 183.6, 0);
  }
  .cardevent.spettacolo .card_type {
	background: rgb(255, 102, 0);
  }
  .cardevent.spettacolo .card_date, .cardevent.spettacolo .card_date a {
	color: rgb(255, 102, 0);
  }
  .cardevent.spettacolo .card_more a {
	background: rgb(255, 102, 0);
  }
  .cardevent.tour .card_type {
	background: rgb(51, 153, 255);
  }
  .cardevent.tour .card_date, .cardevent.tour .card_date a {
	color: rgb(51, 153, 255);
  }
  .cardevent.tour .card_more a {
	background: rgb(51, 153, 255);
  }
  .cardevent.concorso .card_type {
	background: rgb(204, 0, 0);
  }
  .cardevent.concorso .card_date, .cardevent.concorso .card_date a {
	color: rgb(204, 0, 0);
  }
  .cardevent.concorso .card_more a {
	background: rgb(204, 0, 0);
  }
  .cardevent.concerto .card_type {
	background: url("./assets/images/concerto.png") no-repeat;
  }
  .cardevent.concerto .card_date, .cardevent.concerto .card_date a {
	color: #e30613;
  }
  .cardevent.concerto .card_more a {
	background: #e30613;
  }
  .cardevent.ospitalita .card_type {
	background: #db60a3;
  }
  .cardevent.ospitalita .card_date, .cardevent.ospitalita .card_date a {
	color: #db60a3;
  }
  .cardevent.ospitalita .card_more a {
	background: #db60a3;
  }


/*Rassegna stampa - mery*/
.same-height-anteprima-press li{  display: grid;
box-shadow: 0px 0px 4px #666;
}
.same-height-anteprima-press li .taxonomy-articoli a {
  font-variant: small-caps; font-size: 14px;
  /*background-color:  #e30613;
  color: #fff;
  
  padding: 0 6px;
  text-decoration: none;*/
}
.same-height-anteprima-press li > div{ 
  border-width: 0 !important;

  display: flex; flex-direction: column;
  
}
.same-height-anteprima-press li > div .wp-block-post-title{ flex: 1;}

/* applichiamo il clamp al link dentro il titolo */
.titolo-troncato a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;  /* quante righe vuoi mostrare */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}