html {
  font-family: 'Nunito Sans';
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  line-height: 1.2;
}

p {
  font-size: 18px;
}

.row.grid.numbers .col-md-3 h1 {
  margin-bottom: 0;
}

.mb-20 {
  margin-bottom: 20px;
}

.row.grid.numbers .col-md-3 h1 span.text-white.bold {
  font-size: 40px;
}

/* TODO: spostare ad altro css */
.sidebar.col-md-3 {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

ul.correlati li a {
  color: #636363;
}

.red-container {
  background-color: #c50e1f;
  padding: 20px;
}

.red-container p {
  color: #fff;
  margin-bottom: 0;
}

.event:nth-child(odd) {
  flex-direction: row-reverse;
}

.event:nth-child(odd) .event-desc {
  margin-right: 20px;
  width: 100%;
}

.event:nth-child(even) .event-desc {
  margin-left: 20px;
}

.event {
  margin-bottom: 20px;
}

.event-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-column-gap: 46px;
  margin-top: 40px;
}

.event-container img {
  width: 50%;
  object-fit: cover;
}

.membership-container {
  width: 30%;
  background-color: #f7f7f7;
  padding: 36px 36px 36px 36px;
  height: min-content;
}

#myBtn {
  border: none;
  background-color: #f7f7f7;
}

.img-fluid {
  max-width: 90%;
  height: auto;
}

#radioMembership {
  position: absolute;
  opacity: 0;
  width: 0;
}

input[type=radio]+label {
  text-align: center;
  color: #636363;
  line-height: normal;
  padding: 0px 23px 18px 23px;
  transition: color 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86), background-color 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86), border-color 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
  font-size: 16px;
  text-transform: uppercase;
}

input[type=radio]:checked+label {
  border-bottom: 1px solid #c50e1f !important;
  color: #c50e1f !important;
}

input#radioAziendaSilver,
input#radioAziendaGold,
input#radioAziendaBronze,
input#radioSocioOrdinario,
input#radioSostenitore,
input#radioNextGeneration {
  display: none !important;
}

.radio-toolbar.white-background {
  text-align: center;
  color: #636363;
  line-height: normal;
  transition: color 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86), background-color 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86), border-color 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
  font-size: 16px;
  border-bottom: 1px solid #eaeaea;
}

.inner-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.membership-container a,
.button {
  background-color: #c50e1f;
  color: #fff !important;
  padding: 13px 31px 13px 31px !important;
  ;
  font-weight: 400;
  justify-content: center;
  align-items: center;
  display: flex;
  width: 59%;
  font-size: 12px;
}
.regolamento-container {
  background-color: #f7f7f7;
  padding: 36px 36px 36px 36px;
  width: 21%;
}

.regolamento-container:not(:nth-of-type(1)), .regolamento-container:not(:nth-of-type(5))  {
  margin: 20px;
}

.regolamento-container:nth-of-type(1), .regolamento-container:nth-of-type(5), .regolamento-container:nth-of-type(9), .regolamento-container:nth-of-type(13)  {
  margin: 20px 20px 20px 0;
}

.membership-container a:hover,
.button:hover {
  color: #c50e1f !important;
  cursor: pointer;
  background-color: #f7f7f7;
  border: 1px solid #c50e1f;
}
.regolamento-container a {
  float:left;
  clear:left;
  color: #c50e1f !important;
}
.regolamento-container i {
  color: #c50e1f !important;
  fill: #c50e1f !important;
}

.width-100 {
  width: 100% !important;
}

.registration h3 {
  text-align: center;
}

ul.correlati {
  list-style: none;
  padding-left: 0;
}

.sidebar div {
  padding: 8px;
  font-size: 24px;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 00.00em;

}

.section.section-scroll.section-background.border-0.m-0 {
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: scroll;
  background-size: cover;
}

#header .header-body.border-top-0 {
  background-color: rgba(52, 75, 87, 0.3) !important;
}

#header .header-body.border-top-0 a,
#header .header-body.border-top-0 .fas {
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  color: #fff !important;
}

#header .header-body.border-top-0 img {
  width: auto !important;
  height: 100% !important;
  display: block !important;
  margin: auto !important;
}

#header .header-body.border-top-0 .header-logo {
  width: auto !important;
  height: auto !important;
}

#header .header-body.border-top-0 #header .header-btn-collapse-nav {
  background-color: none !important;
}

.container.h-100 {
  padding-top: 217px;
  padding-bottom: 217px;
}

.width-64 {
  width: 64% !important;
}

.mt-20 {
  margin-top: 20px;
}

.animate {
  animation: kenburns 150s ease alternate forwards;
}

a:hover *,
a:hover {
  color: #c50e1f !important;
  text-decoration: none !important;
}

.no-hover:hover * {
  color: #fff !important;
}

