/*
Theme Name: INECIP
Author: Federico Higashino
Description: Theme de Wordpress para INECIP
Version: 1.0
*/

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  border: 0;
  /* font-size: 100%; */
  /* font: inherit; */
  vertical-align: baseline;
  margin: 0;
  padding: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* @group CLEARFIX */
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}

.clearfix:after {
  clear: both;
}

* {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#main-content.width-100 {
  width: 100%;
  display: block;
}

/*
* jQuery FlexSlider v2.6.0
* http://www.woothemes.com/flexslider/
*
* Copyright 2012 WooThemes
* Free to use under the GPLv2 and later license.
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Contributing author: Tyler Smith (@mbmufffin)
*
*/
/* ====================================================================================================================
* FONT-FACE
* ====================================================================================================================*/
@font-face {
  font-family: "flexslider-icon";
  src: url("js/flexslider-icon.eot");
  src:
    url("js/flexslider-icon.eot?#iefix") format("embedded-opentype"),
    url("js/flexslider-icon.woff") format("woff"),
    url("js/flexslider-icon.ttf") format("truetype"),
    url("js/flexslider-icon.svg#flexslider-icon") format("svg");
  font-weight: normal;
  font-style: normal;
}
/* ====================================================================================================================
* RESETS
* ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
* BASE STYLES
* ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* ====================================================================================================================
* DEFAULT THEME
* ====================================================================================================================*/
.flexslider {
  margin: 0;
  background: #fff;
  border: 0 none;
  position: relative;
  zoom: 1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: "" 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: "" 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: "" 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: "" 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
/* .flex-direction-nav {
  *height: 0;
} */
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 20px;
  height: 20px;
  margin: -10px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 1;
  cursor: pointer;
  color: rgba(0, 0, 0, 1);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: "\f001";
  color: rgba(0, 0, 0, 1);
}
.flex-direction-nav a.flex-next:before {
  content: "\f002";
}
.flex-direction-nav .flex-prev {
  left: 0px;
}
.flex-direction-nav .flex-next {
  right: 0px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.8;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.8;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0 !important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: "\f004";
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: "\f003";
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  /* display: inline; */
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}
/* ====================================================================================================================
* RESPONSIVE
* ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: -7px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: -7px;
  }
}

/* 
* 	Core Owl Carousel CSS File
*	v1.3.2
*/

/* clearfix */
.owl-carousel .owl-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
/* display none until init */
.owl-carousel {
  display: none;
  position: relative;
  width: 98%;
  -ms-touch-action: pan-y;
  margin: 0 auto;
}
.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.owl-carousel .owl-wrapper-outer-autoHeight {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}

.owl-pagination {
  display: flex;
  position: absolute;
  bottom: 5px;
  right: 50%;
  transform: translate(50%, 0);
}

.owl-page {
  background: url(images/dots.svg) no-repeat -13px center;
  background-size: 35px;
  height: 30px;
  width: 30px;
}

.owl-page.active {
  background-position-x: 10px;
}

.owl-prev {
  background: url(images/icons-alt-carousel.svg) no-repeat -37px center;
  left: 10px;
  top: 50%;
  background-size: 196px;
  position: absolute;
  margin-top: -26px;
  height: 52px;
  text-indent: -9999px;
  width: 30px;
}

.owl-next {
  background: url(images/icons-alt-carousel.svg) no-repeat -81px center;
  right: 10px;
  top: 50%;
  background-size: 196px;
  position: absolute;
  margin-top: -26px;
  height: 52px;
  text-indent: -9999px;
  width: 30px;
}

.owl-carousel .owl-item {
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#owl-demo .item {
  margin: 0 10px;
}

#owl-demo .owl-wrapper {
  display: flex !important;
  align-items: center;
}

.owl-controls .owl-page,
.owl-controls .owl-buttons div {
  cursor: pointer;
}
.owl-controls {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* mouse grab icon */
.grabbing {
  cursor: grabbing;
}

/* fix */
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

/* preloading images */
.owl-item.loading {
  min-height: 150px;
  background: url(../images/AjaxLoader.gif) no-repeat center center;
}

.item img {
  max-width: 100%;
}

/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
html.swipebox-html.swipebox-touch {
  overflow: hidden !important;
}

#swipebox-overlay img {
  border: none !important;
}

#swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999 !important;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#swipebox-container {
  position: relative;
  width: auto;
  height: 100%;
}

#swipebox-slider {
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
  display: none;
  cursor: pointer;
}
#swipebox-slider .slide {
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}
#swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}
#swipebox-slider .slide img,
#swipebox-slider .slide .swipebox-video-container {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}
#swipebox-slider .slide .swipebox-video-container {
  background: none;
  max-width: 1140px;
  max-height: 100%;
  width: 100%;
  padding: 5%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}
#swipebox-slider .slide-loading {
  background: url(images/loader.gif) no-repeat center center;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: absolute;
  left: 0;
  z-index: 999;
  height: 50px;
  width: 100%;
}

#swipebox-bottom-bar {
  bottom: 0;
  height: 100%;
  opacity: 0;
}
#swipebox-bottom-bar.visible-bars {
  -webkit-transform: translate3d(0, -50px, 0);
  transform: translate3d(0, -50px, 0);
  opacity: 1;
}

#swipebox-top-bar {
  top: 0;
}
#swipebox-top-bar.visible-bars {
  -webkit-transform: translate3d(0, 50px, 0);
  transform: translate3d(0, 50px, 0);
}

#swipebox-title {
  display: block;
  width: 100%;
  text-align: center;
}

#swipebox-prev,
#swipebox-next,
#swipebox-close {
  background-image: url(images/icons-alt.png);
  background-repeat: no-repeat;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.3);

  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  position: relative;
}

#swipebox-arrows {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

#swipebox-prev {
  background-position: -32px 13px;
  float: left;
  position: absolute;
  top: 54%;
  left: 15px;
}

#swipebox-next {
  background-position: -78px 13px;
  float: right;
  position: absolute;
  top: 54%;
  right: 30px;
  left: auto;
}

#swipebox-close {
  top: 15px;
  right: 15px;
  position: absolute;
  z-index: 9999;
  background-position: 15px 12px;
}

.swipebox-no-close-button #swipebox-close {
  display: none;
}

#swipebox-prev.disabled,
#swipebox-next.disabled {
  opacity: 0.3;
}

.swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
  -webkit-animation: rightSpring 0.3s;
  animation: rightSpring 0.3s;
}
.swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
  -webkit-animation: leftSpring 0.3s;
  animation: leftSpring 0.3s;
}

.swipebox-touch #swipebox-container:before,
.swipebox-touch #swipebox-container:after {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  content: " ";
  position: absolute;
  z-index: 999;
  top: 0;
  height: 100%;
  width: 20px;
  opacity: 0;
}
.swipebox-touch #swipebox-container:before {
  left: 0;
  -webkit-box-shadow: inset 10px 0px 10px -8px #656565;
  box-shadow: inset 10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-container:after {
  right: 0;
  -webkit-box-shadow: inset -10px 0px 10px -8px #656565;
  box-shadow: inset -10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before {
  opacity: 1;
}
.swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
  opacity: 1;
}

@-webkit-keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}

@keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}
@-webkit-keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@media screen and (min-width: 800px) {
  #swipebox-close {
    right: 15px;
  }

  #swipebox-arrows {
    width: 100%;
  }
}
/* Skin 
--------------------------*/
#swipebox-overlay {
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.85);
}

#swipebox-top-bar {
  color: #189e59 !important;
  font-size: 15px;
  line-height: 43px;
  font-family: Helvetica, Arial, sans-serif;
}

.post-content .gallery-content li {
  margin-left: 0;
  margin-bottom: 0;
}

#content .gallery-content ul.slides,
.gallery-content .flex-control-nav,
.gallery-content .flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-content .flex-direction-nav .flex-next {
  right: -20px;
}

.gallery-content .flex-direction-nav .flex-prev {
  left: -20px;
}

/* Bootstrap styles overrides */

*:hover,
*:focus {
  outline: 0 !important;
}

.row {
  margin-left: -1rem;
  margin-right: -1rem;
}

.row.no-gutters {
  margin-left: 0;
  margin-right: 0;
}

.row.narrow-gutter {
  margin-left: -2px;
  margin-right: -2px;
}

.container {
  padding-right: 1rem;
  padding-left: 1rem;
}

.col,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-auto {
  padding-right: 1rem;
  padding-left: 1rem;
}

.narrow-gutter > [class*="col-"] {
  padding-right: 2px;
  padding-left: 2px;
}

.dropdown-menu {
  min-width: 400px;
}

/* Begin Custom CSS */
@media (min-width: 1200px) {
  .container {
    max-width: 1300px;
  }
}

html {
  margin-top: 0;
  height: 100%;
}

body {
  font-family: "Gudea", Arial, Helvetica, sans-serif;
  color: #474747;
  background-color: #fff;
  font-size: 1.2em;
  font-weight: 400;
  margin: 0;
  padding: 0;
  -ms-text-size-adjust: none;
  -webkit-text-size-adjust: none;
}

strong {
  font-weight: bold;
}

#content {
  padding-bottom: 3rem;
}

#content > section {
  margin-bottom: 3rem;
}

a {
  text-decoration: none;
  color: #425dd1;
}

a:hover {
  color: #111;
  text-decoration: none;
  cursor: pointer;
}

a.view-all {
  font-weight: bold;
  display: inline-block;
  background: url(images/icons.png) no-repeat right -164px;
  background-size: 18px;
  padding: 0 10px 8px 0;
  color: #ba224d;
}

#pre-footer a:hover {
  text-decoration: underline;
}

p,
ul {
  line-height: 1.25;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
  line-height: 1.25;
  font-weight: bold;
}

h1 {
  font-size: 2.375rem;
  margin-bottom: 0;
  line-height: 1.25;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1em;
  line-height: 1.25;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 1em;
  line-height: 1.125;
}

#main-nav.collapse {
  display: block;
}

h1#logo {
  background: url(images/logo_inecip_horizontal.png) no-repeat;
  background-size: contain;
  background-position: center;
  text-indent: -9999px;
  width: 30%;
  height: 60px;
  /* margin-top: 12px; */
  display: inline-block;
}

h1#logo a {
  text-indent: -9999px;
  display: block;
  height: 30px;
}

h3.title a {
  color: #111;
}

h3.title a:hover {
  color: #555;
}

img {
  vertical-align: bottom;
}

#main-nav {
  text-transform: uppercase;
  position: relative;
  clear: both;
  font-size: 0.875rem;
  /* border-top: 1px solid #eee;
  border-bottom: 1px solid #eee; */
}

#main-nav li {
  display: inline-block;
}

#main-nav a {
  display: block;
  margin: 0 1rem;
  padding: 20px 0 17px;
  border-bottom: 4px solid transparent;
  position: relative;
  color: #111111;
  text-transform: uppercase;
  font-weight: bold;
}

#main-nav a:hover {
  border-bottom-color: #99253b;
}

#main-nav .second-nav a:hover {
  border-bottom: 0 none;
}

#main-nav nav > ul > li:first-child a.dropdown-trigger {
  margin-left: 0;
}

#main-nav ul {
  line-height: 1;
}

#main-nav .dropdown-menu a {
  float: none;
  margin: 0;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid transparent;
  line-height: 1.125;
  text-transform: none;
  font-size: 1rem;
}

#main-nav .dropdown-menu h4 a {
  padding: 10px 32px 10px 26px;
}

#main-nav .dropdown-menu a:hover {
  text-decoration: none;
  background-color: rgba(180, 180, 180, 0.1);
}

#main-nav .dropdown-menu ul a {
  padding-left: 45px;
}

.dropdown-toggle::after {
  margin-left: 0;
}

.dropdown-menu a span {
  display: inline-block;
  border-left-width: 5px;
  border-left-style: solid;
  border-left-color: transparent;
  padding-left: 5px;
}

.dropdown-menu a:hover span.institucional-cat,
.dropdown-menu a:hover span.color-fucsia {
  border-left-color: #9d193d;
}

.dropdown-menu a:hover span.carceles-y-politica-penitenciaria,
.dropdown-menu a:hover span.color-orange {
  border-left-color: #efa043;
}

.dropdown-menu a:hover span.juicio-por-jurados,
.dropdown-menu a:hover span.color-red {
  border-left-color: #e76254;
}

.dropdown-menu a:hover span.criminalidad-economica,
.dropdown-menu a:hover span.criminalidad-economica,
.dropdown-menu a:hover span.armas-control-y-desarme,
.dropdown-menu a:hover span.color-green {
  border-left-color: #2dae82;
}

.dropdown-menu a:hover span.reforma-y-democratizacion-de-la-justicia,
.dropdown-menu a:hover span.color-violet,
.dropdown-menu a:hover span.reforma,
.dropdown-menu a:hover span.acceso-a-la-justicia {
  border-left-color: #8f6b96;
}

.dropdown-menu a:hover span.color-blue {
  border-left-color: #6a93d4;
}

.dropdown-menu a:hover span.color-black {
  border-left-color: #111;
}

.dropdown-menu {
  padding: 0;
  background-color: #f5f5f5;
  border: 0 none;
  border-radius: 0;
  margin: 0;
  -webkit-box-shadow: 0px 15px 40px 0px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 15px 40px 0px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 15px 40px 0px rgba(0, 0, 0, 0.35);
}

#main-nav .second-nav a,
.second-nav a {
  font-size: 0.875rem;
  /* font-weight: bold; */
  display: block;
  border-bottom: 0 none;
  margin: 0;
  padding: 0;
  color: #111;
}

#main-nav .second-nav a,
.second-nav a::first-letter {
  text-transform: uppercase;
}

#main-nav .second-nav a:hover,
.second-nav a:hover {
  color: #99253b;
}

#main-nav .second-nav .icon-social-nav a {
  text-indent: -9999px;
}

#main-nav .second-nav {
  display: none;
}

.news-content .left a {
  color: #111;
}

.second-nav li {
  display: inline-block;
}

.dropdown-menu h4 {
  border-bottom: 1px solid #ddd;
}

