* {
    font-family: Montserrat, sans-serif;
}
*:hover {
  transition: 0.3s;
}
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #000112 !important;
}

h1 {
    color: #f2f6ff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 4rem;
}

h2 {
    font-size: 1.7rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #e3cca1;
}

h3 {
    font-size: 1.4rem;
    color: #e3cca1;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1rem;
    color: #808080;
}

p {
    font-size: 0.9rem;
    font-weight: 500;
    color: #f2f6ff;
}

a {
    color: #f2f6ff;
    text-decoration: none;
}

a:hover {
    color: #e3cca1;
    text-decoration: none;
}

.pillow {
    height: 12vh;
}

.btn-primary {
    width: 200px;
    height: 50px;
    background: #f2f6ff;
    border: 3px solid #e3cca1;
    border-radius: 5px;
    color: #000112;
    float: right;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #e3cca1;
    color: #000112;
    border: 3px solid #e3cca1;
    border-radius: 5px;
}






/* -----------------------------------HEADER-----------------------------------*/
.bg-dark {
    background-color: #000112 !important;
    border-bottom: 2px solid #f2f6ff;
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-item {
    margin: 0 15px;
}

.nav-item .active {
    color: #f2f6ff !important;
}

.dropdown-item:hover {
    color: #f2f6ff;
    background-color: #000112;
}

.back-image {
    position: relative;
    height: 85vh;
    overflow: hidden;
    background: url(img/sunrise-sotto.jpg ) no-repeat center fixed;
    background-size: cover;
}

.back {
    position: relative;
    top: 12vh;
}

.back .h1-special {
    text-transform: none;
    color: #e3cca1 !important;
    font-size: 2rem;
}

.back .btn {
    border: 2px solid #e3cca1;
    border-radius: 10px;
    color: #000112;
    width: 300px;
    height: auto;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    top: 200px;
    text-align: center;
}

.back .btn:hover {
    background-color: #e3cca1;
    color: #000112;
}

.btn-outline-dark {
    border: 2px solid #e3cca1;
    color: #000112;
    background: #f2f6ff;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    top: 4vh;
}

.btn-outline-dark:hover {
    background: #e3cca1;
    color: #000112;
    border: 2px solid #e3cca1;
}

.back .social-box {
    position: relative;
    top: 200px;
    border-left: 2px solid #f2f6ff;
    padding-left: 10px;
}

@media only screen and (max-width: 576px) {
    .back-image {
        height: 60vh;}
    .back h1 {
        font-size: 2rem;
        margin-top: 0;
        text-align: left;
    }
    .back .h1-special {
        font-size: 1.3rem;
        text-align: left;
    }
    .social-box {
        display: none;
    }
    .back .btn {
        position: relative;
        top: 15vh;
        width: 250px;
        font-size: 0.9rem;
        height: auto;
    }
    .back button {
        left: 50%;
        margin-left: -125px;
    }
    .btn-outline-dark {
        top: -2vh;
    }
}

@media only screen and (min-width: 577px) and (max-width: 992px) {
    .back-image {
        height: 60vh;
    }
    .back .btn {
        top: 15vh;
        left: 50%;
        transform: translate(-50%,+50%);
        margin: auto;
    }
    .back h1 {
        font-size: 2.2rem;
        margin-top: 50px;
    }
    .back .h1-special {
        text-align: left;
        font-size: 1.5rem;
    }
    .social-box {
        display: none;
    }
    .back {
        position: relative;
        top: 7vh;
    }
    .btn-outline-dark {
        bottom: 5px;
    }
}


/*----------------------------------HEADER----------------------------------*/







/*--------------------------------OSSERVATORIO-ATTIVITÀ-ABOUT-----------------------------*/
.observatory, .activity, .about {
    border: 2px solid #f2f6ff;
    border-radius: 20px;
    height: 320px;
}

.news, .gallery {
    border: 2px solid #f2f6ff;
    border-radius: 20px;
    height: 180px;
}

.box button {
    border: 2px solid #e3cca1;
    border-radius: 10px;
    background-color: #f2f6ff;
    color: #000112;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.box button:hover {
    background-color: #e3cca1;
    color: #000112;
}

a .link-button {
    border: 2px solid #e3cca1;
    border-radius: 10px;
    background-color: #f2f6ff;
    color: #000112;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

a .link-button:hover {
    background-color: #e3cca1;
    color: #000112;
}


.observatory {
    background: url("img/box-home-osservatorio.jpg") no-repeat center;
    background-size: cover;
}

.activity {
    background: url("img/box-home-attivita.jpg") no-repeat center;
    background-size: cover;
}

.about {
    background: url("img/box-home-about.jpg") no-repeat center;
    background-size: cover;
}

.news {
    background: url("img/box-home-news.jpg") no-repeat center;
    background-size: cover;
}

.gallery {
    background: url("img/box-home-gallery.jpg") no-repeat center;
    background-size: cover;
}

@media only screen and (max-width: 576px) {
    .box h2 {
        text-align: left;
        font-size: 1.5rem;
    }
    .box .btn {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
    .news {
        margin-bottom: 50px;
    }
    .observatory, .activity, .about {
        height: auto;
    }
    .col-lg-4 {
        margin-top: 3vh !important;
    }
}

@media only screen and (min-width: 577px) and (max-width: 992px) {
    .box h2 {
        text-align: left;
    }
    .news {
        margin-bottom: 50px;
    }
    .box h2, .box p {
        margin-left: 20px;
    }
    button {
        margin-right: 20px;
    }
    .observatory, .activity, .about {
        height: 40vh;
    }
}

@media only screen and (min-width: 992px) {
    .box h2 {
        position: relative;
        margin-left: 40px;
    }
    .box p {
        position: relative;
        margin-left: 40px;
    }
    .box button {
        width: 150px;
        height: 50px;
        position: relative;
        margin-top: 20px;
        margin-right: 40px;
    }
    .box .news h2 {
        margin-left: 0;
    }
    .box .gallery h2 {
        margin-left: 0;
    }
    .news, .gallery {
        transition: transform .4s;
    }
    .news:hover, .gallery:hover {
        transform: scale(1.05);
    }
}
/*--------------------------------OSSERVATORIO-ATTIVITÀ-ABOUT-----------------------------*/






/*-------------------------------OSSERVATORIO-------------------------------*/
.observatory-back-image {
    position: relative;
    height: 60vh;
    overflow: hidden;
    background: url(img/observatory-back-image.jpg) no-repeat center fixed;
    background-size: cover;
}

.observatory-back-image h1 {
    text-align: center;
}

.story img {
    width: 65vw;
    position: relative;
    left: 50%;
    transform: translate(-50%, +50%);
}

.title {
    border-right: 2px solid #e3cca1;
}

.card {
    background-color: transparent;
}

.struments .card-title {
    border-bottom: 2px solid #e3cca1;
}

.card {
    background-color: white;
}

.card_box {
    color: #e3caa1;
    display: flex;
    justify-content: space-between;
}

.card {
    background-color: #14213D;
    border: solid 2px #e3caa1;
    border-radius: 20px;
    width: 30%;
}
.p_card {
    margin: 0.9rem;
    color: #f2f6ff;
}
.p_card-c {
    margin: 0.9rem;
    color: #f2f6ff;
    position: relative;
    top: 50%;
    /* left: 5%; */
    right: 1vw;
    transform: translate(+10%, -30%);
    height: auto;
}
.card-c:first-child .p_card-c,
.card-c:last-child .p_card-c {
  top: 60%;
  right: 10%;
}

.card-c {
    background-color: #14213D;
    border: solid 2px #e3caa1;
    border-radius: 20px;
    width: 30%;
    display: flex;
    flex-direction: row;
    height: 210px;
}

.icon_card img {
    height: 100px;
}
.icon_card-c img {
    height: 100px;
}
.icon_card-c img{
    /* height: 100px; */
    position: relative;
    top:50%;
    left:5%;
    transform: translate(+10%, -50%);
}

@media only screen and (max-width: 1194px) {
  .card-c:first-child .p_card-c, .card-c:last-child .p_card-c {
    right: 5%;
  }
}

@media only screen and (max-width: 576px) {
    .card-c {
      display: flex;
      flex-direction: row;
      width: 70vw;
      margin: auto;
      font-size: 0.8rem;
      height: 160px;
    }
    .p_card-c{
      top:42%;
      right: 5%;
    }
    .card-c:first-child .p_card-c,
    .card-c:last-child .p_card-c {
      top: 55%;
      right: 10%;
    }
    .icon_card-c img {
        height: 80px;
    }
    .card-title {
        text-align: left;
    }
    .block {
        margin-top: 30px;
    }
    .card_box {
        display: block;
        width: auto;
    }
    .card {
        width: 80%;
        margin: auto;
    }
    .title {
        border: none;
    }
    .icon_card {
        height: 80px;
    }
    .story img {
        width: 90vw;
    }
    .pillow {
        height: 6vh;
    }
}

@media only screen and (min-width: 577px) and (max-width: 992px) {
  .card-c {
    display: flex;
    flex-direction: row;
    width: 45vw;
    margin: auto;
    height: 180px;
    max-width: 345px;
  }
  .p_card-c {
    right:7%;
    top:45%;
  }
  .card-c:first-child .p_card-c,
  .card-c:last-child .p_card-c {
    top: 55%;
    right: 10%;
  }
  .icon_card-c img {
      height: 80px;
  }
    h2 {
        text-align: center;
    }
    .title {
        border: none;
    }
    .card_box {
        display: block;
    }
    .card {
        width: 50vw;
        margin: auto;
    }
    .block {
        margin-top: 20px;
    }
    .icon_card img {
        height: 80px;
    }
    .title {
        margin-bottom: 10px;
    }
}
/*-------------------------------OSSERVATORIO-------------------------------*/






/*-------------------------------ATTIVITÀ-------------------------------*/
.activity-back-image {
    position: relative;
    overflow: hidden;
    background: url(img/activity-back-image.jpg) no-repeat center fixed;
    height: 60vh;
    background-size: cover;
}

.mlk-section {
    background: url("img/moon.jpg") no-repeat center;
    background-size: cover;
}

.activity-back-image h1 {
    text-align: center;
}

.mlk-section h3 {
    text-align: center;
}

.form-section p span {
    color: #e3cca1;
    margin-right: 10px;
    font-size: 1.4rem;
}

.form-section p {
    font-size: 1.3rem;
}

.form-section label {
    margin-left: 12px;
    color: #f2f6ff;
    font-size: 1rem;
}

.form-control {
    background: transparent;
    border:0;
    border-radius: 0;
    border-bottom: 1px solid #e3cca1;
    margin-top: -10px;
}

.form-control:focus {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e3cca1;
    box-shadow: none;
    color: #f2f6ff;
}

.form-section {
    background: url("img/back-form.jpg") no-repeat center;
    background-size: cover;
    position: relative;
}

@media only screen and (max-width: 576px) {
    .btn-primary {
        float: none;
        position: relative;
        left: 50%;
        margin-left: -100px;
    }
    .mlk-section h3 {
        font-size: 1.1rem;
    }
}
/*-------------------------------ATTIVITÀ-------------------------------*/






/*-------------------------------ABOUT-------------------------------*/
.about-back-image {
    position: relative;
    overflow: hidden;
    background: url(img/about-back-image.jpg) no-repeat center fixed;
    height: 60vh;
    background-size: cover;
}

.about-back-image h1 {
    text-align: center;
}

iframe {
    height: 400px;
    width: 1140px;
    border: 3px solid #f2f6ff;
    border-radius: 20px;
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 230px;
}

.help-btn {
    height: auto;
    width: 230px;
    position: absolute;
    right: 20%;
}

.help-btn img {
    height: 120px;
    position: absolute;
    z-index: 5;
}

.help-btn button {
    background-color: #eee;
    padding: 0.8em 1em;
    border: solid 2px #e3caa1;
    border-radius: 5px;
    position: relative;
    left: 115px;
    top: 35px;
    z-index: 0;
    font-weight: 500;
}

.help-btn button:hover {
    background-color: #e3caa1;
}

.help-img {
    height: 120px;
    display: block;
}

.contact .title {
    border: none;
}

@media only screen and (max-width: 576px) {
    .help-btn {
        position: absolute;
        right: 20vw;
    }
    iframe {
        height: 250px;
        width: 90vw;
        top: 140px;
    }
    h2 {
        text-align: center;
    }
}

@media only screen and (min-width: 577px) and (max-width: 992px) {
    iframe {
        height: 300px;
        width: 70vw;
        top: 170px;
    }
}

@media only screen and (min-width: 993px) and (max-width: 1200px) {
    iframe {
        width: 90vw;
        top: 220px;
    }
}


/*-------------------------------ABOUT-------------------------------*/






/*-------------------------------NEWS-------------------------------*/
.news-back-image {
    position: relative;
    overflow: hidden;
    background: url(img/cover5.jpg) no-repeat center fixed;
    height: 60vh;
    background-size: cover;
}

.news-back-image h1 {
    text-align: center;
}

.article {
    display: flex;
    align-items: center;
}

.im-news{
    border: 2px solid #f2f6ff;
    border-radius: 10px;
    width: 100%;
    height: auto;
}


.section-news h3 {
    font-size: x-large;
    color: #e3cca1 !important;
    font-weight: bold;
}

button {
    font-weight: bold;
    color: #000112;
    border: 2px solid #e3cca1;
    border-radius: 5px;
    background-color: white;
}

button .showmore{
    position: relative;
    right: 0;
}

#more, #more2, #more3, #more4 {
    display: none;
}

@media only screen and (max-width: 992px) {
    .description {
        margin: 30px 15px 0 15px;
    }
    .frame {
        text-align: center;
    }
}
/*-------------------------------NEWS-------------------------------*/





/*-------------------------------GALLERY-ALBUM------------------------------*/
.gallery-back-image {
  position: relative;
  overflow: hidden;
  background: url(img/cover3.jpg) no-repeat center fixed;
  height: 60vh;
  background-size: cover;
}

.gallery-back-image h1 {
    text-align: center;
}
.gallery-cover h2 {
  text-align: center;
}
.containerg {
    width: 80vw;
}

.mySlides {
    display: none;
}

.cursor {
    cursor: pointer;
}

.breadcrumb {
    background-color: inherit;
    text-decoration: none;
}

.breadcrumb a {
    text-decoration: none;
    color: #e3caa1;
}

.galleryflex{
    display: flex;
}

.prev,
.next {
    text-align: center;
    line-height: 70px;
    cursor: pointer;
    position: relative;
    top: 50%;
    transform: translate(-50%,-50%);
    color: #f2f6ff;
    font-weight: bold;
    font-size: 3rem;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 100px;
}

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

.next:hover,
.prev:hover {
    color: rgba(200, 200, 200, 0.9);
    -webkit-transition: 0.6s;
}

.prev {
    left: -1.5vw;
}

.next {
    right: -1.5vw;
}

.numbertext {
    color: #f2f6ff;
    font-size: 12px;
    padding: 8px 12px;
    position: relative;
    bottom: 10px;
}

.caption-container {
    text-align: center;
    padding: 8px 16px;
    color: #f2f6ff;
}

#caption {
    height: 150px;
    font-size: 2em;
    line-height: 150px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.rowg {
    display: grid;
    grid-template-columns: auto auto auto auto;
}

.columng {
    float: left;
    width: 1fr;
    margin: 0.5em;
}

.numbertext img {
    border-radius: 20px;
}

.demo {
    opacity: 1;
    border-radius: 15px;
    border: 2px solid transparent;
}

.demo:hover {
    filter: brightness(1.2);
}

.activeg {
    border: solid #eee 2px ;
    /* box-sizing: border-box !important; */
}

.btng {
    /* display: block; */
    /* height: auto; */
    width: 100%;
}

.gbutton {
      width: auto;
      height: 50px;
      background: #f2f6ff;
      border: 3px solid #e3cca1;
      border-radius: 5px;
      color: #000112;
      font-weight: bold;
      margin: auto;
  }

  .gbutton:hover {
      background: #e3cca1;
      color: #000112;
      border: 3px solid #e3cca1;
      border-radius: 5px;
  }
    /* background-color: #eee;
    font-weight: 500;
    color: #000112;
    border: none;
    border-radius: 10px;
    padding: 0.5em 1em;
    margin:  auto;
    margin-top: 10vh;
} */

.center{
    margin: 0 auto;
    width: 171px;
}



@media only screen and (max-width: 992px) {
    .row {
        grid-template-columns:  auto auto auto;
    }
    .prev,
    .next {
        font-size: 2em;
        top: 35%;
    }
}
@media screen and (max-width: 576px) {
    .row {
        grid-template-columns:  auto auto;
    }
    .prev,
    .next {
        font-size: 0.7rem;
        top:25%;
    }
    .breadcrumb li{
        font-size: 0.65rem;
    }
}
/*-------------------------------GALLERY-ALBUM------------------------------*/





/*-------------------------------GALLERY-MAIN-------------------------------*/
.boxg{
    width: 100%;
    height: 700px;
    background-color: #000112;
}

@media only screen and (max-width: 767px){
    .boxg{
        height: 1500px;
    }
}

@media only screen and (max-width: 350px){
    .cardg{
        display: none;
    }
}

.containergm{
    width: 100%;
    height: 100%;
    background-color: #000112;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cardg{
    width:300px;
    height: auto;
    margin: auto;
    background-color: #000112;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 0 solid;
}

.titleg{
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 20px;
    color: #f2f6ff;
    z-index: 10;
    white-space: nowrap;
}

.img_card{
    width: 100%;
    transition: all 0.3s ease-in-out;
    opacity: 0.8;
}

.img_card:hover {
    transform: scale(1.1);
    filter: brightness(0.5);
}
/*-------------------------------GALLERY-MAIN-------------------------------*/






/*--------------------------------FOOTER-------------------------------------*/
.info a {
    color: #000112;
    display: inline-block;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
}
.info ul li {
  padding: 0 2px 1px 4px;
  border-radius: 5px;
}
.info ul li a{
  padding: 0 2px 1px 4px;
  border-radius: 3px;
}

ul {
  list-style-type: none;

}
ul span {
  font-weight: bolder;
  font-size: 0.9rem;
  margin-left: 4px;
}
.info li a:hover {
  border-bottom: 2px solid #000112;
  /* text-decoration: underline; */
  /* background-color: #aaaaff; */
  transition: 0.4s;
}

.address a:hover {
  border-left: 2px solid #000112;
}
.address span {
  margin-left: 25px;
}
.info:last-child  a:hover {
  border-bottom: 2px solid #000112;
  /* border-left: 2px solid #000112; */
}
.footer-mobile img{
    margin-top: 35px;
    margin-right: 5px;
    height: 30px;
}

.footer, .footer-mobile {
    background-color: #f2f6ff;
}

.footer p, .footer-mobile p {
    color: #000112;
}

.col-sm-4 {
    display: flex;
    justify-content: space-between;
}

.tablet-footer p,
.tablet-footer ul {
    margin-top: 2vh;
    font-size: 0.9rem;
}
.tablet-footer ul li a,
.table-footer ul li{
  font-size: 0.9rem;
}
@media only screen and (max-width: 576px) {
    .tablet-footer, .web-footer {
        display: none;
    }
}

@media only screen and (min-width: 577px) and (max-width: 992px) {
    .footer-mobile, .web-footer {
        display: none;
    }
    .info:last-child  a:hover {
        border-bottom: 2px solid #f2f6ff;

    }
}

@media only screen and (min-width: 992px) {
    .tablet-footer, .footer-mobile{
        display: none;
    }
}
/*--------------------------------FOOTER-------------------------------------*/

.in {
    margin-left: -2px;
}