/*! Made with Bones: http://themble.com/bones :) */
/******************************************************************
Site Name: Cominter 
Author: {float: left;} Studio

Stylesheet: Main Stylesheet

/* normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; height: 0; }

/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */
[hidden], template { display: none; }

/* ==========================================================================
   Base
   ========================================================================== */

html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

body {
  margin: 0; }

/* ==========================================================================
   Links
   ========================================================================== */

a { background: transparent; }
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }
h1 { font-size: 2em; margin: 0.67em 0; }
abbr[title] {border-bottom: 1px dotted; }
b, strong, .strong { font-weight: 700; }
dfn, em, .em { font-style: italic; }
hr {   height: 0;
  -moz-box-sizing: content-box;
  box-sizing: content-box;}
  
p {
  -webkit-hyphens: auto;
  -epub-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto; }

pre {margin: 0; }
  
code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; }
pre {white-space: pre-wrap; }

q { quotes: "\201C" "\201D" "\2018" "\2019"; }
q:before, q:after { content: ''; content: none; }

small, .small { font-size: 75%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

dl, menu, ol, ul { margin: 0; }
dd { margin: 0; }

menu { padding: 0 0 0 40px; }

.entry-content ol, .entry-content ul { padding: 0 0 0 2em; margin: 0 0 1.5em 1em; }
.entry-content ul li { list-style: disc; line-height: 1.6em; }

nav ul, nav ol { list-style: none; list-style-image: none; }

img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
   
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */ }
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */ }
button,
input {
  line-height: normal; }
button,
select {
  text-transform: none; }

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */ }

button[disabled],
html input[disabled] {
  cursor: default; }

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box; }

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */ }

table {
  border-collapse: collapse;
  border-spacing: 0; }

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.image-replacement,
.ir {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden; }

.clearfix, .cf, .comment-respond {
  zoom: 1; }
  .clearfix:before, .clearfix:after, .cf:before, .comment-respond:before, .cf:after, .comment-respond:after {
    content: "";
    display: table; }
  .clearfix:after, .cf:after, .comment-respond:after {
    clear: both; }

span.amp {
  font-family: Baskerville,'Goudy Old Style',Palatino,'Book Antiqua',serif !important;
  font-style: italic; }


p{
  -ms-word-break: keep-all;
  -ms-word-wrap: keep-all;
  word-break: keep-all;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  hyphens: none;
  -webkit-hyphenate-before: 2;
  -webkit-hyphenate-after: 3;
  hyphenate-lines: 3;
  -webkit-font-feature-settings: "liga", "dlig";
  -moz-font-feature-settings: "liga=1, dlig=1";
  -ms-font-feature-settings: "liga", "dlig";
  -o-font-feature-settings: "liga", "dlig";
  font-feature-settings: "liga", "dlig";
  letter-spacing: 0.02em;
  margin: 0 auto 1.5em;
  font-size: 0.9em; }
  
  li { font-size: 0.9em; } 


.last-col {
  float: right;
  padding-right: 0 !important; }

.alert-help, .alert-info, .alert-error, .alert-success {
  margin: 10px;
  padding: 5px 18px;
  border: 1px solid; }

.alert-help {
  border-color: #e8dc59;
  background: #ebe16f; }

.alert-info {
  border-color: #bfe4f4;
  background: #d5edf8; }

.alert-error {
  border-color: #f8cdce;
  background: #fbe3e4; }

.alert-success {
  border-color: #deeaae;
  background: #e6efc2; }

.blue-btn, .comment-reply-link, #submit {
  display: inline-block;
  position: relative;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  color: white;
  font-size: 0.9em;
  font-size: 34px;
  line-height: 34px;
  font-weight: normal;
  padding: 0 24px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  -webkit-transition: background-color 0.14s ease-in-out;
  transition: background-color 0.14s ease-in-out; }
  .blue-btn:hover, .comment-reply-link:hover, #submit:hover, .blue-btn:focus, .comment-reply-link:focus, #submit:focus {
    color: white;
    text-decoration: none; }
  .blue-btn:active, .comment-reply-link:active, #submit:active {
    top: 1px; }
.blue-btn, .comment-reply-link, #submit {
  background-color: #2980b9; }
  .blue-btn:hover, .comment-reply-link:hover, #submit:hover, .blue-btn:focus, .comment-reply-link:focus, #submit:focus {
    background-color: #2574a8; }
  .blue-btn:active, .comment-reply-link:active, #submit:active {
    background-color: #2472a4; }

/*********************
GENERAL STYLES
*********************/


html, body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}
body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.5;
  color: #000000;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
   }

/*********************
LAYOUT & GRID STYLES
*********************/
.wrap, .wrap-footer {
  width: 90%;
  margin: 0 auto;
  max-width: 1380px; }
  
.wrap-full {
  width: 100%; position: relative; 
  margin: 0 auto;
  max-width: 100%; }

.wrap-full-banner {
  width: 96%; position: relative; 
  margin: 0 auto;
  max-width: 1497px; }
 
.wrap-full-trabaja {
  width: 100%; position: relative; 
  margin: 0 auto;
  max-width: 1566px; }
  
  .banner-trabaja { position: absolute; z-index: 3; top: -18%; right: -4%; width: 22%; max-width: 350px !important;  }
  .banner-trabaja img { width: 100%; height: auto; }
  
  
