/* GENERAL */

@import 'https://fonts.googleapis.com/css?family=Raleway';
.body {
    font-family: "Raleway";
}

.bg-bordo-oscuro {
    background-color: #881f1f;
}

.btn-bordo-oscuro {
    background-color: #881f1f !important;
}

.color-bordo-oscuro {
    color: #881f1f;
}

.bg-bordo-medio {
    background-color: #881f1f;
}

.color-bordo-medio {
    color: #881f1f;
}

.bg-bordo-claro {
    background-color: #881f1f;
}

.color-bordo-claro {
    color: #881f1f;
}

.bg-color-negro {
    background-color: #282928;
}

.color-negro {
    color: #282928;
}

.section-dark {
    background-color: #282928;
}
/* title-dark dark */

.title-dark {
    position: relative;
    perspective: 400;
    padding-left: 25px;
    font-family: "Raleway";
    font-weight: bold;
    font-size: 40px;
    text-transform: uppercase;
    color: #282928;
}

.title-dark:before {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 10px;
    background: #881f1f;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(-150);
    -webkit-animation: title-dark-border-slide-in 0.35s ease-out forwards;
    animation: title-dark-border-slide-in 0.35s ease-out forwards;
}

.title-dark .title-dark-word {
    opacity: 0;
    transform-origin: bottom center;
    transform: rotateX(-90deg);
}

.title-dark .title-dark-word:nth-child(1) {
    -webkit-animation: roll-in 0.15s 0s ease-out forwards;
    animation: roll-in 0.15s 0s ease-out forwards;
}

.title-dark .title-dark-word:nth-child(2) {
    -webkit-animation: roll-in 0.15s 0.175s ease-out forwards;
    animation: roll-in 0.15s 0.175s ease-out forwards;
}

.title-dark .title-dark-word:nth-child(3) {
    -webkit-animation: roll-in 0.15s 0.35s ease-out forwards;
    animation: roll-in 0.15s 0.35s ease-out forwards;
}

.title-dark .title-dark-word:nth-child(4) {
    -webkit-animation: roll-in 0.15s 0.525s ease-out forwards;
    animation: roll-in 0.15s 0.525s ease-out forwards;
}