.icon-tw,
.icon-fb,
.icon-social-nav {
  display: block;
  opacity: 0.7;
}

.icon-social-nav a img {
  width: 100%;
  height: 60px;
}

/* .icon-yt {
  width: 70px;
}
.icon-linkedin {
  width: 70px;
}
.icon-linkedin {
  width: 70px;
} */
/* .icon-ig {
}

.icon-tw {
} */

.icon-fb a img {
  width: 100%;
}

#nav-toggler {
  display: none;
}

header .collapse {
  display: block;
}

#header {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: white;
}

#header .container-fluid {
  width: 90%;
  margin: auto;
  padding-top: 0.75rem;
}

.second-nav {
  display: inline-flex;
  position: relative;
}

#nav-container.collapse:not(.show) {
  display: block;
}

.second-nav li {
  margin-right: 0.2rem;
  border-radius: 10px;
  text-align: center;
  padding: 0.65rem;
}

.second-nav .active {
  background-color: #e9e9e9;
}

.second-nav li.icon-tw,
.second-nav li.icon-fb {
  margin-right: 0.75rem;
}

.search-container {
  width: 180px;
  position: relative;
  height: 100%;
}

.search-container,
.second-nav nav {
  display: inline-block;
  vertical-align: middle;
}

.busqueda .search-container {
  width: 400px;
  padding: 10px;
  background-color: #f4f4f4;
  margin-top: 1em;
}

.search-container form {
  height: 100%;
}
.search-container input.form-control {
  border: 1px solid #f4f4f4;
  background-color: #f4f4f4;
  padding: 7px 34px 7px 12px;
  height: 100%;
  font-size: 0.875em;
  border-radius: 0.9rem !important;
  text-align: center;
}

.search-container input.form-control:focus {
  background-color: #eaeaea;
  border: 1px solid #eaeaea;
}

.busqueda .search-container input.form-control {
  border: 1px solid #fff;
  background-color: #fff;
  padding: 7px 34px 7px 12px;
  height: 36px;
}

.search-container .btn {
  border: 0;
  width: 18px;
  height: 18px;
  text-indent: -9999px;
  background: transparent url(images/icons.png) no-repeat center -54px;
  background-size: 18px;
  position: absolute;
  right: 6px;
  top: 50%;
  filter: opacity(40%);
  transform: translate(0%, -50%);
}

.busqueda .search-container .btn {
  right: 16px;
  top: 19px;
}

.facetwp-btn:before {
  background: url(images/icons.png) no-repeat center -52px !important;
  background-size: 18px !important;
}

.facetwp-btn.reset:before {
  background: url(images/icons.png) no-repeat center -330px !important;
  background-size: 18px !important;
}

.form-control,
select.facetwp-dropdown,
input.facetwp-search {
  display: block;
  width: 100%;
  height: 32px;
  padding: 2px 12px;
  line-height: 1.42857143;
  color: #555555;
  font-size: 0.875em;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid transparent;
  -webkit-transition:
    border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
}

input.facetwp-search {
  padding-right: 28px;
  border-radius: 5px;
}

#main-nav nav {
  margin: 0 auto;
  list-style: none;
  position: relative;
  display: block;
  text-align: center;
}

#main-nav .second-nav nav {
  float: left;
  margin-top: 9px;
}

#main-nav nav > ul {
  text-align: center;
  line-height: 1;
}

#main-nav nav > ul.clearfix > li {
  position: relative;
  display: inline-block;
}

#main-nav nav .dropdown-menu li {
  right: auto;
  float: none;
}

#main-nav li li {
  display: block;
}

footer {
  text-align: right;
  font-size: 0.8125em;
  padding-bottom: 2em;
}

#home-slider {
  margin: 25px 0;
}

#home-slider div.cycle-slideshow {
  overflow: hidden;
  z-index: 80;
}

#main-content > hr {
  height: 1px;
  margin: 0;
  background-color: #666;
  border: 0;
  padding: 0;
}

#main-content .single-curso .info-curso {
  line-height: 1.25;
}

.news-content {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 441px;
  width: 100%;
}

.news-content h2 {
  font-size: 2.25em;
  line-height: 1;
  margin-bottom: 0.5em;
}

.news-content a {
  display: block;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.92);
  width: 48%;
  padding: 20px;
}

.news-content a:hover {
  background-color: rgba(230, 230, 230, 0.95);
}

.news-content a h2,
.news-content a p {
  color: #111;
}

.news-content .post-content {
  font-size: 1.25rem;
  margin-bottom: 1em;
}

p.volanta {
  font-size: 1rem;
  text-transform: uppercase;
  padding-left: 8px;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-bottom: 1em;
  border-left-width: 2px;
  border-left-style: solid;
  color: #474747;
}

#per-slide-template {
  z-index: 90;
  position: relative;
}

#per-slide-template a {
  display: table;
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
  width: 100%;
  color: #111;
  position: relative;
  background-color: #fff;
  margin-bottom: -1px;
  border-left-width: 5px;
  border-left-style: solid;
}

#per-slide-template a:hover {
  background-color: #e8e8e8;
}

#per-slide-template a.cycle-pager-active {
  background-color: #f5f5f5;
}

#per-slide-template a.cycle-pager-active:hover {
  background-color: #e8e8e8;
}

#per-slide-template a.cycle-pager-active:before {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -10px;
  left: -10px;
  bottom: auto;
  border-width: 10px 10px 10px 0;
  display: block;
  width: 0;
  border-style: solid;
  border-color: transparent #000;
  display: none;
}

.chrome #per-slide-template a.cycle-pager-active:before {
  left: -15px;
  bottom: auto;
  border-width: 15px 15px 15px 0;
  margin-top: -15px;
}

#per-slide-template div {
  height: 87px;
  display: table-cell;
  vertical-align: middle;
  font-size: 1.0675rem;
  font-weight: bold;
  padding-left: 25px;
  padding-right: 25px;
  line-height: 1.25;
}

.bg-orange,
.bg-carceles-y-politica-penitenciaria {
  background-color: #efa043;
  color: #fff;
}

.bg-red,
.bg-juicio-por-jurados {
  background-color: #e76254;
  color: #fff;
}

.bg-green,
.bg-criminalidad-economica,
.bg-trata-de-personas,
.bg-armas-control-y-desarme {
  background-color: #2dae82;
  color: #fff;
}

.bg-violet,
.bg-reforma-y-democratizacion-de-la-justicia,
.bg-reforma,
.bg-acceso-a-la-justicia {
  background-color: #8f6b96;
  color: #fff;
}

.bg-blue,
.bg-capacitacion-cat {
  background-color: #6a93d4;
  color: #fff;
}

.bg-fucsia {
  background-color: #99253b;
  color: #fff;
}

.btn.bg-fucsia:hover {
  background-color: #5f1523;
  color: #fff;
}

.bg-institucional-cat {
  background-color: #ba224d;
  color: #fff;
}

.bg-institucional-cat p {
  color: #fff;
}

p.volanta.carceles-y-politica-penitenciaria {
  border-left: 4px solid #efa043;
  color: #efa043;
}

p.volanta.juicio-por-jurados {
  border-left: 4px solid #e76254;
  color: #e76254;
}

p.volanta.politica-criminal,
p.volanta.criminalidad-economica,
p.volanta.trata-de-personas,
p.volanta.armas-control-y-desarme {
  border-left: 4px solid #2dae82;
  color: #2dae82;
}

p.volanta.reforma-y-democratizacion-de-la-justicia,
p.volanta.reforma,
p.volanta.acceso-a-la-justicia {
  border-left: 4px solid #8f6b96;
  color: #8f6b96;
}

p.volanta.institucional-cat {
  border-left: 4px solid #9d193d;
  color: #9d193d;
}

p.volanta.capacitacion-cat {
  border-left: 4px solid #6a93d4;
  color: #6a93d4;
}

p.volanta.color-blue,
p.volanta.capacitacion-cat {
  color: #6a93d4;
}

p.volanta.carceles-y-politica-penitenciaria a {
  color: #efa043;
}

p.volanta.juicio-por-jurados a {
  color: #e76254;
}

p.volanta.politica-criminal a,
p.volanta.criminalidad-economica a,
p.volanta.trata-de-personas a,
p.volanta.armas-control-y-desarme a {
  color: #2dae82;
}

p.volanta.reforma-y-democratizacion-de-la-justicia a,
p.volanta.reforma a,
p.volanta.acceso-a-la-justicia a {
  color: #8f6b96;
}

p.volanta.color-blue a,
p.volanta.capacitacion-cat a {
  color: #6a93d4;
}

p.carceles-y-politica-penitenciaria,
a .left p.carceles-y-politica-penitenciaria {
  color: #efa043;
}

p.juicio-por-jurados,
a .left p.juicio-por-jurados {
  color: #e76254;
}

p.politica-criminal,
p.criminalidad-economica,
a .left p.criminalidad-economica,
p.trata-de-personas,
a .left p.trata-de-personas,
p.armas-control-y-desarme,
a .left p.armas-control-y-desarme {
  color: #2dae82;
}

p.reforma-y-democratizacion-de-la-justicia,
a .left p.reforma-y-democratizacion-de-la-justicia,
p.reforma,
a .left p.reforma,
p.acceso-a-la-justicia,
a .left p.acceso-a-la-justicia {
  color: #8f6b96;
}

p.color-blue,
a .left p.color-blue,
p.capacitacion-cat,
a .left p.color-capacitacion-cat {
  color: #6a93d4;
}

#per-slide-template a.color-blue,
#per-slide-template a.capacitacion-cat {
  border-left: 5px solid #6a93d4;
}

#per-slide-template a.institucional-cat {
  border-left: 5px solid #9d193d;
}

.date {
  text-transform: uppercase;
  font-size: 0.8125em;
}

#nav-toggler:focus {
  outline: none;
}

#nav-toggler {
  width: 24px;
  height: 24px;
  position: relative;
  margin: 25px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  display: none;
  background: none;
  border: 0 none;
  float: right;
}

#nav-toggler span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #99253b;
  border-radius: 10px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-toggler span:nth-child(1) {
  top: 3px;
}

#nav-toggler span:nth-child(2),
#nav-toggler span:nth-child(3) {
  top: 11px;
}

#nav-toggler span:nth-child(4) {
  top: 19px;
}

#nav-toggler.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

#nav-toggler.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-toggler.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-toggler.open span:nth-child(4) {
  top: 12px;
  width: 0%;
  left: 50%;
}

.bg-grey > .block {
  background-color: #f5f5f5;
  padding: 15px 20px;
}

.block h4 {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: bold;
}

.color-boxes a.btn {
  display: none;
}

.color-boxes {
  color: #fff;
}

.box-content span img {
  max-width: 26px;
  max-height: 26px;
  margin-top: 8px;
  margin-left: 8px;
}

.pub a {
  display: block;
}

.detalle-pub .pub {
  margin-bottom: 1em;
}

.detalle-pub .pub-meta {
  margin-top: 0.5em;
}

.detalle-pub .pub-container .image {
  text-align: center;
}

.detalle-pub .pub-container .image img {
  width: 40%;
  margin: auto;
  border-radius: 30px;
}

.detalle-pub .pub-container .right-outer {
  background-color: #f5f5f5;
  padding: 0.7rem 0;
  border-radius: 30px;
  margin-top: 1rem;
}

.detalle-pub .pub-container .pub-meta {
  font-size: 0.9rem;
  color: gray;
}
.detalle-pub .pub-container .pub-cat {
  font-size: 2rem;
  color: #000;
}

.block .right-outer {
  float: left;
  width: 100%;
}

.block .right {
  margin-left: 125px;
}

.block .no-cover .right-outer {
  float: none;
  width: auto;
}

.block .no-cover .right {
  margin-left: 0;
}

.block.evento .right {
  margin-left: 0;
  display: table-cell;
  vertical-align: top;
  padding: 1rem;
  width: 80%;
  box-sizing: content-box;
  min-height: 1px;
}

.curso-info .block.evento .right {
  padding: 1rem 20px;
}

.block .left {
  float: left;
  /* margin-left: -100%; */
  /* width: 107px; */
  padding-top: 0;
}

.module .block .left {
  width: 70px;
}

.block.evento .left {
  display: table-cell;
  vertical-align: top;
  margin-left: 0;
  float: none;
  padding: 1rem;
  width: 25%;
  color: #fff;
  box-sizing: content-box;
}

.block.evento .left.no-date {
  padding: 16px 15px;
  width: 35%;
}

.block.evento a .left span,
.block.evento .left span,
.block a .left p {
  font-weight: bold;
  display: block;
  text-transform: uppercase;
  color: #fff;
  font-size: 0.875em;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.375;
}

.bg-grey .block.evento {
  padding: 0;
  background-color: transparent;
  border-bottom: 3px solid #fff;
}
.bg-grey .block.evento:last-child {
  border-bottom: 0 none;
}

.bg-grey .block.evento a {
  background-color: #f5f5f5;
}

.bg-grey .block.evento a:hover {
  background-color: #eee;
}

.curso-inscripcion .bg-grey > .block.evento {
  margin-bottom: 1em;
}

.pub .left img {
  width: 107px;
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
}

.module .pub .left img {
  width: 70px;
}

.module .block .right {
  margin-left: 90px;
}

.evento .left span {
  display: block;
}

#sidebar-right .pub-container.block h3 {
  font-size: 1em;
}

.evento a {
  display: table;
  width: 100%;
  min-height: 104px;
}

.curso-inscripcion .evento a {
  min-height: 1px;
}

.block h3 {
  text-transform: none;
  margin-bottom: 0.75em;
}

.block a h3,
.block a p,
a .block.evento .right p {
  color: #111;
}

.block a:hover h3,
.block a:hover p,
a:hover .block.evento .right p {
  color: #555;
}

.block a:hover .left p {
  color: #fff;
}

.curso-inscripcion h3 a {
  color: #111;
}

.curso-inscripcion h3 a:hover {
  color: #555;
}

#content .right p.location {
  margin-bottom: 0;
}

.post-content.curso-docs {
  margin-top: 3em;
}

