﻿:root {
    --primary-color: #005f73;
    --secondary-color: #94d2bd;
    --text-color: #333;
    --max-width: 1000px;
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 1rem;
}
header {
    position:relative;
    background: #F8F8F4;
    color: var(--text-color);
    padding: 1rem;
    text-align: center;
}

.lang-switcher {
    position: absolute;
    top: 2rem;
    right: 2rem;
}
    .lang-switcher .btn{
        padding:2px;
    }
    .audio-switcher {
        position: absolute;
        left: 2rem;
        top: 2rem;
    }


.label {
    font-weight: bold;
}

.row {
    td {
        padding: 5px;
    }
}

table {
    border-collapse: collapse;
    border: 1px solid #e1dada;
}

td, th, tr {
    .preferencial {
        color: red;
    }

    border: 1px solid #e1dada;
}
table.info{
    width:auto;
    max-width:100%;
}
/* The Modal (background) */

/* Modal Content/Box */
.modal-header {
  padding:5px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;

    &:hover,
    &:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
}


th, .bold {
    font-weight: 700;
}
.logo{
    text-align: center;
    display: block;
    max-width: 200px;
    margin: auto;
}
.justified-gallery img 
{
    cursor: pointer;
    transition: transform 0.2s;
}

.justified-gallery img :hover {
        transform: scale(1.05);
 
}
#imageModal .modal-content {
    max-height: 96vh;
}

#imageModal .modal-body {
    overflow: hidden;
    padding: 0;
}

.image-container {
    width: 100%;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container img {
    max-width: 100%;
    max-height: calc(96vh - 50px);
    object-fit: contain;
    transition: opacity 0.2s ease;
    display: block;
}

.photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    font-size: 3rem;
    width: 52px;
    line-height: 1;
    padding: 6px 0;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background 0.15s;
    user-select: none;
}
.photo-nav:hover  { background: rgba(0, 0, 0, 0.75); }
.photo-nav-prev   { left: 8px; }
.photo-nav-next   { right: 8px; }

#photoCounter {
    flex: 1;
    text-align: left;
}
    .promo{
        background-color:darkred;
        color:white;
        font-size:16px;
    }
.blinking {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    25%,75% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
}

@media only screen and (max-width: 600px) {
    header{
        padding-bottom:2rem;
    }
    .lang-switcher, .audio-switcher {
       top:unset;
       bottom:5px;
    }
    .lang-switcher
    {
        right:1px;
    }
    .audio-switcher {
        left: 1px;
        max-width:260px;
        max-height: 45px;
    }
    .audio-switcher audio {
        max-width: 260px;
        max-height: 30px;
    }
    .table-responsive tbody td {
        white-space: nowrap;
    }
}