/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    font-family: 'Source Sans Pro', sans-serif;
    /*padding-bottom: 40px;*/
    color: #5a5a5a;
    background: #f9f9f9;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}


/* MIGAS DE PAN
-------------------------------------------------- */

/* Breadcrumbs from http://bootsnipp.com/snippets/featured/triangle-breadcrumbs-arrows */
.btn-breadcrumb .btn:not(:last-child):after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid white;
    position: absolute;
    top: 50%;
    margin-top: -17px;
    left: 100%;
    z-index: 3;
}

.btn-breadcrumb .btn:not(:last-child):before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid rgb(173, 173, 173);
    position: absolute;
    top: 50%;
    margin-top: -17px;
    margin-left: 1px;
    left: 100%;
    z-index: 3;
}

.btn-breadcrumb .btn {
    padding: 6px 12px 6px 24px;
}

    .btn-breadcrumb .btn:first-child {
        padding: 6px 6px 6px 10px;
    }

    .btn-breadcrumb .btn:last-child {
        padding: 6px 18px 6px 24px;
    }

    /** Default button **/
    .btn-breadcrumb .btn.btn-default:not(:last-child):after {
        border-left: 10px solid #fff;
    }

    .btn-breadcrumb .btn.btn-default:not(:last-child):before {
        border-left: 10px solid #ccc;
    }

    .btn-breadcrumb .btn.btn-default:hover:not(:last-child):after {
        border-left: 10px solid #ebebeb;
    }

    .btn-breadcrumb .btn.btn-default:hover:not(:last-child):before {
        border-left: 10px solid #adadad;
    }

/* The responsive part */

.btn-breadcrumb > * > div {
    /* With less: .text-overflow(); */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-breadcrumb > *:nth-child(n+2) {
    display: none;
}

/* === For phones =================================== */
@media (max-width: 767px) {
    .btn-breadcrumb > *:nth-last-child(-n+2) {
        display: block;
    }

    .btn-breadcrumb > * div {
        max-width: 60px;
    }
}

/* === For tablets ================================== */
@media (min-width: 768px) and (max-width:991px) {
    .btn-breadcrumb > *:nth-last-child(-n+4) {
        display: block;
    }

    .btn-breadcrumb > * div {
        max-width: 100px;
    }
}

/* === For desktops ================================== */
@media (min-width: 992px) {
    .btn-breadcrumb > *:nth-last-child(-n+6) {
        display: block;
    }

    .btn-breadcrumb > * div {
        max-width: 170px;
    }
}

.migaspan {
    margin-bottom: 1em;
}

/****** NOTICIAS ****/
.fa-noticias {
    margin-left: 1em;
}

.pagination {
    margin-left: 1em;
}


/* PAGINADOR DEL GRID
-------------------------------------------------- */

.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination-ys table > tbody > tr > td {
display: inline;
}

.pagination-ys table > tbody > tr > td > a,
.pagination-ys table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 8px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    /*color: #dd4814;*/
    background-color: #ffffff;
    border: 1px solid #dddddd;
    margin-left: -1px;
}

.pagination-ys table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 8px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    margin-left: -1px;
    z-index: 2;
    /*color: #aea79f;*/
    background-color: #f5f5f5;
    border-color: #dddddd;
    cursor: default;
}

.pagination-ys table > tbody > tr > td:first-child > a,
.pagination-ys table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination-ys table > tbody > tr > td:last-child > a,
.pagination-ys table > tbody > tr > td:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.pagination-ys table > tbody > tr > td > a:hover,
.pagination-ys table > tbody > tr > td > span:hover,
.pagination-ys table > tbody > tr > td > a:focus,
.pagination-ys table > tbody > tr > td > span:focus {
    /*color: #97310e;*/
    background-color: #eeeeee;
    border-color: #dddddd;
}





.caret-right {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-left: 4px solid;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
}

.list-docs {
    margin-left: 4em;
    list-style-type: none;
}




.navbar-nav > li > a {
    min-height: 58px !important;
}

/*.navbar-inverse .navbar-nav > li > a {
    color: #f2d01b;
}*/


.navbar-text {
    font-family: 'Oswald', sans-serif;
    color: #000;
    text-shadow: 2px 2px #f2d01b;
    text-transform: uppercase;
    /*font-size: xx-large;*/
    /*margin-top: 50px;*/
    /*font-size: 4vw;*/
    font-size: 2.8vh;
}


