:root{
  --background-body:        #ececec;
  --background-white:       #ffffff;
  --background-red:         #c00000;
  --background-grid-blue:   #f6fbff;
  --background-grid-hover:  #fffbfb;
  --line-grid-blue:         #dbe9f6;
  --line-red:               #c00000;
  --font-white:             #ffffff;
  --font-link-blue:         #3e6bb2;
  --font-red:               #c00000;
}

/* ---------------------------------------------- /*
 * General styles
 /* ---------------------------------------------- */
 body {
  background: #ececec;
  overflow-x: hidden;
  color: #111111;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Slab", serif; /* Definición de la fuente para los títulos del sitio */
  font-weight: 700;
  color: #3d4449;
}

pre {
    -webkit-overflow-scrolling: touch;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0 2em 0;
  }

* {
  box-sizing: border-box;
}

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

/* -----------------*/
/* elimina enlaces en la impresion*/
@media print {
    a[href]:after {
        content: none !important;
    }
}
/* -------------------*/

a {
  /* color: #3272bb; */
  color: #6173a3;
  text-decoration: none;
}

a:hover, a:focus {
  color: #c90000;
}

hr.h3-set{
  border-bottom: solid 3px #f56a6a;
  display: inline-block;
  margin: 15px 0 20px 0;
  padding: 5px 0 15px 0;
}

hr.separa-efemerides {
  height: 30px;
  border: 0;
  box-shadow: 0 20px 20px -20px #d2d2d2 inset;
  margin: 0;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

/* ---------------------------------------------- /*
 * Custom css
 /* ---------------------------------------------- */

#timeline {
  width: 100%;
  height: 650px;
}

#wrapper-portada{
  margin-bottom: 15px;
}

#wrapper-portada .wrapper-box-v{
  height: 570px; /* Altura fija para portlets de la portada solamente */
}

#wrapper-portada .box-footer{
  position: absolute; /* Fija botones de portlets a una misma altura y justificadas abajo (sólo para la portada) */
  bottom: 20px;
}

.full-screen {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Botonera periodos */
.botonera-periodo {
  list-style-type: none;
  padding-left: 0;
  margin: 0 auto;
  font-size: 0;
  background: #e7ebf6;
}

.botonera-periodo > li {
  width: 100%;
  padding: 15px 10px 10px;
  border-left: 1px solid #c2cce7;
  font-size: 15px;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid #c2cbe8;
  cursor: pointer;
  color: #6173a3;
}

.botonera-periodo > li:hover {
  background: #f4f5fa;
  border-bottom: 1px solid #c90000;
}

.botonera-periodo .active {
  background: #f4f5fa;
  border-bottom: 1px solid #c90000;
}

.botonera-periodo > li:first-child{
  border-left: none;
}

.botonera-periodo > li a {
  color: #6173a3 !important;
}

.wrapper-btn-mas {
  position: absolute;
  top: 93%;
  left: 50%;
}

.wrapper-btn-mas a {
  color: #FFFFFF;
}

.wrapper-btn-mas a:hover {
  color: #FFFFFF;
}

.btn-default:hover {
  background: none;
  border: 1px solid #cc0010;
  color: #cc0010;
}

.btn-timeline {
  margin: 10px 0;
  text-decoration: none !important;
  background: transparent;
  border: 1px solid #ffffff;
  -o-transition:.3s;
  -ms-transition:.3s;
  -moz-transition:.3s;
  -webkit-transition:.3s;
  /* ...and now for the proper property */
  transition:.3s;
}

.btn-timeline:hover {
  border: 1px solid #cc0010;
}

time.icon {
  font-size: 1em;
  /* change icon size */
  display: block;
  position: relative;
  width: 17em;
  height: 16em;
  background-color: #fff;
  margin: 2em auto;
  border-radius: 0.6em;
  box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: rotate(0deg) skewY(0deg);
  -webkit-transform-origin: 50% 10%;
  transform-origin: 50% 10%;
}

time.icon * {
  display: block;
  width: 100%;
  font-size: 1em;
  font-weight: bold;
  font-style: normal;
  text-align: center;
}

time.icon strong {
  position: absolute;
  top: 0;
  padding: 1em 0;
  color: #FFFFFF;
  font-size: 1.5em;
  background-color: #cc0010;
  border-bottom: 1px dashed #FFFFFF;
  box-shadow: 0 2px 0 #cc0010;
}

time.icon em {
  position: absolute;
  bottom: 0.3em;
  color: #cc0010;
  font-size: 1.2em;
}

time.icon span {
  width: 100%;
  font-size: 6.8em;
  letter-spacing: -0.05em;
  padding-top: 0.7em;
  color: #535353;
}

html,
body {
  width: 100%;
  height: 100%;
}

.container .jumbotron {
  background-color: inherit;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  padding: 0;
}

.container .jumbotron h1 {
  font-size: 45px;
}

.container .jumbotron h1,
.container .jumbotron p {
  padding: 10px;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.6);
}

.container-full-bg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  background-position: center;
  background-size: cover;
}

.container-full-bg .container,
.container-full-bg .container {
  height: 100%;
  width: 100%;
}

.wrapper-efemerides {
  width: 100%;
  background: #FFF;
  padding-top: 15px;
  border-top: 5px solid rgba(194, 204, 231, 0.15);
}

.wrapper-efemerides time.icon {
  font-size: 1em;
  /* change icon size */
  display: block;
  position: relative;
  width: 12em;
  height: 11em;
  background-color: #FFF;
  margin: 2em auto;
  border-radius: 0.6em;
  box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: rotate(0deg) skewY(0deg);
  -webkit-transform-origin: 50% 10%;
  transform-origin: 50% 10%;
}

.wrapper-efemerides time.icon * {
  display: block;
  width: 100%;
  font-size: 1em;
  font-weight: bold;
  font-style: normal;
  text-align: center;
}

.wrapper-efemerides time.icon strong {
  position: absolute;
  top: 0;
  padding: 0.5em 0;
  color: #FFFFFF;
  font-size: 1.5em;
  background-color: #cc0010;
  border-bottom: 1px dashed #FFFFFF;
  box-shadow: 0 2px 0 #cc0010;
}

.wrapper-efemerides time.icon em {
  position: absolute;
  bottom: 0.3em;
  color: #cc0010;
  font-size: 1.2em;
}

