/* Fuentes */
@font-face {
    font-family: 'KGSecondChancesSketch';
    font-style: normal;
    font-weight: normal;
    src: url('Fuentes/KGSecondChancesSketch.ttf');
}

@font-face {
    font-family: 'KGSecondChancesSolid';
    font-style: normal;
    font-weight: normal;
    src: url('Fuentes/KGSecondChancesSolid.ttf');
}


body {
    background-color: aliceblue;
}

/* pizarron */
.pizarra {
    position: relative;
    width: 100%;
    margin: auto;
}

.pizarra_exa li {
    color: #fff;
    border: none;
    text-align: left;
}

.pizarra h1 {
    font-family: KGSecondChancesSketch;
    /* font-size: 4vw; */
}

.font_pizarra {
    font-family: KGSecondChancesSketch;
    /* font-size: 3vw; */
}

.font_pizarra_2 {
    font-family: KGSecondChancesSolid;
    /* font-size: 3vw; */
}

.pizarra h2 {
    font-family: KGSecondChancesSolid;
    /* font-size: 2vw; */
}

.pizarra figure img {

    display: block;
    width: 100%;
    height: auto;
}

.pizarra_middle {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    /* -ms-transform: translate(-50%, -50%); */
}

.video {
    width: 95%;
    height: 590px;
}

.video_modulo {
    overflow-y: scroll;
    height: 590px;
}

.carousel-item {
    transition: 2s !important;
}

.card-index {
    width: 400px;
    min-height: 800px;
}

.card-index-two {
    width: 400px;
    min-height: 680px;
    margin-bottom: 25px;
}

/* .card-body .btn {
    position: absolute;
} */

/* end pizarron */


/* menu index */
.menu_index {
    padding-right: 5px;
}

.menu_index a {
    color: black;
}

.menu_index a:hover {
    color: rgb(47, 128, 53);
}

.menu_index .img_index {
    max-height: 75px;
    position: absolute;
    margin-top: -25px;
}

.menu_index figure img {
    max-height: 75px;
    position: absolute;
    margin-top: -25px;
}

/* end menu index */
/* post it */
.post {
    position: relative;
    width: 100%;
    margin: auto;
}

.post_image {
    display: block;
    width: 100%;
    height: auto;
}

.post_middle {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    /* -ms-transform: translate(-50%, -50%); */
}

.post-title {
    font-family: KGSecondChancesSolid;
}

.post_text {
    color: white;
    font-size: 16px;
    padding: 16px 32px;
}

/* end post it */

/* index/Cursos y Capacitaciones  */


/* end index/Cursos y Capacitaciones  */

/* dropdown menu */
.dropbtn {

    cursor: pointer;
}

/* Dropdown button on hover & focus */

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: fixed;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

/* end dropdown */
/* Header image */

/* Place text in the middle of the image */
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;

}

.invalid-feedback {
    color: #fff;
}

@media(min-width: 1080px) {
    .pizarra_text {
        color: white;
        font-size: 16px;
        padding: 16px 32px;
    }

    .pizarra_exa li {
        color: #fff;
        border: none;
        text-align: left;
        font-size: initial !important;
    }
}

@media(max-width: 1079px) {
    .pizarra_text {
        color: white;
        font-size: 16px;
        /* padding: 16px 32px; */
    }
}

@media (max-width: 380px) {
    .pizarra_text {
        color: white;
        font-size: 16px;
        /* padding: 16px 32px; */
    }

    .form-group p {
        font-size: 8px;
        /* display: none; */
    }

    .form-header h6 {
        font-size: 8px !important;
    }

    .form-header h1 {
        font-size: 15px !important;
    }

    .pizarra_btn {
        align-self: center;
        background: transparent;
        padding: 1rem 1rem;
        margin: 0 1rem;
        transition: all 0.5s ease;
        color: #ffffff;
        font-size: 10px !important;
        letter-spacing: 1px;
        outline: none;
        box-shadow: 20px 38px 34px -26px hsla(0, 0%, 100%, 0.5);
        border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;

        & h1 {
            margin-top: -5rem;
            text-align: center;
            color: #ffffff;
            font-size: 3rem;
        }

        &:hover {
            box-shadow: 2px 8px 4px -6px hsla(0, 0%, 100%, 0.7);
        }

        &.dashed.thick {
            border: solid 2px #ffffff;
        }
    }

}

