/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #fff;
  height: 75px;
  font-size: 14px;
  transition: all 0.5s;
  margin-top: 44px;
  border-bottom: 1px solid #f2f2f2;
}

#topbar.topbar-scrolled {
  top: -75px;
}
#sidebar {
  position: relative;
  transition: all 0.5s;
}

#topbar .contact-info a {
  line-height: 1;
  color: #444444;
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: #1977cc;
}

#topbar .contact-info i {
  color: #1977cc;
  padding-right: 4px;
  margin-left: 15px;
}

#topbar .contact-info i:first-child {
  margin-left: 0;
}

#topbar .social-links {
  text-align: center;
}

#topbar .social-links a {
  color: var(--dark);
  line-height: 1px;
  transition: 0.3s;
  font-size: 18px;
  width: 35px;
  height: 35px;
  background-color: var(--green1);
}

#topbar .social-links a:hover {
  color: #1977cc;
}

#topbar .social-links a:first-child {
  border-left: 0;
}

.btn-outline-info {
  color: #2873b9;
  border-color: #2873b9;
}

.btn-outline-info:hover {
  color: #ffffff;
  border-color: #2873b9;
  background-color: #2873b9;
}

/*--------------------------------------------------------------
      # Header
      --------------------------------------------------------------*/
#header {
  background: var(--dark);
  transition: all 0.5s;
  z-index: 997;
  /* padding: 15px 0; */
  top: 118px;
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#header.header-scrolled {
  top: 43px;
}

#header .logo a {
  color: #2c4964;
}

#header .logo img {
  /*max-height: 60px;*/
}

@media (max-width: 992px) {
  #header {
    top: 44px;
    background: var(--light);
    padding: 0 0 7px 7px;
    box-shadow: 0px 0.3rem 1rem rgb(0 0 0 / 15%) !important;
  }
  .oficina {
    width: 100% !important;
  }
  #header .logo {
    font-size: 28px;
  }

  .topheader a {
    padding: 1px;
    font-size: 13px;
    line-height: 44px;
  }

  .m-admisiones {
    background: #2873b9;
    padding: 0 15px 0px 60px !important;
    right: 0;
    position: absolute;
    color: #fff !important;
  }

  .m-admisiones span {
    z-index: 1;
    position: relative;
  }

  .m-admisiones::after {
    width: 0px;
    height: 0px;
    background: #29235c;
    content: "";
    position: absolute;
    bottom: 0;
  }

  .m-admisiones::after {
    left: 0;
    border-top: 30px solid #2873b9;
    border-right: 30px solid #2873b9;
    border-left: 30px solid #29235c;
    border-bottom: 30px solid #29235c;
  }

  .topheader {
    padding: 0px !important;
  }
  #main {
    margin-top: 100px;
  }
}
/*********************************
        3.1 Top Bar
        *********************************/
.top_bar {
  width: 100%;
  background: #f5f7f9 url("../images/bg-line.png") top center no-repeat;
  height: 60px;
  padding-top: 15px;
}
.topmenu {
  background-color: #3366cc;
  display: flex;
  flex-direction: row;
  box-shadow: inset 0 0.5em 1.5em rgb(0 0 0 / 10%),
    inset 0 0.125em 0.5em rgb(0 0 0 / 15%);
}
.topmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  /* -webkit-box-pack: justify; */
  align-items: center;
  flex-direction: row;
  justify-content: space-around;
}
.topmenu ul li {
}
.topmenu ul li a {
  display: block;
  padding: 15px;
  width: 100%;
  color: #fff;
}
.topmenu ul li a:hover {
  background: #332f60;
  /* color: #2873b8; */
}
#programas {
  /* background:#f1f7fd; */
  box-shadow: 2px 2px 10px 4px rgb(15 112 183 / 15%);
  margin-bottom: 3rem;
}

#programas .menuprogramas {
  margin: 40px 15px;
}

#programas h2 {
  border-bottom: none;
  text-align: center;
  font-weight: 900;
  font-size: 2.5rem;
}

