:root {
    --primario: #1e3799;
    --secundario: #0f0;
    --gris: #999;
}

h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
}

header.masthead {
    text-align: center;
    color: #fff;
    background-image: url("../img/fondo.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}

header.masthead .intro-text h2 {
    color: #fff;
}

i {
    color: #1e3799;
}

#mainNav .navbar-brand {
    font-size: 1.2em;
    font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.btn-primary {
    background-color: #1e3799;
    border: #1e3799 1px solid;
}

.carousel-item {
    height: 65vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.img-servicio {
    background-color: #fff;
    padding: .6em;
}

.servicio {
    border-radius: 6px;
    transition: .4s all;
}

.servicio:hover {
    background-color: #eee;
    box-shadow: 0 6px 20px #999;
    margin-top: 1em;
}

.team-member {
    transition: .6s all;
}

.team-member:hover {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 20px 200px #999; 
    padding-top: .6em;
}

.team-member .detail {
    background:  #1e3799;
    border-radius: 0 0 6px 6px;
    color: #fff;
    padding: 1em 0;
    visibility: hidden;
}

.team-member:hover .detail {
    visibility: visible;
}


@media (min-width: 768px) {
    header.masthead .intro-text {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    section {
        padding: 80px 0;
    }
}