.wrapper-efemerides time.icon span {
  width: 100%;
  font-size: 5em;
  letter-spacing: -0.05em;
  padding-top: 0.8em;
  color: #535353;
}

.wrapper-efemerides .efemerides-title{
  margin: 25px 0 -12px 50px;
}

/* Efemérides portada */
#efemerides-carousel {
  margin: 5px 0;
}

#efemerides-carousel .wrapper-item{ 
  padding: 0 30px; 
  height: 200px;
}
#efemerides-carousel .carousel-control{ 
  color:#919191; width:5%;
  text-shadow: none;
}
#efemerides-carousel .carousel-control:hover, .carousel-control:focus{
  color:#919191;
}
#efemerides-carousel .carousel-control.left, .carousel-control.right { 
  background-image: none;
}
#efemerides-carousel .media-object{ 
  margin:auto;
  margin-top:10%;
}

#video-background {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
}

.wrapper-box-v {
  background: #FFFFFF;
  padding: 10px;
  margin: 15px 0;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
}

.wrapper-box-v .box-image img {
  width: 100%;
  margin: 0 0 10px 0;
}

.wrapper-box-v .box-header h3 {
  color: #3d4449;
  margin: 5px 15px;
}

.wrapper-box-v .box-content {
  padding: 10px 15px;
}

.wrapper-box-v .box-footer {
  border-radius: 0 0 4px 4px;
  padding: 5px 15px;
}

.media-object {
  width: 100%;
}

.wrapper-box-h {
  background: #FFFFFF;
  padding: 25px 15px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(63, 63, 68, 0.1);
  margin: 15px 0;
  min-height: 210px;
}

.wrapper-box-h .box-img{
  margin: 0 10px 0 0;
  border: 1px solid #ccc;
}

.wrapper-box-h .box-header{
  margin: -20px 0 0 0;
}

.wrapper-box-h .box-title{
  font-size: 18px;
  font-weight: 700;
  margin: -20px 0 0 0;
  color: #3d4449;
}

.paginate {
  margin: 15px 0;
  text-align: center;
}

.paginate ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.paginate li {
  display: inline;
}

.paginate a {
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px;
  margin: 1px 2px;
  padding: 5px 10px;
  display: inline-block;
  border-top: 1px solid #fff;
  text-decoration: none;
  color: #717171;
  text-shadow: white 0 1px 0;
  background-color: #f5f5f5;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#eaeaea));
  background-image: -webkit-linear-gradient(top, #f9f9f9, #eaeaea);
  background-image: linear-gradient(top, #f9f9f9, #eaeaea);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', EndColorStr='#eaeaea');
}

.paginate a:first-child,
.paginate a.first {
  margin-left: 0;
}

.paginate a:last-child,
.paginate a.last {
  margin-right: 0;
}

.paginate a:hover,
.paginate a:focus {
  border-color: #fff;
  background-color: #fdfdfd;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#fafafa));
  background-image: -webkit-linear-gradient(top, #fefefe, #fafafa);
  background-image: linear-gradient(top, #fefefe, #fafafa);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fefefe', EndColorStr='#fafafa');
}

.paginate a.more {
  box-shadow: 0 0 0 0 transparent;
  border: 0 none;
  background: transparent;
  margin-left: 0;
  margin-right: 0;
}

.paginate a.active {
  box-shadow: rgba(0, 0, 0, 0.75) 0 0 0 0 inset;
  border-color: #505050;
  color: #f2f2f2;
  text-shadow: black 0 1px 0;
  background-color: #676767;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#5f5f5f), to(#5c5c5c));
  background-image: -webkit-linear-gradient(top, #5f5f5f, #5c5c5c);
  background-image: linear-gradient(top, #5f5f5f, #5c5c5c);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5f5f5f', EndColorStr='#5c5c5c');
}

.select-style {
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  width: 250px;
  border-radius: 3px;
  overflow: hidden;
  background-color: #FFFFFF;
  float: right;
  background: #fff url("http://www.scottgood.com/jsg/blog.nsf/images/arrowdown.gif") no-repeat 97% 50%;
}

.select-style select {
  padding: 5px 8px;
  width: 110%;
  border: none;
  box-shadow: none;
  background-color: transparent;
  background-image: none;
  -webkit-appearance: none;
  appearance: none;
}

.select-style select:focus {
  outline: none;
}

.img-hito{
  width: 100px;
}

.tag-hito-congreso-nacional{
  border-bottom: 5px solid #337ab7;
}

.tag-hito-historia-constitucional{
  border-bottom: 5px solid #5cb85c;
}

.tag-hito-leyes-emblematicas{
  border-bottom: 5px solid #5bc0de;
}

.tag-hito-partidos-politicos{
  border-bottom: 5px solid #777777;
}

.tag-hito-parlamento-emblematico{
  border-bottom: 5px solid #F0AD4E;
}

.tag-hito-historia-de-chile{
  border-bottom: 5px solid #D9534F;
}

/* Menu lateral izquierdo */
#menu ul {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #3d4449;
  font-family: "Roboto Condensed", serif;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

#menu ul a, #menu ul span {
  border-bottom: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  padding: 0.625em 0;
  font-size: 16px;
  font-weight: 400;
}

#menu ul a:hover, #menu ul span:hover {
  color: #c90000;
  text-decoration: none;
}

#menu ul a.opener, #menu ul span.opener {
  -moz-transition: color 0.2s ease-in-out;
  -webkit-transition: color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  position: relative;
}

#menu ul a.opener:before, #menu ul span.opener:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

#menu ul a.opener:before, #menu ul span.opener:before {
  -moz-transition: color 0.2s ease-in-out, -moz-transform 0.2s ease-in-out;
  -webkit-transition: color 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out, -ms-transform 0.2s ease-in-out;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
  color: #111111;
  content: '\f078';
  position: absolute;
  right: 0;
}

#menu ul a.opener:hover:before, #menu ul span.opener:hover:before {
  color: #c90000;
}

#menu ul a.opener.active + ul, #menu ul span.opener.active + ul {
  display: block;
}

#menu ul a.opener.active:before, #menu ul span.opener.active:before {
  -moz-transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

#menu > ul > li {
  border-top: solid 1px rgba(210, 215, 217, 0.75);
  margin: 0.5em 0 0 0;
  padding: 0.5em 0 0 0;
}

#menu > ul > li > ul {
  color: #111111;
  display: none;
  /* margin: -8px 0; */
  padding-left: 0;
}

