@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&amp;display=swap');

.expanded-pm .expanded-box-pm {
    border: solid 1px #22528B;
    margin: 0;
    opacity: 1;
    position: relative;
    word-break: break-word;
}

.contenido-pm {
    width: 74%;
    float: left;
    font-family: Arial;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 18px;
    color: #000;
    font-family: 'Open Sans', sans-serif !important;
    box-sizing: border-box;
}

.container-pm {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    align-items: start;
}

.banner-principal-pm {
    overflow: hidden;
    position: relative;
    height: 223px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.banner-principal-pm img {
    position: absolute;
    bottom: 0;
    left: 0;
    height: auto;
    max-width: 999% !important;
    min-height: 100%;
    min-width: 100%;
}

.imagen-100-pm {
    width: 100%;
}

.banner-principal-interno-pm {
    position: relative;
    width: 100%;
    margin: 10px 0 0 0;
    float: none;
}

.banner-principal-interno-pm .foto_izq {
    float: none;
}

.banner-principal-interno-pm img {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.foto_primernivel_detalle {
    margin-right: 0;
}

.foto_izq img {
    max-width: 100%;
}

.titulo-pm-interno {
    width: 100%;
    font-size: 1.15em;
    line-height: 1.2;
    font-weight: 600 !important;
    border-bottom: solid 1px #D9D9D9;
    padding: 10px 0 10px 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.titulo-pm-interno img {
    width: 30px;
    margin-right: 10px;
}

.titulo-pm-interno p,
.titulo-pm-interno r {
    display: flex;
    align-items: center;
    margin: 0;
}

.container-pm-interno p {
    margin: 25px 0;
}

.container-pm-interno ul {
    line-height: 1.3;
    margin: 25px 0 25px 32px !important;
    padding: 0;
}

.container-pm-interno ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
    background: none !important;
    position: relative;
}

.container-pm-interno ul li:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #142959;
    position: absolute;
    top: 5px;
    left: -20px;
}

.container-pm-interno ul li p {
    margin: 15px 0;
}

.container-pm-interno ul li a {
    text-align: left;
    margin-top: 1px;
}

.container-pm-interno ul li ul {
    line-height: 1.3;
    margin: 15px 0 25px 32px;
    padding: 0;
}

.container-pm-interno ul li ul li {
    background: none !important;
    position: relative;
    margin-bottom: 10px;
}

.container-pm-interno ul li ul li:before {
    position: absolute;
    top: 5px;
    left: -5px;
}

.container-pm-interno ol {
    list-style: none;
    margin: 25px 0 25px 50px;
    padding: 0;
    line-height: 1.3;
}

.container-pm-interno ol > li {
    margin-bottom: 22px;
    counter-increment: contador-pm-1;
    position: relative;
}

.container-pm-interno ol > li::marker {
    font-size: 0;
}

.container-pm-interno ol > li::before {
    background-color: #142959;
    padding: 5px 7px;
    border-radius: 4px;
    color: #fff;
    content: counter(contador-pm-1);
    font-size: 0.75rem;
    margin-right: 0.5rem;
    line-height: 1;
    text-align: center;
    position: absolute;
    top: -4px;
    left: -35px;
    height: 12px;
}

.container-pm-interno ol li a {
    text-align: left;
    margin-top: 1px;
}

.container-pm-interno ol > li > ol > li {
    counter-increment: contador-pm-2;
}

.container-pm-interno ol > li > ol > li::before {
    content: counter(contador-pm-2);
}

ul.enlaces-interes-pm {
    list-style: none;
    display: flex;
    gap: 40px;
}

ul.enlaces-interes-pm li:before {
    background: none;

}

ul.enlaces-interes-pm li a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.titulo-pm {
    font-size: 1.5em;
    font-weight: 300 !important;
    padding: 15px 0;
    margin: 0px 0 20px 0;
    border-bottom: solid 1px #D9D9D9;
    line-height: 1.2;
}

.elemento-flotante-pm {
    float: right;
    width: 150px;
    text-align: center;
    padding: 25px;
}

.elemento-flotante-der-pm {
    float: right;
    margin: 0 0 9px 25px;
}

.elemento-flotante-izq-pm {
    float: left;
    margin: 0 25px 9px 0;
}

.elemento-flotante-pm > a {
    display: block;
    margin: 0;
    font-size: 1em;
}

.box-pm {
    position: relative;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 0 !important;
}

a.box-pm {
    font-size: 14px !important;
}

.box-content-pm {
    cursor: pointer;
    display: flex;
    gap: 15px;
    height: 150px;
    transition: all 0.3s ease;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    box-shadow: inset 7px 7px 5px rgba(0, 30, 80, 0.5);
    border-radius: 5px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    padding: 0 40px;
    font-size: 1em !important;
}

.box-pm:hover .box-content-pm,
.box-pm.expanded-pm .box-content-pm {
    box-shadow: inset 0px 0px 60px rgb(0 22 59);
}

.box-content-pm .ico-caja-pm,
.box-content-pm span {
    filter: drop-shadow(2px 2px 2px rgba(0, 8, 81, 0.5));
    font-weight: 600;
    text-align: center;
}

.box-content-pm .fondo-caja-pm {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.box-pm .flecha-guia {
    text-align: center;
    height: 0;
    overflow: hidden;
}

.box-pm.expanded-pm .flecha-guia {
    height: 14px;
    margin: 6px 0 -1px 0;
}

.expanded-box-pm {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    width: calc(300% + 40px);
    border-radius: 5px;
    background-image: url(../img/fondo-lista.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    word-break: break-word;
}

.expanded-pm .expanded-box-pm {
    border: solid 1px #22528B;
    margin: 0;
    opacity: 1;
    position: relative;
}

.expanded-box-pm ul {
    list-style: url(../img/flecha-lista.svg);
    font-size: 1em;
    margin: 0 !important;
    padding: 1.5em 1.5em 1.5em 2.8em !important;
}

.expanded-box-pm ul li {
    margin-bottom: 10px;
    background: none;
    padding: 0 0 0 5px;
}

.expanded-box-pm ul li a {
    color: #243F76;
    text-decoration: none;
}

.expanded-box-pm ul li a:hover {
    text-decoration: underline;
}

.box.expanded-pm .expanded-box-pm {
    height: auto;
}

.box-pm:nth-child(3n + 2) .expanded-box-pm {
    margin-left: calc(-100% - 20px);
}

.box-pm:nth-child(3n) .expanded-box-pm {
    margin-left: calc(-200% - 40px);
}

@media (max-width: 1024px) {

    .central {
        box-sizing: border-box;
    }

    .contenido-pm {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .container-pm {
        grid-template-columns: repeat(2, 1fr);
    }

    .box-pm:nth-child(3n) .expanded-box-pm {
        margin-left: 0;
    }

    .box-pm:nth-child(3n + 2) .expanded-box-pm {
        margin-left: 0;
    }

    .box-pm .expanded-box-pm {
        width: calc(200% + 20px);
        margin-left: 0;
    }

    .box-pm:nth-child(even) .expanded-box-pm {
        margin-left: calc(-100% - 20px);
    }
}

@media screen and (min-width: 768px) and (max-width:1139px) and (orientation:landscape) {
    .foto_izq img {
        padding-right: 30px;
        box-sizing: border-box;
    }

    .central {
        width: auto;
    }

    .contenido-pm {
        padding-right: 30px;
        box-sizing: border-box;
        width: auto;

    }

    .container-pm {
        max-width: initial;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px;
        align-items: start;
    }
}
