﻿
/*
MAIN MENU 
============================================== */

#ds-header-menus,
#ds-header-menus ul,
#ds-header-menus ul li,
#ds-header-menus ul li > a,
#ds-header-menus #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 34;
}

#ds-header-menus ul li > a {
  text-decoration: none;
  font: 0.8125em/1.0em "3ds","sans-serif", Arial;
  color: #004b7a;
  display: block;
  padding: 15px 25px;
  font-weight: normal;
  text-transform: uppercase;
  position: relative;
/*
  -webkit-transition: color .25s;
  -moz-transition: color .25s;
  -ms-transition: color .25s;
  -o-transition: color .25s;
  transition: color .25s;
*/
}
#ds-header-menus ul li > a:hover {
  color: #1386bf;
}
#ds-header-menus ul li > a:hover:before {
  width: 100%;
}

/*Create's the graph*/
#ds-header-menus ul li > a:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: #1386bf;
  /*
  -webkit-transition: width .25s;
  -moz-transition: width .25s;
  -ms-transition: width .25s;
  -o-transition: width .25s;
  transition: width .25s;
*/
}

/*Create's the graph for sub - now white*/
#ds-header-menus ul ul li > a:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: #fff;
  /*
  -webkit-transition: width .25s;
  -moz-transition: width .25s;
  -ms-transition: width .25s;
  -o-transition: width .25s;
  transition: width .25s;
*/
}

/*this is the styling that comes directly after the blue graph bar;
it extends the extra gray layer below it essentially*/
#ds-header-menus:after,
#ds-header-menus > ul:after {
  content: " ";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#ds-header-menus #menu-button {
  display: none;
}
#ds-header-menus {
  min-width: 1024px;
  font-family: '3ds', sans-serif;
  background: #c2ced5;
  display: table;
  width: 100%;
  /*For whatever reason, the rgba is not producing the correct color
  It should be something like the following:
  background: rgba(194, 206, 213, 0.1); */
 }

#ds-left-menu {
  position:relative;
  top:0px;
  left:0px;
  white-space:nowrap;
  display: table-cell !important;
}
 
#ds-right-menu 
{
  position:relative;
  top:0px;
  right:0px;
  white-space:nowrap;
  display: table-cell !important;
  text-align: right;
}
 
#ds-header-menus > ul {
    vertical-align: top;
  /*Add this next line below to have a box shadow
  that lines up with the blue graph bar line.
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05); */
}
#ds-header-menus.align-right > ul > li {
  float: right;
}
#ds-header-menus > ul > li {
  display: inline-block;
  vertical-align: top;
}
#ds-header-menus.align-center > ul {
  float: none;
  text-align: center;
}
#ds-header-menus.align-center > ul > li {
  float: none;
}
#ds-header-menus.align-center ul ul {
  text-align: left;
}
#ds-header-menus > ul > li > a {
  padding: 12px 4px 16px 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 300;
  color: #004b7a;
  text-transform: uppercase;
  letter-spacing: 0px;
}
#ds-header-menus > ul > li:hover > a,
#ds-header-menus > ul > li > a:hover,
#ds-header-menus > ul > li.active > a {
  color: #1386bf;
  background: #c2ced5;
  background: rgba(194, 206, 213, 0.1);
}
/*This is the positioning arrow for dropdowns*/
#ds-header-menus > ul > li.has-sub > a {
  padding-right: 25px;
    top: 0px;
    left: 0px;
}

/*This is the appearance of the arrow for dropdowns*/
#ds-header-menus > ul > li.has-sub > a::after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #004b7a;
  right: 7px;
  top: 15px;
}

/*we might drop this*/
#ds-header-menus > ul > li.has-sub.active > a::after,
#ds-header-menus > ul > li.has-sub:hover > a {
  border-top-color: #1386bf;
}

/*This is the appearance of the arrow for dropdowns hover*/
#ds-header-menus > ul > li.has-sub:hover > a::after {
  content: ".";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #1386bf;
  right: 7px;
  top: 15px;
}