@keyframes kenburns {
  0% {
    -webkit-transform-origin: bottom left;
    -moz-transform-origin: bottom left;
    -ms-transform-origin: bottom left;
    -o-transform-origin: bottom left;
    transform-origin: bottom left;
    transform: scale(1.0);
    -ms-transform: scale(1.0);
    /* IE 9 */

    -webkit-transform: scale(1.0);
    /* Safari and Chrome */

    -o-transform: scale(1.0);
    /* Opera */

    -moz-transform: scale(1.0);
    /* Firefox */
  }

  100% {
    transform: scale(1.2);
    -ms-transform: scale(1.2);
    /* IE 9 */

    -webkit-transform: scale(1.2);
    /* Safari and Chrome */

    -o-transform: scale(1.2);
    /* Opera */

    -moz-transform: scale(1.2);
    /* Firefox */
  }
}

.font-12 {
  font-size: 12px !important;
}

/* MENU */

#header .header-body.border-top-0 a,
.fas {
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  color: #fff !important;
}

.dropdown-menu {
  background-color: #344b57;
  text-transform: uppercase !important;
}

.dropdown-menu a {
  text-transform: uppercase !important;
}

.dropdown-menu li a:hover {
  color: #aed5ea !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
}

#header .header-body.border-top-0 img {
  width: 60% !important;
  display: block !important;
  margin: auto !important;
  object-fit: contain !important;
}

#header .header-body.border-top-0 .header-logo {
  width: auto !important;
  height: auto !important;
}

#header .header-btn-collapse-nav {
  background-color: none !important;
}

.red-header {
  height: 39px;
}

.red-header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.red-header li {
  float: left;
  text-transform: uppercase;
  line-height: 0;
}

.red-header li a {
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  font-size: 12px;
}

.hide-mobile {
  display: block;
}

.obietivi {
  margin: 20px;
  padding: 36px;
  color: #fff;
  background-color: #344b57;
  justify-content: center;
}

.background-white {
  background-color: #fff;
}

.flex {
  display: flex;
}

.hide-desktop {
  display: none;
}

#header .header-body.border-top-0 a,
#header .header-body.border-top-0 .fas {
  margin-left: 6px;
}

.font-weight-300 {
  font-weight: 300;
}

li.dropdown a.dropdown-item.dropdown-toggle:hover+ul.dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  background-color: #344b57 !important;
}

.dropdown-item {
  font-size: 14px !important;
}

.dropdown-item {
  color: #aed5ea !important
}

.main-title {
  font-size: 72px;
  line-height: 1.2;
}

.grid.numbers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.consiglieri.advisory.col-md-4 img {
  width: 100%;
  object-fit: cover;
  height: 70%;
  margin-bottom: 20px;
}

.consiglieri.advisory.col-md-4 {
  margin-bottom: 90px;
}

.consiglieri.advisory.col-md-4 p,
.consiglieri.advisory.col-md-4 button,
.consiglieri.advisory.col-md-4 a {
  font-size: 16px;
}

.consiglieri.advisory.col-md-4 p {
  font-weight: 600;
}

.consiglieri.advisory.col-md-4 h3 {
  font-size: 21px;
  font-weight: 500;
}

.consiglieri.advisory.col-md-4 button,
.consiglieri.advisory.col-md-4 a {
  color: #c50e1f;
}

.consiglieri.advisory.col-md-4 button {
  padding: 0 10px 0 0;
}

.img-cont {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.aziende-container {
  padding: 36px 36px 36px 36px;
  background-color: #f7f7f7;
  margin-bottom: 20px;
}

.img-cont img {
  width: 85%;
  margin-top: 20px;
}

.col-md-8 h5 {
  text-transform: none;
  color: #636363;
  font-size: 18px;
}

.probiviri-wrapper,
.soci-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.consiglieri-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}

.info-container {
  padding: 36px;
  background-color: #f7f7f7;
  margin-bottom: 20px
}

.news-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 46px;
  margin-top: 40px;
}

.modal-content .modal-header button,
.col-md-4.consiglieri button.close {
  color: #000 !important;
}

.consiglieri.advisory.col-md-4 button.close,
.col-md-4.consiglieri button.close,
.modal-content .modal-header button {
  background-color: #fff !important;
  border: none !important;
  margin: inherit;
}

.news,
.event {
  padding: 36px;
  background-color: #f7f7f7;
  color: #636363;
  border: 1px solid #eaeaea;
}

.news {
  margin-bottom: 40px;
}

.news a {
  font-size: 30px;
}

.news a h4:hover {
  color: #c50e1f;
  text-decoration: none;
}

.news a:hover {
  text-decoration: none;
}

.news a h4 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0em;
}

.news img {
  width: 100%;
}

