/****************************************************************
 * Universidad: USAM
 * File: Styles CSS
 * Cuenta: 1
 * Ultima Revision: 2026-08-10
 *****************************************************************/

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

@font-face {
  font-family: "Mission-Regular";
  src: url("https://canvas-rsc.ilumno.com/usam/prod/fonts/gothic/mission-gothic-regular.otf") format("opentype");
}

@font-face {
  font-family: "Mission-Delgada";
  src: url("https://canvas-rsc.ilumno.com/usam/prod/fonts/gothic/mission-gothic-thin.otf") format("opentype");
}

@font-face {
  font-family: "Mission-Light";
  src: url("https://canvas-rsc.ilumno.com/usam/prod/fonts/gothic/mission-gothic-light.otf") format("opentype");
}

@font-face {
  font-family: "Mission-Bold";
  src: url("https://canvas-rsc.ilumno.com/usam/prod/fonts/gothic/mission-gothi-bold.otf") format("opentype");
}

@font-face {
  font-family: "Mission-Black";
  src: url("https://canvas-rsc.ilumno.com/usam/prod/fonts/gothic/mission-gothic-black.otf") format("opentype");
}

input[name="quiz_group[pick_count]"],
input[name="quiz_group[question_points]"],
input[name="points_possible"],
input[name="quiz_group[name]"],
input.date_field {
  min-width: 40px !important;
  min-height: 30px !important;
}

body,
p,
a {
  font-family: "Mission-Regular";
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Mission-Regular";
}

h2.course-title {
  font-family: "Lato Extended", "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.centered {
  text-align: center !important;
}

.inline-link {
  display: inline !important;
  text-decoration: underline;
}

.column h2:not(:nth-child(1)) {
  margin-top: 40px;
}

input.input-micro {
  padding: 0 !important;
  padding-left: 5px !important;
}

.text-blue3 {
  color: #e8e8ee;
}

.background-black {
  background-color: #2d3b45;
}


.background-blue1 {
  background-color: #003a70;
}

/*-----------------------------------------------------------------------------------*/
/* Grid
/*-----------------------------------------------------------------------------------*/

.column {
  position: relative;
  padding-right: 10px;
  padding-left: 10px;
  width: 100%;
  float: left;
}

.row [class*="column"]+[class*="column"]:last-child {
  float: right;
}

.row [class*="column"]+[class*="column"].end {
  float: left;
}

.row {
  width: 100%;
  margin: 0 auto;
}

.row:after,
.row:before {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
  margin-bottom: 20px;
}

.row.collapse,
.row.collapse>.column {
  position: relative;
  padding-left: 0;
  padding-right: 0;
  float: left;
}

.row.collapse .row {
  margin-left: 0;
  margin-right: 0;
}

.row .row {
  width: auto;
  margin: 0 -0.1rem;
  max-width: none;
}

.row .row.collapse {
  width: auto;
  margin: 0;
  max-width: none;
}

.row .row:after,
.row .row:before,
.row .row.collapse:after,
.row .row.collapse:before {
  content: " ";
  display: table;
}

.row .row:after,
.row .row.collapse:after {
  clear: both;
}

.large-1 {
  position: relative;
  width: 8.33333%;
}

.large-2 {
  position: relative;
  width: 16.66667%;
}

.large-3 {
  position: relative;
  width: 25%;
}

.large-4 {
  position: relative;
  width: 33.33333%;
}

.large-5 {
  position: relative;
  width: 41.66667%;
}

.large-6 {
  position: relative;
  width: 50%;
}

.large-7 {
  position: relative;
  width: 58.33333%;
}

.large-8 {
  position: relative;
  width: 66.66667%;
}

.large-9 {
  position: relative;
  width: 75%;
}

.large-10 {
  position: relative;
  width: 83.33333%;
}

.large-11 {
  position: relative;
  width: 91.66667%;
}

.large-12 {
  position: relative;
  width: 100%;
}

.large-12+.large-12 {
  margin-top: 40px;
}

/*-----------------------------------------------------------------------------------*/
/* Tables
/*-----------------------------------------------------------------------------------*/

.row table {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.row table h5 {
  font-weight: 700 !important;
  padding: 0 !important;
  color: #e8e8ee;
  /* tertiary blue */
}

.row th,
.row td {
  border: 2px solid #2d3b45;
  /* black */
}

.row th {
  padding: 10px 5px;
}

.row td {
  padding: 5px 10px;
}

.row tbody tr:hover {
  background-color: #ffd18f;
  /* secondary orange */
}

.row tbody tr td:first-child {
  text-align: left;
}

.row tfoot tr p {
  font-size: 75%;
  line-height: 87.5%;
  text-align: left;
}

.responsive-embed,
.flex-video {
  position: relative;
  height: 0;
  margin: 0 auto;
  padding-bottom: 75%;
  overflow: hidden;
}

.responsive-embed iframe,
.responsive-embed object,
.responsive-embed embed,
.responsive-embed video,
.flex-video iframe,
.flex-video object,
.flex-video embed,
.flex-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.responsive-embed.widescreen,
.flex-video.widescreen {
  padding-bottom: 56.25%;
}

.hide_file_preview_link,
.hide_file_preview_link:hover,
.hide_file_preview_link:active {
  color: #00a8e1;
}

.row img {
  max-width: 100% !important;
}

/*
-------------------------------------------------------------------------------------------
INICIO ESTILOS USAM ACTUALIZADOS
-------------------------------------------------------------------------------------------
*/

/*IMPORT DE FUENTES Y USO EN LA NUEVA VERSION*/

.contentTotalPage {
  font-size: 16px;
  position: relative;
  overflow-x: hidden;
}

/*PERFIL DEL DOCENTE*/

.perfilFoto {
  padding: 10px;
  background: white;
  width: 300px;
  height: 300px;
  border-radius: 100%;
  display: inline-block;
}

.perfilFoto img {
  border-radius: 100%;
}

.informationProfile {
  padding-top: 15px;
}

/*FONDOS Y COLORES POR CARRERA*/

.bg-orange {
  background-color: #ffa400;
}

.bg-dark-gray {
  background-color: #2d3b45;
}

.bg-darkBlue {
  background-color: #003a70;
}

/* BACHILLERATO */

.bg-bach-primary {
  background-color: #04678a;
}

.bg-bach-secundary {
  background-color: #0384b2;
}

.bg-bach-dgSecundary {
  background-color: #e5f6fc;
}

.bg-bach-dgPrimary {
  background-color: #ccedf9;
}

.borderColorBach {
  border-color: #04678a !important;
}

.txt-bach {
  color: #04678a;
}

/* TECNICO */

.bg-tec-primary {
  background-color: #40810e;
}

.bg-tec-secundary {
  background-color: #5ca325;
}

.bg-tec-dgSecundary {
  background-color: #ecf0e9;
}

.bg-tec-dgPrimary {
  background-color: #e3f1db;
}

.borderColorTec {
  border-color: #40810e !important;
}

.txt-tec {
  color: #40810e;
}

/* LICENCIATURA */

.bg-lic-primary {
  background-color: #b74924;
}

.bg-lic-secundary {
  background-color: #ff622d;
}

.bg-lic-dgPrimary {
  background-color: #ffe0d6;
}

.bg-lic-dgSecundary {
  background-color: #ffefeb;
}

.borderColorLic {
  border-color: #b74924 !important;
}

.txt-lic {
  color: #b74924;
}

/* MAESTRIA */

.bg-ms-primary {
  background-color: #af2135;
}

.bg-ms-secundary {
  background-color: #ff5b84;
}

.bg-ms-dgSecundary {
  background-color: #fed9de;
}

.bg-ms-dgPrimary {
  background-color: #feeaed;
}

.borderColorMs {
  border-color: #af2135 !important;
}

.txt-ms {
  color: #af2135;
}

a:focus,
a:active:focus {
  outline: none !important;
}

.titleSection {
  position: relative;
  width: auto;
  display: inline-block;
  padding: 0px 12px 10px 70px;
}

.iconoTitulosTop {
  background-position: center;
  background-size: contain;
  width: 60px;
  height: 60px;
  display: inline-block;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: -14px;
}

.iconSmall {
  width: 20px;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  background-size: cover;
  position: relative;
  top: 0px;
  margin-left: 20px;
}

.downloadList {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconDescarga.svg");
  height: 20px;
}

.viewOnlineList {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconVerOnline.svg");
  height: 17px;
  width: 23px;
  top: 3px;
}

.columnRight {
  display: inline-block;
  width: 74%;
  padding: 10px;
}

.columnLeft {
  float: left;
  width: 24%;
  padding: 15px 10px;
}

.columnRight ul {
  list-style: none;
  margin: 0;
  text-align: right;
}

.columnRight ul li {
  width: auto;
  display: inline-block;
  padding-left: 15px;
  position: relative;
}

.columnRight ul li a {
  text-decoration: none !important;
  color: #003a70;
  display: inline-block;
  position: relative;
  font-size: 18px;
}

.columnRight ul.navPrincipal li a:after,
.menuLatera li a:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 3px;
  left: 50%;
  position: absolute;
  background: #003a70;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.menuLatera li a:after {
  background: #ffffff;
}