#programas .menuprogramas li a {
  background: #0f70b7;
  display: block;
  color: #fff;
  padding: 15px;
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
  border-radius: 50px;
  margin-bottom: 15px;
  box-shadow: 0px 2px 15px rgb(0 0 0 / 15%);
  transition: all ease-in-out 0.3s;
}

#programas .menuprogramas li a:hover {
  background: #29235c;
  transform: translate(0, 5px);
}

#programas .menuprogramas li:before {
  content: none;
}

.header.scrolled .top_bar {
}

.top_bar_container {
  width: 100%;
  height: 100%;
}

.top_bar_content {
  width: 100%;
  height: 40px;
}

.top_bar_content h6 {
  color: #6c757d;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin-right: 15px;
  /* font-size: 15px; */
}

.top_bar_content h6 i {
  color: #6c757d !important;
}

.top_bar_content a {
  color: #247229;
}

.top_bar_content a:hover {
  color: #7c848b;
}

.top_bar_contact_list li {
  display: inline-block;
}

.question p {
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  color: #247229 !important;
  margin-left: 0px;
  font-weight: 700;
}

.top_bar_contact_list li i,
.top_bar_contact_list li > div {
  display: inline-block;
  font-size: 22px;
  color: var(--primary);
}

.top_bar_contact_list li > div {
  margin-left: 1px;
}

.top_bar_contact_list li:not(:last-child) {
  margin-right: 21px;
  margin-bottom: 10px;
}

.top_bar_login {
  height: 100%;
  margin: auto;
}

.login_button {
  height: 100%;
  background: #f5f7f9;
  text-align: center;
  border-radius: 2px;
  border-radius: 5px;
}

.login_button:hover {
  background: #e9ecef;
}

.login_button a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 40px;
  color: #29235c;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}

.switcher-area {
  position: fixed;
  z-index: 999;
  top: 25%;
  right: -232px;
  bottom: 0;
  margin: auto;
  height: 100px;
}

.tools {
  display: block !important;
}

.switcher-area:hover {
  opacity: 1 !important;
}

.switcher-area .switched-options {
  position: relative;
  width: 230px;
  text-align: left;
  background: #fff;
  padding: 15px;
  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
}

.switcher-area .config-title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  color: #6c757d;
  border-bottom: 1px solid #29235c;
  margin-bottom: 15px;
}

.switcher-area ul {
  margin-bottom: 0px;
}

.switcher-area ul .active a {
  color: #005885;
  font-weight: 700;
}

.switcher-area ul .p {
  font-weight: 400;
  font-size: 12px;
  color: #ccc;
  margin-top: 10px;
}

.switcher-area ul li a {
  font-size: 13px;
  font-weight: 700;
  line-height: 30px;
  color: #4a637a;
}

.switcher-area ul li a:hover {
  color: #0f70b7;
}

.switcher-area ul.color-styles {
  margin-top: 15px;
}

.switcher-area ul.color-styles li {
  display: inline-block;
  margin-right: 5px;
}

.switcher-area ul.color-styles li .default,
.switcher-area ul.color-styles li .amaranth,
.switcher-area ul.color-styles li .purple,
.switcher-area ul.color-styles li .orange {
  width: 35px;
  height: 35px;
  border-radius: 100%;
}

.switcher-area ul.color-styles li .default {
  background: #32c5d2;
}

.switcher-area ul.color-styles li .amaranth {
  background: #ec3851;
}

.switcher-area ul.color-styles li .orange {
  background: #ff5e00;
}

.switcher-area ul.color-styles li .purple {
  background: #6e02af;
}

.switcher-area .switch-button {
  opacity: 1 !important;
  background: #fff;
  text-align: center;
  font-size: 35px;
  position: absolute;
  overflow: hidden;
  left: -45px;
  top: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 2px 1px 4px grey;
  width: 45px;
  line-height: 45px;
  height: 45px;
  bottom: 0;
  /* margin: auto; */
  color: var(--dark);
}

.switcher-area .switch-button:hover {
  color: var(--green2);
  cursor: pointer;
}

.postdate {
  position: absolute;
  top: 150px;
  right: 15px;
  width: 60px;
  height: 60px;
  background: #0f70b7;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 50%;
  line-height: 20px;
}
/*--------------------------------------------------------------
      # Navigation Menu
      --------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  display: flex;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  /* padding: 8px 0 8px 25px; */
}
.nav-menu > ul > li:nth-child(n + 8):not(:last-child) {
  display: none;
}

