nav {
    width: 100%;
    height: 50px;
    background-color: #1a2537;
    display: flex;
    padding: 0 0.5em;
    justify-content: space-between !important;
    top: 0;
    z-index: 100;
}

nav img {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 50px;
}

ul {
    list-style: none;
    display: flex;
    height: 50px;
    margin: 0;
    align-self: flex-end;
}

li {

    text-decoration: none;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0 0.3em;
}

li a {
    width: 100%;
    height: 100%;
    align-self: center;
    padding: 0.5em;
}

a {
    text-decoration: none !important;
    color: white !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: large !important;
    font-weight: bold !important;

}

footer {
    width: 100%;
    height: auto;
    background-color: #1a2537;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-dialog-titlebar {
    background-color: #1a2537;
    color: white;
}

.ui-dialog-titlebar-close {
    display: none;
}

#navbar_p{
    width: 100%;
    height: 50px;
    background-color: #1a2537;
    display: flex;
    padding: 0 0.5em;
    justify-content: space-between;
    top: 0;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

#navbar_p.fijar {
    position: sticky;
    top: 0;
    opacity: 1;
}


.fondo-difuminado {
    background-color: #2b4163b0;
}

/*CARRUSEL AGRANDAR IMG*/
.imgDescarga {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.imgDescarga:hover {
    opacity: 0.7;
}

.dlgModal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1080px;
}

@media only screen and (max-width:900px) {
    .modal-content{
        max-width: 720px;
    }
}
/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

p {
    width: 100%;
    height: auto;
    font-weight: 400;
    font-size: 20px;
    margin: 0;
}