.columnRight ul li a:hover {
  cursor: pointer;
}

.columnRight ul.navPrincipal li a:hover:after,
.menuLatera li a:hover:after {
  width: 100%;
  left: 0;
}

.columnLeft .logo {
  height: 70px;
}

.columnRight ul:last-child {
  margin-top: 12px;
}

.logoU {
  /* background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/logoUni.png"); */
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/LogoUniversidadBlanco.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 50px;
  display: inline-block;
  background-position: left;
}

.iconMenu {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-size: cover;
  background-position: right;
}

.iconEnlaces {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/EnlaceRapidoAzul.svg");
}

.iconTama&ntilde;oFuente {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/FuenteOscuro.svg");
  display: none;
}

.submenuFontSize {
  position: absolute;
  background: #2d3b45;
  top: 33px;
  left: -70px;
  width: 122px;
  text-align: left !important;
  display: none;
  z-index: 1;
  margin: 0 !important;
}

.submenuFontSize li {
  color: white;
  padding: 10px;
  border-bottom: 1px solid white;
  width: 100% !important;
}

#overlayMenu {
  position: absolute;
  background: #2d3b45ba;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: all 0.5s ease;
}

#overlayMenu.active {
  opacity: 1;
  transition: all 0.5s ease;
  z-index: 2;
}

.menuLatera {
  position: absolute;
  top: 0;
  right: 0;
  background: #2d3b45;
  width: 300px;
  height: 100%;
  z-index: 3;
  transform: translateX(350px);
  color: white;
  transition: all 0.5s ease;
}

.menuLatera.active {
  transform: translateX(0);
  transition: all 0.5s ease;
}

.menuLatera p {
  padding: 10px 15px;
  margin: 0;
}

.menuLatera li {
  padding: 10px 15px;
  list-style: none;
}

.menuLatera li a {
  color: white;
  text-decoration: none !important;
  margin: 0;
  position: relative;
}

.boxReturn {
  position: absolute;
  width: 40px;
  height: 40px;
  left: -39px;
  background: #2d3b45;
  padding: 10px;
}

.boxReturn:hover,
.submenuFontSize li:hover {
  cursor: pointer;
}

.iconReturn {
  width: 20px;
  height: 20px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* IMAGEN Y TITULO DEL CURSO */

.contentWrapper {
  position: relative;
}

.imageBcg img {
  width: 100%;
  max-width: 100%;
  height: 70vh;
}

/* .imageBcg{
background-image: url('https://usanmarcos.instructure.com/files/1685642/download?download_frd=1');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 100%;
height: 90vh;
} */

.contentTitleOverlay {
  width: 50%;
  display: inline-block;
  position: absolute;
  top: 0;
  height: 100%;
}

.overlayTitle {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000000a3;
  margin: 0;
}

.actionMenuSec {
  position: absolute;
  width: 100%;
  bottom: 0;
}

.actionMenuSec>div {
  width: 25%;
  float: left;
  position: relative;
  padding: 20px 0 0 0;
}

.actionMenuSec>div:hover {
  cursor: pointer;
}

.actionMenuSec>div:first-child {
  background-color: #0000008c;
}

.actionMenuSec>div:nth-child(2) {
  background-color: #000000d6;
}

.actionMenuSec>div:nth-child(3) {
  background-color: #000000c7;
}

.actionMenuSec>div:last-child {
  background-color: #000000a3;
}

.contBox {
  text-align: center;
}

.contBox a {
  color: white;
  text-decoration: none !important;
  display: block;
}

.contBox p {
  color: white;
}

.iconMenuSec {
  width: 40px;
  height: 40px;
  display: inline-block;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.iconoCronograma {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/cronogramaMenu.svg");
}

.iconoForoSc {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/foroSocialMenu.svg");
}

.iconoInfoCarrera {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/informacionCarreraMenu.svg");
}

.iconoForoFaq {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/foroConsultasMenu.svg");
}

/* ICONOS PRINCIPALES TITULOS */
.iconTitleVideo {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoTeleclase.svg");
}

.iconoManualTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoManual.svg");
}

.iconoReglamentoTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoReglamento.svg");
}

.iconoInfCarreraTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoInformacionCarrera.svg");
}

.iconoFaqTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoPregunta.svg");
}

.iconCrongrmTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoCronograma.svg");
}

.iconoWelcomeTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoBienvenida.svg");
}

.iconDescTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoDescripcion.svg");
}

.iconObjTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoObjetivo.svg");
}

.iconEsqTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoEsquema.svg");
}

.iconCargaAcTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoCargaAcademica.svg");
}

.iconTimelineTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoLineaTiempo.svg");
}

.iconInfogTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoInfograma.svg");
}

.iconoContentTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoContenidoTematico.svg");
}

.iconoEvalcTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoEvaluacion.svg");
}

.iconBibliogTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoBibliografia.svg");
}

.iconoDiagnsTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoPruebaDiag.svg");
}

.iconLectTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoMaterialEstudio.svg");
}

.iconoTelecTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoTeleclase.svg");
}

.iconGlosaryTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoGlosario.svg");
}

.iconoLudicaTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoActLudica.svg");
}

.iconActivTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoActividad.svg");
}

.iconoAutoEvTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoAutoEvaluacion.svg");
}

.iconoPruebTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoPrueba.svg");
}

.iconoForoScTitle {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconoForoSocial.svg");
}

.titleCourse {
  color: white;
  font-size: 35px;
  position: absolute;
  padding: 20px;
  line-height: 1.3;
  text-shadow: 2px 2px #000000c7;
  top: 13%;
}

