/*!
Theme Name: LocarnoKids4School
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: locarnokids4school
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

LocarnoKids4School is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/**
 * Customization Locarno Back 2 School
 */
 :root{
	--primary-color: #fff;
	--text-color: var(--primary-color);
	--yellow-festival: #fff200;
	--border-light-grey: #ccc;
	--primary-ff: Chroma,Helvetica,Verdana,sans-serif;
	--title-ff: Chroma,Helvetica,Verdana,sans-serif;
	--bg-color: #212529;
	--dark-text-color: var(--bg-color);
    --bs-warning: var(--yellow-festival);
}



@font-face {
            font-family: 'Chroma';
            
			src:
			local('Chroma ST'),
			local('Chroma'),
			url('https://forms.locarnofestival.ch/fonts/chroma/ChromaST-Regular.php') format('woff2'),
			url('https://forms.locarnofestival.ch/fonts/chroma/ChromaST-Regular-otf.php') format('opentype');
            font-weight: normal;
            font-style: normal;
			font-display: swap;
        }


    @font-face {
        font-family: 'Chroma';
        src: url('https://forms.locarnofestival.ch/fonts/chroma/ChromaST-Medium.php') format('woff2'),
        url('https://forms.locarnofestival.ch/fonts/chroma/ChromaST-Medium-otf.php') format('opentype');
        font-weight: 500;
        font-style: normal;
		font-display: swap;
    }
	
	@font-face {
        font-family: 'Chroma';
        src: url('https://forms.locarnofestival.ch/fonts/chroma/ChromaST-Medium.php') format('woff2'),
        url('https://forms.locarnofestival.ch/fonts/chroma/ChromaST-Medium-otf.php') format('opentype');
        font-weight: bold;
        font-style: normal;
		font-display: swap;
    }

/*CLASSI PERSONALIZZATE*/  
body {
	
	font-family: Chroma,Helvetica,Verdana,sans-serif;
	
}

.form-check-input:checked {
    background-color: #ffdd00 !important;
    border-color: #ffdd00 !important;
}

.form-check-input:focus {
    border-color: hsl(52, 100%, 50%);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255,221,0,.25);
}

.form-control:focus {
    box-shadow: 0 0 3px 3px rgba(255,221,0,.25) !important;
}
ul {
    color: #fff;
}
.cat-temi {
    background-color: #dc5e69 !important;
    color: black !important;
    border: none;
    /* padding: 3px 4px;
    vertical-align: middle;
    font-size: 16px; */
    margin: 3px;
}

.cat-livello {
    background-color: #255069 !important;
    border: none;
    /* padding: 3px 4px; */
    /* vertical-align: middle; */
    /* font-size: 16px; */
    margin: 3px;
}

p#container-finalita-pedagogiche {
    color: #fff;
}

.tag_name {
    margin-bottom: 0;
    padding: 10px 5px 0px 5px;
}

/* .tag_hover:hover, .tag_hover:focus,
.tag_hover.show{
    background: black!important;
} */

.btn-group>button:focus-visible {
    background-color: black !important;
    box-shadow: 0 0 0 0 transparent;
}