.cursos-listado .evento a {
  min-height: 1px;
}

p.cat {
  text-transform: uppercase;
  font-size: 0.75em;
  border-left-width: 4px;
  border-left-style: solid;
  border-left-color: #111;
  padding: 1px 0 1px 4px;
  margin-bottom: 1em;
}

p.cat.color-blue,
p.cat.color-blue a,
p.cat.capacitacion-cat,
p.cat.capacitacion-cat a {
  border-left-color: #6a93d4;
  color: #6a93d4;
}

p.cat.color-fucsia,
p.cat.color-fucsia a,
p.cat.institucional-cat,
p.cat.institucional-cat a {
  border-left-color: #99253b;
  color: #99253b;
}

.block .post-content p.date {
  margin-top: 1em;
}

p.time,
p.location {
  font-size: 0.875em;
  font-weight: bold;
}

#info-area > .container > .row > div {
  margin-bottom: 1em;
}

#info-area .bg-grey {
  height: 100%;
  background-color: #f5f5f5;
}

.bg-grey > .block-head {
  border-bottom: 3px solid #fff;
}

.block-area {
  background-color: #f2f2f7;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  margin: 0;
  height: 100%;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.block-area .program-content {
  border-top: 1px solid #d9d9d9;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  padding: 0 1.5rem;
  opacity: 0;
  max-height: 0;
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.25s ease;
}
.block-area .program-content .section-title {
  font-size: 36px;
  font-weight: 500;
}

.block-area .program-content .link-program {
  background-color: #99253b;
  font-weight: 600;
  color: #fff;
  margin: auto;
  padding: 8px 16px;
  border-radius: 8px;
}
.block-area .program-content .link-program a {
  color: #fff;
}

.block-area .program-content .pub {
  margin: 0.25rem;
  padding: 1rem;
  border: 1px solid #8a8a8a;
  border-radius: 14px;
  background-color: #fff;
  box-shadow: 0px 4px 4px 0px #00000040;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.block-area .program-content .download {
  margin: 0;
  width: 100%;
  background-color: #fff;
  padding: 0.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.block-area .program-content .download .title {
  flex: 1;
  display: flex;
  align-items: center;
}
.block-area .program-content .download .title h4 {
  margin-bottom: 8px;
}

.block-area .program-content .pub .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.block-area .program-content .portada a img {
  height: 290px;
  display: block;
  margin: 0 auto 1rem;
}

.portada-container {
  position: relative;
}
.rrss-portada {
  position: absolute;
  bottom: 0;
  right: 10%;
  z-index: 10;
  margin-bottom: 3px !important;
}

.rrss-portada li a img {
  width: 35px;
  height: 35px;
  /* transform: scale(0.8); */
  filter: brightness(0) invert(1);
}

.rrss-portada li a {
  display: block;
  width: 100%;
  height: 100%;
}

.rrss-portada li:hover {
  transform: scale(1.4);
  transition: transform 0.3s ease;
}

.rrss-portada li.icon-tw {
  background-size: 30px;
}

.rrss-portada li.icon-ig {
  background-size: 30px;
}

.rrss-portada li.icon-yt {
  background-size: 39px;
  width: 40px;
}

.rrss-portada li.icon-fb {
  background-size: 20px;
}

.block-area .program-content > * {
  overflow: hidden;
  max-height: 0;
}

.block-area .program-content.expanded {
  grid-template-rows: 1fr;
  padding: 1rem 1.5rem;
  opacity: 1;
  max-height: 99999999px;
}
.block-area .program-content.expanded > * {
  max-height: 99999999px;
}

.areas-list .block-area {
  position: relative;
  overflow: hidden;
}

.areas-list .col-12 {
  margin-bottom: 4px;
}

.areas-list .block-area a {
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.125;
  padding: 1rem 1.5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.areas-list .block-area:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  content: "";
  transform: translateX(-101%);
  transition: transform 0.25s ease-in-out;
}

.areas-list .block-area:hover:before {
  transform: translateX(0);
}

.block-area a h3 {
  color: #fff;
  font-size: 1.375em;
  text-transform: none;
}

.block-area a {
  color: #000;
}
.block-area a .dl-item {
  color: #fff;
}

.block-area ul a {
  font-weight: bold;
}

.block-area > a > div {
  text-align: center;
  display: block;
  margin: 0 auto 1em;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.15s linear;
}

.block-area > a:hover > div {
  -ms-transform: scale(0.85); /* IE 9 */
  -webkit-transform: scale(0.85); /* Safari */
  transform: scale(0.85);
}

.block-area > a:hover h3,
.block-area a,
.block-area a:hover {
  text-decoration: none;
}

.block-area > a > div img {
  width: 65px;
  height: 65px;
  margin: 20px 0;
}

.main-block h2 {
  margin-top: 1em;
  margin-bottom: 0.25em;
  color: #474747;
}

.main-block a h2:hover {
  color: #99253b;
}

.block-area a.btn {
  border: 1px solid #fff;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 1em;
  white-space: normal;
}

.share {
  margin: 1rem 0 3rem;
}

.lista-cursos {
  width: 75%;
  float: left;
}

.curso-desc,
.page-template-page-capacitacion .cursos-lista .col-12 {
  margin-bottom: 1em;
}

.curso-inscripcion {
  border-left: 1px solid #ddd;
  padding: 1rem 1rem 0;
  height: 100%;
}

.curso-inscripcion h3 {
  text-transform: none;
}

/* .curso-inscripcion .block.evento .right {
padding:12px 15px;
} */

/* .curso-inscripcion .block.evento .right.no-title {
padding:12px 15px;
} */

.curso-inscripcion .evento {
  min-height: 1px;
  margin-bottom: 1em;
}

.listado-capat .block-curso {
  height: 100%;
}

.block-curso .btn {
  margin-top: auto;
}

#content .curso-desc p:last-child {
  margin-bottom: 0;
}

.curso-inscripcion .block.evento .left {
  padding: 10px;
}

.red h2 a {
  color: #111;
  display: block;
  margin-bottom: 0.87em;
}

.red h2 a:hover {
  color: #99253b;
}

a.btn {
  font-weight: bold;
}

a.btn.btn-danger {
  background: #ba224d;
  border-color: #99253b;
}

a.btn.outline-blue {
  border: 2px solid #6a93d4;
  color: #6a93d4;
  text-transform: uppercase;
  font-weight: bold;
  padding-left: 3em;
  padding-right: 3em;
}

.border-fucsia {
  border: 2px solid #99253b;
}

.text-fucsia {
  color: #55243b;
}

a.btn.outline-fucsia {
  border: 2px solid #9d193d;
  color: #9d193d;
  text-transform: uppercase;
  font-weight: bold;
  padding-left: 3em;
  padding-right: 3em;
}

a.btn.outline-white {
  border: 2px solid #fff;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  padding-left: 3em;
  padding-right: 3em;
}

a.btn.outline-blue:hover {
  background-color: #6a93d4;
  color: #fff;
}

a.btn.outline-white:hover {
  background-color: #fff;
  color: #6a93d4 !important;
}

.cursos-demanda .imagen {
  background: url(images-content/cursos-thumb.jpg) no-repeat center;
  background-size: cover;
  height: 150px;
}

.cursos-demanda .text {
  padding: 20px 20px 0;
}

.cursos-demanda.padding-bottom .text {
  padding: 20px;
}

.cursos-demanda p {
  margin-bottom: 1em;
}

.cursos-demanda h3 {
  font-weight: bold;
  text-transform: none;
  margin-bottom: 0.75em;
}

.cursos-demanda a {
  color: #fff;
  font-weight: bold;
}

.cursos-demanda img {
  max-width: 100%;
}

.curso-detalle .bg-grey a {
  display: block;
  background-color: #f5f5f5;
}

.curso-detalle .bg-grey a:hover {
  background-color: #eee;
}

#capacitacion {
  margin-bottom: 2em;
}

.listado-capat .col-12 {
  margin-bottom: 1rem;
}

.carousel-section {
  background-color: #99253b;
  padding-top: 0.3rem;
}

.carousel-section h6 {
  margin: 0.8rem 0;
  color: white;
  font-weight: 600;
  font-size: 1.8rem;
}

#carousel-programas h5,
#programas h5 {
  color: #474747;
  text-align: center;
  font-size: 1.5em;
  font-weight: 600;
}

.card-programa {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.card-programa img {
  height: 300px;
  object-fit: contain;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow:
    4px 4px 10px rgba(0, 0, 0, 0.2),
    -4px -4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.block-area {
  scroll-margin: 6.6rem;
}

#logos-carousel {
  padding-top: 1em;
  padding-bottom: 1em;
  background-color: #fff;
}

#logos-carousel .owl-wrapper {
  display: flex !important;
  align-items: center;
}

#pre-footer {
  margin-top: 2rem;
  font-size: 0.875em;
}

#prefooter-content {
  background-color: #d9d9d9;
  /* border-top:1px solid #AAA;
border-bottom:1px solid #AAA; */
  padding: 2em;
  margin-bottom: 1em;
}

#prefooter-content .menu {
  gap: 20px;
  height: 100%;
}

#prefooter-content h6 {
  font-size: 1.25em;
  font-weight: bold;
  margin-top: 0;
  color: #000;
  margin-bottom: 0.5em;
}

#prefooter-content p,
#prefooter-content ul {
  line-height: 2;
}

#prefooter-content p a {
  color: #111;
  font-weight: bold;
}

#prefooter-content a {
  font-weight: bold;
}

#prefooter-content .menu a {
  display: block;
}

p.first-col {
  line-height: 2;
}

#pre-footer ul.fucsia,
#pre-footer ul.black {
  line-height: 2;
}

#pre-footer ul.fucsia a {
  color: #99253b;
  display: block;
  text-transform: uppercase;
  font-weight: bold;
}

#pre-footer ul.black a {
  color: #111;
  display: block;
  font-weight: bold;
}

#main-nav #menu-menu > li.active > a,
#main-nav #menu-menu > .current-menu-item > a,
#main-nav #menu-menu > .current-page-ancestor > a {
  border-bottom: 4px solid #99253b;
}

#main-nav .second-nav li.active > a {
  border-bottom: 0 none;
}

#content .listado-docs p.volanta {
  margin-bottom: 0.5rem;
}

#content .block.comunicado p.volanta {
  margin-bottom: 0;
}

.block.pub-container {
  margin-bottom: 3rem;
}

ol {
  list-style-type: decimal;
  margin-left: 4px;
}

#breadcrumb {
  margin: 10px 0 25px;
}

#breadcrumb ul {
  line-height: 1;
}

#breadcrumb a,
#breadcrumb span {
  display: inline-block;
  font-size: 0.825rem;
  line-height: 1.5;
}

#breadcrumb li {
  display: inline-block;
}

#breadcrumb a {
  font-weight: bold;
  color: #111;
}

#breadcrumb a:hover {
  color: #99253b;
}

#breadcrumb li:after {
  content: ">";
  display: inline-block;
  margin: 0 5px;
}

#breadcrumb li:last-child:after {
  display: none;
}

#main-content {
  padding-bottom: 2em;
}

#main-content.areas-main {
  padding-bottom: 0;
}

#main-content hr {
  margin: 1.5rem 0;
}

#side-nav {
  margin-bottom: 0 !important;
  padding: 16px;
}

#side-nav li a {
  border-left-width: 7px;
  border-left-style: solid;
  border-left-color: #fff;
  color: #111;
  display: block;
  font-size: 1.5rem;
}

#side-nav li a {
  padding: 10px 0;
  padding: 10px 0 10px 15px;
  border-left-width: 0;
}

#side-nav li a:hover {
  color: #99253b;
}

#side-nav li.black.active a,
.page-template-page-areas-de-trabajo #side-nav li.parent a,
.page-child #side-nav li.current_page_item a,
#side-nav li.current_page_item a {
  border-left-color: #111;
}

/* asegurarse que hijas no hereden estilos */
#side-nav .current_page_parent > a,
#side-nav .current_page_ancestor > a {
  background: none;
  color: inherit;
}

#side-nav li.fucsia.active a,
.page-id-143 #side-nav li.parent a,
.page-child #side-nav.fucsia li.current_page_item > a,
.term-pena-y-estado #side-nav li.pena a,
.term-nueva-doctrina-penal #side-nav li.ndp a,
.term-nueva-doctrina-penal #side-nav li.ndp a,
.term-sistemas-judiciales #side-nav li.sistemas a,
.term-publicaciones-inecip #side-nav li.pubinecip > a,
.term-articulos-del-instituto #content #side-nav li.fichas a {
  border-left-color: #99253b !important;
  border-left-width: 3px;
  font-weight: bold;
}

#side-nav li.red.active a {
  border-left-color: #e76254;
}

#side-nav li.orange.active a {
  border-left-color: #efa043;
}

#side-nav li.violet.active a {
  border-left-color: #8f6b96;
}

#side-nav li.green.active a {
  border-left-color: #2dae82;
}

#side-nav li.blue.active a,
.term-cursos-a-demanda #side-nav li.blue.cursos-a-demanda a,
.term-cursos-permanentes #side-nav li.blue.cursos-permanentes a {
  border-left-color: #6a93d4;
}

.row.areas-list {
  margin-bottom: 3rem;
}

.home .row.areas-list {
  margin-bottom: 2rem;
}

a.back {
  display: block;
  text-transform: uppercase;
  margin-bottom: 0.375em;
  font-weight: bold;
  letter-spacing: 0.025rem;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: #000;
}

a.back:hover {
  color: #99253b;
}

#content h1,
#content p,
#content ul,
#content blockquote {
  margin-bottom: 1em;
}

#content h1 {
  line-height: 1.125;
}

.single-noticias #content h1,
.single-documentos #content h1,
.single-prensa #content h1,
.single-publicaciones #content h1,
.single-newsletter #content h1,
.post-type-archive #content h1 {
  margin-bottom: 0.5em;
}

.single #content p.volanta {
  margin-bottom: 0.5em;
}

.bajada p.date {
  font-size: 0.725em;
}

.error404 #content h1 {
  margin-top: 1em;
}