#ds-header-menus ul ul {
  position: absolute;
  left: -9999px;
  top: 60px;
  padding-top: 6px;
  font-size: 13px;
  opacity: 0;
  z-index:35;
  /*
  -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
  -o-transition: top 0.2s ease, opacity 0.2s ease-in;
  transition: top 0.2s ease, opacity 0.2s ease-in;
*/
}
#ds-header-menus.align-right ul ul {
  text-align: right;
}
/*This would create a white arrow directly above the menu tabs
#ds-header-menus > ul > li > ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color: #ffffff;
  top: -4px;
  left: 20px;
}
*/
#ds-header-menus.align-right > ul > li > ul::after {
  left: auto;
  right: 20px;
}
#ds-header-menus ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color: #ffffff;
  top: 11px;
  left: -4px;
}
#ds-header-menus.align-right ul ul ul::after {
  border-right-color: transparent;
  border-left-color: #ffffff;
  left: auto;
  right: -4px;
}
#ds-header-menus > ul > li > ul {
  top: 120px;
}
#ds-header-menus > ul > li:hover > ul {
  top: 30px;
  left: 0;
  opacity: 1;
}
#ds-header-menus > ul > li.lastchild:hover > ul {
  top: 30px;
  right: 0px;
  left: -100px;
  opacity: 1;
}
#ds-header-menus.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}
#ds-header-menus ul ul ul {
  padding-top: 0;
  padding-left: 6px;
}
#ds-header-menus.align-right ul ul ul {
  padding-right: 6px;
}
#ds-header-menus ul ul > li:hover > ul {
  left: 180px;
  top: 0;
  opacity: 1;
}
#ds-header-menus.align-right ul ul > li:hover > ul {
  left: auto;
  right: 100%;
  opacity: 1;
}
#ds-header-menus ul ul li a {
  text-decoration: none;
  font-weight: 400;
  padding: 11px 15px;
  width: auto;
  color: #777777;
  background: #ffffff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);
}
#ds-header-menus ul ul li:hover > a,
#ds-header-menus ul ul li.active > a {
  color: #1386bf;
  background:#e8e8e8;
}
#ds-header-menus ul ul li:first-child > a {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
#ds-header-menus ul ul li:last-child > a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
#ds-header-menus > ul > li > ul::after {
  position: absolute;
  display: block;
}
#ds-header-menus ul ul li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: #777777;
  right: 17px;
  top: 14px;
}
#ds-header-menus.align-right ul ul li.has-sub > a::after {
  border-left-color: transparent;
  border-right-color: #777777;
  right: auto;
  left: 17px;
}
#ds-header-menus ul ul li.has-sub.active > a::after,
#ds-header-menus ul ul li.has-sub:hover > a::after {
  border-left-color: #333333;
}
#ds-header-menus.align-right ul ul li.has-sub.active > a::after,
#ds-header-menus.align-right ul ul li.has-sub:hover > a::after {
  border-right-color: #333333;
  border-left-color: transparent;
}

/*
LOGIN MENU 
============================================== */

#ds-login-menus,
#ds-login-menus ul,
#ds-login-menus ul li,
#ds-login-menus ul li a,
#ds-login-menus #menu-login-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index:34;
}

/*Also see table.ds-menu-table in the main ds-styles*/
#ds-login-menus ul li a {
  text-decoration: none;
  font: 0.8125em/1.0em "3ds","sans-serif", Arial;
  color: #fff;
  display: block;
  padding: 15px 25px;
  font-family: '3DS', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  position: relative;
  -webkit-transition: color .25s;
  -moz-transition: color .25s;
  -ms-transition: color .25s;
  -o-transition: color .25s;
  transition: color .25s;
}
#ds-login-menus ul li a:hover {
  color: #efefef;
}
#ds-login-menus ul li a:hover:before {
  width: 100%;
}

#ds-login-menus #menu-login-button {
  display: none;
}
#ds-login-menus {
  min-width: 1024px;
  font-family: '3ds', sans-serif;
  background: #transparent;
 }