.movie-opener::after {

    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(180deg, rgba(0,0,0,0),rgba(0,0,0,.4));
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu.show {
    border: none;
}

.badge-icon {
    display: inline-block;
    width: 22px;
    margin: 3px 0;
}

.badge-scheda {
    display: inline-block;
    width: 25px;
}

.filter-icon>svg>path {
    fill: #fff !important;
}

.filter-icon {
    width: 30px;
    margin:0 12px;
}

span.badge.cat-temi svg {
    stroke: #000!important;
}

span.badge.cat-temi svg path{
    fill: #000000!important;
}

.sottolineato {
    text-decoration: underline;
    text-decoration-color: #ffdd00;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.misc-card-yellow-line {
    position: relative;
    top: -20px;
    right: 20px;
    /* top: -1px;
    left: 0; */
    width: 80px;
    height: 8px;
    background-color: #fff200;
}

.card-schede {
    border:solid 1px rgba(255, 255, 255, 0.408) !important;
    padding: 20px!important;
}

.nav-item>.active {
    text-decoration: none !important;
}

.filter-temi {
    background-color: #dc5e69 !important;
}

.filter-livello {
    background-color: #255069 !important;
}

.filter-temi:hover, .filter-temi.show {
    background-color: #a94850 !important;
}

.filter-livello:hover, .filter-livello.show {
    background-color: #132935 !important;
}

.filter-glow {
    text-shadow: 0 0 15px #ffdd00;
    color: #ffdd00;
}

.featured-movie>.card {
    border: 1px solid #fff200;
}

.bordo {
    border: 1px solid #ffdd00;
}

.link-film {
    position: absolute;
    bottom: 0;
    right: 30px;
    font-size: small;
}

/* OWL CAROUSEL*/

.owl-carousel .nav-btn{
    position: relative;
    display: inline-block;
    cursor: pointer;
    top: 0px;
    padding: 0 200px;
  }


@media (max-width:992px) {
    .owl-carousel .nav-btn{
        padding: 0 100px;
    }
}
.owl-nav {
    text-align: center;
    position: relative;
    top: 40px;
}

.owl-dot {
    position: relative;
    top: 15px;
}


.owl-prev:hover , .owl-next:hover {
    background-color: transparent !important;
}

 /*  
  .owl-carousel .owl-prev.disabled,
  .owl-carousel .owl-next.disabled{
  pointer-events: none;
  opacity: 0.2;
  }
  

  }  */

  /* .owl-carousel .prev-slide{
    background: url(nav-icon.png) no-repeat scroll 0 0;
    left: -33px;
  }
  .owl-carousel .next-slide{
    background: url(nav-icon.png) no-repeat scroll -24px 0px;
    right: -33px;
  }
  .owl-carousel .prev-slide:hover{
   background-position: 0px -53px;
  }
  .owl-carousel .next-slide:hover{
  background-position: -24px -53px; */







/* /CLASSI PERSONALIZZATE */  




h2.widget-title {
    font-size: 24px;
    padding: 0;
    margin: 0;
}

body {
    background-color: #000;
}
div#content {
    min-height: 100vh;
}
img.custom-logo {
    max-height: 52px;
    width: auto;
}
video#hero-video {
    cursor: pointer;
}
button#btn-search-top {
    color: #fff;
}
svg.feather.feather-search {
    color: #fff;
}
iframe {
    aspect-ratio: 16/9;
}
h1 {
    font-family: var(--title-ff);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-top: 0;
}
p#subtitile {
    font-size: 1.5rem;
}
.filter>a {
    color: #fff;
}

@keyframes anim-glow {
	0% {
		box-shadow: 0 0 rgba(255, 221, 0 , 1);
	}
	100% {
		box-shadow: 0 0 10px 8px transparent;
		border-width: 2px;
	}
}

.icon	{
	border-radius: 50%;
	border: 1px solid#fff;
	width: 16px;
	height: 16px;
	display: flex;
    justify-content: center;
    align-items: center;
	position: absolute;
    background-color: var(--yellow-festival);
	animation: anim-glow 2s ease infinite;

}

.icon i{
    border-radius: 50%;
    border: 2px solid var(--yellow-festival);
    width: 8px;
    height: 8px;
    display: inline-block;
    vertical-align: 6px;
    background-color: var(--yellow-festival);
}

.bg-warning{
    background-color: var(--yellow-festival) !important;
}

.marker-card{
	animation: anim-glow 2s ease infinite;    
}

.nav-link{
    color: var(--primary-color) !important;
}

.nav-link.active{
    color: var(--yellow-festival) !important;
    text-decoration: underline;
}

.btn-filter {
    padding: 10px;
    margin: 0px 0px 20px 0px;
    background-color: transparent;
    border-radius: 10%!important;
    border: none;
    /* border-radius: 50%!important; */
}

/* .btn-filter:hover, .btn-filter.show {
    background: black!important;
} */

