:root {
  --rosso: #ef4e4a;
  --nero: #100a0c;
  --blu: #2e60f7;
  --grigio: #f2f2f2;
}

* {
  font-family: "Montserrat", sans-serif; text-align: justify
}

body {
  padding-top: 60px;
}
html {
  overflow-x: hidden;
}
.py_6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.pt_6 {
  padding-top: 6rem !important;
}

.pb_6 {
  padding-bottom: 6rem !important;
}

.pt_10 {
  padding-top: 10rem !important;
}

.pb_10 {
  padding-bottom: 10rem !important;
}

.h2_custom {
  font-size: clamp(2rem, 3vw, 3rem);
  position: relative;
}

.font-weight-bold {
	font-weight: bold;
}

.link-underline {
	text-decoration: none;
}

.color-EF4E49 {
	color: #EF4E49
}

.h2_bord_bottom::after {
  content: "";
  position: absolute;
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--rosso);
  width: 6rem;
  left: 50%;
  transform: translateX(-50%);
}

.btn_custom {
  border-radius: 0 !important;
  font-size: 1.5rem !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.btn_read_more {
  border-bottom: 1px solid;
  padding-bottom: 0.4rem;
  font-size: 1.2rem;
  text-decoration: none;
}

.bg_rosso {
  background-color: var(--rosso) !important;
}

.bg_nero {
  background-color: var(--nero) !important;
}

.bg_blu {
  background-color: var(--blu) !important;
}
.bg_giallo {
  background-color: #ed8f3e !important;
}

.rosso {
  color: var(--rosso) !important;
}

.nero {
  color: var(--nero) !important;
}

.blu {
  color: var(--blu) !important;
}

.bg_grigio {
  background-color: var(--grigio) !important;
}
.bg_azzurro {
  background-color: #286fb5 !important;
}
.text_azzurro {
  color: #286fb5 !important;
}
.content {
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
}
.link_attivo {
  border-bottom: 3px solid #e31131;
}
.navbar-collapse {
  flex-grow: 0 !important;
}

.carousel-item {
  position: relative;
}

.carousel-item .carousel_text {
  position: absolute;
  top: 50%; /* sposta l'elemento verso il basso del 50% dell'altezza del contenitore */
  left: 50%; /* sposta l'elemento verso destra del 50% della larghezza del contenitore */
  transform: translate(-50%, -50%);
  width: 80%;
}

.font-weight {
	font-weight: 700;
}

.carousel-item .carousel_text h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.carousel-item img {
  height: calc(100vh - 90.89px);
  object-fit: cover;
}

.carousel-indicators [data-bs-target] {
  width: 20px !important;
  height: 20px !important;
  border-radius: 100%;
}

.carousel-control-next,
.carousel-control-prev {
  width: 6% !important;
}

#programma_e_festival .cont_pittogramma {
  position: relative;
}

#programma_e_festival .bg_pittogramma {
  background-image: url(591ccee40bd37e000503.png);
  /* background-size: 17rem; */
  /* background-repeat: no-repeat; */
  /* background-position: center 8rem; */
  background-position: center;
  background-size: cover;
}
#programma_e_festival .festival_sfondo {
  background-image: url(3370c8e0906b7bf09afa.png);
  /* background-size: 17rem; */
  /* background-repeat: no-repeat; */
  /* background-position: center 8rem; */
  background-position: center;
  background-size: cover;
}

#sezione_video {
  padding-bottom: 20rem;
}

#sezione_video .content {
  margin: auto;
  max-width: 800px;
}

.container_video {
  margin: auto;
  max-width: 1000px;
  margin-top: -20rem;
  margin-bottom: 3rem;
}

.container_video iframe {
  width: 100%;
  border-radius: 15px;
  height: 30rem;
}

#location .bg_monopoli {
  background-image: url("46b6bae78197950cc787.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#location .bg_monopoli::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

#location .bg_monopoli2 {
  background-image: url("f01498e539e2b0dadeb2.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
#location .bg_monopoli2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}



#location .content {
  position: relative;
  z-index: 2;
}

#artisti h2 {
  position: relative;
  z-index: 99;
}

#artisti .bg_artista {
  position: relative;
  background-size: auto 100%;
  background-position: top center;
  background-repeat: no-repeat;
  height: 30rem;
  font-size: 1.5rem;
  text-decoration: none;
  transition: opacity 0.2s ease-in-out;
  background-color: black;
}

.overlay_qr {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(255, 255, 255, 0.1));
    z-index: 0;
}