.news img:hover {
  transition: color 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86), background-color 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86), border-color 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition-property: color, background-color, border-color;
  transition-duration: 200ms, 200ms, 200ms;
  transition-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86), cubic-bezier(0.785, 0.135, 0.15, 0.86), cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition-delay: 0s, 0s, 0s;
}

.h2.font-weight-700.white.main-title span {
  display: inline-block;
  font-family: 'Nunito Sans';
  font-size: 60px;
}

.mb100 {
  margin-bottom: 100px
}

.img__description {
  width: 514px;
  height: 265px;
}

.contact {
  background-color: #344b57;
  transition: opacity 0.2s;
  opacity: 0.8;
  padding: 30px 220px;
}

.col-md-8.numbers.counters {
  display: flex;
}

@media screen and (max-width: 480px) {
  .regolamento-container:not(:nth-of-type(1)), .regolamento-container:not(:nth-of-type(5)) {
    margin: 20px;
}
  .regolamento-container {
    margin: auto;
    width: 100%;
  }
  .membership-container a {
    width: 100%;
  }
  .text-align-center.container h1.text-white {
    font-size: 32px !important;
  }
  .col-md-8.numbers.counters {
    flex-direction: column
  }

  .mbm20 {
    margin-bottom: 30px;
  }

  .font-72 {
    font-size: 50px !important;
    padding-bottom: 36px;
  }

  .membership-container {
    width: 100%;
    margin-bottom: 50px;
  }

  .membership {
    flex-direction: column;
  }

  .event-container img {
    width: 100%;
    margin-bottom: 20px;
  }

  .event {
    flex-direction: column !important;
    padding: 20px;
  }

  .img-cont img {
    width: 100%;
  }

  .img-cont {
    grid-template-columns: repeat(1, 1fr);
  }

  .consiglieri.advisory.col-md-4 img {
    width: 90% !important;
  }

  .consiglieri.advisory.col-md-4 {
    padding: 0px !important;
  }

  .advisory-wrapper.row {
    grid-template-columns: 1fr !important;
  }

  .consiglieri.advisory.col-md-4 img {
    width: 100%;
    object-fit: cover;
    height: auto;
    margin-bottom: 20px;
  }

  .consiglieri-wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .flex.text-align-center {
    flex-direction: column;
  }

  .obietivi {
    margin: 20px 0;
  }

  .col-md-8.numbers.counters p {
    text-align: center;
  }

  .contact {
    padding: 0;
  }

  .img__description {
    height: auto !important;
    width: auto !important;
    padding: 15px !important;
  }

  .text-white.text-uppercase.font-weight-700 {
    bottom: auto;
    font-size: 19px;
  }

  .img__wrap {
    position: relative;
    height: 136px !important;
    width: 100% !important;
  }

  .mb100 {
    margin-bottom: 40px
  }

  .img__img {
    border: 1px solid #fff;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .grid {
    grid-column-gap: 30px !important;
  }

  .h2.font-weight-700.white.main-title span {
    font-size: 45px;
  }

  .event:nth-child(odd) .event-desc {
    margin-right: 0px;
    width: 100%;
  }

  .event:nth-child(even) .event-desc {
    margin-left: 0px;
  }

  .news img {
    width: 80vw;
  }

  .news-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 46px;
    margin-top: 40px;
    grid-row-gap: 46px;
  }

  .container {
    padding: 72px 36px 36px 36px !important;
  }

  .btn {
    font-size: 1.2rem;
  }

  body {
    font-size: 1rem !important;
  }

  .col-md-4.consiglieri {
    width: 100% !important;
    height: auto !important;
    margin: 15px 15px !important;
  }

  .blu-footer .container.flex .col-md-3 p {
    font-size: 16px;
  }

  .blu-footer .container.flex {
    display: block;
  }

  .blu-footer .container.flex .col-md-6 h3 {
    font-size: 16px;
  }

  .dropdown-item.dropdown-toggle,
  .dropdown-item {
    font-size: 12px !important;
  }

  .header-body.border-top-0 {
    height: 110px !important;
  }

  .nav.nav-pills.flex-column.flex-lg-row {
    margin-top: 80px;
  }

  .grid.numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .anchor-button {
    margin-bottom: 40px !important;
  }

  .order-10 {
    order: 10 !important;
  }

  .order-11 {
    order: 11 !important;
  }

  .order-12 {
    order: 12 !important;
  }

  li.dropdown a.dropdown-item.dropdown-toggle:hover+ul.dropdown-menu {
    display: none !important;
  }

  #header .header-body.border-top-0 img {
    height: auto;
  }

  .main-title {
    font-size: 50px;
  }

  .hide-mobile {
    display: none !important;
  }

  .header-body.border-top-0 {
    background-color: #344b57 !important;
  }

  #header .header-btn-collapse-nav {
    background-color: transparent !important;
  }

  #header .header-nav-main nav {
    background-color: #344b57 !important;
  }

  .hide-desktop {
    display: block;
  }
}