/* End header image */
@media (min-width: 768px) {
    .titulos h1 {
        font-family: KGSecondChancesSketch;
        font-size: 4vw;
    }

    .form-group p {
        font-size: 9px;
    }

    .form-header h1 {
        font-size: 20px !important;
    }

    .form-header h6 {
        font-size: 10px !important;
    }

    .pizarra_exa li {
        color: #fff;
        border: none;
        text-align: left;
        /* font-size: initial!important;  */
    }

}

@media (max-width: 720px) {
    .pizarra_exa li {
        color: #fff;
        border: none;
        text-align: left;
        font-size: 10px;
    }

    .titulos h1 {
        font-family: KGSecondChancesSketch;
        font-size: 40px;
    }

    .form-group p {
        font-size: 9px;
    }

    .video {
        width: 95%;
        height: 370px;
    }

    .video_modulo {
        overflow-y: scroll;
        height: 370px;
    }

    .form-header h6 {
        font-size: 10px !important;
    }

    .form-header h1 {
        font-size: 20px !important;
    }
}

@media (max-width: 992px) {
    .menu_index .img_index {
        max-height: 75px;
        position: inherit;
        margin-top: -15px;
        float: right;
    }
}

@media (min-width: 577px) {
    .pizarra_exa li {
        color: #fff;
        border: none;
        text-align: left;
        font-size: 10px;
    }

    .pizarra_btn {
        align-self: center;
        background: transparent;
        padding: 10px;
        margin: 0 1rem;
        transition: all 0.5s ease;
        color: #ffffff;
        font-size: 1.5rem;
        letter-spacing: 1px;
        outline: none;
        box-shadow: 20px 38px 34px -26px hsla(0, 0%, 100%, 0.5);
        border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;

        & h1 {
            margin-top: -5rem;
            text-align: center;
            color: #ffffff;
            font-size: 3rem;
        }

        &:hover {
            box-shadow: 2px 8px 4px -6px hsla(0, 0%, 100%, 0.7);
        }

        &.dashed.thick {
            border: solid 2px #ffffff;
        }
    }
}

@media (min-width: 1020px) {
    .form-group p {
        font-size: 15px;
    }

    .form-header h1 {
        font-size: 40px !important;
    }

    .form-header h6 {
        font-size: 20px !important;
    }

    .pizarra {
        position: relative;
        width: 100% !important;
        margin: auto;
    }

}

@media (max-width: 420px) {
    .video {
        width: 95%;
        height: 210px;
    }

    .pizarra_exa li {
        color: #fff;
        border: none;
        text-align: left;
        font-size: 8px !important;
    }

    .video_modulo {
        overflow-x: scroll;
        display: flex;
    }

    .titulos h1 {
        font-family: KGSecondChancesSketch;
        font-size: 25px;
    }

    .form-group p {
        font-size: 8px;
    }
}

@media (max-width: 576px) {
    .nav_sm {
        float: right;
        display: block;
    }

    .form-header h1 {
        font-size: 15px !important;
    }

    .form-header h6 {
        font-size: 8px !important;
    }

    .pizarra h1 {
        font-family: KGSecondChancesSketch;
        font-size: 4vw;
    }

    .form-group p {
        font-size: 8px;
    }

    .pizarra_btn {
        align-self: center;
        background: transparent;
        padding: 10px;
        margin: 0 1rem;
        transition: all 0.5s ease;
        color: #ffffff;
        font-size: 1rem;
        letter-spacing: 1px;
        outline: none;
        box-shadow: 20px 38px 34px -26px hsla(0, 0%, 100%, 0.5);
        border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;

        & h1 {
            margin-top: -5rem;
            text-align: center;
            color: #ffffff;
            font-size: 3rem;
        }

        &:hover {
            box-shadow: 2px 8px 4px -6px hsla(0, 0%, 100%, 0.7);
        }

        &.dashed.thick {
            border: solid 2px #ffffff;
        }
    }

    /* pizarron */

    .card-index {
        width: 300px;
    }

    .card-index-two {
        width: 300px;
        min-height: 680px;
        margin-bottom: 25px;
    }

    .pizarra figure img {
        height: 300px !important;
    }
}

.miniatura {
    border: none;
    min-height: 354px;
    /* min-width: 434px; */
    transition: box-shadow .5s;
}

.miniatura:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.vertodo {
    min-height: fit-content;
    /* min-width: 434px; */
    transition: background-color .5s;
}

