/*@charset "utf-8";*/
/* CSS Document */
@font-face {
  font-family: 'OpenSans-Medium';
  src: url('../fonts/OpenSans-Medium.eot');
  src: url('../fonts/OpenSans-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/OpenSans-Medium.woff2') format('woff2'),
    url('../fonts/OpenSans-Medium.woff') format('woff'),
    url('../fonts/OpenSans-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSans-Bold';
  src: url('../fonts/OpenSans-Bold.eot');
  src: url('../fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/OpenSans-Bold.woff2') format('woff2'),
    url('../fonts/OpenSans-Bold.woff') format('woff'),
    url('../fonts/OpenSans-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSans-Regular';
  src: url('../fonts/OpenSans-Regular.eot');
  src: url('../fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/OpenSans-Regular.woff2') format('woff2'),
    url('../fonts/OpenSans-Regular.woff') format('woff'),
    url('../fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}




body {
  background: #fff;
  font-family: 'OpenSans-Regular';
  font-size: 16px;
  color: #484848;
}

a {
  color: #2966a6;
}

.bg_blu {
  background-color: #2966a6 !important;
}

#cookie-policy-content>h3,
#privacy-cookie-content>h3 {
  font-size: 3rem;
}

.main-container {
  max-width: 1170px;
}

.form-container {
  max-width: 750px;
}

.form-head {
  background: #DAE6EF;
  display: block;
}

.form-main {
  background: #DAE6EF;
  display: block;
  padding-left: 10%;
  padding-right: 10%;
}

.form-note {
  color: #2966A6;
  font-size: 0.8em;
  font-family: 'OpenSans-Regular';
  text-align: center;
  padding-top: 10px;
}

.form-control {
  color: #666666;
  background-color: #fff;
  border-radius: 0rem;
  margin-bottom: 15px;
  margin-top: 5px;
  opacity: 100;

}

.form-control::placeholder {
  color: #6c757d;
  opacity: 100;
}

.form-group-s {
  padding: 0% 10%;

}

@media (max-width: 991px) {

  .form-group-s {
    padding: 0% 4%;

  }

}


#menu {
  background: transparent;
}

#menu_list {
  background: transparent;

}



#menu_list li {
  list-style-type: none;
  float: left;
  padding-left: 3%;
  padding-right: 0%;
  /*position: relative;*/
}





@media (max-width: 991px) {
  #menu>.row>.col-12.col-lg {
    background: #fff;
  }

  #menu_list li {
    float: none;
    color: #000;
    background: #fff;
  }

}

.menu {
  text-align: right;
  font-size: 1.2rem;
  text-decoration: none;
  background: #f2f2f2;
}

@media (max-width: 750px) {
  .menu {
    font-size: 1.2rem;
  }
}


@media (max-width: 1199px) {

  #menu_list {
    margin-left: 45px;
    transition: 0.55s ease;
  }
}

@media (max-width:991px) {
  .menu {
    color: #000;
  }

  #menu_list {
    margin-left: 0px;
    transition: 0.55s ease;
    padding: 0.5rem 1.5rem;
    background-color: #fff;
  }
}



.menu:hover {
  color: #000;

}


#menu_list li a {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 15px 15px 15px;
  color: #4d4d4d;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  letter-spacing: 0.8px;

  position: relative;
  overflow: hidden;
  z-index: 0;

  transition: color 220ms ease;
}

#menu_list li a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 0%;
  background-color: #2a5673;
  z-index: -1;

  transition: height 260ms ease;
}

#menu_list li a:hover {
  color: #fff;
}

#menu_list li a:hover::before {
  height: 100%;
}

#menu_list li a.active {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 15px 15px 15px;
  color: #fff;
  border: none;
  background-color: #2966a6;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.8px;
}




.menu_bottom {
  margin-top: 0px;
  transition: 0.55s ease;
  margin-bottom: 0px !important;

}

.menu_top {
  margin-top: 0px;
  transition: 0.55s ease;
  margin-bottom: 0px !important;

}

@media (max-width: 991px) {

  #menu_list li a:hover {
    display: block;
    text-decoration: none;
    padding: 15px 22px 6px;
    border: none;
  }

  #menu_list li a.active {
    display: block;
    text-decoration: none;
    padding: 15px 0px 6px;
    border: none;
  }

  .menu_bottom {
    margin-top: 0px;
    margin-bottom: 50px;
    transition: 0.55s ease;

  }

  .menu_top {
    margin-top: -200px;
    transition: 0.55s ease;

  }

}


.active {
  color: #fff;
  border-bottom: 2px solid #ffffff;
}

.active:before{
      color: #2966a6;
        border: none;
        font-size: 1.3rem;
}

.footer {
  background: #f2f2f2;
  color: #484848 !important;
  font-family: 'OpenSans-Regular';
  font-size: 20px;
  text-align: center;
}