.error404 .post-text a {
  color: #99253b;
}

.error404 .post-text a:hover {
  color: #111;
}

.e404 {
  min-height: 300px;
}

#content h2:not:first-child {
  margin-top: 1em;
}

#content .list-results h2 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

#content #home-slider h2 {
  margin-top: 0.35em;
}

#content .pub-meta p {
  margin-bottom: 0.5em;
}

#content .module .pub-meta p {
  font-size: 0.875em;
}

.archive .pub-meta {
  margin-bottom: 1.3em;
}

.post-content,
.carta {
  margin-bottom: 3em;
}

.post-content.list-results {
  margin-bottom: 0;
}

.post-type-archive .post-content {
  margin-bottom: 0;
}

.post-content ul {
  list-style-position: outside;
  list-style-type: disc;
}

.post-content li {
  margin-left: 20px;
  margin-bottom: 1em;
}

.post-content.evento-detalle li,
.post-content.list-results li {
  margin-bottom: 0.5em;
}

#content .post-content.list-results ul {
  margin-bottom: 2em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5em;
}

#content .post-content.list-results ul:last-child,
.search-results #content .post-content.list-results ul {
  margin-bottom: 0;
  border-bottom: 0 none;
  padding-bottom: 0;
}

.search-results #content .post-content.list-results ul {
  margin-bottom: 1em;
  list-style-type: none;
}

.busqueda.post-content li {
  margin-left: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

.busqueda.post-content li:last-child {
  border-bottom: 0 none;
}

.busqueda .dl-item {
  margin-top: 0.5em;
}

#content .busqueda p {
  margin-bottom: 0;
}

p.term {
  text-transform: uppercase;
  font-size: 0.8125em;
  margin-top: 0.75em;
}

.post-content .listado-docs h4,
#content .listado-docs p.cat {
  margin-bottom: 0.5em;
}

.post-content .listado-docs h4 {
  font-size: 1.25rem;
}

.carta .right-outer {
  float: left;
  width: 100%;
}

.carta .right {
  margin-left: 142px;
}

.carta .left {
  float: left;
  margin-left: -100%;
  width: 122px;
  padding-top: 0;
}
.carta {
  margin-bottom: 3em;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0px 4px 4px 0px #00000040;
}
.carta .portada {
  color: #474747;
  gap: 1rem;
  padding: 1rem;
}

.carta img {
  max-width: 100%;
  border-radius: 50%;
  width: 201px;
  height: 201px;
  margin-bottom: 1.25em;
}
.carta .portada .author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#content .carta h2 {
  margin-bottom: 0.5em;
}

#content .carta p.author {
  font-weight: bold;
  font-size: 1.75rem;
  margin-bottom: 1rem !important;
}

#content .carta p.date {
  margin-bottom: 2em;
}

.carta-content.resumed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 5; /* Limita a 3 líneas */
  text-overflow: ellipsis;
}

.carta .ver-mas {
  margin-top: 1rem;
  font-weight: bold;
  color: #8a8a8a;
  border: none;
  background: none;
}

.download {
  text-align: center;
  width: 30%;
  margin-right: 2%;
  padding: 1em 0;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 8px;
}

.centro-documentacion {
  gap: 1em;
  justify-content: center;
}
.centro-documentacion .download {
  width: 100%;
  padding: 2em 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.centro-documentacion .download .volanta {
  width: fit-content;
  color: #474747;
  margin: 0 auto;
}

.centro-documentacion .download h4 a {
  color: #474747;
}

.download a p {
  color: #111;
  margin: 16px 0;
}

.download h4 a {
  color: #111;
  text-decoration: none;
}

.download h4 a:hover {
  color: #666;
}

.post-content.busqueda h4 {
  margin-bottom: 0.4em;
}

.list-downloads,
.listado-de-cursos .col-12 {
  margin-bottom: 1em;
}

/* Update 
.post-content .download:last-child {
border-bottom:1px solid #EEE;
} */

.download h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1em;
}

.download .dl-item {
  background-color: #99253b;
  color: #fff;
  width: 50%;
  margin: auto;
  padding: 8px 0;
  border-radius: 8px;
  margin: 8px auto;
}

.download:hover .dl-item span {
  color: #fff !important;
}

.dl-item span {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
}

/* span.icon-doc {
  background-image: url(images/icons-02.png);
  background-repeat: no-repeat;
  background-size: 50px;
} */

span.icon-doc.icon-pdf {
  background-position: left 9px;
}

span.icon-doc.icon-audio {
  background-position: left -65px;
}

span.icon-doc.icon-vid {
  background-position: left -139px;
}

span.icon-doc.icon-img {
  background-position: left -216px;
}

.redes {
  margin: 2em 0 0;
}

#content .red h2 {
  margin: 0.5em 0 0.25em;
}

.red p.url a,
.accordion-content a {
  display: block;
  color: #425dd1;
  font-weight: bold;
}

.noticia-content a {
  color: #425dd1;
  font-weight: bold;
}

#content .accordion-content .pub-meta p {
  margin-bottom: 0.25em;
}

.accordion-content .pub-meta {
  margin-bottom: 0.8em;
}

.accordion-content .pub a.btn {
  display: inline-block;
}

.red p.url a:hover,
.accordion-content a:hover,
.noticia-content a:hover {
  color: #111;
}

.single-documentos .post-content img {
  max-width: 100%;
  height: auto;
}

.accordion-toggle {
  cursor: pointer;
}
.accordion-content {
  display: none;
}
.accordion-content.default {
  display: block;
}

h4.accordion-toggle {
  font-size: 0.825em;
  font-weight: bold;
  text-transform: uppercase;
  background: url(images/icons.png) no-repeat left -205px;
  background-size: 18px;
  background-origin: content-box;
  padding: 15px;
  border-left: 15px;
  background-color: #f3f3f3;
}

h4.accordion-toggle.accordion-open {
  background-position: left -245px;
}

h4.accordion-toggle span {
  padding-left: 15px;
  display: block;
}

.accordion-item {
  margin-bottom: 10px;
}

.accordion-content {
  background-color: #f3f3f3;
  padding: 15px 15px 15px 30px;
  margin-bottom: 10px;
}

.accordion-sub .accordion-content {
  padding: 0 15px 5px 30px;
}

.accordion-sub .accordion-content a span {
  font-weight: normal;
}

.accordion-content .pub-container {
  padding: 1em 0;
  border-top: 1px solid #ddd;
}

.accordion-content .download {
  border-top: 1px solid #ddd;
}

.accordion-content .pub-container:last-child {
  border-bottom: 0 none;
}

.download a h4 {
  font-size: 1.25rem;
  color: #111;
  margin: 16px 0;
}

.listado-miembros.docentes-list {
  border-bottom: 0 none;
}

.docentes-list li {
  color: #111;
  font-weight: bold;
  padding-top: 1px;
  padding-bottom: 1px;
}

.docentes-list a {
  padding-right: 22px;
  color: #111;
}

.docentes-list a:hover {
  background: url(images/icons-02.png) no-repeat right -375px;
  background-size: 50px;
  color: #444;
}

.post-content .accordion-sub h4.accordion-toggle {
  margin-bottom: 0;
}

h4.accordion-toggle:hover {
  color: #555;
}

#content .download a:hover h4,
#content .download a:hover span {
  text-decoration: none;
  color: #444;
}

.block-curso .text a:hover {
  color: #ddd;
}

.accordion-sub .accordion-item {
  position: relative;
}

.all {
  position: absolute;
  right: 20px;
  top: 9px;
  display: inline-block;
  font-weight: bold;
  font-size: 0.825em;
  text-transform: uppercase;
  color: #425dd1;
  background: url(images/icons.png) no-repeat right -161px;
  background-size: 18px;
  padding: 8px 10px 8px 0;
}

.post-content .accordion-sub .download:last-child {
  border-bottom: 0 none;
}

.block-title h3 {
  display: inline-block;
}

.block-title a {
  float: right;
  display: inline-block;
  font-weight: bold;
  font-size: 0.825em;
  text-transform: uppercase;
  color: #425dd1;
  background: url(images/icons.png) no-repeat right -169px;
  background-size: 18px;
  padding-right: 10px;
  margin-top: 0.5em;
}

.block-title a:hover {
  color: #111;
}

.anteriores {
  margin-top: 2.5em;
}

.single-curso {
  border-bottom: 1px solid #eee;
  padding-bottom: 0;
  margin-bottom: 0;
}

.single-curso.single-curso {
  border-bottom: 0 none;
}

#content #sidebar-right h2 {
  margin-top: 0;
  margin-bottom: 0.25em;
  font-size: 1.25rem;
}

.color-box {
  padding: 25px;
  margin-bottom: 2rem;
}

.banner {
  margin-bottom: 2rem;
  border: 1px solid #eee;
}

.banner img {
  width: 100%;
  height: auto;
}

#content .color-box p:last-child,
#content .color-box ul:last-child {
  margin-bottom: 0;
}
.frase {
  border-radius: 10px;
}

.frase p {
  font-size: 1.2rem;
}

/*.frase p:last-child {
font-size:1em;
}*/

#sidebar-left {
  background-color: #f5f5f5;
}

.institucional-cat .color-box {
  min-height: 0;
  margin-bottom: 1em;
}

.colorline hr {
  height: 4px;
  margin: 0 0 4px;
}

.colorline.fucsia hr,
.colorline.institucional-cat hr {
  background-color: #9d193d;
}

.colorline.red hr,
.colorline.juicio-por-jurados hr {
  background-color: #e76254;
}

.colorline.orange hr,
.colorline.carceles-y-politica-penitenciaria hr {
  background-color: #efa043;
}

.colorline.violet hr,
.colorline.reforma-y-democratizacion-de-la-justicia hr,
.colorline.reforma hr,
.colorline.acceso-a-la-justicia hr {
  background-color: #8f6b96;
}

.colorline.green hr,
.colorline.criminalidad-economica hr,
.colorline.trata-de-personas hr,
.colorline.armas-control-y-desarme hr {
  background-color: #2dae82;
}

.colorline.blue hr,
.colorline.blue hr,
.colorline.capacitacion-cat hr,
.colorline.capacitacion-cat hr {
  background-color: #6a93d4;
}

.col-miembro img {
  width: 122px;
  height: 122px;
  border-radius: 50%;
}

.three-cols .col {
  width: 32%;
  margin-right: 1%;
  float: left;
}

.three-cols .col:last-child {
  margin-right: 0;
}

#content .miembros-principales p,
#content .listado-miembros p {
  margin-bottom: 0;
}

.col-miembro {
  display: table;
  margin-bottom: 2em;
  width: 100%;
}

.col-miembro .left {
  display: table-cell;
  vertical-align: middle;
  width: 122px;
}

.col-miembro .right {
  display: table-cell;
  vertical-align: middle;
  padding-left: 15px;
}

.col-miembro .right strong {
  display: block;
}

.listado-miembros {
  border-bottom: 1px solid #eee;
  margin-bottom: 0;
}

ul.sub-list {
  width: 32%;
  margin-right: 2%;
  float: left;
}

.listado-docentes ul.sub-list {
  width: 49%;
  margin-right: 2%;
}

.listado-docs ul.sub-list {
  margin: 0;
  float: none;
  width: auto;
}

ul.sub-list:last-child {
  margin-right: 0;
}

.listado-miembros li {
  margin-bottom: 0.75em;
}

.box-content a {
  color: #fff;
}

#content .box-content p,
#content .box-content ul {
  margin-bottom: 0;
}

.box-content a:hover {
  color: #ddd;
}

.box {
  padding: 20px 15px 30px;
  border: 1px solid #fff;
  float: left;
  width: 50%;
}

.box-content ul a {
  font-weight: bold;
  line-height: 1.5;
}

#content .box-content h2 {
  margin-top: 0;
  padding-top: 0.3em;
}

.box-content {
  position: relative;
  padding-left: 55px;
}

.box-content span {
  width: 42px;
  height: 42px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  border-radius: 50%;
}

.icon-area.bg-violet .miembros-sidebar:before {
  background-position: center 9px;
}

.icon-area.bg-red .miembros-sidebar:before {
  background-position: center -66px;
}

.icon-area.bg-green .miembros-sidebar:before {
  background-position: center -140px;
}

.icon-area.bg-orange .miembros-sidebar:before {
  background-position: center -215px;
}

.post-content h4,
.module h4 {
  font-weight: bold;
  margin-bottom: 0.75em;
  font-size: 0.875rem;
}

.module h4 {
  text-transform: uppercase;
  margin-bottom: 0.375em;
  letter-spacing: 0.025rem;
}

.module {
  margin-bottom: 3em;
}

.ult-noticias {
  border-top: 1px solid #eee;
}

.ult-noticias a {
  display: block;
  color: #111;
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  font-weight: bold;
}

.ult-noticias a:hover {
  color: #9d193d;
}

.miembros-sidebar li {
  line-height: 1.75;
}

.miembros-sidebar p {
  font-weight: bold;
  line-height: 1.25;
}

p.dl a {
  color: #fff;
  font-weight: bold;
}

p.dl a.icon-dl {
  background: url(images/icons-02.png) no-repeat right -300px;
  background-size: 50px;
  display: inline-block;
  padding-right: 25px;
}

a.icon-dl:hover {
  text-decoration: underline;
}

#sidebar-right .block.evento .right,
#sidebar-right .evento a,
#sidebar-right .block.evento {
  min-height: 1px;
}

#content #sidebar-right p.location {
  margin-bottom: 0;
}

#content p.time {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

#sidebar-right .block h3 {
  text-transform: none;
  margin-bottom: 0.375em;
  font-size: 1rem;
}

/* .icon-area .miembros-sidebar:before {
content:'';
width:48px;
height:48px;
background-color:#FFF;
display: block;
background-image: url(images/areas.png);
background-repeat: no-repeat;
background-size: 38px;
background-position: 4px 5px;
border-radius: 50%;
} */

.side-cont {
  /* margin-top:1.5rem; */
  color: #fff;
}

.redes h2 a {
  color: #111;
}

.redes h2 a:hover {
  color: #9d193d;
}