.fade-in {
  animation: fadeIn ease 8s;
  -webkit-animation: fadeIn ease 8s;
  -moz-animation: fadeIn ease 8s;
  -o-animation: fadeIn ease 8s;
  -ms-animation: fadeIn ease 8s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.borderBottomSpecialBach {
  border-bottom: 3px solid #04678a;
}

.borderBottomSpecialLic {
  border-bottom: 3px solid #b74924;
}

.borderBottomSpecialMs {
  border-bottom: 3px solid #af2135;
}

.borderBottomSpecialTec {
  border-bottom: 3px solid #40810e;
}

.linksLibros .ui-icon-extlink {
  display: none !important;
}

.linksLibros a {
  margin: 0 !important;
}

/* FOOTER*/

.contentFooter {
  padding: 10px;
  color: #ffffff;
}

.contenText {
  width: 80%;
  float: left;
}

.officeLink {
  width: 18%;
  display: inline-block;
  text-align: right;
}

.iconOffice365 {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/office-365Blanco.svg");
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  width: 100px;
  height: 40px;
  display: inline-block;
  position: relative;
  top: 18px;
}

.iconOffice365:hover {
  cursor: pointer;
}

/*GRADO ESTILOS*/

#cursoGrado .columnRight ul li a {
  color: white;
}

#cursoGrado .columnRight ul.navPrincipal li a:after,
#cursoGrado .menuLatera li a:after {
  background: #ffffff;
}

#cursoGrado .divider {
  margin-top: 0;
  margin-bottom: 25px;
}

.contentTopTitleG {
  padding: 24px 18px;
  color: white;
}

.sectionContentPage {
  padding: 45px 1%;
}

.visorPdfGoogle {
  overflow: auto;
  resize: vertical;
  border: 1px solid transparent;
  height: 100%;
}

.downloadPdf {
  padding: 0 10px;
}

.downloadPdf a {
  text-decoration: none !important;
}

.iconTama&ntilde;oFuenteClaro {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/FuenteClaro.svg");
  display: none;
}

.iconEnlacesClaro {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/enlacesRapidoBlanco.svg");
}

.viewPdfOnline {
  margin: 10px 0 !important;
}

.viewPdfOnline>div {
  position: relative;
  top: 12px;
}

.viewPdfOnline a {
  margin-right: 65px;
}

.viewPdfOnline .iconSmall {
  margin-left: 0;
}

a.hide_file_preview_link,
a.hide_file_preview_link:hover {
  font-size: 16px !important;
  text-decoration: none !important;
  color: #000000;
}

.notStyle,
.notStyle:hover,
.notStyle:focus,
.notStyle:active:focus {
  color: #000000;
  text-decoration: none !important;
}

/*ACORDEON CSS*/

.border-bach-primary {
  border: 1px solid #04678a;
}

#acordion {
  background-color: transparent;
}

.conteAcordeonItem {
  margin-bottom: 15px;
}

.accord-header {
  cursor: pointer;
  padding: 6px 12px;
  color: white;
}

.accord-content {
  display: none;
  background-color: white;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  padding: 10px;
}

.tableList li {
  list-style: none;
  border-bottom: 1px solid #003a70;
}

.tableList li:last-child {
  border: none;
}

.tableList li:hover {
  cursor: pointer;
}

.tableList li p {
  display: inline-block;
  width: 45%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-x: hidden;
  margin-bottom: 0;
}

.tableList li p a,
.tableList li p a:hover {
  color: #003a70;
  text-decoration: none !important;
}

.tableList li span {
  padding-top: 10px;
}

.imagenPlanaLeft {
  width: 100%;
  height: 300px;
  text-align: center;
}

.imagenPlanaLeft img {
  display: inline-block;
  width: auto;
  height: auto;
  position: relative;
}

.imageLarge {
  width: 100%;
  height: 500px;
  text-align: center;
}

.imageLarge img {
  width: 60%;
  display: inline-block;
  height: 100%;
}

#timeline {
  display: block;
}

.tl-item {
  position: relative;
  width: 48%;
  height: 100vh;
  height: 400px;
  color: #fff;
  overflow: hidden;
  display: inline-block;
}

