/*DROPDOWN MENU TAGS*/
.menu {
  /* position: relative;*/
  height: 45px;
  background:#f2bc12;
  width: 99%;
  border-bottom:0px solid black;
  border-left:0px solid black;
  border-right:0px solid black;
  border-top:0px solid black;
  border-bottom-right-radius:5px;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  border-top-left-radius: 5px;
  margin-left:0;
  margin-top: 0px;
  outline: 0px dashed blue;
}
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0px;
  line-height: 1.0;
}
.menu > ul {
  position: relative;
  display: block;
  background: #f2bc12;
  height:34px;
  width: 100%;
  z-index: 500;
}
.menu:after,
.menu > ul:after {
  content: "..."; /*even hidden character(s) will take up the space*/
  display: block;
  clear: none;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.menu.align-right > ul > li {
  float: right;
}
.menu.align-center ul {
  text-align: center;
}
.menu.align-center ul ul {
  text-align: left;
}
.menu > ul > li {
  display: inline-block;
  position: relative;
  margin: 0;
  margin-left:10px;
  padding: 0;
}
.menu > ul > .menu-button {
  display: none;
}
/*two lines of text in anchor by changing width*/
.menu ul li a {
  display: block;
  margin-left:10px;
  font-family: Tahoma, Geneva, sans-serif;/*Original was Helvetica, sans-serif;*/
  text-decoration: none;
}
.menu > ul > li > a {
  font-size: 16px;
  font-weight: bold;
  padding: 5px 5px;
  color: #5d4d47;
  text-transform: sentencecase;
  -webkit-transition: color 0.25s ease-out;
  -moz-transition: color 0.25s ease-out;
  -ms-transition: color 0.25s ease-out;
  -o-transition: color 0.25s ease-out;
  transition: color 0.25s ease-out;
}
.menu > ul > li.has-sub > a {
  padding-right: 32px;
}
.menu > ul > li:hover > a {
  color: #ffffff;
}
.menu li.has-sub::after {
  display: block;
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
}
.menu > ul > li.has-sub::after {
  right: 10px;
  top: 20px;
  border: 5px solid transparent;
  border-top-color: #5d4d47;
}
.menu > ul > li:hover::after {
  border-top-color: #f2bc12;
}
.indicatorContainer {
  position: absolute;
  height: 12px;
  width: 100%;
  bottom: 0px;
  overflow: hidden;
  z-index: -1;
}
.pIndicator {
  position: absolute;
  height: 0;
  width: 100%;
  border: 12px solid transparent;
  border-top-color: #f2bc12;
  z-index: -2;
  -webkit-transition: left .25s ease;
  -moz-transition: left .25s ease;
  -ms-transition: left .25s ease;
  -o-transition: left .25s ease;
  transition: left .25s ease;
}
.cIndicator {
  position: absolute;
  height: 0;
  width: 100%;
  border: 12px solid transparent;
  border-top-color: #f2bc12;
  top: -12px;
  right: 100%;
  z-index: -2;
}
.menu ul ul {
  position: absolute;
  left: -9999px;
  top: 70px;
  opacity: 0;
  -webkit-transition: opacity .3s ease, top .25s ease;
  -moz-transition: opacity .3s ease, top .25s ease;
  -ms-transition: opacity .3s ease, top .25s ease;
  -o-transition: opacity .3s ease, top .25s ease;
  transition: opacity .3s ease, top .25s ease;
  z-index: 1000;
}
/*sub sub THIRD LEVEL ANCHORS*/
.menu ul ul ul {
  top: 37px;
  padding-left: 0px;
  outline: 0px dashed blue;
}
/*sub*/
.menu ul ul li {
  position: relative;
  outline: 0px solid blue;
}
.menu > ul > li:hover > ul {
  left: auto;
  top: 42px;
  opacity: 1;
  }
.menu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
  opacity: 1;
}
/*ISSUE - SUB SUB LINED RIGHT IS OUT OF WACK FOR EVENTS ON THE STRIDE PAGE: PROBLEM LOOKS TO BE IN THE HEADER/MENU ul TOO FAR TO THE LEFT IN THE STRIDE PAGE????*/
.menu ul ul li:hover > ul {
  left: 135px; /*ORIGINAL SETTING WAS 170px*/
  top: 0;
  opacity: 1;
}
.menu.align-right ul ul li:hover > ul {
  left: auto;
  right: 170px;
  top: 0;
  opacity: 1;
  padding-right: 5px;
}
/*all sub element anchors - subNavElements changed from #f2bc12 */
.menu ul ul li a {
  width: 120px;
  border-bottom: 1px solid #eeeeee;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  background: #ebea71;
  -webkit-transition: all .35s ease;
  -moz-transition: all .35s ease;
  -ms-transition: all .35s ease;
  -o-transition: all .35s ease;
  transition: all .35s ease;
  outline: 0px solid yellow;
}
.menu.align-right ul ul li a {
  text-align: right;
}
.menu ul ul li:hover > a {
  background: #f2f2f2;
  color: #8c9195;
}
.menu ul ul li:last-child > a,
.menu ul ul li.last > a {
  border-bottom: 0;
}
/*vertical pointer*/
.menu > ul > li > ul::after {
  content: '';
  border: 10px solid transparent;/*pointer size*/
  width: 0;
  height: 0;
  border-bottom-color: #8c9195;
  position: absolute;
  top: -20px;
  left: 30px;
}
.menu.align-right > ul > li > ul::after {
  left: auto;
  right: 130px;
}
/*horizontal pointers*/
.menu ul ul li.has-sub::after {
  border: 8px solid transparent;
  border-left-color: #5d4d47;
  right: -2px;
  top: 12px;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;-o-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
}
.menu.align-right ul ul li.has-sub::after {
  border-left-color: transparent;
  border-right-color: #5d4d47;
  right: auto;
  left: 10px;
}
.menu ul ul li.has-sub:hover::after {
  border-left-color: #f2bc12;
  right: -5px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.menu.align-right ul ul li.has-sub:hover::after {
  border-right-color: #f2bc12;
  border-left-color: transparent;
  left: -5px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

@media only screen and (min-width: 501px) and (max-width: 768px){
.menu {
  /* position: relative;*/
  height: 37px;
  background:#f2bc12;
  width: 100%;
  text-align: left;
  border-bottom:0px solid black;
  border-left:0px solid black;
  border-right:0px solid black;
  border-bottom-right-radius:5px;
  border-bottom-left-radius: 5px;
  margin-left: 0%;
  margin-top: 0px;
  outline: 0px dashed blue;
}
.menu > ul > li > a {
	font-size: 12px;
	font-weight: 900;
	padding: 10px 0px 10px 0px;
	margin: 0px 0px 0px 0px;
	}
/*allows down arrow to sit at the left of anchor*/
.menu > ul > li.has-sub > a {
  padding-right: 25px;
}
/*sub*/
.menu ul ul li {
  position: relative;
  outline: 0px solid blue;
}
/*position sub menu*/
.menu > ul > li:hover > ul {
  left: -20px;
  top: 35px;
  opacity: 1;
}
}

@media only screen and (min-width: 50px) and (max-width: 500px){

/*THIS ALL NEEDS TO BE INCLUDED IN THE MENU.CSS FILE*/
.menu {
  position: static;
  display: block;
  min-height: 400px;
  background-color: #fff;/*a6abc5;*/
  width: 96.5%;
  text-align: left;
  border-top:2px solid black;
  border-bottom:2px solid black;
  border-left:2px solid black;
  border-right:2px solid black;
  border-bottom-right-radius:10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  margin-left:8px;
  margin-top: 5px;
  outline: 3px dashed blue;
}
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0px;
  line-height: .65em;
  border: 0px solid white;
}
.menu > ul {
  position: relative;
  display: block;
  background: #f2bc12;
  height:0px;
  width: 100%;
  z-index: 500;
}
.menu:after,
.menu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.menu.align-right > ul > li {
  float: right;
}
.menu.align-center ul {
  text-align: center;
}
.menu.align-center ul ul {
  text-align: left;
}
.menu > ul > li {
  display: block;
  position: relative;
  width: 98%;
  margin-top: 15px;
  margin-left:0px;
  padding: 0;
}
.menu > ul > #menu-button {
  display: none;
}
/*two lines of text in anchor by changing width*/
.menu ul li a {
  display: block;
  margin:0px;
  margin-bottom:0px;
  border: 2px solid white;
  border-radius: 12px;
  font-family: Tahoma, Geneva, sans-serif;/*Original was Helvetica, sans-serif;*/
  text-decoration: underline;
}
.menu > ul > li > a {
  display: block;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 5px;
  color: #5d4d47;
  text-transform: sentencecase;
  -webkit-transition: color 0.25s ease-out;
  -moz-transition: color 0.25s ease-out;
  -ms-transition: color 0.25s ease-out;
  -o-transition: color 0.25s ease-out;
  transition: color 0.25s ease-out;
}
.menu > ul > li.has-sub > a {
  padding-right: 32px;
}
.menu > ul > li:hover > a {
  color: #ffffff;
}
.menu li.has-sub::after {
  display: block;
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}
.menu > ul > li.has-sub::after {
  right: 10px;
  top: 20px;
  border: 5px solid transparent;
  border-top-color: #5d4d47;
}
.menu > ul > li:hover::after {
  border-top-color: #f2bc12;
}
.indicatorContainer {
  position: absolute;
  height: 12px;
  width: 100%;
  bottom: 0px;
  overflow: hidden;
  z-index: -1;
}
.pIndicator {
  position: absolute;
  height: 0;
  width: 100%;
  border: 12px solid transparent;
  border-top-color: #f2bc12;
  z-index: -2;
  -webkit-transition: left .25s ease;
  -moz-transition: left .25s ease;
  -ms-transition: left .25s ease;
  -o-transition: left .25s ease;
  transition: left .25s ease;
}
.cIndicator {
  position: absolute;
  height: 0;
  width: 100%;
  border: 12px solid transparent;
  border-top-color: #f2bc12;
  top: -12px;
  right: 100%;
  z-index: -2;
}
.menu ul ul {
  position: absolute;
  left: -9999px;
  top: 70px;
  opacity: 0;
  -webkit-transition: opacity .3s ease, top .25s ease;
  -moz-transition: opacity .3s ease, top .25s ease;
  -ms-transition: opacity .3s ease, top .25s ease;
  -o-transition: opacity .3s ease, top .25s ease;
  transition: opacity .3s ease, top .25s ease;
  z-index: 1000;
}
.menu ul ul ul {
  top: 37px;
  padding-left: 5px;
}
.menu ul ul li {
  position: relative;
}
/*position sub menu*/
.menu > ul > li:hover > ul {
  left: 50px;
  top: 30px;
  opacity: 1;
}
.menu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
  opacity: 1;
}
/*sub sub location*/
.menu ul ul li:hover > ul {
  left: 155px;
  top: 0;
  opacity: 1;
}
.menu.align-right ul ul li:hover > ul {
  left: auto;
  right: 170px;
  top: 0;
  opacity: 1;
  padding-right: 5px;
}
/*subNavElements changed from #f2bc12 */
/*subMenu color etc.*/
.menu ul ul li a {
  width: 130px;
  font-weight: bold;
  text-decoration:none; 
  line-height: 0.8em;
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 14px;
  color: #5d4d47;
  background: #a6abc5;
  margin-bottom: 5px;
  -webkit-transition: all .35s ease;
  -moz-transition: all .35s ease;
  -ms-transition: all .35s ease;
  -o-transition: all .35s ease;
  transition: all .35s ease;
}
.menu.align-right ul ul li a {
  text-align: right;
}
.menu ul ul li:hover > a {
  background: #8c9195;
  color: #f2f2f2;
}
.menu ul ul li:last-child > a,
.menu ul ul li.last > a {
  border-bottom: 1px solid black;
}
/*vertical pointer*/
.menu > ul > li > ul::after {
  content: '';
  border: 8px solid transparent;
  width: 0;
  height: 0;
  border-bottom-color: #fff;
  position: absolute;
  top: -20px;
  left: 35px;
}
.menu.align-right > ul > li > ul::after {
  left: auto;
  right: 30px;
}
/*horizontal pointer in sub*/
.menu ul ul li.has-sub::after {
  border: 6px solid transparent;/*pointer size*/
  border-left-color: #fff;/*pointer color*/
  right: 10px;
  top: 5px;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
}
/*horizontal pointer*/
.menu.align-right ul ul li.has-sub::after {
  border-left-color: transparent;
  border-right-color: #fff;
  right: auto;
  left: 10px;
}
/*moves horz. pointer between sub and next sub*/
.menu ul ul li.has-sub:hover::after {
  border-left-color: #fff;
  right: -5px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.menu.align-right ul ul li.has-sub:hover::after {
  border-right-color: #f2bc12;
  border-left-color: transparent;
  left: -5px;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}	
}
	