@-webkit-keyframes title-dark-border-slide-in {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes title-dark-border-slide-in {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes roll-in {
    0% {
        transform: rotateX(-90deg);
        opacity: 1;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

@keyframes roll-in {
    0% {
        transform: rotateX(-90deg);
        opacity: 1;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}
/* title-light */

.title-light {
    position: relative;
    perspective: 400;
    padding-left: 25px;
    font-family: "Raleway";
    font-weight: bold;
    font-size: 40px;
    text-transform: uppercase;
    color: #ffff;
}

.title-light:before {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 10px;
    background: #282928;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(-150);
    -webkit-animation: title-light-border-slide-in 0.35s ease-out forwards;
    animation: title-light-border-slide-in 0.35s ease-out forwards;
}

.title-light .title-light-word {
    opacity: 0;
    transform-origin: bottom center;
    transform: rotateX(-90deg);
}

.title-light .title-light-word:nth-child(1) {
    -webkit-animation: roll-in 0.15s 0s ease-out forwards;
    animation: roll-in 0.15s 0s ease-out forwards;
}

.title-light .title-light-word:nth-child(2) {
    -webkit-animation: roll-in 0.15s 0.175s ease-out forwards;
    animation: roll-in 0.15s 0.175s ease-out forwards;
}

.title-light .title-light-word:nth-child(3) {
    -webkit-animation: roll-in 0.15s 0.35s ease-out forwards;
    animation: roll-in 0.15s 0.35s ease-out forwards;
}

.title-light .title-light-word:nth-child(4) {
    -webkit-animation: roll-in 0.15s 0.525s ease-out forwards;
    animation: roll-in 0.15s 0.525s ease-out forwards;
}

@-webkit-keyframes title-light-border-slide-in {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes title-light-border-slide-in {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes roll-in {
    0% {
        transform: rotateX(-90deg);
        opacity: 1;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

@keyframes roll-in {
    0% {
        transform: rotateX(-90deg);
        opacity: 1;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}
/* title-red */

.title-red {
    position: relative;
    perspective: 400;
    padding-left: 25px;
    font-family: "Raleway";
    font-weight: bold;
    font-size: 40px;
    text-transform: uppercase;
    color: #ffff;
}

.title-red:before {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 10px;
    background: #881f1f;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(-150);
    -webkit-animation: title-red-border-slide-in 0.35s ease-out forwards;
    animation: title-red-border-slide-in 0.35s ease-out forwards;
}

.title-red .title-red-word {
    opacity: 0;
    transform-origin: bottom center;
    transform: rotateX(-90deg);
}

.title-red .title-red-word:nth-child(1) {
    -webkit-animation: roll-in 0.15s 0s ease-out forwards;
    animation: roll-in 0.15s 0s ease-out forwards;
}

.title-red .title-red-word:nth-child(2) {
    -webkit-animation: roll-in 0.15s 0.175s ease-out forwards;
    animation: roll-in 0.15s 0.175s ease-out forwards;
}

.title-red .title-red-word:nth-child(3) {
    -webkit-animation: roll-in 0.15s 0.35s ease-out forwards;
    animation: roll-in 0.15s 0.35s ease-out forwards;
}

.title-red .title-red-word:nth-child(4) {
    -webkit-animation: roll-in 0.15s 0.525s ease-out forwards;
    animation: roll-in 0.15s 0.525s ease-out forwards;
}

@-webkit-keyframes title-red-border-slide-in {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes title-red-border-slide-in {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes roll-in {
    0% {
        transform: rotateX(-90deg);
        opacity: 1;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

@keyframes roll-in {
    0% {
        transform: rotateX(-90deg);
        opacity: 1;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}
/* cards mision y vision */

@media only screen and (min-width: 600px) {
    .container {
        left: calc(50% - 1300px);
        display: flex;
    }
    .card-mision {
        height: auto;
        width: 750px;
        background-color: #881f1f;
        color: #ffff;
        border-radius: 0px;
        box-shadow: -1rem 0 2rem #000;
        /*   margin-left: -50px; */
        transition: 0.4s ease-out;
        position: relative;
        left: 0px;
    }
    .card-vision {
        height: auto;
        width: 600px;
        background-color: #282928;
        color: #ffff;
        border-radius: 0px;
        box-shadow: -1rem 0 2rem #000;
        /*   margin-left: -50px; */
        transition: 0.4s ease-out;
        position: relative;
        left: 0px;
    }
    .card-mision:not(:first-child) {
        /* cuanto tapa el cartel de la derecha al izquierdo */
        margin-left: -50px;
    }
    .card-vision:not(:first-child) {
        /* cuanto tapa el cartel de la derecha al izquierdo */
        margin-left: -50px;
    }
    .card-vission {
        margin-top: 30px;
    }
    .card-vission:hover {
        /* cuanto sube el card con el hover y en cuanto tiempo */
        transform: translateY(-30px);
        transition: 0.4s ease-out;
    }
    .card-mission:hover {
        /* cuanto sube el card con el hover y en cuanto tiempo */
        transform: translateY(30px);
        transition: 0.4s ease-out;
    }
    .card-mision:hover~.card {
        position: relative;
        left: 50px;
        transition: 0.4s ease-out;
    }
    .card-mision:hover .stroke {
        stroke-dashoffset: 100;
        transition: 0.6s ease-out;
    }
    .card-vision:hover~.card {
        position: relative;
        left: 50px;
        transition: 0.4s ease-out;
    }
    .card-vision:hover .stroke {
        stroke-dashoffset: 100;
        transition: 0.6s ease-out;
    }
}

@media only screen and (max-width: 600px) {
    .card-mision {
        height: auto;
        width: 100%;
        background-color: #881f1f;
        color: #ffff;
        border-radius: 0px;
        box-shadow: -1rem 0 2rem #000;
    }
    .card-vision {
        margin-top: 50px;
        height: auto;
        width: 100%;
        background-color: #282928;
        color: #ffff;
        border-radius: 0px;
        box-shadow: -1rem 0 2rem #000;
    }
}
/*@media only screen and (max-width: 600px) {
.container {
margin: 10px;
}
.card-mision {
height: 450px;
width: 100%;
background-color: #1b2a4e;
color: #f1f4f8;
border-radius: 0px;
box-shadow: -1rem 0 2rem #000;
transition: 0.4s ease-out;
position: relative;
left: 0px;
}
}*/
/* ---------------------------------------------- INSTITUTO SUPERIOR  ------------------------------------------------- */
/* --------------- ANA --------------- */

.rounded-img {
    border-radius: 50%;
    max-height: 250px;
}

#breadcrumbs-two {
    overflow: hidden;
    width: 100%;
}

#breadcrumbs-two li {
    float: left;
    margin: 0 .5em 0 1em;
}

#breadcrumbs-two a {
    background: #ddd;
    padding: .7em 1em;
    float: left;
    text-decoration: none;
    color: #444;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    position: relative;
}

#breadcrumbs-two a:hover {
    background: #99db76;
}

#breadcrumbs-two a::before {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -1.5em;
    border-width: 1.5em 0 1.5em 1em;
    border-style: solid;
    border-color: #ddd #ddd #ddd transparent;
    left: -1em;
}

#breadcrumbs-two a:hover::before {
    border-color: #99db76 #99db76 #99db76 transparent;
}

#breadcrumbs-two a::after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -1.5em;
    border-top: 1.5em solid transparent;
    border-bottom: 1.5em solid transparent;
    border-left: 1em solid #ddd;
    right: -1em;
}

#breadcrumbs-two a:hover::after {
    border-left-color: #99db76;
}

#breadcrumbs-two .current,
#breadcrumbs-two .current:hover {
    font-weight: bold;
    background: none;
}

#breadcrumbs-two .current::after,
#breadcrumbs-two .current::before {
    content: normal;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body-historia {
    overflow-x: hidden;
    padding-bottom: 50px;
}
/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul {
    padding: 50px 0;
}

.timeline ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: #fff;
}
/* Circulitos de la linea vertical */

.timeline ul li::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: inherit;
}
/* div del card */

.timeline ul li div {
    position: relative;
    bottom: 0;
    width: 700px;
    padding: 15px;
    background: #e6e6e6;
}

.story-right {
    border-right-style: solid;
    border-right-width: 10px;
    border-right-color: #6C9B89;
}

.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;
}
/* pico de las div del lado derecho */

.timeline ul li:nth-child(odd) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #e6e6e6 transparent transparent;
}

.timeline ul li:nth-child(even) div {
    left: -739px;
}
/* pico de las div del lado izquierdo */

.timeline ul li:nth-child(even) div::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent #e6e6e6;
}
/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul li::after {
    transition: background .5s ease-in-out;
}

.timeline ul li.in-view::after {
    background: #6C9B89;
}

.timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all .5s ease-in-out;
}
/* cuanto quieres que se traslade hacia el centro */