.cursos-listado .curso-inscripcion {
  border-top: 1px solid #ddd;
  border-left: 0 none;
  padding: 2em 0 0 0;
}

.curso-inscripcion > .left {
  float: left;
  width: 52%;
  margin-right: 4%;
}

.curso-inscripcion > .right {
  float: right;
  width: 44%;
}

/* p.location.trunc span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 130px;
display:block;
} */

/* Update
#content .curso-inscripcion .block.evento .right p {
margin-bottom:.25em;
} */

.cursos-listado {
  border-bottom: 1px solid #ddd;
}

.cursos-listado .curso-info .block.evento {
  display: table;
  width: 100%;
}

.curso-info .block.evento .left {
  vertical-align: top;
}

.cursos-listado .curso-info p.time,
.cursos-listado .curso-info p.location {
  font-size: 0.875em;
}

#content .curso-info p.time {
  margin-bottom: 0.25em;
}

.contact-box h3 {
  text-transform: none;
}

.contact-box a {
  font-weight: bold;
  color: #fff;
}

.curso-detalle {
  display: flex;
  margin-bottom: 1em;
  width: 100%;
}

.curso-detalle .block-curso {
  margin-bottom: 0;
}

.curso-left {
  display: table-cell;
  width: 69%;
  vertical-align: middle;
  padding-right: 4%;
}

.cursos-listado.no-border {
  border-bottom: 0 none;
}

.listado-docentes li {
  list-style: none;
  margin-left: 0;
}

.listado-docentes a {
  color: #000;
  font-weight: bold;
  display: inline-block;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-right: 25px;
}

.grey-box .search-container {
  width: 100%;
  display: block;
  background-color: #f7f7f7;
  padding: 15px;
}

.filter-area {
  width: 100%;
  display: block;
  padding: 15px;
  margin-bottom: 20px;
  padding-bottom: 0;
}
.filter-area input,
select {
  background: #f2f2f7 !important;
  border-radius: 10px;
  padding: 10px !important;
  font-size: 1rem !important;
  height: auto !important;
}

.facetwp-facet {
  margin-bottom: 15px !important;
}

.facetwp-btn {
  top: 5px !important;
  right: 5px !important;
}

.facetwp-btn:before {
  width: 22px !important;
  height: 22px !important;
}

.facetwp-search-wrap {
  position: relative;
  display: block;
}

.grey-box .search-container input[type="text"] {
  background-color: #fff;
}

.grey-box .search-container .btn {
  right: 18px;
  top: 19px;
}

.inline-block {
  display: inline-block;
}

#content .grey-box p.inline-block {
  line-height: 1.42857143;
  margin-bottom: 0;
}

.grey-box .form-inline {
  font-weight: normal;
  padding: 10px;
  background-color: #f7f7f7;
  border-top: 4px solid #fff;
  font-size: 0.875em;
  margin-bottom: 2em;
}

.grey-box .form-inline .form-control {
  height: 30px;
  padding: 4px 12px;
  margin-left: 10px;
}

.listado-pub .block .left {
  /* width: 135px; */
  padding-bottom: 1em;
}

.listado-pub .pub {
  padding-bottom: 1.5em;
}

.archive .listado-pub .block .left,
.archive .listado-pub .block .right {
  padding-bottom: 0;
}

.listado-pub .block .no-cover .left {
  width: auto;
}

.listado-pub .block .right {
  margin-left: 155px;
  padding-bottom: 1em;
}

.listado-pub .block .no-cover .right {
  margin-left: 0;
  padding-bottom: 1em;
}

#content .pub-container p.cat {
  margin-bottom: 1em;
}

.module .pub-container {
  margin: 1em 0;
  border-top: 1px solid #eee;
  padding-top: 1em;
}

.listado-pub .pub .left img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
  border: 1px solid #eee;
}

.archive .listado-pub .pub .left img {
  margin-bottom: 0;
}

.listado-pub .pub a.btn {
  display: inline-block;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.listado-pub .block.pub-container {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1.5em;
}

.center-list {
  float: left;
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #eeeeee;
  margin-bottom: 3em;
}

.listado-de-cursos {
  margin-top: 2em;
}

#content .center-list ul {
  clear: left;
  float: left;
  list-style: none;
  position: relative;
  left: 50%;
  text-align: center;
  margin-bottom: 0;
}

.center-list ul li {
  display: block;
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  right: 50%;
}

#pager a {
  padding: 10px 6px;
  margin: 0 2px;
  border: 1px solid transparent;
  width: 32px;
  line-height: 1.5;
  vertical-align: middle;
  display: inline-block;
  color: #111;
  font-weight: bold;
}

#pager a:hover {
  color: #555;
}

#pager .current a {
  color: #193853;
  cursor: default;
}

#pager .prev-page a,
#pager .next-page a {
  border: 1px solid #21649d;
  background: url(images/pager-arrows.png) no-repeat left top;
  background-size: 30px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-indent: -9999px;
}

#pager .prev-page a {
  background-position: 12px 10px;
}

#pager .next-page a {
  background-position: -12px 10px;
}

#pager .prev-page a:hover {
  background-position: 12px -10px;
  background-color: #21649d;
}

#pager .next-page a:hover {
  background-position: -12px -10px;
  background-color: #21649d;
}

.block.comunicado .post-content {
  margin-bottom: 0;
}

.comunicado-wrapper {
  padding: 1em;
}

.scale-animation:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.prensa-listado .comunicado {
  min-height: 1px;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  padding: 1em;
  height: 100%;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.prensa-listado .comunicado h3,
.prensa-listado .comunicado .post-content {
  margin-left: 0;
  margin-right: 0;
}

.cat-container {
  padding: 11px 0;
}

#content p.cat-container {
  margin: 0;
}

.bg-grey .cat-container {
  padding: 11px 0;
}

.col-1-3 {
  width: 24%;
  display: inline-block;
  vertical-align: top;
}

.noticias-list .col-1-3 {
  width: 32%;
}

.prensa-listado .comunicado img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
}

#content .prensa-listado p.cat {
  margin-bottom: 0;
}

a.link-prensa {
  display: block;
  padding: 0;
}

.prensa-listado h3 a {
  color: #111;
}

.prensa-listado h3 a:hover {
  color: #555;
}

.col-md-6.narrow-col {
  width: 68%;
}

.col-md-2.push-right {
  float: right;
}

.prensa-listado .col-1-3 {
  margin-bottom: 1.5em;
}

.comunicado .post-content a {
  font-weight: bold;
}

.post-content ul.listado-docs {
  list-style: none;
}

.post-content .listado-docs li {
  margin-bottom: 0;
}

.listado-docs ul.sub-list {
  margin-left: -10px;
  margin-right: -10px;
  list-style-type: none;
}

.listado-docs li {
  width: 47%;
  float: left;
  padding: 1em 0;
  margin-left: 1.5%;
  margin-right: 1.5%;
}

.wp-pagenavi {
  clear: both;
}

.wp-pagenavi a,
.wp-pagenavi span {
  text-decoration: none;
  border: 1px solid #bfbfbf;
  padding: 3px 5px;
  margin: 2px;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
  border-color: #000;
}

.wp-pagenavi span.current {
  font-weight: bold;
}

.post-content ul.sub-list .download:last-child {
  border-bottom: 0 none;
}

.second-nav .active a:hover {
  color: #99253b;
}

#content .listado-eventos p.location {
  margin-bottom: 0;
}

#content .listado-eventos p.time {
  margin-bottom: 0.5em;
}

.block.evento h3 {
  margin-bottom: 0.325em;
  line-height: 1.125;
}

.listado-eventos .block.evento .right {
  min-height: 1px;
  padding: 8px 20px;
}

.listado-eventos .evento a {
  min-height: 88px;
}

.listado-eventos .center-list {
  margin-bottom: 0;
}

.contact .map-container {
  position: relative;
  overflow: hidden;
}
.contact .map-container .info-map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 5px;
  /* font-size: 0.875em; */
  z-index: 1000;
  padding: 15px;
  height: 70%;
  background-color: #99253b;
  display: flex;
  align-items: center;
}

.contact .map-container .info-map.noshow {
  position: absolute;
  top: 50%;
  left: 1%;
  transform: translate(-50%, -50%);
  border-radius: 0;
  color: #fff;
  z-index: 1000;
  padding: 15px;
  height: 100%;
  background-color: #99253b;
  display: flex;
  align-items: center;
}

.contact .map-container .info-map.noshow .rich-text {
  display: none !important;
}

.contact .map-container .info-map #close-info-map {
  position: absolute;
  top: 5px;
  right: 12px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
}
.contact .map-container .info-map #close-info-map.clicked {
  transform: rotate(180deg);
  height: 100%;
  padding: 10px;
  right: 0;
  display: flex;
  align-items: center;
}

.contact .map-container .info-map a {
  color: #fff;
}

.contact .left a:hover {
  color: #ccc;
}

.contact .left p {
  line-height: 2;
  display: block;
}

#content .contact .left p:last-child {
  margin-bottom: 0;
}

#map {
  width: 100%;
  height: 400px;
}

#map iframe {
  width: 100%;
  height: 400px;
}

.contact .right {
  height: 400px;
}

.gm-style-iw * {
  display: block;
}
.gm-style-iw h4,
.gm-style-iw p {
  margin: 0;
  padding: 0;
}
.gm-style-iw a {
  color: #4272db;
}

.back-to-top {
  position: fixed;
  bottom: 2em;
  right: 0;
  background: url(images/arrow-scroll.png) no-repeat;
  display: none;
  background-size: 52px;
  width: 52px;
  height: 52px;
  text-indent: -9999px;
  z-index: 999;
}

a.btn:hover,
.block a:hover p,
#per-slide-template a:hover,
.news-content a:hover h2,
.news-content a:hover h2:hover,
.news-content a:hover p,
#content .evento a:hover {
  text-decoration: none;
}

.tags {
  margin-bottom: 1em;
  margin-top: 1.5em;
}

.detalle-pub .tags {
  margin-top: 2em;
}

.tags h4 {
  font-size: 0.85em;
  font-weight: bold;
  display: inline-block;
}

.tags ul {
  display: inline-block;
  font-size: 0.85em;
}

.tags ul li {
  display: inline-block;
}

.tags ul li a {
  display: inline-block;
  padding: 2px 5px;
  color: #ba224d;
  margin-right: 4px;
  margin-top: 4px;
}
.tags ul li a::after {
  content: " |";
  /* margin-left: 0.5rem; */
}

#content .tags ul li a:hover {
  text-decoration: none;
  background-color: #ddd;
}

/* .block-area a.btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #eee;
} */

#content #side-nav ul {
  margin-bottom: 0;
}

#content #side-nav ul.inactive > li > a {
  font-weight: normal;
  border-left-width: 0;
}

#content #side-nav ul > li > a {
  padding-left: 35px;
}

.bajada {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.noticia-content img {
  max-width: 100%;
  width: auto;
  height: auto;
}

.noticia-img.full-img img {
  max-height: 1000px;
  max-width: 100%;
  width: auto;
}

.noticia-content,
.bajada {
  width: 88%;
}

blockquote {
  font-size: 1.375em;
  line-height: 1.25;
  margin: 1em 2em;
  background: url(images/quote.png) no-repeat left 4px;
  background-size: 48px;
  color: #616161;
  padding-left: 60px;
}

.noticia-img {
  margin-bottom: 1.5em;
}

#content .noticia-content h2 {
  font-weight: bold;
  font-size: 1.375em;
  margin-top: 1em;
}

.noticia-content.post-content {
  margin-bottom: 0;
}

#main-content .listado-miembros:last-child {
  border-bottom: 0 none;
}

.doc-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.evento-detalle .no-link.block.evento .right {
  background-color: #f5f5f5;
}

.evento-detalle p img {
  max-width: 100%;
  height: auto;
}

.single .gallery-content {
  padding-top: 0.25em;
}

.wp-pagenavi {
  clear: both;
  margin: 1em 0;
  text-align: center;
  font-weight: bold;
  background-color: #f5f5f5;
}

.wp-pagenavi a,
.wp-pagenavi span {
  border: 0 none;
  padding: 8px 8px;
  margin: 5px;
  display: inline-block;
}

.wp-pagenavi a {
  color: #111;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
  color: #888 !important;
}

.wp-pagenavi span.pages {
  display: none;
}

.post-content .searchandfilter li {
  margin-left: 0;
  margin-bottom: 0;
}

.facetwp-pager-label {
  display: none !important;
}

.facetwp-pager {
  text-align: center;
  background-color: #f5f5f5;
  font-weight: bold;
  margin-bottom: 2rem;
}

a.facetwp-page {
  color: #111;
  padding: 10px 6px;
  margin: 0 2px;
  width: 32px;
  line-height: 1.5;
  vertical-align: middle;
}

a.facetwp-page.active {
  color: #888;
  cursor: default;
}

.tax-publicacion .facetwp-facet,
.page-template-page-centro-de-documentacion .facetwp-facet,
.post-type-archive .facetwp-facet {
  width: 50%;
  float: left;
  padding-left: 15px;
  padding-right: 15px;
}

.sidebar-search .search-form {
  width: 100%;
}
.sidebar-search .search-container {
  width: 100%;
  display: block;
  margin-bottom: 16px;
}

.tax-publicacion .facetwp-facet.facetwp-facet-buscar {
  float: none;
  width: 100%;
}

.prensa-listado.container {
  padding: 0;
}

.listado-eventos .block.evento .right,
.single-eventos .block.evento .right {
  display: block;
  margin: 0 0 0 105px;
  width: auto;
  padding: 1rem;
}

.single-eventos .block.evento .right {
  min-height: 59px;
}

.listado-eventos .block.evento .left,
.single-eventos .block.evento .left {
  display: block;
  float: left;
  margin-left: -100%;
  width: 70px;
  padding-top: 0;
  vertical-align: top;
  padding-top: 1rem;
}

.cursos-listado .curso-info .block.evento {
  display: block;
}

#content .filter-area p {
  font-size: 0.875em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

p.more {
  font-weight: bold;
  border-top: 1px solid #eee;
  margin-bottom: 2em !important;
  padding-top: 1rem;
}

