/* ============================
	FONT
   ============================ */

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

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Black.eot');
    src: url('../fonts/Montserrat-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Montserrat-Black.woff2') format('woff2'),
        url('../fonts/Montserrat-Black.woff') format('woff'),
        url('../fonts/Montserrat-Black.ttf') format('truetype'),
        url('../fonts/Montserrat-Black.svg#Montserrat-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.eot');
    src: url('../fonts/Montserrat-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Montserrat-Bold.woff2') format('woff2'),
        url('../fonts/Montserrat-Bold.woff') format('woff'),
        url('../fonts/Montserrat-Bold.ttf') format('truetype'),
        url('../fonts/Montserrat-Bold.svg#Montserrat-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Light.eot');
    src: url('../fonts/Montserrat-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Montserrat-Light.woff2') format('woff2'),
        url('../fonts/Montserrat-Light.woff') format('woff'),
        url('../fonts/Montserrat-Light.ttf') format('truetype'),
        url('../fonts/Montserrat-Light.svg#Montserrat-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.eot');
    src: url('../fonts/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Montserrat-Regular.woff2') format('woff2'),
        url('../fonts/Montserrat-Regular.woff') format('woff'),
        url('../fonts/Montserrat-Regular.ttf') format('truetype'),
        url('../fonts/Montserrat-Regular.svg#Montserrat-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



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


body {
	font-family: 'Montserrat';
	font-weight: 300;
}

h1 {
	font-family: 'Montserrat';
	font-weight: 900;
	color: #5b3327;
	font-size: 38px;
}

h2 {
	font-family: 'Montserrat';
	font-weight: normal;
	color: #5b3327;
	font-size: 30px;
}

h3 {
	font-family: 'Montserrat';
	font-weight: 300;
	color: #5b3327;
	font-size: 25px;
}

@media screen and (max-width: 750px) {
	h1 {
		font-family: 'Montserrat';
		font-weight: 900;
		font-size: 28px;
	}

	h3 {
		font-family: 'Montserrat';
		font-weight: 300;
		color: #434343;
		font-size: 20px;
	}
}

.text-color-accent {
	color: #e42d16;
	text-align: center;
	padding: 2%;
}



@media (max-width: 767px) {
	.text-color-accent {
		padding-top: 7%;
	}
}

.bck {
	background: url(../img/bck_paper.jpg) repeat center center;
	background-size: contain;

}


@media (max-width: 1366px) {
	.bck {
		background: url(../img/bck_paper_1366.jpg) repeat center center;
		background-size: contain;
	}
}


@media (max-width: 767px) {
	.bck {
		background: url(../img/bck_paper_m.jpg) repeat center center;
		background-size: contain;
	}
}


.color {
	color: #5b3327;
}


p {
	font-family: 'Montserrat';
	font-weight: 300;
	color: #000;
}

p a {
	color: #000;
}

a {
	font-family: 'Montserrat';
	font-weight: 300;
	color: #5b3327;
}

strong {
	font-family: 'Montserrat';
	font-weight: 700;
}

a:hover {
	color: #6f5f53;
}

a:focus {
	color: #6f5f53;
}

a:active {
	color: #6f5f53;
}

.text-color-accent a {
	color: #e42d16!important;
}

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

@media(max-width:767px) {
	#mail {
		word-break: break-all;
	}
}


/* ============================
	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;
}

#menu {
	background-color: #5b3427;
	/*border-bottom: 4px solid #ffffff;*/
   	z-index: 2000;
   	position: relative;
	-webkit-box-shadow: 0px 5px 14px 5px rgba(0,0,0,0.34); 
	box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.54);
}

#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;
	font-weight: 700;
	font-size: 16px;
	font-family: 'Montserrat';
	font-weight: normal;
	color: #fff;
}


@media (max-width: 991px) {
	#menu_list li {
		float: none;
	}

	#menu_list li a {
		text-align: right;
	}
}


@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: #f8c329;
	font-family: 'Montserrat';
	font-weight: 700;
   }

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

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

.sfondo {
	background-color: rgba(255, 255, 255, .8);
	border-radius: 20px;
	box-shadow: 0px 6px 8px rgba(0, 0, 0, .4);
}

#errore {
	color: #ac182d;
	font-weight: 700;
	text-align: center;
	font-size: 24px;
}

.form-control,
.form-select {
	height: 38px;
	border-radius: 5px;
	border: 1px solid #000;
	color: #000000;
}

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

label[for=reg],
label[for=tratt_dati] {
	display: block;
}

label a {
	color: inherit;
	text-decoration: underline;
}

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


.button {
	background: #f8c22a;
	color: #5b3327;
	border: 0px solid transparent;
	font-weight: 700;
	font-size: 2.2rem;
	padding: .25rem 2rem;
	width: max-content;
	text-decoration: none;
	font-family: 'Montserrat';
	-webkit-box-shadow: 0px 0px 15px 5px rgba(198, 198, 198, 0.7);
	box-shadow: 0px 0px 15px 5px rgba(198, 198, 198, 0.7);
}

.button:hover {
	color: #f8c22a;
	background: #5b3327;
}



@media (max-width:768px) {
	.button {
		font-size: 1.7rem;
	}
}

@media (max-width:375px) {
	.button {
		font-size: 1rem;
	}
}

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

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

.modal-header {
	background-color: #fff;
	border-bottom: none;
}

.modal-footer {
	background-color: #fff;
	border-top: none;
}


/* ============================
	FOOTER
   ============================ */
footer {
	font-family: 'Montserrat';
	font-weight: normal;
	font-size: 0.8rem;
	background-color: #fff;
}

footer p {
	color: #333333;
	font-family: 'Montserrat';
	font-weight: normal;
	font-weight: normal;
	font-style: normal;
	font-size: 0.8rem;
	text-align: center;
}

footer p a {
	color: #333333;
	text-decoration: underline;
	font-weight: 700;
}

hr {
	border: 5px solid #5b3427;
	opacity: 1;
}


/* =========================
	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;
	}
}



/* =========================
	 OCR LOADING
	======================= */

#ocr_loading,
#ocr_loading>.modal-dialog,
#ocr_loading>.modal-dialog>.modal-content,
#ocr_loading>.modal-dialog>.modal-content>.modal-body {
	background-color: transparent !important;
}