/*
Theme Name: Cia Anglo
Theme URI: 
Author: gonzalog2
Author URI:
Description: Cia Anglo
Version: 1.0
*/

html,
body {
  height: 100%;
}

#wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -998px;
}

#bottom,
#push {
  height: 998px;
}

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

.content {
  padding-bottom: 80px;
}

body {
  font-family: "Merriweather", serif;
  font-size: 18px;
}

a:hover,
input {
  transition: all 0.1s ease-in-out;
}

.page-header {
  margin-top: 0;
}

.page-header > h1 {
  margin-top: 0;
}

.btn-primary {
  border-color: #a09048;
  background-color: #61492f;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
  background-color: #474020;
  border-color: #232010;
}

/* NAVBAR */
.navbar-brand {
  height: 100px;
  width: 232px;
  transition: all 0.1s ease-in-out;
}

.navbar-default {
  background-color: whitesmoke;
  transition: all 0.5s ease-out;
  background-image: none;
  border-bottom: 1px solid #a09048;
}

.navbar-brand > img {
  background: url(assets/img/isologotipo-anglo.png) no-repeat;
  height: 100%;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.svg .navbar-brand > img {
  background: url(assets/img/isologotipo-anglo.svg) no-repeat;
}

.current-menu-parent > a,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: whitesmoke;
  background-color: #a09048;
}

.btn,
.navbar-default .navbar-nav > li > a {
  text-transform: uppercase;
  font-family: "Roboto Slab", serif;
  font-size: 14px;
}

.navbar-default .navbar-nav > li > a {
  line-height: 50px;
  color: whitesmoke;
  text-transform: uppercase;
  transition: all 0.1s ease-in-out;
}

.navbar-default .nav > li > a {
  color: #474020;
}

.navbar-default .navbar-toggle {
  margin-top: 31px;
  margin-right: 19px;
  background-color: #ddd;
}

.navbar-nav .open .dropdown-menu {
  background-color: #474020;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: whitesmoke;
  background-color: #474020;
}

.navbar-default .navbar-nav .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
  color: whitesmoke;
  background-color: #a09048;
}

.dropdown-header {
  font-size: 18px;
  padding-left: 0;
  padding-top: 10px;
}

.navbar-default .navbar-nav .dropdown-menu > li.dropdown-header > a:hover {
  background-color: #474020;
}

#navbarFlag {
  position: absolute;
  top: 138px;
}

/* FOOTER */

.site-footer {
  height: 998px;
  background-color: #312518;
  text-align: center;
}

.site-footer,
.site-footer .menu a {
  color: whitesmoke;
}

.site-footer div[class^="col-"] {
  padding: 30px;
}

.site-footer address > ul,
.site-footer .menu > ul {
  list-style-type: none;
  margin: 0 0 30px 0;
  padding: 0;
}

.site-footer .menu > ul li {
  line-height: 40px;
}

.site-footer > .inner-footer {
  background-color: #61492f;
  padding: 10px;
  font-size: 11px;
}

.site-footer .footer-brand > img {
  background: url(assets/img/isologotipo-anglo-mono.png) no-repeat;
  width: 238px;
  height: 80px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.svg .site-footer .footer-brand > img {
  background: url(assets/img/isologotipo-anglo-mono.svg) no-repeat;
}

.site-footer .text-center {
  margin: 0;
}

.site-footer h3 {
  margin-bottom: 20px;
}

.site-footer address {
  margin-bottom: 60px;
}

/* Slider */

.carousel-main {
  margin-bottom: 60px;
}

.carousel-main,
.carousel-main .item,
.carousel-main .item .container {
  height: 450px;
}

.carousel-main,
.carousel-main .item {
  width: 100%;
}

.carousel-caption > h1 {
  font-size: 30px;
  margin: 0;
}

.carousel-caption {
  left: 5%;
  right: 5%;
}

.carousel-caption {
  top: 55%;
  bottom: 0;
  padding-top: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  top: 60%;
}

.video-container {
  background-color: #000;
  padding: 5px 0;
  margin-top: 80px;
}

/* HOME */
#homeSlider.carousel-main,
#homeSlider.carousel-main .item,
#homeSlider.carousel-main .item .container {
  height: 100vh;
}

#homePage .jumbotron {
  margin: 50px 0;
}

/* BUSINESS */
#businessPage .jumbotron {
  margin-top: 80px;
}

/* BOVINE - GENETICS */
#geneticsPage .well.links-container .row div:last-child {
  margin-top: 20px;
}

#geneticsPage .breed {
  color: #594832;
}

#geneticsPage .expo-year {
  color: #827850;
  font-size: 20px;
}

#geneticsPage .thumbnail > .caption > h3 {
  line-height: 32px;
}

#geneticsPage .thumbnail {
  cursor: pointer;
}

/* BOVINE - HOSTELRY */

.content-centered ul {
  padding-left: 0;
}

.content-centered ul li {
  list-style-type: none;
}

/* SERVICES */
#servicesSl

/* CONTACT */

#contactPage {
  margin-top: 480px;
}

#map {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 400px;
}

.container-contact {
  margin-top: 400px;
}

/* NEWS */
#newsPage.content {
  padding-bottom: 0px;
}

#newsPage > .row.aos-init.aos-animate > .col-sm-10.col-sm-offset-1 {
  padding: 0;
}

#newsPage .carousel-caption {
  text-align: left;
}

#newsPage .carousel-caption h1 {
  font-weight: bold;
}

#newsPage .carousel-caption .news-link {
  font-size: 10px;
  color: #ddd;
  background-color: #db4e5f;
  padding: 4px;
}