.footer a {
  color: #484848 !important;
  text-decoration: none;
}

@media (max-width: 991px) {
  .footer {
    font-size: 15px;
  }



}


.footer a:hover {
  color: #484848 !important;
  text-decoration: underline;
}

.navbar-dark .navbar-nav .nav-link {
  color: #004289 !important;
  background: transparent;
  text-transform: uppercase;
  font-size: 20px;
  font-family: 'OpenSans-Bold';
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #004289 !important;
  background: transparent;
  text-transform: uppercase;
  font-size: 20px;
  font-family: 'OpenSans-Bold';

}

.navbar-dark .navbar-nav .nav-link span {
  color: #004289 !important;
  background: transparent;
  text-transform: uppercase;
  font-size: 0.8em;
  font-family: 'OpenSans-Bold';
}

.navbar-dark .navbar-nav .nav-link span:hover {
  color: #004289 !important;
  background: transparent;
  text-transform: uppercase;
  font-family: 'OpenSans-Bold';
  border-bottom: 2px solid #004289;
  padding-bottom: 6px;
}

.navbar-dark .navbar-nav .link-login span {
  color: #2966A6 !important;
  background: transparent;
  text-transform: uppercase;
  font-size: 1em;
  font-family: 'OpenSans-Bold';
}

.navbar-dark .navbar-nav .link-login span:hover {
  color: #2966A6 !important;
  background: transparent;
  text-transform: uppercase;
  font-family: 'OpenSans-Bold';
  border-bottom: 2px solid #2966A6;
  padding-bottom: 6px;
}

@media (max-width: 768px) {
  .navbar-dark .navbar-nav .nav-link {
    text-align: left;
    padding: 10px;
  }
}

.navbar-dark .navbar-nav .link-login {
  color: #2966A6 !important;

}

.navbar-dark .navbar-nav .link-login:hover {
  color: #2966A6 !important;

}

.navbar-dark .navbar-toggler {
  color: #004289;
  border-color: #004289;
  float: right;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 66, 137, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 2em;
  height: 2em;
}

.nav-item:before {
  content: none;
}

.menubullet {
  margin-right: 1%;
  margin-top: -1%;
  max-height: 16px;
}

.footerfrozen {
  margin-left: 1%;
  margin-top: 0%;
}

h1 {
  font-family: 'OpenSans-Regular';
  font-size: 3em;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
}

.form-head h1 {
  font-size: 1.5em;

}

h2 {
  font-family: 'OpenSans-Regular';
  font-size: 1.5em;
  color: #2966A6;
  text-align: center;
}

h3 {
  font-family: 'OpenSans-Regular';
  font-size: 4em;
  color: #484848;
}

h4 {
  font-family: 'OpenSans-Regular';
  font-size: 1.5em;
  color: #484848;
  text-align: center;
}

h5 {
 font-family: 'OpenSans-Regular';
  font-size: 40px;
  color: #2966A6;
  text-align: center;
  text-transform: uppercase;
}

h6 {
  font-family: 'OpenSans-Regular';
  font-size: 1.5em;
  color: var(--chakra-colors-primary-greyDark);
  text-transform: uppercase;
  text-align: left;
}

hr {
  border-top: solid 1px #2966A6;
  max-width: 770px;
}

@media (max-width: 768px) {
  h1 {
    font-family: 'OpenSans-Bold';
    font-size: 1.5em;
    color: #004289;
    text-transform: uppercase;
    text-align: center;
  }

  h2 {
    font-family: 'OpenSans-Regular';
    font-size: 1.1em;
    color: #2966A6;
    text-align: center;
  }

  h3 {
    font-family: 'OpenSans-Regular';
    font-size: 36px;
    color: #484848;
  }

  h4 {
    font-family: 'OpenSans-Regular';
    font-size: 1.3em;
    color: #484848;
    text-align: center;
  }

  h5 {
    font-family: 'OpenSans-Regular';
    font-size: 1.5em;
    color: #2966A6;
    text-align: center;
  }

  h6 {
    font-family: 'OpenSans-Bold';
    font-size: 1.5em;
    color: #004289;
    text-transform: uppercase;
    text-align: left;
  }
}

.list-group-item {
  position: relative;
  display: list-item;
  padding: 0.5rem 1rem;
  color: #212529;
  /* text-decoration: none; */
  background-color: transparent;
  list-style: inside;
  border: none;
}

.form {
  font-family: 'OpenSans-Regular';
  font-size: 1em;
  color: #00408D;
}

.form .row {
  margin-top: 16px;
}

.forminput {
  font-family: 'OpenSans-Regular';
  font-size: 1em;
  color: #00466b;
  outline: none;
  border: none;
  width: 100%;
  height: 40px;
  background: #fff;
  text-indent: 6px;
}