.avisos {
    padding-right: 0px;
    padding-left: 0px;
    /*background: #d2cece;*/
    padding-left: 10px;
    padding-right: 5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.avisos ol {
    list-style-type: square;
    padding-inline-start: 15px;
    color:red;
}

.sharebutton {
    color: white;
    border: none;
    padding: 5px;
}

.sharebuttontwitter {
    background: #1da1f2;
}

.sharebuttonfacebook {
    background: #3b5998;
}

.sharebuttonwhatsapp {
    background: #4dc247;
}

/* Buscador global y página de resultados */
.fedes-search-item { padding: 10px 8px 0; }
.fedes-site-search { display: flex; width: 220px; height: 38px; overflow: hidden; border: 1px solid #d3d8dc; border-radius: 5px; background: #fff; }
.fedes-site-search:focus-within { border-color: #777; box-shadow: 0 0 0 2px rgba(0,0,0,.08); }
.fedes-site-search input { min-width: 0; flex: 1; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #20262b; }
.fedes-site-search button { width: 40px; border: 0; background: transparent; color: #333; cursor: pointer; }
.fedes-site-search button:hover { background: #f1f3f4; }

.fedes-search-page { max-width: 1050px; margin: 30px auto 55px; padding: 0 20px; color: #242a2e; }
.fedes-search-heading { margin-bottom: 22px; }
.fedes-search-heading h1 { margin: 0 0 7px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.fedes-search-heading p { margin: 0; color: #667078; font-size: 17px; }
.fedes-search-form { display: flex; max-width: 760px; height: 50px; margin-bottom: 22px; overflow: hidden; border: 1px solid #bcc3c8; border-radius: 6px; background: #fff; }
.fedes-search-form:focus-within { border-color: #333; box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.fedes-search-form input { min-width: 0; flex: 1; padding: 0 16px; border: 0; outline: 0; font-size: 17px; }
.fedes-search-form button { padding: 0 23px; border: 0; background: #272c30; color: #fff; font-weight: 700; cursor: pointer; }
.fedes-search-count { margin: 0 0 12px; color: #667078; font-size: 14px; }
.fedes-search-count strong { color: #20262b; font-weight: 600; }
.fedes-search-filters { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 6px; border-bottom: 1px solid #dfe3e6; }
.fedes-search-filters[hidden], .fedes-search-result[hidden] { display: none; }
.fedes-search-filters button { margin-bottom: -1px; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: #586168; font-size: 15px; cursor: pointer; }
.fedes-search-filters button span { margin-left: 3px; color: #8a939a; font-size: 13px; }
.fedes-search-filters button:hover { color: #20262b; }
.fedes-search-filters button[aria-pressed="true"] { border-bottom-color: #272c30; color: #20262b; font-weight: 600; }
.fedes-search-results { max-width: 760px; }
.fedes-search-result { padding: 20px 0; border-bottom: 1px solid #e3e6e8; }
.fedes-search-result:last-child { border-bottom: 0; }
.fedes-search-result .fedes-search-result__meta { margin: 0 0 4px; color: #7b848a; font-size: 13px; }
.fedes-search-result__type { font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-size: 12px; }
.fedes-search-result h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.fedes-search-result h2 a { color: #20262b; text-decoration: none; }
.fedes-search-result h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fedes-search-result p { margin: 0; color: #505960; line-height: 1.55; }
.fedes-search-result mark { padding: 0; background: #fff1a8; color: inherit; }
.fedes-search-empty { display: grid; gap: 6px; max-width: 760px; padding: 4px 0; color: #586168; }
.fedes-search-empty strong { color: #20262b; font-size: 17px; }
.fedes-search-filters button:focus-visible, .fedes-search-form button:focus-visible, .fedes-search-result a:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }

@media (max-width: 767px) {
    .fedes-search-item { padding: 7px 15px 11px; }
    .fedes-site-search { width: 100%; }
    .fedes-search-page { margin-top: 20px; padding: 0 14px; }
    .fedes-search-form button { padding: 0 15px; }
    .fedes-search-filters { flex-wrap: nowrap; overflow-x: auto; gap: 18px; -webkit-overflow-scrolling: touch; }
    .fedes-search-filters button { flex: 0 0 auto; white-space: nowrap; }
    .fedes-search-result { padding: 16px 0; }
    .fedes-search-result h2 { font-size: 18px; }
    .fedes-search-result p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 14px; line-height: 1.45; }
}
