/*!
 * Start Bootstrap - Modern Business (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

/*@font-face {
  font-family: "Ferrovial";
  src: url("../fonts/Ferrovial-Regular.otf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Ferrovial Bold";
  src: url("../fonts/Ferrovial-Bold.eot");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Ferrovial Light";
  src: url("../fonts/Ferrovial-Light.eot");
  font-weight: lighter;
  font-style: normal;
}*/

@font-face {
  font-family: 'Helsinki';
  src: url("../fonts/Helsinki-Regular.woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'Helsinki';
  src: url("../fonts/Helsinki-Light.woff");
  font-weight: 300;
  font-style: normal; }

@font-face {
  font-family: 'Helsinki';
  src: url("../fonts/Helsinki-Extralight.woff");
  font-weight: 200;
  font-style: normal; }

@font-face {
  font-family: 'Helsinki';
  src: url("../fonts/Helsinki-Thin.woff");
  font-weight: 100;
  font-style: normal; }

*:not(i) {
	font-family: 'Helsinki', 'Tahoma' !important;
}

html,
body {
    height: 100%;
    font-family: "Tahoma", Tahoma;
    font-size: 16px;
}

body {
    /*padding-top: 50px;*/ /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

header.carousel {
    height: 50%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

ul li {
    margin: 5px 0;
}

.galeria_miniatura {
    max-width: 100%;
}


.navbar-header {
    float: none;
}
.navbar-left,.navbar-right {
    float: none !important;
}
.navbar-toggle {
    display: block;
}
.navbar-collapse {
    /*border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);*/
}
.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
}
.navbar-collapse.collapse {
    display: none!important;
}
.navbar-nav {
    float: none!important;
    margin-top: 7.5px;
}
.navbar-nav>li {
    float: none;
}
.navbar-nav>li>a {
    padding-top: 13px;
    padding-bottom: 10px;
}
.collapse.in{
    display:block !important;
}

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    max-height: 500px !important;
    min-width: 300px;
}

@media (max-width: 767px) {
    .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
        width: 100%;
        padding-left: 0;
        padding-right: 25px;
    }
    nav.navbar ul {
        background-color: #6ea92a !important;
        margin-top: 0 !important;
    }
    nav.navbar ul li ul {
        padding: 0;
    }
}

nav.navbar {
    background-color: #6ea92a;
    border-bottom: 1px solid #fff;
    background-image: url("../imagenes/fondo-menu.jpg");
    background-repeat: repeat-x;
    width: auto;
    float: none;
}

@media (max-width: 768px) {
    nav.navbar {
        background-size: 300px 74px;
    }
    nav.navbar > div.container {
        padding: 0;
    }
}

.navbar-nav {
    margin-bottom: 10px;
}