.movie-opener {
    width: 100%;
    aspect-ratio: 19/9;
    position: relative;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
}   
.event-cover-info {
    bottom: 20px;
    position: absolute;
    padding: 10px;
    z-index: 1;
}
h1 {
    font-family: Chroma,Helvetica,Verdana,sans-serif;
    font-size: 80px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 88px;
    margin-bottom: 0;
}
h1.h-1.event-info-title {
    font-size: 64px;
    line-height: 105px;
    font-weight: bold;
    letter-spacing: -1px;
    color: var(--primary-color);
}

.movie-tag-wrapper,
.movie-info-wrapper {
    background-color: #000!important;
}

footer#colophon {
    min-height: 200px;
    background-color: #000;
}
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* aspect-ratio: 16/9; */
}
.card {
    min-height: 500px;
}

.card-title h5 {
    color: var(--bs-card-title-color)!important;
}
p.card-text {
    margin-top: 20px;
}
.event-info-type{
    display: inline;
}

div#mobile-menu-drop, 
div#mobile-search-drop {
    display: flex;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: rgba(0,0,0,1);
    width: 100%;
    height: 100vh;
    z-index: 100;
    text-align: center;
    flex-direction: column;
    left: 100%;
    transition: left 0.3s ease-in-out;
}


div#mobile-menu-drop.menu-open{
    left: 0;
}
div#page {
    transition: transform 0.3s ease-in-out;
}
div#page.menu-open {
/*     transform: translate(120px,120px);*/
    transform: scale(0.95);
    transform-origin: right;
}

div#mobile-menu-drop ul,
div#mobile-search-drop ul{
    list-style-type: none;
    padding: 10px;
}

ul#primary-menu>li>a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
button#close {
    border-radius: 50%;
    aspect-ratio: 1/1;
    margin-bottom: 10px;
}

a {
    color: #fff;
    text-decoration: none;
}

a h5.card-title {
    margin-top: 10px;
    color: #fff;
    text-decoration: none!important;
}

/* .card-still {
    width: 100%;
    aspect-ratio: 16/9;
    background-position: center;
    background-size: cover;
} */

.carousel-control-next, .carousel-control-prev {
    top: 115% !important;
    width: 75% !important;
}

.carousel-indicators {
    top: 111%;
}

[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target] {
    background-color: #fff !important;
}

[data-bs-theme=dark] .carousel .carousel-control-next-icon, [data-bs-theme=dark] .carousel .carousel-control-prev-icon {
    filter: invert(0) grayscale(100) !important;
}

h6.h-6,
h5 {
    font-family: Chroma,Helvetica,Verdana;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: -.2px;
    line-height: 32px;
    margin-bottom: 0;
}

main#primary\ movie-page {
    background: #000;
}

.accordion-item {
    color: #fff;
    border: solid 1px #808080;
    border-radius: 0px!important;
    margin-bottom: 32px;
    background-color: rgba(0,0,0,0);
}

.accordion-button,
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: rgba(0,0,0,0);
    box-shadow: none;
    padding: 38px 30px 40px 32px;
}

.accordion-item:not(:first-of-type) {
    border-top: solid 1px #808080;
}

.accordion-button::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    height: 8px;
    width: 80px;
    background-color: #fff200;
}

.accordion-item>div {
    padding-inline: 30px;
}

.accordion-button:focus {
    z-index: 3;
    border-color: #fff;
    outline: 0;
    box-shadow: none
}

.content-movie {
    background-color: #212529;
    padding-top: 80px!important;
}

.content-page {
    padding-top: 80px!important;
}

.post-thumbnail>img {
    width: 100%;
    height: auto;
    margin-block: 30px;
}

.content-movie:last-child {
    padding-bottom: 80px!important;
}

.movie-tag-wrapper {
    padding-top: 30px!important;
}
.movie-info-wrapper:last-child {
    padding-bottom: 30px!important;
}
div#infos-cols {
    color: #fff;
}
.event-description-share {
    text-align: right;
}

h6.source_title {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.didacticsheet,
.sourceitem {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 18px;
    align-content: center;
    font-weight: 600;
}

.card-img-top>img {
    width: 100%;
}

div#infos-finalita-pedagogiche-text {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.card-img-top {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: top;
}

section#search-result {
    display: none;
}

.filter.dropdown {
    display: inline-block;
    margin-right: 10px;
}

