/*
Theme Name: CRIE UTP - Recursos Informáticos Educativos
Theme URI: https://crie.utp.edu.co/
Version: 1.0
Author: CRIE
Author URI: https://crie.utp.edu.co/
Template: 1plantilla-estilos-utp
Tags: reacreditación, Centro, Recusos, Informáticos, Educativos, facultades, institucional, industrial, mecanica, ingenierías, ingenierias, artes, musica, música, agro, agroindustria, ciencias, ambientales, ambiental, educación, empresariales, salud, facultad, facultades, básicas, basicas, tecnología, tecnologia, agrarias, rudecolombia, doctorado, asopadres utp, asopadres, oficina, control, interno, disciplinario, interno disciplinario, control interno disciplinario
*/

/* ==========================================================================
   Estilos migrados del tema CRIE original
   ========================================================================== */


.titulositio h1{
    padding: 1% 5%;
}
section.menu-institucional #flags li>a {
    padding-right: 0;
    padding-left: 0;
}

.widget5,
.widget-videoinicial {
    height: 100%;
}

#flags {
    padding-top: 8px;
    width: auto !important;
}

#flags ul {
    display: flex;
}

/* Termina estilos banderas de traducción automática */
html {
    margin: 0 !important;
}

select {
    cursor: pointer;
    background-color: #eaeaea;
}

select:disabled,
option {
    background-color: white;
}

.has-fixed-layout> :not(caption)>*>* {
    padding: 8px 10px;
}

a {
    text-decoration: none;
    color: #004278;
}

a:hover {
    color: #203c57;
}

/* Iconos de servicios: el enlace ocupa toda la tarjeta para que el foco la rodee completa */
.focus-iconos a {
    display: block;
    border-radius: 5px;
}

/* Con mouse no se muestra el foco; con teclado sí (ver :focus-visible) */
.focus-iconos a:focus {
    border: 0;
    outline: none;
}

/* Mismo estilo del tema (negro + blanco) sin border, para que la tarjeta no se mueva */
.focus-iconos a:focus-visible {
    outline: 3px solid black;
    outline-offset: 1px;
    box-shadow: 0 0 0 1px white, 0 0 0 5px white;
}

a:focus {
    border: 3px solid black;
    outline: 1px solid white;
    border-radius: 5px;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

#header {
    width: 100% !important;
    margin: 0 auto;
}

::placeholder {
    font-size: 14px;
    color: rgb(139, 138, 138);
}

textarea {
    resize: none;
    height: 200px;
}

main {
  margin: 0 auto !important;
  max-width: 1920px !important;
}

.mas>p {
    color: #9c9b9c;
}

.noticia figure {
    width: 100%;
}

.input-group-text {
    padding: 5px;
}

:where(.table) th,
td {
    padding: 8px 10px;
}

td img {
    max-width: 300px;
}


.is-provider-youtube>div {
    height: 100%;
}

.wp-block-columns {
    margin: 0 auto;
}

.wp-block-button__link {
    padding: 10px 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 5px;
    background-color: var(--institucional);
    color: white !important;
}