.wrap-banner {
  width: 70%;
  margin: 0 auto;
  max-width: 1092px; }
  
 .wrap-content {
  width: 76%;
  margin: 0 auto;
  max-width: 1190px; }
  
  .clear { width: 100%; display: block; clear: both;}
  .clear50 { height: 2.5em; display: block; clear: both;}
  .clear60 { height: 3.5em; display: block; clear: both;}
  .clear30 { height: 1.7em; display: block; clear: both;}
  .clear20 { height: 1.25em; display: block; clear: both;}
  .clear70 { height: 4.4em; display: block; clear: both;}
  .clear80 { height: 4.7em; display: block; clear: both;}
  .clear1em { height: 1em; display: block; clear: both;}
  .clear50.desktop { height: 2.5em; display: block; clear: both;}
  .clear100 { height: 6em; display: block; clear: both;}

/*********************
LINK STYLES
*********************/
a, a:visited {  -webkit-appearance: none; outline : none; color: #000;

 }
  a:hover, a:focus, a:visited:hover, a:visited:focus { color: #000;
 }
  a:link, a:visited:link, a:focus, a:active { color: #000;
    /*
    this highlights links on iPhones/iPads.
    so it basically works like the :hover selector
    for mobile devices.
    */
	outline : none; 
    -webkit-tap-highl ight-color: rgba(0, 0, 0, 0.3); 
	-webkit-appearance: none;
	
}

/******************************************************************
H1, H2, H3, H4, H5 STYLES
******************************************************************/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  text-rendering: optimizelegibility;
  font-weight: 600;
 }
  h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a {
    text-decoration: none; }

h1, .h1 {
  font-size: 2.5em;
  line-height: 1.333em; }

h2, .h2 {
  font-size: 2.10em;
  line-height: 1.4em;
  font-weight: 700;
  margin: 0; }

h3, .h3 {
  font-size: 1.5em;
  line-height: 1.4em;
  margin: 0 auto;
  font-weight: 700;  }

h4, .h4 {
  font-size: 1.250em;
  font-weight: 700;
  margin: 0 auto 0.75em; }

h5, .h5 {
  font-size: 0.846em;
  line-height: 2.09em;
  text-transform: uppercase;
  letter-spacing: 2px; }

/*********************
HEADER STYLES
*********************/
.header {  background-color: #fff; width: 100%; position: relative; z-index: 99; -webkit-box-shadow: 0 2em 2em 1px rgba(0,0,0,0.4);
box-shadow: 0 10px 10px 1px rgba(0,0,0,0.2);  }
.home .header {  background-color: rgba(225, 225, 225, 0.65); width: 100%; position: absolute; z-index: 99; border-bottom: none !important;   }
.home .header.sticky {  background-color: #fff; width: 100%; position: fixed; z-index: 99;  -moz-box-shadow: 0 1em 1em rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 1em 1em rgba(0, 0, 0, 0.4);
    box-shadow: 0 1em 1em rgba(0, 0, 0, 0.4);  }
header.sticky {
   position: fixed;
    opacity: 1;
  transform: translateY(-4px);
  transition: .85s linear;
  
}

.history header.sticky {
   position: relative !important;
    opacity: 1;
  
}
.banner { background-color: #000;}
#inner-header { margin: 0 auto !important; padding: 1em 0 0 0; }
#inner-header .clear60 {
    height: 3em;
}

#logo { width: 16%; float: left; margin: 0 0 0.75em 0; }
.home #logo {  margin: 0 0 0.75em 0; }
#logo a { color: #000 !important; text-decoration:none; border: none; font-size: 1em; line-height: 1em; margin: 0 auto; }
#logo img { width: 100%; height:auto; max-width: 220px; }
#menu-header { width: 70%; float: left;
  margin: 0 1.25%; }
  #logo-karto { width: 10.5%; float: right;
  margin: 0;  }
  
#logo-karto img { width: 100%; max-width: 143px !important; margin: 0 auto; height: auto;   }
 
  
#my-language-switcher {
float: right; margin-right: 2em; 
}
 
#my-language-switcher a, #my-language-switcher span.current-lang {
font-size: 0.8em;
padding: 0 0.1em; 
color: #000;
text-decoration:none; 
}
.home #my-language-switcher a, #my-language-switcher-mobile a, .home #my-language-switcher span, .home #my-language-switcher-mobile span {
color: #000 !important;
}
.home .header.sticky #my-language-switcher a, .home .header.sticky #my-language-switcher-mobile a, .home .header.sticky #my-language-switcher span, .home .header.sticky #my-language-switcher-mobile span {
color: #000; 
}



#my-language-switcher span.current-lang {font-weight: 700; } 
#menu-header .wpml-ls-item.wpml-ls-menu-item { display: none; }

/*********************
NAVIGATION STYLES
*********************/

