/* ----------------------------- */
/* == Menu */
/* ----------------------------- */
:root {
  /* COLORS */
  --main-header-primary-color: #1947eb;
  --main-header-secondary-color: #1947eb;
  --main-header-tertiary-color: #b8b7b7;
  --main-header-quaternary-color: #aaa;
  --main-header-shadow-color: rgba(0, 0, 0, 0.9);

  /* FONT */
  --main-header-font-family: Calibri, sans-serif;

  /* MAIN HEADER */
  --main-header-menu-width: 450px;
  --main-header-menu-button-height: 40px;
  --main-header-menu-button-width: 80px;

  /* TRASITION */
  --main-header-transition: all 0.35s ease;
}
header {

  width: 100%;
  position: relative;
  z-index: 100;
  text-shadow: 5px 5px 10px rgba(0,9,35,0.5);
}

.menu-wrapper {
  position:absolute;
  width: 100%;
  z-index: 10; 
  padding-top: 20px;
}
.menu-wrapper .menu {
    width: 90%;
    text-align: center;
   margin-left: 90px;
}

.menu-wrapper .menu > li {
  position: relative;
  display: inline-block;
    text-align: center;
    margin: auto;
}
.menu-wrapper ul.menu,
.menu-wrapper a.menu-link {
}
.menu-wrapper a.menu-link {
  display: none;
  padding: 0;
  height: 60px;
  background: #1947eb;
  font-size: 14px;
    line-height: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    border-radius: 0;
}

.menu-wrapper .activo_menu a {
    background-color: white;
    color: #1947eb;
}

.menu-wrapper a {
  display: block;
  position: relative;
  color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}
.menu-wrapper a:hover {
    background-color: white;
    color: #364ADA;
}
.menu-wrapper .sub-menu {
  box-sizing: border-box;
  position: absolute;
  max-height: 0em;
  overflow: hidden;
  list-style: none outside none;
  text-align: left;
    border-radius: 7px;
}
.menu-wrapper .sub-menu li {
  display: block;
  background-color: #1947eb;
    text-align: left;
}
.menu-wrapper .sub-menu a {
  margin: 0;
  background-color: #1947eb;
  white-space: nowrap;
  line-height: 30px;
  border: none;
    color: white;
    text-align: left;
}
.menu-wrapper .sub-menu a:hover {
  background: white;
    color: #0433BE;
}

.menu-wrapper li:hover .sub-menu {
  max-height: 30em;
  transition: max-height 0.5s;
}

.menu-wrapper .sub-menu li li {
  display: block;
  background-color: #1947eb;
  text-align: left;
}
/* DROPDOWN MENU */
.dropdown-menu {
  display: flex;
  width: 100%;
}
.dropdown-menu ul {
  display: flex;
  flex-direction: column;
  position: absolute;
  height: 0;
  top: 70px;
  right: 0;
  background: white;
  overflow: hidden;
  transition: var(--main-header-transition);
  border-radius: 5px 5px 5px 5px;
}
.dropdown-menu a {
  vertical-align: center;
  padding-top: 18px;
  height: 52px;
  width: 100%;
  color: #0627ab;
  margin: 0;
  border: none;
  border-bottom: 1px solid var(--main-header-tertiary-color);
  text-shadow: 1px 1px 1px white;
}
.dropdown-menu a:hover {
  box-shadow: unset;
  background: #095dba;
}

/* DROPDOWN BUTTON */
.main-header-dropdown-button {
  display: flex;
  position: relative;
  float: right;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: var(--main-header-menu-button-height);
  min-width: Var(--main-header-menu-button-height);
  margin: 20px;
  background: var(--main-header-secondary-color);
  border: 1px solid var(--main-header-tertiary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: var(--main-header-transition);
}
.main-header-dropdown-button:hover {
  background: white;
  box-shadow: 0px 4px 10px var(--main-header-shadow-color);
}
.main-header-dropdown-button .stripes {
  background: var(--main-header-quaternary-color);
  height: 2px;
  min-width: 25px;
  margin: 2px 0;
}

/* MEDIA QUERIES MAIN HEADER */
@media (min-width: 800px) {
  .menu-wrapper .menu {
    display: flex;
  }
  .dropdown-menu {
    display: none;
  }
  .main-header-dropdown-button {
    display: none;
  }
}

@media (min-width: 801px) and (max-width:1100px) {
  .menu-wrapper a {
    font-size: 12px;
    padding: 10px 10px;
  }
}

@media (max-width: 800px){
  .menu-wrapper .menu>li{
    display: none;
  }
}