iframe.instagram-media.instagram-media-rendered {
    height: revert-layer;
    width: 50ch !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.tituloin {
    text-align: center;
    background-color: #004278;
    padding: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #ffffff;
    height: 50px;
}

.tituloin>a {
    font-family: "Atkinson Hyperlegible", sans-serif !important;
    font-size: 15pt;
    color: #ffffff;
}

.tituloin a:visited,
.footer-crie a:visited {
    color: #D5D6D6 !important;
}

.tituloIcono {
    font-size: large;
    margin-top: 20px;
}

.line-tittle {
    width: 234px;
    border-bottom: 4px solid #EEC200;
    margin-bottom: 20px;
    height: 3px;
}

ul.accordion-collapse {
    list-style: none;
}

.imgPorDefecto img {
    width: 100%;
    height: auto;
}

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

/* Menus */

.menu-institucional div {
  max-width: 1920px;
}

.dropdown-menu {
    background-color: #004278;
    padding-bottom: 0;
    padding-top: 0;
}

.dropdown-menu li>a {
    color: white;
}

.dropdown-menu li>a:hover {
    background-color: #e9ecef;
    color: #212529;
}

.menu-estandar>li>a:focus {
    color: white;
}

.boton:focus {
    box-shadow: none;
}

/*Estilos cuerpo*/

.cuerpo {
    margin: 0 0 0 0;
}

.cuerpo-contenido {
    max-width: 1920px;
    margin: 0 auto;
}

.breadcrumb {
    background-color: #fff;
    border-radius: 0;
    display: inline-block;
}

.titulo h2 {
    font-size: 30pt;
    margin-top: 20px;
}

.primer_contenedor {
    margin-right: 1rem;
}

.imagen-post img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.imagen-banner>img {
    width: 100%;
    height: auto;
}

.imagen-post>a,
.imagen-noticias>a,
.imagen-crie>a {
    display: inherit;
}

.noticias {
    background-image: url('https://media2.utp.edu.co/oficinas/3/back.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.contenido-noticias {
    height: auto;
}

.contenido-noticias__imagen {
    height: 100%;
}

.contenidoNoticiasPost {
    padding: 0 30PX 20px 30px;
}

.titulonoti {
    background-color: #F2F2F2;
    margin: 0 0 20px 0;
    padding: 0.2em 1em;
    text-align: center;
}

.post-title,
.post-title-new {
    padding: 0 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-title a {
    font-size: 16pt;
    color: white;
    text-decoration: none;
}

.post-title-new a {
    font-size: 16pt;
    color: #004278;
    text-decoration: none;
}

.post-title-new a:visited,
.publicacion a:visited {
    color: #609 !important;
}

.post-title-new h3 {
    overflow: hidden;
    text-overflow: ellipsis;
}

.wp-block-contact-form-7-contact-form-selector {
    max-width: 120ch !important;
}

.espacio-titulo {
    padding-left: 3rem;
    padding-right: 3rem;
}

.content {
    padding-right: 1rem !important;
}

#breadcrumbs {
    padding: 10px 25px;
}

#breadcrumbs a {
    color: #004278;
}

.imagen-post-thumbnail img {
    width: 100%;
}

.block-titulo {
    font-family: "Atkinson Hyperlegible", sans-serif !important;
}

.block-titulo-crie {
    font-family: "Atkinson Hyperlegible", sans-serif !important;
    margin-bottom: 50px;
}

.block-titulo>a>strong {
    font-family: "Atkinson Hyperlegible", sans-serif !important;
}

.titulocategoria {
    background: var(--institucional);
    text-align: center;
    font-family: "Atkinson Hyperlegible", sans-serif !important;
    padding: 0.4em 1em;
}

.titulocategoria h2 {
    margin-bottom: 0;
    color: var(--blanco);
    text-decoration: none;
}

h3.has-background {
    padding: 20px;
}

/*First level item arrows*/

.wp-block-embed__wrapper {
    text-align: center;
}

.post-contentOrganigrama img {
    width: 100%;
}

img[usemap="#mapa"] {
    width: 100%;
}

#error404 {
    font-size: 30pt;
    color: #870602;
    text-align: center;
    margin-top: 10%;
}

#contacto404 {
    text-align: center;
}

#contacto404 p {
    margin: 0;
    padding: 0;
}

#contacto404 form {
    width: 50%;
    margin: 30px auto 0 auto;
    -webkit-box-shadow: 0px 0px 5px 1px rgb(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 5px 1px rgb(0, 0, 0, 0.1);
    box-shadow: 0px 0px 5px 1px rgb(0, 0, 0, 0.1);
}

.error404_img {
    width: auto;
    height: 300px;
}

.contacto404 {
    margin: 0 auto;
}


#contacto404 input,
#contacto404 textarea {
    width: 100%;
    border: 1px solid #929292;
}

#enviar {
    width: 30%;
}

#enviar input {
    background-color: #004278;
    border: 2px solid #004278;
    border-radius: 5px;
    width: 100%;
    color: #fff;
}

#enviar input:hover {
    background-color: #870602;
    border: 2px solid #fff;
    transition: 1s;
}

div.wpcf7-response-output {
    margin: 0;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    border: 2px solid #fff;
    background-color: #870620;
    border-radius: 5px;
    transition: 1s;
    color: #fff;
}

#activacion>span {
    padding-bottom: 35px;
}

#videoIni li {
    list-style: none;
}

#tituloVideo {
    color: #004278;
    padding: 25px;
}