#artisti .bg_artista::after {
  /* Aggiungi un elemento ::after come overlay */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 96, 247, 0.1);
  transition: background-color 0.5s ease-in-out;
}

#artisti .bg_artista:hover::after {
  background-color: rgba(46, 96, 247, 0.7);
}

#edizioni {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#edizioni::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  top: 0;
  left: 0;
  z-index: 1;
}

#edizioni .content {
  margin: auto;
  max-width: 1000px;
  position: relative;
  z-index: 2;
}

#blog .card {
  border: 0;
  border-radius: 0;
}

#blog .card-body h5 {
  color: darkgrey;
}

#blog .card-footer {
  border: 0;
}

#faq .btn_custom {
  border: 1px solid;
}

#partners .add_string {
  position: relative;
}

#partners .add_string::before {
  content: "Patrocinato da";
  position: absolute;
  display: block;
  top: -3rem;
  left: 0;
  left: 50%; /* sposta l'elemento verso destra del 50% della larghezza del contenitore */
  transform: translateX(-50%);
  color: white;
}

#newsletter .content {
  margin: auto;
  max-width: 800px;
}

footer p {
  color: darkgrey;
  margin-bottom: 0;
  font-size: 1.2rem;
}

footer a {
  color: white;
}

footer .bord_bott {
  padding-bottom: 2rem;
  border-bottom: 1px solid darkgrey;
}

footer input.newsletter {
  background: none;
  border: none;
  border-bottom: 1px solid grey;
  padding-bottom: 1rem;
  color: darkgrey;
}

footer input.newsletter:focus {
  box-shadow: none;
  outline: none;
}

/* PAGINA PAGE STANDARD  */
.page_header__bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 30rem;
}

.page_container {
  max-width: 1400px;
  margin: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* PAGINA FESTIVAL */
.numeri_container {
  max-width: 800px;
  margin: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.card_numeri {
  background: white;
  border-radius: 6px;
  padding: 1rem;
}

#scarica_programma {
  margin-top: -12rem;
}

#programma .nav-link {
  border-radius: 0;
  background: var(--blu);
  color: white;
}

#programma .nav-link.active {
  background: var(--rosso);
}

#programma .nav-link .giorno_numero {
  font-size: 4rem;
}

.clock_cont {
  background: var(--grigio);
  height: 10.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* OPEN MIC FORM */
.wpcf7-form {
  margin-top: 2.5rem;
}

.wpcf7-form p {
  margin-bottom: 2.5rem;
}

label {
	width: 100%;
}

.wpcf7-form-control-wrap .wpcf7-text {
  border-radius: 6px;
  border: 1px solid;
  padding: 0.3rem;
  margin-top: 0.5rem;
  width: 60%;
}

textarea {
  width: 70%;
}

@media only screen and (max-width: 600px) {
	.wpcf7-form-control-wrap .wpcf7-text {
		width: 100%;
	}
	textarea {
  		width: 100%;
	}
}

.wpcf7-submit {
  background: var(--rosso);
  color: white;
  border-radius: 0 !important;
  font-size: 1.5rem !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  border: none;
}

/* SINGLE PAGE */
.gallery .gallery__img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.p_top {
	padding-top: 5px;
}

@media only screen and (min-width: 768px) {
	.p_top {
	padding-top: 10px;
}
}

@media only screen and (min-width: 320px) {
	.font-size-responsive {
  		font-size: 18px!important;
	}
	.qr_img {
		width: auto;
		height: 400px!important;
	}
}

@media only screen and(min-width: 425px) {
	.font-size-responsive {
  		font-size: 20px!important;
	}
}


@media only screen and (min-width: 768px) {
	.font-size-responsive {
  		font-size: 25px!important;
	}
}

@media only screen and (min-width: 1440px) {
	.qr_img {
		width: auto;
    	height: 500px!important;
	}
}

@media only screen and (min-width: 1500px) {
	.font-size-responsive {
		font-size: 35px!important;
	}
}

@media only screen and (min-width: 2000px) {
	.font-size-responsive {
		font-size: 60px!important;
	}
	
	.qr_img {
		height: 600px!important;
	}
}

@media only screen and (min-width: 2400px) {
	.qr_img {
		height: 700px!important;
	}
}

@media only screen and (max-width: 1000px) {
	.flex-column-1000px {
		flex-direction: column!important;
	}
}

@media only screen and (max-width: 992px) {
	.h-799px {
		height: 799px;
	}
}