/* ==============================
ESTILOS GENERALES
============================== */

body {
  background-color: #fff;
  font-size: 5px;
  color: #000;
  margin: 0;
  padding: 0;
  font-family: Oswald, Icons;
  font-style: normal;
  font-weight: 600;
}

a:active { opacity: 0.7; }
.page a.active { opacity: 0.4; }

i, em { font-style: italic; }
b, strong { font-weight: bolder; }

sub, sup {
  position: relative;
  vertical-align: baseline;
}

sub { top: 0.3em; }
sup { top: -0.4em; }

s { text-decoration: line-through; }

img {
  border: 0;
  padding: 0;
}

ul, ol {
  margin: 0;
  padding: 0 0 0 1em;
}

blockquote {
  margin: 0;
  padding: 0 0 0 2em;
}

hr {
  background: rgba(127, 127, 127, 0.2);
  border: 0;
  height: 1px;
  display: block;
}

/* ==============================
CONTENIDO
============================== */

.gallery-container {
  padding-left: 250px;
  padding-right: 400px;
  margin-top: 10px;
}

/* ==============================
GALERÍA DESKTOP
============================== */

@media (min-width: 801px) {

  .gallery-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: none;
    width: max-content;
    min-width: 100vw;
    padding-left: 20px;
    padding-right: 20px;
    gap: 25px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-container img {
    flex-shrink: 0;
    max-height: 85vh;
    width: auto;
  }
    
.gallery-container::-webkit-scrollbar {
  height: 12px;
}

.gallery-container::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
}

.gallery-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.4);
  border-radius: 10px;
}
 
  

  #mobile-top-bar,
  #mobile-menu {
    display: none !important;
  }
  }

/* ==============================
MÓVIL
============================== */

@media (max-width: 800px) {

  .page-left,
  #left-nav,
  .home-text,
  .thumbnails,
  .thumbnails-container {
    display: none !important;
  }

  .page_content.clearfix > div[style*="text-align: left"] {
    display: none !important;
  }

  #mobile-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
  }

  #mobile-logo {
    font-family: Oswald, Icons;
    font-weight: 600;
    font-size: 40px;
    color: #000;
  }

  #mobile-menu-button {
    display: block;
    font-size: 35px;
    font-weight: 300;
    color: black;
    cursor: pointer;
  }

  #mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9998;
    padding: 20px;

    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.4s ease;
  }

  #mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  #mobile-menu-title {
    font-size: 35px;
    color: white;
    margin-bottom: 30px;
    font-family: Oswald, Icons;
    font-weight: 600;
  }

  #mobile-menu-items a {
    display: block;
    font-size: 26px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-family: "ROM Condensed", sans-serif;
  }

  #mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 20px;
    color: white;
    font-size: 36px;
    cursor: pointer;
  }
}


/* ==============================
FEED HORIZONTAL DESKTOP
============================== */

@media (min-width: 801px) {

    .page_container {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  width: 100vw;
  height: 100vh;
}
    
.page_content.clearfix a.image-link img {
  height: auto !important;
  width: auto !important;
  max-height: 80vh !important;
}

.page {
  width: max-content !important;
  max-width: none !important;
}

.page_content.clearfix {
  display: inline-flex !important;
  flex-wrap: nowrap;
  width: max-content !important;
  min-width: max-content !important;
  height: 100vh;
  padding-top: 60px;
  padding-bottom: 70px;
  padding-left: 250px !important;
}

.page_content.clearfix > div[style*="text-align: left"] {
  position: fixed !important;
  left: 25px;
  top: 45px;
  width: 190px;
  background: white;
  z-index: 9999;
}

.page_content.clearfix > img {
  flex: 0 0 auto;
  display: block;
  height: auto !important;
  width: auto !important;
  max-height: 80vh !important;
}

.page_container::-webkit-scrollbar {
  height: 12px;
}

.page_container::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
}

.page_container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.4);
  border-radius: 10px;
}

}

/* SCROLL HORIZONTAL */

@media (min-width: 801px) {


}


/* BARRA BLANCA IZQUIERDA (MENÚ FIJO) */