@media (max-width: 768px) {

  .form {
    color: #00408D;
    font-size: 1em;
  }

  .forminput {
    font-size: 13px;
  }
}

.forminput_s {
  font-family: 'OpenSans-Regular';
  font-size: 1em;
  color: #00466b;
  border: none;
  width: 48%;
  height: 40px;
  color: #000;
  background: #fff;
  text-indent: 6px;
}

@media (max-width: 768px) {
  .forminput_s {
    width: 30%;
  }
}

@media (max-width: 750px) {
  .forminput_s {
    width: 44%;
  }
}

.form-select {
  font-family: 'OpenSans-Regular';
  font-size: 1em;
  color: #666666;
  outline: none;
  border: 1px solid #ced4da;
  border-radius: 0px !important;
  width: 100%;
  height: 38px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
  /*background: url(../img/arrow.png) right top no-repeat;*/
  background-color: #fff;
  margin-top: 5px;
}

@media (max-width: 750px) {
  .formselect {
    font-size: 1em;
  }
}

.formselect_s {
  font-family: 'OpenSans-Regular';
  font-size: 1em;
  color: #00466b;
  outline: none;
  border: none;
  width: 30%;
  height: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 10px;
  text-overflow: '';
  background: url(../img/arrow.png) right top no-repeat;
  background-color: #fff;
  margin-left: 1%;
}

@media (max-width: 768px) {
  .formselect_s {
    width: 30%;
  }
}

@media (max-width: 750px) {
  .formselect_s {
    font-size: 1em;
  }
}

.formselect_sm {
  font-family: 'OpenSans-Regular';
  font-size: 1em;
  color: #00466b;
  outline: none;
  border: none;
  border-bottom: 1px solid #dd78a6;
  width: 48%;
  height: 40px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 10px;
  text-overflow: '';
  background: url(../img/arrow.png) right top no-repeat;
  background-color: #fff;
}

.subs {
  font-family: 'OpenSans-Regular';
  font-size: 11px;
  text-align: left;
  margin: 0px;
  text-transform: none;
  text-indent: unset;
}

.note {
  font-family: 'OpenSans-Regular';
  font-size: 18px;
  color: #000;
  text-align: center;
  margin: 0px;
}

#login_panel {
  position: absolute;
  top: 100px;
  right: 12%;
  background-color: #fff;
  padding: 15px;
  width: 400px;
  z-index: 300;
  box-shadow: 7px 7px 0px rgba(0, 0, 0, .4);
}

@media (max-width: 768px) {
  #login_panel {
    position: relative;
    top: 10%;
    right: auto;
    background-color: #fff;
    padding: 15px;
    width: 100%;
    z-index: 300;
    box-shadow: none;
  }
}

#login_panel:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0px 45px 55px;
  border-color: transparent transparent #fff transparent;
  position: absolute;
  top: -45px;
  right: 0px;
  z-index: 300;
}

.conferma {
  font-size: 25px;
  color: #fff;
  max-width: 80%;
}

.vincita {
  font-size: 25px;
  color: #000;
  text-align: center;
}

.confermabox {
  background: #cf2027;
  padding-right: 0px;
}

.confermabox:after,
.confermabox:before {
  height: 0;
  width: 0;
  content: "";
  display: block;
  position: relative;
}

.confermabox:before {
  border-top: 25em solid #cf2027;
  border-left: 3em solid transparent;
  left: -3em;
}

#cookie-bar {
  padding: 15px;
  background: #004289;
  color: #fff;
  font-family: 'OpenSans-Regular';
  z-index: 1040;
  position: fixed;
  bottom: 0px;
  width: 100%;
  font-size: 0.8em;
}

.cb-enable {
  padding: 10px;
  background: #fff;
  color: #2966A6 !important;
  border-radius: 0px;
  display: table;
  font-family: 'OpenSans-Regular';
  font-size: 0.8em;
  margin-top: 10px;
}

input:-internal-autofill-selected {
  background-image: none !important;
  color: rgb(0, 0, 0) !important;
  background: transparent !important;
}

.purple {
  color: #a1176b;
}

.blue {
  color: #a1176b;
}

.bodywrap {
  max-width: 1440px;
}

@media (max-width: 768px) {
  .bodywrap {}
}

ul {
  list-style: none;
}

/*li {
    position: relative;
}

li:before {
    content: "â€¢";
    position: absolute;
    left: -1em;
    color: #a1176b;
}*/
/*Modal*/
.modal-dialog {
  max-width: 600px;
  margin: 1.75rem auto;
  background: #fff;
  border: 2px solid #004289;
  text-align: center;
  margin-top: 10%;
}



.modal-body h1 {
  font-family: 'OpenSans-Regular';
  font-size: 32px;

}

.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background: transparent;
  border: none;
  border-radius: 0.3rem;
  outline: 0;
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  /*padding: 4rem;*/
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}