#menu > ul > li > ul a, #menu > ul > li > ul span {
  font-size: 14px;
  text-decoration: none;
}

#menu > ul > li:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

#menu .selected {
  padding-left: 15px;
  color: #c90000;
  font-weight: 700;
  /* border-bottom: 1px dotted #c90000; */
}

/* Diarios de Sesiones (Tabla) */
#table-sesiones table td {
  border: 2px solid #fff;
  height: 20px;
  width: 20px;
  background: #f5f6f7;
  font-size: 10px;
  text-align: center;
}

#table-sesiones table td a {
  width: 100%;
  display: block;
  height: 100%;
  /*padding-top: 2px;*/
}

#table-sesiones .dia {
  font-weight: bold;
  background: #fff;
}

#table-sesiones .mes {
  font-weight: bold;
  background: #fff;
  text-align: right;
  padding-right: 5px;
}

#table-sesiones .diario {
  background: #c2cce7;
}

#table-sesiones .diario:hover {
  background: #c90000;
}

#table-sesiones .seleccionado {
  background: #c90000;
}

/* Periodos Legislativos tabs */
.tab-content {
    padding: 15px 0;
}

.tabtop li a{
  color:#111111;
  border-radius: 0 !important;
  margin-right:22.008px;
  border-top: 1px solid #dde1e3 !important;
  border-right: 1px solid #dde1e3 !important;
}

.tabtop .tab-valpo a{
  border-left: 1px solid #dde1e3 !important;
}

.tabtop .tab-senadores a{
  border-left: 1px solid #dde1e3 !important;
}

.tabtop .active a:before{
  content:"♦";
  position:absolute;
  top: 0;
  left: 0;
  color: #c90000;
  font-size:30px;
}

.tabtop li a:hover{
  color:#c90000 !important;
  text-decoration:none;
  background: #FFFFFF;
  border:1px solid #c90000 !important;
}

.tabtop .active a:hover{
  color:#fff !important;
}

.tabtop .active a{
  background-color:#c90000 !important;
  border:1px solid #c90000 !important;
  color:#FFF !important;
}

/* Box para eleccion de periodos / discursos */
.wrapper-box-panel .panel-default {
  cursor: pointer;
  word-wrap: break-word;
}

.wrapper-box-panel .panel-default .panel-set {
  border: 1px solid transparent;
  padding: 15px;
  margin-bottom: 0;
  height: 220px;
}

.wrapper-box-panel .panel-default .panel-set-intervenciones {
  border: 1px solid transparent;
  padding: 15px;
  margin-bottom: 0;
  min-height: 220px;
}

.wrapper-box-panel .panel-default .panel-set-intervenciones a {
  color:#111111;
  /* border-bottom: 1px dotted transparent; */
}

.wrapper-box-panel .panel-default a:hover, 
.wrapper-box-panel .panel-default a:focus{
  text-decoration: none;
}

.wrapper-box-panel .panel-default .panel-set:hover, 
.wrapper-box-panel .panel-default .panel-set:focus {
  border: 1px solid #c90000;
  border-radius: 3px;
  background: #fffbfb;
}

.wrapper-box-panel .panel-default .panel-set-intervenciones:hover, 
.wrapper-box-panel .panel-default .panel-set:focus {
  border: 1px solid #c90000;
  border-radius: 3px;
  background: #fffbfb;
  cursor: default;
}

.wrapper-box-panel .panel-default .panel-set h4 {
  font-size: 16px;
  line-height: 20px;
}

.wrapper-box-panel .panel-default .panel-set-intervenciones h4 {
  font-size: 16px;
  line-height: 20px;
}

.wrapper-box-panel .panel-default .panel-set-intervenciones h4 a {
  color: #444;
}

.wrapper-box-panel .panel-default .panel-set-intervenciones h4 a:hover {
  color: #c00;
}

.wrapper-box-panel .panel-default .panel-set p {
  padding: 10px 0 25px 0;
  color: #111111;
}

.wrapper-box-panel .panel-default .panel-set-intervenciones p {
  padding: 10px 0 25px 0;
  color: #111111;
}

.cd-buttons {
  margin: 0 -25px 35px -25px;
}

.cd-buttons li {
  float: left;
  width: 50%;
  text-align: center;
}

.cd-buttons a {
  display: block;
  height: 50px;
  line-height: 50px;
  text-decoration: none;
  color: #333;
}

.cd-buttons li:first-child a {
  background: #F8F8F8;
  color: #7D7979;
  border-radius: 0 0 0 .25em;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
}

.cd-buttons li:first-child a:hover {
  background-color: #cc0010;
  color: #FFFFFF;
}

.cd-buttons li:last-child a {
  background: #F8F8F8;
  color: #7D7979;
  border-radius: 0 0 .25em 0;
  border-top: 1px solid #ccc;
}

.cd-buttons li:last-child a:hover {
  background: #cc0010;
  color: #FFFFFF;
}

#search-entrevistas .search-query {
  border-radius: 5px;
}

#search-entrevistas button {
  border: 0;
  background: none;
  padding: 2px 0;
  margin-top: 2px;
  position: relative;
  left: -28px;
  margin-bottom: 0;
  border-radius: 3px;
  color: #D9230F;
}

.search-query:focus + button {
  z-index: 3;
}

.box-efect {
  border: px solid transparent;
}

.box-efect:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.img-efect {
  border: 2px solid transparent;
}


.img-efect:hover {
  border: 2px solid #c90000;
}


.wrapper-box-transparent {
  padding: 15px;
  margin: 0 0 15px 0;
}

.wrapper-box-transparent .wrapper-content a{
  color: #000;
  font-weight: 500;
}

.wrapper-box-transparent .box-header span{
  color: #111111;
}

.wrapper-box-transparent .box-content h3{
  border-bottom: solid 3px #f56a6a;
  display: inline-block;
  margin: 15px 0 20px 0;
  padding: 5px 0 15px 0;
}

.wrapper-content {
  width: 100%;
  padding-top: 50px;
}

.wrapper-box-transparent .box-content a{
  color: #6173a3;
  /* border-bottom: 1px dotted #ccc; */
}

.wrapper-box-transparent .box-content a:hover{
  color: #c90000;
  text-decoration: none;
  /* border-bottom: 1px dotted #c90000; */
}

.wrapper-box-transparent .box-content .panel{
  box-shadow: none;
}

.wrapper-content-superior {
  background: #FFFFFF;
  margin-top: 0;
}

