/*
Theme Name: ssml_theme
Theme URI: 
Author: laratanfoglio
Author URI: 
Description: Tema Creato per la Scuola Superiore di Mediazione Linguistica della Fondazione UniverMantova.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ssml_theme
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
*/

.language {
	list-style-type: none;
}

.language li {
	display: inline-block;
	margin-left: 0.2rem;
}

.language li img {
	width: 24px !important;
	height: auto !important;
}

.wp-image-650 {
	vertical-align: middle !important;
}

.home img {
	border-radius: 0 !important;
}

.home-grid {
	padding-top: 3.4rem;
}

.home-news-title {
	color: #025382;
}

.home-news,
.home-events {
	padding-bottom: 3rem;
}

.home-news > li {
	border: 1px solid #025382;
	border-radius: 0.5rem;
	overflow: hidden;
}

.home-news > li > div {
	padding: 0 !important;
	overflow: hidden;
}

.home-news > li > div h2 {
	padding: 0.5rem 1rem !important;
	background-color: #025382;
	font-size: 1.4rem;
}

.home-news > li > div h2 a {
	color: #FFF;
}

.home-news > li > div div {
	padding: 0.5rem 1rem !important;
}

.home-events-title {
	color: #A71946;
}

.home-events > li {
	border: 1px solid #A71946;
	border-radius: 0.5rem;
	overflow: hidden;
}

.home-events > li > div {
	padding: 0 !important;
}

.home-events > li > div h2 {
	padding: 0.5rem 1rem !important;
	background-color: #A71946;
	font-size: 1.4rem;
}

.home-events > li > div h2 a {
	color: #FFF;
}

.home-events > li > div div {
	padding: 0.5rem 1rem !important;
}

.entry-content .wp-block-button__link {
	text-transform: uppercase !important;
	font-size: 1rem !important;
}

.is-style-grey-button,
.page-template-page-with-sidebar-didattica-title .wp-block-button__link,
.page-template-page-with-sidebar-servizi-title .wp-block-button__link {
	border: 1px solid #76787B !important;
	transition: all 0.5s ease 0s;
}

.is-style-grey-button:hover a,
.page-template-page-with-sidebar-didattica-title .wp-block-button__link:hover,
.page-template-page-with-sidebar-servizi-title .wp-block-button__link:hover {
	color: #76787B !important;
	background-color: transparent !important;
}

.is-style-grey-button.orange {
	border: 1px solid #FB8C00 !important;
	transition: all 0.5s ease 0s;
	background-color: #FB8C00 !important;
}

.is-style-grey-button.orange:hover a {
	color: #fff !important;
	box-shadow: 4px 4px 4px 0 #999;
}

.is-style-grey-button.green {
	border: 1px solid #64DD17 !important;
	transition: all 0.5s ease 0s;
	background-color: #64DD17 !important;
}

.is-style-grey-button.green:hover a {
	color: #fff !important;
	box-shadow: 4px 4px 4px 0 #999;
}

.is-style-blue-button,
.page-template-page-with-sidebar-ssml-title .wp-block-button__link,
header .wp-block-button.is-style-fill .has-blu-logo-background-color {
	border: 1px solid #025382 !important;
	transition: all 0.5s ease 0s;
}

.is-style-blue-button:hover a,
.page-template-page-with-sidebar-ssml-title .wp-block-button__link:hover {
	color: #025382 !important;
	background-color: transparent !important;
}

header .wp-block-button.is-style-fill .has-blu-logo-background-color:hover {
	color: #025382 !important;
	background-color: #fff !important;
}

.is-style-red-button,
.page-template-page-with-sidebar-internazionalizzazione-title .wp-block-button__link,
header .wp-block-button.is-style-fill .has-rosso-logo-background-color {
	border: 1px solid #A71946 !important;
	transition: all 0.5s ease 0s;
}

header .wp-block-button.is-style-fill .has-rosso-logo-background-color:hover {
	color: #A71946 !important;
	background-color: #fff !important;
}

header .wp-block-button.is-style-fill .has-verde-logo-background-color {
	background-color: #64DD17;
	border: 1px solid #64DD17 !important;
	transition: all 0.5s ease 0s;
}

header .wp-block-button.is-style-fill .has-verde-logo-background-color:hover {
	color: #64DD17 !important;
	background-color: #fff !important;
}

