.sm-mint
{ border-top: 0px solid #8db863;
  border-bottom: 0px solid #8db863;
  background: white; }

.sm-mint a, .sm-mint a:hover, .sm-mint a:focus, .sm-mint a:active
{ padding: 10px 20px; /* PB: Changed from 13px 20px. */
  /* make room for the toggle button (sub indicator) */
  padding-right: 58px;
  color: #333333;
  font-family: 'Source Sans', Arial, sans-serif;
  font-size: 14pt; /* PB: Changed from 16px. */
  font-weight: normal;
  line-height: 13pt; /* PB: Changed from 17px; */
  text-decoration: none; }

.sm-mint a.disabled { color: #cccccc; }

.sm-mint a span.sub-arrow {
  position: absolute;
  top: 50%; margin-top: -17px;
  left: auto; right: 4px;
  width: 34px; height: 34px;
  overflow: hidden;
  font: bold 14px/34px monospace !important;
  text-align: center;
  text-shadow: none;
  background: rgba(120, 120, 120, 0.2);
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
}

.sm-mint a.highlighted span.sub-arrow:before
{ display: block; content: '-'; }

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

.sm-mint ul { background: rgba(141, 184, 99, 0.2); }

.sm-mint ul a,
.sm-mint ul a:hover,
.sm-mint ul a:focus,
.sm-mint ul a:active,
.sm-mint ul a.highlighted
{ font-size: 11pt; border-left: 30px solid transparent; }

.sm-mint ul ul a,
.sm-mint ul ul a:hover,
.sm-mint ul ul a:focus,
.sm-mint ul ul a:active
{ border-left: 60px solid transparent; }

.sm-mint ul ul ul a,
.sm-mint ul ul ul a:hover,
.sm-mint ul ul ul a:focus,
.sm-mint ul ul ul a:active
{ border-left: 90px solid transparent; }

.sm-mint ul ul ul ul a,
.sm-mint ul ul ul ul a:hover,
.sm-mint ul ul ul ul a:focus,
.sm-mint ul ul ul ul a:active
{ border-left: 32px solid transparent; }

.sm-mint ul ul ul ul ul a,
.sm-mint ul ul ul ul ul a:hover,
.sm-mint ul ul ul ul ul a:focus,
.sm-mint ul ul ul ul ul a:active
{ border-left: 40px solid transparent; }

@media (min-width: 768px) {

/* Switch to desktop layout
-----------------------------------------------
These transform the menu tree from
collapsible to desktop (navbar + dropdowns)
-----------------------------------------------*/

/* start... (it's not recommended editing these rules) */

.sm-mint ul { position: absolute; width: 12em; }
.sm-mint li { float: left; }
.sm-mint.sm-rtl li { float: right; }
.sm-mint ul li, .sm-mint.sm-rtl ul li, .sm-mint.sm-vertical li
{ float: none; }

.sm-mint a { white-space: nowrap; }
.sm-mint ul a, .sm-mint.sm-vertical a { white-space: normal; }
.sm-mint .sm-nowrap > li > a, .sm-mint .sm-nowrap > li > :not(ul) a
{ white-space: nowrap; }

/* ...end */

.sm-mint { border-top: 0; background: transparent; margin-left: 21px; }

.sm-mint a,
.sm-mint a:hover,
.sm-mint a:focus,
.sm-mint a:active,
.sm-mint a.highlighted
{
   padding: 8px 10px; /* PB: Changed from 11px 20px. */
   color: #333333;
   -webkit-border-radius: 0px 0px 0 0; /* PB: Changed from 4px. */
   -moz-border-radius: 0px 0px 0 0; /* PB: Changed from 4px. */
   -ms-border-radius: 0px 0px 0 0; /* PB: Changed from 4px. */
   -o-border-radius: 0px 0px 0 0; /* PB: Changed from 4px. */
   border-radius: 0px 0px 0 0; /* PB: Changed from 4px. */
}

.sm-mint a:hover, .sm-mint a:focus, .sm-mint a:active
{ background: #f6ffed; color: #333333; }

.sm-mint a.highlighted
{ background: #f6ffed; color: #333333;
  -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-mint a.disabled
{ background: transparent; color: #cccccc;
  -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }

.sm-mint a span.sub-arrow
{
  display: none; /* PB: Added, to hide arrows in main tabs. */
  top: 50%; margin-top: -3px; right: 20px;
  width: 0; height: 0;
  border-width: 6px 4.02px 0 4.02px;
  border-style: solid dashed dashed dashed;
  border-color: white transparent transparent transparent; /* PB: Changed from #8db863. */
  background: transparent;
  -webkit-border-radius: 0; -moz-border-radius: 0;
  -ms-border-radius: 0; -o-border-radius: 0;
  border-radius: 0;
}

.sm-mint a:hover span.sub-arrow,
.sm-mint a:focus span.sub-arrow,
.sm-mint a:active span.sub-arrow,
.sm-mint a.highlighted span.sub-arrow,
.sm-mint a.disabled span.sub-arrow
{ border-color: white transparent transparent transparent; }

.sm-mint a.highlighted span.sub-arrow:before
{ display: none; }

.sm-mint li { border-top: 0; }

.sm-mint ul
{
   border: 0; padding: 0;
   background: #f6ffed;
   -webkit-border-radius: 0 0px 0px 0px; /* PB: Changed from 4px. */
   -moz-border-radius: 0 0px 0px 0px; /* PB: Changed from 4px. */
   -ms-border-radius: 0 0px 0px 0px; /* PB: Changed from 4px. */
   -o-border-radius: 0 0px 0px 0px; /* PB: Changed from 4px. */
   border-radius: 0 0px 0px 0px; /* PB: Changed from 4px. */
   -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-mint ul ul
{ -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px; }

.sm-mint ul a,
.sm-mint ul a:hover,
.sm-mint ul a:focus,
.sm-mint ul a:active,
.sm-mint ul a.highlighted
{ border: 0 !important; padding: 5px 24px 5px 12px; color: #333333;
  -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0;
  -o-border-radius: 0; border-radius: 0; }

.sm-mint ul a:hover,
.sm-mint ul a:focus,
.sm-mint ul a:active,
.sm-mint ul a.highlighted
{ background: black; color: white;
  -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }

.sm-mint ul a.disabled
{ background: transparent; color: #b3b3b3; }

.sm-mint ul a.has-submenu
{ padding-right: 20px; }

.sm-mint ul a span.sub-arrow
{
   display: inline; /* PB: Added, to override hidden. */
   right: 10px;
   margin-top: -4.02px;
   border-width: 4.02px 0 4.02px 6px;
   border-style: dashed dashed dashed solid;
   border-color: transparent transparent transparent white;
   opacity: 0.5;
}

.sm-mint ul a:hover span.sub-arrow,
.sm-mint ul a:focus span.sub-arrow,
.sm-mint ul a:active span.sub-arrow,
.sm-mint ul a.highlighted span.sub-arrow
{ border-color: transparent transparent transparent white; }

.sm-mint ul a.disabled span.sub-arrow
{ border-color: transparent transparent transparent white; }

.sm-mint span.scroll-up,
.sm-mint span.scroll-down
{ position: absolute; display: none;
  visibility: hidden; overflow: hidden;
  background: black; height: 20px; }

.sm-mint span.scroll-up-arrow,
.sm-mint span.scroll-down-arrow
{ position: absolute; top: 6px; left: 50%;
  margin-left: -8px; width: 0; height: 0; overflow: hidden;
  border-width: 0 6px 8px 6px;
  border-style: dashed dashed solid dashed;
  border-color: transparent transparent white transparent; }

.sm-mint span.scroll-down-arrow
{ border-width: 8px 6px 0 6px;
  border-style: solid dashed dashed dashed;
  border-color: white transparent transparent transparent; }


/* PB: Added below to flex main menu for larger desktop screens. */

@media (min-width: 768px)
{ #main-nav { line-height: 0; text-align: left; }
  #main-menu { display: inline-block; } }

@media (min-width: 768px) and (max-width: 925px)
{ .sm-mint { margin-left: 11px; } }

@media (min-width: 768px)
{ .sm-mint a,
  .sm-mint a:hover,
  .sm-mint a:focus,
  .sm-mint a:active,
  .sm-mint a.highlighted
  { font-size: 1.75vw; padding: 1vw 0.95vw; font-weight: 300; } } 

@media (min-width: 768px)
{ .sm-mint ul a,
  .sm-mint ul a:hover,
  .sm-mint ul a:focus,
  .sm-mint ul a:active,
  .sm-mint ul a.highlighted
  { font-size: 1.25vw; line-height: 1.7vw; } }
