*{
    background-color: #000;/*#262626;*/
    /* font-family: 'Lora', sans-serif; */
}

#main-body{
    padding-top: 56px;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #1a1a1a; 
    border-radius: 1px; 
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1; 
}

a{
    transition: color 0.3s ease;
}

a:hover {
    color: #cccccc !important; 
}

.navbar{
    flex-wrap: nowrap;
}

.navbar-custom {
    background-color: #000;/*#262626;*/ 
}

.navbar-custom .navbar-brand {
    color: white; 
}

.navbar-brand img{
    /*max-width: 150px;*/ 
    height: auto;
}

.navbar-toggler {
    border: none;
}



.navbar-custom .nav-link {
    color: white;
}

#service-link {
    transition: border-bottom 0.3s;
}

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

h1, h2, h3, h4, h5{
    color: white;
    font-family: 'Poppins', sans-serif;
}

#card_title{
    font-size: 4vh!important;
}

p{
    color: white;
    font-family: 'Suisse intl', sans-serif;
}

.bi-arrow-right-short, .bi-arrow-left{
    background-color: transparent;
}

.map-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    background: #f3f3f3;
    border-radius: 8px;
    width: 100%; 
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-container {
    position: relative;
    width: 100%;
    height: 33vh;
}

.img-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.carousel-inner {
    height: 40vh;
}

.carousel-item {
    margin-right: 0; 
}

.carousel-item img{
    width: 100%;
    height: auto;
}

.button{
    background-color: #000;
    color: white;

    border: 1px solid;
    border-color: white;
    height: 5vh;
}

.button:hover, .button-service-info:hover{
    background-color: #1a1a1a;
    border-color: #f1f1f1;
}

.button-service-info{
    background-color: #000;
    color: white;

    border: 1px solid;
    border-color: white;
    width: 100%;
    max-width: 200px;
    font-size: 16px; 
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}


/* GALLERY CSS */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
}

.modal-content {
    max-width: 80%; 
    max-height: 80%;
    display: block;
    margin: auto;
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); 
    margin-top: 10vh;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 10px;
    border-radius: 100%;
    transition: background-color 0.3s ease;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.2); 
}

body.modal-open {
    overflow: hidden;
}

.certificate-image-about{
    height: 30vh;
    width: 100%;
    max-width: 200px;
    border-radius: 300px;
}

.modal-body-color{
    background-color: #fff !important;
    border: none;
}

.modal-body {
    background-color: transparent;
}

.custom-modal-content {
    background-color: rgba(255, 255, 255, 0) !important; 
    border: none !important;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pagination a {
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    margin: 2px;
    border-radius: 4px;
}

.pagination a.active {
    background-color: white;
    color: black;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.left-arrow-dimensions {
    width: 24px;  
    height: 24px; 
}

.about_image_principal{
    height: 50vh; 
    width: 100%; 
    max-width: 450px;
}

.video-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin-bottom: 2rem;
    margin-top: 2.7rem;
}
  
.video-shadow {
    /* box-shadow:
      0 0 30px 10px rgba(255, 255, 255, 0.15),
      0 0 40px 15px rgba(0, 123, 255, 0.15); */
    border-radius: 12px;
    max-width: 90%;
    max-height: 70vh;
    height: auto;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .row {
        flex-direction: column-reverse;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        margin-right: auto; 
    }

    .navbar-toggler {
        margin-left: auto; 
    }

    .video-container {
        height: auto;
        padding: 1rem 0;
    }
    
    .video-shadow {
        max-width: 100%;
        max-height: 50vh;
        box-shadow:
            0 0 20px 6px rgba(255, 255, 255, 0.1),
            0 0 30px 10px rgba(0, 123, 255, 0.1);
    }
}

@media (min-width: 768px) {
    .responsive-hr-left {
        margin-left: 292px;
        width: calc(100% - 292px);
    }

    .responsive-hr-right {
        margin-right: 292px;
        width: calc(100% - 292px); 
    }

    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 25px;
    }
}

@media (max-width: 767px) {
    .responsive-hr-left, .responsive-hr-right {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .navbar{
        max-height: 10vh;
    }

    .navbar-brand{
        max-width: 23vw;
    }

    .left-arrow-dimensions {
        width: 12px;  
        height: 12px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 80%;  
        max-height: 70%; 
    }

    .button-service-info {
        width: 100%;
        max-width: 100%;
        font-size: 14px; 
        padding: 20px; 
    }

    .custom-modal-content{
        margin-left: 6vw;
    }

    .pagination a {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .video-container{
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 90%;
        max-height: 60%; 
    }

    .close {
        font-size: 20px;
    }

    .pagination a {
        padding: 5px 10px;
        font-size: 14px; 
    }

    .video-shadow {
        max-height: 40vh;
        box-shadow:
          0 0 15px 4px rgba(255, 255, 255, 0.08),
          0 0 20px 6px rgba(0, 123, 255, 0.08);
    }

    .video-container{
        margin-bottom: 20px;
    }
}

@media (max-width: 820px) {
    img {
        width: auto; 
        max-width: 80%;
    }
    
    .col-md-4 {
        padding: 0; /* Riduci margini o padding */
    }
}

@media (max-width: 991px) {
    .about_image_principal{
        height: 60vh; 
        width: 100%; 
        max-width: 420px;
    }
}

@font-face{
    font-family: 'Suisse intl';
    src: url('../fonts/Suisse Intl/SuisseIntl-Light.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}