html {
  overflow-x: hidden;
  max-width: 100%;
  position: relative
}

body {
  margin: 0;
  font-family: Helvetica, sans-serif, Arial;
  font-size: 1em;
  min-width: 320px;
  max-width: 100%;
  width: 100vw;
  color: #000;
  background-position: center 7em, center 285px;
  background-repeat: no-repeat, no-repeat
}

.back-top {
  position: fixed;
  bottom: 20px;
  right: 50px;
  z-index: 999999;
  cursor: pointer;
  font-size: 2em
}

a {
  text-decoration: none;
  color: #E30613
}

a:hover {
  color: #000
}

/*.top-btn{
    display:none;
    position:fixed;
    bottom:3%;
    right:2%;
    z-index:2;
    cursor:pointer;
    width:100px;
    height:100px;
    -webkit-transition:-webkit-transform 1s;
    transition:transform 1s
}
.top-btn:hover{
    -webkit-transform:rotate(-180deg);
    transform:rotate(-180deg)
}*/
.att-red svg path {
  fill: #E30613 !important
}

.head {
  position: fixed;
  width: 100%;
  background-color: #E30613;
  z-index: 2
}

.before-container {
  width: 550px;
  margin: 0 auto;
  padding-top: 10em
}

.before-container .attivities svg {
  width: 11%;
  padding: 0.55%;
  display: inline-block
}

.before-container .attivities {
  padding-top: 5em;
  display: table;
  overflow: auto
}

.before-container .attivities a:hover svg path {
  fill: #E30613 !important
}

.before-container .logo {
  max-width: 100%
}

.box-image {
  max-width: 70%;
  margin-top: 5em;
  padding: 1em;
  font-size: 0.8em;
  border: 3px solid #000
}

.box-image h1 {
  margin: 0
}

.container {
  min-height: 1200px;
  /* min-height: 850px; */
  padding-top: 8em;
  width: 550px;
  position: relative;
  margin: 0 auto
}

.no-min-height {
    min-height: unset !important;
}

.mobile-menu,
.more {
  display: none
}

.menu {
  list-style: none;
  padding-top: 4em;
  padding-bottom: 2em;
  padding-left: 0;
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  text-align: center
}

.menu li {
  display: inline;
  padding-left: 2.5%;
  padding-right: 2.5%;
  font-weight: bold;
  color: #fff
}

.menu a {
  color: #fff
}

.menu a:hover {
  color: #000
}

.head .logo {
  display: none
}

.bannerBack {
  display: none
}

#attivity {
  position: relative;
  padding-bottom: 1em;
  cursor: pointer
}

#attivity .list {
  background-color: #dadada;
  padding: 10px;
  overflow: auto;
  text-align: left;
  padding-left: 2em;
  font-weight: normal;
  position: absolute;
  width: 150%;
  top: 30px;
  left: 0;
  z-index: 1;
  display: none
}

#attivity:hover .list {
  display: block
}

#attivity .list li {
  display: block;
  font-weight: normal
}

#attivity .list li a {
  color: #333
}

#attivity .list li a:hover {
  color: #E30613
}

#attivity .att .cat {
  padding-left: 10px;
  padding: 5px
}

#attivity .att .name {
  font-size: 1.1em;
  color: #333
}

ul.cat {
  padding-left: 0
}