/*original (max-width: 800px)*/
 
@media all and (max-width: 320px){
  .menu {
    width: auto;
  }
  .menu.align-center ul {
    text-align: left;
  }
  .menu.align-right > ul > li {
    float: none;
  }
  .menu ul {
    width: auto;
  }
  .menu .submenuArrow,
  .menu .indicatorContainer {
    display: none;
  }
  .menu > ul {
    height: auto;
    display: block;
  }
  .menu > ul > li {
    float: none;
  }
  .menu li,
  .menu > ul > li {
    display: none;
  }
  .menu ul ul,
  .menu ul ul ul,
  .menu ul > li:hover > ul,
  .menu ul ul > li:hover > ul,
  .menu.align-right ul ul,
  .menu.align-right ul ul ul,
  .menu.align-right ul > li:hover > ul,
  .menu.align-right ul ul > li:hover > ul {
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    padding-left: 0;
    padding-right: 0;
    right: auto;
  }
  .menu ul .has-sub::after {
    display: none;
  }
  .menu ul li a {
    padding: 12px 20px;
  }
  .menu ul ul li a {
    border: 0;
    background: none;
    width: auto;
    padding: 8px 35px;
  }
  .menu.align-right ul ul li a {
    text-align: left;
  }
  .menu ul ul li:hover > a {
    background: none;
    color: #8c9195;
  }
  .menu ul ul ul a {
    padding: 8px 50px;
  }
  .menu ul ul ul ul a {
    padding: 8px 65px;
  }
  .menu ul ul ul ul ul a {
    padding: 8px 80px;
  }
  .menu ul ul ul ul ul ul a {
    padding: 8px 95px;
  }
  .menu > ul > .menu-button {
    display: block;
    cursor: pointer;
  }
  .menu .menu-button > a {
    padding: 14px 20px;
  }
  .menu ul.open li,
  .menu > ul.open > li {
    display: block;
  }
  .menu > ul.open > li.menu-button > a {
    color: #fff;
    border-bottom: 1px solid rgba(150, 150, 150, 0.1);
  }
  .menu ul ul::after {
    display: none;
  }
  .menu .menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #7a8189;
    border-bottom: 2px solid #7a8189;
    right: 20px;
    top: 15px;
  }
  .menu .menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #7a8189;
    right: 20px;
    top: 25px;
  }
  .menu ul.open .menu-button::after,
  .menu ul.open .menu-button::before {
    border-color: #fff;
  }
}