﻿html, body {
    position: relative;
    font-family:Arial;  
    min-height:100vh;
}
p, li{font-size: 20px;}
/** Diseño generico Navbar**/
    .sps--abv {
    background-color: #800101;
    color: #000;
}

.sps--blw {
    background-color: #800101;
    color: #000;
}
img {
    max-width: 100%;
}

.quitar-float {
    float: none;
}

.altura-a-b {
    padding: 20px 0;
}
/*Texto principal*/
.textIndex a {
    text-decoration: none;
}
.textIndex a h2 {
    text-align: center;
    font-size: 28px;
    text-decoration: none;
    color: black;
    font-family:Arial;
}

.textIndex a h2-BG:hover {
    color: rgb(127,127,127);
}
/*Imagen principal*/
.imgIndex {
    width: 100%;
}
/*Texto principal*/
.textIndex a {
    text-decoration: none;
}

    .textIndex a h2 {
        text-align: center;
        font-size: 28px;
        text-decoration: none;
        color: black;
        font-family: Arial;
    }

        .textIndex a h2:hover {
            color: rgb(127,127,127);
        }

.locText a {
    font-size: 12px;
    font-weight: bold;
    color: #246f47;
    font-family: Arial;
}
/*Sub tiltles*/
.h2-BG {
    background-color: #800101;
}

.h2-TXT {
    color: white;
    text-align: justify;
    line-height: 120%;
    font-size: 30px;
    padding: 12px 8px;
    margin-left: 2%;
    margin-right: 2%;
    font-family: Arial;
}
.h2-LINEA {
    background-color: #FA4C27;
}

.h2-LINEATXT {
    color: white;
    text-align: justify;
    line-height: 120%;
    font-size: 30px;
    padding: 12px 8px;
    margin-left: 2%;
    font-family: Arial;
    margin-right: 2%;
}
/* Titulos de tabla */
.txt-TAB > tr{
    color: white;
    font-size: 24px;
} 

/* Carrousel */
.carousel-caption {
    position: absolute;
    display:block;
    top: 40%;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: rgb(5, 5, 5);
    text-align: left;
}


/*Barra de navegacion*/
.navBG {
    width: 100%;
    height: auto;
}

.navIndex li {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 2%;
    margin-top: 2%;
    list-style: none;
}

    .navIndex li a {
        display: inline-block;
        text-decoration: none;
        text-align: justify;
        font-size: 20px;
        color: #fff;
        padding: 8px;
        width: 100%;
        background-color: #800101;
        border-width: 3px;
        border-style: solid;
        border-radius: 8px;
        list-style: none;
    }

        .navIndex li a:hover {
            color: rgb(127,127,127);
        }

.nav-BG {
    text-align: center;
    width: 100%;
    height: auto;
    text-decoration: none;
    list-style: none;
}

.navIndex li a:hover {
    color: rgb(127,127,127);
    list-style: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #108d6f;
    border-color: #108d6f;
    box-shadow: none;
    outline: none;
}

.btn-primary {
    color: #fff;
    background-color: #007b5e;
    border-color: #007b5e;
}

section {
    padding: 60px 0;
}

    section .section-title {
        text-align: center;
        color: #007b5e;
        margin-bottom: 50px;
        text-transform: uppercase;
    }

#team .card {
    border: none;
    background: #ffffff;
}

.image-flip:hover .backside,
.image-flip.hover .backside {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    border-radius: .25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.mainflip {
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -moz-transform: perspective(1000px);     
    transition: 1s;
    transform-style: preserve-3d;
    position: relative;
}

.frontside {
    position: relative;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    z-index: 2;
    margin-bottom: 30px;
}

.backside {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.frontside,
.backside {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    transform-style: preserve-3d;
}

    .frontside .card,
    .backside .card {
        min-height: 312px;
    }

        .backside .card a {
            font-size: 18px;
            color: #007b5e !important;
        }

        .frontside .card .card-title,
        .backside .card .card-title {
            color: #007b5e !important;
        }

        .frontside .card .card-body img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
        }

/* diseño footer */
footer {
    background-color: #800101;
    text-align: center;
    color: #fff;  
    font-family: Arial;
    margin-top: auto;
}

.footer-contenido {
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    bottom: 0;
    font-family: Arial;
}

.a {
    text-align: center;
    color: #fff;
    font-family: Arial;
}


.card-border {
    border: solid 10px white;
    border-radius: 20px;
    overflow: hidden;
    transition: all ease-out 0.2s;
}

    .card-border:hover {
        transform: scale(1.05);
    }


/* AddToAny Redes para compartir--> */
sharing_widget {
    margin-top: 4rem;
}

    #sharing_widget .a2a_kit {
        margin: 0 auto;
        width: 180px;
    }
