@import url("https://fonts.googleapis.com/css2?family=Saira:wght@300;400;500;700&display=swap");
@import url("./menu.css");

body {
  /* height:100%; */
  font-family: "Saira", "Saira UNSAM", Lato, "Roboto Condensed", sans-serif;
  overflow-y: scroll;
  color: #000000;
  background-color: #ffffff;
}
h1 {
  font-size: 1.5rem;
}
h2 {
  font-size: 1.3rem;
}
h3 {
  font-size: 1.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
}

:root {
  --color-oficial: #1a527c;
  --color-ecyt: #23843e;
  --color-epyg: #cc0202;
  --color-eeyn: #8200e1;
  --color-eh: #fec72e;
  --color-ebyn: #007c8c;
  --color-eayp: #dc0096;
  --color-idaes: #4650ff;
  --color-ehys: #005eb2;
  --color-institutos: #6450e1;
  --color-iso: #9bb4d2;
}

.oficial a,
#noticias a {
  color: var(--color-oficial);
  text-decoration: none !important;
  background-color: #ffffff;
}
.oficial a:hover,
#noticias a:hover {
  color: #7ba0c4;
  background-color: #ffffff;
}

.oficial breadcrumb a {
  color: #7ba0c4;
  text-decoration: none;
  background-color: #ffffff;
}
.oficial breadcrumb a:hover {
  color: var(--color-oficial);
  text-decoration: underline;
  background-color: #ffffff;
}

.oficial2 a,
#noticias a {
  color: var(--color-oficial);
  text-decoration: none !important;
}
.oficial2 a:hover,
#noticias a:hover {
  color: #7ba0c4;
}

.oficial2 breadcrumb a {
  color: #7ba0c4;
  text-decoration: none;
}
.oficial2 breadcrumb a:hover {
  color: var(--color-oficial);
  text-decoration: underline;
}

.EPyG a {
  /*color: var(--color-oficial);*/
  color: black;
  text-decoration: none;
  background-color: #ffffff;
}
.EPyG a:hover {
  color: var(--color-epyg);
  background-color: #ffffff;
}

.EPyG breadcrumb a {
  color: #7ba0c4;
  text-decoration: none;
  background-color: #ffffff;
}
.EPyG breadcrumb a:hover {
  color: var(--color-epyg);
  text-decoration: underline;
  background-color: #ffffff;
}

.EPyG #cuerpo a {
  text-decoration: underline;
}

#cuerpo a {
  text-decoration: underline;
}

.EPyG #cuerpo a:hover {
  color: var(--color-epyg);
  background-color: #ffffff;
}

a {
  color: black;
}

#UUAA-home a,
#Noticias-home a {
  color: #000000;
  background-color: inherit;
}
#UUAA-home a:hover,
#Noticias-home a:hover {
  color: #777777;
  background-color: inherit;
}
#boton_menu_2 {
  position: fixed;
  right: 0;
  top: 0px;
  /* z-index: 2000; */
}

#boton_menu_2 button,
#boton_menu_3 button {
  background-color: var(--color-oficial);
  /*text-align: left;*/
  border-left: 5px solid #80abce;
  color: #ffffff;
  font-weight: 500;
  box-shadow: none;
  padding: 0.4rem 0.5rem;
  border-radius: 5px 0 0 5px;
  line-height: 14px;
}
#boton_menu_2 button:hover,
#boton_menu_3 button:hover {
  background-color: #80abce;
  color: #000000;
  border-left: 5px solid #16325c;
}
.navbar-nav .dropdown-menu {
  position: static;
}

.video-container {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.offcanvas-end {
  width: 223px;
}
.offcanvas-body {
  padding: 0;
}
.navbar {
  box-shadow: none;
  padding-top: 0;
}

div[class*="MenuHome"] .list-group-item {
  border: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 1rem;
  font-weight: 500;
  list-style: inherit;
  padding-left: 0;
}

div[class*="MenuHome"] .dropdown-menu {
  border-radius: 1.5rem;
}

div[class*="MenuHome"] .dropdown-menu ul {
  margin-bottom: 0;
  padding-left: 14px;
  list-style-image: url(/img/flechita_gris.png);
  font-weight: 400;
}

div[class*="MenuHome"] .sub-menu-item {
  font-weight: 300;
}

.MenuHome .nav-link {
  color: #ffffff;
  font-weight: 500;
  background-color: inherit;
}

.MenuHomeEPyG .nav-link {
  color: #ffffff;
  font-weight: 500;
  background-color: inherit;
}

.sub-menu-item:hover {
  z-index: 1;
  color: #616161;
  text-decoration: none;
  background-color: #f5f5f5;
}
.dropdown-menu,
.list-group-item {
  background-color: #eeeeee;
  color: inherit;
}

#MenuTop {
  background-color: #eeeeee;
  color: inherit;
  padding: 0.75rem;
}

