/*
 Theme Name:   Ed School Child Theme
 Theme URI:    http://ed-school.aislinthemes.com/
 Description:  Ed School Child Theme
 Author:       Aislin
 Author URI:   http://aislinthemes.com
 Template:     ed-school
 Version:      1.0.0
 Tags:
 Text Domain:
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

.sensei.single-course .meta-wrap {
  display: none;
}
.sensei-message.info {
  display: none;
}
.sensei-single-course-header-purchase-button {
  display: none;
}
:not(.page-template-template-course-cards) .wh-page-title-bar {
    min-height: 50vh !important;
}
.page-template-template-course-cards .wh-padding, .page-template-template-course-cards #tribe-events-pg-template {
    padding-left: 20px!important;
    padding-right: 20px!important;
}

/*Nascondo parti menu*/
.elementor-column.elementor-col-20.elementor-top-column.elementor-element.elementor-element-474420b.width-auto, .elementor-column.elementor-col-20.elementor-top-column.elementor-element.elementor-element-2c519a4.width-auto, .elementor-column.elementor-col-20.elementor-top-column.elementor-element.elementor-element-7c960fa.width-auto{
	display:none;
}

.teacher .summary {
   display:none;
}

/*Header*/
.wh-logo-wrap.wh-padding img {
    height: 70px!important;
}
.sf-menu.wh-menu-main a, .respmenu li a, .wh-quick-sidebar .sf-menu {
    font-family: Montserrat!important;
    text-transform: initial!important;
    line-height: 15px!important;
    font-weight: 600!important;
    font-style: normal!important;
    font-size: 12px!important;
}

.course-category-cards-grid,
.tax-course-category .course-category-cards-grid,
.sensei-course-category-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin-top: 30px;
}

.course-cards-page-content {
	margin-bottom: 30px;
}

.course-cards-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	align-items: flex-end;
	margin-bottom: 10px;
	padding: 20px;
	background: #f7f9fb;
	border-radius: 12px;
}

.course-cards-filter__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 220px;
}

.course-cards-filter__field label {
	font-weight: 600;
	font-size: 14px;
}

.course-cards-filter__field select,
.course-cards-filter__field input[type="search"] {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #d8dee6;
	border-radius: 8px;
	background: #fff;
}

.course-cards-filter__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.course-cards-filter__reset {
	font-weight: 600;
	text-decoration: none;
}

.course-cards-empty {
	margin-top: 30px;
}

.course-category-card {
	margin: 0;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-category-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.course-category-card__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.course-category-card__link:hover {
	color: inherit;
	text-decoration: none;
}

.course-category-card__image {
	min-height: 230px;
	background-color: #d0dae3;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.course-category-card__image--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.course-category-card__content {
	padding: 22px 24px 26px;
}

.course-category-card__title {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
}

@media screen and (max-width: 959px) {
	.course-category-cards-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 600px) {
	.course-category-cards-grid {
		grid-template-columns: 1fr;
	}
}

nav#post-entries {
    display: none !important;
}

/*Tutte le pagine, disattivo sidebar*/
body:not(.single-post) .wh-sidebar.one.fourth.wh-padding {
    display: none !important;
}
.sensei.single-course .wh-content-inner {
    width: 100%;
}
/*Elimino i relativi corsi*/
.vc_row.linp-featured-courses-carousel.wh-similar-courses {
    display: none;
}
/*Colori corsi*/
.single-course h1.page-title{
	color:black;
	background:rgba(255, 255, 255, 0.7);
}

/*Responsive titoli*/
@media screen and (max-width: 600px) {
	.page-title{
		width:100%;
		font-size:30px!important;
		line-height: 40px!important;
	}
}

/*Colori categorie*/
/*Musica*/
.term-musica .page-title, .page-id-1174 .page-title, .page-id-1114 .page-title {
	background:#F95800;
}
.term-recitazione .page-title{
	background:#A9C349;
}
.term-lingue-straniere .page-title{
	background:#9E1B66;
}
.term-yoga .page-title{
	background:#42A5C4;
}
.page-template-template-course-cards .wh-page-title-bar {
    min-height: 30vh !important;
	background: #221C35;
}

.page-id-1174 .page-title, .page-id-1114 .page-title, .page-id-1964 .page-title {
    background: #FF6600!important;
}
.page-id-1599 .page-title, .page-id-1885 .page-title {
	background:#9ACD32!important;
}
.page-id-1882 .page-title, .page-id-1939 .page-title, .page-id-1941 .page-title{
	background:#9F2B68!important;
}
.page-id-1982 .page-title{
	background:#244585!important;
}

/*corsi*/
.single-course .page-title {
	color:#244585!important;
}
.single-course .page-title:after{
	color:#244585!important;
}
.single-course h1.page-title {
    background: rgba(255, 255, 255, 0.9)!important;
}

/*modifica layout insegnanti*/
.teacher.one.third.wh-padding{
	margin: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	padding:0px;
}
.teacher.one.third.wh-padding:hover{
	transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}
.teacher.one.third.wh-padding .item{
	padding:5px;
}
.vc_row.scp-teachers.scp-teachers-3 {
    padding-top: 50px;
}
/*Articoli*/
.single-post .thumbnail, .single-post .prev-next-item, .single-post .share-this, .single-post section#comments {
    display: none!important;
}
.single-post .wh-sidebar.one.fourth.wh-padding {
    margin-top: -10%;
}
.single-post .textwidget.custom-html-widget {
	background:white;
    padding: 5%;
    text-align: center;
    border: 2px solid #ff8700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
	height:50vh;
}
._pulsante a {
    color: white !important;
}
._pulsante:hover{
	background:#FF6600;
}
/*pagina media*/
body.page-id-413 .three.fourths.wh-padding.wh-content-inner {
    width: 100%;
}
body.page-id-413 .gallery {
    width: 100%;
}
body section.elementor-section.elementor-top-section.elementor-element.elementor-element-10853de.elementor-section-stretched.elementor-section-full_width.elementor-section-height-default.elementor-section-height-default {
    padding: 0 15px !important;
}

/* MODIFICA COLORE CHI SIAMO SOTTO AL TITOLO*/
.page-id-424 .page-title, .page-id-2596 .page-title, .page-id-403 .page-title, .page-id-413 .page-title, .page-id-411 .page-title {
    background: #F75A00;
   
}