body {
  border-bottom: none;
}

.divider {
  color: transparent;
}

/* body.its-admin #page-header {
  padding-top: 70px;
} */

body.its-admin .navbar.fixed-top {
  height: 86px;
}

body.its-admin .navbar.fixed-top .editmode-switch-form {
  width: max-content;
  margin-right: 30px;
  color: #fff;
}

body.its-admin .navbar.fixed-top .editmode-switch-form .text-primary {
  color: #fff !important;
}

body.its-admin .navbar-expand .navbar-nav {
  height: auto;
  z-index: 9999;
}

body.userloggedinas #useridentifier {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

body.userloggedinas .navbar.fixed-top {
  transform: translateY(22.5px);
}

body .navbar-expand .navbar-nav {
  height: 100%;
  margin-left: auto;
  /* En lugar de padding-right */
  margin-bottom: 10px;
  margin-right: 20px;
}

body .navbar.fixed-top {
  background-color: #002839;
  padding: 0;
  box-shadow: none;
  align-items: stretch;
  height: 55px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  transition: all 0.25s ease-in;
}

body .navbar.fixed-top::before {
  content: "";
  width: calc(100% - 120px);
  position: absolute;
  right: 10px;
  left: 100px;
  bottom: 0;
  height: 1px;
  border-bottom: none;
  transform: translateY(1px);
}

body .navbar.fixed-top #searchcontainer {
  width: 100vw;
  grid-column: 1 / 5;
  z-index: 9999;
}

body .navbar.fixed-top .navbar-brand {
  margin-right: 0 !important;
}

body .navbar.fixed-top .navbar-brand:hover,
body .navbar.fixed-top .navbar-brand:focus {
  background-color: transparent;
  box-shadow: none;
}

body .navbar.fixed-top .navbar-brand .logo {
  max-width: 200px;
  max-height: 90px;
  padding: 10px 5px 15px 15px;
  transition: all 0.25s ease-in;
}

body .navbar.fixed-top .primary-navigation .nav-link,
body .navbar.fixed-top .primary-navigation .nav-link.active {
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  padding: 10px 45px 10px 10px;
  font-family: 'Avenir Regular';
}

body .navbar.fixed-top .primary-navigation .nav-link:hover,
body .navbar.fixed-top .primary-navigation .nav-link.active:hover,
body .navbar.fixed-top .primary-navigation .nav-link:focus,
body .navbar.fixed-top .primary-navigation .nav-link.active:focus {
  background-color: transparent;
  box-shadow: none;
}

body .navbar.fixed-top .primary-navigation .nav-link.active {
  border-bottom: solid 3px transparent;
}

body .navbar.fixed-top #usernavigation {
  height: 50px;
}

body .navbar.fixed-top .nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

body .navbar.fixed-top .nav-link .fa-bell,
body .navbar.fixed-top .nav-link .fa-envelope,
body .navbar.fixed-top .nav-link #check {
  height: 35px;
  width: 35px;
  display: block;
  background-size: contain;
}

body .navbar.fixed-top .nav-link .fa-bell::before,
body .navbar.fixed-top .nav-link .fa-envelope::before,
body .navbar.fixed-top .nav-link #check::before {
  content: '';
}

body .navbar.fixed-top .nav-link .fa-bell {
  background-image: url('/theme/hedima/pix/bell.png');
}

body .navbar.fixed-top .nav-link .fa-envelope {
  background-image: url('/theme/hedima/pix/envelope.png');
}

body .navbar.fixed-top .nav-link #check {
  background-image: url('/theme/hedima/pix/tool.png');
}

body .navbar.fixed-top .nav-link #check .icon {
  display: none;
}

body .navbar.fixed-top .divider {
  width: 1px;
  background-color: #dee2e6;
}

body .navbar.fixed-top #usernavigation .nav-link {
  padding: 0 0.5rem;
}

body .navbar.fixed-top .login {
  display: flex;
  align-items: center;
}

body .navbar.fixed-top .usermenu {
  display: flex;
}

body .navbar.fixed-top .usermenu .action-menu {
  display: flex;
  align-items: center;
}