.tema-novedad {
  color: #a09048;
  background-color: #ddd;
  display: inline-block;
  padding: 1px 3px;
  line-height: 12px;
  text-shadow: none;
  text-transform: uppercase;
  font-size: 9px;
  align-self: flex-start; /* que se alinee al inicio horizontalmente */
  width: auto; /* que no se expanda */
  flex: 0 0 auto; /* no crecer, no reducir, usar contenido */
}

.item-novedad {
  overflow: hidden;
  border: 1px solid #dbdde3;
  border-radius: 6px;
  margin-bottom: 15px;
  margin-top: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.item-novedad .media {
  height: 100%;
  display: flex;
}

.item-novedad .media-body,
.item-novedad .media-right {
  height: 100%;
  flex: 1;
}

.item-novedad .media-right {
  padding-left: 0px;
  flex: 0 0 35%;
  max-width: 35%;
  position: relative;
}

.item-novedad .media-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.item-novedad .media-body .media-heading {
  font-weight: bold;
  font-size: 18px;
  margin-top: 5px;
  margin-bottom: 0;
}

.novedad-time,
.novedad-bajada {
  font-family: Arial, Helvetica, sans-serif;
}

.novedad-bajada {
  font-size: 12px;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* número de líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.espaciador{
    flex-grow: 1;
}

.novedad-time {
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 5px;
}

.novedad-link {
  color: #333;
  font-size: 10px;
}

#grilla-novedades.row {
  display: flex;
  flex-wrap: wrap;
}

#grilla-novedades.row > [class^="col-"] {
  display: flex;
  flex-direction: column;
}

#newsSingle {
  text-align: left;
}

#newsSingle p.text-muted,
#newsSingle p.page-content {
  font-family: Arial, Helvetica, sans-serif;
}

#newsSingle p.page-excerpt {
  font-style: italic;
}

@media (min-width: 768px) {
  #bottom,
  #push {
    height: 397px;
  }

  #wrapper {
    margin: 0 auto -397px;
  }

  .page-header {
    margin-top: 40px;
  }

  .page-header > h1 {
    margin-top: 20px;
  }

  .navbar-default {
    background-color: transparent;
    background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.0001) 0,
      rgba(0, 0, 0, 0.3) 100%
    );
    border: none;
    margin-bottom: 0;
  }

  .navbar-brand {
    height: 137px;
    width: 141px;
  }

  .navbar-over-content .navbar-brand {
    margin-left: 19px;
    height: 100px;
    width: 102px;
    transition: all 0.5s ease-out;
  }

  .navbar-brand > img {
    background: url(assets/img/iso-anglo-mono.png) no-repeat;
  }

  .svg .navbar-brand > img {
    background: url(assets/img/iso-anglo-mono.svg) no-repeat;
  }

  .svg .navbar-over-content .navbar-brand > img {
    background: url(assets/img/iso-anglo.svg) no-repeat;
    transition: all 0.5s ease-out;
  }

  .navbar-default.navbar-over-content {
    background-color: whitesmoke;
    transition: all 0.5s ease-out;
    background-image: none;
    border-bottom: 1px solid #a09048;
  }

  .navbar-default.navbar-over-content .navbar-nav > .active > a,
  .navbar-default.navbar-over-content .navbar-nav > .active > a:hover,
  .navbar-default.navbar-over-content .navbar-nav > .active > a:focus,
  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a:focus {
    color: whitesmoke;
    background-color: #a09048;
  }

  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > li > a:focus,
  .navbar-default.navbar-over-content .navbar-nav > li > a:hover,
  .navbar-default.navbar-over-content .navbar-nav > li > a:focus,
  .navbar-default .navbar-nav > .open > a,
  .navbar-default .navbar-nav > .open > a:hover,
  .navbar-default .navbar-nav > .open > a:focus {
    background-color: #474020;
    color: whitesmoke;
  }

  .navbar-default .navbar-nav > li > a {
    color: whitesmoke;
    line-height: 107px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  }

  .navbar-default.navbar-over-content .nav > li > a {
    color: #474020;
    transition: all 0.5s ease-out;
    line-height: 70px;
  }

  .navbar-default.navbar-over-content .nav > li.current-menu-parent > a {
    color: whitesmoke;
  }

  .navbar.navbar-over-content > .container .navbar-brand,
  .navbar.navbar-over-content > .container-fluid .navbar-brand {
    margin-left: 4px;
  }

  /* FOOTER */
  .site-footer {
    height: 397px;
  }

  /* SLIDER */

  .carousel-caption {
    left: 15%;
    right: 15%;
  }

  .carousel-caption > h1 {
    font-size: 60px;
  }

  .carousel-main {
    margin-bottom: 80px;
  }

  /* BOVINE - GENETICS */
  #geneticsPage .well.links-container .row div:last-child {
    margin-top: 0;
  }

  #geneticsPage .thumbnail {
    min-height: 392px;
  }

  #newsSlider > .carousel-inner > .item > .carousel-caption h1 {
    font-size: 40px;
  }

  #newsPage > .row.aos-init.aos-animate > .col-sm-10.col-sm-offset-1 {
    padding: 15px;
  }

  .item-novedad .media-body .media-heading {
    font-size: 22px;
    margin-top: 10px;
    display: -webkit-box;
  -webkit-line-clamp: 2; /* número de líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  }

  .novedad-bajada {
    font-size: 14px;
  }

  .novedad-time,
  .novedad-link {
    font-size: 13px;
  }
  .novedad-time {
    margin-bottom: 10px;
  }

  .tema-novedad {
    padding: 1px 6px;
    line-height: 25px;
    font-size: 12px;
  }

  .item-novedad .media-body {
    padding: 20px;
  }
}