#MenuTop .nav-link {
  text-transform: uppercase;
  font-size: 80%;
  font-weight: 500;
  color: #4f4f4f;
  padding: 0 5px;
  line-height: 1rem;
  background-color: inherit;
}
#MenuTop .nav-link:hover {
  color: #000000;
  background-color: inherit;
}

#MenuTop .nav-item:not(:last-child) {
  border-right: 1px solid black;
}

#MenuUUAA .offcanvas-body div {
  padding: 5px 20px;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #ffffff;
  font-weight: 500;
  background-color: inherit;
}

#MenuUUAA .offcanvas-body div:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

#MenuUUAA .offcanvas-body div span {
  font-weight: 300;
}

#menu-sec {
  font-size: 0.85rem;
}

#menu-sec strong {
  font-weight: 500;
}

.oficial #menu-sec h2 {
  font-size: 1.25rem;
  color: var(--color-oficial);
  background-color: inherit;
}

.EPyG #menu-sec h2 {
  font-size: 1.25rem;
  color: var(--color-epyg);
  background-color: inherit;
}

#menu-sec a {
  color: #444444;
  background-color: inherit;
}

.oficial #menu-sec a:hover {
  color: var(--color-oficial);
  background-color: inherit;
}

.EPyG #menu-sec a:hover {
  color: var(--color-epyg);
  background-color: inherit;
}

#menu-sec ul li ul {
  list-style-image: url(/img/li.png);
}

.nota-categoria-color {
  min-height: 40px;
}

.ag-hora {
  font-size: 80%;
  font-weight: 500;
  margin-bottom: 5px;
}
.ag-lugar {
  font-size: 80%;
  font-weight: 500;
}

.ag-detalle {
  font-size: 0.875rem;
  clear: both;
  padding-top: 7px;
}
.ag-detalle a {
  color: #444;
  background-color: inherit;
  font-weight: normal;
}
.ag-detalle a:hover,
#nota1 a:hover {
  color: var(--color-iso);
}

.evento-celda a {
  color: #444;
  background-color: inherit;
  line-height: 15px;
  font-weight: bold;
}

.evento-celda a:hover,
.contenido-noticias a:hover {
  color: #000;
}

.evento-celda {
  color: #666;
  font-size: 120%;
}

.ag-fecha {
  float: left;
  border: 1px solid #ccc;
  border-radius: 7px 7px;
  padding: 8px;
  font-size: 22px;
  line-height: 22px;
  text-align: center;
  color: var(--color-iso);
  background-color: inherit;
  margin-right: 7px;
}

.div_agenda_epyg .ag-fecha {
  color: var(--color-epyg);
}

.flex-row.row > [class*="col-"],
.flex-row2.row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.flex-row .contenido,
.flex-row2 .contenido {
  flex: 1 0 auto;
  flex-direction: column;
}

footer,
#parallax-container {
  color: #ffffff;
}
footer a,
#parallax-container a {
  color: #cccccc;
}
footer a:hover,
#parallax-container a:hover {
  color: #ffffff;
  background-color: inherit;
}
#redessociales-pie a {
  color: #ffffff;
  background-color: inherit;
}
#redessociales-pie a:hover {
  color: #cccccc;
}
#redessociales-top a {
  color: var(--color-oficial);
}
/* #redessociales-top-epyg a { color: var(--color-epyg); } */
#redessociales-top a:hover,
#redessociales-top-epyg a:hover {
  color: #cccccc;
}

.home-encabezado-separador {
  margin-top: -40px;
}
.home-encabezado-separador span {
  background-color: #fff;
  padding: 1px 4px 1px 4px;
  font-size: 1.25rem;
  color: #000000;
  font-weight: 700;
}

.encabezado-separador {
  margin-top: -45px;
  padding-left: 5px;
}

.encabezado-separador span {
  background-color: #fff;
  padding: 1px 4px 1px 4px;
  color: #000000;
  font-size: 1.5rem;
}

.encabezado-separador-h1 {
  margin-top: -40px;
  padding-left: 5px;
}

.encabezado-separador-h1 span {
  background-color: #fff;
  padding: 1px 4px 1px 4px;
  color: #000000;
  font-size: 1.5rem;
}

.breadcrumb {
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item:before {
  float: left;
  padding-right: 0.5rem;
  color: #757575;
  content: var(--mdb-breadcrumb-divider, ">")
    /*!rtl: var(--mdb-breadcrumb-divider, "/") */;
}

#logo-unsam-ch {
  display: none;
}

#redessociales-top,
#redessociales-top-epyg {
  white-space: nowrap;
}

.lista-menu br {
  display: block;
  content: "";
  margin-top: 7px;
}

.lista-submenu {
  line-height: 15px;
}

.lista-submenu br {
  display: block;
  content: "";
  margin-top: 3px;
}

/* ----- TABS ------ */

.tabs li {
  cursor: pointer;
}

