/*
  jQuery MegaMenu Plugin
  Author: GeekTantra
  Author URI: http://www.geektantra.com
*/

nav ul.megamenu-noJS {
 display: block;
}

nav ul.megamenu-noJS li, nav ul.megamenu-noJS li.Last {
 padding: 8px 15px;
 border-left: 1px solid #DDD;
 height: 19px;
}

nav ul.megamenu-noJS li a {
 color: white;
}

ul.megamenu {
  background-color: #888;
  border-top: 1px solid #888;
  border-bottom: 1px solid #666;
  border-left:1px solid #999;
  margin: 0px auto;
  padding: 0px 0px;
  list-style: none;
  line-height:20px;
  height:35px;
  display: none;
  background: #0088CC url(../../images/menu-background2.png) repeat-x right top; 
}

ul.megamenu li.mm-item 
{
    border-left: 1px solid #5B5B5B;
    border-right: 1px solid #70b6ec;
    /*-webkit-transition: all .25s ease-in;
  -moz-transition: all .25s ease-in;
  -o-transition: all .25s ease-in;
  transition: all .25s ease-in;*/
}

ul.megamenu li.mm-item-hover
{
    border-right: 1px solid #ffffff;
}

ul.megamenu a.mm-item-link:link, ul.megamenu a.mm-item-link:visited, nav ul.megamenu-noJS li a {
  position: relative;
  display: inline-block;
  color: #FFF;
  padding: 8px 15px;
  margin: 0px 0px 0px 0px;
  text-decoration: none;
  z-index: 2000; /* 2147483647 */
  font-size: 13px;
  font-weight: bold;
  /*-webkit-transition: all .25s ease-in;
  -moz-transition: all .25s ease-in;
  -o-transition: all .25s ease-in;
  transition: all .25s ease-in;*/
}

nav ul.megamenu-noJS li a {
  position: relative;
  display: inline-block;
  color: #FFF;
  padding: 0;
  margin: 0px 0px 0px 0px;
  text-decoration: none;
  z-index: 2000; /* 2147483647 */
  font-size: 13px;
  font-weight: bold;
}

nav ul.megamenu-noJS li a:hover {
  text-decoration: underline; 
}

nav ul.megamenu-noJS li {
border-left: 1px solid #5B5B5B;
border-right: 1px solid #70b6ec;
}

nav ul.megamenu-noJS li.Last
{
    border-left: 1px solid #5B5B5B;
    border-right: 0px solid #70b6ec;
}

ul.megamenu a.mm-item-link-hover:link, ul.megamenu a.mm-item-link-hover:visited {
  color: #444;
  background: #ffffff;   
}


ul.megamenu li.First, nav ul.megamenu-noJS li.First
{
    border-left: 0px solid #5B5B5B;
    border-right: 0px solid #70b6ec;
}

ul.megamenu li.Last
{
    height: 35px;
    border-left: 1px solid #5B5B5B;
    border-right: 0px solid #70b6ec;
}

ul.megamenu li {
  margin: 0px;
  padding: 0px;
}


ul.megamenu li.clear-fix {
  float: none;
  clear: both;
  margin: 0px;
  padding: 0px;
  height: 0px;
  font-size: 0px;
  line-height: 0px;
}

ul.megamenu div.mm-item-content 
{
  background:#ffffff;
  padding: 0px 0 10px 0;
  position: absolute;
  border: 1px solid #CCC;
  border-top: none;
  z-index: 1990; /* 2147483646 */
  /*margin: 0 0 0 4px;*/
  margin: 0 0 0 -1px;
  border-collapse: collapse;
  box-shadow: 0 0 20px #888888;
  -moz-border-radius-bottomright: 15px;
  -moz-border-radius-bottomleft: 15px;
  -ms-border-radius-bottomright: 15px;
  -ms-border-radius-bottomleft: 15px;
  -o-border-radius-bottomright: 15px;
  -o-border-radius-bottomleft: 15px;
  -webkit-border-radius-bottomright: 15px;
  -webkit-border-radius-bottomleft: 15px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px; 	
}

.mm-content-base {
  background: #FFF;
  position: relative;
  z-index: 11;
  padding: 10px;
}
.mm-js-shadow {
  position: absolute;
  z-index: 10;
}

ul.megamenu ul {
    float: left;
    list-style: none outside none;
    margin: 4px 5px 0;
}

ul.megamenu ul li {
    line-height: 17px;
    list-style: none outside none;
    margin-left: -1px;
}

/* MAJOR EDITS TO MENU */


ul.megamenu
{
    clear:both;
    /*background: #0088CC url(../../images/menu-background2.png) repeat-x right top;*/ 
}

ul.megamenu h1
{
    font-size: 22px;
    color: #333;
    margin: 0px;
    padding: 20px 15px;
}

.mm-content-base
{
    background-color: #FFF;
    margin-right: 5px;
}

ul.megamenu .MegaMenuHead
{
    border-bottom: 4px solid #DADADA;
    color: #4088B8;
    margin: 0;
    padding: 0 2px 2px 5px;
    font-weight: bold;
    text-transform: none;
    font-size: 1.5em;
    display: block;
}

#nav ul.megamenu li .section
{
    float: left;
    border-right: 1px solid #AAAAAA;
    padding: 0 10px 10px 5px;
}

#nav ul.megamenu li .section.last
{
    border-right: 0;
}

#nav ul.megamenu li .section .top-links
{
    /*height: 335px;         Only need if featured content is below*/ 
}

#nav ul.megamenu li div.menu-button a span
{
    color: #333333;
    float: none;
    font-weight: bold;
    padding: 0px;
    position: relative;
    top: -5px;
}

#nav ul.megamenu li div.menu-button a:hover span
{
    color: #4088B8;
}

ul.megamenu ul li.page-link
{
    padding: 0 2px 5px 0;
}

ul.megamenu ul li.page-link a
{
    background: url("//www.phdinc.com/images/bullet.png") no-repeat scroll 0 3px transparent;
    border: medium none;
    color: #333333;
    line-height: 1.2em;
    font-weight: 400;
    font-size: 12px;
    margin: 0;
    padding: 2px 0 5px 17px;
    text-decoration: none;
    list-style: none outside none;
}

ul.megamenu ul li.page-link a:hover
{
    background: url("//www.phdinc.com/images/bullet_hover.png") no-repeat scroll 0 3px transparent;
    color: #4088B8;
}


/* TABS PADDING */
#tabular-content
{
    border-collapse: collapse;
    border: 1px solid #265374;
    font-size: 12px;
    width: 480px;
}

#tabular-content td
{
    padding: 4px 5px;
}

#tabular-content th
{
    color: #FFF;
    background: #254156;
    padding: 5px;
}

#nav ul.megamenu li a span.arrow
{
    display: block;
    font-size: 150%;
    line-height: 1.25em;
    padding-left: 10px;
    position: absolute;
    right: 4px;
    top: -2px;
    color: #0060A6;
    text-decoration: none;
}

#nav ul.megamenu .eTool td img
{
    padding-bottom: 25px;
}

/*  MENU BUTTONS */
#nav ul.megamenu div.menu-button
{
    width: 70px;
    height: 89px;
    cursor: pointer; 
    text-align: center;
    padding: 5px;
    line-height: 1.2em;
}

#nav ul.megamenu div.menu-button.w85
{
    width: 85px;
}

#nav ul.megamenu div.menu-button img
{
    padding-bottom: 3px;
}

#nav ul.megamenu .Home
{
    cursor: pointer;
}