body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-size: cover !important;
}
body p {
    line-height: 160%;
}
.inicio {
    background: url("../images/bg01.jpg");
}
.servicios {
    background: url("../images/bg02.jpg");
}
.identidad, .enlaces, .contacto, .aviso {
    background: url("../images/bg03.jpg");
}
.acreditaciones {
    background: url("../images/bg04.jpg");
}
b {
    font-weight: 600;
}
h1, h2 {
    font-size: 18px;
    line-height: 150%;
    font-weight: 200;
}
h4 {
    line-height: 150%;
    font-weight: 200;
    font-size: 17px;
}
p {
    font-size: 15px;
}
.active {
    font-weight: 600;
}
nav img {
    width: 200px;
}
.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    color: white;
    overflow-y: hidden;
    transition: 0.4s;
    background: #0005a8;
    box-sizing: border-box;
    padding: 28px 30px 50px;
}
.overlay-open{
    height: 100%;
}
.overlay-content {
    position: relative;
    top: 10%;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.overlay a {
    padding: 5px;
    text-decoration: none;
    margin-bottom: 20px;
    display: block;
    transition: 0.3s;
    color: white;
    cursor: pointer;
}
.overlay-content ul {
    padding-left: 0;
    text-align: center;
    list-style-type: none;
    margin-top: 45px;
}
.overlay a:hover, .overlay a:focus {
    color: #bfe5fb;
}
.open-close-btn {
    position: relative;
    left: 44%;
    text-decoration: none;
    z-index: 10;
    top: 20px;
}
#hamburger-icon{
    display: inline-block;
    width: 15%;
    height: 30px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    position: fixed;
}
#hamburger-icon span {
    display: inline-block;
    position: absolute;
    height: 3px;
    width: 75%;
    background: white;
    border-radius: 10px;
    opacity: 1;
    left: 0;
    margin-top: 6px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#hamburger-icon span:nth-child(1) {
    top: 0px;
}
#hamburger-icon span:nth-child(2), #hamburger-icon span:nth-child(3) {
    top: 11px;
}
#hamburger-icon span:nth-child(4) {
    top: 23px;
}
#hamburger-icon.hamburger-open span{
    background:white;
}
#hamburger-icon.hamburger-open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}
#hamburger-icon.hamburger-open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
#hamburger-icon.hamburger-open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#hamburger-icon.hamburger-open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}
section {
    padding: 30px;
}
.inicio section {
    color: white;
    text-align: center;
}
.overlay-content div {
    text-align: center;
    margin-top: 50px;
}
.inicio section h1, .inicio section h4:last-child {
    margin-top: 50px;
}
.inicio section > img {
    margin-top: 75px;
}
.inicio section > div img {
    width: 250px;
    -ms-transition: all .4s ease-in;
    -webkit-transition: all .4s ease-in;
    transition: all .4s ease-in;
    transform: scale(0.9);
}
.inicio section > div img:hover {
    transform: scale(1);
}
.inicio section h4:last-child {
    margin-bottom: 0;
}
.active {
    background: #bfe5fb;
    border-radius: 5px;
    color: #0005a8 !important;
}
.servicios h2, .acreditaciones h2, .identidad h2, .enlaces h2, .contacto h2, .aviso h2 {
    text-align: center;
    font-size: 32px;
    color: white;
    font-weight: 600;
}
.aviso h2 {
    margin-bottom: 10px;
}
.aviso h3 {
    text-align: center;
    margin-top: 0;
    font-size: 28px;
}
.tarjetas > div {
    background: rgb(0 5 168 / 60%);
    padding: 20px;
    border-radius: 10px;
    color: white;
    margin: 20px 0;
    text-align: center;
}
.servicios section, .identidad section, .acreditaciones section, .enlaces section, .contacto section, .aviso section {
    margin-top: 50px;
}
.identidad section, .acreditaciones section, .enlaces section, .aviso section {
    color: white;
}
.identidad section p {
    margin-top: 0;
}
.identidad h4 {
    margin-bottom: 0;
    font-weight: 600;
}
.servicios section ul {
    text-align: left;
    padding-left: 25px;
}
#toggle-four {
    display: none;
}
button {
    background: none;
    color: white;
    border: none;
    font-size: 15px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}
