#sidebar {
  height: 100%;
  overflow:auto;
}

#sidebar {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 12;
  background: #ffed00;
  width: 30%;
  box-shadow: 2px 0 4px rgba(0,0,0,0.5);
  transition: width .35s;
}

#sidebar.collapsed {
  width: 0;
}

#sidebar hr {
  width: 80%;
  border: 1px solid #5f5551;
}

.header.fixed .item:hover span, .header.fixed .item:hover a span, .header.fixed .item span:hover, .header.fixed .item a span:hover {
  text-decoration: underline !important;
}

.show-menu {
  display: block !important;
  transition: all 0.2s ease !important;
  height: 100% !important;
  opacity: 1 !important;
}

#closer {
  float: right;
  background: #fced02;
  border: none;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#closer span:not(.texto-cerrar) {
  content: "x";
  width: auto;
  height: auto;
  text-align: center;
  transition: all .35s;
  font-size: 30px;
  color: #00005b;
  font-weight: 100;
  font-family: 'Source Sans Pro', sans-serif;
  margin-top: 0px;
  margin-left: 10px;
}

.texto-cerrar {
  font-size: 16px;
  font-family: 'Source Sans Pro',sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 26px 50px;
  font-weight: 400;
}

.texto-cerrar:after {
  content: url(https://f.hubspotusercontent00.net/hubfs/7212050/Sitio%20.COM/new-content/iconos/cerrar.svg);
  text-decoration: none !important;
  right: 22px;
  top: 23px;
  font-size: 20px;
  font-family: 'Arial';
  margin-top: 2px;
  position: absolute;
}

.texto-cerrar:hover {
  text-decoration: underline;
}

#closer:focus {
  outline:none;
}

.sidebar-content {
  padding: 4rem 1rem 1rem;
}

.sidebar-content ul {
  list-style: none;
}

.sidebar-content li.hs-menu-item a {
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;  
  line-height: 32px;
  display: inline-block;
  outline: none;
  color: #333333;
}

.sidebar-content li.hs-menu-item a:hover {
  text-decoration: underline;
}

.sidebar-content li {
  margin-bottom: .5rem;
}

.sidebar-content .hs_cos_wrapper_type_menu ul {
  font-weight: bold;
}
.sidebar-content .hs_cos_wrapper_type_menu ul li{
  margin-bottom: 1rem;
  font-size: 26px;
  font-weight: 600;
}

.sidebar-content .hs_cos_wrapper_type_simple_menu ul {
  margin-top: 1rem;
  list-style-type: none;
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

#sidebar ul li {
  font-size: 26px;
}
#sidebar ul li:hover {
  cursor: pointer
}
#sidebar ul li:first-child{
  font-size:20px;
}
#sidebar ul li:first-child a{
  font-weight:400;
}
#sidebar span[data-hs-cos-type="simple_menu"] ul li {
  font-size: 20px;
}


.sidebar-content li.hs-menu-item.hs-menu-depth-1 a span {
  background: #f2609e;
  color: #fff;
  padding: 4px 7px;
  font-size: 18px;
  font-weight: 300;
  border-radius: 6px;
  margin-left: 12px;
  display: inline-block;
}

.header .content .header-item .item span:hover {
  text-decoration-line: none;
}

/* Overlay */
.overlay-menu {
  position: fixed;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: none;
  z-index: 12;
  left: 0;
  top: 0;
}


.active-menu {
  display: block;
}

.header.fixed {
  position: fixed;
  width: 100%;
  background: #fff;
  z-index: 9999;
  box-shadow:0px 2px 6px 0px rgb(0 0 0 / 30%)
}

#sidebar .sidebar-content > span > div > ul > li.hs-item-has-children{
  display:flex;
  justify-content: space-between;
  flex-wrap:wrap;
}
#sidebar .sidebar-content > span > div > ul > li.hs-item-has-children span.toggle{
  display:block;
  order:2;
  width: 35px;
  text-align:center;
  cursor:pointer;
  background-image:url('https://f.hubspotusercontent00.net/hubfs/7212050/Sitio%20.COM/new-content/iconos/angle-arrow-down.png');
  background-position:center center;
  background-repeat:no-repeat;
  background-size:16px;
}
#sidebar .sidebar-content > span > div > ul > li.hs-item-has-children span.toggle.open{
  background-image:url('https://f.hubspotusercontent00.net/hubfs/7212050/Sitio%20.COM/new-content/iconos/up-arrow.png');
}
#sidebar .sidebar-content > span > div > ul > li.hs-item-has-children > a{
  flex:1;
  order:1;
  pointer-events: none;
  cursor: pointer;
}

#sidebar ul.hs-menu-children-wrapper a {
  font-size: 20px!important;
  font-weight: 400!important;
}

#sidebar .sidebar-content > span > div > ul > li.hs-item-has-children ul{
  opacity: 0;
  width: 100%;
  order: 3;
  padding: 5px 0 10px;
  border-bottom: solid 1px rgb(0 0 91 / 30%);
  margin: 5px 0;
  display: none;
  transition: all 0.1s;
}
#sidebar .sidebar-content > span > div > ul > li.hs-item-has-children ul li:last-child{
  margin-bottom:0;
}
.header.fixed.countdown-header{
  top:60px;
}
@media(max-width: 760px){
  #sidebar{
    width: 70%;
  }
  .header {
    margin-bottom: 0px !important; 
  }  
}

/* ------- btn comprar mobile ------ */

.comprar-fixed{
  display: none;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  position: fixed;
  height: 80px;
  background-color: #ffffff;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin-bottom: 0px;
  box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 30%);
  z-index: 99;
}

.comprar-fixed .content{
  width: 90% !important;
  vertical-align: middle;
  cursor: pointer;
  background: #2C36B7;
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  padding: 16px 25vw;
  height: 54px;
  left: 0px;
  top: 0px;
  border-radius: 30px;
}

.comprar-fixed .content .header-item .item-compra-plan span {
  color: #fff;
}

.header .content .header-item .item-compra-plan{
  float: left;
  padding: 24px 25px;
  cursor: pointer;
}

.header .content .header-item .item-compra-plan span{
  width: 150px;
  vertical-align: middle;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  padding: 12px 12px;
}

.header .content .header-item .item-compra-plan a{
  text-decoration: none;
}

@media (min-width: 1200px){ 
  .comprar-fixed{
    display: none !important;
  }
}

@media (max-width: 768px) { 
  .header .content .header-item .item-compra-plan{
    display: none !important;
  }

  .comprar-fixed{
    display: flex;
  }
}

}