.wrapper-content-periodos {
  background: #FFFFFF;
  margin-top: 0;
  min-height: 400px;
}

.wrapper-content-inferior {
  width: 100%;
  background: #F5F6F7;
  padding: 15px;
  color: #666666;
  border-top: 1px solid #dbdbdb;
}

.wrapper-content-inferior .wrapper-hito {
  margin: 15px 0;
}

.wrapper-content-inferior-1 {
  width: 100%;
  background: #FFFFFF;
  padding: 15px;
  color: #666666;
}

.wrapper-content-left {
  background: #FFFFFF;
}

.wrapper-content-right {
  background: #ececec;
  min-height: 600px;
}

.wrapper-breadcrumb {
  margin: 3rem 0 0 0;
}

.wrapper-breadcrumb .breadcrumb {
  background: none;
  margin-bottom: 5px;
}

.wrapper-breadcrumb .breadcrumb a {
  color:#c00;
}

.wrapper-breadcrumb .breadcrumb .active {
  color:#111111;
}

.thumb-item {
  margin-bottom: 15px;
  padding: 10px 15px 10px 15px;
}

.thumb-item img {
  margin-top: 5px;
  border-radius: 10px;
}

.thumb-item h5 {
  margin: 10px 5px 5px 5px;
}

.thumb-item p {
  margin: 0 5px;
  font-size: 12px;
  line-height: 14px;
}

.wrapper-carousel {
  overflow: hidden;
  height: 140px;
}

.wrapper-box-transparent .box-content .wrapper-resultado a{
  border-bottom: none;
  font-weight: 400;
}

.wrapper-resultado{
  background: #f9fbfc;
  padding: 10px;
  margin: 0 0 15px 0;
  border: 1px solid #e8f0f4;
  overflow: auto;
}


.wrapper-resultado img{
  width: 80px;
  margin: 10px;
}

.wrapper-resultado h4{
  font-size: 24px;
  color: #517da2;
}

.wrapper-resultado h4 small{
  font-size: 16px;
  color: #c90000;
}

.wrapper-resultado strong{
  color: #517da2;
}

.wrapper-resultado-filtro{
  background: #f9fbfc;
  padding: 10px;
  margin: 15px 0 0 0;
  border: 1px solid #e8f0f4;
}

.wrapper-resultado-paginado{
  text-align: center;
  color: #ccc;
}

.carousel-indicators {
  bottom: 0;
}

.reset-padding {
  padding: 0px;
  height: 250px;
}

.box {
  border-radius: 0.375em;
  border: solid 1px rgba(210, 215, 217, 0.75);
  margin-bottom: 2em;
  padding: 1.5em;
}

#videos-destacados .carousel {
  margin-bottom: 0;
  padding: 0 40px 30px 40px;
}

#videos-destacados .carousel-control {
  left: -12px;
  height: 40px;
  width: 40px;
  background: none repeat scroll 0 0 #222222;
  border: 4px solid #FFFFFF;
  border-radius: 23px 23px 23px 23px;
  margin-top: 110px;
}

#videos-destacados .carousel-control.right {
  left: 97%;
}

#videos-destacados .carousel-indicators {
  right: 50%;
  top: auto;
  bottom: -10px;
  margin-right: -19px;
}

#videos-destacados .carousel-indicators li {
  background: #cecece;
}

#videos-destacados .carousel-indicators .active {
  background: #428bca;
}

