.content-header {
  padding: 0 !important;
}

section.content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
section.content > .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#navbar-mnuppal {
  min-height: 100px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f7f5f5;
  margin-left: -30px;
  padding: 5px 10px;
  gap: 10px;
}

.ul-menu li {
  list-style: none;
  bottom: 16px;
}

.navbar a {
  display: flex;
  color: #32244a;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  position: relative;
}

.navbar .menu a:hover {
  transition: 0.5s;
  background-color: #32244a;
  color: white;
}

a.active-menu {
  transition: 0.5s;
  background-color: #32244a;
  color: white !important;
}

.menu-padre {
  cursor: pointer;
}

.dropdown:has(.dropdown-content a.active-menu) .menu-padre {
  transition: 0.5s;
  background-color: #32244a;
  color: white !important;
}

.navbar .logo img {
  max-height: 80px;
}

.navbar .menu-perfil {
  display: flex;
  justify-content: flex-end !important;
  align-items: center;
  flex-grow: 1;
}

.navbar .menu-perfil .dropdown-content {
  right: 0;
}

.menu-perfil .menu-padre:hover img {
  filter: brightness(100);
}

.menu-login-navbar img {
  width: 20px;
  filter: brightness(100);
}


.navbar .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.navbar .menu .dropdown {
  position: relative;
}

.navbar .menu .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f7f5f5;
  min-width: 160px;
  z-index: 1;
  white-space: nowrap;
  max-height: 80vh;
  overflow-y: auto;
}

.navbar .menu .dropdown-content a {
  color: #32244a;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.navbar .menu .dropdown-content a:hover {
  background-color: #32244a;
  color: white;
}

.navbar .menu .dropdown:hover .dropdown-content {
  display: block;
}

/* -- Nuevos estilos para el tercer nivel -- */

.navbar .menu .dropdown-content .dropdown-submenu {
  position: relative;
}

.navbar .menu .dropdown-content .dropdown-submenu-content {
  display: none;
  /* position: absolute; */
  /* left: 100%; */
  /* background-color: #f7f5f5; */
  
  top: 0;
  min-width: 160px;
  z-index: 1;
  position: relative;
  /* left: 22px; */
  background-color: rgb(193 193 193) !important;
    /* width: 92%; */
}

.menu-selected {
  background-color: #323539 !important;
}

.menu-selected > a {
  color: white !important;
}

.submenu-content-icon {
  position: absolute;
  right: 1em;
  top: 1em;
}
/* 
.navbar
  .menu
  .dropdown-content
  .dropdown-submenu-content {
  display: block;
} */

.navbar .menu .dropdown-content .dropdown-submenu-content a {
  color: #32244a;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.navbar .menu .dropdown-content .dropdown-submenu-content a:hover {
  background-color: #32244a;
  color: white;
}

/*---------------------------------------------------------------------------*/

@media (max-width: 1200px) {
  .navbar .logo img {
    max-height: 30px;
  }
  body {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 992px) {
  #navbar-mnuppal {
    display: none;
  }
}

@media (min-width: 992px) {
  #ew-navbar,
  aside {
    display: none;
  }
  #navbar-mnuppal {
    display: block;
  }
  .main-header,
  .content-wrapper {
    margin-left: 0px !important;
  }
}

/* Botones con Flechas*/
.button_arr {
  display: inline-flex;
  height: 50px;
  width: 150px;
  border: 2px solid var(--teldat);
  border-radius: 2em;
  background: var(--teldat);
  color: #f1f6f6;
  font-size: 18px;
  letter-spacing: 1.5px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.button_arr span {
  color: var(--white);
}
.b-w {
  border: 2px solid var(--white);
}

#btn-login {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
#btn-login:hover {
  background: var(--white);
  transition: background 0.4s ease-in-out;
}

#btn-login a {
  position: relative;
  left: 0;
  transition: all 0.35s ease-Out;
}

.dub-arrow {
  width: 100%;
  height: 100%;
  background: var(--white);
  left: -200px;
  position: absolute;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease-Out;
  bottom: 0;
}

#btn-login img {
  width: 40px;
  height: auto;
}

#btn-login:hover .dub-arrow {
  left: 0;
}

#btn-login:hover a {
  left: 150px;
}

.div-end {
  display: flex;
    justify-content: flex-end;
}

.btn-search {
  background-color: transparent !important;
  cursor: pointer;
  color: #32244a !important;
}


#search-modal {
  top: 0;
  margin-top: 3em !important;
}
#search-modal .actions {
  border: none;
}
#search-modal .actions .cancel.button {
  background: #f0f0f0;
  position: absolute;
  top: -1.35em;
  right: -0.5em;
  bottom: auto;
  left: auto;
  width: auto;
  height: auto;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  z-index: 1;
}
#search-modal .actions .cancel.button div {
  margin-top: 0.35em;
}
#search-modal .header {
  padding: 2.5rem 2.25rem 0 2.25rem !important;
  border: none;
}
#search-modal .header .container {
  border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  padding-bottom: 0.5em;
}
#search-modal .content .result .content {
  background: #eee;
  padding: 0.4em;
  margin: 0.3em;
}
#search-modal .content .result .content .description {
  color: #333;
}
body {
  background-image: radial-gradient(farthest-corner, rgba(90, 153, 242, 0.4), rgba(60, 123, 212, 0.7));
}
.middle.grid {
  height: 100%;
}