.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;
}
/* GENERAL MEDIA
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
    .timeline ul li div {
        width: 250px;
    }
    .timeline ul li:nth-child(even) div {
        left: -289px;
    }
}

@media screen and (min-width: 900px) {
    .story-left {
        border-left-style: solid;
        border-left-width: 10px;
        border-left-color: #6C9B89;
    }
}

@media screen and (max-width: 600px) {
    .timeline ul li {
        margin-left: 20px;
    }
    .timeline ul li div {
        width: calc(100vw - 110px);
    }
    .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 #e6e6e6 transparent transparent;
    }
    .story-left {
        border-right-style: solid;
        border-right-width: 10px;
        border-right-color: #6C9B89;
    }
}
/* texto del card */

.timeline-article p {
    font-family: 'Raleway', sans-serif;
    margin: 0 0 0 60px;
    padding-left: 45;
    font-weight: 400;
    color: #242424;
    font-size: 20px;
    /* espaciado entre lineas del texto*/
    line-height: 24px;
    position: relative;
}
/* numero fecha */

.timeline-article p span.article-number {
    font-family: 'Raleway', sans-serif;
    position: absolute;
    font-weight: 500;
    font-size: 44px;
    top: 10px;
    left: -60px;
    color: #4D645F;
}
/* autoridades desplazo */

.title-autoridad {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 2em;
}

.desc-autoridad {
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    font-size: 1.5em;
}

