@font-face {
  font-family: "AvenirNextLTPro-Cn";
  src: url("../webfonts/2DCD91_0_0.eot");
  src: url("../webfonts/2DCD91_0_0.eot?#iefix") format("embedded-opentype"), url("../webfonts/2DCD91_0_0.woff2") format("woff2"), url("../webfonts/2DCD91_0_0.woff") format("woff"), url("../webfonts/2DCD91_0_0.ttf") format("truetype"), url("../webfonts/2DCD91_0_0.svg#wf") format("svg");
}
@font-face {
  font-family: "AvenirNextLTPro-DemiCn";
  src: url("../webfonts/2DCD91_1_0.eot");
  src: url("../webfonts/2DCD91_1_0.eot?#iefix") format("embedded-opentype"), url("../webfonts/2DCD91_1_0.woff2") format("woff2"), url("../webfonts/2DCD91_1_0.woff") format("woff"), url("../webfonts/2DCD91_1_0.ttf") format("truetype"), url("../webfonts/2DCD91_1_0.svg#wf") format("svg");
}
@font-face {
  font-family: "AvenirNextLTPro-MediumCn";
  src: url("../webfonts/2DCD91_2_0.eot");
  src: url("../webfonts/2DCD91_2_0.eot?#iefix") format("embedded-opentype"), url("../webfonts/2DCD91_2_0.woff2") format("woff2"), url("../webfonts/2DCD91_2_0.woff") format("woff"), url("../webfonts/2DCD91_2_0.ttf") format("truetype"), url("../webfonts/2DCD91_2_0.svg#wf") format("svg");
}

/* ===============================
   FOOTER ISOLATO - STABILE SU BS3/BS5
   Grid interna 20 colonne + form/buttons
================================ */


/* -------------------------------
   Container footer (autonomo)
-------------------------------- */
footer .f-container {
  width: 100%;
  max-width: 1144px;          
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* -------------------------------
   Grid footer 20 colonne (autonomo)
-------------------------------- */
footer .f-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
footer .f-col {
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}

/* gutter 0 */
footer .f-g-0 {
  margin-left: 0;
  margin-right: 0;
}
footer .f-g-0 > .f-col {
  padding-left: 0;
  padding-right: 0;
}

/* colonne usate nel footer (minime) */
footer .f-col-xs-20 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
  footer .f-col-sm-10 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 992px) {
  footer .f-col-lg-4 { flex: 0 0 20%; max-width: 20%; }
}

/* -------------------------------
   Spacing "compat" (solo quelle che usi)
-------------------------------- */
footer .f-mb-5 { margin-bottom: 3rem; }
footer .f-mb-2 { margin-bottom: .5rem; }
footer .f-py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

@media (min-width: 992px) {
  footer .f-mb-lg-0 { margin-bottom: 0; }
}

footer {
  background-color: #e6e6e6;
  padding: 15px 0px;
}

footer a {
  font-size: 14px;
  font-family: "AvenirNextLTPro-Cn";
  color: #585759;
  text-transform: uppercase;
  padding: 4px 8px;
  transition: all 0.3s ease;
  border-left: 1px solid #585759;
}
footer a:hover {
  background-color: #585759;
  color: #fff;
  transition: all 0.3s ease;
}
footer a.no-style {
  border-left: none;
  font-size: 16px;
  text-transform: none;
  padding: 0px;
}
footer a.no-style:hover {
  background-color: transparent;
  color: #000;
  text-decoration: underline;
}
footer h3, footer .h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
	
  font-size: 18px;
  font-family: "AvenirNextLTPro-DemiCn";
  color: #585759;
}

.footermain {
  padding-bottom: 20px;
}

@media screen and (min-width: 768px) {
  footer {
    padding: 40px 0px;
  }
}
footer .are-member {
  margin-bottom: 25px;
}

footer .info {
  font-size: 16px;
  text-align: center;
  padding-top: 20px;
}

@media screen and (min-width: 992px) {
  footer .info {
    text-align: left;
  }
}
ul.footer-menu,
li.footer-menu {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

.footer-menu li {
  margin-bottom: 3px;
  padding: 4px 0px 4px 0px;
}

footer #login {
  background-color: #cccccc;
  padding: 20px;
  font-size: 14px;
  font-family: "AvenirNextLTPro-Cn";
}

footer input[type="submit"] {
	min-width: 100%;
	float: right !important;
  background-color: #e20613;
  border: 1px solid #e20613;
  color: #fff;
  font-family: "AvenirNextLTPro-MediumCn";
  transition: all 0.3s ease;
	text-transform: uppercase;
	padding: 14px 12px;
  font-size: 16px;
	font-weight: 400;
}

footer #login a {
  border-left: transparent;
  padding: 0px;
  text-transform: none;
  margin-top: 14px;
  display: block;
}