/**
* Editor styles
*/
[data-predefined-style="true"] bodycopy {
font-size: 2rem;
font-weight: 400;
color: rgba(0, 0, 0, 0.85);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, 'Sans Serif', Icons;
font-style: normal;
line-height: 1.3;
}
[data-predefined-style="true"] bodycopy a {
color: rgb(105, 143, 255);
padding-bottom: 0.1em;
border-bottom: 0.0em solid rgba(127, 127, 127, 0.2);
text-decoration: none;
}
[data-predefined-style="true"] bodycopy a:hover {
}
bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
border-bottom: 0;
padding-bottom: 0;
}
[data-predefined-style="true"] h1 {
font-family: Spectral, Icons;
font-style: normal;
font-weight: 700;
padding: 0;
margin: 0;
font-size: 2.8rem;
line-height: 0.6;
color: rgba(0, 0, 0, 1);
}
[data-predefined-style="true"] h1 a {
color: rgba(0, 0, 0, 0.85);
}
[data-predefined-style="true"] h2 {
font-family: Spectral, Icons;
font-style: normal;
font-weight: 400;
padding: 0;
margin: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 2.1rem;
line-height: 1.3;
}
[data-predefined-style="true"] h2 a {
color: rgba(0, 0, 0, 0.85);
}
[data-predefined-style="true"] small {
display: inline-block;
font-size: 1.6rem;
line-height: 1.3;
font-family: Spectral, Icons;
font-style: normal;
font-weight: 400;
color: rgba(0, 0, 0, 0.35);
}
[data-predefined-style="true"] small a {
color: rgba(0, 0, 0, 1);
border-bottom-width: 0em;
}

[data-css-preset] .container {
	text-align: left /*!text_left*/;
	margin-left: 0 /*!content_left*/;
	margin-right: auto /*!content_left*/;
}


[data-css-preset] body {
	background-color: rgb(255, 255, 255) /*!body_bgcolor*/;
}

[data-css-preset] .content_padding {
	padding-top: 0.6rem /*!main_margin*/;
	padding-bottom: 0.6rem /*!main_margin*/;
	padding-left: 0.6rem /*!main_margin*/;
	padding-right: 0.6rem /*!main_margin*/;
}

html, body {
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100%;
}
/* ===== FIX DEFINITIVO SCROLL HORIZONTAL ===== */
    
   bodycopy {
  background: transparent !important;
}

/* ===== FIX MENU FIJO CARGO ===== */

.pinned_top {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 220px !important;
  height: 100vh !important;
  z-index: 99999 !important;
  background: white !important;
}

.pinned_top .page_container {
  width: 220px !important;
  background: transparent !important;
}

.pinned_top .page {
  width: 220px !important;
  min-height: auto !important;
  overflow: hidden !important;
  background: transparent !important;
}

.content_container {
  margin-left: 0px !important;
}
/* ==============================
RESET GALERÍA MÓVIL VERTICAL
============================== */

@media (max-width: 800px) {

  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
  }


  /* Contenedor principal Cargo */
  .page_container,
  .page,
  .content,
  .container {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }


  /* Convertimos la galería en columna */
  .page_content.clearfix {

    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;

    padding: 80px 20px 40px 20px !important;

    gap: 20px !important;

    overflow: visible !important;
  }


  /* Cada imagen ocupa pantalla */
  .page_content.clearfix img {

    display: block !important;

    width: 100% !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: none !important;

    object-fit: contain !important;

  }


  /* Quitamos comportamiento horizontal de enlaces de imagen */
  .page_content.clearfix a.image-link {

    display: block !important;

    width: 100% !important;

  }


  /* Evita que Cargo fuerce tamaños */
  .gallery-container {

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    padding: 80px 20px 30px 20px !important;

    overflow: visible !important;

  }


  .gallery-container img {

    width: 100% !important;
    height: auto !important;

    max-height: none !important;

    margin-bottom: 20px;

  }


}
/* ==============================
OCULTAR MENU DESKTOP EN MÓVIL
============================== */

@media (max-width: 800px) {

  .pinned_top {
    display: none !important;
  }

  .pinned_top .page_container,
  .pinned_top .page {
    display: none !important;
  }

}