.infocardContainer {
    display: flex;
    height: 200px;
    width: 200px;
    border-radius: 100px;
    background: #6C9B89;
    /*background: rgb(0,159,255);*/
    /*background: linear-gradient(121deg, rgba(255,255,255,0) 13%, rgba(27,42,78) 100%);*/
    transition: all 500ms ease-in;
    transition-delay: 1s;
    margin: auto;
    border-left-width: 10px;
    border-left-color: #282928;
    border-top-style: solid;
    border-top-width: 10px;
    border-top-color: #282928;
}

.infocardContainer:hover {
    width: 420px;
    border-radius: 250px 0px 200px 200px;
    transition: all 1s ease-out;
}

.infocardContainer div * {
    display: flex;
    --flex: inherit;
    overflow: hidden;
    text-overflow: hidden;
    --background-color: yellow;
    color: white;
    white-space: nowrap;
    width: 0;
    height: auto;
    transition: all 450ms ease-in;
    transition-delay: 1s;
}

.infocardContainer:hover div * {
    --background-color: purple;
    display: flex;
    visibility: visible;
    transition: all 1s ease-out;
    transition-delay: 500ms;
    width: 100%;
    height: auto;
}
/*  imagen redonda de la autoridad */

.infocardContainer #main,
.infocardContainer #main img {
    --background-color: green;
    height: 200px;
    width: 200px;
    padding-right: 10px;
    border-radius: 100%;
    flex-shrink: 0;
    object-fit: cover;
}
/* secciones */

.section-autoridades {
    background-color: #f1f4f8;
}

.section-historia {
    background-color: #384c74;
}

.section-cierre {
    background-color: #f1f4f8;
}
/* efecto zoom para imagenes */
/* clase transicion en img,  <div class="product-div1">   <div class="img-div1"> arriba de img */
/* --------- Global ----------*/

.transition {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
}

.img-responsive {
    width: 100%;
}
/* --------- Simple Zoom Effects ----------*/

.product-div1 {
    position: relative;
    overflow: hidden;
}

.product-div1:hover img {
    transform: scale(1.1);
}

img {
    transform: scale(1);
}
/* titulo */
/* --------------- AGUS ------------- */

.ml5 {
    font-family: "Raleway";
    font-size: calc(5px + 4vw);
    font-weight: bold;
}

.ml5 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.1em;
    padding-right: 0.05em;
    padding-bottom: 0.15em;
}

.ml5 .line {
    position: absolute;
    left: 0;
    margin: auto;
    height: 8px;
    width: 100%;
    background-color: #881f1f;
    transform-origin: 0.5 0;
    opacity: 10;
}

.ml5 .letters {
    display: inline-block;
    opacity: 50;
}

.line1 {
    bottom: 0;
}

.line2 {
    top: 0;
}

.ml5 .subtext {
    position: absolute;
    bottom: 120px;
    width: 100%;
    padding-bottom: 50px;
    left: 0;
    right: 0;
    font-size: 0.5em;
}

@media only screen and (max-width: 800px) {
    .ml5 .subtext {
        font-size: 1em;
        margin-top: 800px;
        padding-bottom: 30px;
    }
    .ml5 .letters {
        font-size: 1.8em;
    }
    .ml5 .line1 {
        margin-bottom: -50px;
    }
    .ml5 .line2 {
        margin-top: -50px;
    }
}

.positionCenter {
    margin-top: -80px;
    left: 0;
    right: 0;
}

.overlay {
    background-color: rgba(46, 46, 46, 0.5);
}
/*   btn flip */