.modal-body p {
  font-family: 'OpenSans-Regular';
  color: #2966A6;
  font-size: 28px;

}

.modal-bodybg1 {
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}

.modal-bodybg1 {
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}

@media (max-width: 768px) {
  .modal-body h1 {
    font-family: 'OpenSans-Regular';
    font-size: 1em;

  }

  .modal-body p {
    font-family: 'OpenSans-Regular';
    color: #2966A6;
    font-size: 0.8em;

  }


  .modal-bodybg1 {
    background: url("../img/modal_bg_mobile1.png");
    background-size: 100% 100%;
    font-size: 12px;
    padding: 2rem;
  }

  .modal-bodybg2 {
    background: url("../img/modal_bg_mobile2.png");
    background-size: 100% 100%;
    font-size: 12px;
    padding: 2rem;
  }
}

.modal-backdrop.show {
  opacity: 0.6;
  background: #061F33;
}


/*Login Modal*/

.form_modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.form_modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  /*padding: 1rem 1rem;*/
  border: none;
  background: transparent;
  text-align: right;
  font-size: 1.5rem;
}

.form_modal-header .btn-close {
  /*padding: 0.5rem 0.5rem;*/
  margin: -0.5rem -0.5rem -0.5rem auto;
}

.closefm {
  box-sizing: content-box;
  width: 1.5em;
  height: 1.5em;
  padding: 0.25em 0.25em;
  color: #ffffff;
  border: 0;
  border-radius: 0.25rem;
  opacity: 1;
}


.form_modal-dialog {
  max-width: 900px;
  margin: 1.75rem auto;
  border: none;
  text-align: left;
  margin-top: 3%;
  position: relative;
}


.form_modal-body h1 {
  font-family: 'OpenSans-Regular';
  font-size: 32px;

}

.form_modal-body h5 {
  font-size: 1.5em;

}

.form_modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background: #e5eff9;
  border: none;
  border-radius: 0rem;
  outline: 0;
  text-align: left;
  padding: 6% 10%;
}

.form_modal-content-sx {
  background: #ffffff;
  border: none;
  padding: 5%;
  padding-right: 10%;
  position: absolute;
  top: 210px;
  min-height: 380px;
}

.form_modal-content-dx {
  /* margin: 1.75rem auto; */
  background: #e5eff9;
  border: none;
  padding: 2%;
  position: absolute;
  top: 180px;
}

.banner-sx {
  /* margin: 1.75rem auto; */
  background-color: #f5f5f5;
  /* padding: 2%; */
  min-height: 300px;
  padding-right: 5%;
  position: relative;
  top: 0px;
}

.banner-terminate {
  background-color: #f2f2f2;
  padding: 2%;
  min-height: 200px;
  padding-right: 5%;
  position: relative;
  top: 0px;
  margin-bottom: 5%;
}

.banner-dx {
  /* margin: 1.75rem auto; */
  background-color: transparent;
  padding: 0%;

}

.banner-sx img {
  margin-right: -100%;
  margin-top: -10%;
}

.banner-terminate img {
  margin-left: -100%;
  margin-top: 2%;
  margin-right: 5%;
  margin-bottom: -20%;
}


.form_modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  /*padding: 4rem;*/
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}

.form_modal-body p {
  font-family: 'OpenSans-Regular';
  color: var(--chakra-colors-primary-greyDark);
  font-size: 1rem;

}

.form_modal-bodybg1 {
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}

.form_modal-bodybg1 {
  /*background: url("../img/modal_bg.png");*/
  background-size: 100% 100%;
}

@media (max-width: 768px) {
  .form_modal-body h1 {
    font-family: 'OpenSans-Regular';
    font-size: 1em;

  }

  .form_modal-body p {
    font-family: 'OpenSans-Regular';
    color: #2966A6;
    font-size: 1rem;

  }


  .form_modal-bodybg1 {
    background: url("../img/modal_bg_mobile1.png");
    background-size: 100% 100%;
    font-size: 12px;
    padding: 2rem;
  }

  .form_modal-bodybg2 {
    background: url("../img/modal_bg_mobile2.png");
    background-size: 100% 100%;
    font-size: 12px;
    padding: 2rem;
  }

  .form_modal-content-sx {
    margin: 1.75rem auto;
    border: none;
    margin-bottom: 0%;
    padding: 5%;
    position: relative;
    top: 0px;
  }

  .form_modal-content-dx {
    margin: 1.75rem auto;
    background: #e5eff9;
    border: none;
    margin-top: 1%;
    padding: 5%;
    position: relative;
    top: 0px;
  }

}

@media (max-width: 991px) {
  .banner-sx img {
    margin-right: 0%;
    margin-top: 0%;
  }

  .banner-sx {

    position: static;
  }

  .banner-terminate {
    margin: 0rem auto;
  }


}