#ds-login-menus.align-right > ul > li {
  float: right;
}
#ds-login-menus > ul > li {
  float: left;
  display: inline-block;
}
#ds-login-menus.align-center > ul {
  float: none;
  text-align: center;
}
#ds-login-menus.align-center > ul > li {
  float: none;
}
#ds-login-menus.align-center ul ul {
  text-align: left;
}
#ds-login-menus > ul > li > a {
  padding: 12px 8px 16px 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 300;
  color: #004b7a;
  text-transform: uppercase;
  letter-spacing: 0px;
}
#ds-login-menus > ul > li:hover > a,
#ds-login-menus > ul > li > a:hover,
#ds-login-menus > ul > li.active > a {
  color: #fff;
  background: transparent;
}
/*This is the positioning arrow for dropdowns*/
#ds-login-menus > ul > li.has-sub > a {
  padding-right: 25px;
    top: 0px;
    left: 0px;
}

/*This is the appearance of the arrow for dropdowns*/
#ds-login-menus > ul > li.has-sub > a::after {
  content: ".";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #004b7a;
  right: 7px;
  top: 15px;
}
#ds-login-menus > ul > li.has-sub.active > a::after,
#ds-login-menus > ul > li.has-sub:hover > a {
  border-top-color: #1386bf;
}
#ds-login-menus ul ul {
  position: absolute;
  left: -9999px;
  top: 60px;
  padding-top: 6px;
  font-size: 13px;
  opacity: 0;
  -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
  -o-transition: top 0.2s ease, opacity 0.2s ease-in;
  transition: top 0.2s ease, opacity 0.2s ease-in;
  z-index:35;
}
#ds-login-menus.align-right ul ul {
  text-align: right;
}

#ds-login-menus.align-right > ul > li > ul::after {
  left: auto;
  right: 20px;
}
#ds-login-menus ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color: #ffffff;
  top: 11px;
  left: -4px;
}
#ds-login-menus.align-right ul ul ul::after {
  border-right-color: transparent;
  border-left-color: #ffffff;
  left: auto;
  right: -4px;
}
#ds-login-menus > ul > li > ul {
  top: 120px;
}
#ds-login-menus > ul > li:hover > ul {
  top: 30px;
  left: 0;
  opacity: 1;
}
#ds-login-menus.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}
#ds-login-menus ul ul ul {
  padding-top: 0;
  padding-left: 6px;
}
#ds-login-menus.align-right ul ul ul {
  padding-right: 6px;
}
#ds-login-menus ul ul > li:hover > ul {
  left: 180px;
  top: 0;
  opacity: 1;
}
#ds-login-menus.align-right ul ul > li:hover > ul {
  left: auto;
  right: 100%;
  opacity: 1;
}
#ds-login-menus ul ul li a {
  text-decoration: none;
  font-weight: 400;
  padding: 11px 15px;
  width: auto;
  color: #777777;
  background: #ffffff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);
}
#ds-login-menus ul ul li:hover > a,
#ds-login-menus ul ul li.active > a {
  color: #1386bf;
  background:#e8e8e8;
}
#ds-login-menus ul ul li:first-child > a {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
#ds-login-menus ul ul li:last-child > a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
#ds-login-menus > ul > li > ul::after {
  position: absolute;
  display: block;
}
#ds-login-menus ul ul li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: #777777;
  right: 17px;
  top: 14px;
}
#ds-login-menus.align-right ul ul li.has-sub > a::after {
  border-left-color: transparent;
  border-right-color: #777777;
  right: auto;
  left: 17px;
}
#ds-login-menus ul ul li.has-sub.active > a::after,
#ds-login-menus ul ul li.has-sub:hover > a::after {
  border-left-color: #333333;
}
#ds-login-menus.align-right ul ul li.has-sub.active > a::after,
#ds-login-menus.align-right ul ul li.has-sub:hover > a::after {
  border-right-color: #333333;
  border-left-color: transparent;
}