.file-links {
  margin: 1.5rem 0;
}

#content .file-links p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.file-links a.btn {
  min-width: 278px;
  margin-right: 1rem;
}

.home p.more {
  text-align: right;
}

.pub-meta {
  font-size: 0.875em;
}

.bg-g > a.link-prensa {
  max-height: 167px;
  overflow: hidden;
  margin-bottom: 0.5em;
}

#menu-menu-sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bg-grey > .block.block-dl {
  padding: 15px 20px;
  border-top: 0 none;
  border-bottom: 1px solid #fff;
}

.bg-grey > .block.block-dl:last-child {
  border-bottom: 0 none;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.top-block .line {
  flex-grow: 1;
  height: 1px;
  background-color: black;
}

/* HOME FEAT NEWS */

.home-feat-news .top-block svg {
  width: 34px;
  height: auto;
}

.home-feat-news .main-news {
  margin-bottom: 2px;
}

.home-feat-news a {
  color: #111;
}

/* .home-feat-news a:hover {
  color: #111;
  background: #efefef;
} */

.main-news .col-text {
  min-height: 343px;
}

#content .home-feat-news .main-news h2 {
  font-size: 2.75rem;
  line-height: 1;
}

.home-feat-news .main-news .post-content p {
  font-size: 1.25rem;
}

.home-feat-news .main-news .col-image {
  position: relative;
}

.home-feat-news .main-news .col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

#doc-carousel .owl-wrapper,
#pub-carousel .owl-wrapper {
  padding: 1rem 0;
}

#doc-carousel .owl-wrapper {
  height: 28vh;
}

#doc-carousel .owl-item {
  height: 100%;
  padding: 0 8px;
  display: flex;
}

#pub-carousel .owl-item {
  height: 100%;
  padding: 0 2rem;
  display: flex;
}
#doc-carousel .download {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#doc-carousel .download h4 {
  flex: 1;
  padding: 0 1rem;
}

#doc-carousel .download h4 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

#pub-carousel .pub .title a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

#pub-carousel .owl-wrapper .pub {
  padding: 1rem;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 8px;
}

#pub-carousel .owl-wrapper .pub .right-outer a {
  display: flex;
  justify-content: center;
}

#pub-carousel .owl-wrapper .pub .right-outer a img {
  width: auto;
  height: 30vh;
}

#doc-carousel .download:hover,
#pub-carousel .pub:hover {
  transform: scale(1.02);
}

.home-feat-news p.cat {
  padding: 0;
  border: 0 none;
}

.feat-news .row {
  margin-left: -2px;
  margin-right: -2px;
}

.feat-news .row > [class*="col-"] {
  padding-right: 2px;
  padding-left: 2px;
}

.feat-news {
  overflow: hidden;
}

.feat-news h2 {
  line-height: 1.125;
}

/* SLIDER GRUPOS */

.swiper-grupos .swiper-slide {
  height: auto;
}

.grupo-block a {
  height: auto;
  font-size: 1.5rem;
  line-height: 1.25;
}

.grupo-block a svg {
  width: 32px;
  height: auto;
}

.grupo-block .top-block svg {
  width: 52px;
  height: auto;
}

.grupos-slider .swiper-button-next,
.grupos-slider .swiper-button-prev {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: auto;
  height: 40px;
  margin: 0;
  display: block;
  color: #99253b;
}

.grupos-slider .swiper-button-next:after,
.grupos-slider .swiper-button-prev:after {
  font-size: 2.5rem;
}

/* archive newsletter */

.post-type-archive-newsletter .sidebar:before {
  content: "";
  height: 4px;
  width: 100%;
  background: white;
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  display: block;
}

.logo-sin-vueltas {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.logo-inecip {
  cursor: pointer;
}

.mapa-preview-section .container {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.logos-footer {
  height: 100%;
}

.desarrollado-por a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .grupo-block a {
    font-size: 1.25rem;
  }

  #content .home-feat-news .main-news h2 {
    font-size: 2.25rem;
  }

  #header .container-fluid {
    width: 90%;
  }

  .second-nav li {
    margin-right: 1rem;
    text-align: start;
  }

  .box {
    width: 100%;
  }

  .news-content a {
    width: 50%;
  }

  p.location.trunc span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 120px;
    display: block;
  }

  .curso-inscripcion > .left,
  .curso-inscripcion > .right {
    float: none;
    width: auto;
    margin-right: 0;
  }

  .curso-inscripcion > .right {
    padding-bottom: 1em;
  }

  #main-nav a {
    margin: 0 0.5rem;
  }

  .col-miembro img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 991px) {
  #main-nav a {
    padding: 17px 0 13px;
  }

  h1#logo {
    background: url(images/logo.png) no-repeat;
  }

  #content .home-feat-news .main-news h2 {
    font-size: 2rem;
  }

  #menu-menu {
    flex-direction: column;
    justify-content: center;
  }

  #main-nav .dropdown-menu {
    background: none;
    min-width: 300px;
  }

  .block-area {
    margin: 0 0 1.5em;
  }

  .download {
    width: 100%;
  }

  .single-documentos .post-content {
    margin-bottom: 3rem;
  }

  .file-links p {
    margin-top: 0.5rem;
  }

  .block-curso .btn {
    margin-top: 0;
    width: auto;
    display: inline-block;
  }

  #nav-container.collapse:not(.show) {
    display: none;
  }

  .top-nav.second-nav {
    display: none;
  }

  #main-nav {
    background-color: #fff;
    border-bottom: 1px solid #dfdfdf;
    border-top: 1px solid #dfdfdf;
  }

  #main-nav .dropdown-menu a {
    line-height: 1.25;
    font-size: 1rem;
  }

  #main-nav .second-nav nav {
    float: none;
    margin-top: 0;
  }

  .dropdown-menu a span {
    padding-left: 0;
    border: 0 none;
  }

  .post-content li {
    margin-bottom: 0.75em;
  }

  .archive .pub-meta {
    font-size: 0.875em;
  }

  .listado-pub .block.pub-container {
    float: left;
    width: 50%;
    padding-right: 2.5%;
  }

  .grey-box .search-container,
  .filter-area {
    padding: 15px 15px 0;
  }

  .tax-publicacion .facetwp-facet,
  .page-template-page-centro-de-documentacion .facetwp-facet,
  .post-type-archive .facetwp-facet {
    padding-left: 15px;
    padding-right: 15px;
  }

  .color-box {
    padding: 15px;
  }

  #home-slider {
    margin: 0 0 25px;
  }

  #home-slider .col-md-5 {
    padding: 0;
  }

  footer {
    font-size: 0.75em;
  }

  .page-template-page-institucional #main-content {
    margin-bottom: 2em;
  }

  .red .post-content {
    margin-bottom: 2em;
  }

  #per-slide-template a.cycle-pager-active {
    margin-left: 0;
  }

  #prefooter-content {
    line-height: 2;
  }

  p.first-col {
    margin-bottom: 1em;
  }

  .post-content .searchandfilter li {
    width: 33.333333%;
  }

  #main-nav .dropdown-menu h4 a,
  #main-nav .dropdown-menu h4 a:hover {
    padding: 10px 15px;
  }

  p.location.trunc span {
    width: 100%;
    white-space: normal;
    overflow: visible;
  }

  .col-1-3 {
    width: 32.75%;
  }

  .col-md-pull-6 {
    right: 70%;
  }

  .col-md-pull-6.narrow {
    right: 75%;
  }

  #header .container-fluid {
    width: 100%;
    overflow: hidden;
  }

  .col-md-2.push-right,
  .col-md-6.narrow-col {
    float: none;
    width: 100%;
  }

  .gallery-content .flex-direction-nav .flex-next,
  .gallery-content .flex-direction-nav .flex-prev {
    display: none;
  }

  .center-list {
    margin-bottom: 0;
  }

  #sidebar-right.colorline:before {
    display: none;
  }

  .curso-inscripcion > .left {
    float: left;
    width: 52%;
    margin-right: 4%;
  }

  .curso-inscripcion > .right {
    float: right;
    width: 44%;
    padding-bottom: 0;
  }

  #content .block-title h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

  .module,
  .color-box {
    margin-bottom: 2em;
  }

  .box {
    width: 50%;
  }

  .color-box {
    min-height: 1px;
  }

  #main-content {
    padding-bottom: 0;
  }

  .col-md-2.narrow {
    width: auto;
    float: none;
    right: auto;
    margin: 1em 0;
    clear: both;
  }

  #prefooter-content > .clearfix > p {
    float: none;
    width: auto;
  }

  p.first-col {
    float: none;
    width: auto;
    margin-bottom: 1em;
  }

  #prefooter-content {
    padding: 1em;
  }

  ul.fucsia,
  ul.black {
    width: 50%;
  }

  #pre-footer ul.fucsia,
  #pre-footer ul.black {
    float: none;
  }

  aside ul.fucsia,
  aside ul.black {
    width: 100%;
  }

  .dropdown-menu h4 {
    border-bottom: 0 none;
  }

  a.dropdown-trigger {
    background: url(images/arrows.png) no-repeat right 0 top 2px;
    background-origin: content-box;
    background-size: 15px;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
  }

  .open a.dropdown-trigger {
    background-position: right 0 top -95px;
  }

  .news-content {
    height: 380px;
    width: 100%;
  }

  h1#logo {
    height: 26px;
    margin: 17px 0;
    background-size: 250px;
    width: 250px;
    background-size: 89px auto;
  }

  h1#logo a {
    height: 26px;
  }

  #main-nav {
    padding: 0;
  }

  #main-nav nav li {
    display: block;
  }

  #main-nav nav,
  #main-nav nav > ul {
    text-align: left;
  }

  #main-nav nav > ul {
    line-height: 1.25;
  }

  #main-nav .dropdown-menu {
    position: relative !important;
    transform: none !important;
    top: auto;
    left: auto;
    float: none;
    margin: 0;
    border: 0 none;
    box-shadow: none;
  }

  #main-nav .dropdown-menu a,
  #main-nav .dropdown-menu a:hover {
    padding: 10px 15px 10px 30px;
    border-bottom: 1px solid #dfdfdf;
  }

  #main-nav .dropdown-menu li li a,
  #main-nav .dropdown-menu li li a:hover {
    padding: 10px 15px 10px 50px;
  }

  #main-nav .dropdown-menu li:last-child a,
  #main-nav .dropdown-menu li:last-child a:hover {
    border-bottom: 1px solid #dfdfdf;
  }

  #nav-toggler {
    display: block;
    margin: 18px auto 18px auto;
    padding-left: 15px;
  }

  header .collapse {
    display: none;
  }

  header .collapse.show {
    display: block;
  }

  .second-nav {
    display: block;
    position: relative;
    right: auto;
    top: auto;
    border-top: 1px solid #dfdfdf;
  }

  #main-nav .second-nav {
    display: block;
  }

  #nav-container {
    margin-left: 0;
    margin-right: 0;
  }

  /* #main-nav>.container {
padding:0;
} */

  #main-nav nav li {
    float: none;
    right: auto;
  }

  #main-nav nav > ul.clearfix > li {
    display: block;
  }

  #main-nav nav > ul.clearfix > li.icon-tw,
  #main-nav nav > ul.clearfix > li.icon-fb {
    display: none;
  }

  #main-nav nav {
    float: none;
    left: auto;
  }

  .clearfix-1023:before,
  .clearfix-1023:after {
    display: table;
    content: "";
    line-height: 0;
  }

  .clearfix:after {
    clear: both;
  }

  #main-nav a,
  #main-nav a:hover {
    border-bottom: 1px solid #dfdfdf;
    float: none;
    display: block;
    margin: 0;
    padding: 10px 0;
  }

  #main-nav li.active > a {
    border-bottom: 1px solid #dfdfdf;
  }

  .second-nav a {
    padding: 10px 15px;
    font-size: 1em;
    display: block;
    border-bottom: 1px solid #dfdfdf;
  }

  #main-nav .second-nav a {
    padding: 10px 0;
    font-size: 1em;
    display: block;
    border-bottom: 1px solid #dfdfdf;
  }

  #main-nav .second-nav a:hover {
    text-decoration: none;
    border-bottom: 1px solid #dfdfdf;
  }

  #main-nav .second-nav .icon-social-nav a {
    border-bottom: 0 none;
    padding: 0;
  }

  #main-nav nav li.icon-social-nav {
    display: inline-block;
    width: 20px;
    margin-top: 1rem;
  }

  .second-nav li,
  .second-nav nav,
  .search-container {
    display: block;
    margin: 0;
    width: 100%;
  }

  .search-container {
    margin-bottom: 0 !important;
    padding: 15px 0;
  }

  .second-nav li.icon-tw,
  .second-nav li.icon-fb {
    display: none;
  }

  #main-nav li:last-child a,
  #main-nav li:last-child a:hover {
    border-bottom: 0 none;
  }

  .clearfix-1023:after {
    clear: both;
  }

  .col-md-3.col-sm-8,
  .col-md-5.col-sm-8 {
    width: 100%;
    float: none;
  }

  header {
    border-bottom: 1px solid #b3b3b3;
  }

  .search-container .btn {
    right: 22px;
    top: 24px;
  }

  li.news-content {
    height: 380px;
  }

  .news-content h2 {
    font-size: 1.75em;
  }

  #per-slide-template {
    border-top: 0 none;
    z-index: 12;
    margin-top: 5px;
  }

  #per-slide-template a {
    text-indent: -9999px;
    display: inline-block;
    margin-right: 5px;
    border-bottom: 0 none;
    width: 20px;
    height: 20px;
    position: relative;
    border: 0 none !important;
    background-color: #666;
  }

  #per-slide-template a.cycle-pager-active {
    background-color: #111;
  }

  #per-slide-template a div {
    display: none;
  }

  #per-slide-template a.cycle-pager-active:before {
    display: none;
  }
}

