/*  Generated by www.menucool.com/drop-down-menu  */

/* main menu
----------------------------*/
#megamenu1 {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: center; /*Specify the alignment of the whole UL if UL is not width:100%;*/
  letter-spacing: normal;
}

#megamenu1 ul {
  margin: 0 auto;
  padding: 0;
  text-align: center;
  width: 100%;
  font-size: 0;
  background: #fff;
  display: inline-block;
  list-style: none;
  position: relative;
  z-index: 10;
  max-width: 1400px;
  /* border: 1px solid rgba(255,255,255,0.2); */
  border-radius: 4px;
}
#megamenu1 li {
  margin: 0;
  padding: 0;
  font-size: 16px;
  display: inline-block;
  display: inline;
  zoom: 1; /*for IE6-7*/
  position: relative;
  color: black;
  line-height: 46px; /*This determines the height of the menu*/
  vertical-align: middle;
  transition: background-color 0.2s;
  outline: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#megamenu1 .full-width {
  position: static;
}

#megamenu1 .over {
  color: black;
  background-color: #fff;
}

#megamenu1 .over.no-sub {
}

#megamenu1 .top-heading {
  font-weight: bold;
  margin: 0 16px;
  color: black;
  text-decoration: none;
  display: inline-block;
  outline: 0;
  cursor: pointer;
}

/* links of top-heading */
#megamenu1 a,
#megamenu1 a:link,
#megamenu1 a:hover {
  color: black;
}
#megamenu1 a:hover {
  text-decoration: underline;
}

#megamenu1 a:focus {
  outline: 1px dotted #09f;
}

/* caret(arrow icon) */
#megamenu1 .caret {
  color: inherit;
  left: -12px;
  width: 0;
  height: 0;
  overflow: hidden; /*for IE6*/
  vertical-align: middle;
  margin-bottom: 2px;
  border-top: 4px solid; /*caret size is 4px now*/
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  display: inline-block;
  position: relative;
}

/* sub-menu layout
----------------------------*/

#megamenu1 .dropdown {
  width: auto;
  left: 0px;
  color: #000;
  padding: 0;
  margin: 0;
  display: none;
  position: absolute;
  overflow: hidden;
  top: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-top: none;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.2);
  background-color: #ccc \9; /*fallback for old IE*/
}

#megamenu1 .full-width .dropdown {
  width: 100%;
  padding: 0;
  margin: 0;
}

#megamenu1 .offset300 {
  left: -300px;
  right: auto;
}

#megamenu1 .right-aligned {
  left: auto;
  right: 0px;
}

#megamenu1 .over .dropdown {
  display: block;
}

#megamenu1 .dd-inner {
  /* text-align: center; */
  /* padding: 20px; */
  /* margin: 16px; */
  background-color: lightgray;
  white-space: nowrap;
  font-size: 17px;
  text-transform: uppercase;
}

#megamenu1 ul ul {
  margin: 0;
  padding: 0;
  text-align: left;
  width: auto;
  background: none;
  border: none;
  display: block;
  position: static;
  z-index: 0;
  border-radius: 0;
}

#megamenu1 ul ul li {
  font-size: 13px;
  padding: 14px 0; /*It determines the line height*/
  color: inherit;
  line-height: 1;
  margin: 0;
  display: block;
  position: static;
  background: none;
  border: none;
  transition: none;
  border-radius: 0;
}

/* links in sub menu
----------------------------*/

#megamenu1 .dropdown a {
  color: #000;
  line-height: 1;
  text-decoration: none;
  transition: color 0.4s;
}

#megamenu1 .dropdown a:hover,
#megamenu1 .dropdown a:focus {
  text-decoration: none;
  color: black;
}

/* blocks within the sub-menu
-----------------------------*/
#megamenu1 .column {
  text-align: left;
  vertical-align: top; /*or middle*/
  display: inline-block;
  display: inline;
  zoom: 1;
  white-space: normal;
  width: auto;
  min-width: 200px;
  padding: 0 30px;
  border-right: 1px solid #999;
}

#megamenu1 .dd-inner ul:last-child {
  border-right: none;
}

#megamenu1 h3 {
  font-weight: 500;
  line-height: 1.1;
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 24px;
}

#megamenu1 div.column h3 {
  text-transform: uppercase;
}

/* useful when http://www.menucool.com/megamenu1/one-menu-for-all-pages */
#megamenu1Link {
  display: none;
}

/*######## add additional styles for mobile-friendly responsive menu ########*/

#megamenu1 .menu-icon {
  display: none; /* hide menu icon initially */
}

/*styles for mobile*/
@media only screen and (max-width: 480px) {
  #megamenu1 .column.mayHide {
    display: none;
  }

  /*override the original settings*/
  #megamenu1 ul {
    width: 100%;
    display: none;
    border-radius: 0;
  }

  #megamenu1 li {
    position: relative;
    display: block;
    font-size: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
  }

  #megamenu1 .full-width {
    position: relative;
  }

  #megamenu1 .dropdown {
    position: relative;
    top: auto; /*for IE7*/
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: #fff;
  }

  #megamenu1 .offset300 {
    left: 0;
  }

  #megamenu1 .full-width .dropdown {
    width: auto;
  }

  #megamenu1 .dd-inner {
    margin: 0;
    background: none;
    text-align: left;
  }

  /*turn each column to list vertically instead of horizontally */
  #megamenu1 .column {
    width: auto;
    padding: 0;
    border: none;
    display: block;
  }

  /*move the arrow icon to right*/
  #megamenu1 .caret {
    position: absolute;
    left: auto;
    right: 14px;
    top: 20px;
    border-width: 5px;
  }

  /* All the following are for the .menu-icon (pure CSS) */
  #megamenu1 .menu-icon {
    font-size: 32px; /*icon size*/
    display: block;
    position: relative;
    width: 40px;
    height: 36px;
    text-align: center;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    background-color: #eee;
    border-radius: 3px;

    margin-bottom: 6px;
    /*align the icon to the right*/
    margin-left: auto;
    margin-right: 11px;
  }

  #megamenu1 .menu-icon::before {
    content: "";
    position: absolute;
    top: 0.25em;
    left: 4px;
    width: 1em;
    height: 0.125em;
    border-top: 0.375em double #333;
    border-bottom: 0.125em solid #333;
    box-sizing: content-box;
  }

  #megamenu1 .menu-icon-active {
    background-color: #333;
  }

  #megamenu1 .menu-icon-active::before {
    border-color: #eee;
  }
}
