/*
Theme Name:     Child Design Scuole Italia
Description:    Tema Child per il tema Design Scuole Italia
Author:         Netkom
Author URI:     http://example.com/about/
Template:       design-scuole-wordpress-theme-main
Version:        0.1.0
*/

.Nascondi {
    display: none !important;
}

/* -- Hero home -- */
.section-hero-left .decoration-01 {
    opacity: .1;
}
.section-hero-left .hero-img {
    background-position: center !important;
}
/**/

/* -- POST single -- */
.single .card-avatar {
    display: none;
}

.card-body .card-icon-content > p {
    text-transform: uppercase;
}

/*-- per privacy e cookie --*/
.postid-255 .article-title,
.postid-271 .article-title {
    height: 200px !important;
}
/* .postid-255 .article-title .title-img,
.postid-271 .article-title .title-img {
    background-image: url('/wp-content/uploads/2023/11/bg-top-purple-3.jpg') !important;
}  */

.single-struttura .article-title .title-img {
    background-position: center;
}


.archive.tax-tipologia-articolo.term-privacy aside {
    display: none !important;
}

/* !!! sto nascondendo link privacy su sidebar menu !!! */
.archive.tax-tipologia-articolo aside fieldset div:has(#check-privacy) {
    display: none !important;
}

/* -- pagina scuola -- */
/* //page-template-storia */
.page-id-14 .title-section p {
    color: #ffffff;
    text-align: left;
    font-size: 20px;
}

/* ------- pagina persone ---------*/
/* -- custom No LINK -- */

body.page-template-persone #main-container section:nth-child(n+4) a {
    /* pointer-events: none;
    cursor: not-allowed; */
    
}
body.page-template-persone #main-container section:nth-child(n+4) u{
    text-decoration: none !important;
}

/* ------- Scuola viva - categorie eventi e pagine singole di event manager ---------*/
body.event-template-default .article-title {
	height: auto;
}
.em.pixelbones h1, .em.pixelbones h2, .em.pixelbones h3, .em.pixelbones h4, .em.pixelbones h5, .em.pixelbones h6 {
    margin-top: 0!important;
    margin-bottom: 20px!important;
    font-weight: 600!important;
}

.em.em-list .em-item .em-item-info h3.em-item-title a {
    color: var(--a-color-1);
    text-decoration: none;
    font-weight: 500;
}
.em.em-list .em-item {
    width: 100%;
    /* display: block; */
}
.em.em-item .em-item-meta .em-item-meta-line a, .em.em-list .em-item .em-item-meta .em-item-meta-line a, .em.em-list-widget .em-item .em-item-meta .em-item-meta-line a{
	color: var(--accent-color)!important;
}
.em.pixelbones .em-taxonomy-events h3 {
	    font-size: 20px !important;
    font-weight: 600 !important;
}

.em.pixelbones ul {
    list-style: circle !important;
}
.em.pixelbones li {
    font-family: Lora,Georgia,serif !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid #455b7145;
}

.em-event-content .desc-evento p {
    font-size: 20px;
	line-height: 28px !important;
}



.em-taxonomy-single {
    padding: 30px;
    max-width: 800px;
}
.em-taxonomy-single .em-location-next-event {
    display: none !important;
}
.em-taxonomy-single .em-taxonomy-description h3 {
    display: none !important;
}

form.em-booking-form .em-booking-form-section-tickets {
    display: none;
}

.em.pixelbones .input input[type=submit].em-form-submit {
    background-color: #0e865c !important;
    color: white !important;
}
.em.pixelbones .input input[type=submit].em-form-submit:hover {
    background-color: #4CAF50 !important;
    color: white !important;
}

/* custom pagina singola documento AVCP per formattare file XML */

main.avcp .aside-border {
    display: none;
}
main.avcp .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
}
main.avcp .col-lg-8 .col-lg-9 {
    flex-basis: 100% !important;
}
main.avcp tr {
    border-bottom: 1px solid #dfdfdf;
}
main.avcp td {
    padding: 0 15px;
}
main.avcp table label {
    display: inline-block;
    margin-bottom: 0;
    color: #435a70;
}
thead tr:nth-child(1){ /* nascondo ricerca */
    display: none;
}


/* archivio news */
.card-comments-wrapper {
    display: none !important;
}

