body {
    overflow-x: hidden;
    font-family: 'Titillium Web', sans-serif;
}

p {
  font-size: 1.1em;
}

#mainNav {
    background-size:100%;
    height: auto;
    background: #fff;
}

@media (min-width:992px) {
    #mainNav {
        background: transparent;
    }
}

#fixTopcont{
    position: relative;
    top: 0px;
}
#mainNav .navbar-toggler {
    font-size: 23px;
    right: 0;
    text-transform: uppercase;
    color: gray !important;
    border: 0;

    border-radius:0px;
}
#mainNav .navbar-brand {
    color: #fed136;
}
#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fec503;
}
#mainNav .navbar-nav .nav-item .nav-link {
    font-size: 1.2em;
    font-weight: 400;
    letter-spacing: .2px;
    color:black;
    text-align: center;
    border-bottom: 2px solid transparent;
    text-transform: uppercase;
}
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: black;
    border-bottom: 2px solid #eb2123;
    transition: border 0.3s ease-out 0.1s;
    text-decoration: none;
}

.navbar-nav li {
    padding: 15px 0;
}

.navbar-collapse {
    padding: 50px 0px;
    margin: 0 0 0 20px;
}

#mainNav .navbar-brand img {
    width: 170px;
}



@media (min-width:992px) {

#mainNav {
    padding-top: 5px;
    padding-bottom: 5px;
    -webkit-transition: padding-top .3s, padding-bottom .3s;
    -moz-transition: padding-top .3s, padding-bottom .3s;
    transition: padding-top .3s, padding-bottom .3s;
    border: none;
}


.navbar-collapse {
    padding: 0px 0px;
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: .85em;
    color: white;
    width: 100%;
    border-bottom: 2px solid transparent;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #fff;
    text-decoration:none;
}

.navbar-nav li {
    border-bottom: none;
    padding: 5px 0;
    width: fit-content;
    margin:10px 20px 0 0;
}

#mainNav .navbar-brand {
    font-size: 1.75em;
    width: 200px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
     margin-right: 1em;
     padding: 20px 0px;
}
#mainNav .navbar-brand img{
    width: 250px;
    transition: width 0.2s ease-out 0.1s;
}
#mainNav .navbar-nav .nav-item .nav-link {
    padding: .2em 0em!important;
}
#mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background:#565656;
}
#mainNav.navbar-shrink .navbar-brand {
    padding: 10px 0 20px 0;
}

#mainNav.navbar-shrink .navbar-brand img{
    width: 220px;
    transition: width 0.2s ease-out 0.1s;
    
}
}header.masthead {
    text-align: center;
    color: #fff;
    background: transparent;
    border: 1px solid #eb2123;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: right center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
header.masthead .intro-text {
    padding-top: 150px;
    padding-bottom: 100px;
}
header.masthead .intro-text .intro-lead-in {
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 25px;
}
header.masthead .intro-text .intro-heading {
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 25px;
}

.btn-danger {
    background: #E20613;
    background-size: 15px;
    
}

.btn-danger:hover{
    background: #ce0511;
}


@media (min-width:768px) {
    header.masthead .intro-text {
    padding-top: 300px;
    padding-bottom: 200px;
}
header.masthead .intro-text .intro-lead-in {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 25px;
}
header.masthead .intro-text .intro-heading {
    font-size: 75px;
    font-weight: 700;
    line-height: 75px;
    margin-bottom: 50px;
}
}
.service-heading {
    margin: 15px 0;
    text-transform: none;
    height: 70px;
}

.degrade-carousel{
    position: absolute;
    height: 700px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 15, 49, 0.46);
    background: -webkit-linear-gradient(180deg, rgba(0,15,49,0.76), rgba(0,0,0,0) 100%);
    background: linear-gradient(180deg, rgba(0,15,49,0.76), rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}

.carousel-caption {
    bottom: 20%;
    z-index: 120;
}

.carousel-caption h3{
    font-weight: 200;
    font-style: italic;
    font-size:1.2em;
    color: white;
    display: inline-block;
    background: #e20713d1;
    margin-bottom: 5px;
    padding: 0px 10px;
    border-radius:5px;
    letter-spacing: .5px;
}

.carousel-caption h2{
    font-weight: 700;
    font-size:43px;
    color: white;
    margin-top: 0px;
    display: block;
    letter-spacing: 2px;
}


.carousel-control-prev, .carousel-control-next {
background: url(../img/circulo.svg) no-repeat 50%;
width: 80px;
opacity: 1;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
opacity: .7;
}

.carousel-control-prev {
left: -30px;
}

.carousel-control-next {
right: -30px;
}

.carousel-control-prev-icon{
background-image:url(../img/slider/flecha-izq.svg);
position: relative;
left:14px;
}

.carousel-control-next-icon{
 background-image:url(../img/slider/flecha-der.svg);
position: relative;
right:14px;
}

.carousel-indicators li {
    border-top: 0px;
    border-bottom: 0px;
    border-radius: 100px;
    width: 10px;
    height: 0px;
    padding: 5px 0px;
    box-sizing: border-box;
    margin-right: 5px;
    margin-left: 5px;
}

.btn-sm {
    font-size: .6em;
    text-transform: uppercase;
    margin-top:5px;
    opacity: .7;
}

#slider-ppal .carousel-item img{
    object-fit: cover;
    height: 254px;
}

.fixed-top {
    position: static;
}
.carousel-control-prev, .carousel-control-next{
    visibility: hidden;
}

/* Inicio */
.gris-comienzo {
background:#EDEDED;
padding: 40px 0px;
position: relative;
min-height: 250px;
}

.negro-comienzo {
background: url(../img/inicio/fondo-02.jpg) top repeat-x;
padding: 50px 0px;
position: relative;
}

.negro-comienzo h1{
color: white;
}

.negro-comienzo h1::after{
    content:"";
    display: block;
    background: #e20713d1;
    height: 3px;
    width: 50px;
    margin: 20px auto 30px auto;
    }

.filtro-negro {
background: rgba(50,50,50,.95);
position: absolute;
top: 0;
width: 100%;
height: 100%;
}

h1{
text-align: center;
color:#E20613;
font-size: 2em;
font-weight: 700;
}

h1::after{
content:"";
display: block;
background: #9D9C9C;
height: 3px;
width: 50px;
margin: 20px auto 30px auto;
}

.noticias-over{
position: absolute;
z-index: 1;
width: 100%;
height: 100%;
left: 0;
top: 0;
border-radius: 10px;
background: rgba(0,20,67,0.4)
}

.noticias-cont {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    z-index: 2;
    padding: 40px;
    text-align: left;
    color: white;
}

.noticias-cont h3{
    font-size: 1.5em;
    font-weight: 500;
    }

.contenedor-noticias{
min-height: 280px;
border-radius: 10px;
}

.contenedor-noticias a {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    left: 0;
    top: 0;
    position: relative;
    -webkit-box-shadow: 2px 2px 20px rgba(0,0,0,.1);
    box-shadow: 2px 2px 20px rgba(0,0,0,.1);
    overflow: hidden;
    background: white url(../img/inicio/novedades-01.jpg);
    background-size: cover;
}
   

@media (min-width:992px) {
    #slider-ppal .carousel-item img {
    object-fit: cover;
    height: 700px;
}
.fixed-top {
    position: fixed;
}
.carousel-caption {
    bottom: 33%;
}

.carousel-caption h2  {
    font-size: 5em;
    text-shadow: 2px 2px 2px #00000026; 
}
.carousel-caption h3  {
    font-size: 1.2em;
}
.carousel-control-prev, .carousel-control-next{
    visibility: visible;
}


}