.form_modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.form_modal-backdrop.show {

  background: #061F33;
}

.carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 15px;
  height: 0px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #80A2BC;
  background-clip: border-box;
  border-radius: 14px;
  opacity: .5;
  transition: opacity 0.6s ease;
  /* border-top: 5px solid transparent; */
  border-bottom: 10px solid transparent;
}

.main-text {
  position: absolute;
  top: 20%;
  width: 100%;
  color: #FFF;
  padding: 3%;
  padding-left: 36%;
}

.payoff {
  color: #2966A6;
  border-bottom: 1px solid #2966A6;
}

@media (max-width: 768px) {
  .main-text {
    position: absolute;
    top: 30%;
    width: 100%;
    color: #FFF;
    /* padding: 4%; */
    right: 6%;
  }
}




.bannersd {
  max-width: 1300px;
  margin: 1.75rem auto;
  border: none;
  text-align: left;
  margin-top: 3%;
  position: relative;
}

.promorow {
  background: #f2f2f2;
}

.titlerow {
  background: #f2f2f2
}

.promorow img {
  max-width: 362px;
}

.title_portale_home {
  color: #2966A6;

}
.title_sezione_home {
  color: #2966A6;

}
@media (max-width: 768px) {
  .title_portale_home {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }
  .title_sezione_home {
    font-size: 1.2rem;
  }
}


.carousel-inner {
  margin-top: 0;
}

.carousel {
  margin-top: -5%;
  z-index: -1;
}

.banner-sx form_modal-body {
  color: #666666;
  font-size: 19px;
}


.banner-date {
  color: #2966a6 !important;
  font-size: 14px !important;
  font-family: 'OpenSans-Regular';
}

.banner-note {
  font-size: 12px !important;
}



@media (max-width: 768px) {
  .carousel-inner {
    margin-top: 0;
  }

  .carousel {
    margin-top: -15%;
    z-index: -1;
  }

  .bannersd {
    color: #666666;
    border-bottom: none;
    font-size: 0.8em;

  }

  .bannersd img {
    border: none;
  }

  .banner-date {
    color: #2966A6;

    font-size: 0.8em;
  }

  .banner-note {
    font-size: 0.7em;
  }

}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
  pointer-events: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 35%;
  z-index: 1000;
  display: none;
  float: left !important;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  color: #004289 !important;
  text-transform: uppercase;
  font-size: 20px;
  font-family: 'OpenSans-Bold';
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: none;
  border-radius: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
  width: 100%;
  border: none;
}

.navbar-brand {

  padding: 4px 15px;
}

.brands img {

  padding-left: 25%;
  padding-right: 25%;
}

.button {
  background: #666666;
  color: #ffffff;
  border-radius: 0px;
  border: 0px solid transparent;
  font-weight: bold;
  font-size: 1.5rem;
  padding: .25rem 2rem;
  width: max-content;
  max-width: 300px;
  text-decoration: none;

}

.button:hover {
  color: #fff;
  background: #2966A6;
  background-color: #2a5673;
  /* blu finale */
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 78, 216, 0.35);
}

.btn_home_cliente {
  background-color: #666666;
  color: #ffffff !important;
  border-radius: 0px;
  border: 0px solid transparent;
  font-weight: bold;
  font-size: 1.5rem;
  padding: .25rem 2rem;
  width: max-content;
  max-width: 420px;
  text-decoration: none;

  transition:
    background-color 0.35s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;


}

@media (max-width: 768px) {
  .btn_home_cliente {
    font-size: 1.2rem;


  }

}

.btn_home_cliente:hover {
  background-color: #2a5673;
  /* blu finale */
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 78, 216, 0.35);

}

.btn_home_back {
  background-color: #666666;
  color: #ffffff !important;
  border-radius: 0px;
  border: 0px solid transparent;
  font-weight: bold;
  font-size: 1.5rem;
  padding: .25rem 2rem;
  width: max-content;
  max-width: 420px;
  text-decoration: none;

  transition:
    background-color 0.35s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;


}

.btn_home_back:hover {
  background-color: #2a5673;
  /* blu finale */
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 78, 216, 0.35);
  color: #fff;

}

.btn-primary {
  color: #fff;
  font-family: 'OpenSans-Regular';
  background-color: #2a5673;
  border-color: #2a5673;
  border-radius: 0px;
  font-size: 1.3em;
  text-transform: uppercase;
  padding: 0.375rem 2.75rem;
  width: 400px;
}

.btn-primary:hover {
  background-color: #2a5673;
  /* blu finale */
  box-shadow: 0 6px 18px rgba(30, 78, 216, 0.35);

}

@media (max-width: 768px) {
  .btn-primary {
    width: 320px;
  }
}


.btn-image:after {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-left: 5px;
  vertical-align: text-top;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
}

.myBtnLogin:after {
  background-image: url("../img/icons/user.png")
}

