/*BOTONES 1*/

ol.or {
    width: 100%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    counter-reset: stepnr;
    --bgColor: rgba(245, 245, 245);
}

li.ur:nth-child(6n + 1) {
    --accent-color: #b8df4e
}

li.ur:nth-child(6n + 2) {
    --accent-color: #4cbccb
}

li.ur:nth-child(6n + 3) {
    --accent-color: #7197d3
}

li.ur:nth-child(6n + 4) {
    --accent-color: #ae78cb
}

li.ur:nth-child(6n + 5) {
    --accent-color: #7dc7a4
}

li.ur:nth-child(6n + 6) {
    --accent-color: #f078c2
}

ol li.ur {
    counter-increment: stepnr;
    width: 18rem;
    --borderS: 2rem;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: calc(var(--borderS) + 2rem);
    position: relative;
    background-color: #fff;
    border-radius: 10%;
}

ol li.ur::before,
ol li.ur::after {
    inset: 0;
    position: absolute;
    border-radius: 10%;
    border: var(--borderS) solid var(--bgColor);
    line-height: 1.1;
}

ol li.ur::before {
    content: counter(stepnr);
    color: var(--accent-color);
    padding-left: 10rem;
    font-size: 12rem;
    font-weight: 700;
    overflow: hidden;
}

ol li.ur::after {
    content: "";
    filter: drop-shadow(-0.25rem 0.25rem 0.0675rem rgba(0, 0, 0, 0.75)) blur(5px);
}

ol li.ur>* {
    width: 7.5rem
}

ol li.ur .icon {
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center
}

ol li.ur .title {
    font-size: 1em;
    font-weight: 600;
}

ol li.ur .descr {
    font-size: 0.8rem;
    font-weight: 300
}

.credits {
    margin-top: 2rem;
    text-align: right
}

.credits a {
    color: var(--color)
}



/*BOTONES 2*/


@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

.snip1566 {
    position: relative;
    display: inline-block;
    margin: 20px;
    margin-bottom: 30px;
    max-width: 190px;
    max-height: 190px;
    width: 100%;
    color: #fff;
    font-size: 16px;
    box-shadow: none !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.snip1566 *,
.snip1566:before,
.snip1566:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.snip1566:before,
.snip1566:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10%;
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: -1;
    border: 2px solid #bbb;
    border-color: transparent #bbb;
}

.snip1566 img {
    max-width: 100%;
    backface-visibility: hidden;
    vertical-align: top;
    border-radius: 10%;
    padding: 10px;
}

.snip1566 .blq {
    max-width: 100%;
    width: 170px;
    height: 170px;
    backface-visibility: hidden;
    vertical-align: top;
    border-radius: 10%;
    padding: 10px;
}

.snip1566 figcaption {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    opacity: 0;
    background-color: rgba(132, 105, 225, .9);
    border-radius: 10%;
}

.snip1566 i {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 4em;
    z-index: 1;
}

.snip1566 a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.snip1566:hover figcaption,
.snip1566.hover figcaption {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.snip1566:hover:before,
.snip1566.hover:before,
.snip1566:hover:after,
.snip1566.hover:after {
    border-width: 10px;
}

.snip1566:hover:before,
.snip1566.hover:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.snip1566:hover:after,
.snip1566.hover:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


/*BOTONES 3*/


.ag-courses_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 25px 50px 0 50px;
}

.ag-courses_item {
    -ms-flex-preferred-size: calc(33.33333% - 30px);
    flex-basis: calc(33.33333% - 30px);
    margin: 0 15px 30px;
    overflow: hidden;
    border-radius: .30rem;
    border: 1px solid rgba(0, 0, 0, .125);
    border-color: rgba(0, 0, 0, .3);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 10px;
}

.ag-courses-item_link {
    display: block;
    padding: 30px 15px;
    overflow: hidden;
    position: relative;
}

a:hover.ag-courses-item_link {
    text-decoration: underline;
    color: #fff;
}

a:hover.ag-courses-item_link div>span.fa-stack.fa-3x i.tot,
a:hover.ag-courses-item_link div>span.fas.fa-phone-alt.fa-stack-1x.fa-inverse i.tot {
    color: #1e4fad;
}

.ag-courses-item_link:hover .ag-courses-item_bg {
    -webkit-transform: scale(10);
    -ms-transform: scale(10);
    transform: scale(10);
}