.tl-item:before,
.tl-item:after {
  transform: translate3d(0, 0, 0);
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.tl-item:after {
  background: rgba(0, 58, 112, 0.7);
  opacity: 1;
  transition: opacity 0.5s ease;
}

.tl-item:before {
  background: linear-gradient(to bottom,
      rgba(0, 58, 112, 0) 0%,
      rgba(0, 58, 112, 1) 90%);
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, 0, 0) translateY(50%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl-item:hover {
  width: 48% !important;
}

.tl-item:hover:after {
  opacity: 0;
}

.tl-item:hover:before {
  opacity: 1;
  transform: translate3d(0, 0, 0) translateY(0);
  transition: opacity 1s ease, transform 1s ease 0.25s;
}

.tl-item:hover .tl-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.75s ease 0.5s;
}

.tl-item:hover .tl-year {
  top: 30%;
  transition: all 0.5s ease 0.5s;
}

.tl-item:hover .tl-bg {
  filter: grayscale(0);
}

.tl-content {
  transform: translate3d(0, 0, 0) translateY(25px);
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 1.618em;
  top: 40%;
  opacity: 0;
}

.tl-content p {
  margin: 5px 0;
}

.tl-year {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transition: all 0.2s ease 0.5s;
  padding: 10px;
}

.tl-year p {
  font-size: 1.728rem;
  line-height: 0;
}

.tl-bg {
  transform: translate3d(0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  transition: filter 0.5s ease;
  filter: grayscale(100%);
}

.imageModulo1 {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/Modulo1.svg");
}

.imageModulo2 {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/Modulo2.svg");
}

.imageModulo3 {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/Modulo3.svg");
}

.imageModulo4 {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/Modulo4.svg");
}

figure.portadaLibro {
  position: relative;
  overflow: hidden;
  margin: 10px 0;
  max-height: 475px;
  width: 100%;
  background: #000000;
  text-align: center;
}

figure.portadaLibro img {
  max-width: 100%;
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.portadaLibro>div {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  position: absolute;
}

figure.portadaLibro>div a {
  color: #ffffff;
}

figure.portadaLibro>div a {
  font-size: 50px;
  opacity: 0;
  top: 50%;
  position: relative;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  display: inline-block;
}

figure.portadaLibro>div::before {
  position: absolute;
  top: 30px;
  right: 50%;
  bottom: 30px;
  left: 50%;
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(255, 255, 255, 0.8);
  content: "";
  opacity: 0;
  background-color: #ffffff;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

figure.portadaLibro:hover img {
  opacity: 0.35;
}

figure.portadaLibro:hover>div a {
  opacity: 0.9;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

figure.portadaLibro:hover>div::before {
  background: rgba(255, 255, 255, 0);
  left: 30px;
  right: 30px;
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

/* Accordion ================================================== */

.acc__card {
  position: relative;
}

.acc__title {
  cursor: pointer;
  display: block;
  padding: 1em 0;
  position: relative;
  text-align: left;
  border-bottom: 1px solid;
  font-family: "Mission-Regular";
}

.acc__title::after {
  width: 8px;
  height: 8px;
  border-right: 1px solid #4a6e78;
  border-bottom: 1px solid #4a6e78;
  position: absolute;
  right: 10px;
  content: " ";
  top: 29px;
  transform: rotate(-45deg);
  transition: all 0.2s ease-in-out;
}

.acc__title.active::after {
  transform: rotate(45deg);
  transition: all 0.2s ease-in-out;
}

.acc__panel {
  background: #fff;
  margin: 0;
  padding: 1em;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  font-family: "Mission-Regular";
}

.acc__panel .iconSmall {
  margin-left: 0;
}

.acc__panel a {
  margin-right: 20px;
}

.accLecturas {
  margin-bottom: 20px;
}

.accLecturas .acc__title {
  color: white;
  padding: 1em 10px;
  border-bottom: 0;
}

.accLecturas .acc__title::after {
  width: 15px;
  height: 15px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  top: 18px;
  right: 20px;
}

.divider-opt {
  border: 2px solid;
  margin-bottom: 12px;
}

.imageLeftPst {
  text-align: left;
}

.botonAction {
  text-align: center;
}

.btn-Standar {
  width: 100%;
  display: inline-block;
  margin-top: 60px;
}

.btn-Standar a {
  padding: 11px 120px;
  display: block;
  color: white;
  text-decoration: none !important;
  text-align: center;
}

.dividerOptRight {
  position: relative;
  left: -58px;
}

.complementVideos {
  text-align: center;
}

.bb-bach {
  border-bottom: 2px solid #04678a;
  width: auto;
  display: inline-block;
}

.mg-0 {
  margin: 0 !important;
}

.titleCenter {
  text-align: center;
}

.titleCenter h2 {
  display: inline-block;
  width: auto;
}

.titleCenter h2 .divider {
  left: -25px;
  position: relative;
}

.titleCenter h2 .divider {
  left: -25px;
  position: relative;
  margin-bottom: 0;
}

.bottomAutoWidth {
  width: auto !important;
  margin-top: 20px;
}

/* LINEA DEL TIEMPO */

.t-timeline {
  list-style: none;
  margin: 0;
}

.t-timeline>li {
  margin-bottom: 60px;
}

.t-timeline .t-timeline-date {
  border-bottom: 2px solid #003a70;
  display: inline-block;
}

/* for Desktop */
@media (min-width: 640px) {
  .t-timeline>li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }

  .t-timeline>li .t-timeline-date {
    width: 110px;
    float: left;
    margin-top: 18px;
    border-bottom: none;
  }

  .t-timeline>li .t-timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #003a70 solid;
    padding-left: 30px;
    padding-bottom: 20px;
    padding-top: 12px;
  }

  .t-timeline>li .t-timeline-content p {
    line-height: 1.6;
  }

  .t-timeline>li .t-timeline-content:before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #ffa400;
    position: absolute;
    left: 106px;
    top: 25px;
    border-radius: 100%;
  }
}

.contenidoMostrar {
  display: none;
  background: #fff;
  margin: 0;
  padding: 1em;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  font-family: "Mission-Regular";
}

.elementClick:hover {
  cursor: pointer;
}

.elementClick a {
  text-decoration: none !important;
  font-size: 14px;
  padding-left: 10px;
}

/*GLOSARIO*/

.contentGlosary {
  text-align: center;
}

.book-content {
  width: 65%;
  min-width: 250px;
  max-width: 400px;
  height: 330px;
  position: relative;
  perspective: 1000px;
  transition: 1s;
}

.book {
  position: absolute;
  width: 65%;
  height: 100%;
  transition: 1s;
  transform-style: preserve-3d;
  transform-origin: left;
}

.face-front,
.face-back {
  width: 100%;
  height: 100%;
  background: white;
  padding: 15px;
  box-sizing: border-box;
  overflow: hidden;
}

.face-front {
  box-shadow: inset 3px 0px 20px -7px black;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.face-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateZ(-1px) rotateY(180deg);
  box-shadow: inset -3px 1px 20px -7px black;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

#portada {
  background: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/portadaGlosario.jpg");
}

#portada-back {
  background: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/portadaGlosario.jpg");
  margin: 0;
}

#portada,
#portada-back {
  background-size: 100% 100%;
}

/* Clases que se agregaran con Javascript */

.trnsf {
  transform: translateX(80px);
}

.trnsf-reset {
  transform: translateX(0px);
}

.book h4 {
  color: #003a70;
}

.complementsVideos:hover {
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .book-content {
    min-width: 600px;
    height: 650px;
    display: inline-block;
    left: 70px;
  }

  .trnsf {
    transform: translateX(250px);
  }

  .book {
    width: 80%;
  }

  .book iframe {
    min-width: 400px;
    position: absolute;
    left: 40px;
    bottom: 60px;
    max-width: 400px;
  }
}

.borderBottomSpecialms {
  border-bottom: 3px solid #af2135;
}

.borderBottomSpecialBach {
  border-bottom: 3px solid #04678a;
}

.borderBottomSpecialtec {
  border-bottom: 3px solid #40810e;
}

.borderBottomSpeciallic {
  border-bottom: 3px solid #b74924;
}

.goTop {
  position: fixed !important;
  z-index: 999;
  right: 0;
  bottom: 46px;
  transform: translateY(-50%);
  padding: 5px 15px;
  color: #fff;
  background: #000000fa;
  border: none;
  opacity: 0;
  transition: opacity 0.4s linear;
}

.iconTop {
  background-image: url("https://canvas-rsc.ilumno.com/usam/prod/img/iconosGeneralesUsamV4/iconTop.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 20px;
  height: 20px;
}

.goTop:hover {
  cursor: pointer;
}

.goTop.is-visible {
  opacity: 1;
}

.mg-Lft-0 {
  margin-left: 0;
}

.viewSpecial .iconSmall {
  margin-right: 8px;
}

.contentMapaImage {
  display: none;
}

.activeMap .contentMapaImage {
  display: block;
}



/****************************************************************
* Ajustar visualizaci&oacute;n del popup de actividades (GPLI - 15741)
* Fecha: 23-11-2023
* Developer: Producci&oacute;n Usam
* ****************************************************************/
/*POPUP ACTIVIDADES-TEXTO-IMAGENES*/
.popupBackdrop {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
}

.popupContainer {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 80%;
  max-width: 800px;
  background-color: white;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.popupContent {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 80%;
  max-width: 800px;
  background-color: white;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.popupIframeContainer {
  position: relative !important;
  padding-bottom: 56.25% !important;
  /* 16:9 aspect ratio */
  height: 0 !important;
  overflow: hidden !important;
}

.popupFrame {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

.popupClose {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: normal;
  font-size: 1em;
  font-family: Arial, Helvetica, sans-serif;
}

.popupClose:hover {
  background-color: #000;
}

/* Estilos espec&iacute;ficos para tipo text */
.popupTextContentStyle {
  width: auto;
  max-width: 80%;
}

/* Estilos espec&iacute;ficos para tipo image */
.popupImageContentStyle {
  width: auto;
  max-width: 100%;
}

.popupLink,
.popupLink-bach,
.popupLink-lic,
.popupLink-mae,
.popupLink-tec {
  display: block;
  line-height: 2.5em;
  text-decoration: none !important;
  margin-bottom: 10px;
  width: 80%;
  padding-left: 15px;
  color: #fff !important;
}

.popupLink-bach {
  background-color: #04678a;
}

.popupLink-bach:hover {
  background-color: #0384b2;
  text-decoration: none !important;
  color: #fff !important;
}

.popupLink-lic {
  background-color: #b74924;
}

.popupLink-lic:hover {
  background-color: #ff622d;
  text-decoration: none !important;
  color: #fff !important;
}

.popupLink-mae {
  background-color: #af2135;
}

.popupLink-mae:hover {
  background-color: #ff5b84;
  text-decoration: none !important;
  color: #fff !important;
}

.popupLink-tec {
  background-color: #40810e;
}

.popupLink-tec:hover {
  background-color: #5ca325;
  text-decoration: none !important;
  color: #fff !important;
}

.popupLink {
  color: inherit;
}

.popupLink:hover {
  text-decoration: none !important;
  color: #fff !important;
}

/*FIN POPUP ACTIVIDADES-TEXTO-IMAGENES*/

/*
----------------------------------------------------------------------------------------------
FIN ESTILOS ACTUALIZADOS USAM
----------------------------------------------------------------------------------------------
*/

/****************************************************************
  * Ocultar notificaciones
  * Developer: BG
  * ****************************************************************/
.hide-notification .profile-tab-notifications,
.hide-notification #left-side .notifications,
#left-side .notifications {
  display: none !important;
}

/****************************************************************
  * Ocultar detalles del libro de calificaciones
  * Fecha: 17-02-2023
  * Developer: JMV
  * ****************************************************************/
#student-grades-right-content {
  display: none !important;
}

/****************************************************************
  * Cambiar texto en opciones de Menu
  * Fecha: 03-05-2024
  * GLPI-22833 | GLPI-24342
  * Developer: JMV
  * ****************************************************************/
#announcements_on_home_page h1 {
  display: none;
}

/****************************************************************
  * Nuevo boton menu izquierdo
  * Fecha: 04-09-2024
  * GLPI: #30225, #30904
  * Developer: JMV
  * ****************************************************************/
.jmv_modal {
  background-color: rgba(0, 0, 0, .8);
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 1s;
  z-index: 101;
  overflow-y: auto;
  display: none;
}

.jmv_modal_body {
  width: 90%;
  max-width: calc(100% - 80px);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

body:has(#guia_estudiantil:target) {
  overflow: hidden;
  padding-right: 25px;
}

#guia_estudiantil:target {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.jmv_btn_close_modal {
  position: absolute;
  right: 6px;
  top: 5px;
  --wd: 40px;
  width: var(--wd);
  height: var(--wd);
  cursor: pointer;
  z-index: 2;
  background-color: #12121280;
  border-radius: 50%;
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jmv_btn_close_modal:hover {
  background-color: #000000;
}

/****************************************************************
* Nuevo boton menu izquierdo - Podcast
* Fecha: 26-05-2025
* GLPI: #42064
* Developer: JMV
* ****************************************************************/
body.primary-nav-expanded #global_nav_podcast_btn_link .menu-item-icon-container{
  width: 60px;
}


/****************************************************************
* BOTON WHATSAPP
* Fecha: 2026-04-17
* Funcion para cargar el boton de wasap para estudiantes
* GLPI: #57170
* Developer: JMV
* ****************************************************************/
.custom-btn-float-wp {
    position: fixed;
    bottom: 20px;
    left: 80px;
    width: 60px;
    height: 60px;
    padding: 5px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
}

.custom-btn-float-wp svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.custom-btn-float-wp-tooltip {
    position: absolute;
    left: 70px;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.custom-btn-float-wp-tooltip::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.custom-btn-float-wp:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.custom-btn-float-wp:hover .custom-btn-float-wp-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.custom-btn-float-wp-right{
    right: 30px;
    left: unset !important;
    width: 70px;
    height: 70px;
    background: unset !important;
    box-shadow: unset !important;
    padding: 0;
}
.custom-btn-float-wp-right .custom-btn-float-wp-tooltip {
    right: 80px;
    left: unset !important;
}

/****************************************************************
 * CSS NUEVA VERSION DE CURSOS 
 * Fecha: 28/07/2026
 * Nota: Este bloque aplica Solo a cursos con el nuevo diseno.
 * Autor: Produccion de Contenidos - Marco Madriz
 *****************************************************************/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
/************** Este @import se debe  colocar arriba en el global **************/

:root {
  --color-primary: #0374B5;
  --color-primary-dark: #025a8a;
  --color-secondary: #F5F5F5;
  --color-text: #2D3B45;
  --color-bg: #FFFFFF;
  --color-border: #C7CDD1;
  --color-hover: #E8F4F8;
  --accordion-closed-bg: #f2f4f6;
  --font-size-base: 16px;
  --font-scale: 1;
  --max-width: 1200px;
}

html,
body {
  margin: 0;
  padding: 0;
 
}

/* CANVAS HACK DIVS VACIOS*/
.canvas-hack {
  display: none !important;
}

/* ====== COLORES POR GRADO ACADEMICO ====== */
.curso-container.gradobach,
.curso-container#gradobach {
  --color-primary: #0374B5;
  --color-primary-dark: #025a8a;
}

.curso-container.gradolic,
.curso-container#gradolic {
  --color-primary: #f16622;
  --color-primary-dark: #d1581d;
}

.curso-container.gradomae,
.curso-container#gradomae {
  --color-primary: #ee394a;
  --color-primary-dark: #bb2d3a;
}

