.navbar-default .logo{
	height: 65px;
	transition: height 0.3s ease;
}

@media(min-width:768px) {
	.wider{
		transition: all 0.2s ease;
	}
	.wider .logo{
		height: 110px !important;
		margin-left: 10px;
		margin-right: 10px;
		transition: height 0.3s ease;
	}
	.navbar-nav>li>a{
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

.navbar-default{
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	margin-bottom: 0;
	background-color: #fff;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0, 0.1);
}
.navbar-default a{
	font-size: 13px;
}
.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:focus, 
.navbar-default .navbar-nav>.open>a:hover {
	background-color: #AC0026;
	color: #FFF;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	background-color: transparent;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
 	color: #e5ae47
}
.navbar-default .navbar-nav > li > a{
	text-transform: uppercase;
	font-weight: 600;
	color: #EEE;
}
.navbar-nav .dropdown-menu {
	box-shadow: 2px 2px 10px rgba(0,0,0,0.175);
	border-radius: 0px;
	top: 99%;
	border: none;
	border-top: 2px solid #32557f;
}
.navbar-nav .dropdown-menu li a{
	line-height: 22px; 
}
@media (max-width: 767px) {
	.navbar-default .navbar-nav .open .dropdown-menu>li>a {
		color: #FFF;
	}
}
.navbar-default .navbar-toggle .icon-bar{
	background-color: #FFF;
}
.navbar-default .navbar-toggle:hover{
	background-color: #AC0026;	
}
.dropdown-menu .divider {
	height: 1px;
	margin: 4px 0;
	overflow: hidden;
	background-color: #e5e5e5;
}

.navbar-default .navbar-nav {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}
.navbar-default .navbar-nav > li {
  display: inline-block;
  float: none;
  padding-right: 1px;
  padding-left: 1px;
}
.navbar-default .navbar-nav > li > a {
  font-family: "Lato", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 12px;
  color: #444444;
  line-height: 16px;
  letter-spacing: 2.8px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  padding-left: 2px;
  padding-right: 2px;
}
.navbar-default .navbar-nav > li.active > a, .navbar-default .navbar-nav > li.active > a:hover {
  color: #e5ae47;
}
/*Secondary navbar*/

/* -------------------------------- 
Secondary Navigation
-------------------------------- */
#cd-sec-nav ul {
  /* mobile first */
  position: fixed;
  width: 100%;
  max-width: 400px;
  right: 0;
  bottom: 20px;
  border-radius: 0.25em;
  box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
  background: white;
  visibility: hidden;
  /* remove overflow:hidden if you want to create a drop-down menu - but then remember to fix/eliminate the list items animation */
  overflow: hidden;
  z-index: 1;
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transform-origin: 100% 0%;
  -moz-transform-origin: 100% 0%;
  -ms-transform-origin: 100% 0%;
  -o-transform-origin: 100% 0%;
  transform-origin: 100% 0%;
  -webkit-transition: -webkit-transform 0.3s, visibility 0s 0.3s;
  -moz-transition: -moz-transform 0.3s, visibility 0s 0.3s;
  transition: transform 0.3s, visibility 0s 0.3s;
}
#cd-sec-nav ul li {
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
#cd-sec-nav ul.is-visible {
  right: 5%;
  padding-left: 0;
  visibility: visible;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.3s, visibility 0s 0s;
  -moz-transition: -moz-transform 0.3s, visibility 0s 0s;
  transition: transform 0.3s, visibility 0s 0s;
}
#cd-sec-nav ul.is-visible li:nth-child(1) {
  /* list items animation */
  -webkit-animation: cd-slide-in 0.2s;
  -moz-animation: cd-slide-in 0.2s;
  animation: cd-slide-in 0.2s;
}
#cd-sec-nav ul.is-visible li:nth-child(2) {
  -webkit-animation: cd-slide-in 0.3s;
  -moz-animation: cd-slide-in 0.3s;
  animation: cd-slide-in 0.3s;
}
#cd-sec-nav ul.is-visible li:nth-child(3) {
  -webkit-animation: cd-slide-in 0.4s;
  -moz-animation: cd-slide-in 0.4s;
  animation: cd-slide-in 0.4s;
}
#cd-sec-nav ul.is-visible li:nth-child(4) {
  -webkit-animation: cd-slide-in 0.5s;
  -moz-animation: cd-slide-in 0.5s;
  animation: cd-slide-in 0.5s;
}
#cd-sec-nav ul.is-visible li:nth-child(5) {
  -webkit-animation: cd-slide-in 0.6s;
  -moz-animation: cd-slide-in 0.6s;
  animation: cd-slide-in 0.6s;
}
#cd-sec-nav li a {
  font-family: 'Nudi', sans-serif;
  display: block;
  padding: 1.6em;
  border-bottom: 1px solid #eff2f6;
}
#cd-sec-nav li:last-child a {
  border-bottom: none;
}
#cd-sec-nav i{
  margin-right: 3px;
  color: #1565C0;
}
@media only screen and (min-width: 930px) {
  #cd-sec-nav ul {
    /* the navigation moves to the top */
    position: absolute;
    width: auto;
    max-width: none;
    bottom: auto;
    top: 0px;
    background: transparent;
    visibility: visible;
    box-shadow: none;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0s;
    -moz-transition: all 0s;
    transition: all 0s;
  }
  #cd-sec-nav li {
    display: inline-block;
  }
  #cd-sec-nav li a {
    opacity: 1;
    margin-left: 1em;
    border-bottom: none;
    line-height: normal;
    background: transparent;
    padding: 0em 1em 0 0;
    border-top: none;
    color: #444;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.25em;
  }
  #cd-sec-nav li a:hover {
    color: #1565C0;
    transition: color 0.3s ease-out;
    text-decoration: none;
  }
  #cd-sec-nav li:hover{
    color: #1565C0 !important;
    border-bottom: 1px solid #1565C0;
    transition: color 0.3s ease-out;
  }
  #cd-sec-nav.is-fixed ul {
    /* when the user scrolls down, the navigation moves to the bottom right in Fixed position - as on touch devices */
    position: fixed;
    width: 90%;
    max-width: 400px;
    top: 225px;
    bottom: auto;
    background: white;
    visibility: hidden;
    box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
  }
  #cd-sec-nav.is-fixed ul li {
    display: block;
    border-bottom: 1px solid white;
  }
  #cd-sec-nav.is-fixed ul li a {
    padding: 1em 1em 1em 1.6em;
    margin-left: 0;
    border-bottom: 1px solid #eff2f6;
    font-weight: normal;
    transition: margin 0.5s ease-out;
  }
  #cd-sec-nav.is-fixed ul li a:hover {
    margin-left: 5px;
    transition: margin 0.5s ease-out;
  }
  #cd-sec-nav ul.has-transitions {
    /* this class is used to bring back transitions when the navigation moves at the bottom right */
    -webkit-transition: -webkit-transform 0.3s, visibility 0s 0.3s;
    -moz-transition: -moz-transform 0.3s, visibility 0s 0.3s;
    transition: transform 0.3s, visibility 0s 0.3s;
  }
  #cd-sec-nav ul.is-visible {
    /* this class is used to bring back the navigation animation - as on touch devices */
    visibility: visible;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform 0.3s, visibility 0s 0s;
    -moz-transition: -moz-transform 0.3s, visibility 0s 0s;
    transition: transform 0.3s, visibility 0s 0s;
  }
  #cd-sec-nav ul.is-hidden {
    /* this class is used to animate the scale down the navigation when the user scrolls down with the navigation still open */
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }
}