.myBtnReg:after {
  background-image: url("../img/icons/reg.png")
}

@media (max-width: 768px) {

  .brands img {

    padding-left: 0%;
    padding-right: 0%;
  }

}


#menuToggle {
  display: block;
  position: relative;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
  padding: 5px;
  border: none;

}

#menuToggle a {
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: tomato;
}


#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: 3px;
  left: -3px;

  cursor: pointer;

  opacity: 0;
  /* hide this */
  z-index: 2;
  /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  margin-top: 5px;
  position: relative;

  background: #2966A6;
  border-radius: 1px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked~span {
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
  background: #004289;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked~span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
  background: #004289;
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked~span:nth-last-child(2) {
  transform: rotate(45deg) translate(-10px, -10px);
  background: #004289;
}


/*
 * And let's slide it in from the left
 */
#menuToggle input:checked~ul {
  transform: none;
}

#errore {
  text-align: center;
  color: red;
  font-size: 20px;
}


.bannerimgdx {
  z-index: 10000000;

}

.bannerimgdx img {
  z-index: inherit;
  max-width: 75%;
  margin: 0 auto;
  display: block;
}

.bannerimgsx {
  z-index: 10000000;

}

.bannerimgsx img {
  z-index: inherit;
  max-width: 75%;
  margin: 0 auto;
  display: block;
}


.link_cliente {
  color: #fff !important;
  text-decoration: none;
}

.border_logo {
  border: 1px solid #666666;
}

.presentazione_home_titolo {
  background: #fff;
  color: #666666;
  font-family: 'OpenSans-Bold';
  font-size: 30px;
}

.presentazione_home {
  color: #666666;
  font-family: 'OpenSans-Regular';
  font-size: 20px;
}

.link_login {
  color: #fff !important;
  text-decoration: none;
}

.bottone_documento {
  background: #666666;
  color: #fff;
  font-family: 'OpenSans-Bold';
  padding: 30px;
  font-size: 25px;
  text-decoration: none;
}

.bottone_documento:hover {
  background: #666666;
  color: #fff;
  font-family: 'OpenSans-Bold';
  padding: 30px;
  font-size: 25px;
  text-decoration: none;
  background-color: #2a5673;
  /* blu finale */
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 78, 216, 0.35);

}

.carousel-video {
  pointer-events: none;
}

.carousel-indicators {
  z-index: 10;
}

.testo_step {
  color: #666666;
  font-family: 'OpenSans-Regular';
  font-size: 20px;
}

.testo_step_titolari {
  color: #666666;
  font-family: 'OpenSans-Regular';
  font-size: 17px;
}

.messaggio {
  background: #2a5673;
  color: #fff;
  font-family: 'OpenSans-Regular';
  font-size: 20px;
}

.table {
  font-size: 14px;
}

.testo_grazie {
  color: #666666;
  font-family: 'OpenSans-Regular';
  font-size: 25px;
  text-align: center;
}


/*===========Carousel e premi===========*/

.card-text {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 450ms ease, opacity 300ms ease;
}

.card-text.is-open {
  max-height: 100%;
  /* abbastanza grande da contenere tutto */
  opacity: 1;
}

#mainCarousel .carousel-item {
  height: auto;
}

/* scegli tu */
#mainCarousel .carousel-item img,
#mainCarousel .carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#mainCarousel video.carousel-video {
   border:6px solid #666666;
  pointer-events: none;
  max-height: 650px;
}

#mainCarousel .carousel-indicators,
#mainCarousel .carousel-control-prev,
#mainCarousel .carousel-control-next {
  z-index: 10;
}

#mainCarousel {
  position: relative;
}

#mainCarousel .carousel-indicators,
#mainCarousel .carousel-control-prev,
#mainCarousel .carousel-control-next {
  position: absolute;
  z-index: 10;
}

.carousel {
  margin-top: 0%;
  z-index: 0;
}

.xs-width {
  max-width: 100%;
}

@media (max-width: 768px) {

.xs-width {
    max-width: 70%;
  }

}

.accordion-button:not(.collapsed) {
  color: #2966A6;
  background-color: #f2f2f2;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

#registrazione label.error {
    color: red;
    font-weight: bold;
}

/* ========================================
   FORM REGISTRAZIONE - Stili migliorati
   ======================================== */

/* --- Titoli sezione (REGISTRATI, LAVORO PRESSO) --- */
.promorow h5 {
	font-family: 'OpenSans-Regular';
  font-size: 40px;
  color: #2966A6;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 768px) {
	.promorow h5 {
		font-size: 1.4em;
	}
}

/* --- Blocco Email + Recupera Dati (primo step in evidenza) --- */
.reg-email-block {
	background: #f8fbfe;
	border-left: 4px solid #2966A6;
	padding: 24px 28px 12px;
	margin-bottom: 32px;
	margin-top: 8px;
}