/* PAGE */
.videocotainer,
#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

.padding35 {
  padding: 35px;
}

.white {
  color: #fff !important
}

.font-weight-700 {
  font-weight: 700;
}

.font-weight-400 {
  font-weight: 400;
}

.margin30-0 {
  /* margin-top: 60% !important; */
  /* position: relative; */
  display: flex;
  top: 100px;
  padding-top: 138px;
}

#perche-aipsa,
#membership,
#eventi {
  box-shadow: inset 0 0 0 1000px rgba(0 47 94/ 50%);
}

.text-white {
  color: #fff;
}

.font-16 {
  font-size: 16px;
}

.font-48 {
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 0.00em;
}

.font-48.title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.00em;
}

.font-21 {
  font-size: 21px;
  letter-spacing: 0.00em;
}

.bold {
  font-weight: 700;
}

.no-transform {
  text-transform: none;
}

.zilla {
  font-family: 'Zilla Slab';
  font-size: 16px;
  letter-spacing: 0.00em;
}

.text-white.bold {
  font-size: 30px;

  letter-spacing: 0.00em;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 20px;
  grid-column-gap: 60px;
}

.font-21 {
  font-size: 21px !important;
  letter-spacing: 0.00em;
  line-height: 1.2;
}

.font-18 {
  font-size: 18px;
  letter-spacing: 0.00em;
}

.text-white.bold.font-21 {
  margin-bottom: 18px;
  text-transform: none;
  letter-spacing: 0.00em;
}

.mt-30 {
  margin-top: 30px;
}

.red-hover:hover h3 {
  color: red !important;
}

.red-hover {
  text-decoration: none !important;
}

.pr-75 {
  padding-right: 75px;
}

.container {
  max-width: 1200px !important;
  padding: 72px 36px 36px 36px;
}

#aipsacont-darker,
#news,
#perchè-aipsa {
  box-shadow: inset 0 0 0 1000px rgba(0 47 94/ 75%);
}

.text-align-center {
  text-align: center;
}

.anchor-button {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: 0 auto;
  background-color: #fff;
  padding: 7px 20px;
  width: 50%;
  border: 1px solid #fff;
  color: #636363;
}

.anchor-button:hover {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  text-decoration: none !important;
  cursor: pointer;
}

.img__wrap {
  position: relative;
  height: 200px;
  width: 257px;
}

.img__description {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(29, 106, 154, 0.72);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  padding: 30px;
  transition: opacity .2s, visibility .2s;
}

.img__wrap:hover .img__description {
  visibility: visible;
  opacity: 1;
}

.img__wrap:hover .img__img {
  transform: scale(1);
}

.img__description h1 {
  transition: all .2s ease-out;
}

.img__wrap:hover .img__description h1 {
  transform: scale(1);
  transition-delay: 250ms;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.img__img {
  border: 1px solid #fff;
  width: 514px;
  height: 265px;
  object-fit: cover;
}

.consiglieri.advisory.col-md-4 {
  margin: 35px 0px;
  padding: 20px;
  width: 100%;
}

.form-container form input,
.form-container form textarea {
  width: 100%;
  background-color: #344b57;
  color: #fff;
  border: 1px solid #fff;
  height: 40px;
  font-size: 18px;
  margin-bottom: 20px;
  padding: 15px;
  border-color: rgba(255, 255, 255, 0.25);
}

.flex {
  display: flex;
}

.contattaci:hover {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  text-decoration: none !important;
  cursor: pointer;
}

.contattaci {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: 0 auto;
  background-color: #fff;
  padding: 7px 20px;
  width: 50%;
  border: 1px solid #fff;
  color: #636363;
}

.blu-footer {
  display: flex;
  background-color: #344b57;
}

.advisory-wrapper.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.consiglieri-wrapper.row .col-md-4.consiglieri {
  background-color: #f7f7f7;
  margin: 35px 0px;
  width: 90%;
  padding: 20px;
}

.col-md-4.consiglieri img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.consiglieri-wrapper.row .col-md-4.consiglieri p {
  margin-top: 20px;
  text-align: center;
}

.consiglieri-wrapper.row .col-md-4.consiglieri img,
.col-md-4.consiglieri button,
.consiglieri-wrapper.row .col-md-4.consiglieri a {
  display: flex;
  margin: auto;
  justify-content: center;
}

.consiglieri.advisory.col-md-4 .btn.bio {
  margin: 0;
}

/*.col-md-4.consiglieri button,*/
/*.col-md-4.consiglieri a {*/
/*  color: #c50e1f !important;*/
/*}*/

.col-md-4.consiglieri button:hover {
  text-decoration: underline
}

.font-72 {
  font-size: 72px;
  padding-bottom: 36px;
}