@media only screen and (min-width: 600px) {
    @import 'https://fonts.googleapis.com/css?family=';
    .btn-flip {
        opacity: 1;
        outline: 0;
        color: #fff;
        line-height: 40px;
        position: absolute;
        text-align: center;
        letter-spacing: 1px;
        display: inline-block;
        text-decoration: none;
        font-family: 'Raleway', sans-serif;
        text-transform: uppercase;
    }
    .btn-flip:hover:after {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
    .btn-flip:hover:before {
        opacity: 0;
        transform: translateY(50%) rotateX(90deg);
    }
    .btn-flip:after {
        top: 150;
        left: 0;
        opacity: 0;
        width: 100%;
        color: #fff;
        display: inline-block;
        font-weight: 400;
        font-size: 35px;
        transition: 0.5s;
        padding: 20 30px;
        position: absolute;
        border-left-style: solid;
        border-left-width: 10px;
        border-left-color: #881f1f;
        background: #282928;
        content: attr(data-back);
        transform: translateY(-50%) rotateX(90deg);
    }
    .btn-flip:before {
        top: 150;
        left: 0;
        opacity: 1;
        color: #ffffff;
        display: inline-block;
        font-size: 35px;
        padding: 20 30px;
        font-weight: 400;
        line-height: 40px;
        transition: 0.5s;
        position: relative;
        border-left-style: solid;
        border-left-width: 10px;
        border-left-color: #282928;
        background: #881f1f;
        content: attr(data-front);
        transform: translateY(0) rotateX(0);
    }
}

@media only screen and (max-width: 600px) {
    @import 'https://fonts.googleapis.com/css?family=';
    .btn-flip {
        opacity: 1;
        outline: 0;
        color: #fff;
        line-height: 25px;
        position: absolute;
        text-align: center;
        letter-spacing: 1px;
        display: inline-block;
        text-decoration: none;
        font-family: 'Raleway', sans-serif;
        text-transform: uppercase;
    }
    .btn-flip:hover:after {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
    .btn-flip:hover:before {
        opacity: 0;
        transform: translateY(50%) rotateX(90deg);
    }
    .btn-flip:after {
        top: 150;
        left: 0;
        opacity: 0;
        width: 90%;
        margin-left: 20px;
        color: #fff;
        display: inline-block;
        font-weight: 200;
        font-size: 20px;
        transition: 0.5s;
        padding: 20 30px;
        position: absolute;
        border-left-style: solid;
        border-left-width: 10px;
        border-left-color: #881f1f;
        background: #282928;
        content: attr(data-back);
        transform: translateY(-50%) rotateX(90deg);
    }
    .btn-flip:before {
        top: 150;
        left: 0;
        opacity: 1;
        color: #ffffff;
        display: inline-block;
        width: 90%;
        margin-left: 20px;
        font-weight: 200;
        font-size: 20px;
        padding: 20 30px;
        line-height: 25px;
        transition: 0.5s;
        position: relative;
        border-left-style: solid;
        border-left-width: 10px;
        border-left-color: #282928;
        background: #881f1f;
        content: attr(data-front);
        transform: translateY(0) rotateX(0);
    }
}
/* end btn flip */

.arrow-container {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
}

.arrow-1 {
    width: 100px;
    height: 100px;
    background: #00BCD4;
    opacity: 0.5;
    border-radius: 50%;
    position: absolute;
}

.arrow-2 {
    width: 60px;
    height: 60px;
    background: #00BCD4;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    display: table;
}

.arrow-2:before {
    width: 52px;
    height: 52px;
    content: "";
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
}

.arrow-2 i.fa {
    font-size: 30px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #006064;
}
/* Custom Animate.css */

.animated.hinge {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}

@-webkit-keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.4, .4, .4);
        transform: scale3d(.4, .4, .4);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.4, .4, .4);
        transform: scale3d(.4, .4, .4);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}

.zoomIn {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
}

.title-agu {
    position: relative;
    display: inline-block;
    font-family: "Raleway";
    font-size: 2.8em;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}

.title-agu::after,
.title-agu span::before {
    animation: ease-out 5s forwards infinite;
}

.title-agu span {
    display: inline-block;
    overflow: hidden;
}

.title-agu span::before {
    display: inline-block;
    content: attr(aria-label);
}

.title-agu span:first-child {
    right: 50%;
}

.title-agu span:first-child::before {
    transform: translateX(100%);
    animation-name: move-left;
}

.title-agu span:last-child {
    margin-left: -0.28em;
    left: 50%;
}

.title-agu span:last-child::before {
    transform: translateX(-100%);
    animation-name: move-right;
}

.title-agu::after {
    position: absolute;
    right: 0;
    top: 85%;
    content: attr(data-label);
    font-size: .25em;
    letter-spacing: 0.08em;
    animation-name: role;
}

@keyframes move-left {
    0% {
        transform: translateX(100%);
    }
    15%,
    100% {
        transform: translateX(0);
    }
}

@keyframes move-right {
    0% {
        transform: translateX(-100%);
    }
    15%,
    100% {
        transform: translateX(0);
    }
}

