﻿/*Change Navbar Breakpoint*/
@media(max-width:900px) {
  .navbar .navbar-brand {float:none;display: inline-block;}
  .navbar .navbar-nav>.nav-item { float: none; margin-left: .1rem;}
  .navbar .navbar-nav {float:none !important;}
  .nav-item{width:100%;text-align:left;} 
  .navbar-toggler {display: block !important;}
  .navbar-toggleable-sm.collapse {display:none !important}
  .navbar-toggleable-sm.collapse.in {display:block !important}
}


/*Stretches menu to specific width on desktop mode*/
@media (min-width: 992px){
    .navbar-nav {
        margin: 0 auto;
        display: table;
        table-layout: auto;
        float: none;
        width: 100%;

    }
    .navbar-nav>li {
        display: table-cell;
        float: none;
        text-align: center;
        
    }
    .navbar-collapse{
        padding-left: 0;
        padding-right: 0;
    }
}

/*fixes white bar in mobile*/
@media (max-width: 991px){
.navbar{
    top: -30px;
}
}

/*COLORS and Format*/

.darsbg {
    background-color: #00358E!important;
    color: #fff;
}

.bg-dark {
    background-color: #00358E!important;
    color: #fff !important;
}

.nav-link{
    padding: 0.1em 0.2em;
    font-weight: 600;
}


.dropdown-menu {
 
  width: 100%;
  /*height: auto;*/
  /*text-align: center;*/
  border-radius: 0;
  border: 1px solid #eee;
  margin-top: -1px;
  padding: 0 0;
  /*max-height: 700px;*/
  /*overflow: auto;*/
  box-shadow: 5px 5px 5px grey;
}

.dropdown-submenu .dropdown-menu{
	/*position: static;
    float: none;*/
    background-color: #eee;
    border: 2px solid #2D6A9E/*#428bca*/;
    box-shadow: none;
}

.navbar {
    padding: 8px 16px;
}
.navbar-expand-lg .navbar-nav .dropdown-submenu .dropdown-menu{
position: static;
    float: none;
}


.darsbg .navbar-nav .nav-link{
    color: #fff;
	border: 2px solid transparent;
}

.darsbg .navbar-nav .nav-link:focus, .darsbg .navbar-nav .nav-link:hover{
    background-color: #fff;
    color: #00358E;
}

.darsbg .navbar-nav .active > .nav-link, .darsbg .navbar-nav .nav-link.active, .darsbg .navbar-nav .nav-link.show, .darsbg .navbar-nav .show > .nav-link {
background-color: #2D6A9E/*#428bca*/;
border: 2px solid #fff;
color: #fff;

}

.dropdown-item:focus, .dropdown-item:hover{
    background-color: #00358E;
    color: #fff;
}

.dropdown-item{
white-space: normal;
}

ul.icons > li::before {
    background: #0b536b none repeat scroll 0 0;
    border-radius: 0.5em;
    box-shadow: 0.125em 0.175em 0 0 rgba(0, 0, 0, 0.125);
    color: #fff;
    display: block;
    height: .5em;
    left: 0;
    line-height: 2em;
    position: absolute;
    text-align: center;
    top: .5em;
    width: .5em;
}

.fa-circle, .fa-circle a{
color: #005C9C;
}



#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #2D6A9E/*#428bca*/;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  opacity: 0.8;
  border: 3px solid #2D6A9E/*#428bca*/;
}

#myBtn:hover {
  background-color: #fff;
  opacity: 0.8;
  color: #00358E;
  border: 3px solid #0b536b;
}

.hiddenlink
 {position:absolute;
 left:-10000px;
 top:auto;
 width:1px;
 height:1px;
 overflow:hidden;}


.hidesmall{
    display: inline-block;
}

@media (max-width: 900px){
    .hidesmall{
    display: none;
}
}

.hidelarge{
    display: inline-block;
}

@media (min-width: 901px){
    .hidelarge{
    display: none;
}
}

.sectionheader {
    display: block;
    width: 100%;
    padding: 5px 10px;
    clear: both;
    color: #000;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
/* Add class to external links in menu. items need class="menuexit" added in the nav.htm include ONLY on text <li> that leave site NOT on images*/
.menuexit a[href^="https://"]:after,
.menuexit a[href^="https://"]:after {
  content: url('../images/icons/right-arrow15.png');
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
  padding-left: 5px;
  vertical-align: middle;
}