.reg-email-block .form-control {
	border: 2px solid #2966A6;
	font-size: 1.05rem;
}

.reg-email-block .form-control:focus {
	border-color: #2a5673;
	box-shadow: 0 0 0 3px rgba(41, 102, 166, 0.12);
}

.reg-email-block label {
	font-family: 'OpenSans-Bold';
	color: #2966A6;
	font-size: 0.95rem;
	margin-bottom: 4px;
}

/* --- Sezioni raggruppate (card leggere) --- */
.reg-section-card {
	background: #ffffff;
	border: 1px solid #e4e9ed;
	padding: 28px 24px 12px;
	margin-top: 24px;
	margin-bottom: 12px;
	position: relative;
}

.reg-section-label {
	position: absolute;
	top: -13px;
	left: 20px;
	background: #fff;
	padding: 0 12px;
	font-family: 'OpenSans-Bold';
	font-size: 0.85rem;
	color: #2966A6;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.reg-section-label i {
	color: #2966A6;
}

/* --- Label globali form registrazione --- */
#registrazione label {
	font-family: 'OpenSans-Medium';
	font-size: 0.9rem;
	color: #484848;
	margin-bottom: 2px;
	display: block;
}

/* --- Input e Select migliorati --- */
#registrazione .form-control,
#registrazione .form-select {
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	padding: 0.5rem 0.75rem;
	font-size: 0.95rem;
}

#registrazione .form-control:focus,
#registrazione .form-select:focus {
	border-color: #2966A6;
	box-shadow: 0 0 0 3px rgba(41, 102, 166, 0.1);
	outline: none;
}

/* --- form-group spacing --- */
#registrazione .form-group {
	margin-bottom: 18px;
}

/* --- Messaggio recupera dati --- */
#msg_recupera {
	padding: 10px 16px;
	border-radius: 0;
	font-size: 0.9rem;
	font-family: 'OpenSans-Medium';
}

#msg_recupera span {
	display: inline-block;
}

/* --- Radio buttons personalizzati --- */
.reg-radio-hint {
	font-family: 'OpenSans-Medium';
	font-size: 0.85rem;
	color: #666666;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.reg-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.reg-radio-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 10px 20px;
	border: 1px solid #d0d7de;
	background: #fafbfc;
	font-family: 'OpenSans-Regular';
	font-size: 0.92rem;
	color: #484848;
	transition: all 0.2s ease;
	min-width: 200px;
	position: relative;
	user-select: none;
}

.reg-radio-label:hover {
	border-color: #2966A6;
	background: #f0f5fa;
}

.reg-radio-label input[type="radio"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	width: 0;
	height: 0;
}

.reg-radio-custom {
	width: 18px;
	height: 18px;
	border: 2px solid #b0b8c1;
	border-radius: 50%;
	margin-right: 10px;
	flex-shrink: 0;
	position: relative;
	transition: border-color 0.2s ease;
}

.reg-radio-custom::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2966A6;
	transition: transform 0.2s ease;
}

.reg-radio-label input[type="radio"]:checked ~ .reg-radio-custom {
	border-color: #2966A6;
}

.reg-radio-label input[type="radio"]:checked ~ .reg-radio-custom::after {
	transform: translate(-50%, -50%) scale(1);
}

.reg-radio-label:has(input[type="radio"]:checked) {
	border-color: #2966A6;
	background: #edf3f9;
	font-family: 'OpenSans-Bold';
}

#tipo_venditore_altro {
	margin-top: 14px;
	max-width: 400px;
}

/* --- Checkbox personalizzati (privacy/regolamento) --- */
.reg-consent-block {
	padding: 28px 0 8px;
	margin-top: 16px;
}

.reg-checkbox-label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	font-family: 'OpenSans-Regular';
	font-size: 0.9rem;
	color: #484848;
	line-height: 1.5;
	padding: 12px 16px;
	background: #fafbfc;
	border: 1px solid #e4e9ed;
	margin-bottom: 10px;
	transition: border-color 0.2s ease, background 0.2s ease;
	position: relative;
}

.reg-checkbox-label:hover {
	border-color: #2966A6;
	background: #f5f8fb;
}

.reg-checkbox-label input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	width: 0;
	height: 0;
}

.reg-checkbox-custom {
	width: 20px;
	height: 20px;
	border: 2px solid #b0b8c1;
	flex-shrink: 0;
	margin-right: 12px;
	margin-top: 1px;
	position: relative;
	transition: all 0.2s ease;
}

.reg-checkbox-custom::after {
	content: '\f00c';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	font-size: 11px;
	color: #fff;
	transition: transform 0.15s ease;
}

.reg-checkbox-label input[type="checkbox"]:checked ~ .reg-checkbox-custom {
	background: #2966A6;
	border-color: #2966A6;
}