@keyframes role {
    0%,
    15% {
        opacity: 0;
        transform: translateY(-40%);
    }
    25%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-agu span hr {
    border-top: 3px solid #6C9B89
}
.letras-nav {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    text-shadow: 1px 0px 0px #fff;
    font-weight: 500;
    letter-spacing: 0px;
}

.tittle-curso {
    font-family: "Raleway";
    color: #ffff;
    font-size: 55px;
}
/* Card Horizontal con Carousel*/

.card-block-curso {
    position: relative;
    margin: 0;
    padding: 1em;
    border: none;
    box-shadow: none;
}

.card-curso {
    overflow: hidden;
    padding: 5;
    border: none;
    box-shadow: none;
    margin-top: 20px;
}

.carousel-detalle .carousel-indicators li {
    border-radius: 12px;
    width: 12px;
    height: 12px;
    background-color: #404040;
}

.carousel-detalle .carousel-indicators li {
    border-radius: 12px;
    width: 12px;
    height: 12px;
    background-color: #404040;
}

.carousel-detalle .carousel-indicators .active {
    background-color: white;
    max-width: 12px;
    margin: 0 3px;
    height: 12px;
}

.carousel-detalle .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-detalle .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-item-detalle {
    object-fit: cover;
    object-position: center;
    width: 500px;
    height: 400px;
}
/* Word Carousel*/

.wordCarousel {
    font-size: 30px;
    color: #2377CB;
}

.wordCarousel div {
    overflow: hidden;
    position: relative;
    float: left;
    height: 100px;
    width: 200px;
    padding-top: 10px;
    margin-top: -10px;
    @media (max-width: 600px) {
        width: 50%;
    }
}

.wordCarousel div li {
    font-family: "Raleway";
    color: #fff;
    background-color: #4D645F;
    font-weight: 350;
    padding-right: 20px;
    padding-left: 30px;
    height: 45px;
    margin-bottom: 45px;
    display: block;
}

.flip2 {
    animation: flip2 6s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}

.flip3 {
    animation: flip3 8s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}

.flip4 {
    animation: flip4 10s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}

@keyframes flip2 {
    0% {
        margin-top: -180px;
    }
    5% {
        margin-top: -90px;
    }
    50% {
        margin-top: -90px;
    }
    55% {
        margin-top: 0px;
    }
    99.99% {
        margin-top: 0px;
    }
    100% {
        margin-top: -270px;
    }
}

@keyframes flip3 {
    0% {
        margin-top: -270px;
    }
    5% {
        margin-top: -180px;
    }
    33% {
        margin-top: -180px;
    }
    38% {
        margin-top: -90px;
    }
    66% {
        margin-top: -90px;
    }
    71% {
        margin-top: 0px;
    }
    99.99% {
        margin-top: 0px;
    }
    100% {
        margin-top: -270px;
    }
}

@keyframes flip4 {
    0% {
        margin-top: -360px;
    }
    5% {
        margin-top: -270px;
    }
    25% {
        margin-top: -270px;
    }
    30% {
        margin-top: -180px;
    }
    50% {
        margin-top: -180px;
    }
    55% {
        margin-top: -90px;
    }
    75% {
        margin-top: -90px;
    }
    80% {
        margin-top: 0px;
    }
    99.99% {
        margin-top: 0px;
    }
    100% {
        margin-top: -270px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

    :root {
    --bg-color: #282928;
}

.home-title span {
    position: relative;
    padding: 15px;
    overflow: hidden;
    display: block;
    line-height: 1.2;
}

.home-title span::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #4D645F;
    animation: a-ltr-after 1s cubic-bezier(.77, 0, .18, 1) forwards;
    transform: translateX(-101%);
}

.home-title span::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    animation: a-ltr-before 1s cubic-bezier(.77, 0, .18, 1) forwards;
    transform: translateX(0);
}

.home-title span:nth-of-type(1)::before,
.home-title span:nth-of-type(1)::after {
    animation-delay: 0s;
}

.home-title span:nth-of-type(2)::before,
.home-title span:nth-of-type(2)::after {
    animation-delay: 0s;
}

@keyframes a-ltr-after {
    0% {
        transform: translateX(-100%)
    }
    100% {
        transform: translateX(101%)
    }
}

@keyframes a-ltr-before {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(200%)
    }
}
/*  BUTTON INSCRIBIRSE */

#intro {
    width: 200px;
    margin: auto auto 0;
}