.curso-container.gradotec,
.curso-container#gradotec {
  --color-primary: #78ba42;
  --color-primary-dark: #5b8e32;
}

/* ====== ESTADOS DE ACCESIBILIDAD ====== */
.curso-shell.a11y-font-sm {
  --font-scale: 0.95;
}

.curso-shell.a11y-font-md {
  --font-scale: 1;
}

.curso-shell.a11y-font-lg {
  --font-scale: 1.15;
}

.curso-shell.a11y-theme-default {
  --color-bg: #FFFFFF;
  --color-text: #2D3B45;
  --color-secondary: #F5F5F5;
  --color-border: #C7CDD1;
  --color-hover: #E8F4F8;
}

.curso-shell.a11y-theme-dark {
  --color-bg: #0f1720;
  --color-text: #e7eef6;
  --color-secondary: #121c26;
  --color-border: #2a3a4a;
  --color-hover: #1b2a38;
  --accordion-closed-bg: #0f1720;
}

.curso-shell.a11y-theme-contrast {
  --color-bg: #000000;
  --color-text: #FFFFFF;
  --color-secondary: #000000;
  --color-border: #FFFFFF;
  --color-hover: #111111;
  --accordion-closed-bg: #000000;
}

.curso-shell.a11y-theme-contrast .content-section h2 {
  color: #ffffff !important;
}

.curso-shell.a11y-theme-contrast a.btn-actividad-small {
  color: #ffffff !important;
}

.curso-shell.a11y-theme-contrast a.btn-actividad-small:hover {
  color: var(--color-primary) !important;
}

.curso-shell.a11y-theme-contrast .tab-nav a {
   color: #ffffff !important;
}

.curso-shell.a11y-theme-contrast details.accordion[open] summary, .curso-shell.a11y-theme-contrast details.accordion-sesiones[open] summary  {
   color: #ffffff !important; 
}

.curso-shell.a11y-theme-contrast details.accordion summary::after,
.curso-shell.a11y-theme-contrast details.accordion-sesiones summary::after {
  border-left-color: #ffffff !important;
}


.curso-shell {
  font-size: calc(var(--font-size-base) * var(--font-scale));
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  line-height: 1.6;
  scroll-behavior: smooth;
  position: relative;
  container-type: inline-size;
  container-name: shell;
}

.curso-shell,
.curso-shell * {
  font-family: 'Roboto', sans-serif;
}

.curso-shell.a11y-theme-default .texto-link-accesibilidad {
  display: none;
}

.curso-shell.a11y-theme-dark .texto-link-accesibilidad,
.curso-shell.a11y-theme-contrast .texto-link-accesibilidad {
  display: inline !important;
}

.curso-shell .main-content a {
  color: var(--color-primary-dark);
}

.curso-shell .accessibility-menu a {
  color: var(--color-text);
}

/* ====== BASE ====== */
.curso-container {
  margin: 0 !important;
  padding: 0 !important;
}

.curso-container h2 {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  padding-bottom: 6px;
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 500 !important;
  font-size: 1.2rem !important;
}

.curso-container a,
.curso-container li a {
  text-decoration: none !important;
}

/* ====== TABLA EVALUACION - Accesibilidad: Modo oscuro ====== */
.curso-shell.a11y-theme-dark .tabla-evaluacion {
  background: var(--color-bg);
  border-color: var(--color-border);
}

.curso-shell.a11y-theme-dark .tabla-evaluacion thead th {
  background: var(--color-secondary);
}

.curso-shell.a11y-theme-dark .tabla-evaluacion tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

