body {
    font-family: sans-serif;
}

.ocultarSegundoMenu {
    display: none;
}

.ocultarContenido {
    display: none;
}

.header {
    width: 100%;
    height: 60px;
    background: #004c66;
    text-align: center;
    top: 0;
    /* Position the navbar at the top of the page */
    width: 100%;
}

.fixed-top {
    position: unset !important
}

.logo {
    height: 90%;
}

.centrar {
    align-content: center;
}

ul {
    text-align: center;
    margin: 0;
    padding-top: 10px;
    background: #fff;
    display: flex;
}

ul li {
    list-style: none;
    text-align: center;
}

.borde {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}


/*******/

ul li a {
    text-decoration: none !important;
    padding: 0 40px;
    display: block;
}

ul li a .icon {
    width: 40px;
    height: 40px;
    background: #fff;
    overflow: hidden;
    margin: 0 auto;
}

ul li a .icon .fa {
    width: 100%;
    height: 100%;
    line-height: 40px;
    font-size: 34px;
    transition: 0.5s;
    color: #004c66;
}

ul li a .icon .fa:last-child {
    color: #000;
}

ul li a:hover .icon .fa {
    transform: translateY(-100%);
}

.name {
    color: black;
}

.footer {
    background-color: #004c66;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 8%;
    line-height: 250%;
    color: white;
}

@media (max-width:1300px) {
    ul li a {
        padding: 0 50px;
    }
}

@media (max-width:1100px) {
    ul li a {
        padding: 0 30px;
    }
}

@media (max-width:900px) {
    ul li a {
        padding: 0 20px;
    }
}

@media (max-width:800px) {
    ul li a {
        padding: 0 10px;
    }
}

@media (max-width:670px) {
    ul li a {
        padding: 0 12px;
    }
    ul li a .icon .fa {
        font-size: 30px;
    }
    .name {
        font-size: 12px;
    }
}

@media (max-width:600px) {
    ul li a {
        padding: 0 10px;
    }
    ul li a .icon .fa {
        font-size: 25px;
    }
    .name {
        font-size: 10px;
    }
}

@media (max-width:550px) {
    ul li a {
        padding: 0 5px;
    }
}


/*
#iphonemenu{
    font-size:0.9rem;
    height: 45px;
}

@media (min-width:380px)
{
    .iphonemenu{
    font-size:0.9rem;
    height: 45px;
}
}*/

.container-2 .box {
    position: relative;
    width: 250px;
    height: 500px;
    background: #ccc;
    transition: 0.5s;
}

.container-2 .box:hover .box:focus {
    transform: scale(1.1);
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 1)
}

