/*
---------------------------------------------------------------
  Note that styles you apply to the main menu items are inherited by the sub menus items too.
  If you'd like to avoid this, you could use child selectors (not supported by IE6) - for example:
  .sm-abc > li > a { ... } instead of .sm-abc a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/

  .sm-abc {
    border-bottom: 5px solid rgb(249, 191, 30);
    text-align: left;
  }
  .sm-abc > li:first-child {
    margin-left: 1.7em;
  }
  .sm-abc ul {
    background: rgba(247, 229, 139, 0.85);
    -webkit-border-radius: 0 0px 6px 6px;
       -moz-border-radius: 0 0px 6px 6px;
            border-radius: 0 0px 6px 6px;
    -webkit-box-shadow: 0 4px 3px rgba(0,0,0,0.25);
       -moz-box-shadow: 0 4px 3px rgba(0,0,0,0.25);
            box-shadow: 0 4px 3px rgba(0,0,0,0.25);
    padding: 8px 0;
  }
  .sm-abc ul ul {
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
  }


/* Menu items
===================*/

  .sm-abc a {
    color: rgb(40, 61, 90);
    padding: 11px 20px 9px 20px;
    text-decoration: none;
    -webkit-border-radius: 6px 6px 0 0;
       -moz-border-radius: 6px 6px 0 0;
            border-radius: 6px 6px 0 0;
  }
  .sm-abc a:hover,
  .sm-abc a:focus,
  .sm-abc a:active,
  .sm-abc a.destacada,
  .sm-abc a.destacada:hover {
    background: rgb(249, 191, 30);
    color: rgb(255, 255, 255);
  }
  .sm-abc a:visited {
    color: rgb(40, 61, 90);
  }
  .sm-abc a.highlighted {
    background: rgb(249, 191, 30);
    color: rgb(255, 255, 255);
    -webkit-box-shadow: 0 4px 3px rgba(0,0,0,0.25);
       -moz-box-shadow: 0 4px 3px rgba(0,0,0,0.25);
            box-shadow: 0 4px 3px rgba(0,0,0,0.25);
  }
  .sm-abc ul a {
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    border-right: 10px solid rgba(5, 120, 130, .0);
    line-height: normal;
    padding: 10px 20px;
  }
  .sm-abc ul a:hover,
  .sm-abc ul a:focus,
  .sm-abc ul a:active,
  .sm-abc ul a.highlighted {
    background: rgb(249, 191, 30);
    border-right: 10px solid rgba(5, 120, 130, 1);
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
    color: rgb(40, 61, 90);
  }
  /* current items - add the class manually to some item or check the "markCurrentItem" script option */
  .sm-abc a.current,
  .sm-abc a.current:hover,
  .sm-abc a.current:focus,
  .sm-abc a.current:active {
  }
  .sm-abc ul a.current,
  .sm-abc ul a.current:hover,
  .sm-abc ul a.current:focus,
  .sm-abc ul a.current:active {
    border-right: 0;
    font-weight: bold;
  }
  .sm-abc a.has-submenu {
    padding-right: 32px;
  }


/* Sub menu indicators
===================*/

  .sm-abc a span.sub-arrow {
    border-left: 4px dashed transparent;
    border-right: 4px dashed transparent;
    border-top: 6px solid rgb(40, 61, 90); /* tweak size of the arrow */
    height: 0;
    margin-top: -3px;
    overflow: hidden;
    position: absolute;
    right: 17px;
    top: 50%;
    width: 0;
  }
  .sm-abc a:hover span.sub-arrow,
  .sm-abc a:focus span.sub-arrow,
  .sm-abc a:active span.sub-arrow {
    border-top-color: rgb(255, 255, 255);
  }
  .sm-abc a.highlighted span.sub-arrow {
    border-top-color: rgb(255, 255, 255);
  }
   .sm-abc ul a span.sub-arrow {
    border-left: 6px solid rgb(255,255,255); /* tweak size of the arrow */
    border-bottom: 4px dashed transparent;
    margin-bottom: -4px;
    border-top: 4px dashed transparent;
    margin-top: -4px;
    right: 15px;
  }
  .sm-abc ul a:hover span.sub-arrow,
  .sm-abc ul a:focus span.sub-arrow,
  .sm-abc ul a:active span.sub-arrow,
  .sm-abc ul a.highlighted span.sub-arrow {
    border-left-color: rgb(255, 255, 255);
    border-top-color: transparent;
  }
	.sm-abc-vertical a:hover span.sub-arrow, .sm-abc-vertical a:focus span.sub-arrow, .sm-abc-vertical a:active span.sub-arrow,
	.sm-abc-vertical a.highlighted span.sub-arrow,
 	.sm-abc ul a:hover span.sub-arrow, .sm-abc ul a:focus span.sub-arrow, .sm-abc ul a:active span.sub-arrow,
 	.sm-abc ul a.highlighted span.sub-arrow {
		border-left-color:rgb(255, 255, 255);
    border-bottom: 4px dashed transparent;
    border-top: 4px dashed transparent;
    border-left: 6px solid rgb(40, 61, 90); /* tweak size of the arrow */
		border-top-color:transparent;
    margin-left: -3px;
	}