.vertodo:hover {
    background-color: #00000008;
}

.visto_container {
    position: relative;
    width: 100%;
}

.visto_image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.visto_middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.visto_container:hover .visto_image {
    opacity: 0.3;
}

.visto_container:hover .visto_middle {
    opacity: 1;
}

.visto_text {
    background-color: #04aa3b;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
}

.back:hover {
    color: #b5cc36;

}

.inscribe:hover {
    color: #3677cc;
    cursor: pointer;

}

/* end media < 1200px */
/* cards */
:root {
    --surface-color: #fff;
    --curve: 40;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    background-color: #fef8f8;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin: 4rem 0vw;
    padding: 0;
    list-style-type: none;
}

.card-img-index {
    display: block;
}

.card {
    position: relative;
    display: block;
    height: 100%;
    max-height: 400px;
    max-width: 400px;
    border-radius: calc(var(--curve) * 1px);
    overflow: hidden;
    text-decoration: none;
}

.card__image {
    width: 100%;
    height: auto;
    margin-bottom: 130px;
}

.card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    border-radius: calc(var(--curve) * 1px);
    background-color: var(--surface-color);
    transform: translateY(100%);
    transition: 0.2s ease-in-out;
}

.card:hover .card__overlay {
    transform: translateY(0);
}

.card__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2em;
    padding: 2em;
    border-radius: calc(var(--curve) * 1px) 0 0 0;
    background-color: var(--surface-color);
    transform: translateY(-100%);
    transition: 0.2s ease-in-out;
}

.card__arc {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 100%;
    right: 0;
    z-index: 1;
}

.card__arc path {
    fill: var(--surface-color);
    d: path("M 40 80 c 22 0 40 -22 40 -40 v 40 Z");
}

.card:hover .card__header {
    transform: translateY(0);
}

.card__thumb {
    flex-shrink: 0;
    width: 50px;
    height: auto;
    border-radius: 50%;
}

.card__thumb__zapata {
    flex-shrink: 0;
    width: 70px;
    height: auto;
    /* border-radius: 50%; */
}

.card__title {
    font-size: 1.5em;
    margin: 0 0 0.3em;
    color: #6a515e;
}

.card__tagline {
    display: block;
    margin: 1em 0;
    font-family: "MockFlowFont";
    font-size: 0.8em;
    color: #d7bdca;
}

.card__status {
    font-size: 0.8em;
    color: #95cea6;
}

.card__description {
    padding: 0 2em 2em;
    margin: 0;
    color: #0c0c0c;
    /*   font-family: "MockFlowFont"; */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16/9 ratio */
    padding-top: 30px;
    /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    width: 100%;
    height: 100%;
}

.avatar {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.avatar_college {
    vertical-align: middle;
    width: 100%;
    height: auto;
    border-radius: 10%;
    /* display: block; */
}

.frmOut button {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border: none;
}

.frmOut button:hover {
    color: rgb(47, 128, 53);
}

figure {
    padding: 0;
    position: relative;
}

figure img {
    top: 0;
    left: 0;
    position: absolute;
    max-height: 100%;
}

figure:before {
    display: block;
    content: "";
    padding-top: 69.25%;
}

figure.is-loaded img {
    animation: fadeIn 0.38s linear 1s forwards;
}

figure.is-loading {
    position: relative;
}

figure.is-loading:after {
    content: '';
    display: block;
    background-color: #ddd;
    font-size: 30px;
    text-indent: -9999em;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 0%;
    margin: auto;
    position: absolute;
    top: 0;
    margin-left: -0.5em;
    margin-top: -0.5em;
    transform: translateZ(0);
    animation: loading 1.7s infinite ease;
}

@keyframes loading {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.post {
    
    background-color: #fef8f8;
}

.post figure img {
    opacity: 0;
}

.post figure.is-loaded img {
    animation: fadeIn 0.38s linear 0.4s forwards;
}

.post figure.is-loading {
    position: relative;
}

.post figure.is-loading:after {
    content: '';
    display: block;
    color: #ddd;
    font-size: 30px;
    text-indent: -9999em;
    overflow: hidden;
    width: 100%;
    border-radius: 5px;
    height: 100%;
    margin: auto;
    position: absolute;
    top: 0;
    margin-left: -0.5em;
    margin-top: -0.5em;
    transform: translateZ(0);
    animation: loading 4s infinite ease;
}