
/* =========================================================
   MAIN.CSS 〞 Estilos personalizados del sitio
   Compatible con Bootstrap 3.2.0
   ========================================================= */

/* -------------------------
   Base y estructura
   ------------------------- */

body {
    margin-top: 70px;
    color: #333;
}

body div h1 {
    margin-top: 0;
    margin-bottom: 0.5em;
    margin-left: 0;
}

#wraper {
    /* Conservado como selector disponible para el sitio */
}

#pageTop {
    text-decoration: none;
}

.admin_body {
    padding-top: 150px;
}

#form {
    margin-left: 10px;
}

a:hover {
    font-style: normal;
}

img {
    border: 0;
    padding: 0;
}

/* -------------------------
   Botones y desplazamiento
   ------------------------- */

.btn:focus,
.btn:active,
.btn.active {
    outline: 0;
}

.scroll-top {
    position: fixed;
    z-index: 1049;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
}

.scroll-top .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 28px;
}

.scroll-top .btn:focus {
    outline: 0;
}

/* -------------------------
   Listas y mensajes
   ------------------------- */

li {
    list-style-type: square;
}

.message {
    margin: 1em 0;
    padding: 9px;
    border: none;
    color: #333;
    font-weight: normal;
}

.message-fondo-wwhatsapp {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    color: #333;
    font-weight: bold;
    background-color: #e1dad2;
}

.message-fondo-facebook {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    color: #333;
    font-weight: bold;
    background-color: #fff;
}

.message-whatsapp {
    margin: 0;
    padding: 9px;
    border: 0;
    background-image: url("https://www.mediosyarte.com/assets/img/mensaje_whatsapp.svg");
    background-repeat: no-repeat;
}

.message-facebook {
    margin-top: 0.5em;
    padding: 9px;
    border: 0;
    background-image: url("https://www.mediosyarte.com/assets/img/mensaje_facebook.svg");
    background-repeat: no-repeat;
}

.message_verde_whatsapp {
    margin-top: 0;
    padding: 9px;
    border: 0;
    background-color: #00855b;
    background-image: url("https://www.mediosyarte.com/assets/img/hernando.png");
    background-repeat: no-repeat;
    background-size: contain;
    text-align: right;
}

.message_azul_facebook {
    margin-top: 0;
    padding: 9px;
    border: 0;
    border-bottom: 1px solid;
    border-radius: 5px;
    background-color: #fff;
    background-image: url("https://www.mediosyarte.com/assets/img/hernando.png");
    background-repeat: no-repeat;
    background-size: contain;
    text-align: right;
}

/* -------------------------
   Navegaci車n
   ------------------------- */

.navbar-fixed-top {
    background-color: #f2f2f2;
}

@media (max-width: 767px) {
    #collapse {
        position: fixed;
        top: 58px;
        left: 0;
        z-index: 99999;
        width: 100%;
        max-height: calc(100vh - 60px);
        padding: 15px;
        overflow-y: auto;
        background: #f2f2f2;
    }
}

/* -------------------------
   Paginaci車n
   ------------------------- */

#pagination .selected {
    font-weight: bold;
    color: #8d0d19;
}

/* -------------------------
   Pie de p芍gina
   ------------------------- */

#footer {
    position: relative;
    height: auto;
    margin-top: 1em;
    padding: 20px 0;
    background-color: #e8e8e8;
    color: #4d4d4d;
    text-align: center;
    font-family: Verdana, sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#social-follow {
    margin: 10px 0;
}

#social-follow a {
    margin: 0 10px;
    color: #4d4d4d;
    font-size: 20px;
    transition: transform 0.3s;
}

#social-follow a:hover {
    color: #333;
    transform: scale(1.2);
}

.location {
    margin-top: 10px;
    font-size: 12px;
}

/* -------------------------
   Contenido y columnas
   ------------------------- */

.frame-columns {
    display: block;
    margin: 0;
}

.column_3 {
    display: block;
    float: left;
    width: 50%;
}

.column_3,
.column_4,
.column_6,
.column_9,
.column_12 {
    position: relative;
    min-height: 1px;
    margin-bottom: 0;
    padding-right: 15px;
    padding-left: 15px;
    text-align: center;
}

