@charset "UTF-8";

#navbar{
    height: 55px;
    background: -moz-linear-gradient(45deg, rgba(255,0,255,1) 0%, rgba(0,131,143,1) 100%);
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgba(255,0,255,1)), color-stop(100%, rgba(0,131,143,1)));
    background: -webkit-linear-gradient(45deg, rgb(9, 126, 147) 0%, rgb(222, 34, 23) 100%);
    background: -o-linear-gradient(45deg, rgb(9, 126, 147) 0%, rgb(222, 34, 23) 100%);
    background: -ms-linear-gradient(45deg, rgb(9, 126, 147) 0%, rgb(222, 34, 23) 100%);
    background: linear-gradient(45deg, rgb(9, 126, 147) 0%, rgb(222, 34, 23) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00838f', endColorstr='#ff00ff',GradientType=1 );
}

#navbar .block-region-menu-bar{
  margin: 0;
  padding: 0;
}

#navbar .nav-container {
  max-width: 100%;
  margin: 0 auto;
}

#navbar nav {
  float: left;
}

#navbar nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#navbar nav ul li {
  float: left;
  position: relative;
}

#navbar nav ul li a,
#navbar nav ul li a:visited {
  display: block;
  padding: 0 11px;
  line-height: 55px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
}

#navbar nav ul li a:hover,
#navbar nav ul li a:visited:hover {
  color: #ffffff;
}

/*Sub-Menu Classes */
#navbar nav ul li ul li a,
#navbar nav ul li ul li a:visited {
    display: block;
    padding: 0 14px;
    line-height: 55px;
    color: #1f7486;
    text-decoration: none;
    font-size: 15px;
    background-color: rgb(255, 255, 255);
    padding: 8px 15px;
    line-height: 20px;
    border-bottom: 1px dotted #bbb;
}

#navbar nav ul li ul li a:hover,
#navbar nav ul li ul li a:visited:hover {
    color: #ff0000;
}


#navbar nav ul li a:not(:only-child):after,
#navbar nav ul li a:visited:not(:only-child):after {
  padding-left: 4px;
  content: ' ▾';
  float: right;
  font-size: 16px;
}

#navbar nav ul li ul li {
  min-width: 250px;
}

#navbar .nav-dropdown {
    position: absolute;
    display: none;
    z-index: 1;
    box-shadow: 0 10px 24px rgb(31, 117, 135);
}

.brand {
  position: absolute;
  float: left;
  line-height: 40px;
  text-transform: uppercase;
  font-size: 1.4em;
}

.brand a,
.brand a:visited {
  color: #ffffff;
  text-decoration: none;
}


/* Mobile navigation */

.nav-mobile {
  display: none;
  position: absolute;
  top: -5px;
  left: 5px;
  height: 25px;
  width: 25px;
}

@media only screen and (max-width: 798px) {

/*
 #header{
     border-bottom: 3px solid #e62117;
 }
 */
 
 .branding-block {
      position: absolute;
      float: left;
      left: 15px;
  }
    
  .logo img{
      width: 200px;
    }

 .nav-mobile {
    display: block;
  }
  
  .brand {
    margin-left: 25px;
}

  #navbar{
    height: 4px;
    background: #e62117;
  }
  
  #navbar nav {
    width: 75%;
    position: absolute;
    z-index: 999999;
  }
  
  #navbar nav ul {
    display: none;
  }

  #navbar nav ul li {
    padding: 5px 10px 5px;
    background: -moz-linear-gradient(45deg, rgba(255,0,255,1) 0%, rgba(0,131,143,1) 100%);
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgb(26, 118, 137)), color-stop(100%, rgba(0,131,143,1)));
    background: -webkit-linear-gradient(45deg, rgb(9, 126, 147) 0%, rgb(234, 219, 218) 100%);
    background: -o-linear-gradient(45deg, rgb(9, 126, 147) 0%, rgb(222, 34, 23) 100%);
    background: -ms-linear-gradient(45deg, rgb(9, 126, 147) 0%, rgb(222, 34, 23) 100%);
    background: linear-gradient(45deg, rgb(9, 126, 147) 0%, rgba(120, 65, 60, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00838f', endColorstr='#ff00ff',GradientType=1 );
    float: none;
  }
  
  #navbar nav ul li a {
    padding: 8px 15px;
    line-height: 20px;
  }
  
  #navbar nav ul li ul li a {
    padding-left: 20px;
    border-bottom: none;
  }

  #navbar .nav-dropdown {
    position: static;
  }

  
}
@media screen and (min-width: 799px) {
  #navbar .nav-list {
    display: block !important;
  }
}


#nav-toggle {
    position: absolute;
    left: -25px;
    top: 20px;
    right: 0;
    cursor: pointer;
    padding: 15px 30px 20px 5px;
    width: 30px !important;
    z-index: 99999;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 3px;
  width: 22px;
  background: #156898;
  position: absolute;
  display: block;
  content: '';
  transition: all 300ms ease-in-out;
}

#nav-toggle span:before {
  top: -10px;
}

#nav-toggle span:after {
  bottom: -10px;
}

#nav-toggle.active span {
  background-color: transparent;
}

#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}

#nav-toggle.active span:before {
  transform: rotate(45deg);
}

#nav-toggle.active span:after {
  transform: rotate(-45deg);
}
