@charset "utf-8";

/*  Sezioni
============================================================================

GENERALE
ERROR_404
MODAL_LOGIN
SCELTA_LINGUA
FORM_CONTATTO

============================================================================ */


/* GENERALE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
:root {
	--colore_primario: 47, 97, 171; /* #2f61ab | rgba(var(--colore_primario), 1) */
	--colore_secondario: 211, 71, 15; /* #d3470f | rgba(var(--colore_secondario), 1) */
	--colore_testo: 51, 51, 51; /* #333333 | rgba(var(--colore_testo), 1) */
}

html {
  /* base di partenza: 100% / 16 px
	 min = 0.875rem → 14px
     ﬂuido =   1.5vw →  1.5% larghezza schermo
     max =   1.125rem → 18px */
	font-size: clamp(0.875rem, 1.5vw, 1.125rem);
}
body {
	font-family: 'Open Sans', sans-serif;
	color: rgb(var(--colore_testo));
	background-color: #ffffff;
	font-size: 1rem;
	line-height: normal;
	margin: 0;
    min-height: 100vh;
	display: flex;
    flex-direction: column;
}
header {
    position: relative;
	z-index: 10;
	background-color: #ccc;
	margin-bottom: 50px;
}
main {
	flex: 1;
}
a {
	color: rgb(var(--colore_primario));
	text-decoration: none;
}
#system-message .close {
    cursor: pointer;
}
a:hover,
a:focus {
	color: #444;
	text-decoration: none;
	outline: none;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	text-decoration: none;
}

p {
	margin: 0;
}

hr {
 	margin: 20px 0;
	border: 0;
	border-top: 1px solid #DDDDDD;
	border-bottom: 1px solid #fff;
	border: #DDDDDD -moz-use-text-color #FFFFFF !important;
}

img {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
	height: auto;
}


input::placeholder,
textarea::placeholder {
    transition: opacity 0.5s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
    opacity: 0;
}

.transition_all_5 {
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.copyright {
	text-align: center;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 .25rem;
}
.grazie_form {
    text-align: center;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 2rem;
}
.rsfp_thankyou_popup_inner button {
    display: block;
    margin: auto;
    text-transform: uppercase;
    border-radius: 0;
	background-color: rgb(var(--colore_primario));
	border: 0;
}
#back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
	background: rgb(var(--colore_primario));
	color: #fff;
	z-index: 9999;
	width: 50px;
    height: 50px;
	border: 1px solid #fff;
}
#back-to-top::after {
    content: '';
    border: solid #fff;
    border-width: 0 3px 3px 0;
    padding: 10px;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    position: absolute;
    top: 18px;
    left: 13px;
}
#back-to-top:hover {
  background: #666;
}
.ul_neutro {
	padding: 0;
	list-style: none;
}
.hover_white:hover {
	color: #fff;
}
.hover_bg_gray:hover {
	background-color: #666;
}
.no_underline {
	text-decoration: none;
}
.max_width_70 {
	max-width: 70%;
}
.divisorio_grande {
	height: clamp(3.5rem, 8vw, 9rem);
}
.max_width_70 {
	max-width: 70%;
}



/* ERROR_404
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.error_container {
    position: relative;
    padding: 15px;
}
.error_container .error_image {
    display: block;
    margin: auto;
}
.error_container h1 {
    text-align: center;
    font-size: 38px;
    line-height: 38px;
}



/* MODAL_LOGIN
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.modal_login_container .modal_login_trigger, .logout-button {
	position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
}
.modal_login_container .modal_login_trigger:hover, .logout-button .btn:hover {
	color: #ccc;
}
.modal_login_container .modal_login_trigger:focus, .logout-button .btn:focus {
	color: #0099ff;
	box-shadow: none;
}
.logout-button .btn {
	padding: 0;
    background-color: transparent;
    border: 0;
    color: #0d6efd;
}
#modal-login .mod-login__password input:focus {
    box-shadow: none;
}
.modal_login_container .mod-login__username,
.modal_login_container .mod-login__password {
	margin-bottom: 15px;
}
.modal_login_container .mod-login__submit button {
    display: block;
    margin: auto;
}



/* SCELTA_LINGUA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.mod-languages {
    position: absolute;
    right: 50px;
    top: 8px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.mod-languages .btn-secondary:focus {
    box-shadow: none;
}
div.mod-languages a {
    display: block;
	text-align: right;
    padding-right: 23px;
}
div.mod-languages .dropdown-menu {
    padding: 0;
}
div.mod-languages ul.lang-block li {
    margin: 0;
	padding: 0;
}
div.mod-languages .btn-group .btn {
    padding-bottom: 2px;
    padding-top: 5px;
}




/* FORM_CONTATTO
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.contact_form .formError {
	padding-left: 0.75rem;
	margin-top: 2px;
    display: block;
}
.contact_form .rsform-block {
	margin-bottom: 1.5rem !important;
}
.contact_form label {
	font-size: 1rem;
    line-height: 1rem;
    padding-left: 0.75rem;
    margin-bottom: 0.3rem;
}
.rsform-block-privacy .form-check-inline {
	display: block;
    min-height: unset;
	padding-left: 0;
	margin: 0;
}
.rsform-block-privacy .form-check .form-check-input {
	float: none;
    margin: 0;
	margin-right: 5px;
}
.rsform-block-privacy .form-check-label {
	font-size: 0.75rem;
	line-height: 0.75rem;
	vertical-align: top;
    padding-top: 2px;
	padding-left: 0;
	display: inline-block;
}
.rsform-block-privacy .form-check-label a {
	color: #333;
}
.grazie_form {
    text-align: center;
    font-size: 24px;
    line-height: 30px;
}
.rsfp_thankyou_popup_inner button {
    display: table;
    margin: auto;
    margin-top: 12px;
    text-transform: uppercase;
    border-radius: 0;
    background-color: rgb(var(--colore_primario));
    border: 0;
}
.rsfp_thankyou_popup_inner button:hover {
	background-color: #666;
}
/*input[type="email"]::placeholder,
input[type="text"]::placeholder,
textarea::placeholder {
    color: red !important;
}
.contact_form select { color: red; }
select.has-value { color: green; }*/