::-webkit-scrollbar {
  width: 8px;
  height: 6px;
  background: #fff;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background: rgba(227, 6, 19, 0.6);
  -webkit-box-shadow: inset 0 0 6px rgba(227, 6, 19, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(220, 5, 20, 0.5);
}

.footer .txt {
  margin: 0 auto;
  width: 70%;
  overflow: auto
}

.footer .txt .par {
  width: 33%;
  float: left;
  text-align: center
}

.footer .txt .par span {
  font-weight: bold
}

.hide {
  display: none
}

.footer {
  background-color: #dadada;
  padding: 5%
}

.container .title {
  font-size: 1.8em;
  font-weight: bold;
  margin: 0
}

.container .descr {
  font-size: 1.1em
}

.cert {
  overflow: auto;
  padding: 1em;
  display: flex;
}

.cert img {
  max-width: 100%;
}

.popup {
  display: none;
  width: 50vw;
  min-height: 40vh;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-left: -25vw;
  margin-top: -20vh;
  z-index: 99999;
  background-color: #f7f7f7f7;
  box-shadow: 1px 2px 12px -7px black;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 1.5em;
  cursor: pointer;
}

.popup.display {
  display: flex
}

.popup .title {
  color: #E30613;
  margin-bottom: 0;
  font-size: 1.5em;
  font-weight: bold;
}

.popup p {
  line-height: 1.5em
}

.popup>div {
  padding: 1.5em;
  text-align: center;
}

.popup div>a {
  padding: 0.5em 2em;
  background-color: #E30613;
  border-radius: 0.8em;
  color: #fff !important;
}

@media(max-width:975px) {
  .popup {
    width: 90vw;
    height: 80vh;
    margin-left: -45vw;
    margin-top: -40vh;
  }

  .popup h1 {
    font-size: 1.3em;
  }
}

@media(max-width:480px) {
    .popup {
        font-size: 1.3em;
    }
}

.contributi {
    width: 550px;
    padding-top: 6px;
    margin: 0 auto;
    font-size: 12px;
    text-align: justify;
}

@media screen and (max-width:650px) {
    .contributi {
        width: 92%;
    }
}

/*
.social a svg{
    width:40px;
    border-radius:8px
}
.social a:hover svg #facebook-back,
.social a:hover svg #instagram-back,
.social a:hover svg #google-back,
.social a:hover svg #linkedin-back{ 
    fill:#b4c7a7
}
.head .logo{display:none}
.newsletter{
    width:35%;
    margin:0 auto;
    padding:1%;
    overflow:auto
}
.newsletter p{
    font-weight:bold;
    text-align:center;
    font-size:1.3em
}
.input{
    width:100%;
    overflow:hidden
}
.newsletter input,.newsletter .sub-mail{
    width:74%;
    max-width:74%;
    padding:1em;
    border:1px solid #c0d1b5;
    border-right:0;
    background-color:#fff;
    color:#473728;
    float:left;
    border-radius:5px;
    border-bottom-right-radius:0;
    border-top-right-radius:0;
}
.newsletter .sub-mail{
    width:20%;
    cursor:pointer;
    border-right:1px solid #c0d1b5;
    border-radius:0 5px 5px 0
}
.newsletter .sub-mail:hover{background-color:#c7d8bcba}
.newsletter .msg{
    font-size:1em;
    font-weight:normal
}*/
@media screen and (max-width:1330px) {
  .footer .txt .par {
    width: 50%;
    padding-top: 1em
  }
}

@media screen and (max-width:900px) {
  #attivity .list li a {
    color: #fff
  }

  #attivity .list li a:hover {
    color: #000
  }

  .bannerBack {
    display: block;
    width: 100%;
    padding-bottom: 1.5em;
  }

  .box-image {
    color: #fff;
    border-color: #fff;
    margin: 2em auto
  }

  .head .logo {
    z-index: 2;
    width: 60%;
    display: block;
    margin: 0 auto;
    display: block;
    padding-top: 2em;
    padding-left: 10%;
    padding-bottom: 2em
  }

  .menu {
    display: none;
    padding-top: 1em
  }

  #attivity {
    padding-bottom: 0.8em
  }

  body {
    background-image: none !important
  }

  .before-container .logo {
    display: none
  }

  .before-container {
    background-color: #000;
    padding-bottom: 0.2em
  }

  .footer .txt {
    width: 80%
  }

  .container {
    min-height: unset;
    padding-top: 2em
  }

  .before-container .attivities {
    padding-top: 0
  }

  .mobile-menu {
    z-index: 3;
    display: block;
    width: 30px;
    height: 30px;
    float: left;
    position: absolute;
    left: 5%;
    top: 68px;
    cursor: pointer
  }

  .menu li {
    display: block;
    font-size: 1.2em;
    padding-bottom: 0.8em;
    text-align: left;
    width: 70%;
    margin: 0 auto
  }

  .more {
    display: block;
    float: right
  }

  #attivity .list {
    background-color: transparent;
    padding: 0;
    overflow: inherit;
    padding-left: 6px;
    padding-top: 5px;
    margin-bottom: -15px;
    position: relative;
    width: auto;
    display: none;
    left: 0;
    top: 0
  }

  #attivity .att .name {
    color: #fff
  }

  #attivity:hover .list {
    display: none
  }

  #attivity .list li {
    padding-bottom: 5px;
    font-size: 1em;
    margin-left: 0
  }
}

@media screen and (max-width:650px) {
  .box-image {
    max-width: 70%
  }

  .container,
  .before-container {
    width: 92%
  }

  .footer .txt .par {
    width: 96%;
    padding-bottom: 1em
  }

  .before-container .attivities svg {
    padding-left: 6%;
    padding-right: 6%;
    padding-top: 1em;
    width: 21%
  }

  .head .logo {
    width: 80%
  }

  /*.newsletter .sub-mail{width:18%}
    .newsletter{width:95%}
    .top-btn{
        width:85px;
        height:85px
    }
    .head .logo{
        display:block;
        margin:0 auto;
        width:20%;
        padding:1em 0
    }
    .menu{
        padding-top:2%;
        display:none
    }
    */
}

@media screen and (max-width:490px) {
  .box-image {
    max-width: 86%
  }

  .mobile-menu {
    top: 50px;
    left: 3%
  }

  .menu li {
    width: 85%
  }

  /*.footer-menu .contacts svg{left:2%}
    .newsletter input{width:60%}
    .newsletter .sub-mail{width:30%}
    .container{padding-top:35%}
    .menu li{width:65%}
    .head .logo{width:30%}*/
}