body .navbar.fixed-top .usermenu .dropdown {
  display: flex;
  align-items: center;
}

body .navbar.fixed-top .usermenu .dropdown .dropdown-toggle {
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

body .navbar.fixed-top .usermenu .dropdown .dropdown-toggle::after {
  content: '';
}

body .navbar.fixed-top .usermenu .dropdown .dropdown-toggle .userbutton {
  height: 35px;
  width: 35px;
  display: block;
  background-image: url('/theme/hedima/pix/user.png');
  background-size: contain;
}

body .navbar.fixed-top .usermenu .dropdown .dropdown-toggle .userbutton .avatars {
  display: none;
}

body .navbar.fixed-top .usermenu .dropdown .dropdown-toggle .usertext {
  display: none !important;
}

body .navbar.fixed-top .usermenu .dropdown-menu {
  min-width: 235px;
}

body .navbar.fixed-top .usermenu .dropdown-menu .carousel-navigation-link>* {
  pointer-events: none;
}

body .navbar.fixed-top .usermenu .dropdown-menu .dropdown-item {
  padding: 0.25rem 1.75rem 0.25rem 0.75rem;
}

body .navbar.fixed-top .usermenu .dropdown-menu .dropdown-item.carousel-navigation-link::after {
  content: fa-content("\f0da");
  font-size: 1rem;
  right: 0.75rem;
  position: absolute;
}

body .navbar.fixed-top .usermenu .dropdown-menu .submenu .header {
  padding: 0.25rem 0.75rem;
  font-size: 0.975rem;
}

body .navbar.fixed-top .usermenu .dropdown-menu .submenu .header .icon {
  font-size: 20px;
  height: 20px;
  width: 20px;
  margin: 0;
}

body .navbar.fixed-top .usermenu .dropdown-menu .submenu .items .dropdown-item[aria-current="true"]::before {
  content: fa-content("\f00c");
  font-size: 0.75rem;
  padding-left: 0.25rem;
}

body .navbar.fixed-top .usermenu .login {
  display: flex;
  align-items: center;
}

body .navbar.fixed-top .usermenu .dropdown,
body .navbar.fixed-top .langmenu .dropdown {
  display: flex;
  align-items: center;
  height: 100%;
}

body .navbar.fixed-top .usermenu .dropdown .dropdown-toggle,
body .navbar.fixed-top .langmenu .dropdown .dropdown-toggle {
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

body .navbar.fixed-top .langmenu .dropdown-menu .dropdown-item[aria-current="true"]::before {
  content: "\f00c";
  font-size: 0.75rem;
  padding-left: 0.25rem;
}

body .navbar.fixed-top .moodle-actionmenu .menubar,
body .navbar.fixed-top .action-menu-trigger .dropdown {
  height: 100%;
  display: flex;
}

body #page-header {
  padding-top: 25px;
}

#page-site-index .navbar.fixed-top,
#page-course-view-multitopic .navbar.fixed-top,
#page-course-view-topics .navbar.fixed-top {
  background-color: transparent;
}

#page-site-index .navbar.fixed-top.is-stuck,
#page-course-view-multitopic .navbar.fixed-top.is-stuck,
#page-course-view-topics .navbar.fixed-top.is-stuck {
  background-color: rgba(0, 40, 57, .9);
  transition: all 0.25s ease-in;
}

#page-site-index .navbar.fixed-top.is-stuck::before,
#page-course-view-multitopic .navbar.fixed-top.is-stuck::before,
#page-course-view-topics .navbar.fixed-top.is-stuck::before {
  border-bottom: none;
  transition: all 0.25s ease-in;
}

#page-site-index .navbar.fixed-top.is-stuck .navbar-brand .logo,
#page-course-view-multitopic .navbar.fixed-top.is-stuck .navbar-brand .logo,
#page-course-view-topics .navbar.fixed-top.is-stuck .navbar-brand .logo {
  max-height: 50px;
  padding: 0 5px 5px 15px;
  transition: all 0.25s ease-in;
}

.modal .modal-dialog .modal-content .modal-header .modal-title {
  color: #000;
}