.button-doble {
    display: inline-block;
    text-decoration: none;
    position: relative;
    margin-top: -30px;
    margin-bottom: 20px;
}

.button-doble .bottom {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: block;
    -webkit-transition: all .15s ease-out;
    -moz-transition: all .15s ease-out;
    -o-transition: all .15s ease-out;
    transition: all .15s ease-out;
}

.button-doble .top {
    position: relative;
    width: 100%;
    padding: 24px 34px 22px 34px;
    border: 2px solid #4D645F;
}

.button-doble .top .label {
    font-family: "Raleway";
    font-weight: 400;
    color: #282928;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all .15s ease-out;
    -moz-transition: all .15s ease-out;
    -o-transition: all .15s ease-out;
    transition: all .15s ease-out;
}

.button-doble:hover .bottom {
    left: 0;
    top: 0;
    background-color: #fff;
}

.button-doble:hover .top .label {
    color: #282928;
}

.button-border {
    position: absolute;
    background-color: #4D645F;
    -webkit-transition: all .25s ease-out;
    -moz-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
}

.button-doble:hover .top .button-border-left,
.button:hover .top .button-border-right {
    height: calc(100% + 2px);
}

.button-doble:hover .top .button-border-top,
.button:hover .top .button-border-bottom {
    width: calc(100% + 2px);
}

.button-border-left {
    left: -2px;
    bottom: -2px;
    width: 2px;
    height: 0;
}

.button-border-top {
    left: -2px;
    top: -2px;
    width: 0;
    height: 2px;
}

.button-border-right {
    right: -2px;
    top: -2px;
    width: 2px;
    height: 0;
}

.button-border-bottom {
    right: -2px;
    bottom: -2px;
    width: 0;
    height: 2px;
}

.center-elements {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carreras {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.carreras li {
    background: #881f1f;
}

.carreras li:hover {
    background: #ffffff;
}

.carreras .dropdown-item {
    color: #ffffff !important;
}

.carreras .dropdown-item:hover {
    color: #881f1f !important;
}

.navbar .navbar-toggler {
    color: #fff;
    background: #881f1f !important;
}

.font-raleway {
    font-family: "Raleway";
}

/*.navbar .nav-link {
    color: #881f1f !important;
}*/

.submenu .dropdown-menu a:not(.active) {
    color: #881f1f !important;
}

.menu .navbar {z-index: 1000 !important; }
.submenu .navbar {z-index: 900 !important; }

.social3 {
    position: absolute;
    top: 80px;
    right: 30px;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(2px + 2vw);
    z-index: 100;
    /*background-color: rgba(46, 46, 46, 0.5);*/
}

.menu-intermedio{
    color:#881f1f;
    font-size: 18px;
    font-family: "Raleway";
    font-weight: bolder;
    text-align: center;
}

.numero-contador{
    color:#ffffff;
    font-size: xx-large;
    font-weight: bolder;
    
}

.texto-contador{
    color:#ffffff;
    font-size: large;
    font-family: "Raleway";
    font-weight: bold;
    
}


@media only screen and (max-width: 600px){

    .card-devices{
        padding-left: 0;
        padding-right: 20;
        padding-bottom: 10;
    }

    .h2-devices{
        padding-top: 20px;
        margin-left: 10px;
    }

    
    .icon-contact{
        width: 60px;
    }

}

@media only screen and (min-width: 600px){

    .card-devices{
        padding-right: 80px;
    }

    .h2-devices{
        padding-top: 60px;
    }

    .icon-contact{
        width: 70px;
    }
}

@media only screen and (min-width: 1600px){

    .card-devices{
        padding-right: 400px;
    }

    .h2-devices{
        padding-top: 100px;
    }

}

.card-new-contact{
    border-top: 5px solid #c22f2f;
    border-bottom: 5px solid #c22f2f;
    border-radius: 0px;
    background-color: #ffffff;

}


.back-to-top {
    position: fixed;
    display: none;
    background: #f8f8f8;
    color: #121518;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
    border-radius: 5%;
}

.top2 {
    background: #f9db41;
    color: #121518;
    right: 15px !important;
    bottom: 65px !important;
}

.back-to-top:hover {
    color: #f9db41;
    background: #121518;
}

.back-to-top i {
    padding-top: 10px;
}