/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    color: #5a5a5a;
    font-family: 'Rosario', sans-serif;
    scroll-margin-top: 130px;
}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
    font-weight: 600;
}

h2 {
	font-size: 1.4rem !important;
	text-transform: uppercase;
}

h3 {
	font-size: 1.5rem !important;
	text-transform: uppercase;
}

.nav-link {
	font-size: 1.1em !important;
}

.nav-link:hover {
    color: #0d6efd !important;
}

#main {
    margin-top: 130px;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 9999;
}

.fondogris {
    background-color: #ddd;
}

.social {
    font-size: 1.5em;
}
.social .line {
    width: 100%;
    position: relative;
    margin: 15px;
    border-bottom: 1px solid #ddd;
}
.social .icon {
    position: relative;
    top: 3px;
}

a {
    color: #F76540 !important
}
a:hover {
    color: #343a40 !important
}

.btn-primary, .nav-pills .nav-link.active {
    background-color: #F76540 !important;
    border-color: #F76540 !important;
	color: #343a40 !important;
}

.btn-primary:hover, .nav-pills:hover .nav-link.active {
    background-color: #343a40 !important;
    border-color: #343a40 !important;
	color: #F76540 !important;
}

.nav-link:hover {
    color: #343a40 !important;
}

.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
  width: 4rem;
  height: 4rem;
}

/*
.carousel-item {
    height: 32rem;
}
*/

/*
.carousel-item>img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
}
*/

#carouselautores .carousel-control-next-icon, #carouselautores .carousel-control-prev-icon {
  width: 1rem;
  height: 1rem;
}

#carouselautores .carousel-control-next, #carouselautores .carousel-control-prev {
  align-items: self-end;
}

#carouselautores .carousel-control-prev-icon {
	background-image: url("/library/icons/resultset_previous.png");
}

#carouselautores .carousel-control-next-icon {
	background-image: url("/library/icons/resultset_next.png");
}

#cabecera {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

#cabecera h1, #cabecera p {
	color: #fff;
	text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5);
}

small {
	font-style: italic;
	color: #666;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-pagination {
    position: relative !important;
}

.swiper-button-next, .swiper-button-prev {
    top: auto !important;
    bottom: 0 !important;
    color: #F76540 !important;
}

.swiper-pagination-bullet-active {
  background-color: #F76540 !important;
}


.card {
    border: none !important;
}

.card a {
	text-decoration: none;
	color: #343a40 !important;
}

.card a:hover {
	text-decoration: none;
	color: #F76540 !important;
}

ul.lateral a.nav-link.active {
    background-color: #F76540 !important;
    color: #000 !important;
    border-radius: 5px;
}

@media (max-width: 1250px) {
    header img {
        max-height: 100px !important;
    }
}

@media (max-width: 700px) {
    header img {
        max-height: 70px !important;
    }
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 3rem;
    }
}

@media (max-width: 40em) {

    /* Bump up size of carousel content */
    
    .carousel-caption {
        bottom:0;
        padding-bottom: 1em;
    }
    
    .carousel-caption h1 {
        font-size: 1.5em;
    }
    
    .carousel-caption a {
        padding: 3px 8px !important;
        font-size: 1em;
    }
    
    .carousel-indicators {
        display: none !important;
    }

}