.container-2 .box .thumb {
    position: absolute;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.container-2 .box:nth-child(odd) .thumb {
    bottom: 0;
    left: 0;
}

.container-2 .box .thumb img {
    width: 100%;
}

.container-2 .box .details {
    position: absolute;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #262626;
}

.container-2 .box:nth-child(even) .details {
    bottom: 0;
    left: 0;
}

.container-2 .box:nth-child(1) .details {
    background: #44b4c4;
}

.container-2 .box:nth-child(2) .details {
    background: #1792a4;
}

.container-2 .box:nth-child(3) .details {
    background: #1fa67a;
}

.container-2 .box:nth-child(4) .details {
    background: #2f4e6f;
}

.container-2 .box:nth-child(5) .details {
    background: #ff9900;
}

.container-2 .box:nth-child(6) .details {
    background: #000000;
}

.container-2 .box:nth-child(7) .details {
    background: #98b1c4;
}

.container-2 .box:nth-child(8) .details {
    background: #1fa67a;
}

.container-2 .box:nth-child(9) .details {
    background: #2f4e6f;
}

.container-2 .box:nth-child(10) .details {
    background: #44b4c4;
}

.container-2 .box:nth-child(11) .details {
    background: #1792a4;
}

.container-2 .box .details .content {
    position: absolute;
    top: calc(50% + 16px);
    transform: translateY(-50%);
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    transition: 0.5s;
}

.container-2 .box:hover .details .content {
    top: calc(50%);
}

.container-2 .box .details .content .fa {
    font-size: 60px;
    color: #fff;
}

.container-2 .box .details .content h3 {
    margin: 0;
    padding: 0;
    padding: 10px 0;
    color: #fff;
    font-size: 18px;
}

.container-2 .box .details .content a {
    display: inline-block;
    padding: 5px 20px;
    color: #fff;
    border: 2px solid #fff;
    text-decoration: none;
    transition: 0.5s;
    border-radius: 20px;
    transform: scale(0);
}

.container-2 .box:hover .details .content a {
    transform: scale(1);
}

.container-2 .box .details .content a:hover {
    background: #fff;
    color: #262626;
}

.escritorio {
    margin-top: 0px;
}

.align-items-center {
    margin-left: 100px;
}

@media (max-width:480px) {
    .ocultarPrimerMenu {
        display: none;
    }
    .ocultarSegundoMenu {
        display: block;
    }
    .fixed-top {
        position: fixed !important;
    }
    .escritorio {
        margin-top: 35px !important;
    }
    .align-items-center {
        margin-left: 0px !important;
    }
}

.margenmenu {
    margin-top: 4.5% !important;
}

.margenmenu2 {
    margin-top: 2.5% !important;
}

@media (min-width:1500px) {
    .margenmenu {
        margin-top: 2% !important;
    }
    .margenmenu2 {
        margin-top: 2% !important;
    }
}

@media (max-width:1024px) {
    .margenmenu {
        margin-top: 6% !important;
    }
    .margenmenu2 {
        margin-top: 4% !important;
    }
}

@media (max-width:768px) {
    .margenmenu {
        margin-top: 7% !important;
    }
    .margenmenu2 {
        margin-top: 5% !important;
    }
}

@media (max-height:1000px) {
    .margenmenu {
        margin-top: 3.5% !important;
    }
    .margenmenu2 {
        margin-top: 2% !important;
    }
}

@media (max-height:800px) {
    .margenmenu {
        margin-top: 4% !important;
    }
    .margenmenu2 {
        margin-top: 2.5% !important;
    }
}

.ocultar {
    display: none;
}

.ocultar2 {
    display: block;
}

.container-2 {
    top: 0;
    left: 0;
    transform: translate(0);
}

.container-2 .box {
    width: 100%;
    height: 250px;
    float: none;
}


}
.main-nav a {
    color: #1A577F;
    text-decoration: none;
}
.main-nav ul,
.main-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav ul {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}
.main-nav ul a {
    padding: 0.9375em 2.1875em;
    display: flex;
    text-transform: uppercase;
}
.resaltador {
    background: #e8e7e7 !important;
}
.submenu {
    display: none;
    z-index: 10000;
}
.container-fluid ul li:hover .submenu {
    display: block;
    position: absolute;
    background: #e8e7e7;
    /*margin-top: 15px;*/
    /*  margin-left: -6.5px;*/
    
    cursor: pointer;
}
.container-fluid ul li:hover .submenu ul {
    display: block;
    margin: 5px;
    margin-top: 15px;
}
.container-fluid ul li:hover .submenu ul li {
    width: 145px;
    padding: 10px;
    border-bottom: 1px dotted #fff;
    background: transparent;
    border-radius: 0;
    text-align: left;
}
.container-fluid ul li:hover .submenu ul li:last-child {
    border-bottom: none;
}
.container-fluid ul li:hover .submenu ul li div:hover {
    color: #0b9cf6;
}
.container-fluid ul li:hover .art ul li {
    width: 105px;
    padding: 10px;
    border-bottom: 1px dotted #fff;
    background: transparent;
    border-radius: 0;
    text-align: left;
}
.container-fluid ul li:hover .rep ul li {
    width: 130px;
    padding: 10px;
    border-bottom: 1px dotted #fff;
    background: transparent;
    border-radius: 0;
    text-align: left;
}
.nav div {
    padding-left: 22px !important;
}
.nav li ul {
    display: none !important;
    position: absolute !important;
    min-width: 140px !important;
    margin-left: 119px !important;
    margin-top: -50px !important;
    background: #e8e7e7 !important;
}
.nav li a {
    color: #000;
    text-decoration: none;
    padding: 5px 5px;
}
.nav li a:hover {
    color: #0b9cf6;
}
.nav li:hover>ul {
    display: block !important;
}