ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
li a:hover {
    color: white;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.91);
    margin-top: 1px;
}

.text-banner{
    font-size: 14px;
}

.text-proyecto{
    font-size: 12.5px;
}

.text-border {
    position: relative;
    padding: 10px 20px;
}

.text-border:after {
    content: '';
    position: absolute;
    right: 0px;
    top: 25%;
    height: 50%;
    border-right: 2px solid #ffffff;
}


#cf4a {
    position:relative;
    height: 420px;
    width:900px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 100px;
}
#cf4a img {
    max-width: 100%;
    position:absolute;
}

#cf4a img {
    -webkit-animation-name: cf4FadeInOut;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 6s;

    -moz-animation-name: cf4FadeInOut;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-duration: 6s;

    -o-animation-name: cf4FadeInOut;
    -o-animation-timing-function: ease-in-out;
    -o-animation-iteration-count: infinite;
    -o-animation-duration: 6s;

    animation-name: cf4FadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 6s;
}
#cf4a img:nth-of-type(1) {
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    animation-delay: 6s;
}
#cf4a img:nth-of-type(2) {
    -webkit-animation-delay: 4s;
    -moz-animation-delay: 4s;
    -o-animation-delay: 4s;
    animation-delay: 4s;
}
#cf4a img:nth-of-type(3) {
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    -o-animation-delay: 2s;
    animation-delay: 2s;
}

#cf4b {
    position:relative;
    height: 420px;
    width:900px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 200px;
}
#cf4b img {
    max-width: 100%;
    position:absolute;
}

#cf4b img {
    -webkit-animation-name: cf4FadeInOut;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 6s;

    -moz-animation-name: cf4FadeInOut;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-duration: 6s;

    -o-animation-name: cf4FadeInOut;
    -o-animation-timing-function: ease-in-out;
    -o-animation-iteration-count: infinite;
    -o-animation-duration: 6s;

    animation-name: cf4FadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 6s;
}
#cf4b img:nth-of-type(1) {
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    animation-delay: 6s;
}
#cf4b img:nth-of-type(2) {
    -webkit-animation-delay: 4s;
    -moz-animation-delay: 4s;
    -o-animation-delay: 4s;
    animation-delay: 4s;
}
#cf4b img:nth-of-type(3) {
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    -o-animation-delay: 2s;
    animation-delay: 2s;
}

@-webkit-keyframes cf4FadeInOut {
    0% {
        opacity:1;
    }
    33% {
        opacity:0;
    }
    75% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-moz-keyframes cf4FadeInOut {
    0% {
        opacity:1;
    }
    33% {
        opacity:0;
    }
    75% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-o-keyframes cf4FadeInOut {
    0% {
        opacity:1;
    }
    33% {
        opacity:0;
    }
    75% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@keyframes cf4FadeInOut {
    0% {
        opacity:1;
    }
    33% {
        opacity:0;
    }
    75% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

.proyectosPrincipales{
    color: white;
    font-size: medium;
    align-content: center;
}

.tituloMain{
    align-content: center;
    color: white;
    font-size: large;
    font-style: inherit;
}

.subtituloMain{
    align-content: center;
    color: white;
    font-size: small;
    font-style: inherit;
}

.tituloDerecha{
    align-content: center;
    color: white;
    font-size: large;
    font-style: inherit;
}

.gradiente {
    background-image: url("../images/1.png");background-repeat: no-repeat; background-size: cover;
}

.gradienteModal {
    background-color:#fffee6;background-repeat: no-repeat; background-size: cover;
}

.gradiente-blue{
    background-color: #4b64c4;
}

.gradiente-gris{
    background-color: #777b80;
}

.descEmpresa{
    color: white;
    font-size: medium;
    padding-top: 2%;
    margin-left: 1%
}

.descEmpresaDepa{
    color: white;
    font-size: 16px;
}

.textoReferencial {
    position: absolute;
    top: 450px;
    left: 700px;
    width: 50%;
    font-size:  88%;
    color: white;
}

.textoReferencialProyecto {
    position: absolute;
    top: 400px;
    left: 700px;
    width: 50%;
    font-size:  88%;
    color: white;
}

.detalle-depa{
    float: none;
    list-style-type: square;
}

.detalle-lst-depa{
    padding: inherit;
}

.descProyecto{
    color: white;
    font-size: small;
    padding-top: 4%;
    margin-left: 1%;
    padding-bottom: 4%;
}

.descProyecto2{
    color: white;
    font-size: medium;
    padding-top: 4%;
    margin-left: 1%;
    padding-bottom: 4%;
}

.descProyectoAcabados{
    color: white;
    font-size: medium;
    padding-top: 2%;
    margin-left: 1%;
}

.board {
    width: 25%;
    margin-left: 0;
    background-color: #4364B4;
    border: 1px solid black;
    font-size: 1em;
    font-weight: bold;
    color: white;
    text-align: center;
}


@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 900px;
    }
}

.descInforme{
    color: white;
    font-size: small;
}

.btn-primary {
    color: #fff;
    background-color: #4b64c4;
    border-color: #4b64c4;
}

.btn-primary:hover {
    color: #fff;
    background-color: #4b64c4;
    border-color: #4b64c4;
}

/* mouse over link */
.navbar-light .navbar-nav .nav-link:hover {
    background-color: white;
}

.button-modal{
    flex-flow: column;
}

.margin-left-x{
    margin-left: 5rem!important;
}
