/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop5.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
/*
  adapted for use with dropdown-menu.php menu generator by
  Ken True - Saratoga-Weather.org - 9-Aug-2007                      
                                                                    */
/* style the outer div to give it width */
.dropdownmenu {font-size:1.00em;padding-bottom:1px;margin-left: 0px;}

/* remove all the bullets, borders and padding from the default list styling */
.dropdownmenu ul {padding:0;margin:0;list-style-type:none; height:1.6em; background:#0033ff; 
  position: relative; z-index: 10;} /* added to fix menu-over-buoy-map issue */

/* style the sub-level lists */
.dropdownmenu ul ul {width:15em;left: 100%; top:100%;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.dropdownmenu ul li {float:left;height:1.5em;line-height:1.5em;}

/* style the sub level list items */
.dropdownmenu ul ul li {display:block;width:12em;height:auto; line-height:1em;}

/* style the links for the top level */
.dropdownmenu a, .dropdownmenu a:visited {display:block;float:left;height:100%;font-size:1em;text-decoration:none;color:#FFFFFF;background:#0066FF;font-weight: bold;padding:0 1em 0 1em; border:1px solid #E0E0E0;}

/* style the sub level links */
.dropdownmenu ul ul a, .dropdownmenu ul ul a:visited {display:block;float:none; background:#d4d8bd; color:#000000;width:12em;height:100%;line-height:1em; padding:0.25em 1em;}
* html .dropdownmenu ul ul a, * html .dropdownmenu ul ul a:visited  {width:14em; w\idth:12em;}


/* style the table so that it takes no part in the layout - required for IE to work */
.dropdownmenu table {position:absolute; left:1px; top:0; width:0; height:0; font-size:1em; z-index:-1;}


/* style the third level background */
.dropdownmenu ul ul ul a, .dropdownmenu ul ul ul a:visited {background:#b4be9c;}
/* style the fourth level background */
.dropdownmenu ul ul ul ul a, .dropdownmenu ul ul ul ul a:visited {background:#d4d8bd;}
/* style the sub level 1 background */
.dropdownmenu ul :hover a.sub1 {background:#d4d8bd;}
/* style the sub level 2 background */
.dropdownmenu ul ul :hover a.sub2 {background:#b4be9c;}

/* style the level hovers */
/* first */
* html .dropdownmenu a:hover {color:#000000;background:#d4d8bd; position:relative; z-index:100;}
.dropdownmenu li:hover {position:relative;}
.dropdownmenu :hover > a {color:#0000FF;background:#d4d8bd;}
/* second */
* html .dropdownmenu ul ul a:hover{color:#0000FF;background:#d4d8bd; position:relative; z-index:110;}
.dropdownmenu ul ul li:hover {position:relative;}
.dropdownmenu ul ul :hover > a {color:#0000FF;background:#b4be9c;}
/* third */
* html .dropdownmenu ul ul ul a:hover {background:#b4be9c; position:relative; z-index:120;}
.dropdownmenu ul ul ul :hover > a {color:#0000FF;background:#c4ceac;}
/* fourth */
.dropdownmenu ul ul ul ul a:hover {background:#b4be9c; position:relative; z-index:130;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.dropdownmenu ul ul {visibility:hidden;position:absolute;height:0;top:1.5em;left:0;width:14em;}

/* position the third level flyout menu */
.dropdownmenu ul ul ul{left:12em;top:0;width:14em;}


/* make the second level visible when hover on first level list OR link */
.dropdownmenu ul :hover ul{visibility:visible; height:auto; padding-bottom:3em; 
  background:transparent url(/images/trans.gif);}
/* keep the third level hidden when you hover on first level list OR link */
.dropdownmenu ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.dropdownmenu ul :hover ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.dropdownmenu ul :hover ul :hover ul{visibility:visible;}
/* make the fourth level visible when you hover over third level list OR link */
.dropdownmenu ul :hover ul :hover ul :hover ul {visibility:visible;}
/* end of wx-menu.css */

/* style links outside domain to display arrow pointing upper-right out of box
 *
 * cite: https://christianoliff.com/blog/styling-external-links-with-an-icon-in-css/
 *
 */
.dropdownmenu  ul a[href^="http"]::after,
.dropdownmenu  ul a[href^="https://"]::after
{
  content: "";
  width: 11px;
  height: 11px;
  margin-left: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
  background-position: right;
  background-position-x: 90%;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
}
/* Exclude domains with the following: */
.dropdownmenu a[href^="https://example.com"]::after
{
  display: none !important;
}