/* List items genérica */
.wrapper-list {
  background: #fff;
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.wrapper-list ul {
  margin: 0;
  padding: 0;
  border: 0;
}

.wrapper-list li {
  padding: 10px;
  border-bottom: 1px solid #dddddd;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  border-top: 1px solid #ffffff;
  overflow: hidden;
  list-style:none;
  display: list-item;
  text-align: -webkit-match-parent;
}

.wrapper-list li:last-child {
  border-bottom: 1px solid #dddddd;
}

.wrapper-list li a {
  cursor: pointer;
}

.wrapper-list li:hover {
  border: 1px solid #c90000;
  background: #fffbfb;
}

.wrapper-list .round {
  display: block;
  width: 50px;
  float: left;
}

.wrapper-list p {
  margin: 0;
  padding: 0;
  color: #777777;
}

.wrapper-list li .legend-info {
  float: left;
  margin-left: 10px;
}

.wrapper-list li .legend-info h5 {
  margin-bottom: 2px;
}

/* Lista Comisiones */
.wrapper-list-comisiones {
  background: #fff;
}

.wrapper-list-comisiones ul {
  margin: 0;
  padding: 0;
  border: 0;
}

.wrapper-list-comisiones li {
  width: 100%;
  display: inline-block;
  border: 1px solid #dddddd;
  overflow: hidden;
  list-style:none;
  text-align: -webkit-match-parent;
  border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

.wrapper-list-comisiones li a {
  cursor: pointer;
  color: #3d4449 !important;
  border-bottom: 1px solid transparent !important;
}

.wrapper-list-comisiones li a:hover {
  border-bottom: 1px solid transparent !important;
}

.wrapper-list-comisiones li .legend-info {
  float: left;
  margin: 5px 10px 4px 10px;
}

.wrapper-list-comisiones li .legend-info h5 {
  margin-bottom: 2px;
}

.wrapper-list-comisiones li:hover {
  border: 1px solid #c90000;
  background: #fffbfb;
}

/* Botones */
.button-set {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  background-color: transparent;
  border-radius: 0.375em;
  border: 0;
  box-shadow: inset 0 0 0 2px #f56a6a;
  color: #f56a6a !important;
  cursor: pointer;
  display: inline-block;
  font-family: "Roboto Slab", serif;
  font-size: 0.8em;
  font-weight: 700;
  height: 3.5em;
  letter-spacing: 0.075em;
  line-height: 3.5em;
  padding: 0 2.25em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.button-set:hover {
  background-color: rgba(245, 106, 106, 0.05);
}

.button-set:active {
  background-color: rgba(245, 106, 106, 0.15);
}

.button-set.icon:before {
  margin-right: 0.5em;
}

.button-set.fit {
  display: block;
  margin: 0 0 1em 0;
  width: 100%;
}

.button-set.small {
  font-size: 0.6em;
}

.button-set.big {
  font-size: 1em;
  height: 3.65em;
  line-height: 3.65em;
}

.button-set.special {
  background-color: #f56a6a;
  box-shadow: none;
  color: #ffffff !important;
}

.button-set.special:hover {
  background-color: #f67878;
}

.button-set.special:active {
  background-color: #f45c5c;
}

.button-set.disabled, .button-set:disabled {
  -moz-pointer-events: none;
  -webkit-pointer-events: none;
  -ms-pointer-events: none;
  pointer-events: none;
  opacity: 0.25;
}

/* Tabla */
.wrapper-table {
  padding-top: 15px;
}

.wrapper-table table {
  margin: 0 0 2em 0;
  width: 100%;
  table-layout: fixed; 
}

.wrapper-table table tbody tr {
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-left: 0;
  border-right: 0;
}

.wrapper-table table tbody tr:nth-child(2n + 1) {
  background-color: rgba(230, 235, 237, 0.25);
}

.wrapper-table table td {
  padding: 0.75em 0.75em;
  word-wrap: break-word;
  vertical-align: top;
}

.wrapper-table table th {
  color: #3d4449;
  font-weight: 600;
  padding: 0 0.75em 0.75em 0.75em;
  text-align: left;
}

.wrapper-table table thead {
  border-bottom: solid 2px rgba(210, 215, 217, 0.75);
}

.wrapper-table table tfoot {
  border-top: solid 2px rgba(210, 215, 217, 0.75);
}

.wrapper-table table.alt {
  border-collapse: separate;
}

.wrapper-table table.alt tbody tr td {
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-left-width: 0;
  border-top-width: 0;
}

.wrapper-table table.alt tbody tr td:first-child {
  border-left-width: 1px;
}

.wrapper-table table.alt tbody tr:first-child td {
  border-top-width: 1px;
}

.wrapper-table table.alt thead {
  border-bottom: 0;
}

.wrapper-table table.alt tfoot {
  border-top: 0;
}

.wrapper-table a {
  border-bottom: none !important;
}

/* Grilla de imagenes y videos */
.grilla {
  height: 110px; /* Altura de las imágenes */
  overflow: hidden;
  margin: 0 0 15px 0;
  border-radius: 5px;
}

.grilla a {
  cursor: pointer;
}

.grilla img {
  width: 100%;
}

/* Grilla Mesa Directiva */
.grid-mesa{
  border-bottom: 1px solid #dddddd;
}

.grid-mesa ul{
  padding: 15px 0;
}

.grid-mesa ul li{
  width: 100%;
  vertical-align: top;
  border-left: none;
}

.grid-mesa h5:hover{
  color: #c90000 !important;
}

/* Menu lateral izquierdo */
.list-group-item {
  background: transparent;
  border: none;
  margin: 5px 0;
  padding: 15px;
  border-radius: 5px; 
}

.list-group-item:first-child {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.list-group-item:last-child {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

a.list-group-item:hover, a.list-group-item:focus {
  z-index: 2;
  color: #c00;
  background-color: #EEE;
  border-color: #EEE;
}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
  z-index: 2;
  color: #FFFFFF;
  background-color: #c00;
  border-color: #c00;
}

.text-periodo {
  margin: 5px 0;
  color: #c00;
  font-size: 36px;
  font-weight: 300;
}

@media only screen and (min-width: 768px){
  .text-periodo {
    margin: 5px 0;
    color: #c00;
    font-size: 48px;
    font-weight: 300;
  }
}

.text-title {
  margin: 5px 0;
  font-size: 30px;
  font-weight: 700;
}

hr.hr-set {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 15px;
  margin-bottom: 15px;
}

.modal-backdrop {
  z-index: 0;
}

.form-control:focus {
  border-color: #c00;
  outline: 0;
  box-shadow: none !important;
}

/* Resultados de busqueda */
.no-resultados {
    width: 100%;
    text-align: center;
    padding-top: 120px;
}

/* Grilla Partidos Politicos */
.posts {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 0 2em -6em;
  width: calc(100% + 6em);
}

.posts article {
  -moz-flex-grow: 0;
  -webkit-flex-grow: 0;
  -ms-flex-grow: 0;
  flex-grow: 0;
  -moz-flex-shrink: 1;
  -webkit-flex-shrink: 1;
  -ms-flex-shrink: 1;
  flex-shrink: 1;
  margin: 0 0 6em 6em;
  position: relative;
  width: calc(50% - 6em);
}

.posts article:before {
  background: rgba(210, 215, 217, 0.75);
  content: '';
  display: block;
  height: calc(100% + 6em);
  left: -3em;
  position: absolute;
  top: 0;
  width: 1px;
}

.posts article:after {
  background: rgba(210, 215, 217, 0.75);
  bottom: -3em;
  content: '';
  display: block;
  height: 1px;
  position: absolute;
  right: 0;
  width: calc(100% + 6em);
}

.posts article > :last-child {
  margin-bottom: 0;
}

.posts article .image {
  display: block;
  margin: 0 0 2em 0;
  overflow: hidden;
  height: 180px;
}

.posts article .image img {
  display: block;
  width: 100%;
}

@media screen and (max-width: 1920px) {
  .posts article {
    width: calc(50% - 6em);
  }

  .posts article:nth-last-child(3) {
    margin-bottom: 6em;
  }
}

@media screen and (min-width: 481px) and (max-width: 1920px) {

  .posts article:nth-child(2n + 1):before {
    display: none;
  }

  .posts article:nth-child(2n + 1):after {
    width: 100%;
  }

  .posts article:nth-last-child(1), .posts article:nth-last-child(2) {
    margin-bottom: 0;
  }

  .posts article:nth-last-child(1):before, .posts article:nth-last-child(2):before {
    height: 100%;
  }

  .posts article:nth-last-child(1):after, .posts article:nth-last-child(2):after {
    display: none;
  }
}

@media screen and (max-width: 736px) {
  .posts {
    margin: 0 0 2em -4.5em;
    width: calc(100% + 4.5em);
  }

  .posts article {
    margin: 0 0 4.5em 4.5em;
    width: calc(50% - 4.5em);
  }

  .posts article:before {
    height: calc(100% + 4.5em);
    left: -2.25em;
  }

  .posts article:after {
    bottom: -2.25em;
    width: calc(100% + 4.5em);
  }

  .posts article:nth-last-child(3) {
    margin-bottom: 4.5em;
  }
}

@media screen and (max-width: 480px) {
  .posts {
    margin: 0 0 2em 0;
    width: 100%;
  }

  .posts article {
    margin: 0 0 4.5em 0;
    width: 100%;
  }

  .posts article:before {
    display: none;
  }

  .posts article:after {
    width: 100%;
  }

  .posts article:last-child {
    margin-bottom: 0;
  }

  .posts article:last-child:after {
    display: none;
  }
}

/* Grilla Periodos mujeres congreso */
.posts-periodos-mujeres-congreso {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 0 2em -6em;
  width: calc(100% + 6em);
}

.posts-periodos-mujeres-congreso article {
  -moz-flex-grow: 0;
  -webkit-flex-grow: 0;
  -ms-flex-grow: 0;
  flex-grow: 0;
  -moz-flex-shrink: 1;
  -webkit-flex-shrink: 1;
  -ms-flex-shrink: 1;
  flex-shrink: 1;
  margin: 0 0 6em 6em;
  position: relative;
  width: calc(50% - 6em);
}

.posts-periodos-mujeres-congreso article:before {
  background: rgba(210, 215, 217, 0.75);
  content: '';
  display: block;
  height: calc(100% + 6em);
  left: -3em;
  position: absolute;
  top: 0;
  width: 1px;
}

.posts-periodos-mujeres-congreso article:after {
  background: rgba(210, 215, 217, 0.75);
  bottom: -3em;
  content: '';
  display: block;
  height: 1px;
  position: absolute;
  right: 0;
  width: calc(100% + 6em);
}

.posts-periodos-mujeres-congreso article > :last-child {
  margin-bottom: 0;
}

.posts-periodos-mujeres-congreso article .image {
  display: block;
  margin: 0 0 2em 0;
  overflow: hidden;
  height: 180px;
}

.posts-periodos-mujeres-congreso article .image img {
  display: block;
  width: 100%;
}

@media screen and (max-width: 1920px) {
  .posts-periodos-mujeres-congreso article {
    width: calc(33% - 6em);
  }

  .posts-periodos-mujeres-congreso article:nth-last-child(3) {
    margin-bottom: 6em;
  }
}

@media screen and (min-width: 481px) and (max-width: 1920px) {

  .posts-periodos-mujeres-congreso article:nth-child(1):before {
    display: none;
  }

  .posts-periodos-mujeres-congreso article:nth-child(1):after {
    width: 100%;
    display: none;
  }

  .posts-periodos-mujeres-congreso article:nth-last-child(1), .posts-periodos-mujeres-congreso article:nth-last-child(2) {
    margin-bottom: 0;
  }

  .posts-periodos-mujeres-congreso article:nth-last-child(1):before, .posts-periodos-mujeres-congreso article:nth-last-child(2):before {
    height: 100%;
  }

  .posts-periodos-mujeres-congreso article:nth-last-child(1):after, .posts-periodos-mujeres-congreso article:nth-last-child(2):after {
    display: none;
  }
}

@media screen and (max-width: 736px) {
  .posts-periodos-mujeres-congreso {
    margin: 0 0 2em -4.5em;
    width: calc(100% + 4.5em);
  }

  .posts-periodos-mujeres-congreso article {
    margin: 0 0 4.5em 4.5em;
    width: calc(50% - 4.5em);
  }

  .posts-periodos-mujeres-congreso article:before {
    height: calc(100% + 4.5em);
    left: -2.25em;
  }

  .posts-periodos-mujeres-congreso article:after {
    bottom: -2.25em;
    width: calc(100% + 4.5em);
  }

  .posts-periodos-mujeres-congreso article:nth-last-child(3) {
    margin-bottom: 4.5em;
  }
}

@media screen and (max-width: 480px) {
  .posts-periodos-mujeres-congreso {
    margin: 0 0 2em 0;
    width: 100%;
  }

  .posts-periodos-mujeres-congreso article {
    margin: 0 0 4.5em 0;
    width: 100%;
  }

  .posts-periodos-mujeres-congreso article:before {
    display: none;
  }

  .posts-periodos-mujeres-congreso article:after {
    width: 100%;
  }

  .posts-periodos-mujeres-congreso article:last-child {
    margin-bottom: 0;
  }

  .posts-periodos-mujeres-congreso article:last-child:after {
    display: none;
  }
}

/* Filtros en periodos */
.material-switch > input[type="checkbox"] {
  display: none;
}

.material-switch > label {
  cursor: pointer;
  height: 0px;
  position: relative; 
  width: 55px;
}

.material-switch > label::before {
  background: rgb(0, 0, 0);
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  content: '';
  height: 16px;
  margin-top: -8px;
  position:absolute;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  width: 40px;
}

.material-switch > label::after {
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  content: '';
  height: 24px;
  left: -4px;
  margin-top: -8px;
  position: absolute;
  top: -4px;
  transition: all 0.3s ease-in-out;
  width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
  background: inherit;
  opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
  background: inherit;
  left: 20px;
}

/* Acordion para Periodos/ Tabla sesiones */
#wrapper-acordion-periodos .panel-default {
  border-color: transparent;
}

#wrapper-acordion-periodos .panel-default > .panel-heading {
  padding: 0;
  background-color: transparent;
  border-bottom: 1px dotted #000000;
  border-radius: 0px;
}

#wrapper-acordion-periodos .panel-title {
  font-size: 16px;
}

#wrapper-acordion-periodos .panel-title > a {
  display: block;
  padding: 15px 0;
  text-decoration: none;
  font-size: 35px;
  color: #212121;
  border-bottom: 1px solid transparent;
}