.nav {
  border-bottom: 0;
  margin: 0;
 }
  .nav li {
 }
 
   #inner-header .nav {  float:left;
 left:50%;
 list-style-type:none;
 margin:0 auto !important;
 padding:0;
 position:relative; } 
 .nav li {  right:50%;}
  .nav ul.sub-menu li {  right: 0;}
	  
    .nav li a {
      display: block;
      color: #000;
      text-decoration: none;  line-height: 1.7em;
	  font-weight: 600;
	  letter-spacing: 0em;
	  text-transform: uppercase;
	  font-size: 1em;
	  
    }
	
	.home .nav li a {
      color: #000 !important; }
	  
	.home .header.sticky .nav li a {
      color: #000; }
	
    .nav li ul.sub-menu li a,
    .nav li ul.children li a {
      padding-left: 30px; }
	  
	
	  .top-200 { position: relative; top: -130px;}
	  
	 
 /* li.news-menu a span { background-color: #716e6e !important; padding: 0.5em 0.6em; color: #fff !important }

/*********************
	HOME
*********************/

.grid {
	position: relative;
	clear: both;
	margin: 0 auto;
	padding: 0;
	max-width: 100%;
	width: 100%; 
	list-style: none;
	text-align: center;
}

.grid a { text-decoration: none !important; }

/* Common style */
.grid figure { position: relative; float: left; overflow: hidden; margin: 0; width: 25%;
	height: auto;
	background: #000000;
	text-align: center;
	cursor: pointer;
}

.banner .grid figure { cursor: default !important;}

#que-hacemos-section .d1d3 { width: 33.333%; float: left; margin: 0 auto;}
#que-hacemos-section .grid figure { width: 100%; float: none; cursor: pointer !important } 
#que-hacemos-section a { cursor: pointer !important } 
#que-hacemos-section a:hover h3 { color: #89bb35; } 
#que-hacemos-section h3 { margin: 0 auto 1em;}


.grid figure img {
	position: relative;
	display: block;
	width: 100%;
	height: auto; 
	opacity: 0.8;
}

.grid figure figcaption {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure p {
	margin: 0;
}
/*---------------*/
/***** Ming *****/
/*---------------*/

figure.effect-ming {
	background: #000;
}

figure.effect-ming img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

.banner figure.effect-ming img {
	opacity: 0.65;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}


figure.effect-ming p {
	margin: 26% auto;
	width: 80%;
	max-width: 320px;  
	padding: 0;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	font-weight: 700;
	fomt-size: 1.1em;
	color: #fff; 
}

.banner  figure.effect-ming h3 {
	margin: 28% auto;
	width: 80%;
	max-width: 320px;  
	padding: 0;
	text-transform: uppercase; 
	font-weight: 700;
	fomt-size: 1em;
	color: #fff; 
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption {
	background-color: rgba(0,0,0,0);
}

figure.effect-ming:hover img {
	opacity: 0.35;
}
figure.effect-ming:hover h3 {
	display: none;
}

/* Nosotros */

.border-sup { width: 3.750em; height: 0.313em; background-color: #89bb35; margin: 0 0 0.5em 0; }
.border-sup.center { margin: 0 auto 0.5em !important; }
h2.titulo { color: #2d5942; text-transform:uppercase; }
.blog h2.titulo, .single-post h2.titulo {  text-transform: none !important; }
.texto-nosotros { max-height: 23em; overflow: scroll; padding-right: 1em; max-width: 500px;  }

.blog .pagination { display: none !important;}

/* Tamaño del scroll */
.texto-nosotros::-webkit-scrollbar {
  width: 0.5em;
  height: 0.5em;
}

 /* Estilos barra (thumb) de scroll */
.texto-nosotros::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.texto-nosotros::-webkit-scrollbar-thumb:active {
  background-color: #999999;
}

.texto-nosotros::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

 /* Estilos track de scroll */
.texto-nosotros::-webkit-scrollbar-track {
  background: #e1e1e1;
  border-radius: 4px;
}

.texto-nosotros::-webkit-scrollbar-track:hover, 
.texto-nosotros::-webkit-scrollbar-track:active {
  background: #d4d4d4;
}

.wrap-texto { position: relative;  background-color: rgba(255,255,255,0.5); }
.wrap-texto .degradado-transparente { position: absolute; z-index: 2; bottom: 0; width: 100%; height: 12em; 
background: rgba(255,255,255,0);
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(255,255,255,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0 );
  }
a.vermas { font-size: 1.2em; text-transform:uppercase; color: #89bb35; font-weight: 700; text-decoration:none;  }
.home-content img { width: 100%; height:auto; display: block; margin: 0 auto; }
.bg-grey { background-color: #f3f3f8; }

.parallax { 
    background-image: url("paralax-productos.jpg");
    height: 100%; 
    background-attachment: fixed;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}



/* BANNER PAGINAS
********************/
.banner-home, .banner-paginas { width: 100%; height: auto; position: relative; clear: both; line-height: 0em;  }
.blur { position: absolute; z-index: 2; top: 0; left: 0; height: 100%; width: 100%; background: #000;
 background: linear-gradient(
    to bottom,
     rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  ) }
.page-template-default .banner-paginas {  min-height: 10em; }
.page-template-default .entry-content { margin: 0 auto 5em;}
.banner-paginas .banner-desktop { display: block; position:relative; }
.banner-paginas .banner-1024 { display: none; position:relative; }
.banner-paginas .banner-660 { display: none; position:relative; }
.banner-paginas .wrap { position: relative;}
.banner-paginas img { width: 100%; height: auto; position: relative;   }
.banner-paginas img.banner {  opacity: 1; z-index: 1; }
.banner-paginas .txt-banner { position: absolute; width: 100%; margin: 0 auto; top: 20%; text-align:center; z-index: 9;} 
.banner-paginas .txt-banner h3 { font-size: 3.1em; font-weight: 400; letter-spacing: 0; line-height: 0.9em;  margin: 0 auto 0.15em; color: #fff; }
.banner-paginas .txt-banner h3 span { font-size: 55%; font-weight: 400; letter-spacing: 0; line-height: 0;  margin: 0 auto; color: #fff; padding-top: 1em; }
 .banner-paginas .txt-blur { z-index: 6;} 
 .banner-paginas .popup { width: 15%; position: absolute; top: 0; z-index: 90; right: 0; max-width: 200px; }
 
  .bounce-in-top {
	-webkit-animation: bounce-in-top 8s infinite both;
	        animation: bounce-in-top 8s infinite both;
}

/**
 * ----------------------------------------
 * animation bounce-in-top
 * ----------------------------------------
 */
@-webkit-keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-300px);
            transform: translateY(-300px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    -webkit-transform: translateY(-300px);
            transform: translateY(-300px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
 50% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  55% {
    -webkit-transform: translateY(-25px);
            transform: translateY(-25px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  60% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  65% {
    -webkit-transform: translateY(-25px);
            transform: translateY(-25px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
 70% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
}
@keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-300px);
            transform: translateY(-300px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in; 
    opacity: 0;
  }
  40% {
    -webkit-transform: translateY(-180px);
            transform: translateY(-180px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
 50% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  55% {
    -webkit-transform: translateY(-25px);
            transform: translateY(-25px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  60% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  65% {
    -webkit-transform: translateY(-25px);
            transform: translateY(-25px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
 70% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
} 

/*********************
FOOTER STYLES
*********************/
.footer { clear: both; background-color: #3e5742; color: #fff; font-size: 0.9em;  }
.wrap-footer { width: 92%; margin: 0 auto; max-width: 1390px; }

 .upper { text-transform: uppercase;}
 .foot1 { float: left; width: 16%; position: relative; z-index: 9; text-align:center; padding: 0 1em 1.8em; margin: 0 auto; }
 .wrap-ministerio { width: 96%; margin: 0 auto; max-width: 900px; }
.ministerio { width: 100%; margin: 2em auto;}
.mini1 { width: 22.15%; margin-right: 0; float: left;}
.mini2 { width: 38%; margin: 0 1.5%; float: left; border-right: 1px solid #000; padding-right: 2%;    }
.mini3 { width: 36.85%; margin: 0; float: left;  }
.mini1 img { width: 100%; max-width: 270px; height: auto; float: right;   }
.foot1 { float: left; width: 16%; position: relative; z-index: 9; text-align:center; padding: 0 1em 1.8em; margin: 0 auto; }
.foot1 img { width: 100%; max-width: 120px; height: auto; display: block;  }
.foot2 { float: left; width: 32%; position: relative; z-index: 9; padding: 0 2%; }
.foot2 .wrap-address { width: 100%; margin: 0 0 1.5em 0; clear: both;}
.foot2 .address { width: 80%; float: left; margin: 0; }
.foot2 .link-address { width: 18%; float: right; margin: 0; }
.foot2 .link-address i,
.foot2 .link-address .icono { color: #fff; font-size: 2em; margin: 1em auto 0; padding: 0 1em;}
		 
.foot3 { float: left; width: 32%; position: relative; padding: 0 1em; z-index: 9;   }
.foot3 h3 { font-size: 1.5em; margin: 0 0 2em;}
.foot3 h3 i { font-size: 1.5em; line-height: 1.75em; width: 1.75em; height: 1.75em; color: #3e5742; }
.foot3 h3 a { color: #fff !important; }
.foot4 { float: left; width: 20%; position: relative; z-index: 9; padding-left: 2.5%; border-left: 1px solid #f9f9f9;  }


@media (min-width: 941px) { .mini2, .mini3 { font-size: 11px !important; line-height: 1.2em;}
	
}
@media (max-width: 940px) { .mini2, .mini3 { font-size: 1.042vw !important; } }

@media (max-width: 780px) { .mini2, .mini3 { font-size: 1.28vw !important; line-height: 1.18em; } }

@media (max-width: 560px) { .mini2, .mini3 { font-size: 1.35vw !important; line-height: 1.18em; } }

@media (max-width: 460px) { .mini2, .mini3 { font-size: 10px !important; line-height: 1.3em; }

 .wrap-ministerio { width: 75%; margin: 0 auto; }
.mini1 { width: 100%; margin: 0 auto !important; text-align: center;  float: none;}
.mini2 { width: 100%; float: none; margin: 1.5em auto 0; text-align: center;  }
.mini3 { width: 100%; float: none; margin: 0.75em auto 0; text-align: center;  }
.mini1 img {  float: none; max-width: 100%;    }

 }


.circle-icon {
  margin-right: 1em;
  border-radius: 50%;
  color: white;
  text-align: center;
  display: inline-block;
  transition:0.5s;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.85);
}

.footer-links ul li {display: block; line-height: 2em; height: 2.2rem; text-align: left; }
.footer-links ul { margin: 0; padding: 0;}
.footer-nav {display: block; width: 100%; text-align: left; }
.footer-links ul.nav li a {
    color: #fff !important;
    display: block;
    font-size: 0.9em;
    letter-spacing: 0;
    line-height: 1.5em;
    text-decoration: none;
    text-transform:  uppercase; padding: 0;
}  
  .center { margin: 0 auto; text-align:center !important;}
  
  .foot5 { display: block; width: 100%; text-align: center; margin: 0 auto; }
  
  .foot5 p,   .foot5 p a { font-weight: 400; line-height: 1.8em; font-size: 0.9em; margin: 0; color: #fff !important;     }
  .foot5 p a { text-transform: uppercase;}
  
  .foot5 p a:link, .foot5 p a:visited:link, .foot5 p a:focus, .foot5 p a:active {
color: #fff !important;
outline: none;
-webkit-appearance: none;
}
  
  
  /* RSC */
  
  ul.pdfs { margin: 0 auto; padding: 0; }

  .certificaciones { width: 16.66%; padding: 0 0.5em; float: left; position: relative; list-style: none !important; }
  .certificaciones img,   .certificaciones a img { position: relative; z-index: 1; display: block; margin: 0 auto; width: 100%; height: auto; line-height: 0;  }
  .certificaciones a {  text-decoration:none; margin: 0 auto !important; padding: 0;  }
  .certificaciones a span { position: absolute; z-index: 9; left: 7.5% !important; bottom: 3.5%; color: #8dbd3d !important; text-decoration:none; font-weight:700; font-size: 0.9em; margin: 0; padding: 0; line-height: 1em;     }
  
  /* Que hacemos */
  
  .quehacemos-imagens { width: 50%; padding: 0 0.75em; float: left; position: relative;}
  .quehacemos-imagens img{ display: block; border: 1px solid #5e5f61; width: 100%; height: auto; line-height: 0;  } .header-titular{padding: 0 0.5em; }

.galeria { width: 100%; position: relative;}

.single, .blog { background-color: #f3f3f8; }

.sidebar h4.widgettitle { text-align: center; margin: 0 auto 1.5em; font-weight: 400 !important; font-size: 1.25em; line-height: 1.1em; }
.single #main, .blog #main { padding-right: 5%;  }
.widget {padding: 1.5em 1.5em 0 !important; background-color: #fff; }

.container-popup { width: 28%; max-width: 300px; position: absolute; top: 0; left: -14%; z-index: 9;  }
.container-popup img { width: 100%; max-width: 300px; height: auto; margin: 0 auto; z-index: 10;  }
#mostrar img {cursor: pointer; }

.scale-in-left {
	-webkit-animation: scale-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 3s both;
	        animation: scale-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 3s both;
}
/* ----------------------------------------------
 * Generated by Animista on 2019-6-25 15:53:24
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-in-left
 * ----------------------------------------
 */
@-webkit-keyframes scale-in-left {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
}
@keyframes scale-in-left {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
}



#info, #info-click { position:absolute; z-index: 12; top: 0; left: 0;}
#info-click {display: none;}
#ocultar, #ocultar-c{ position: absolute; cursor: pointer;  z-index: 99; font-weight: 700; margin-right: 7.5%; font-size: 1em; display: block; width: 92%; left: 0; text-align: right;  top: 7.5%; }



/*CONTACTO */

.contacto-image {width: 30%; float:left; margin: 0 6% 0 0}
.contacto-form {width: 63%; float:left; margin: 0; }
.contacto-form h3 { margin: 0 auto 0.9em;}
.wpcf7 input, .wpcf7 textarea { width: 100%; max-width: 100%; margin: 0 0 0.5em; border: 1px solid #3e5742; color: #000; padding: 0.625em; }
.wpcf7 p.cv { border: 1px solid #3e5742; margin: 0 0 0.5em;}
.wpcf7 input.wpcf7-file { padding: 0.45em; border: none!important;  width: auto !important; margin: 0; }
.wpcf7 input.wpcf7-submit { width: auto !important; padding: 0.625em 1em; float: right; background-color: #3e5742; color: #fff !important; -webkit-border-radius: 5px;
border-radius: 5px; max-width: 40%;}
.curriculum { width: auto; padding: 0.6em; }

.wpcf7 input.wpcf7-submit:hover { background-color: #89bb35; color: #3e5742; border: 1px solid #89bb35; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000;
  opacity: 1; /* Firefox */
}

.wpcf7 textarea:-ms-input-placeholder, .wpcf7 input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
}

.wpcf7 input::-ms-input-placeholder, .wpcf7 textarea::-ms-input-placeholder { /* Microsoft Edge */
  color: #000;
}
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #000;}

.wpcf7 .wpcf7-acceptance input { width: auto !important;   display: inline-block;}
.wpcf7 span.wpcf7-list-item { margin: 0 1em 0 0;}
.condiciones { width: 60%; float: left; font-size: 0.9em;  }

.thumb img { width: 100%; margin: 0 auto; height: auto !important; display: block; }
.entry-header h4 span { white-space: nowrap;}











 


/* end .nav */
/*********************
POSTS & CONTENT STYLES
*********************/
#content {
  margin: 0 auto; }

.hentry { }
  .hentry header {
 }
  .hentry footer {
 }

/* end .hentry */
.single-title,
.page-title,
.entry-title {
  margin: 0; }

.byline {
  color: #9fa6b4;
  font-style: italic;
  margin: 0; }

/* entry content */
.entry-content {
 
 }
  .entry-content p {
    margin: 0 0 1.25em; }
  .entry-content table {
    width: 100%;
    border: 1px solid #eaedf2;
    margin-bottom: 1.5em; }
    .entry-content table caption {
      margin: 0 0 7px;
      font-size: 0.75em;
      color: #9fa6b4;
      text-transform: uppercase;
      letter-spacing: 1px; }
  .entry-content tr {
    border-bottom: 1px solid #eaedf2; }
    .entry-content tr:nth-child(even) {
      background-color: #f8f9fa; }
  .entry-content td {
    padding: 7px;
    border-right: 1px solid #eaedf2; }
    .entry-content td:last-child {
      border-right: 0; }
  .entry-content th {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaedf2;
    border-right: 1px solid #eaedf2; }
    .entry-content th:last-child {
      border-right: 0; }
  .entry-content blockquote {
    margin: 0 0 1.5em 0.75em;
    padding: 0 0 0 0.75em;
    border-left: 3px solid #2980b9;
    font-style: italic;
    color: #9fa6b4; }
  .entry-content dd {
    margin-left: 0;
    font-size: 0.9em;
    color: #787878;
    margin-bottom: 1.5em; }
  .entry-content img {
    margin: 0 0 1.5em 0;
    max-width: 100%;
    height: auto; }
  .entry-content .size-auto,
  .entry-content .size-full,
  .entry-content .size-large,
  .entry-content .size-medium,
  .entry-content .size-thumbnail {
    max-width: 100%;
    height: auto; }
  .entry-content pre {
    background: #323944;
    color: #f8f9fa;
    font-size: 0.9em;
    padding: 1.5em;
    margin: 0 0 1.5em;
    border-radius: 3px; }

/* end .entry-content */
.wp-caption {
  max-width: 100%;
  background: #eee;
  padding: 5px;
  /* images inside wp-caption */ }
  .wp-caption img {
    max-width: 100%;
    margin-bottom: 0;
    width: 100%; }
  .wp-caption p.wp-caption-text {
    font-size: 0.85em;
    margin: 4px 0 7px;
    text-align: center; }

.tags {
  margin: 0; }

/******************************************************************
PAGE NAVI STYLES
******************************************************************/
.pagination,
.wp-prev-next {
  margin: 1.5em 0; }

.pagination {
  text-align: center; }
  .pagination ul {
    display: inline-block;
    background-color: white;
    white-space: nowrap;
    padding: 0;
    clear: both;
    border-radius: 3px; }
  .pagination li {
    padding: 0;
    margin: 0;
    float: left;
    display: inline;
    overflow: hidden;
    border-right: 1px solid #eaedf2; }
  .pagination a, .pagination span {
    margin: 0;
    text-decoration: none;
    line-height: 1em;
    font-size: 1em;
    font-weight: normal;
    padding: 0.75em;
    min-width: 1em;
    display: block;
    color: #2980b9; }
    .pagination a:hover, .pagination a:focus, .pagination span:hover, .pagination span:focus {
      background-color: #2980b9;
      color: white; }
  .pagination .current {
    cursor: default;
    color: #5c6b80; }
    .pagination .current:hover, .pagination .current:focus {
      background-color: white;
      color: #5c6b80; }

/* end .bones_page_navi */
/* fallback previous & next links */
.wp-prev-next .prev-link {
  float: left; }
.wp-prev-next .next-link {
  float: right; }

/* end .wp-prev-next */
/*********************
SIDEBARS & ASIDES
*********************/
.widget ul li {
  /* deep nesting */ }

.no-widgets {
  background-color: white;
  padding: 1.5em;
  text-align: center;
  border: 1px solid #cccccc;
  border-radius: 2px;
  margin-bottom: 1.5em; }
  
  .fifty { width: 50%; padding-right: 1em; float: left; }
  .thirty { width: 33.33%; padding-right: 1em; float: left; position: relative;  }
  .formulario-trabaja .last { padding-right: 0 !important; }
  .formulario-trabaja select { width: 100%; }
  
.menu-interes {position: relative; width: 100%; 
}

.menu-interes select {
  background-color: #fff;
  width: 100%;
  border: none;
 border: 1px solid #3e5742;
color: #000;
padding: 0.625em;
}

.menu-interes::before {
  
}

.menu-interes:hover::before {

}

.menu-interes select option {
  padding: 30px;
}
p.text-80  { width: 80%; margin: 0 20% 0 0;  }

.historia h2 { font-weight: 400 !important;}
.historia h2 strong {font-weight: 700 !important;}

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline {margin: 0 auto 0 -5% !important; }
.timeline ol {width: 105%; padding: 380px 0;}
.timeline ol li {position: relative; display: inline-block; list-style-type: none;
 width: 9%; height: 4px; border-top: 4px dashed #d8d8d8; }
.timeline ol li:not(:first-child) { margin-left: 15px;}

.timeline ol li div {position: absolute; left: calc(100% + 6px);
 width: 200%; padding: 0 0 25px 25px;font-size: 20px !important; 
	border-left: 4px solid transparent;
	border-image: linear-gradient(to bottom, #215a41, #61a60e) 1;
}
	
.timeline ol li:last-child div { border-left: 0 !important; }
.timeline ol li:nth-child(odd) div {
  top: -6px;
  transform: translateY(-100%);
}
.timeline ol li:nth-child(even) div {
  top: calc(100% + 2px);
  border-left: 4px solid transparent;
  border-image: linear-gradient(to bottom, #61a60e, #215a41) 1;
}
.timeline time {
  display: block;
  font-size: 2rem;
  font-weight: 300 !important;
  margin-bottom: 8px;
  color: #61a60e; 

}



/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 1280px) {
.timeline ol { padding: 340px 0; }
.timeline ol li div {font-size: 16px !important; }	
.timeline ol li {
	width: 8%;}
}
@media screen and (max-width: 1180px) {
.timeline ol { padding: 360px 0; }
.timeline ol li div {font-size: 16px !important; }	
.timeline time {font-size: 2rem;}
}
@media screen and (max-width: 1080px) {
.timeline ol { padding: 320px 0; }
.timeline ol li div {font-size: 14px !important; }	
.timeline time {font-size: 1.8rem;}
}
@media screen and (max-width: 1080px) {
.timeline ol { padding: 260px 0; }
.timeline ol li div {font-size: 12px !important; }
	.timeline ol li {width: 8.25% !important; }
.timeline time {font-size: 1.6rem;}
}

@media screen and (max-width: 980px) {
.timeline ol { padding: 260px 0; }
.timeline ol li div {font-size: 10px !important; padding: 0 0 25px 15px; }
	.timeline ol li {width: 8.35% !important; }
.timeline time {font-size: 1.5rem;}
}

@media screen and (min-width: 768px) {
	
.timeline ol li:nth-child(even) div time {
  margin-top: 16px
}
.timeline ol li:nth-child(1) { width: 7%;}
		.timeline ol li:nth-child(4)  { width: 11%;}
		.timeline ol li:nth-child(5)  { width: 11%;}
		.timeline ol li:nth-child(6)  { width: 9%; }
		.timeline ol li:nth-child(7)  { width: 9%; }
        .timeline ol li:nth-child(1) div { width: 240%; }
		.timeline ol li:nth-child(5) div,
		.timeline ol li:nth-child(6) div { width: 190%; }
		.timeline ol li:nth-child(4) div  { width: 190%;}
		.timeline ol li:nth-child(3) div { width: 250%; }
        .timeline ol li:nth-child(8) div,
        .timeline ol li:nth-child(5) div,
        .timeline ol li:nth-child(7) div { width: 150%;  }
		
.timeline ol li:last-child {width: 15%;}
.timeline ol li:not(:last-child)::after {
content: ''; z-index: 99; 
position: absolute; top: 50%; left: calc(100% + -1px); bottom: 2px; width: 16px; height: 16px; transform: translateY(-50%);	border-radius: 50%;
background: rgb(255,255,255);
background: -moz-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(34,91,66,1) 100%);
background: -webkit-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(34,91,66,1) 100%);
background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(34,91,66,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#225b42",GradientType=1);
border: 2px solid #61a60e;
}
}

@media screen and (max-width: 767px) {

.timeline time {font-size: 1.8rem;}
	.timeline { width: 90% !important; margin: 0 auto !important; }
  .timeline ol,
  .timeline ol li {
    width: auto !important; 
	  
  }
  
	
  .timeline ol {
    padding: 0;
    transform: none !important;
  }
  
  .timeline ol li {
    display: block;
    height: auto !important;
    background: transparent;
	border-top: 2px dashed #fcfcfc;
  }
  
  .timeline ol li:first-child {
    margin-top: 25px;
  }
  
  .timeline ol li:not(:first-child) {
    margin-left: auto;
  }
  
  .timeline ol li div {
    width: 92%;
    height: auto !important;
    margin: 0 0 0 16px;
	font-size: 16px !important; 
    position: static;
	padding-bottom: 45px !important; 
  }
  
  .timeline ol li:nth-child(odd) div {
    transform: none;
  }
  
  .timeline ol li:nth-child(odd) div::before,
  .timeline ol li:nth-child(even) div::before {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-left: 1px solid #000;
    height: 25px;
  }
.timeline ol li:not(:last-child)::after {
content: ''; z-index: 9; 
position: absolute; 
top: 0; left: 9px; 
width: 16px; height: 16px; transform: translateY(-50%);	border-radius: 50%;
background: rgb(255,255,255);
background: -moz-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(34,91,66,1) 100%);
background: -webkit-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(34,91,66,1) 100%);
background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(34,91,66,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#225b42",GradientType=1);
border: 2px solid #61a60e;
}
  
}



/* ==========================================================================
   FASE 1 (05/11/2026) — lo que antes hacían plugins
   ========================================================================== */
html { scroll-behavior: smooth; }

/* Iconos SVG del pie (antes Font Awesome) */
.icono { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; }
/* Teléfono y correo: círculo blanco, icono en el verde del pie (como la regla de .foot3 h3 i) */
.foot3 h3 .circle-icon .icono { font-size: 1.5em; width: 1.75em; height: 1.75em; padding: 0.4em; box-sizing: border-box; color: #3e5742; vertical-align: middle; }
.foot2 .link-address .icono { width: 1em; height: 1em; box-sizing: content-box; }

/* Botón «subir» (antes plugin jQuery Smooth Scroll) */
a#scroll-to-top { position: fixed; right: 1.9em; bottom: 1.9em; width: 2.2em; height: 2.2em; background: url(../images/arrow-top.png) no-repeat center center; background-size: contain; text-indent: -9999px; font-size: 1em; overflow: hidden; cursor: pointer; outline: 0; z-index: 90; }

/* [show_more] como <details> (antes plugin WP show more) */
details.show-more summary { cursor: pointer; color: #000; text-decoration: none; list-style: none; display: inline-block; }
details.show-more summary::-webkit-details-marker { display: none; }
details.show-more summary:hover { text-decoration: underline; }
details.show-more[open] summary { margin-bottom: 0.5em; }


/* ==========================================================================
   FASE 2 (05/11/2026) — slider, carrusel de eventos, laterales y lightbox propios
   (antes Post Carousel Pro y ACF Frontend Gallery Slider Pro)
   ========================================================================== */

/* --- Slider genérico: pista con scroll horizontal y snap --- */
.cp-slider { position: relative; width: 100%; --cp-hueco: 1em; }
.cp-slider__pista { display: flex; column-gap: var(--cp-hueco); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0; padding: 0; }
.cp-slider__pista::-webkit-scrollbar { display: none; }
.cp-slider__item { flex: 0 0 100%; scroll-snap-align: start; margin: 0; min-width: 0; }
.cp-slider--2 .cp-slider__item { flex-basis: calc((100% - var(--cp-hueco)) / 2); }
.cp-slider__img { display: block; line-height: 0; }
.cp-slider__img img { display: block; width: 100%; height: auto; }
a.cp-slider__img { cursor: zoom-in; }

/* Flechas: círculo blanco translúcido con chevron, a los lados */
.cp-slider__flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 2.6em; height: 2.6em; border: 0; border-radius: 50%; background: rgba(255,255,255,0.85); cursor: pointer; padding: 0; z-index: 2; transition: background 0.3s; }
.cp-slider__flecha::before { content: ""; display: block; width: 0.7em; height: 0.7em; margin: 0 auto; border: solid #444; border-width: 0 0.15em 0.15em 0; transform: rotate(135deg) translate(-0.1em, 0.1em); }
.cp-slider__flecha--next::before { transform: rotate(-45deg) translate(-0.1em, 0.1em); }
.cp-slider__flecha--prev { left: 0.5em; }
.cp-slider__flecha--next { right: 0.5em; }
.cp-slider__flecha:hover { background: #444; }
.cp-slider__flecha:hover::before { border-color: #fff; }

/* Puntos (solo donde dots="true": listado de noticias) */
.cp-slider__puntos { display: flex; justify-content: center; gap: 0.5em; margin-top: 0.75em; }
.cp-slider__punto { width: 0.7em; height: 0.7em; border-radius: 50%; border: 0; padding: 0; background: #ccc; cursor: pointer; }
.cp-slider__punto.es-activo { background: #333; }

/* Galerías ACF (eventos, noticias, Qué hacemos) */
.cp-galeria .cp-slider__foto { border: 1px solid #5e5f61; box-sizing: border-box; }
.blog .cp-galeria .cp-slider__foto, .single-post .cp-galeria .cp-slider__foto { border: 0; }
.cp-galeria.cp-slider--2 .cp-slider__flecha--prev { left: -5%; }
.cp-galeria.cp-slider--2 .cp-slider__flecha--next { right: -5.5%; }

/* --- Carrusel de ferias y eventos (home) --- */
.cp-eventos { --cp-hueco: 1.5em; }
.cp-eventos .cp-slider__foto { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cp-eventos figcaption { padding: 0; }
.cp-evento__titulo { font-size: clamp(1.1em, 1.6vw, 1.5em); text-transform: uppercase; font-weight: 700; margin: 1em 0 0.25em; line-height: 1.2; }
.cp-evento__titulo a { color: #333; text-decoration: none; }
.cp-evento__titulo a:hover { color: #89bb35; }
.cp-evento__fecha { color: #6f6c6c; font-weight: 700; font-size: 0.9em; margin: 0; }
.cp-eventos .cp-slider__flecha { background: transparent; }
.cp-eventos .cp-slider__flecha::before { border-color: #aaa; }
.cp-eventos .cp-slider__flecha:hover { background: #444; }
.cp-eventos .cp-slider__flecha:hover::before { border-color: #fff; }
.cp-eventos .cp-slider__flecha--prev { left: -2.5em; }
.cp-eventos .cp-slider__flecha--next { right: -2.5em; }

/* --- Laterales: archivo de noticias / ferias anteriores --- */
.cp-lateral__lista { list-style: none; margin: 0; padding: 0; }
.cp-lateral__item { display: flex; gap: 5%; align-items: flex-start; margin: 0 0 1.25em; }
.cp-lateral__img { flex: 0 0 30%; line-height: 0; cursor: zoom-in; }
.cp-lateral__img img { width: 100%; height: auto; display: block; }
.cp-lateral__texto { flex: 1 1 auto; min-width: 0; }
.cp-lateral__titulo { font-size: 1em; font-weight: 400; line-height: 1.45; margin: 0 0 0.25em; text-transform: none; }
.cp-lateral--eventos .cp-lateral__titulo { text-transform: uppercase; }
.cp-lateral__titulo a { color: #333; text-decoration: none; }
.cp-lateral__titulo a:hover { color: #89bb35; }
.cp-lateral__meta { font-size: 0.8em; line-height: 1.6; color: #333; margin: 0; }

/* --- Lightbox --- */
.cp-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.cp-lightbox::backdrop { background: rgba(0,0,0,0.85); }
.cp-lightbox__cuerpo { margin: 0; line-height: 0; }
.cp-lightbox__img { max-width: 92vw; max-height: 90vh; width: auto; height: auto; display: block; margin: 0 auto; box-shadow: 0 0 2em rgba(0,0,0,0.5); }
.cp-lightbox__cerrar { position: fixed; top: 0.5em; right: 0.75em; width: 2em; height: 2em; border: 0; background: transparent; color: #fff; font-size: 2em; line-height: 1; cursor: pointer; z-index: 2; }
.cp-lightbox__flecha { position: fixed; top: 50%; transform: translateY(-50%); width: 3em; height: 3em; border: 0; border-radius: 50%; background: rgba(255,255,255,0.15); cursor: pointer; z-index: 2; }
.cp-lightbox__flecha::before { content: ""; display: block; width: 0.8em; height: 0.8em; margin: 0 auto; border: solid #fff; border-width: 0 0.15em 0.15em 0; transform: rotate(135deg) translate(-0.1em, 0.1em); }
.cp-lightbox__flecha--next::before { transform: rotate(-45deg) translate(-0.1em, 0.1em); }
.cp-lightbox__flecha--prev { left: 0.75em; }
.cp-lightbox__flecha--next { right: 0.75em; }
.cp-lightbox__flecha:hover { background: rgba(255,255,255,0.35); }
.cp-lightbox--solo .cp-lightbox__flecha { display: none; }

@media (max-width: 767px) {
	.cp-slider--2 .cp-slider__item { flex-basis: 100%; }
	.cp-eventos .cp-slider__flecha--prev, .cp-galeria.cp-slider--2 .cp-slider__flecha--prev { left: 0.25em; }
	.cp-eventos .cp-slider__flecha--next, .cp-galeria.cp-slider--2 .cp-slider__flecha--next { right: 0.25em; }
}