@media (max-width: 991px) {
  #content > section {
    margin-bottom: 1.75rem;
  }

  .main-news .col-text {
    min-height: 0;
  }

  .taxonomy-publicaciones .listado-pub .pub-container .pub {
    flex-direction: column;
  }

  .taxonomy-publicaciones .listado-pub .pub-container img {
    width: 100% !important;
    object-fit: cover;
  }

  .sidebar-search .search-container input.form-control:focus {
    z-index: 1;
    position: relative;
  }

  .sidebar-search .search-container .search-form .btn-search {
    pointer-events: none;
    display: block;
    position: absolute;
    z-index: 2;
  }

  .taxonomy-publicaciones .listado-pub .pub-container .info {
    padding: 0.5rem 0 !important;
  }

  #content .home-feat-news .main-news h2 {
    font-size: 1.75rem;
  }

  .home-feat-news .main-news .post-content p {
    font-size: 1.125rem;
  }

  .bajada {
    font-size: 1.25rem;
  }

  .listado-pub .block.pub-container {
    float: none;
    width: auto;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .carta img {
    width: 57px;
    height: 57px;
  }

  .listado-pub .pub {
    padding-bottom: 20px;
  }

  .block-area a h3 {
    font-size: 1.15em;
  }

  .col-miembro {
    margin-bottom: 1em;
  }

  .listado-miembros {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
  }

  .post-content .searchandfilter li {
    width: 50%;
  }

  .post-content .searchandfilter li:first-child {
    width: 100%;
    margin-bottom: 20px;
  }

  .searchandfilter {
    padding: 20px;
  }

  .noticia-content,
  .bajada {
    width: 100%;
  }

  #map {
    width: 100%;
    height: 240px;
  }

  #map iframe {
    width: 100%;
    height: 240px;
  }

  .contact .left {
    float: none;
    width: 100%;
    height: auto;
  }

  .contact .right {
    float: none;
    width: 100%;
    height: 240px;
  }

  #pre-footer ul.fucsia {
    padding-top: 0;
    margin-top: 0;
    border-top: 0 none;
  }

  .col-1-3 {
    float: left;
    width: 50%;
  }

  .redes {
    padding: 0;
  }

  #main-content h1 {
    font-size: 1.825em;
    line-height: 1.125;
  }

  #content h2 {
    font-size: 1.5em;
  }

  #content #home-slider h2 {
    font-size: 1.5rem;
  }

  .block h3 {
    font-size: 1.1em;
  }

  .block-title a {
    float: none;
    margin-top: 0;
  }

  .block-title {
    padding-bottom: 1em;
  }

  .block-title h3 {
    display: block;
  }

  ul.sub-list {
    width: 49%;
    margin-right: 2%;
    float: left;
  }

  ul.sub-list:last-child {
    margin-right: 0;
  }

  .listado-docs ul.sub-list {
    margin-right: -10px;
  }

  .three-cols.miembros-principales .col {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1em;
    float: none;
  }

  .col-miembro .left {
    width: 90px;
  }

  .carta .right-outer {
    float: none;
  }

  .carta .right {
    margin-left: 0;
  }

  .carta .left {
    float: none;
    margin-left: 0;
    width: 100%;
    padding-top: 0;
  }

  .carta .left img {
    width: 122px;
    height: 122px;
  }

  p.first-col {
    width: 100%;
  }

  ul.fucsia,
  ul.black {
    width: 100%;
  }

  ul.fucsia {
    padding-top: 1em;
    margin-top: 1em;
    border-top: 1px solid #aaa;
  }

  aside ul.fucsia {
    padding-top: 0;
    margin-top: 0;
    border-top: 0 none;
  }

  #prefooter-content {
    padding: 1em;
  }

  #pre-footer .container {
    padding: 0;
  }

  .news-content {
    height: 320px;
  }
  .news-content a {
    width: 100%;
  }

  .news-content h2 {
    font-size: 1.5em;
  }

  .news-content a {
    padding: 15px;
  }

  #nav-toggler {
    margin: 16px auto;
  }

  h1#logo {
    margin: 15px 0;
  }

  #home-slider {
    margin: 0 0 25px;
  }

  .post-content,
  .carta {
    margin-bottom: 2em;
  }

  .grey-box .form-inline .form-control {
    margin-left: 0;
  }

  #content .grey-box p.inline-block {
    margin-bottom: 1em;
  }

  .ult-noticias a {
    padding: 0.5em 0;
  }

  .grey-box .search-container,
  .filter-area {
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: 1rem;
    width: auto;
  }

  #areas-de-trabajo .col-md-2 {
    padding: 0;
  }

  .block-area {
    margin: 0;
  }

  #info-area .row > div {
    margin: 0;
  }

  #areas-de-trabajo {
    margin-bottom: 1em;
  }

  #sidebar-left {
    width: 100%;
    cursor: pointer;
    transition: width 0.3s ease;
    background-color: #fff;
    border: 1px solid #dfdfdf;
    position: relative;
    margin-bottom: 1em;
    transition: all 0.3s ease;
    z-index: 999;
  }

  #sidebar-left .title-sidebar {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Number of lines to show */
    overflow: hidden;
  }

  #sidebar-left .title-sidebar::first-letter {
    text-transform: uppercase;
  }
  #sidebar-left .menu-sidebar {
    border: 0;
    width: 50px;
    height: 50px;
    text-indent: -9999px;
    background: transparent url(images/list.svg) no-repeat center;
    background-size: auto;
    background-size: 35px;
    border-right: 1px solid #dfdfdf;
    padding: 0 10px;
  }

  #sidebar-left .menu-expand {
    background: url(images/icons.png) no-repeat right -276px;
    background-size: auto;
    background-size: 30px;
    padding: 0;
    color: #ba224d;
    height: 30px;
    width: 30px;
    transform: rotate(90deg) translate(-9px);
    transition: all 0.3s ease;
    margin-right: 5%;
  }
  #sidebar-left.open .menu-expand {
    transform: rotate(-90deg) translate(-9px);
  }

  #sidebar-left #side-nav {
    background-color: #f4f4f4;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: all 0.3s ease;
    padding: 0;
  }

  #sidebar-left.open {
    height: auto;
    max-height: 100vh;
  }

  #sidebar-left.open #side-nav {
    width: 100%;
    position: sticky;
    display: block;
    max-height: 100vh;
    padding: 16px;
    top: 10%;
  }

  #sidebar-left.open #side-nav li.fucsia.active a {
    border-left-width: 3px;
  }

  #sidebar-left.open #side-nav.fucsia li.current_page_item > a {
    border-left-width: 3px;
  }
  #sidebar-left.open #sidebar-left #side-nav li.parent a {
    border-left-width: 3px;
  }

  .contact .map-container .info-map {
    width: 100%;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
  }
  .contact .map-container .info-map #close-info-map {
    display: none;
  }

  .evento a {
    display: flex;
    flex-direction: column;
  }

  .block.evento .left {
    width: 100%;
    box-sizing: inherit;
    display: flex;
  }
  .block.evento .right {
    width: 100%;
    box-sizing: inherit;
  }

  /* .icon-ig {
    background: url(images/icon-instagram.svg) no-repeat center / 30px;
  }

  .icon-yt {
    background: url(images/icon-youtube.svg) no-repeat center / 45px;
    width: 70px;
  }

  .icon-tw {
    background: url(images/icon-x.svg) no-repeat center / 31px;
  }

  .icon-fb {
    background: url(images/icon-facebook.svg) no-repeat center / 20px;
  } */
}

@media (max-width: 640px) {
  .box {
    width: 100%;
    padding: 15px 15px 20px;
  }

  .e404 {
    min-height: 1px;
  }

  #pre-footer ul.fucsia,
  #pre-footer ul.black {
    float: none;
    width: auto;
    line-height: 2;
  }

  .home-cover .cover-slide {
    height: 35dvh !important;
  }

  .home .home-cover .cover-slide {
    height: 45dvh !important;
  }

  /* .cover-overlay {
    flex-direction: column;
  }
  .cover-overlay > * {
    width: 100% !important;
  } */

  a.facetwp-page {
    padding: 8px 4px;
    margin: 0;
    width: 26px;
  }

  #content .listado-docs ul.sub-list {
    margin: 0;
  }

  .listado-docs li {
    width: auto;
    float: none;
    padding: 1em 0;
    margin-left: 0;
    margin-right: 0;
  }

  .page-template-page-centro-de-documentacion #main-content .post-content {
    margin-bottom: 1em;
  }

  .page-template-page-centro-de-documentacion .facetwp-pager {
    margin-bottom: 2.5em;
  }

  .post-type-archive-prensa .facetwp-facet,
  .post-type-archive-prensa .facetwp-facet.facetwp-facet-buscar {
    width: 100%;
    float: none;
  }

  .three-cols {
    display: flex;
    flex-wrap: wrap;
  }

  .three-cols .col {
    width: 45%;
    float: right;
  }
}

@media (max-width: 575px) {
  .swiper-grupos.swiper {
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .bg-g > a.link-prensa {
    max-height: 330px;
  }

  #main-content.areas-main {
    padding-bottom: 2rem;
  }

  #breadcrumb {
    margin: 15px 0;
  }

  #content h2#list {
    margin-top: 1.5em;
  }

  #breadcrumb a,
  #breadcrumb span {
    font-size: 0.75em;
  }

  .mapa-preview-section .container {
    width: 90%;
  }
  .second-nav a,
  #main-nav a,
  #main-nav a:hover {
    padding: 8px 0;
  }

  #main-nav .second-nav li a {
    padding: 8px 0;
  }

  #main-nav .dropdown-menu h4 a,
  #main-nav .dropdown-menu h4 a:hover {
    padding: 8px 15px;
  }

  #main-nav .dropdown-menu a,
  #main-nav .dropdown-menu a:hover {
    padding: 7px 15px 7px 20px;
  }

  #main-nav .dropdown-menu li li a,
  #main-nav .dropdown-menu li li a:hover {
    padding: 7px 15px 7px 30px;
  }

  footer {
    text-align: left;
  }

  #content .carta h2 {
    margin-top: 0.5em;
  }

  .post-content,
  .carta {
    margin-bottom: 1.25em;
  }

  .block-area {
    margin: 0 0 3px;
  }

  #areas-de-trabajo {
    margin-bottom: 1em;
  }

  .curso-inscripcion {
    padding: 0 1em;
    margin: 1em 0;
  }

  .block-curso.cursos-demanda {
    margin-top: 1em;
  }

  .download {
    padding: 0.5em 0;
  }

  .module h4,
  .download h4 {
    margin-bottom: 0.375em;
  }

  span.icon-doc {
    background-size: 35px;
  }

  .dl-item span {
    padding-left: 2.1em;
    font-size: 0.75em;
  }

  .download {
    padding: 0.5em 0 0.75em;
  }

  span.icon-doc.icon-pdf {
    background-position: left 12px;
  }

  span.icon-doc.icon-vid {
    background-position: left -92px;
  }

  span.icon-doc.icon-img {
    background-position: left -145px;
  }

  span.icon-doc.icon-audio {
    background-position: left -40px;
  }

  .bg-grey .cat-container {
    padding: 10px;
  }

  .prensa-listado .comunicado.bg-grey h3,
  .prensa-listado .comunicado.bg-grey .post-content {
    margin-left: 10px;
    margin-right: 10px;
  }

  .block-area > a > div img {
    width: 45px;
    height: 45px;
    margin: 18px 0;
  }

  .block-area > a > div {
    width: 80px;
    height: 80px;
  }

  .curso-inscripcion .bg-grey > .block.evento {
    min-height: 1px;
  }

  #home-slider .col-md-5.col-sm-8 {
    padding: 0;
  }

  .curso-right {
    display: block;
    width: 100%;
    vertical-align: middle;
  }

  .bg-grey > .block {
    padding: 10px 15px;
  }

  #content .block-area .block-content p:last-child {
    margin: 0;
  }

  .evento-detalle .curso-left {
    width: 100%;
    padding-right: 0;
    display: block;
    margin-bottom: 1em;
  }

  .curso-detalle {
    width: 100%;
  }

  #content .listado-docs ul.sub-list:first-child {
    margin-bottom: 0;
  }

  .listado-docs ul.sub-list {
    width: 100%;
    margin-right: 0;
    float: none;
  }

  .curso-inscripcion > .left,
  .curso-inscripcion > .right {
    float: none;
    width: auto;
    margin-right: 0;
  }

  .curso-inscripcion > .right {
    padding-bottom: 1em;
  }

  h3 {
    font-size: 1em;
  }

  h1#logo {
    width: 130px;
    margin: 12px 0 10px;
  }

  #nav-toggler {
    margin: 12px auto;
  }

  #main-content h1 {
    font-size: 1.75em;
  }

  .news-content {
    height: 260px;
  }

  .news-content h2 {
    font-size: 1.375em;
  }

  .news-content .post-content {
    font-size: 1em;
  }

  #home-slider {
    margin: 0 0 1em;
  }

  .col-xs-4 {
    width: 100%;
  }

  .col-1-3 {
    float: none;
    width: 100%;
  }
}

@media (max-width: 480px) {
  #content ul.sub-list {
    width: 100%;
    margin-right: 0;
    float: none;
    margin-bottom: 0;
  }

  #content ul.sub-list:last-child {
    margin-bottom: 1.5em;
  }

  ul.sub-list:last-child {
    margin-right: 0;
  }

  .facetwp-facet,
  .tax-publicacion .facetwp-facet,
  .page-template-page-centro-de-documentacion .facetwp-facet,
  .post-type-archive .facetwp-facet {
    width: 100%;
    float: none;
  }
}

#newsletter {
  background-color: #99253b;
  color: white;
  padding: 1rem;
}

#newsletter h4 {
  font-size: 1.8rem;
}

#newsletter label {
  display: none;
}

#newsletter input.form-control {
  font-size: 1rem;
  text-align: center;
  border-radius: 10px;
}
.phone_video {
  height: 300px;
}

#newsletter .btn.btn-primary {
  color: #fff;
  background-color: #b5364e;
  border-color: rgba(255, 255, 255, 0.5);
}

#newsletter .btn.btn-primary:hover,
#newsletter .btn.btn-primary:focus,
#newsletter .btn.btn-primary:active {
  background-color: #98263c;
  box-shadow: none;
  outline: 0;
}