/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." in the default download package
===================*/

  .sm-abc span.scroll-up,
  .sm-abc span.scroll-down {
    background: rgb(110, 170, 255);
    display: none;
    height: 20px;
    overflow: hidden;
    position: absolute;
    visibility: hidden;
    /* width and position will be automatically set by the script */
  }
  .sm-abc span.scroll-up-arrow,
  .sm-abc span.scroll-down-arrow {
    border-bottom: 8px solid rgb(249, 191, 30); /* tweak size of the arrow */
    border-left: 6px dashed transparent;
    border-right: 6px dashed transparent;
    height: 0;
    left: 50%;
    margin-left: -8px;
    overflow: hidden;
    position: absolute;
    top: 6px;
    width: 0;
  }
  .sm-abc span.scroll-down-arrow {
    border-bottom: 0;
    border-top: 8px solid rgb(249, 191, 30); /* tweak size of the arrow */
  }


/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/


/* decrease horizontal main menu items left/right padding to avoid wrapping */
@media screen and (max-width: 1080px) {
  .sm-abc:not(.sm-abc-vertical) > li > a {
    padding-left: 12px;
    padding-right: 12px;
  }
  .sm-abc:not(.sm-abc-vertical) > li > a.has-submenu {
    padding-right: 24px;
  }
  .sm-abc:not(.sm-abc-vertical) a span.sub-arrow {
    right: 9px;
  }
}
@media screen and (max-width: 930px) {
  .sm-abc:not(.sm-abc-vertical) > li > a {
    padding-left: 6px;
    padding-right: 6px;
  }
  .sm-abc:not(.sm-abc-vertical) > li > a.has-submenu {
    padding-right: 18px;
  }
  .sm-abc:not(.sm-abc-vertical) a span.sub-arrow {
    right: 3px;
  }
}

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

  /* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
  ul.sm-abc{width: auto !important;}
  ul.sm-abc ul{display:none;position:static !important;top:auto !important;left:auto !important;margin-left:0 !important;margin-top:0 !important;width:auto !important;min-width:0 !important;max-width:none !important;}
  ul.sm-abc>li{float:none;}
  ul.sm-abc>li>a,
  ul.sm-abc ul.sm-nowrap>li>a{white-space:normal;}
  ul.sm-abc iframe{display:none;}

  /* Uncomment this rule to disable completely the sub menus for small screen devices */
  /*.sm-abc ul, .sm-abc span.sub-arrow, .sm-abc iframe {
    display:none !important;
  }*/


/* Menu box
===================*/

  .sm-abc {
    border-bottom: 5px solid rgb(249, 191, 30);
    border-top: 1px solid rgb(249, 191, 30);
    border-right: 0;
  }
  .sm-abc ul {
    border: 0;
    padding: 0;
    /* darken the background of the sub menus */
    background: rgba(249, 191, 30, 0.2);
    -webkit-border-radius: 0 !important;
       -moz-border-radius: 0 !important;
            border-radius: 0 !important;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
  }


/* Menu items
===================*/

  .sm-abc a {
    border: 0 !important;
    padding: 13px 23px !important;
    background: transparent !important;
    color: rgb(40, 61, 90); !important;
    -webkit-border-radius: 0 !important;
       -moz-border-radius: 0 !important;
            border-radius: 0 !important;
    -webkit-box-shadow: none !important;
       -moz-box-shadow: none !important;
            box-shadow: none !important;
  }
  .sm-abc a.current {
    font-weight: bold;
  }
  /* add some text indentation for the 2+ level sub menu items */
  .sm-abc ul a {
    border-left: 8px solid transparent !important;
  }
  .sm-abc ul ul a {
    border-left: 16px solid transparent !important;
  }
  .sm-abc ul ul ul a {
    border-left: 24px solid transparent !important;
  }
  .sm-abc ul ul ul ul a {
    border-left: 32px solid transparent !important;
  }
  .sm-abc ul ul ul ul ul a {
    border-left: 40px solid transparent !important;
  }


/* Sub menu indicators
===================*/

  .sm-abc a span.sub-arrow {
    right: auto !important;
    margin-top: -7px !important;
    margin-left: -16px !important;
    border-left: 9px solid rgb(249, 191, 30) !important; /* tweak size of the arrow */
    border-top: 6px dashed transparent !important;
    border-bottom: 6px dashed transparent !important;
  }
  /* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
  .sm-abc a.highlighted span.sub-arrow {
    display: none !important;
  }




/* Items separators
===================*/

  .sm-abc li {
    border-top: 1px solid rgba(141,184,99,0.2);
  }
  .sm-abc li:first-child {
    border-top: 0;
  }

}



.main-menu-btn {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  text-indent: 28px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #bbb;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}
.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* hide menu state checkbox offscreen (so it stays visible to screen readers) */
#main-menu-state {
  position: absolute;
  top: -99999px;
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}
#main-menu-state:checked ~ #main-menu {
  display: block;
}
@media (min-width: 768px) {
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
}