﻿.topnav {
  background-color: #4d4d4d;
  padding-left: 10%;
  margin-bottom: 20px;
  position:fixed;
  top:45px;
  left:0;
  right:0;
}

.menuOption
{
    cursor:pointer;
}

@media screen and (max-width: 992px)    /*For tablets: navbar no longer fixed */
{
    .topnav
    { 
        position: static;
        overflow-y: hidden;
        box-sizing: border-box;
        width:100%;
    }
}

.topnav .menuOption {
	float: left;
}

.active 
{
  color:Black !important; 
  background-color: #54d2f8;
}

.topnav a {
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-weight:500;
  border-bottom: 4px solid transparent;
}

.topnav .topnav-right
{
  float: right;
}

.topnav:not(.responsive)>div>a:hover
{
  border-bottom: 4px solid #54d2f8;
}

.topnav.responsive>div>a:hover
{
  background-color:White;
  color:Black;
}

.topnav .icon {
  display: none;
}

.dropdown .dropbtn {
    font-size: 17px;    
    border: none;
    outline: none;
    color: #f2f2f2;
    padding: 14px 16px;
    background-color: #4d4d4d;
    font-family: inherit;
    margin: 0;
    cursor:pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index:2;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}											/*This makes the ddl items visible */


.show-dd a {display:block;}

i.down-arrow {                               /* Defines how the small arrow should look on the 'More' tab */
  border: solid #f2f2f2;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  position: relative;
  top: -3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

@media screen and (max-width: 992px) {
  
  .topnav {padding-left:0;}
  
  .topnav div:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav .icon {
    float: right;
    display: block !important;
  }
}

@media screen and (max-width: 992px) {
  .topnav.responsive
  {
      position: relative;
      overflow-y:auto;
      overflow-x:hidden;
      padding-left:0;
      border-bottom: 2px solid #4d4d4d;
      top:0;
      left:0;
      right:0;
  }
  
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .topnav.responsive .menuOption, .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

@media screen and (max-width: 1090px)
{
    .topnav a, .dropdown .dropbtn
    {
        font-size:14px;
    }
}    

/*************************** Border color transitions **************************************/

.topnav *
{
    transition-property: color, border-color, background-color;
    transition-duration: 0.75s;
    transition-timing-function: ease-out;
    
    -webkit-transition-property: color, border-color, background-color;
    -webkit-transition-duration: 0.75s;
    -webkit-transition-timing-function: ease-out;
    
    -moz-transition-property: color, border-color, background-color;
    -moz-transition-duration: 0.75s;
    -moz-transition-timing-function: ease-out;
    
    -o-transition-property: color, border-color, background-color;
    -o-transition-duration: 0.75s;
    -o-transition-timing-function: ease-out;
}