.nuestrosServicios {
    max-width: 100% !important;
    margin: auto !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

section.firma img {
    max-width: 100%;
}

.iconos {
    text-align: center;
    padding: 0 0 25px 0 !important;
    position: relative;
}

.iconos img {
    max-width: 100px;
    margin: 0 auto;
}

.iconos div>div img:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    overflow: hidden;
    transition: 1s;
}

.mapa {
    padding: 0px;
    width: 100%;
    height: 300px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}

#textoIni {
    background-color: #F2F2F2;
    text-align: center;
    height: fit-content;
    margin-top: 3rem;
}

#textoIni h2 {
    color: #004278;
    margin: 0 0 15px 0;
}

#textoIni p {
    font-size: 18pt;
    line-height: 40px;
    letter-spacing: 3px;
    font-family: 'Atkinson Hyperlegible', sans-serif !important;
}

.widget1 p,
.widget-cabecera p {
    margin-bottom: 0;
}

li.widget {
    list-style: none;
}

.mejs-container,
.mejs-container .mejs-controls,
.mejs-embed,
.mejs-embed body {
    background-color: transparent !important;
}

#noticiasPrincipales div {
    padding: 5px;
}

#noticiasPrincipales a {
    color: #ffffff;
    text-decoration: none;
}

#linknoti {
    background-color: #860602;
}

#linkplantilla {
    background-color: #a00c24;
}

#linkmanual {
    background-color: #2A8192;
}

#linknoti,
#linkplantilla,
#linkmanual {
    text-align: center;
}

#linknoti a,
#linkplantilla a,
#linkmanual a {
    display: block;
}

#linknoti:hover,
#linkplantilla:hover,
#linkmanual:hover {
    opacity: 0.8;
    transition: 0.5s;
}

/* Centrar el contenedor de Cloudflare Turnstile */
.wpcf7-turnstile.cf-turnstile {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important; /* Espacio opcional abajo para separar del primer campo */
}


.formulario {
    text-align: center;
    padding: 20px 0;
    max-width: 90ch;
    margin: 0 auto;
}

p.formulario {
    padding: 20px;
}

.formulario div {
    padding-bottom: 10px;
} 

.wpcf7 .alert-primary {
    max-width: 120ch;
}

.wpcf7-date {
    width: 100%;
}

.tnp-subscription input.tnp-submit {
    background-color: #004278 !important;
    color: #fff;
    width: auto;
    height: auto;
    margin: auto !important;
}


.formulario button,
.formulario input,
.formulario optgroup,
.formulario select,
.formulario textarea {
    color: #000000;
    border-color: #004278;
    border-radius: 5px;
    border-width: 1px;
    padding: 5px;
}

input.input-utp {
    border-top-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 5px;
}

.formulario .wpcf7-submit {
    background: #004278;
    border: 0;
    border-radius: 5px;
    width: 20%;
    padding: 10px;
    color: white;
}

.formulario .wpcf7-submit:hover {
    background-color: #082847;
    color: #fff;
    transition: 1s;
}

.formulario .wpcf7-previous {
    background: transparent;
    border-color: #004278;
    border-radius: 5px;
    width: 20%;
    padding: 10px;
    color: #004278;
    margin-right: 20px;
}

.formulario .wpcf7-previous:hover {
    background: #004278;
    border-radius: 5px;
    width: 20%;
    padding: 10px;
    color: white;
}

.wpcf7-spinner {
    display: none;
}

:where(.wp-block-columns.is-layout-flex) {
    gap: 0;
}

:where(.is-layout-flex) {
    gap: 0;
}

.primer_contenedor {
    margin: 0;
}

.ps-5 {
    padding: 0 !important;
}

.imagen-post img {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.espacio-titulo {
    padding: 0 !important;
}

.px-4 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.cuerpo-contenido {
    padding: 5px;
}

.titulo {
    padding-left: 10px !important;
}

.cuerpo-contenido {
    padding: 0 5px 5px 5px;
}

h1 {
    font-size: 18px;
}

.formulario .wpcf7-submit {
    width: 27%;

}

.primer_contenedor {
    margin: 0;
}

.imagen-post img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.notiprincipal .espacio-titulo {
    padding: 0 !important;
}

.px-5,
.px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cuerpo-contenido {
    padding: 5px;
}

.titulo {
    padding-left: 10px !important;
}

.cuerpo-contenido {
    padding: 0 5px 5px 5px;
}

.contenidoNoticiasPost {
    padding: 0;
}

.text-red-underline :hover {
    text-decoration: underline;
}

.wp-block-column>p {
    padding-left: 8px
}

.border-utp {
    border-top-left-radius: 5px;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 5px;
}

.border-end-utp {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 0px !important;
}


/* Estilo para ocultar el logo del recaptchaV3 */
.grecaptcha-badge {
    visibility: hidden;
}
/* Estilos Firma Correo */

iframe#inlineFrameExample {
    height: revert-layer;
}

