/* Navigation Menu for Flash Memeory Summit */

/* Font is Open-Sans for Body and Oswald for Menus  */
/* ExtraLight 200	Oswald */
/* Light 300 */
/* Regular 400  */


/* A simple, css only, (some-what) responsive menu */

.search {
    width: 100%;
    height:auto;
    float:left;
    background-color:none;
    margin: 4px auto 4px auto;
}

.primary .searchField {
    color: white !important;
    max-width: 136px !important;
    height: 15px;
    margin-bottom: -18px !important;
    border: 1px solid white !important;
    border-radius: 0px 8px 0px 0px !important;
    background-color:#888888; color:white !important;
    font-family:'open-sans', Arial; font-size: 1.1em;
    font-weight:100; float:left; margin:0px 0px 0px 12%; padding:0px 1px 1px 1px;
    }


/*  Top Right Nav bar  */
.navbar-nav li {
    font-size:1em;
    font-family: 'Oswald',  'arial narrow', sans-serif;
}


.wrapxxx {
  display: inline-block;
  box-shadow: 0 0 70px #fff;
  margin-top: 40px;
}

/* a little "umph" */
.decor {
  background: #6EAF8D;
  background: linear-gradient(left, white 50%, #6EAF8D 50%);
  background-size: 50px 25%;
  padding: 2px;
  display: block;
}

a {
  text-decoration: none;
  color: white;
  __display: block;
}

ul {
  list-style: none;
  position: relative;
  text-align: left;

}

.nav3 > li {
  float: left;

}

/* clear'n floats */
ul:after {
  clear: both;
}

ul:before,
ul:after {
    content: " ";
    display: table;
}


ul.primary {
    font-size:0.9em;
    font-family: 'Oswald', 'arial narrow', sans-serif;
    letter-spacing: .07em;
    font-weight: 300 !important;
}

/* primary = Main Menu */
.primary {
	background-color:#243f8f;
	margin-bottom:0px;
}

ul.primary li a {
  display: block;
  __padding: 0px 10px 2px 20px;
  /*border-right: 1px solid #3D3D3D;*/
	background-color:#243f8f;
	color:white;
	font-weight: 300;
  __font-family: 'Oswald', 'arial-narrow', 'helvetica', !important;
  __font-size: 1.2em;
}

/* ul.primary li:last-child a {
  border-right: pink;
} */

ul.primary li a:hover {
  background-color:#ddd230 !important;
  color:black !important;
	text-decoration:none;
}
ul.primary li a:active {background-color:#243f8f !important;}


/* subs */
ul.sub {
  position: absolute;
  z-index: 200;
  /*box-shadow: 2px 2px 0 #BEBEBE;*/
  width: 35%;
  display:none;
  background-color:inherit !important;
	padding-left:0px !important;
}

ul.sub li {
  float: none;
  margin: 0;
	background-color: none !important;
  __font-family:  'Oswald' !important;
}



/*  Sub-Menu item in "normal" laptop/desktop browser window size  */
ul.sub li a {
  __border-bottom: 1px solid red;
  __border-right: none;
  color:white !important;
  __font-weight:300;
  __font-family:  'Oswald' !important;
  __font-size: 1.2em;
  __padding: 0px 20px 2px 0px !important;
  background-color:#797a7a !important;
  border-top:1px solid #999999 !important;
  border-right:1px solid #999999 !important;
  border-left:1px solid #999999 !important;
  border-bottom:none !important;
  margin-top:0px !important;
}

/* part of hamburger menu */
ul.sub li a span {
  font-weight: 300;
  font-family: 'Oswald' !important;
}

ul.sub li:last-child a {
  /*border-bottom: none;*/
}

/* does not appear to control anything  */
ul.sub li a:hover {
  color:black;
  background:pink;
}

/* sub display , does not appear to control anything */
ul.primary li:hover ul {
  display: block;
  background:pink;
}

/* keeps the tab background (main menu item) white when scrolling down in sub-menu */
ul.primary li:hover a {
  background:white;
  color: #666;
  text-shadow: none;
}

/* keeps the tab text (main menu item) black when scrolling down in sub-menu */
ul.primary li:hover > a{
  color:black;
}

@media only screen and (max-width: 700px) {
    ul.primary.nav3 {
        background-color:transparent;
        /*width: 100%;
        min-width: 100% !important;*/
        height: auto !important;
    }

  .decor {
    padding: 3px;
  }

  .wrapxxx {
    width: 100%;
    margin-top: 0px;
  }

   li {
    float: none;
       width: 90%;
       font-size: 16px !important;
  }

    ul.primary li a {
        border-top: 2px solid #999;
        background: #0973ba;
        margin-left:1.1em !important;
        margin-top:1em;
        border-radius: 0px 15px 0px 0px !important;
    }

    .search {
        margin: 24px 0 24px -14px;
        width: 100% !important
    }

    .primary .searchField  {
        min-height: 26px !important;
        border-radius: 0px 12px 0px 0px !important;
        width: 100% !important;
        min-width: 210px;
        max-width: 20px !important;

    }

 /* part of hamburger menu */
  ul.primary li:hover a {
    background: none;
    color:white;
    text-shadow: none !important;
  }

  ul.primary li:hover ul {
    display: block;
    background: #272727;
    color: #999;
  }

  ul.sub {
    display: block;
    position: relative;
    box-shadow: none;
    /*width: 111%;*/ /*original*/
	width: inherit !important; 
  }

  ul.sub li a {
    background: #272727;
    border: 1px solid #AAAAAA;
    color:white;
	  margin-top: 0px !important;
    border-radius: 0px 0px 0px 0px !important;
    color: #dcd232 !important;
  }

  ul.sub li a:hover {
    color: #ccc;
    background: none;

  }
    .navbar-collapse {height: 600px; z-index:99999999 !important}
}

/* **** Begin: Browser windows sizes compensations **** */
/* smallest phones */
@media screen and (min-width: 320px){
    .search {margin: 4px -10px 26px 0px;}
    ul.primary li a {font-size: .9em !important;}
}

/* smaller phones */
@media screen and (min-width: 375px){
    .primary {margin-left: -13px !important;}
    .search {margin: 4px -10px 16px -12px;}
    .primary .searchField {
      color: white;
      margin-left: 33px !important;
      min-width: 266px !important;
      margin-bottom: -18px !important;
      border: .2px solid white !important;
      border-radius: 0px 8px 0px 0px !important;
    }
    ul.primary li a {font-size: 1em !important;}
}


@media screen and (min-width: 412px){
    .primary {margin-left: -13px !important;
    height: 24px !important
    }

    .search {
        margin: 4px -10px 14px -26px;
    }
    .primary .searchField {margin-left: 33px !important;
    min-width: 300px !important
    }

    ul.primary li a {
        font-size: 1.1em !important
    }
}


@media screen and (min-width: 548px){
    .primary {margin-left: -13px !important}

    .search {
        margin: 4px -10px 26px -12px;
    }
    .primary .searchField {margin-left: 33px !important;
    min-width: 420px !important
    }
    ul.primary li a {
        font-size: 1em !important
    }
}

@media screen and (min-width: 594px){

    .primary {margin-left: -13px !important}

    .search {
        margin: 4px -10px 26px -12px;
    }
    .primary .searchField {margin-left: 33px !important;
    min-width: 460px !important
    }
    ul.primary li a {
        font-size: 1em !important
    }
}

@media screen and (min-width: 667px) and (max-width:667px) {
    .primary {margin-left: -13px !important}

    .search {
        margin: 4px -10px 26px -12px;
    }
    .primary .searchField {margin-left: 33px !important;
    min-width: 530px !important
    }
    ul.primary li a {
        font-size: 1em !important;
        height: 33px
    }
}

/*  Big Screens Laptop and Desktop  Note: needs to be last  */
@media screen and (min-width: 668px) and (max-width:3000px) {
    .primary {
        margin-left: 0px !important;
        height: 30px !important;
        max-height: 30px !important
    }
    .nav3 {height: 80px; max-height:30px !important}

    /*.search {
        margin: 4px 10px -10px 12px;
    }*/
    .primary .searchField {
        margin-left: auto !important;
        margin-top: 1px !important;
        width: auto !important;
        min-width: 100px !important;
        min-height: 19px !important
    }
    ul.primary li a {
        font-size: 1.2em !important;
        height: 28px;
        margin: 2px 0 0 13px;
        max-width: 230px;
        padding: 3px 6px 0px 6px !important;
    }
  ul.sub > li  {padding-left: 0px !important; margin-left: -1px !important}
  __ul.sub > li span { margin-left: -20px !important} /* Windows IE fix  */
}
/* **** End: Browser windows sizes compensations **** */


/* || #### Overrides ##### || */
ul .sub > li a {
	border: 1px solid #999 !important;
	padding-top: 0 !important;
	width: 100% !important; min-width: 300px !important;
	font-family: 'futura-pt-condensed', 'Arial Narrow', 'sans-serif' !important;
	margin-bottom: 2px;
	padding-bottom: 0px !important;
	box-shadow: 0px 1px 6px #333
}
ul .sub li a span {/*border: 0px solid white !important;*/
	font-family: 'futura-pt-condensed', 'Arial Narrow', 'sans-serif' !important;
	font-size: 1.1em;
	font-weight: 400;
	letter-spacing: 2px !important;
	
}
.primary.nav3 li a {
	font-family: 'futura-pt-condensed', 'Arial Narrow', 'sans-serif' !important;
	font-size: 1.4em !important;
}
@media screen and (min-width: 768px) and (max-width:768px) {
	/*keeps iPad Mini full menu on one row by decreasing the font size*/
	.primary.nav3 li a {
	font-family: 'futura-pt-condensed', 'Arial Narrow', 'sans-serif' !important;
	font-size: 1.2em !important;
}
	/*below media transfered to Logo_TopMenu_B_2019.html fos some bizzarre dave reason it does not woek here. Had to create strict media queries for every single device.*/
/*@media only screen and (min-width: 319px) and (max-width:3000px) {
	p .testing {border: 3px solid white !important}
	span .icon-bar {height: 10px !important; color: blue; border: blue 2px solid !important; width:300px !important; background: blue !important}
	ul .sub > li a  {border: 3px solid blue !important; 
		width:10px !important}
}
p .testingJames {border: 3px solid white !important}*/
	
	
.accordion-content {
	display: none;
	padding: 5px;
	overflow: auto;
	box-shadow: 0px 5px 15px #999 inset !important;
	border: 4px solid #fff;
	border-radius: 0px 0px 15px 15px !important;
	}
}

.accordionHead {border: 0px solid blue !important; font-size: 1.2em}