/* -------------------------
   Barra e iconos
   ------------------------- */

.barrai {
    float: left;
    margin-left: 1em;
    padding-top: 0.8em;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.barrai a,
.barrai a:visited,
.barrai a:active {
    color: #474747;
    text-decoration: none;
}

.icono {
    float: left;
    margin: 0.3em 0 0.3em 1em;
    padding-top: 0;
    font-size: 18px;
    font-weight: bold;
}

.notai {
    float: right;
    margin-right: 1.4em;
    padding-top: 1.4em;
    font-size: 12px;
    font-weight: bold;
}

/* -------------------------
   Videos adaptables
   ------------------------- */

.v-container {
    position: relative;
    height: 0;
    padding-top: 0;
    padding-bottom: 52.5%;
}

.v-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* -------------------------
   Miniaturas y capas de video
   ------------------------- */

.thumbnail {
    position: relative;
    display: inline-block;
}

.thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

.overlay-background {
    position: absolute;
    top: 9px;
    right: 9px;
    bottom: 9px;
    left: 9px;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.5);
}

.overlay-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: auto;
    padding: 9px;
    pointer-events: none;
}

/* -------------------------
   Texto superpuesto
   ------------------------- */

.text-overlay {
    position: absolute;
    top: 75%;
    left: 50%;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    transform: translate(-50%, -50%);
}

.figure-caption {
    font-size: 0.2em;
    font-style: italic;
    text-align: right;
}

/* -------------------------
   Ajustes de columnas Bootstrap
   ------------------------- */

[class*="col-"] {
    padding-right: 6px !important;
    padding-left: 6px !important;
}

@media (max-width: 767px) {
    .row-mobile-full {
        margin-right: -15px !important;
        margin-left: -15px !important;
    }
}

/* -------------------------
   Secciones de contenido
   ------------------------- */

.section-container {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

.section-dark {
    margin: 0;
    padding: 14px 7px;
    overflow: hidden;
    border-radius: 5px;
    background: #000;
}

.section-light {
    margin: 14px -7px;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

/* -------------------------
   Modal
   Bootstrap administra su visibilidad.
   ------------------------- */

.modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    background-position: center;
    background-size: cover;
}

.modal .modal-content::before {
    display: none;
}

.close {
    position: absolute;
    z-index: 10000;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

/* Animaci車n de fondo */

.animated {
    animation: animatedBackground 10s linear forwards;
}

@keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

.hidden {
    display: none;
}

@media (min-width: 992px) {
    .modal-content {
        width: auto;
        height: 100vh;
        aspect-ratio: 9 / 16;
        margin: auto;
        overflow: hidden;
        border-radius: 5px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    }
}

/* -------------------------
   Miniaturas complementarias
   ------------------------- */

.thumbs-wrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.thumbs-wrap img {
    width: 97%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* -------------------------
   Paneles con enlaces
   ------------------------- */


/* -------------------------
   Pantallas grandes (PC)
   ------------------------- */

.panel-boton {
    position: relative;
    display: block;
    flex: 1 1;
    flex-basis: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5vmin;
    padding: 1.5vmin;
    overflow: hidden;
    border-radius: 5px;
    background-color: #fff;
    color: grey;
    text-align: left;
    text-decoration: none;
    font-size: 18px; /* Tamaño de letra en PC */
}

.panel-boton img {
    height: 2.1em;
    margin-right: 0.4em;
    border-radius: 5px;
    vertical-align: middle;
}

.panel-boton a,
.panel-boton a:hover,
.panel-boton a:visited,
.panel-boton a:active {
    color: black;
    text-decoration: none;
}

/* -------------------------
   Dispositivos móviles
   ------------------------- */

@media screen and (max-width: 767px) {
    .panel-boton {
        font-size: 14px; /* Tamaño de letra en móvil */
    }
}

.description-text {
    line-height: 1.4em;
    height: 4.2em;
    overflow: hidden;
    position: relative;
}

.description-text::after {
    content: "...";
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 4px;
    background: white;
}
.description-preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    white-space: normal;
}