.ag-courses-item_title {
    min-height: 75px;
    margin: 0;
    overflow: hidden;
    font-size: 1.2em;
    font-weight: 600;
    z-index: 2;
    position: relative;
}

.ag-courses-item_date-box {
    display: block;
    text-align: center;
    color: #FFF;
    z-index: 2;
    position: relative;
}

.ag-courses-item_date {
    color: #f9b234;
    -webkit-transition: color .5s ease;
    -o-transition: color .5s ease;
    transition: color .5s ease
}

.ag-courses-item_bg {
    height: 128px;
    width: 128px;
    background-image: linear-gradient(270deg, #b9aaee 0%, #1e104f 85%);
    z-index: 1;
    position: absolute;
    top: -130px;
    right: -75px;
    color: #fff;
    border-radius: 50%;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.ag-courses_item:nth-child(0n) .ag-courses-item_bg {
    background-color: #3ecd5e;
}

.ag-courses_item:nth-child(0n) .ag-courses-item_bg {
    background-color: #e44002;
}

.ag-courses_item:nth-child(0n) .ag-courses-item_bg {
    background-color: #952aff;
}

.ag-courses_item:nth-child(0n) .ag-courses-item_bg {
    background-color: #cd3e94;
}

.ag-courses_item:nth-child(0n) .ag-courses-item_bg {
    background-color: #4c49ea;
}



@media only screen and (max-width: 979px) {
    .ag-courses_item {
        -ms-flex-preferred-size: calc(50% - 30px);
        flex-basis: calc(50% - 30px);
    }

    .ag-courses-item_title {
        font-size: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .ag-format-container {
        width: 96%;
    }

}

@media only screen and (max-width: 639px) {
    .ag-courses_item {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }

    .ag-courses-item_title {
        min-height: 72px;
        line-height: 1;

        font-size: 24px;
    }

    .ag-courses-item_link {
        padding: 22px 15px;
    }

    .ag-courses-item_date-box {
        font-size: 16px;
    }
}





section.or {
    margin: 0;
    padding: 0;
    background-color: rgba(36, 19, 95, .9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card.ur {
    background-color: transparent;
    border: none;
}

.container.ur {
    width: 1000px;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.container .card.ur {
    position: relative;
    cursor: pointer;
}

.container .card.ur .face {
    width: 300px;
    height: 200px;
    transition: 0.5s;
}

.container .card.ur .face.face1 {
    position: relative;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transform: translateY(100px);
}

.container .card.ur:hover .face.face1 {
    background: #ff0057;
    transform: translateY(0);
}

.container .card.ur .face.face1 .content {
    opacity: 0.2;
    transition: 0.5s;
}

.container .card.ur:hover .face.face1 .content {
    opacity: 1;
}

.container .card.ur .face.face1 .content img {
    max-width: 100px;
}

.container .card.ur .face.face1 .content h3 {
    margin: 10px 0 0;
    padding: 0;
    color: #fff;
    text-align: center;
    font-size: 1.5em;
}

.container .card.ur .face.face2 {
    position: relative;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(-100px);
}

.container .card.ur:hover .face.face2 {
    transform: translateY(0);
}

.container .card.ur .face.face2 .content p {
    margin: 0;
    padding: 0;
}

.container .card.ur .face.face2 .content a {
    margin: 15px 0 0;
    display: inline-block;
    text-decoration: none;
    font-weight: 900;
    color: #333;
    padding: 5px;
    border: 1px solid #333;
}

.container .card.ur .face.face2 .content a:hover {
    background: #333;
    color: #fff;
}


/*ESTILO BORDE 1*/
.heading-frame {
    display: grid;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    grid-template-columns: max-content auto;
    grid-template-rows: auto max-content;
    background: #333 url(https://images.unsplash.com/photo-1497406703182-f805b8fbba89?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=7598c4ba7994f83dab58ae34f1abd023&auto=format&fit=crop&w=1584&q=80) center;
    background-size: cover;
    color: white;
    width: 400px;
    height: 300px;
    padding: 2rem;

    &:before,
    &:after {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        border: 1px solid white;
    }

    &:before {
        grid-row: 1 / 2;
        border-right: none;
        border-bottom: none;
    }

    &:after {
        grid-row: 1 / span 2;
        border-left: none;
    }

    h2 {
        margin: 1rem 1rem -.5rem 0;
        font-family: 'Pragati Narrow', sans-serif;
        font-size: 2rem;
        max-width: 100%;
    }
}