/*!
Theme Name: Design Scuole Italia Child
Author: Dipartimento per la trasformazione digitale - Presidenza del Consiglio dei Ministri
Description: Design Scuole Italia è il tema di WordPress per i siti delle Scuole Italiane. Rispetta le linee guida di design dell’Agenzia per l’Italia digitale rilasciare dal Team per la Trasformazione Digitale. Utilizza Bootstrap Italia. Basato sul precedente lavoro di Marco Buttarini.
Version: 2.5.1
License: AGPL 3.0 or later
Text Domain: design_scuole_italia_child
*/

/** immagini e allineamenti wp **/
/* =WordPress Core
-------------------------------------------------------------- */

.luoghi-card {
	height: auto !important;
}

.indirizzoScuola {
	text-decoration:none!important;
	pointer-events:none!important;
	color:inherit!important;
}


.card-circolare {
    height: 200px!important;
}

.home .card {
    min-height: inherit!important;
    max-height: 170px!important;
}

.article-title-author-container {
    max-height: 200px;
}

.title-card {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -.2px;
}
 
.bg-petrol-new {
   background-color: #00264c;
}

.article-wrapper a {
    text-decoration: underline;
    word-break: break-all;
}

.nav-link {
	font-size: 20px;
}

.card-servizio a {
    margin-top: 1rem;
    text-align: center;
} 

.text-white > a {
	color: #fff;
}

.header-eTwinning img {
	max-width: 100px;
}

.btn-outline {
    color: #00264c;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 0 0 1px #00264c;
} 

.carousel { 
  max-height: 500px!important;
  overflow-y: hidden!important;
}

 
.carousel-item img {
min-height: 480px!important;
}

.card-vertical-thumb {
     height: 250px!important;
}

.card-vertical-thumb .card-body { 
    padding: 2px!important; 
}

.row-link-utili {
	 align-items: center;
    justify-content: center;
}

.link-utili {
/*	border:4px solid #00264c; */  
	width: calc(100% - 20px);
	aspect-ratio: 1 / 1;
	margin:10px;
	text-align: center;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.link-utili:hover {
	background-color: #fff!important;
	border:4px solid #00264c;
}

.link-utili:hover .item-linkutili .h5 {
	color: #17324d!important;
}

.item-linkutili .h5 {
	color: #fff;
	padding: 8px;
	font-size: 25px;
}

#pre-header {
    height: 52px!important;
}

.item-linkutili {
	position: absolute;
	 top: 50%;
	  -ms-transform: translateY(-50%);
	  transform: translateY(-50%);;
	text-align: center;
	left:0;
	right:0;
	margin-bottom:20px
}
 

@media (max-width: 576px) {
.header-cambridge {
	display: none;
}
.item-linkutili .h5 {
	font-size: 20px!important;
}
.section-hero-left .hero-img, .section-hero-left .hero-title {
    height: 408px!important;
}

.carousel-item img {
     Height: auto!important; 
}

.link-utili{
	width: 100%;
    aspect-ratio: auto;
	margin: 8px;
    text-align: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50px;
}
 .hero-title {
    padding: 50px 0 0px 0!important; 
}
}

@media (max-width: 768px) {
.hero-img { 
display:none
}
 
}
@media (max-width: 991.98px){
.r-tabs .r-tabs-accordion-title a {
	color:#fff;
}
}

 
.card-bg {
	height:140px;
}
 

.card-servizio {
	height:100px;
}

.item-linkutili img {
	width:100%;
	height: auto;
}

.img-responsive {
	width: inherit;
	height:160px;
}

.row-servizi .col {
	margin-bottom: 20px;
}

.accordion-header h3,
.accordion-large .accordion-content p {
	color: #fff!important;
}

.btn-bluelectric:not(:disabled):not(.disabled):active, .btn-bluelectric {
	background: #d1d5d8!important;
}

.card-comments-wrapper {
    display: none!important;
}

.footer-links {
	border-top: 1px solid #fff;
    padding-top: 20px;
}

.footer-list .h3 { 
    text-transform: uppercase!important;
}

#footer-wrapper .footer-list a, .text-underline-hover {
    text-decoration: none!important;
}

.footer-wrapper {
    background-color: #30373d!important;
}

.textwidget p {
	margin-bottom: 0.5rem;
}

.card-servizi .card-body {
    padding: 0px!important;
}

.item-approfondimenti-col {
	padding-right: 0!important;
    padding-left: 0!important;
	max-height: 170px;
	margin-top:20px;
}

.section-circolari section {
	min-height: 350px;
}

.map-full-content {
    padding: 0 !important;
    margin: 0 auto -5px !important;
}


.map-wrap {
    background: transparent;
    width: 100%;
    height: 30px;
    position: relative;
    cursor: pointer;
}
.map-full-content > iframe {
    width: 100%;
    height: 500px;
    margin: 0;
}
.approfondimenti div a img, .servizi div a img {
	max-height: 120px
}	
 
.item-approfondimenti {
    overflow: hidden;
    position: relative;  
    background-size: cover;
    min-height: 150px;
    padding: 0 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-event .card-body .card-content { 
    min-height: 100px!important;
}

.bg-didatticadark {
    background-color: #00264c!important;
}

.section.section-tabs-bg .responsive-tabs ul:before { 
    background-color: #00264c!important;
}

.section.section-tabs-bg .responsive-tabs ul {
    background-color: #d1d5d8!important;
}

.item-approfondimenti .item-approfondimenti-hover h2,
.item-servizi .item-servizi-hover h2
{text-align:center;color:#fff;font-size:16px;margin-top:20px;line-height:19px;font-weight:600;padding:0 15px}

.item-approfondimenti .freccia-avanti, .item-servizi .freccia-avanti, .item-percorsi .freccia-avanti, .item-percorsi-small .freccia-avanti
{width:40px;height:40px;position:absolute;border-radius:20px;background:#06c;background-image:url("assets/icon-arrow-right-small.svg")!important;background-size:15px 15px;background-position:center center;background-repeat:no-repeat;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:796}
.item-approfondimenti-first-maincol{margin-right:-1px}
.item-approfondimenti{overflow:hidden;position:relative;min-height:150px;width:100%;padding:0 20px;display:flex;justify-content:center;align-items:center}
.item-approfondimenti .item-approfondimenti-hover{position:absolute;width:100%;height:160px;top:-250px;left:0;z-index:795;-webkit-transition:all .23s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;background:#0054a7}.item-approfondimenti .shadow{position:absolute;width:100%;height:50%;box-shadow:inset 0 21px 19px -12px rgba(34,42,51,0.25);top:0;left:0;z-index:800}
.item-approfondimenti:hover .item-approfondimenti-hover{top:0;background:#0054a7}
.item-approfondimenti .freccia-avanti{bottom:450px}
.item-approfondimenti:hover .freccia-avanti{bottom:20px}

@media (min-width: 576px) {
	.lista-banner {
		justify-content: center;
	}
}


