@charset "utf-8";
/* CSS Document */

/* ============================
	GENERALI
   ============================ */

 :root {
   --primary: #1d1d1b;
   --secondary: #9d1e65;
   --font: "Open Sans";
   --wNormal: normal;
   --wBold: bold;
 }

body {
	font-family: var(--font), sans-serif;
	font-weight: var(--wNormal);
	font-style: normal;
	font-size: 14px;
	color: var(--primary);
	background-color: #efe2d8;
}

.row {
	margin-left:0px;
	margin-right:0px;
}

h1, h2, h3, h4, p, a {
  font-family: var(--font), sans-serif;
  font-weight: var(--wBold);
  font-style: normal;
  color: var(--primary);
}

p {
  font-weight: var(--wNormal);
}

a {
  text-decoration: underline;
}

a:hover, a:focus, a:active {
  color: var(--primary);
}

.navbar-toggler:focus { /* rimuove l'ombra di selezione del bottone di Bootstrap */
  box-shadow: 0 0 0 0px !important;
}

.sfondo {
  background: #efe2d8;
}

#partecipa_body_2,
#partecipa_body_3,
.button {
	color: white;
	background: var(--primary);
	border: 0px solid transparent;
	outline: none;
	border-radius: 15px;
	font-family: var(--font), sans-serif;
	font-weight: var(--wBold);
	font-size: 1.8rem;
	padding: .5rem 2.5rem;
	width: max-content;
	max-width: 300px;
}

#partecipa_body_2:hover,
#partecipa_body_3:hover,
.button:hover {
	color: white;
	background: var(--secondary) ;
}

@media (max-width:375px) {
	#partecipa_body_2,
	#partecipa_body_3,
	.button {
		font-size: 1rem;
		padding: .5rem 1.8rem;
		max-width: 250px;
	}
}

#meccanica, #partecipa_2 {
  position: relative;
}

#partecipa_1 {
  position: absolute;
  bottom: 10%;
  left: 32%;
}

#partecipa_2 > .col-12 {
  position: absolute;
  bottom: 3rem;
}

@media(max-width:1400px) {
  #partecipa_1 {
    bottom: 10%;
    left: 25%;
  }

  #partecipa_body_2,
  #partecipa_body_3  {
    font-size: 1.6rem;
  }
}

.step {
  max-height: 250px;
}

.list {
  margin-bottom: 1rem;
  padding-left: 1rem;
}

/* ============================
	MENU
   ============================ */

.skip-to-main-content-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 1em;
	background-color: black;
	color: white;
	opacity: 0;
}

.skip-to-main-content-link:focus {
	left: 50%;
	transform: translateX(-50%);
	opacity: 1;
}

#attiva_menu {
	max-width: 30px;
	margin:10px 25px;
	cursor: pointer;
}

.bi-list {
  font-size: 3rem;
  color: var(--primary);
}

#menu {
	background-color: #efe2d8;
}

#menu_list li {
	list-style-type: none;
	float: left;
	padding-left: 2%;
	padding-right: 2%;
}

#menu_list li a {
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 5px 10px;
	color: var(--primary);
	font-weight: var(--wNormal);
	font-size: 30px;
}

@media (max-width: 991px) {
	#menu_list li {
		float: none;
	}
	#menu_list li a {
		text-align: right;
    font-size: 21px;
	}
}

@media (max-width: 1199px) {
	#menu_list {
		margin-left: 45px;
	}
}

@media (max-width:991px) {
	#menu_list {
		margin-left: 0px;
	}
}

#menu_list li a:hover, #menu_list li a.active {
	text-decoration: none !important;
	color: var(--secondary);
}

.modal-body {
	background-color: #fff;
}

/* ============================
	FORM
   ============================ */

#errore {
	color: #ac182d;
	font-weight: var(--wBold);
	text-align: center;
	font-size: 24px;
}

.errore-test{
	color: #ac182d;
}

label, input, select {
  color: var(--primary);
}

p.col-1 {
	width: 1%;
}

.form-group {
	margin-bottom: 15px;
}

small.small {
	font-size: 10px;
	line-height: 9px;
}

@media (max-width: 575px) {
	label {
		font-size: .80rem;
	}
}

.bi-info-circle-fill:hover {
  color: var(--secondary);
}

/* ============================
	FOOTER
   ============================ */

 footer {
 	background-color: #efe2d8;
 }

 footer p {
 	color: var(--primary);
 	font-family: var(--font), sans-serif;
 	font-weight: var(--wNormal);
 	font-style: normal;
 	text-align: center;
 }

 footer p a {
 	color: var(--primary);
 	text-decoration: underline;
 	font-weight: var(--wBold);
 }

 @media(max-width:576px) {
   .mail_info {
     word-break: break-all;
   }
 }

/* =========================
	COOKIE BAR
	======================= */

.cc-window {
	font-size: .85rem !important;
	line-height: 1.2em !important;
}

@media (max-width:767px) {
	.cc-window {
		font-size: .75rem !important;
		line-height: 1.1em !important;
	}
}