.post-content>iframe#inlineFrameExample {
    padding: 0;
}

/* Fin Estilos Firma Correo*/

/* Comienza estilos ancla span tips web y boton */
.span-tipsWeb {
    font-size: 18px;
}

.span-tipsWeb:hover {
    text-decoration: underline;
}

.btn-tipsWeb a:hover {
    outline-style: solid;
    background: transparent;
    color: var(--institucional);
}

.btn-tipsWeb a:hover {
    color: var(--institucional) !important;
}

/* Termina estilos ancla span tips web */
/*  */

/* Comienza iconos redes sociales */
.social-icon-blue img:hover {
    animation: tada;
    animation-duration: 0.5s;
}

.social-icon-blue {
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
}

@keyframes tada {
    0% {
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% {
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    100% {
        transform: scale3d(1, 1, 1);
    }
}

.tada {
    animation-name: tada;
}

/* Termina iconos redes sociales */


@media (min-width: 576px) {
    .cuerpoCont {
        padding: 0 30px;
    }

    .primer_contenedor {
        margin: 0;
    }

    .imagen-post img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .cuerpo-contenido {
        padding: 0 5px 5px 5px;
    }

    .notiprincipal .espacio-titulo {
        padding: 0 !important;
    }

    h1 {
        font-size: 20px;
    }

    .formulario .wpcf7-submit {
        width: 27%;
    }

    .block-titulo-crie {
        margin-bottom: 60px;
    }
}


@media (min-width: 768px) {
    .imagen-post img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    :where(.wp-block-columns.is-layout-flex) {
        gap: 2em;
    }

    .notiprincipal .espacio-titulo {
        padding: 0;
    }

    h1 {
        font-size: 26px;
    }

    .formulario .wpcf7-submit {
        width: 27%;
    }

    .block-titulo-crie {
        margin-bottom: 80px;
    }
}


@media (min-width: 992px) {
    .notiprincipal .espacio-titulo {
        padding: 0;
    }

    .tituloIcono {
        font-size: medium;
    }

    .formulario .wpcf7-submit {
        width: 27%;
    }
}


@media (min-width: 1200px) {
    .cuerpoCont {
        max-width: 1920px;
        padding: 0 30px;
    }
}

@media (min-width: 1400px) {
    .imagen-post img {
        width: 100%;
        height: 200px;
        object-fit: contain;
    }
}

#countdown .text {
    display: none;
}

.firma {
    text-align: center;
}

.firma:hover {
    transform: scale(1.1);
    transition: 1s;
}

/* CARRUSEL SWIPER */

.contenedor-noticias>.footer-noticias {
    background-color: #003e69;
    text-align: center;
    padding: 10px 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    border-radius: 5px;
}

.contenedor-noticias>.footer-noticias a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.titulo-noticias h3 {
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 15px;
}

.contenedor-noticias>.contenido-noticias-news {
    padding: 0 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 130px;
}

.contenido-noticias {
    margin: 15px 0 15px 0 !important;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 10px 0;
}

.criein .swiper-button-prev {
    left: -5px;
}

.criein .swiper-button-next {
    right: -5px;
}

.custom-prev,
.custom-next {
    top: 63% !important;
}

/* ================================
   Carrusel Destacadas (con dots)
   ================================ */

.carrusel-destacadas {
    position: relative;
    width: 100%;
    padding: 20px 0px;
}

.carrusel-destacadas .swiper-pagination {
    position: absolute;
    text-align: center;
    bottom: 2px;
}

.carrusel-destacadas .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 18px;
    height: 18px;
    margin: 0 8px;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carrusel-destacadas .swiper-pagination-bullet-active {
    background: var(--institucional);
    transform: scale(1.2);
    z-index: 1000;
}

.carrusel-destacadas .swiper-button-prev:hover,
.carrusel-destacadas .swiper-button-next:hover {
    color: var(--institucional);
}