#newsletter input.btn.sib-default-btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.25;
  height: 32px;
}

#newsletter .sib_loader {
  padding-bottom: 1rem;
  position: relative;
}

#newsletter .sib_loader img {
  display: none;
}

#newsletter .sib_loader:after {
  width: 20px;
  height: 20px;
  display: block;
  content: "";
  margin: 0 auto;
  background: url("images/loader.svg") no-repeat center / 20px;
}

.sib-email-area {
  flex-direction: column;
}

.sib-email-area input.form-control {
  width: 100%;
  margin-bottom: 1.5rem;
}
.sib-email-area .input-group-append input {
  margin: auto;
  border: none;
  border-radius: 8px !important;
}

/* Slider publicaciones home */

.card-pub a h3 {
  color: black;
}

.card-pub a:hover h3 {
  color: #99253b;
}

.card-pub img {
  width: 100%;
  height: auto;
  display: block;
}

.swiper-pubs .swiper-slide {
  height: auto;
}

.second-nav .btn.btn-donar {
  color: white;
  background: #99253b;
  border-color: #99253b;
  border-radius: 0.9rem !important;
}

.second-nav .btn.btn-donar a {
  color: white !important;
  background: #99253b;
  border-color: #99253b;
  padding: 0 0.85rem !important;
}

.second-nav .btn.btn-donar:hover,
.second-nav .btn.btn-donar a:hover {
  background: #731325;
  border-color: #731325;
}

/* Form template */

.form-container {
  background-color: #f5f5f5;
  padding: 1rem;
}

.submit-container p {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: row-reverse;
}

.form-container textarea.form-control {
  height: 80px;
}

.form-container .btn.btn-danger {
  color: white;
  background: #99253b;
  border-color: #99253b;
}

.form-container .form-control {
  padding: 6px 12px;
  height: auto;
}

.form-container .wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 0.875rem;
  font-weight: bold;
  margin-top: 0.25rem;
}

.form-control.wpcf7-not-valid {
  border-color: #dc3232;
}

.wpcf7-form .form-container {
  margin-top: 2rem;
}

.wpcf7 form .wpcf7-response-output {
  margin: 1rem 0;
  padding: 0.75rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  background: #ffb900;
  line-height: 1.375;
  border: 0 none;
}

.grecaptcha-badge {
  display: none;
}

.home-cover {
  width: 100%;
}

.home-cover .cover-slide {
  height: 45dvh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.home-cover .cover1 {
  content: "";
  height: 100%;
  width: 33.34%;
  /* position: absolute; */
  top: 0;
  left: 0;
  background: #ee7c86;
  opacity: 0.4;
}
.home-cover .cover2 {
  content: "";
  height: 100%;
  width: 33.32%;
  /* position: absolute; */
  top: 50%;
  left: 50%;
  /* transform: translate(-50%, -50%); */
  background: #ba224d;
  opacity: 0.4;
}

.home-cover .cover3 {
  content: "";
  height: 100%;
  width: 33.32%;
  /* position: absolute; */
  top: 0;
  right: 0;
  background: #56253c;
  opacity: 0.4;
}

.cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover-content {
  color: white;
  padding: 0 40px 40px;
  width: 90%;
  margin: auto;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.cover-content p {
  font-size: 2.2rem;
  width: 85%;
}

.home-cover h1 {
  color: white;
  font-size: 3.5rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0 !important;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.shadow-down {
  box-shadow: 0px 4px 4px 0px #00000040;
}

/* Component: Home description (logo left, text right) */
.home-description {
  background: #55243b;
  color: #fff;
  padding: 48px 28px;
  border: 2px solid #d8eefb;
  box-sizing: border-box;
  margin: 20px 0;
}

.home-description .hd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-description .hd-left {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-description .hd-left .hd-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.home-description .hd-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 20px;
  text-align: end;
  gap: 20px;
  margin-top: 7%;
}

.home-description .hd-text {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-align: justify;
}

.home-description .hd-btn {
  display: inline-block;
  margin-top: 22px;
  background: #af3a47;
  color: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
}

.home-description .hd-btn:hover {
  opacity: 0.95;
}

@media (max-width: 860px) {
  .home-description .hd-inner {
    flex-direction: column;
    text-align: center;
  }

  .home-description .hd-left {
    flex: 0 0 auto;
    padding-bottom: 18px;
  }

  .home-description .hd-right {
    padding-left: 0;
  }

  .home-description .hd-text {
    text-align: left;
  }

  .rrss-portada {
    left: 50%;
    transform: translate(-50%);
    bottom: 25px;
    width: 95%;
  }

  .rrss-portada li {
    width: 20px;
    height: 20px;
    /* transform: scale(0.8); */
  }

  .rrss-portada li.icon-tw {
    background-size: 22px;
  }

  .rrss-portada li.icon-ig {
    background-size: 23px;
  }

  .rrss-portada li.icon-yt {
    background-size: 28px;
    width: 30px;
  }

  .rrss-portada li.icon-fb {
    background-size: 13px;
  }

  .home-cover .cover-content {
    width: 100%;
  }

  .home-cover h1 {
    font-size: 2.3rem;
  }
  .home-cover p {
    font-size: 1.1rem;
    width: 100%;
  }
}

/* Truncar texto largo */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* Si solo hay un elemento, centrar mejor */
.w-100 .d-flex {
  justify-content: center;
}

.rich-text {
  all: revert !important;
}

.taxonomy-publicaciones .listado-pub .pub-container {
  border: 1px solid #d9d9d9;
  border-radius: 0.5rem;
  box-shadow: 0px 4px 4px 0px #00000040;
  padding: 2rem;
}

.taxonomy-publicaciones .listado-pub .pub-container .pub {
  display: flex;
}

.taxonomy-publicaciones .listado-pub .pub-container .info {
  order: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  .title {
    font-size: 2rem;
    font-weight: 500;
  }
  .pub-auth {
    font-size: 1.25rem;
    color: #8a8a8a;
  }
  .pub-desc {
    font-size: 1.125rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .pub-short-desc {
    font-size: 1.125rem;
  }
  .dl-item {
    background-color: #ba224d;
    color: #fff;
    border-radius: 0.625rem;
    font-weight: 500;
    font-size: 1.25rem;
    float: right;
    margin-top: 1.5rem;
  }
}

.taxonomy-publicaciones .listado-pub .pub-container .image {
  order: 0;
}

.taxonomy-publicaciones .listado-pub .pub-container img {
  height: 350px;
  width: auto;
}

.dir-capacitacion .col-miembro img {
  height: 150px;
  width: 150px;
  margin-bottom: 16px;
}

.dir-capacitacion .col-miembro .nombre {
  font-size: 1.5em;
}

.cap-title {
  font-size: 3em;
}

.current_page_item a.disable {
  border-left-color: #99253b !important;
  border-left-width: 3px !important;
  padding-left: 10px !important;
  padding-bottom: 0 !important;
  cursor: default;
  display: -webkit-box !important;
  -webkit-line-clamp: 3; /* Limit the text to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden; /* Hide the overflowing text */
  text-overflow: ellipsis; /* Add an ellipsis (...) at the end */
  font-weight: bold;
}

.boton-donar {
  font-size: 1.5rem;
}

#feat-news-carousel .owl-wrapper-outer {
  padding-top: 1rem;
}

#feat-news-carousel .owl-wrapper-outer .owl-wrapper {
  display: flex !important;
  padding: 1rem 0;
}

#feat-news-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

#feat-news-carousel .owl-item {
  display: flex;
}

#feat-news-carousel .col-news {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#feat-news-carousel .col-news a {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#feat-news-carousel .col-news .col-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 90%;
}
#feat-news-carousel .col-news .col-text .info-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#feat-news-carousel .col-news .col-text .info-text .title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* Número de líneas a mostrar */
  overflow: hidden;
}

#news-carousel .owl-controls .owl-buttons,
#pub-carousel .owl-controls .owl-buttons,
#feat-news-carousel .owl-controls .owl-buttons {
  background: white;
}

#news-carousel .owl-controls .owl-buttons .owl-prev,
#pub-carousel .owl-controls .owl-buttons .owl-prev,
#feat-news-carousel .owl-controls .owl-buttons .owl-prev,
#carousel-programas .owl-controls .owl-buttons .owl-prev {
  background-position: -118px;
  width: 35px;
}

#news-carousel .owl-controls .owl-buttons .owl-next,
#pub-carousel .owl-controls .owl-buttons .owl-next,
#feat-news-carousel .owl-controls .owl-buttons .owl-next,
#carousel-programas .owl-controls .owl-buttons .owl-next {
  background-position: -162px;
  width: 35px;
}

/* ── Cuadro info principal del curso ── */
.curso-info-principal {
  border: 2px solid #99253b; /* border-fucsia */
  border-radius: 8px;
  overflow: hidden;
}

.curso-info-titulo {
  background-color: #99253b;
  color: #fff;
  margin: 0;
  padding: 10px 20px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.curso-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  margin: 0;
  background: #fff;
}

.curso-info-item {
  padding: 12px 20px;
  border-bottom: 1px solid #f0e0ea;
  border-right: 1px solid #f0e0ea;
}

.curso-info-item:last-child {
  border-right: none;
}

.curso-info-item dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 2px;
}

.curso-info-item dd {
  font-weight: 600;
  color: #99253b;
  margin: 0;
  font-size: 0.95rem;
}

/* ── Tarjetas docentes ── */
.docente-card {
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.docente-card:hover img,
.docente-card:focus img {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(192, 22, 110, 0.18);
  outline: none;
}

/* ── Overlay / Modal ── */
.docente-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.docente-modal.is-open {
  display: flex;
}

.docente-modal-inner {
  background: #fff;
  border-radius: 10px;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.docente-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
}
.docente-modal-close:hover {
  color: #99253b;
}

.docente-modal-body {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.docente-modal-body img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #99253b;
  flex-shrink: 0;
}
.docente-modal-text {
  flex: 1;
}
.docente-modal-cargo {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #99253b;
  margin: 0 0 2px;
}
.docente-modal-nombre {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: #222;
}
.docente-modal-especialidad {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 6px;
  font-style: italic;
}
.docente-modal-bio {
  white-space: pre-line;
  font-size: 0.88rem;
  color: #444;
  margin: 0;
  line-height: 1.5;
}

.director-card {
  display: flex;
  text-transform: capitalize;
  align-items: center;
}

.director-card img {
  width: 90px;
  height: 90px;
  /* border: 3px solid #99253b; */
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
}

.director-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.news-card {
  padding: 15px;
  height: 100%;
  box-sizing: border-box;
}

.news-card__inner {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: 0.25s ease;
  height: 100%;
}

.news-card__inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.news-card__category {
  margin-bottom: 16px;
}

.news-card__category p {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid #16c79a;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.2;
}

.news-card__image {
  display: block;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-card__title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.news-card__title a {
  color: #222;
  text-decoration: none;
}

.news-card__title a:hover {
  color: #99253b;
}

.news-card__excerpt {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.news-card__date {
  margin: 0;
  color: #666;
  font-size: 15px;
}

#doc-carousel .owl-stage {
  display: flex;
}

#doc-carousel .owl-item {
  display: flex;
}

#doc-carousel .news-card {
  width: 100%;
}

.btn-ranking.active {
  background: #222 !important;
  border-color: #222 !important;
  color: #fff;
}

.ranking-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.ranking-row strong {
  width: 28px;
  text-align: right;
}

.ranking-row.selected {
  background: #ffe6e2;
  border-left: 4px solid #ff4c39;
}

.ranking-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.btn-ranking.active {
  background: #202020 !important;
  border-color: #202020 !important;
  color: #fff;
}

/* =========================================
   DESCRIPCIÓN DEL INDICADOR
   ========================================= */

.ranking-description {
  background: #fdf5f6;
  padding: 25px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.ranking-description h3 {
  color: #a51f3d;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

#rankingDescription {
  background: #fff;
  border: 1px dashed #a51f3d;
  border-radius: 4px;
  padding: 18px;
  color: #666;
  /* font-size: 14px; */
  line-height: 1.6;
}

#rankingDescription p {
  margin-bottom: 10px;
}

#rankingDescription p:last-child {
  margin-bottom: 0;
}

/* =========================================
   INFORMES COMPLETOS
   ========================================= */

.informes-completos {
  margin-top: 25px;
}

.informes-completos > h3 {
  color: #a51f3d;
  font-weight: 700;
  border-bottom: 1px solid #d98a9a;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.informe-card {
  display: flex;
  gap: 10px;
  background: #f7f7f7;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  min-height: 110px;
}

.informe-imagen {
  width: 78px;
  min-width: 78px;
  height: 100px;
  overflow: hidden;
}

.informe-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.informe-info {
  display: flex;
  flex-direction: column;
  padding: 3px 0;
  font-size: 1rem;
}

.informe-info strong {
  line-height: 1.3;
  color: #222;
  margin-bottom: 7px;
}

.informe-info span {
  color: #777;
  margin-bottom: 5px;
}

.informe-info a {
  color: #a51f3d;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
}

.informe-info a:hover {
  text-decoration: underline;
}

.area-header-box {
  background-color: #f4f2f0;
  border-left: 4px solid #8b1834;
  padding: 40px;
  margin-bottom: 40px;
}
.area-badge {
  color: #8b1834;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.area-header-box h1 {
  font-size: 4rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 0.9rem !important;
}
.area-lead {
  font-size: 1.3rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 25px;
}
.coordinacion-section {
  padding-top: 20px;
}

.coordinacion-section hr {
  width: 10%;
  background-color: #8b1834;
  height: 5px;
  border-radius: 10px;
}

.coordinacion-title {
  color: #8b1834;
  font-size: 1rem;
  margin-bottom: 8px;
}
.directores-area {
  font-weight: 600;
  color: #333;
  padding-bottom: 1rem;
  border-bottom: 2px solid #8b1834;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 25px 0;
}
.director-card:not(:last-child)::after {
  content: "";
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 99%;
  background-color: #8b1834;
  font-size: 2rem;
  margin-left: 2rem;
}