.navbar-collapse {
    float: right;
    text-align: right;
    margin-top: -40px;
    border-top: 0;
    box-shadow: 0;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-nav > li > a {
    color: #fff;
    font-size: 17px;
}

.nav > li > a:focus, .nav > li > a:hover {
    background-color: #eee;
    color: #666;
}

img.logo {
    margin: 0 25px 0 0;
    width: auto;
}

a.logo_cespa {
    float: right;
    margin-top: 32px;
    vertical-align: top;
}

img.logo_cespa {
    width: 70px;
}

a.logo_gernika_lumo {
    float: right;
    margin: 10px 15px 0 0;
}

img.logo_gernika_lumo {
    width: 97px;
}

a:hover > img {
    opacity: 0.8;
}

div.noticia {
    float: left;
    margin: 0 0 20px;
    width: 100%;
}

div.noticia h4 {
    margin-top: 0;
}

img.foto_noticia_interior {
	margin-bottom: 20px;
    margin-top: 10px;
}

.panel-default > .panel-heading {
    background-color: #6ea92a;
}

.panel-default > .panel-heading > h4{
    color: #fff;
}

.well {
    background-color: #6ea92a;
}

img.cabecera {
    width: 100%;
}

ol.breadcrumb {
    padding-top: 12px;
}

ol.breadcrumb li a {
    color: #6ea92a;
    text-decoration: underline;
}

ol.breadcrumb li:last-child a {
    color: #777;
    text-decoration: none;
}

.list-group-item {
    background-color: #6ea92a;
    border: 1px solid #eee;
    font-size: 13px;
    margin-bottom: -1px;
    padding: 13px 15px 9px;
    position: relative;
    text-transform: uppercase;
    color: #fff;
    display: inline-block;
    width: 100%;
}

.list-group {
    margin-top: 20px;
    list-style-type: none;
}



/* Footer Styles */

footer {
    margin: 50px 0;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

@media(max-width:767px) {
    img.logo {
        margin: 0;
        max-width: 160px;
    }
    a.logo_cespa {
        margin-top: 13px;
    }
    img.logo_cespa {
        width: 50px;
    }
    a.logo_gernika_lumo {
        margin-right: 5px;
    }
    img.logo_gernika_lumo {
        width: 50px;
    }
}

/* ESTILOS PARA LAS NOTICIAS */

.noticias {
    clear: both;
    z-index: 9;
}

.noticia_interior {
    max-width: 310px;
    clear: none;
    margin-left: 35px;
    margin-right: 0;
    margin-top: 0;
}

.noticias ul {
    float: left;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.noticias ul li {
    float: left;
    margin: 0 36px 0 0;
    padding: 0;
}

.noticias ul li article {
    float: left;
    background-color: #fff;
    padding: 24px;
    border: 1px solid #bfbfbf;
}

.noticia_principal ul li article {
    max-width: 653px;
}

.noticia_principal ul li:first-child {
    margin-right: 20px;
}

.noticia_principal ul li:last-child {
    max-width: 310px;
}

.noticias ul li:last-child {
    margin-right: 0;
}

.noticias ul li:last-child article {
    padding: 20px;
}

.noticias_destacadas ul li {
    max-width: 309px;
}

.noticias_destacadas ul li:last-child {
    margin-right: 0;
}

.noticias ul li article img {
    border: 1px solid #ccc;
    padding: 1px;
    margin: 0 10px 5px 0;
    float: left;
    max-width: 82px;
}

.noticias ul li article h2 {
    color: #e8b600;
    font-size: 13px;
    font-weight: bold;
    margin: 10px 0 10px 0;
    line-height: 17px;
}

.noticias ul li article p {
    color: #666;
    font-size: 12px;
    margin: 0 0 10px 0;
    line-height: 16px;
}

.noticias ul li article p em {
    font-weight: bold;
    font-style: normal;
    font-size: 12px;
}

.noticias ul li article p.enlace {
    color: #e8b600;
    font-weight: bold;
}

.noticia > h3 {
    margin-top: 0;
}

img.noticia {
    /*width: 125px;*/
    float: left;
    margin: 0 15px 0 0;
}

div#calendario {
    margin-bottom: 20px;
}

div.celda_cabecera_mes {
    background-color: #666;
    color: #fff;
    padding: 7px 0 3px;
    text-align: center;
    text-transform: uppercase;
    width: 98%;
}

div.celda_cabecera {
    width: 14%;
    float: left;
    text-align: center;
    background-color: #aaa;
    color: #fff;
    padding: 7px 0 3px;
    margin: 0;
    text-transform: uppercase;
}

div.celda_contenido {
    width: 14%; 
    float: left; 
    text-align: center; 
    padding: 7px 0 3px; 
    margin: 0;
}

div.celda_contenido.rojo {
    background-color: #c00;
    color: #fff;
}

a.siguiente {
    float: right;
    background-color: #6ea92a;
    border: 0;
    margin-right: 2%;
}

a.anterior {
    background-color: #6ea92a;
    border: 0;
}

a.anterior:hover, a.siguiente:hover {
    opacity: 0.8;
}

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    max-height: 600px !important;
}

.navbar-toggle {
    margin-top: 26px;
    background-color: #6ea929;
}

@media (max-width: 600px) {
    .navbar-nav > li > a {
        padding-bottom: 3px !important;
        padding-top: 4px !important;
    }
}

@media (max-width: 767px) {
    .navbar-toggle {
        margin-top: 6px;
        right: 5px;
    }
    .navbar-collapse {
        border-top: 0;
        box-shadow: 0;
        margin-top: -10px;
        width: 90%;
    }
    .navbar-collapse ul {
        padding-right: 0;
    }
    img.bandera {
        width: 180px;
    }
}

img.bandera {
    float: none;
    width: 16px;
    z-index: 100;
    position: absolute;
    right: 15px;
    padding: 13px 0 10px 0;
}

@media (max-width: 600px) {
    img.bandera {
        margin-top: 5px;
        padding-top: 0;
    }
}

#myCarousel h2 a {
    color: #fff !important;
}



/* ESTILOS PARA LA PARTE DE LAS COOKIES */

#overbox3 {
    position: fixed;
    padding: 0;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 999999;
    display: block;
}
#infobox3 {
    margin: auto;
    position: relative;
    top: 0px;
    width: 100%;
    text-align:center;
    background-color: #eeeeee;
    padding: 15px 0;
}
#infobox3 p {
    height: auto;
    line-height: 16px;
    margin: 0 0 5px;
    padding: 0 10px;
    text-align: center;
}
#infobox3 p a {
    margin-right:5px;
    text-decoration: underline;
    color: #6ea92a;
}
#infobox3 p {
    margin: 0;
    padding: 20px 0;
}

.no-padding {
    padding: 0 !important;
}

.panel-body img.img-responsive {
    max-width: auto;
    width: 100%;
}

#ui-id-1 {
    overflow-x: hidden;
    overflow-y: auto;
    height: 150px;
}



/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
    /*padding-bottom: 40px;*/
    color: #5a5a5a;
}

/* 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;
}

/* 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: transparent;
}

.carousel-inner>.item>img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 500px;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
    padding-right: 15px;
    padding-left: 15px;
}

/* 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) {
    /* Remove the edge padding needed for mobile */
    .marketing {
        padding-right: 0;
        padding-left: 0;
    }

    /* 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;
    }
}

div.slick-slide div.container.h-100 {
    position: relative;
    bottom: 63px;
    background-color: rgba(255,255,255,0.5) !important;
    width: 100%;
    background-color: white;
}

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

.navbar {
    margin-bottom: 0;
}

div.fotos_galerias > a:nth-child(6n+1){
    clear: both;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    div.fotos_galerias > a:nth-child(2n+1){
        clear: both;
    }
}

.slick-next {
    right: 25px !important;
    z-index: 1000 !important;
}

.slick-prev {
    left: 25px !important;
    z-index: 1000 !important;
}

div.alert {
    clear: both;
}

div.alert i {
    position: absolute;
}

div.alert p {
    padding-left: 30px;
}

div.slick-slide > img {
    max-width: 100%;
    width: 100%;
}

.slick-list {
    margin-bottom: -46px !important;
}

.h1, h1 {
    font-size: 30px;
}

#rastro_migas {
    padding-top: 150px;
}

@media (max-width: 767px) {
    #rastro_migas {
        padding-top: 80px;
    }
}

nav li:last-child a {
    padding-right: 40px;
}