#wrapper-acordion-periodos .panel-title > a:hover, #wrapper-acordion-periodos .panel-title > a:focus {
  color: #c90000;
  border-bottom: 1px solid transparent;
}

#wrapper-acordion-periodos .more-less {
  float: right;
  color: #111111;
  font-size: 15px;
  line-height: 35px;
}

#wrapper-acordion-periodos .panel-default > .panel-heading + .panel-collapse > .panel-body {
  /* background: #FFFFFF; */
  /* border-radius: 0 0 5px 5px; */
  padding: 15px 0;
  /* border: 1px solid #e0e0e0; */
}

#wrapper-acordion-periodos .panel-group .panel-heading+.panel-collapse>.panel-body, .panel-group .panel-heading+.panel-collapse>.list-group {
    border-top: 1px solid transparent;
}

#wrapper-acordion-periodos .panel-default > .panel-heading + .panel-collapse > .panel-body p {
  margin: 10px 0;
}

@media only screen and (min-width: 768px) {
  .wrapper-content-periodos {
    margin-top: 71px;
  }

  .botonera-periodo > li {
    display: inline-block;
    width: 12.5%;
    padding: 25px 10px 20px;
    border-left: 1px solid #c2cce7;
    font-size: 16px;
    border-bottom: 4px solid #c2cbe8;
  }

  .botonera-periodo > li:hover {
    border-bottom: 4px solid #c90000;
  }

  .botonera-periodo .active {
    border-bottom: 4px solid #c90000;
  }

  .wrapper-efemerides .efemerides-title{
    margin: 25px 0 -12px 207px;
  }

  .tabtop .active a:before{
    top: 27px;
    left: 45%;
    font-size:22px;
  }

  .grid-mesa{
    border-bottom: 1px solid #dddddd;
  }

  .grid-mesa ul li{
    width: 120px;
    border-left: 1px solid #dddddd;
    padding: 0 15px;
  }

  /* Lista Comisiones */
  .wrapper-list-comisiones li {
    width: 49%;
  }

  .wrapper-list-comisiones li:nth-child(2n){
    float: right;
  }
}