/* ====== TABLA EVALUACION - Accesibilidad: Alto contraste ====== */
.curso-shell.a11y-theme-contrast .tabla-evaluacion {
  background: #000;
  color: #fff;
  border-color: #fff;
}

.curso-shell.a11y-theme-contrast .tabla-evaluacion thead th {
  background: #000;
  color: #fff;
  border-bottom-color: #fff;
}

.curso-shell.a11y-theme-contrast .tabla-evaluacion td {
  border-bottom-color: #fff;
}

.curso-shell.a11y-theme-contrast .tabla-evaluacion tbody tr:nth-child(even) {
  background: #111;
}

.curso-shell.a11y-theme-contrast .tabla-evaluacion tbody tr:hover {
  background: #222;
}

.curso-shell.a11y-theme-contrast .tabla-evaluacion .badge {
  background: #000;
  border-color: #fff;
  color: #fff;
}

/* ====== BARRA DE ACCESIBILIDAD FLOTANTE====== */
.accessibility-controls {
  position: absolute;
  right: 4px;
  top: 105px;
  z-index: 900;
}

.accessibility-controls-inner {
  position: relative;
}

.accessibility-toggle-btn .icono-ui {
  width: 29px;
  height: 29px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.accessibility-toggle-btn:hover .icono-ui {
  transform: scale(1.08);
}

.accessibility-toggle-btn:active {
  transform: scale(0.95);
}

.accessibility-toggle-btn .texto-link-accesibilidad {
  display: none !important;
}

.accessibility-toggle-btn>span:first-child {
  display: inline-flex !important;
}

.accessibility-toggle-btn>span:nth-child(2),
.accessibility-toggle-btn>span:nth-child(3) {
  display: none !important;
}

.accessibility-menu {
  display: none;
  position: absolute;
  top: 0;
  right: 0px;
  min-width: 320px;
  max-width: 400px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#a11y-menu:target~.curso-shell .accessibility-menu {
  display: block;
}

.a11y-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.a11y-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.a11y-title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--color-text);
}

.a11y-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.a11y-pill {
  display: inline-block;
  padding: .5rem .8rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-secondary);
  font-size: .9rem;
  transition: all 0.2s ease;
}

.a11y-pill:hover {
  background: var(--color-primary);
  color: #ffffff !important;
  border-color: var(--color-primary);
}

.accessibility-menu .a11y-pill:not([data-a11y-font]):not([data-a11y-theme]) {
  background: #f6a016;
  border-color: #f6a016;
  color: #fff;
  font-weight: 600;
}

.accessibility-menu .a11y-pill:not([data-a11y-font]):not([data-a11y-theme]):hover {
  background: #d1581d;
  border-color: #d1581d;
}

/* @media (max-width: 768px) {
  .accessibility-controls {
    right: 15px;
    top: 90px !important;
  }

  .accessibility-toggle-btn {
    width: 50px;
    height: 50px;
  }

  .accessibility-toggle-btn .icono-ui {
    width: 30px;
    height: 30px;
  }

  .accessibility-menu {
    right: 65px;
    min-width: 280px;
  }
} */

@media (max-width: 480px) {
  .accessibility-menu {
    right: auto;
    left: -290px;
  }
  .accessibility-controls {
    right: 4px !important;
    top: 105px !important;
    
    
  }
  .accessibility-toggle-btn .icono-ui {
  width: 25px !important;
  height: 25px !important;
  }
}

/* ====== MAIN HEADER ====== */
.header-main {
  background: var(--color-primary);
  color: #fff;
}

.header-main-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-usam {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-img {
  height: 2.2em;
  width: auto;
  margin-right: 10px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .5rem;
}

.main-nav a {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 6px;
  text-decoration: none !important;
  color: #fff;
  font-weight: 600;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, .12);
}

.main-nav a.is-active {
  background: #fff;
  color: var(--color-primary);
}

/* ====== RESPONSIVE MENUS ====== */
.nav-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, .2);
}

.menu-mobile-text {
  display: none;
  font-weight: 500;
  margin-left: .35rem;
  white-space: nowrap;
  color: var(--color-primary);
}

.menu-mod-mobile-text {
  display: none;
  font-weight: 500;
  margin-left: .35rem;
  white-space: nowrap;
  color: #ffffff;
}

/* Menu principal mobile */
@container shell (max-width: 810px) {
  .header-main-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: .5rem;

  }

  .nav-btn-open-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    min-width: 42px;
    height: 42px !important;
    min-height: 42px;
    padding: 0 !important;
    flex: 0 0 42px;
     margin-left: 0 !important;
  }

  .menu-mod-mobile-text {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: .5rem;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;


  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    right: 1rem;
    background: var(--color-primary);
    border-radius: 12px;
    padding: .5rem;
    z-index: 999;
    width: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .main-nav ul {
    flex-direction: column;
    gap: .25rem;
  }

  .main-nav a {
    width: 90%;
    border-bottom: 1px solid var(--color-primary-dark);
  }
}

/* ====== EXCEPCION RESPONSIVE SOLO PARA TAREAS (tarea-usam) ====== */
.tarea-usam {
  container-type: inline-size;
}

@container (max-width: 768px) {
  .tarea-usam .header-main-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem;
  }

  .tarea-usam .nav-btn-open-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    min-width: 42px;
    height: 42px !important;
    min-height: 42px;
    padding: 0 !important;
    flex: 0 0 42px;
    margin-left: 0 !important;
  }

  .tarea-usam .menu-mod-mobile-text {
    display: inline-block;
    margin-left: auto;
    margin-right: .5rem;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
  }

  .tarea-usam .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    right: 1rem;
    background: var(--color-primary);
    border-radius: 12px;
    padding: .5rem;
    z-index: 999;
    width: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .tarea-usam .main-nav ul {
    flex-direction: column;
    gap: .25rem;
  }

  .tarea-usam .main-nav a {
    width: 90%;
    border-bottom: 1px solid var(--color-primary-dark);
  }
}

/* ====== SECONDARY HEADER (tabs) ====== */
.header-secondary {
  background: var(--color-bg);
  border-bottom: 4px solid var(--color-border);
}

.header-secondary-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1rem .25rem 1rem;
}

.tab-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tab-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  padding: .5rem .25rem;
  border-bottom: 4px solid transparent;
  position: relative;
  padding-bottom: 6px;
}

.tab-nav a:hover {
  color: var(--color-primary);
}

.tab-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}

/* Subrayado activo — manejado por JS (is-active) */
.tab-nav a.is-active::after {
  width: 100%;
}

.tab-nav a.is-active {
  color: var(--color-primary);
}

/* Menu secundario */
.header-secondary .nav-btn {
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  background: #fff;
}

.header-secondary .nav-btn-open-tabs,
.header-secondary .nav-btn-close-tabs {
  display: none;
}

/* Estados generales de apertura */
#menu-main:target ~ .curso-shell .header-main .main-nav {
  display: block;
}

#menu-main:target ~ .curso-shell .header-main .nav-btn-close-main {
  display: inline-flex;
}

#menu-main:target ~ .curso-shell .header-main .nav-btn-open-main {
  display: none;
}