.nav-menu a {
  display: block;
  position: relative;
  color: var(--light);
  transition: 0.3s;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  padding: 13px 17px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu .current > a,
.nav-menu li:hover > a {
  color: var(--light);
  /* border-color: var(--red); */
  background-color: var(--green2);
  /* height: 50px; */
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: var(--primary);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down .drop-down ul li > a:after {
  font-family: "Font Awesome 5 Free";
  content: "";
  position: absolute;
  right: 15px;
}

.nav-menu .drop-down ul li ul li {
  display: none;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #ffffff;
  border: none;
}

.nav-menu .drop-down ul a:hover,
.nav-menu .drop-down ul .current > a,
.nav-menu .drop-down ul li:hover > a {
  /* color: rgb(255 255 255 / 52%); */
}

.nav-menu .drop-down > a:after {
  content: "\f107";
  padding-left: 5px;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  color: var(--red);
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
  background: #0d5c95;
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
  font-family: "Font Awesome 5 Free";
  content: "\f054";
  position: absolute;
  right: 15px;
}
@media (max-width: 993px) {
  .nav-menu ul li a {
    display: inline-block;
    max-width: 100px; /* Ajusta el ancho según tu diseño */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
  }
}

@media (max-width: 992px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }

  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }

  .nav-menu .drop-down .drop-down > a:after {
    /* content: "\ea9d"; */
  }
}
.modal {
  z-index: 100000 !important; /* Un valor superior al 99999 del botón */
}
.modal-backdrop {
  z-index: 99999 !important; /* Asegúrate de que el fondo del modal también esté correcto */
}

/* Get Startet Button */
.appointment-btn {
  margin-left: 25px;
  background: #1977cc;
  color: #fff;
  border-radius: 50px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.appointment-btn:hover {
  background: #166ab5;
  color: #fff;
}

@media (max-width: 768px) {
  .appointment-btn {
    margin: 0 48px 0 0;
    padding: 6px 18px;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 99999;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 55px;
  z-index: 99999;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle .fa-xmark {
  right: 15px;
  top: 15px;
  position: fixed;
  color: #fff !important;
}
.mobile-nav-toggle i {
  color: var(--primary);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  overflow-y: auto; /* Permite scroll solo en el menú si es necesario */
  background: var(--primary);
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
}

.mobile-nav > ul > li:nth-child(n + 8):not(:last-child) {
  display: none;
}
.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: var(--light);
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}
.mobile-nav a i {
  font-size: 1.6rem;
}

.mobile-nav a:hover,
.mobile-nav .current > a,
.mobile-nav li:hover > a {
  color: var(--green1);
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  padding-left: 10px;
  position: absolute;
  right: 15px;
  font-weight: 600;
}

.mobile-nav .current.drop-down > a:after {
  content: "\f054";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(28, 47, 65, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active,
.mobile-nav-active html,
.mobile-nav-active body {
  height: 100%;
  overflow: hidden;
  position: relative; /* Evita que elementos externos puedan causar scroll */
}
.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #495057;
  z-index: 99999;
}
.mobile-nav-active body {
  overflow: hidden; /* Desactiva el scroll en el cuerpo de la página */
}
.topheader {
  background: #36c;
  position: fixed;
  z-index: 9;
  width: 100%;

  top: 0px;

  padding: 10px;
}
.top_bar #google_translate_element2,
.skiptranslate {
  display: none !important;
}
.menu-opcion a {
  background-color: #b0dddd;
  color: var(--dark);
  padding: 10px;
  margin: 4px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  line-height: 16px;
}
.oficina {
  background-color: var(--red);
  width: 110px;
  padding: 10px 25px !important;
}
.oficina:hover {
  background-color: var(--redprimary) !important;
}
.navigation-breadcrumb {
  background-color: var(--green1);
}
.breadcrumb-item a {
  color: var(--primary) !important;
  text-decoration: none;
}
/*home*/
.banners-home,
.titlesection {
  background: #63b8b5;
}