/* Buscador */
.wrapper-buscador {
  background: #fff;
  padding: 15px;
  border-bottom: 1px solid #e4e8eb;
  z-index: 2;
  -webkit-box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 50px;
  left: 0;
}

.wrapper-buscador input{
  box-shadow: none;
}

.set-buscador {
  height: 45px;
  cursor: pointer;
  margin: 0 auto;
  border: 1px solid transparent;
  color: #6782A4;
  font-size: 24px;
  font-weight: 300;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: #ffffff;
}

.inner-addon {
  position: relative;
}

/* style icon */
.inner-addon .fa {
  position: absolute;
  padding: 14px;
  pointer-events: none;
  font-size: 18px;
}

.left-addon .fa {
  left: 0px;
}

.right-addon .fa {
  right: 0px;
}

.left-addon input {
  padding-left: 40px;
}

.right-addon input {
  padding-right: 30px;
}

/* Facetado */
.wrapper-faceta {
  margin: 0 0 10px 0;
  padding: 0 5px;
}

.resultados-resume{
  margin: 15px 0 0 0;
}

.resultados-resume b{
  color: #c90000;
}

/* .wrapper-faceta h4 {
  color: #517da2;
} */

.wrapper-faceta ul {
  margin: 0;
  padding: 0;
}

.wrapper-faceta ul li {
  list-style: none;
  padding: 3px 0;
}

.wrapper-faceta .badge {
    background: #517da2;
}

/*--------------------------------------------------------------
Menu Affix
--------------------------------------------------------------*/
.affix {
    width: 100%;
}

.affix-bottom {
    position: absolute;
    width: 100%;
}
@media (min-width: 767px) {
  .affix {
      /* top: 70px; */
      width: 190px;
  }
  .affix-bottom {
      position: absolute;
      width: 190px;
  }
}

@media (min-width: 962px) {
  .affix {
      width: 262px;
  }
  .affix-bottom {
      position: absolute;
      width: 262px;
  }
}

@media (max-width: 767px) {
  .affix {
      position: static;
  }
}

@media (min-width: 1200px) {
  .affix {
    width: 330px;
  }

  .affix-bottom {
    width: 330px;
  }
}

@media only screen and (min-width: 1200px) {
  .wrapper-buscador {
    top: 70px;
  }

  .wrapper-content {
    padding-top: 60px;
  }

  .wrapper-carousel {
    height: 180px;
  }

  .wrapper-content-right {
    padding: 15px 30px;
  }

  .wrapper-content-periodos {
    margin-top: 71px;
  }

  .wrapper-efemerides .efemerides-title{
    margin: 25px 0 -12px 242px;
  }

  .tabtop .active a:before{
    top: 20px;
    left: 45%;
    font-size:30px;
  }
}

/*--------------------------------------------------------------
ScrollUp
--------------------------------------------------------------*/
.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(232, 98, 86, 0.8) url(../img/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
}

.cd-top.cd-top--show,
.cd-top.cd-top--fade-out,
.cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}

.cd-top.cd-top--show {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
}

.cd-top.cd-top--fade-out {
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    opacity: .5;
}

.cd-top:hover {
    background-color: #e86256;
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 60px;
        width: 60px;
        right: 30px;
        bottom: 30px;
    }
}



.tab {
  overflow: hidden;
  border: 1px solid #c2cce7;
  background-color: #e7ebf6;
  color: #6173a3;
}

.tab button.active{
  background:  #c2cce7;
}

.tabcontent_tabla{
  border: 1px solid #c2cc37;
}

/* ---------------------------------------------- /*
 * Tabla responsiva usando Flex
 /* ---------------------------------------------- */
.Rtable {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.Rtable-cell {
  background-color: #FFFFFF;
  box-sizing: border-box;
  flex-grow: 1;
  width: 100%;
  padding: 0.8em 1.2em;
  overflow: hidden;
  list-style: none;
  border-top: solid 1px #FFFFFF;
}
.Rtable--3cols > .Rtable-cell {
  width: 100%;
}
.no-line{
  border-top: solid 1px #FFFFFF !important;
}
.gap{
  margin:0;
  border-top: solid 2px #dbe0e1;
}
.hide-row{
  font-weight: bold;
  display: none;
}

@media only screen and  (min-width:768px) {
  .hide-row{
    display: flex ;
  }
  .Rtable-cell{
    border-top: solid 1px #dbe0e1;
  }
  .Rtable--3cols > .Rtable-cell {
    width: 33.33%;
  }
  .gap{
    border-top: solid 2px #FFFFFF;
  }
}

/* ---------------------------------------------- /*
 * Grilla de archivos historicos
 /* ---------------------------------------------- */
.grid {
  display: grid;
  grid-gap: 3rem;
  grid-template-columns: repeat(1, 1fr);
  margin: 1.5rem 0;
}

.cell {
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 5px;
}

.cell h4 {
  line-height: 22px;
  margin: 10px 0 0 0;
}

.cell-links{
  padding: .5rem 0 1rem 0;
  height: 60px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.cell-footer{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.cell-footer div{
  padding-right: 1.8rem;
}

.cell-footer div a{
  text-decoration: none;
}

@media screen and (min-width: 576px) {
  .cell figure {
    width: 100%;
    height: 160px;
    background-position: center;
    background-size: cover;
  }

  .cell h4 {
    border-top: 1px dotted rgb(77, 77, 77);
    padding: 1rem 0 .5rem 0;
    line-height: 22px;
    margin: 0;
  }
}

@media screen and (min-width: 992px) {
  .grid {
    margin: 0;
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------------------------------------------- /*
 * Formulario de archivos historicos
 /* ---------------------------------------------- */
#formu .form-control-custom-input{
  padding: 24px 16px;
  font-size: 18px;
  line-height: 1.5;
  border-radius: 0.3rem;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
}

#formu .form-control-custom-input:hover{
  border: 1px solid #7f888f;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 0%), 0 0 8px rgb(0 0 0 / 18%);
}

#formu .form-control-custom-select{
  height: 50px;
  font-size: 18px;
  line-height: 1.5;
  border-radius: 0.3rem;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
}

#formu .form-control-custom-select:hover{
  border: 1px solid #7f888f;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 0%), 0 0 8px rgb(0 0 0 / 18%);
}

#formu .form-control-custom-textarea{
  font-size: 18px;
  line-height: 1.5;
  border-radius: 0.3rem;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
}

