.myboxcont {
    padding: 6px;
}
.mybox {
    display: flex;
    justify-content: center;
    align-items: end;
    /* border: 1px solid #f3d3d6; */
    aspect-ratio: 16/9;
    margin: 10px;
    /* margin-right: 15px; */
    /* margin-left: 15px; */
    background-size: cover;
    font-size: 90%;
    line-height: normal;
}
.mybox .style11 {
    background-color: #ffffffde;
    width: 100%;
    border: 1px solid #007bff;
    padding: 5px;
}
div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: 45%;
    aspect-ratio: 16/10;

    background-size: cover;
    background-position: center;
  }
  
  div.gallery:hover {
    border: 1px solid #777;
  }
  
  div.gallery img {
    width: 100%;
    height: auto;
  }
  
.sidebar {
    background-color: #e3f0ff;
}
.myimg {    
    width: 100%;  
    border: 1px solid #51b2f7;
    padding: 8px;
}
a.style11:hover {
    text-decoration: none;
    color: #bd2130;
}

.main-content {
    padding-left: 30px;
    padding-right2: 30px;
    line-height: 1.6;
}
.ubord {border-bottom: 1px solid #51b2f7;}

.myheader {
    background-image: url(../images/header3.jpg);
    min-height2: 400px;
    background-size: cover;
    aspect-ratio: 1700/608;
}

.box-realiz {
    background-image2: url(images/back_zz.jpg);
    background-size2: cover;
}

.tabrealiz td {
    font-size: 12px;
    padding: 5px;
    font-weight: bold;
}

ul.realiz_li {
    background-color2: #EEEFF0;
    padding: 20px;
    padding-left: 25px;
    margin-bottom2: 2.4rem;

    list-style-type: none;
    border2: 1px solid #007bff40;

}

.realiz_li li {
    list-style-image2: url(../images/point_4.jpg);
    font-size: 16px;
    padding: 6px;
    font-weight2: bold;

    border-bottom: 1px solid #007bff40;
}


ul.realiz_li li::before {
    content: '\276F';
    font-size: 15px;
    color: #bd2130;
    line-height: 1.7;
    padding-right: 10px;
  }

.box1 {
    background-color: #868e94;
    background-color: #00457a;
    color: white;
}

.subcont {
    border: 1px solid lightgrey;
}

.style8 {
    font-size: 12px;
}

a {
    color: #0062cc;
}

.navbar-dark .navbar-nav .nav-link {

    color: white;
    border: 1px solid #66b0ff;
    margin-right: 10px;
    margin-left: 10px;
    padding: 10px;
    padding-bottom: 3px;
    padding-top: 3px;
    border-radius: 6px;

}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #66b0ff;
}

.titolo1::before {
    content: '\2771';
    font-size: 30px;
    color: #5db1fb;
    line-height: 1.7;
    padding-right: 8px;
}

.titolo1 {
    font-variant: small-caps;
    font-weight: bold;
    border-bottom2: 1px solid #51b2f7;
}

h1.titolo1 {
    font-size: 34px;
}

h2.titolo1 {
    font-size: 27px;
}

/* zoom css */
#imgdesc {
    color: white;
    text-align: center;
    padding: 5px;
}
.toZoom {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .toZoom:hover {opacity: 0.7;}
  
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 5%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    cursor: pointer;
  }

  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    cursor: pointer;
  }
  
  /* Add Animation */
  .modal-content {  
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  img.modal-content {
    max-width2: 90%;
    max-height: 90%;
  
    object-fit: contain;
    object-fit2: cover;
    background-color: transparent;
border: 0px;
}


  @keyframes zoom {
    from {transform: scale(0.1)} 
    to {transform: scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  


/* end zoom*/
.REMOVEME {
    background-color: white;
display:none;
font-size:9px;

}

@media screen and (max-width: 1200px) {
    h2.titolo1 {
        font-size: 22px;
    }
}
@media screen and (max-width: 992px) {
    .navbar-dark .navbar-nav .nav-link {
        border: none;
        margin: 0;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 0;
    }

    h2.titolo1 {font-size: 22px; }
    h1.titolo1 { font-size: 26px;  }
}
@media screen and (max-width: 768px) {
    h2.titolo1 {font-size: 17px; }
    h1.titolo1 { font-size: 21px;  }
    .realiz_li li { font-size: 15px; }
    .main-content {  line-height: 1.5; font-size:90%;  }
    .modal-content { width: 100%; }
    .footerz{ font-size: 85%; }

}