.servicios h4 {
    margin: 10px 0;
}
footer {
    background: url("../images/footer.jpg");
    background-size: cover;
    color: white;
    padding: 20px;
    border: 0px;
    border-top: 5px solid;
    border-image: linear-gradient(to right, #979695, white, #979695);
    border-image-slice: 1;
}
footer a {
    cursor: pointer;
    text-decoration: underline;
    color: white;
    font-size: 13px;
}
footer p {
    font-size: 13px;
}
.redes img {
    width: 30px;
}
.redes {
    display: flex;
    align-items: center;
}
.redes p {
    margin: 0 10px 0;
}
.redes a {
    margin-right: 10px;
    text-decoration: none;
}
.tel {
    background: url("../images/tel.svg") no-repeat;
    padding-left: 35px;
    background-size: 25px;
    margin-bottom: 15px;
}
.tel p {
    margin-bottom: 0;
}
.dir {
    background: url("../images/dir.svg") no-repeat;
    padding-left: 35px;
    background-size: 25px;
}
.mail {
    background: url("../images/mail.svg") no-repeat;
    padding-left: 35px;
    background-size: 25px;
}
.horario {
    background: url("../images/horario.svg") no-repeat;
    padding-left: 35px;
    background-size: 25px;
}
.legales img {
    width: 150px;
    margin-bottom: 15px;
}
.legales {
    border-top: 1px solid white;
    padding-top: 20px;
}
footer > div > div:first-child {
    padding-bottom: 20px;
}
footer p {
    margin-top: 0;
}
.refuerzo {
    display: none;
}
.aprobaciones > div {
    background: white;
    margin: 15px auto;
    width: 170px;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    height: 110px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    text-align: center;
}
.aprobaciones img, .logosAprob img {
    width: 100%;
}
.acreditaciones h4 {
    font-weight: 600;
    margin-bottom: 15px;
}
.logosAprob > div {
    margin-bottom: 15px;
}
.logosAprob a {
    display: block;
    cursor: pointer;
    margin-bottom: 50px;
    color: white;
    text-decoration: none;
    text-align: center;
    -ms-transition: all .4s ease-in;
    -webkit-transition: all .4s ease-in;
    transition: all .4s ease-in;
    transform: scale(0.9);
}
.logosAprob a:hover {
    transform: scale(1);
}
.logosAprob img {
    width: 250px;
}
.logosquare {
    width: 125px !important;
}
.contacto h3 {
    color: white;
}
#fcf-thank-you {
    text-align: center;
}
#fcf-thank-you h2 {
    font-weight: 200;
}
#fcf-thank-you h2 b {
    font-weight: 600;
}
.sales > div {
    background: white;
    padding: 20px 10px;
    margin-bottom: 15px;
    border-radius: 10px;
    text-align: center;
}
.sales h4 {
    margin: 15px 0 0;
    font-weight: 600;
}
.sales img {
    width: 50px;
}
.sales p {
    margin: 0;
}
.aviso h4 {
    margin-bottom: 0;
}
.aviso li p {
    margin-top: 5px;
}
.aviso ol ol {
    list-style-type: upper-roman;
}
#toggle-four > div > p {
    margin-bottom: 0;
}
#toggle-four ul, #toggle-four ul li:first-child p {
    margin-top: 0;
}
.identidad ul p {
    margin-bottom: 5px;
}
.lista-acre ul li p {
    margin: 0 0 5px 0;
}
.lista-acre > li > p {
    margin-bottom: 0;
}
.lista-acre ul {
    padding-left: 15px;
}
.inicio section a {
    cursor: pointer;
}
.acreditaciones h4 a {
    color: white;
    cursor: pointer;
}
#gestoria img {
    max-width: 375px;
}
.lista-acre a {
    color: white;
    cursor: pointer;
}
#gestoria {
    scroll-behavior: smooth;
}

@media screen and (max-height: 450px) {
    .overlay {
        overflow-y: auto;
    }
    .overlay a {
        font-size: 20px
    }
}

@media screen and (min-width: 450px) {
    .inicio section > img {
        max-width: 450px;
        margin: 50px auto 0;
    }
}

@media screen and (min-width: 560px) {
    #hamburger-icon span {
        width: 55%;
    }
    .open-close-btn {
        left: 48%;
    }
    section {
        padding: 50px;
    }
    footer {
        padding: 20px 50px;
    }
    .aprobaciones {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .sales {
        display: grid;
        grid-template-columns: 48% 48%;
        column-gap: 4%;
    }
    .servicios h4 {
        text-align: left;
    }
    .tarjetas > div {
        padding: 20px 35px;
        text-align: left;
    }
    .inicio section > div {
        display: flex;
        align-items: center;
    }
}