/* Mobile menu secundario */
@container shell (max-width: 810px) {
  .header-secondary-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
  }

  .menu-mobile-text {
    display: inline-block;
  }

  .header-secondary .nav-btn-open-tabs,
  .header-secondary .nav-btn-close-tabs {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    flex: 0 0 42px;
  }

  .header-secondary .nav-btn-open-tabs {
    display: inline-flex;
  }

  .header-secondary .nav-btn-close-tabs {
    display: none;
  }

  .header-secondary .tab-nav {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    left: 1rem;
    width: min(320px, calc(100% - 2rem));
    z-index: 1000;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: .5rem .75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    gap: .25rem;
  }

  .header-secondary .tab-nav a {
    display: block;
    padding: .65rem .25rem;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
  }

  .header-secondary .tab-nav a:last-child {
    border-bottom: 0;
  }

  .header-secondary .tab-nav a:hover {
    background-color: #fafafa;
    border-radius: 7px;
  }

  #menu-tabs:target ~ .curso-shell .header-secondary .tab-nav {
    display: flex;
  }

  #menu-tabs:target ~ .curso-shell .header-secondary .nav-btn-open-tabs {
    display: none;
  }

  #menu-tabs:target ~ .curso-shell .header-secondary .nav-btn-close-tabs {
    display: inline-flex;
  }

  .tab-nav a.is-active::after {
    display: none;
  }

  .tab-nav a.is-active {
    color: var(--color-text);
  }
}

/* Overlay para cerrar menus al hacer clic fuera */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  cursor: default;
}

#menu-main:target~.curso-shell .nav-overlay,
#menu-tabs:target~.curso-shell .nav-overlay {
  display: block;
}

/* ====== TABS — 100% CSS con :target ====== */
.curso-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

/* Ocultar todas las secciones por defecto */
#main-content .content-section {
  display: none;
}

/* Mostrar la seccion que es :target */
#main-content .content-section:target {
  display: block;
  animation: fadeInTab 0.25s ease;
}

/* Mostrar is-default SOLO si no hay ningun :target activo en las secciones */
#main-content:not(:has(.content-section:target)) .content-section.is-default {
  display: block;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInNew {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ====== CARDS ====== */
.curso-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
}

/* ====== ACCORDION ====== */
details.accordion,
details.accordion-sesiones {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--accordion-closed-bg);
  margin: .75rem 0;
  overflow: hidden;
}

details.accordion[open],
details.accordion-sesiones[open] {
  background: var(--color-bg);
  animation: fadeInNew .4s ease;
}

details.accordion summary,
details.accordion-sesiones summary {
  cursor: pointer;
  padding: .9rem 1rem;
  font-weight: 700;
  position: relative;
  padding-right: 2.25rem;
  list-style: none;
}

details.accordion summary::-webkit-details-marker,
details.accordion-sesiones summary::-webkit-details-marker {
  display: none;
}

details.accordion summary::marker,
details.accordion-sesiones summary::marker {
  content: "";
}

details.accordion summary::after,
details.accordion-sesiones summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0;
  height: 0;
  border-left: .42rem solid var(--color-primary);
  border-top: .32rem solid transparent;
  border-bottom: .32rem solid transparent;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  transition: transform .18s ease;
}

details.accordion[open] summary {
  color: var(--color-primary);
}

details.accordion-sesiones[open] summary {
  color: var(--color-primary);
  font-size: 1.1rem;
  border-bottom: 5px solid var(--color-primary);
}

details.accordion[open] summary::after,
details.accordion-sesiones[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

details.accordion .acc-body,
details.accordion-sesiones .acc-body {
  padding: 0 1rem 1rem;
  animation: accFade .18s ease-out;
}

@keyframes accFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ====== MODAL POPUP ====== */
.curso-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.curso-modal-overlay:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.curso-modal-backdrop {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.curso-modal {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  margin: 2rem 1rem;
  background: var(--color-bg);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.curso-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.curso-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.curso-modal-close {
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--color-text);
  transition: all 0.2s;
}

.curso-modal-close:hover {
  background: var(--color-hover);
}

.curso-modal-body {
  padding: 1.5rem;
}

/* ========= ICONOS ========= */
.icono-ui {
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.5em;
  vertical-align: -0.12em;
  filter: grayscale(100%) brightness(0.55);
  max-width: 45px;
  max-height: 45px;
}

body.mce-content-body .icono-ui {
  width: 18px !important;
  height: 18px !important;
}

.chatbot-usam-icon img {
  width: 36px;
  height: 36px;
  display: block;
  margin: auto;
  padding: 0;
  color: var(--color-primary);
}

.chatbot-curso-usam-icon img {
  width: 36px;
  height: 36px;
  display: block;
  margin: auto;
  padding: 0;
  color: var(--color-primary);
}

.curso-shell.a11y-theme-dark .icono-ui,
.curso-shell.a11y-theme-contrast .icono-ui {
  filter: brightness(0) invert(1) contrast(1.1) !important;
}

.nodos-competencias-usam {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
 
}

.nodos-competencias-usam img {
  height: 150px;
  min-height: 100px;
  max-width: 100px;
  max-height: auto;
  
}

.nodo-usam {
  text-align: center;
}

.curso-card .file_download_btn, 
.ver-descargar-doc .file_download_btn {
  display: none !important;
}

/* ============== COLUMNAS ============= */
.row-content {
  --columns: 12;
  --gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin: 1rem 0;
  align-items: center;
}

.row-align-top {
  align-items: flex-start;
}

.row-align-center {
  align-items: center;
}

.row-align-bottom {
  align-items: flex-end;
}

[class^="col-"] {
  box-sizing: border-box;
  flex: 0 0 auto;
}

.col-1 {
  flex-basis: calc((100% / 12 * 1) - (var(--gap) * 11 / 12));
}
.col-2 {
  flex-basis: calc((100% / 12 * 2) - (var(--gap) * 10 / 12));
}
.col-3 {
  flex-basis: calc((100% / 12 * 3) - (var(--gap) * 9 / 12));
}
.col-4 {
  flex-basis: calc((100% / 12 * 4) - (var(--gap) * 8 / 12));
}
.col-5 {
  flex-basis: calc((100% / 12 * 5) - (var(--gap) * 7 / 12));
}
.col-6 {
  flex-basis: calc((100% / 12 * 6) - (var(--gap) * 6 / 12));
}
.col-7 {
  flex-basis: calc((100% / 12 * 7) - (var(--gap) * 5 / 12));
}
.col-8 {
  flex-basis: calc((100% / 12 * 8) - (var(--gap) * 4 / 12));
}
.col-9 {
  flex-basis: calc((100% / 12 * 9) - (var(--gap) * 3 / 12));
}
.col-10 {
  flex-basis: calc((100% / 12 * 10) - (var(--gap) * 2 / 12));
}
.col-11 {
  flex-basis: calc((100% / 12 * 11) - (var(--gap) * 1 / 12));
}
.col-12 {
  flex-basis: 100%;
}
@media (max-width: 860px) {
  [class^="col-"] {
    flex-basis: 100% !important;
  }
}

/* =============== VIDEOS / IFRAMES =============== */
.flex_video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
}

.flex_video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lecturas-html-usam {
  width: 100%;
  border: 0px;
  overflow: auto;
  height: 100% !important;
  margin-top: 5px;
}

/* Loader preview */
.preview-doc-usam .preview-loading-usam {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  z-index: 2;
}

.preview-doc-usam .preview-loading-usam::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border: 3px solid #d9dfe5;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spinPreviewUsam 0.8s linear infinite;
}

@keyframes spinPreviewUsam {
  to {
    transform: rotate(360deg);
  }
}

.preview-doc-usam .flex_video {
  position: relative;
}

.preview-doc-usam .lecturas-html-usam {
  width: 100%;
  height: 85vh;
  border: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  display: block;
}

.preview-doc-usam.is-loaded .lecturas-html-usam {
  opacity: 1;
}

.preview-doc-usam.is-loaded .preview-loading-usam {
  display: none;
}

/* Full Screen PDFs */
.preview-fullscreen-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(60, 60, 60);
  color: #fff;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  align-items: center;
}