/* Linea del tiempo--> */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font: normal 16px/1.5 "Helvetica Neue", sans-serif;
    background: #800101;
    color: #fff;
    overflow-x: hidden;
    padding-bottom: 50px;
}


/* INTRO linea del tiempo
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.intro {
    background: #800101;
    padding: 100px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
}


/* Linea del tiempo
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul {
    background: #fff;
    padding: 50px 0;
}

    .timeline ul li {
        list-style-type: none;
        position: relative;
        width: 6px;
        margin: 0 auto;
        padding-top: 50px;
        background: #ddbc88;
    }

        .timeline ul li::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: inherit;
            z-index: 1;
        }

        .timeline ul li div {
            position: relative;
            bottom: 0;
            width: 400px;
            padding: 15px;
            background: white;
        }

            .timeline ul li div::before {
                content: "";
                position: absolute;
                bottom: 7px;
                width: 0;
                height: 0;
                border-style: solid;
            }

        .timeline ul li:nth-child(odd) div {
            left: 45px;
        }

            .timeline ul li:nth-child(odd) div::before {
                left: -15px;
                border-width: 8px 16px 8px 0;
                border-color: transparent #ddbc88 transparent transparent;
            }

        .timeline ul li:nth-child(even) div {
            left: -439px;
        }

            .timeline ul li:nth-child(even) div::before {
                right: -15px;
                border-width: 8px 0 8px 16px;
                border-color: transparent transparent transparent #ddbc88;
            }

time {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}


/*Efectos linea del tiempo
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul li::after {
    transition: background 0.5s ease-in-out;
}

.timeline ul li.in-view::after {
    background: #ddbc88;
}

.timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
    transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
    transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
}


/* Aspectos generales linea del tiempo
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
    .timeline ul li div {
        width: 250px;
    }

    .timeline ul li:nth-child(even) div {
        left: -289px;
        /*250+45-6*/
    }
}

@media screen and (max-width: 600px) {
    .timeline ul li {
        margin-left: 20px;
    }

        .timeline ul li div {
            width: calc(100vw - 91px);
        }

        .timeline ul li:nth-child(even) div {
            left: 45px;
        }

            .timeline ul li:nth-child(even) div::before {
                left: -15px;
                border-width: 8px 16px 8px 0;
                border-color: transparent #f45b69 transparent transparent;
            }
}


/* EXTRA/CLIP PATH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline-clippy ul li::after {
    width: 40px;
    height: 40px;
    border-radius: 0;
}

.timeline-rhombus ul li::after {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-rhombus ul li div::before {
    bottom: 12px;
}

.timeline-star ul li::after {
    clip-path: polygon( 50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35% );
}

.timeline-heptagon ul li::after {
    clip-path: polygon( 50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20% );
}

.timeline-infinite ul li::after {
    animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
    0% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.25);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
}

.col-xs-15 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}


p {
    font-family: Arial;
    font-size:18px;
   
}
.galeria {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
}

    .galeria img {
        max-width: 215px;
        
    }


.grid-gallery {
    display: grid;
    grid-auto-rows: 200px;
    gap: 1rem;
    grid-auto-flow: row dense;
}

@media all and (min-width: 320px) {
    .grid-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media all and (min-width: 768px) {
    .grid-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media all and (min-width: 1024px) {
    .grid-gallery {
        grid-template-columns: repeat(6, 1fr);
    }
}

.grid-gallery__item:nth-child(11n+1) {
    grid-column: span 1;
}

.grid-gallery__item:nth-child(11n+4) {
    grid-column: span 2;
    grid-row: span 1;
}

.grid-gallery__item:nth-child(11n+6) {
    grid-column: span 3;
    grid-row: span 1;
}

.grid-gallery__item:nth-child(11n+7) {
    grid-column: span 1;
    grid-row: span 2;
}

.grid-gallery__item:nth-child(11n+8) {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-gallery__item:nth-child(11n+9) {
    grid-row: span 3;
}

.grid-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