@media screen and (min-width: 768px) {
    #hamburger-icon {
        display: none;
    }
    .overlay-content {
        position: initial;
        top: initial;
        width: initial;
        flex-direction: initial;
        align-items: center;
        justify-content: space-between;
    }
    .overlay-content ul {
        display: flex;
        justify-content: space-around;
        margin: 0;
    }
    .overlay {
        height:unset;
        position:unset;
        z-index:unset;
        top: unset;
        left: unset;
        padding: 25px 50px;
        border: 0px;
        border-bottom: 5px solid;
        border-image: linear-gradient(to right, #979695, white, #979695);
        border-image-slice: 1;
    }
    .overlay-content p {
        margin: 0;
    }
    .overlay a {
        font-size: 12px;
        margin: 0;
        padding: 5px;
    }
    .overlay-content div {
        margin-top: 0;
    }
    nav img {
        width: 150px;
    }
    .active {
        margin: 0 15px !important;
    }
    .tarjetas > div {
        display: flex;
        margin: 15px 1.5%;
    }
    .servicios h4 {
        width: 35%;
        text-align: center;
        margin-right: 5%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tarjetas > div > div {
        width: 60%;
    }
    footer > div > div:first-child {
        display: grid;
        grid-template-columns: 40% 60%;
    }
    .inicio section img {
        margin: 0px auto;
    }
    .legales {
        text-align: center;
    }
    .redes p {
        margin-bottom: 0;
    }
    .servicios h2, .servicios section, .identidad h2, .identidad section, .acreditaciones h2, .acreditaciones section, .enlaces h2, .enlaces section, .contacto h2, .contacto section, .aviso h2, .aviso section {
        margin-top: 0;
    }
    .identidad section {
        position: relative;
    }
    .identidad section > div:first-child {
        max-width: 668px;
    }
    .refuerzo {
        text-align: right;
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .refuerzo img {
        max-width: 400px;
    }
    .logosAprob {
        display: grid;
        grid-template-columns: 50% 50%;
        align-items: center;
    }
    .identidad section ul {
        padding-bottom: 50px;
    }
    #see-more-4 {
        padding-top: 20px;
    }
    .acreditaciones section {
        background: url(../images/transparencia.svg) no-repeat;
        background-position-y: 115%;
        background-size: 1300px;
        background-position-x: 25%;
    }
    .acreditaciones h2 {
        margin-bottom: 75px;
    }
    .aprobaciones > div {
        width: 120px;
        margin-right: 30px !important;
    }
    .aprobaciones > div:last-child {
        margin-right: 0 !important;
    }
}

@media screen and (min-width: 800px) {
    .overlay-content {
        max-width: 700px;
        margin: auto;
    }
    .aprobTwo {
        display: flex;
    }
    .aprobTwo > ul, .aprobTwo > div {
        width: 50%;
    }
    .aprobaciones > div {
        width: 135px;
        margin: 15px 0 !important;
        height: 90px;
    }
    .aprobTwo > ul {
        margin-top: 0;
    }
    .aprobTwo ul li:first-child p {
        margin-top: 0;
    }
    .acreditaciones section {
        background-size: 1065px;
        background-position-x: 15%;
        background-position-y: 95%;
    }
    .inicio section > div h1 {
        width: 75%;
    }
}

@media screen and (min-width: 900px) {
    .aprobTwo > ul {
        width: 45%;
    }
    .aprobTwo > div {
        width: 55%;
    }
}

@media screen and (min-width: 960px) {
    .overlay-content {
        flex-direction: inherit;
        align-items: center;
    }
    .inicio section {
        max-width: 665px;
        margin: auto;
        padding: 130px 50px;
    }
    footer > div {
        display: flex;
        justify-content: space-between;
    }
    .legales {
        border-top: none;
        border-left: 1px solid white;
        padding: 0 0 0 30px;
    }
    footer > div > div:first-child {
        padding-bottom: 0;
    }
    .mail {
        margin-bottom: 0;
    }
    footer > div > div:first-child {
        padding-right: 30px;
    }
    .identidad section, .acreditaciones section, .enlaces section, .contacto section, .aviso section {
        padding: 50px 100px 0;
        max-width: 960px;
        margin: auto;
        box-shadow: 0px 20px 20px 0px rgb(0 0 0 / 25%);
    }
    .aviso section {
        padding-bottom: 50px;
    }
    .identidad section{
        display: flex;
        flex-wrap: wrap;
    }
    .identidad section > div:first-child {
        max-width: initial;
        width: 65%;
    }
    .acreditaciones section {
        padding-bottom: 50px;
    }
    .refuerzo {
        width: 35%;
        position: unset;
        display: flex;
        flex-flow: wrap;
        flex-direction: column;
        justify-content: flex-end;
    }
    .refuerzo img {
        width: 150%;
        max-width: unset;
    }
    .contactData {
        display: flex;
    }
    .contactData > div {
        width: 47%;
    }
    .contactData > div:first-child {
        margin-right: 3%
    }
    .contactData > div:last-child {
        margin-left: 3%
    }
    .contacto h3 {
        margin-top: 0;
    }
    .contactData > div:first-child {
        padding-bottom: 50px;
    }
    nav img {
        width: 175px;
    }
    .acreditaciones section {
        background-size: 1150px;
        background-position-x: 0;
        background-position-y: 160%;
    }
}

@media screen and (min-width: 1024px) {
    .tarjetas {
        max-width: 924px;
        margin: auto;
    }
    .aprobTwo > div {
        width: 45%;
        margin-right: 10%;
    }
}

@media screen and (min-width: 1200px) {
    h1, h2 {
        font-size: 22px;
    }
    h4 {
        font-size: 17px;
    }
    p {
        font-size: 16px;
    }
    .overlay a {
        font-size: 14px;
        padding: 5px 10px;
    }
    .overlay-content {
        max-width: 900px;
    }
    .servicios section {
        max-width: 1200px;
        margin: auto;
    }
    footer > div {
        max-width: 900px;
        margin: auto;
    }
    .refuerzo img {
        width: 130%;
        max-width: unset;
    }
    .acreditaciones section {
        background-size: 1185px;
        background-position-y: 180%;
        background-position-x: 0;
    }
    .aprobTwo > div {
        margin-right: 10%;
    }
    .aprobaciones > div {
        width: 150px;
        height: 100px;
    }
}