.preview-doc-usam .flex_video:fullscreen,
.preview-doc-usam .flex_video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  background: #000;
}

.preview-doc-usam .flex_video:fullscreen iframe,
.preview-doc-usam .flex_video:-webkit-full-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ====== TABLA DE EVALUACION ====== */
.tabla-evaluacion-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.tabla-evaluacion {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.tabla-evaluacion thead th {
  text-align: left;
  padding: .85rem .9rem;
  background: var(--color-secondary);
  color: var(--color-text);
  font-weight: 800;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.tabla-evaluacion td {
  padding: .75rem .9rem !important;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.tabla-evaluacion tbody tr:last-child td {
  border-bottom: none;
}

.tabla-evaluacion tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.03);
}

.tabla-evaluacion tbody tr:hover {
  background: var(--color-hover);
}

.tabla-evaluacion .col-porcentaje,
.tabla-evaluacion .col-nota {
  text-align: right;
  white-space: nowrap;
  font-weight: 800;
}

.tabla-evaluacion .badge {
  display: inline-block;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-secondary);
  font-weight: 700;
  font-size: .9em;
}

/* ========== LINKS SIN ESTILOS ========== */

.noStyle,
.noStyle a,
.noStyle a:active {
  color: var(--color-text) !important;
  text-decoration: none !important;
}

.noStyle a:hover {
  color: #474747 !important;
}

/* ===== BOTON ACTIVIDAD ===== */
a.btn-actividad,
a.btn-actividad-small {
  display: inline-block;
  width: auto;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  background-color: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-primary);
  transition: all 0.25s ease-in-out;
  cursor: pointer;
}

a.btn-actividad-small {
  padding: 0.1rem 0.8rem;
  margin-top: 0.5rem;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

a.btn-actividad:hover {
  background-color: transparent;
  color: var(--color-primary);
}

a.btn-actividad-small:hover {
  background-color: #fbfbfb;
  color: var(--color-primary);
  transform: scale(1);
}

a.btn-actividad:active,
a.btn-actividad-small {
  transform: scale(0.97);
}

/* ================= PORTADA DEL CURSO ================= */
.hero-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(520px, 42%);
  padding: 8rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  z-index: 2;
}

.curso-titulo {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: auto;
}

.curso-subtitulo {
  font-size: 1.1rem;
  opacity: 0.95;
  margin: 0;
}

@container shell (max-width: 700px) {
  .hero-banner {
    height: 80vh;
    min-height: 420px;
  }

  .hero-title-panel {
    width: min(100%, 320px);
    padding: 1.5rem 1.25rem;
    justify-content: center;
  }

  .curso-titulo {
    font-size: clamp(1.8rem, 5vw, 2.3rem);
    line-height: 1.12;
    max-width: 8ch;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    text-wrap: balance;
  }
}

@container shell (max-width: 480px) {
  .hero-title-panel {
    width: min(100%, 260px);
    padding: 1.25rem 1rem;
    justify-content: center;
  }

  .curso-titulo {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
    line-height: 1.08;
    max-width: 7ch;
  }
}

/* ====== CHATBOT - AGENTE GPT ====== */
.chatbot-usam-icon {
  position: relative;
  margin-left: auto;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 998;
  cursor: pointer;
}

.chatbot-usam-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.chatbot-usam-icon:active {
  transform: scale(0.95);
}

.chatbot-usam-icon:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.chatbot-disabled {
  opacity: 0.5;
}

.chatbot-used {
  opacity: 0.85;
}

.chatbot-used:hover {
  opacity: 1;
}


.curso-shell.a11y-theme-contrast .chatbot-usam-icon {
  background-color: #000;
  color: #fff;
  border: 2px solid #fff;
}


/*  CHATBOT AWS ASISTENTE CON ICONO DEL TEMPLATE (NO JS)  */
.iframe-usamchat-body iframe {width: 600px; height: 513px;}
.iframe-usamchat-contenedor {position: absolute; right: 0; bottom: -11px !important;}


/* ======= TITULO Y SUBTITULO DE LECTURAS ======= */
#tab-lecturas h3 {
  margin-bottom: 0;
}

#tab-lecturas h3+p {
  margin-top: 0;
}

/* ========= PREVIEW DE DOCUMENTOS ============= */
.preview-doc-usam summary {
  list-style: none;
  cursor: pointer;
}

.preview-doc-usam summary::-webkit-details-marker {
  display: none;
}

.preview-doc-usam summary::before {
  /* content: "👁"; */
  margin-right: 6px;
  font-size: 1.3rem;
}

/* ========== SANGRIA FRANCESA ========== */
.sangria-fra p {
  margin-left: 2em;
  text-indent: -2em;
}

/* ========= JUEGOS ============= */
details.juegos summary {
  display: inline-flex;
  cursor: pointer;
  font-weight: 500 !important;
  background-color: var(--color-primary);
  width: auto !important;
  color: #fff;
  border-radius: 5px;
  border: solid 1px var(--color-primary);
  text-align: center;
  font-size: 1rem;
  margin-bottom: 5px;
  padding: 0.25rem 1rem;
}

details.juegos summary:hover {
  background-color: transparent;
  border: solid 1px var(--color-primary);
  color: var(--color-primary);
  animation: modalIn 0.4s ease;
}

details.juegos summary::-webkit-details-marker {
  display: none;
}

details.juegos summary::marker {
  content: "";
}

details.juegos summary::before {
  content: "";
  margin-right: 6px;
  font-size: 1.3rem;
}

details.juegos[open] summary {
  font-size: 0;
}

details.juegos[open] summary::after {
  content: attr(data-open);
  font-size: 1rem;
}

/* ============= BIBLIOGRAFIA DEL MODULO ============= */
.bibliografia-mod {
  background-color: var(--color-secondary);
}

/* ====== FULLSCREEN BOTON ====== */
.full-screen-usam {
  position: absolute;
  right: 10px;
  top: 72px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  font-size: 2rem;
}

.full-screen-usam:hover {
  transform: scale(1.15);
  color: var(--color-primary) !important;
}

.full-screen-usam:active {
  transform: scale(0.95);
}

@media (max-width: 480px) {
  .full-screen-usam {
    right: 10px;
    top: 75px;
    width: 28px !important;
    height: 28px !important;
  }
}

.curso-shell:fullscreen,
.curso-shell:-webkit-full-screen {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Modo fullscreen simulado (Canvas LMS) */
.curso-shell.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  overflow-y: auto !important;
  background: var(--color-bg) !important;
}

/* =========== LISTADOS INFO CARRERA ========== */
.listado-info {
  width: 100%;
  max-width: 900px;
}

.listado-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.listado-info ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 10px;
  border-bottom: 1px solid var(--color-text);
}

.listado-info ul li p {
  margin: 0;
  flex: 1;
}

.listado-info ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-text);
  white-space: nowrap;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.listado-info ul li a:hover {
  color: var(--color-primary);
}

/* =============== FOOTER / IR ARRIBA ============== */
.footer-bar-usam {
  background: var(--color-primary);
  color: #ffffff;
  position: relative;
  
  }

.footer-bar-inner-usam {
  max-width: var(--max-width);
  /* margin: 0 auto; */
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

.footer-bar-inner-usam p {
  font-size: 0.8rem;
}

.footer-bar-inner-usam .back-top-usam {
  margin: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.back-top-usam:hover {
  transform: scale(1.08);
  opacity: 1;
}

.back-top-usam img {
  width: 27px;
  height: 27px;
}

/* ======== FOTO PERFIL DOCENTE ========= */
.docente-usam {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin: auto;
}

.docente-usam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*=========== FIN CSS PLANTILLA NUEVA VERSION USAM 2026 ===================*/