.tab-contenido {
  display: none;
}

.activo {
  display: block;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.animacion {
  animation: fadeIn 1s;
}

.menu-unidades-academicas {
  display: none;
}

.button-menu {
  background-color: var(--color-oficial);
  border-left: 5px solid #80abce;
  color: #fff;
  font-weight: 500;
  box-shadow: none;
  padding: 0.4rem 0.5rem;
  border-radius: 5px 0 0 5px;
  line-height: 14px;
}

.container-oficial {
  margin-top: 35px;
}

.botones_sec a {
  display: inline-block;
  float: left;
  margin: 1px;
  padding: 5px 10px;
  font-size: 14px;
}

.img100 {
  max-width: 100%;
  height: auto;
}

.tab-link-a {
  background-color: none;
  border: solid transparent;
  border-width: 0 0 2px;
  border-radius: 0;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 500;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6) !important;
  padding: 17px 29px 16px;
  background: none !important;
}

.contenedor li {
  margin-left: 2em;
  list-style-image: url(/img/li2.png);
}

.nav-tabs {
  margin-bottom: 20px;
}

.nav-tabs .nav-link {
  text-transform: none;
}

.nav .active {
  color: var(--color-oficial) !important;

  border-color: var(--color-oficial) !important;
  /* color: #000!important; */
}

.link-color a {
  text-decoration: underline;
}

.tabla-bordes td {
  border: 1px solid black;
}

.tabla-oferta-academica tr:last-child {
  padding-bottom: 1rem;
}

.tabla-oferta-academica tr:last-child td {
  border-bottom: none !important;
}

.nop-li li {
  margin-left: 0;
}

.container-oferta table {
  display: flex;
  flex-direction: column;
}

.container-oferta tr {
  display: flex;
}

.container-oferta table tr:last-child {
  padding-bottom: 1rem !important;
}

.container-oferta table tr:last-child td {
  border-bottom: none !important;
}

.container-director {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #c3c3c3;
  background-color: #eee;
}

.container-director a {
  color: black;
}

.row-grupo .col-4 {
  display: flex;
  align-items: center;
}

.row-grupo .col-8 p:last-of-type {
  font-size: 14px !important;
}

.boton {
  font-family: "Saira", "Saira UNSAM", "Lato", "Roboto Condensed", sans-serif;
  font-weight: bold;
  text-decoration: none !important;
}

.noticia-destacada-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.noticia-destacada {
  padding: 1rem;
  max-width: 280px;
}

.noticia-destacada p {
  margin-bottom: 0.5rem;
}

.noticia-destacada a {
  font-size: 16px;
}

.noticia-destacada a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .container-director {
    margin: 2rem 0;
  }

  p {
    font-size: 90%;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1520px) {
  #MenuTop .nav {
    margin-right: 80px;
  }
}

@media only screen and (max-width: 768px) {
  .navbar-brand {
    display: none;
  }

  footer,
  #parallax-container {
    font-size: 0.8rem;
  }

  .menu-unidades-academicas {
    display: block;
  }

  .container-oficial {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .container-oferta {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media only screen and (min-width: 1200px) {
  .oculto-desktop {
    display: none !important;
  }
  .oculto-desktop-logo {
    display: none !important;
  }
}

@media only screen and (max-width: 1200px) and (min-width: 980px) {
  .oculto-desktop {
    display: none !important;
  }
  .oculto-desktop-logo {
    display: none !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 979px) {
  .oculto-desktop {
    display: none !important;
  }
  .oculto-movil-logo {
    display: none !important;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .oculto-movil {
    display: none !important;
  }
  .oculto-movil-logo {
    display: none !important;
  }
}

@media only screen and (max-width: 479px) {
  .oculto-movil {
    display: none !important;
  }
  .oculto-movil-logo {
    display: none !important;
  }
}

/* biblioteca buscador */

#buscadorBiblio {
  display: grid;
  grid-template-areas: "input input" "select select" "azul blanco";
  gap: 0.5rem;
  justify-items: space-evenly;
  max-width: 100%;
}

#buscadorBiblio input {
  grid-area: input;
  width: 100%;
  height: 25px;
}

.input-group > .form-control {
  min-height: 25px !important;
}

#buscadorBiblio select {
  grid-area: select;
  width: 100%;
  height: 25px;
  padding: 0 6px !important;
}

#buscadorBiblio button {
  grid-area: azul;
  height: 30px;
}

#buscadorBiblio a {
  grid-area: blanco;
  height: 30px;
}

#buscadorBiblio > * {
  border-radius: 0.25rem;
  font-size: 0.8rem;
}

.buscadorBiblio-container h4 {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.carousel-control-next, .carousel-control-prev {width: 10%}

#titulo-video {
	background-color: #16325C; 
	padding: 5px 15px;
}
#titulo-video a {
	color: #FFFFFF;
}
#titulo-video a:hover {
	color:#4AB2EF;
}