header .wp-block-button.is-style-fill .has-arancione-logo-background-color {
	background-color: #FB8C00;
	border: 1px solid #FB8C00 !important;
	transition: all 0.5s ease 0s;
}

header .wp-block-button.is-style-fill .has-arancione-logo-background-color:hover {
	color: #FB8C00 !important;
	background-color: #fff !important;
}

.is-style-red-button:hover a,
.page-template-page-with-sidebar-internazionalizzazione-title .wp-block-button__link:hover {
	color: #A71946 !important;
	background-color: transparent !important;
}

.page-template-page-with-sidebar-didattica-title .wp-block-button__link,
.page-template-page-with-sidebar-servizi-title .wp-block-button__link,
.page-template-page-with-sidebar-ssml-title .wp-block-button__link,
.page-template-page-with-sidebar-internazionalizzazione-title .wp-block-button__link {
	text-align: center !important;
	font-weight: normal !important;
}

.wp-block-query-no-results {
	margin: 0 auto !important;
    padding: 0 0 2rem !important;
}

.wp-block-post-content {
	padding: 1.4rem 0 3.6rem !important;
}

.wp-element-button,
.wp-block-details,
.custom-sidebar,
.home .wp-block-cover,
.home .wp-block-post {
	box-shadow: 10px 10px 10px 0 #999;
}

.wp-block-details {
	border-radius: 0.33rem;
}

.wp-block-details > * {
	padding: 0.25rem 1rem;
	overflow: hidden;
}

.riepilogo-scadenze th:nth-child(2),
.riepilogo-scadenze th:nth-child(3) {
	width: 110px !important;
}

.degree-courses th:nth-child(2),
.corsi-di-laurea th:nth-child(2) {
	width: 90px !important;
}

.degree-courses th:nth-child(3),
.degree-courses th:nth-child(4),
.degree-courses th:nth-child(5),
.corsi-di-laurea th:nth-child(3),
.corsi-di-laurea th:nth-child(4),
.corsi-di-laurea th:nth-child(5) {
	width: 80px !important;
}

.wp-block-column {
	margin: 5px !important;
}

.page-template-page-section-ssml header > div > div:nth-child(3),
.page-template-page-with-sidebar-ssml-title header > div > div:nth-child(3) {
	background-color: #025382 !important;
}

.page-template-page-section-internazionalizzazione header > div > div:nth-child(3),
.page-template-page-with-sidebar-internazionalizzazione-title header > div > div:nth-child(3) {
	background-color: #A71946 !important;
}

.page-template-default header > div > div:nth-child(3),
.page-template-page-with-sidebar-didattica-title header > div > div:nth-child(3),
.page-template-page-with-sidebar-servizi-title header > div > div:nth-child(3) {
	background-color: #76787B !important;
}

.wp-container-core-group-is-layout-a77db08e {
	display: none !important;
}

/* Stile generico: spazio per l'icona */
li.facebook,
li.instagram,
li.tiktok {
  position: relative !important;
  padding-left: 28px !important; /* spazio per l'icona */
}

/* Icona Facebook */
li.facebook::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-image: url("icon/facebook.png"); /* metti qui il link */
  background-size: contain;
  background-repeat: no-repeat;
}

/* Icona Instagram */
li.instagram::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-image: url("icon/instagram.png"); /* metti qui il link */
  background-size: contain;
  background-repeat: no-repeat;
}

/* Icona TikTok */
li.tiktok::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-image: url("icon/tiktok.png"); /* metti qui il link */
  background-size: contain;
  background-repeat: no-repeat;
}

/* Di default, nascondo il video verticale */
.video-vertical {
  display: none;
}

/* Media query per dispositivi in verticale */
@media (orientation: portrait) {
  .video-horizontal {
    display: none;
  }
  .video-vertical {
    display: block;
  }
}

/* Media query per dispositivi in orizzontale */
@media (orientation: landscape) {
  .video-horizontal {
    display: block;
  }
  .video-vertical {
    display: none;
  }
}

/* Optional: rendere il video responsive */
video {
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
}

.titolo-video {
	font-weight: normal !important;
    margin: 2.4rem auto 0 !important;
}

.titolo-video.primo-video {
	margin-top: 0 !important;
}

figure.ex-studenti video {
	height: 600px;
	width: auto;
}



/* Stile specifico per il widget con classe custom-widget */
@media (max-width: 768px) {
    .is-style-disappear{
        display: none !important; /* Nasconde il contenitore su dispositivi con larghezza massima di 768px */
    }
}