/* ---- custom banner es: scuola in diretta */
/* .ntk-custom-ban.scuola-diretta {
    background-color: aliceblue;
    background: -moz-linear-gradient(left,#1d42d0 0,#70e5c4 100%);
    background: -webkit-linear-gradient(left,#1d42d0 0,#70e5c4 100%);
    background: linear-gradient(to right, #1d42d0 0, #70e5c4 100%);
    color:#FFFFFF;
} */
.cont-ntk-ban {
    background-color: aliceblue;
    background: -moz-linear-gradient(left,#1d42d0 0,#70e5c4 50%, #da2329 50%);
    background: -webkit-linear-gradient(left,#1d42d0 0,#70e5c4 50%, #da2329 50%);
    background: linear-gradient(to right, #1d42d0 0, #70e5c4 50%, #da2329 50%);
}
.ntk-custom-ban.scuola-diretta {
    /* background-color: aliceblue;
    background: -moz-linear-gradient(left,#1d42d0 0,#70e5c4 100%);
    background: -webkit-linear-gradient(left,#1d42d0 0,#70e5c4 100%);
    background: linear-gradient(to right, #1d42d0 0, #70e5c4 100%); */
    color: #FFFFFF;
    display: flex;
    flex-direction: row;
    /* column-gap: 80px; */
}
.ntk-custom-ban.scuola-diretta .ntk-wrapBan {
    padding: 100px;
    padding-left: 14px;
    padding-right: 14px;
    display: flex;
    justify-content: space-between;
    /* width: 100%; */
    margin: 0 auto;
    flex-direction: column;
}
.ntk-custom-ban.scuola-diretta .ntk-wrapBan50 {
    width: 50%;
    justify-content: center;
}
.ntk-custom-ban.scuola-diretta .ntk-wrapBan > div {
    flex: 50%;
}
.ntk-custom-ban.scuola-diretta .ntk-wrapBan > div:nth-child(2) {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}
h2.ntkBan-title {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 40px;
}
.ntk-wrapBan h3 {
    color: #FFFFFF;
    font-size: 23px;
    font-weight: 500;
}
.ntk-wrapBan a {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 20px;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    padding: 10px 30px;
}
.ntk-wrapBan a:hover {
    background-color: #ffffff71;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    text-decoration: none !important;
}
.ntk-custom-ban.scuola-diretta .ntk-wrapBan.open-day-ban {
    padding: 0;
    max-width: 1200px; 
    /* padding-left: 14px;
    padding-right: 14px;
    /* display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto; */
}
.ntk-wrapBan50.open-day-ban img {
    /* max-width: 100%; */
    /* width: 100%; */
    object-fit: cover !important;
    opacity: 0;
}
.ntk-wrapBan50.open-day-ban {
    background-image: url(/wp-content/uploads/2024/04/home-open-day-2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


/* PNNR */
section.ntk-sec-center {
    display: flex;
    margin-bottom: 10px;
}
.card-body.ntk-box-link {
    display: flex;
    align-items: center;
}
.ntk-box-link h3 {
margin-left: 20px;
margin-bottom: 0;
}

section.ntk-sec-center a {
    text-decoration: none;
}
section.ntk-sec-center a:hover {
    text-decoration: underline;
}
.card-body.purplelight svg {
    fill: #B21DD0;
}

.PNRR-page .section3 {
    margin-top: 50px;
    width: 100%;
    border-bottom: 1px solid #455b71;
    padding: 30px 50px;
    margin: 10px auto;
}
.PNRR-page .section3.last {
	margin-bottom: 80px;
}

/* PLUGIN LIGHTBOX MEDIA */
#slb_viewer_wrap .slb_theme_slb_default .slb_details {
    display: none !important;
}

/* REFERENTI SEDE  RIORDINO */
.referenti-di-sede .col-lg-9 > div .col-lg-4:nth-child(1) {
    order: 3;
}
.referenti-di-sede .col-lg-9 > div .col-lg-4:nth-child(2) {
    order: 1;
}
.referenti-di-sede .col-lg-9 > div .col-lg-4:nth-child(3) {
    order: 2;
}

/* PAGINA I LUOGHI */
.section.section-map-wrapper .map-aside {
    display: flex;
    flex-direction: column;
}
/*ostiglia*/
.post-type-archive-luogo .map-aside .card:nth-child(2) {
    order :1;
}
.post-type-archive-luogo .map-aside .card:nth-child(3) {
    order :3;
}
.post-type-archive-luogo .map-aside .card:nth-child(4) {
    order :2;
}

/* !!! forzo il font richiesto */
.gm-style {
    /* font: 400 11px Roboto, Arial, sans-serif; */
    font: 400 11px "Titillium Web",Geneva,Tahoma,sans-serif !important;
    font-family: "Titillium Web",Geneva,Tahoma,sans-serif !important;
}
.gm-style * {
    /* font: 400 11px Roboto, Arial, sans-serif; */
    /* font: 400 11px "Titillium Web",Geneva,Tahoma,sans-serif !important; */
    font-family: "Titillium Web",Geneva,Tahoma,sans-serif !important;
}


/* MODIFICHE NEI DOCUMENTI  che eccedono lo spazio */
.card.card-icon .card-icon-content p {
    /* overflow-wrap: anywhere; */
    word-break: break-word;
}


/* social wrapper */
/* head */
.header-social {
    display: none !important;
}
/* footer */
.col-lg-12.sub-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-inline-menu {
    width: 100%;
    flex-basis: 100%;
    justify-content: center;
}
.sub-footer .footer-social {
    margin-left: 0 !important;
    display: flex;
    flex-direction: row;
    justify-content: center !important;
    width: 100%;
}



/* CUSTOM IUBENDA */
#iubenda-cs-banner,.iubenda-cs-rationale {
    font-family: "Titillium Web", sans-serif !important;
}
#iubenda-cs-banner .iubenda-banner-content:not(.iubenda-custom-content) *, #iubenda-cs-banner [class*=" iub"], #iubenda-cs-banner [class^=iub] {
    font-family: "Titillium Web", sans-serif !important;
}


   