#formu .form-control-custom-textarea:hover {
  border: 1px solid #7f888f;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 0%), 0 0 8px rgb(0 0 0 / 18%);
}

#formu label{
  font-weight: 400;
}

#formu .pb-1{
  padding-bottom: 16px;
}

/* ---------------------------------------------- /*
 * Sitio 70 -73
 /* ---------------------------------------------- */
.banner-70-73{
  width: 100%;
  border: 2px solid #c2cbe8;
  background: #e7ebf6 ;
  padding: 2rem;
  border-radius: 5px;
  text-align: center;

  font-size: 18px;
  color: #6173a3;
  display: block;
}

.banner-70-73:hover {
  border: 2px solid #f56a6a;
  background: rgba(245, 106, 106, 0.05);
  color: #f56a6a;
  text-decoration: none;
}

/* ---------------------------------------------- /*
 * Tag anuncia nuevo contenido
 /* ---------------------------------------------- */
.tag {
  background: #f00;
  position: absolute;
  top: 45px;
  left: 5px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  padding: 5px 20px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}

.tag:before {
  content: '';
  display: block;
  border: 5px solid transparent;
  border-top-color: #b80000;
  border-right-color: #b80000;
  width: 0;
  height: 0;
  position: absolute;
  top: 100%;
  left: 0;
}

/* ---------------------------------------------- /*
 * Generic grid
 /* ---------------------------------------------- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 0;
  column-gap: 0;
}

.grid-item{
  padding: 3.5rem 0 3.5rem 0;
  border-right: none;
  border-bottom: 1px solid rgba(210, 215, 217, 0.75);
}

.grid-item:first-child {
  padding-top: 0;
}

.grid-item .image {
  display: block;
  margin: 0 0 2em 0;
}

.grid-item .contiene-imagen{
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  width: 100%;
  height: 220px;
}

@media only screen and (min-width:768px) {
  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0;
  }

  .grid-item {
    padding: 2.5rem;
    border-left: 1px solid rgba(210, 215, 217, 0.75);
    border-bottom: 1px solid rgba(210, 215, 217, 0.75);
  }

  .grid-item:first-child {
    border-left: none;
  }

  .grid-item:nth-child(2) {
    padding-top: 0;
  }

  .grid-item:nth-child(3){
    border-left: none;
  }

  .grid-item:nth-child(n+3){
    border-bottom: none;
  }
}

.flex__wrap__links{
  background: var(--background-grid-hover);
  border-top: 1px solid var(--line-red);
  border-left: 1px solid var(--line-red);
  border-right: 3px solid var(--line-red);
  border-bottom: 3px solid var(--line-red);
  color: var(--font-red) !important;
  padding: 2rem;
  margin: 0 0 1.5rem 0;
  border-radius: 5px;
}

.flex__wrap__links:hover{
  background: var(--background-red);
  border-top: 1px solid var(--line-red);
  border-left: 1px solid var(--line-red);
  border-right: 3px solid var(--line-red);
  border-bottom: 3px solid var(--line-red);
  color: var(--font-white) !important;
  text-decoration: none;
}

.wrapper__mensajes{
  display: flex;
  flex-direction: row;
}

.wrapper__mensajes a{
  margin: 0 0 1.5rem 0;
  text-align: center;
  flex: 1 1 0;
}

.wrapper__mensajes i{
  font-size: 20px;
}

.wrapper__mensajes div:last-child {
  margin: 0
}

/* ---------------------------------------------- /*
 * Grilla para items CDC
 /* ---------------------------------------------- */

.grid-container-cdc{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 16px;
 }

.grid-item-cdc{
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 4px;
 }

 .grid-item-cdc:hover{
  border: 1px solid #c90000;
  border-radius: 3px;
  background: #fffbfb;
  cursor: pointer;
 }

.grid-item-cdc p{
  color: #111 !important;
  padding: 10px 0 25px 0;
 }

 .grid-item-cdc span{
  color: #111 !important;
  padding: 10px 0 25px 0;
 }

 @media only screen and (min-width: 768px){
  .grid-container-cdc {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (min-width: 992px){
  .grid-container-cdc {
    grid-template-columns: repeat(4, 1fr);
  }
}

.listado-parlamentarios li{
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

/* ---------------------------------------------- /*
 * Grilla para parlamentarios
 /* ---------------------------------------------- */
.grid-container-parlamentarios{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 0;
}

.grid-item-parlamentarios{
  display: flex;
  flex-direction: row;
  border-right: 1px solid transparent;
  border-bottom: 1px solid #ddd;
  padding: 1.5rem;
}

.grid-item-parlamentarios img{
  width: 75px;
  margin: 0 10px 0 0;
}

@media only screen and (min-width: 768px){
  .grid-container-parlamentarios {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-item-parlamentarios {
    border-right: 1px solid #ddd;
  }
  .grid-item-parlamentarios:nth-child(2n) {
    border-right: 1px solid transparent;
  }
}

@media only screen and (min-width: 992px){
  .grid-container-parlamentarios {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-item-parlamentarios {
    border-right: 1px solid #ddd;
  }
  .grid-item-parlamentarios:nth-child(2n) {
    border-right: 1px solid #ddd;
  }
  .grid-item-parlamentarios:nth-child(4n) {
    border-right: 1px solid transparent;
  }
  .grid-item-parlamentarios:last-child {
    border-bottom: 1px solid transparent;
  }
}