footer #login a:hover {
  background-color: transparent;
  color: #585759;
}

footer #login label {
  font-weight: normal;
}

footer #login .btn-primary {
  min-width: 100%;
}

footer .remember-me {
  padding-top: 20px;
}

footer .form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  -webkit-appearance: none;
          appearance: none;
  border-radius: 0;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 1rem;
  border: 1px solid #e6e6e6;
  font-size: 14px;
  box-shadow: inset 0 0px 0px transparent, 0 0 8px rgba(0, 93, 155, 0);
}

footer .form-control:focus {
  border: 1px solid #e6e6e6;
  box-shadow: inset 0 0px 0px transparent, 0 0 8px rgba(0, 93, 155, 0);
}

footer .loghi {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: space-evenly;
      justify-content: space-evenly;
  -ms-flex-align: center;
      align-items: center;
  background-color: #ececed;
}

@media screen and (min-width: 1200px) {
  footer .loghi {
    -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.1);
  }
}
footer .loghi .item {
  margin: 0px 20px;
}

@media screen and (min-width: 1200px) {
  footer .loghi .item {
    margin: 0px 0px;
  }
}
footer .loghi a {
  border-left: none;
}

footer .loghi a:hover {
  background-color: transparent;
}


/* MODAL */

/* =========================================================
   FOOTER MODALS (estratto da app_as + reso sicuro con scope)
   Richiede: aggiungere class="f-modal" alle modali del footer
   ========================================================= */

/* --- Bootstrap-like: MODAL base (da app_as .modal-*) --- */
.f-modal .modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.f-modal.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
  .f-modal.modal.fade .modal-dialog {
    transition: none;
  }
}

.f-modal.modal.show .modal-dialog {
  transform: none;
}

.f-modal .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.f-modal .modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
}

.f-modal .modal-header .btn-close {
  padding: 0.5rem 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
}

.f-modal .modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.f-modal .modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.f-modal .modal-footer {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
}

.f-modal .modal-footer > * {
  margin: 0.25rem;
}

/* Backdrop (se lo usi via JS bootstrap) */
.f-modal-backdrop,
.modal-backdrop.f-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.f-modal-backdrop.fade,
.modal-backdrop.fade.f-modal-backdrop { opacity: 0; }
.f-modal-backdrop.show,
.modal-backdrop.show.f-modal-backdrop { opacity: 0.5; }

/* --- Bootstrap-like: NAV/TABS (da app_as .nav*, .nav-tabs, .tab-content) --- */
.f-modal .nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.f-modal .nav-link {
  display: block;
  padding: 0.5rem 1rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.f-modal .nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

.f-modal .nav-tabs .nav-link {
  margin-bottom: -1px;
  background: none;
  border: 1px solid transparent;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.f-modal .nav-tabs .nav-link:hover,
.f-modal .nav-tabs .nav-link:focus {
  border-color: #e9ecef #e9ecef #dee2e6;
  isolation: isolate;
}

.f-modal .nav-tabs .nav-link.active,
.f-modal .nav-tabs .nav-item.show .nav-link {
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.f-modal .tab-content > .tab-pane { display: none; }
.f-modal .tab-content > .active { display: block; }

/* compat markup BS3 presente in footer.html: .tab-pane.fade.active.show */
.f-modal .tab-pane.fade { display: none; }
.f-modal .tab-pane.fade.active,
.f-modal .tab-pane.fade.show { display: block; }

/* --- Override specifici #user-modal (estratti da app_as #user-modal ...) --- */
.f-modal#user-modal {
  font-size: 14px;
}

.f-modal#user-modal a {
  color: #585759;
}

.f-modal#user-modal .nav > li > a {
  padding: 15px 35px;
}

.f-modal#user-modal .status {
  padding: 10px 20px;
  margin: 0 0 15px;
  font-size: 16px;
  background-color: #f2f2f2;
}

.f-modal#user-modal .status ul {
  margin: 0;
  list-style: square;
}

.f-modal#user-modal .bg-danger { background-color: #f2dede; }
.f-modal#user-modal .bg-success { background-color: #dff0d8; }

.f-modal#user-modal .modal-header {
  padding: 10px 20px;
  border-bottom: none;
}

.f-modal#user-modal label {
  font-size: 16px;
  font-family: "AvenirNextLTPro-MediumCn";
  color: #999;
  margin-top: 15px;
}

.f-modal#user-modal .btn-primary {
  margin-top: 30px;
}

.f-modal#user-modal .tab-content {
  padding: 20px 0;
}

.f-modal#user-modal .tab-content-wrap {
  border: 1px solid #b3b3b3;
  padding: 20px;
}

.f-modal#user-modal .form-control {
  margin-bottom: 1px;
  background-color: #fff;
  border: 1px solid #b3b3b3;
}

.f-modal#user-modal .form-control:focus {
  box-shadow: none;
}