.dir-rtl .navbar.fixed-top .usermenu .dropdown-menu .dropdown-item.carousel-navigation-link::after {
  content: fa-content("\f0d9");
}

.dir-rtl .navbar.fixed-top .usermenu .dropdown-menu .carousel .carousel-inner .carousel-item-prev.carousel-item-right,
.dir-rtl .navbar.fixed-top .usermenu .dropdown-menu .carousel .carousel-inner .carousel-item-next.carousel-item-left {
  transform: translateX(0);
}

.dir-rtl .navbar.fixed-top .usermenu .dropdown-menu .carousel .carousel-inner .carousel-item-next,
.dir-rtl .navbar.fixed-top .usermenu .dropdown-menu .carousel .carousel-inner .carousel-item-right.active {
  transform: translateX(-100%);
}

.dir-rtl .navbar.fixed-top .usermenu .dropdown-menu .carousel .carousel-inner .carousel-item-prev,
.dir-rtl .navbar.fixed-top .usermenu .dropdown-menu .carousel .carousel-inner .carousel-item-left.active {
  transform: translateX(100%);
}

#page {
  margin-top: 60px;
}

.pagelayout-embedded #page {
  margin-top: 0;
}

.navbar-bootswatch .navbar-brand {
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-bootswatch .navbar-brand .sitename {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

:root {
  --navbar-height: 60px;
}

/*MIS CAMBIOS */
.icon {
  max-width: 35px;
  max-height: 35px;
}

.edit-mode-toggle .input-group label {
  color: #fff !important;
}

/* Ajustes responsive
@media screen and (max-width: 768px) {
  body .navbar-expand .navbar-nav {
      display: none;
  }
}

@media screen and (max-width: 1440px) {

  body .navbar.fixed-top .primary-navigation .nav-link,
  body .navbar.fixed-top .primary-navigation .nav-link.active {
      padding: 10px 35px 10px 10px;
  }
}

@media screen and (max-width: 1024px) {
  body .navbar.fixed-top .navbar-brand .logo {
      max-width: 150px;
  }

  body .navbar.fixed-top .primary-navigation .nav-link,
  body .navbar.fixed-top .primary-navigation .nav-link.active {
      padding: 10px;
      font-size: 10px;
  }

  body .navbar.fixed-top .primary-navigation .nav-link .fa-bell,
  body .navbar.fixed-top .primary-navigation .nav-link.active .fa-bell,
  body .navbar.fixed-top .primary-navigation .nav-link .fa-envelope,
  body .navbar.fixed-top .primary-navigation .nav-link.active .fa-envelope,
  body .navbar.fixed-top .primary-navigation .nav-link #check,
  body .navbar.fixed-top .primary-navigation .nav-link.active #check {
      height: 30px;
      width: 30px;
  }

  body .navbar.fixed-top #usernavigation .nav-link {
      padding: 0 0.3rem;
  }

  body .navbar.fixed-top #usernavigation .nav-link .fa-bell,
  body .navbar.fixed-top #usernavigation .nav-link .fa-envelope,
  body .navbar.fixed-top #usernavigation .nav-link #check {
      height: 30px;
      width: 30px;
  }

  body .navbar.fixed-top #usernavigation .usermenu .dropdown .dropdown-toggle {
      padding: 0 0.3rem;
  }

  body .navbar.fixed-top #usernavigation .usermenu .dropdown .dropdown-toggle .userbutton {
      height: 30px;
      width: 30px;
  }
}

@media screen and (max-width: 768px) {
  .navbar.fixed-top {
      display: flex;
      max-width: 100vw;
      background-color: #002839 !important;
  }

  .navbar.fixed-top::before {
      display: none;
  }

  .navbar.fixed-top .navbar-brand .logo {
      max-width: 150px;
      max-height: 60px;
  }

  .navbar.fixed-top .navbar-toggler-icon {
      margin-left: 10px;
      filter: invert(1);
  }

  .navbar.fixed-top #usernavigation {
      align-self: center;
  }
}

@media screen and (max-width: 767px) {
  .navbar.fixed-top #usernavigation {
      grid-column: 0.6;
  }
}