.reg-checkbox-label input[type="checkbox"]:checked ~ .reg-checkbox-custom::after {
	transform: translate(-50%, -50%) scale(1);
}

.reg-checkbox-label:has(input[type="checkbox"]:checked) {
	border-color: #2966A6;
	background: #edf3f9;
}

.reg-checkbox-label a {
	color: #2966A6;
	text-decoration: underline;
	font-family: 'OpenSans-Bold';
}

.reg-checkbox-label a:hover {
	color: #2a5673;
}

/* --- Bottone INVIA migliorato --- */
.reg-submit-btn {
	padding: 0.6rem 3rem !important;
	font-size: 1.3rem !important;
	letter-spacing: 0.5px;
	transition: all 0.25s ease;
}

.reg-submit-btn:hover {
	transform: translateY(-2px);
}

/* --- Errore globale --- */
#errore:not(:empty) {
	background: #fef2f2;
	border-left: 4px solid #dc3545;
	color: #dc3545;
	padding: 14px 20px;
	font-family: 'OpenSans-Bold';
	font-size: 0.95rem;
}

/* --- Responsive mobile --- */
@media (max-width: 767px) {
	.reg-email-block {
		padding: 18px 16px 8px;
	}

	.reg-section-card {
		padding: 24px 16px 8px;
		margin-top: 20px;
	}

	.reg-section-label {
		font-size: 0.78rem;
		left: 12px;
	}

	.reg-radio-group {
		flex-direction: column;
		gap: 8px;
	}

	.reg-radio-label {
		min-width: unset;
		width: 100%;
		padding: 10px 14px;
	}

	.reg-checkbox-label {
		padding: 10px 12px;
		font-size: 0.85rem;
	}

	.reg-consent-block {
		padding: 20px 0 8px;
	}

	#tipo_venditore_altro {
		max-width: 100%;
	}

	.reg-submit-btn {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0.7rem 1rem !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.reg-radio-group {
		gap: 10px;
	}

	.reg-radio-label {
		min-width: 180px;
	}
}

/* ============================= AREA PERSONALE ============================= */
.ap-subtitle {
	font-family: 'OpenSans-Regular', sans-serif;
	color: #2966a6;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
}

.ap-credito-card {
	background: #ffffff;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	padding: 25px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ap-credito-label {
	font-family: 'OpenSans-Regular', sans-serif;
	color: #999999;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.ap-credito-valore {
	font-family: 'OpenSans-Bold', sans-serif;
	color: #2966a6;
	font-size: 50px;
}

.ap-section-card {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.ap-section-header {
	background: #2966a6;
	color: #ffffff;
	padding: 14px 24px;
	font-family: 'OpenSans-Bold', sans-serif;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 10px;
}
.ap-section-body {
	padding: 25px 24px;
}

.ap-label {
	font-family: 'OpenSans-Bold', sans-serif;
	color: #484848;
	font-size: 0.85rem;
	margin-bottom: 4px;
	display: block;
}
.ap-input {
	background-color: #f8f9fa !important;
	border: 1px solid #e0e0e0 !important;
	color: #484848 !important;
	font-family: 'OpenSans-Regular', sans-serif;
	padding: 10px 14px;
}
.ap-input:disabled {
	opacity: 0.8;
}

.ap-note {
	font-family: 'OpenSans-Regular', sans-serif;
	color: #999999;
	font-size: 0.85rem;
	line-height: 1.5;
	margin-bottom: 15px;
}
.ap-note a {
	color: #2966a6;
}

.ap-badge {
	font-size: 0.7rem;
	padding: 2px 8px;
	border-radius: 3px;
	font-family: 'OpenSans-Bold', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-left: 8px;
}
.ap-badge-ok {
	background: #e8f5e9;
	color: #2e7d32;
}
.ap-badge-pending {
	background: #fff3e0;
	color: #e65100;
}

.ap-email-row {
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
}
.ap-email-row:last-of-type {
	border-bottom: none;
}

.ap-btn-add {
	color: #2966a6;
	font-family: 'OpenSans-Bold', sans-serif;
	font-size: 0.9rem;
	cursor: pointer;
	margin: 0;
	padding: 10px 0;
	transition: color 0.2s;
}
.ap-btn-add:hover {
	color: #1e4d7a;
}
.ap-btn-remove {
	color: #dc3545;
	font-family: 'OpenSans-Bold', sans-serif;
	font-size: 0.9rem;
	cursor: pointer;
	margin: 0;
	padding: 10px 0;
	transition: color 0.2s;
}
.ap-btn-remove:hover {
	color: #a71d2a;
}

.header-compatto {
  background:#f2f2f2 !important;
  padding: 18px 0;
}

.header-compatto-title {
  font-weight:normal !important;
}


.footer-support a {
  color: #ffff !important;
  text-decoration: none;
  font-weight: bold;
}