[data-bs-theme=dark] .accordion-button::after {
    --bs-accordion-btn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 20 20" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    --bs-accordion-btn-active-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 20 20" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
}

.card-mobile {
    --bs-card-spacer-y: 1rem;
    --bs-card-spacer-x: 1rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-title-color: ;
    --bs-card-subtitle-color: ;
    --bs-card-border-width: var(--bs-border-width);
    --bs-card-border-color: var(--bs-border-color-translucent);
    --bs-card-border-radius: var(--bs-border-radius);
    --bs-card-box-shadow: ;
    --bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    --bs-card-cap-padding-y: 0.5rem;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);
    --bs-card-cap-color: ;
    --bs-card-height: ;
    --bs-card-color: ;
    --bs-card-bg: var(--bs-body-bg);
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
    margin: 10px 0px;
    min-height: 350px;
}

.card-mobile>a>.card-body>h5 {
    font-size: 18px;
    /* white-space: nowrap; */
    overflow: hidden;
    /* text-overflow: ellipsis; */
    text-align: left;
}
.card-mobile>a>.card-body {
    align-items: flex-start;
    aspect-ratio: auto;
}

/* .card-mobile>a {
    display: flex;
    gap: 10px;
}


.card-mobile>a>.card-body>p {
    margin: 5px;
} */
div#search-result-list-mobile>div {
    margin-top: 0px;
}
div#search-result-list-mobile {
    overflow-x: hidden;
    height: 100vh;
    align-content: flex-start;
    padding: 0px 10px;
}
div#closeWrapper {
    background-color: #000;
}
form.mobile-search,
form.mobile-search,
div#filter-rearch-page {
    background-color: #000;
}
div#filter-rearch-page {
    text-align: left;
}

.col.filter svg {
    stroke: #fff;
}

span#marker-filter {
    display: none;
}

.player-buttons {
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-inline: var(--bs-border-radius-2xl)!important;
    margin-block: var(--bs-border-radius-xl)!important;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
}

.video-container {
    position: relative;
}

.player-buttons.video-muted {
    background-image: url(https://back2school.locarnofestival.ch/wp-content/uploads/2023/09/volume-x-white.svg);
}
.player-buttons.video-volumeup {
    background-image: url(https://back2school.locarnofestival.ch/wp-content/uploads/2023/09/volume-2-white-1.svg);
}
footer{
   margin-bottom: 50px;
}
@media (max-width: 767px) {
    .didacticsheet {
        font-size: 1rem;
        margin-block: 30px;
    }
    section#hero>div:first-child {
        padding-inline: 0px;
        border-radius: 0px;
    }
    section#hero video {
        border-radius: 0px!important;
    }
    nav.filters>div>div {
        padding-inline: 0px;
        border-radius: 0px!important;
        background-color: rgba(0,0,0,0)!important;
    }
    span#marker-filter {
        display: none;
    }
    aside {
        display: none;
    }
    h1 {
        font-size: 40px;
        letter-spacing: -1px;
        line-height: 40px;
        margin-bottom: 5px;
    }
    .offset-lg-1.col-lg-10.event-cover-info {
        padding-inline: 1.5rem;
        background-color: #000;
        bottom: auto;
        position: relative;
    }
    h1.h-1.event-info-title {
        font-size: 30px;
        line-height: 40px;
        margin-top: 35px;
    }
    .img-placeholder {
        width: 100%;
        aspect-ratio: 16/9;
    }
    h6#container-sinop {
        font-size: 18px;
    }
}

@media (max-width: 1920px) {

    .card {
        min-height: 430px;
    }
}

@media (max-width: 1200px) {

    .card {
        min-height: 380px;
    }
}

@media (max-width: 991px) {

    .card {
        min-height: 430px;
    }
    .card-schede {
        margin-top: 80px;
    }
}
.container-fluid.p-4.content-movie.content-link-movie {
    padding-block: 200px!important;
}
div#infos-finalita-pedagogiche-text ul {
    margin-top: 20px;
}
div#infos-finalita-pedagogiche-text ul li {
    margin-bottom: 10px;
}
.widget-area-partner img {
    filter: brightness(0) invert(1);
}