.cd-sec-nav-trigger {
  position: fixed;
  top: 225px;
  right: 5%;
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 0.25em;
  box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 2;
  margin-right: 20px;
  cursor: pointer;
}
.cd-sec-nav-trigger span {
  /* the span element is used to create the menu icon */
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: #1565C0;
  top: 50%;
  margin-top: -1px;
  left: 50%;
  margin-left: -10px;
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  transition: background 0.3s;
}
.cd-sec-nav-trigger span::before, .cd-sec-nav-trigger span::after {
  content: '';
  position: absolute;
  left: 0;
  background: inherit;
  width: 100%;
  height: 100%;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.3s, background 0s;
  -moz-transition: -moz-transform 0.3s, background 0s;
  transition: transform 0.3s, background 0s;
}
.cd-sec-nav-trigger span::before {
  top: -6px;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.cd-sec-nav-trigger span::after {
  bottom: -6px;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.cd-sec-nav-trigger.menu-is-open {
  box-shadow: none;
}
.cd-sec-nav-trigger.menu-is-open span {
  background: rgba(232, 74, 100, 0);
}
.cd-sec-nav-trigger.menu-is-open span::before, .cd-sec-nav-trigger.menu-is-open span::after {
  background: #1565C0;
}
.cd-sec-nav-trigger.menu-is-open span::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.cd-sec-nav-trigger.menu-is-open span::after {
  bottom: 0;
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}
@media only screen and (min-width: 930px) {
  .cd-sec-nav-trigger {
    /* the the menu triger is hidden by default on desktop devices */
    visibility: visible;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform 0.3s, visibility 0s 0.3s;
    -moz-transition: -moz-transform 0.3s, visibility 0s 0.3s;
    transition: transform 0.3s, visibility 0s 0.3s;
  }
  .is-fixed .cd-sec-nav-trigger {
    visibility: visible;
    -webkit-transition: all 0s;
    -moz-transition: all 0s;
    transition: all 0s;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-animation: cd-bounce-in 0.3s linear;
    -moz-animation: cd-bounce-in 0.3s linear;
    animation: cd-bounce-in 0.3s linear;
  }
}

@-webkit-keyframes cd-slide-in {
  0% {
    -webkit-transform: translateX(100px);
  }

  100% {
    -webkit-transform: translateY(0);
  }
}
@-moz-keyframes cd-slide-in {
  0% {
    -moz-transform: translateX(100px);
  }

  100% {
    -moz-transform: translateY(0);
  }
}
@keyframes cd-slide-in {
  0% {
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }

  100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}
@-webkit-keyframes cd-bounce-in {
  0% {
    -webkit-transform: scale(0);
  }

  60% {
    -webkit-transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-in {
  0% {
    -moz-transform: scale(0);
  }

  60% {
    -moz-transform: scale(1.2);
  }

  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-in {
  0% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
  }

  60% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}




@media(min-width:768px) {
	li.navSeparator{
		display: inline-block !important;
	}
	.navbar{
		padding: 0 30px;
	}
	.navbar .navbar-nav {
	  margin-top: 1px;
	}
	.math-location{
		font-size: 1.25em;
	}
	.navbar .navbar-nav > li {
  		display: inline-block;
	}
	.navbar .logo{
		height: 80px;
		transition: height 0.3s ease;
		margin: 5px 0 5px 0px;
	}
	.navbar #navbarText{
		font-size: 1.875em;
		line-height: 24px;
		padding-top: 0;
		padding-bottom: 4px;
		margin-bottom: 0;
		margin-top: 0;
		text-align: left;
	}
	.navbar #navbarText small{
		font-size: 0.6em;
	}
	.navbar .form-inline {
	  padding-left: 10px;
	  margin-top: 30px;
	}
	.navbar .navbar-nav > li {
  		display: inline-block;
  		padding-top: 2px;
	}
}
@media(min-width: 992px) {
	#navbarSearch{
		display: none;
	}
	#openNavbarSearch{
		display: inline-block;
	}
}
@media (max-width: 767px) {
	.navbar .navbar-nav .open .dropdown-menu>li>a {
		color: #FFF;
	}
}
