a {
color: #c82506;
}

a:hover, a:active {
 color: #a01f06;
}

.mobile-menu {
  display: none;
  width: 37px;
  margin-top: 13px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.navbar-center {
  margin-top: 4px;
  text-align: center;
  float: right!important;
  > li {
    float: none;
    display: inline-block;
  }
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
background-color: #c82506;
}

.btn-download {
color: white;
background-color: #c82506 !important;
border-color: #c82506 !important;
}

.btn-download:hover, .btn-download:active, .btn-download:focus {
color: white;
background-color: #a01f06 !important;
border-color: #a01f06 !important;
}

h4, h5 {
font-weight: 400;
}


.thanks {
font-size: .8rem;
}

.lead b { 
font-weight: 700;
}

/* Space out content a bit */
body {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/***
 * Everything but the jumbotron gets side spacing
 * for views between mobile and desktop
 **/
.header,
.marketing,
.footer {
  padding-right: 1rem;
  padding-left: 1rem;
}

/* Custom page header */
.header {
  padding-bottom: 1rem;
  border-bottom: .05rem solid #e5e5e5;
  /* Space out the masthead */
  margin-bottom: 2rem;
}

.lead {
font-size: 1.8rem;
padding: .25rem;
}

/* Make the masthead heading the same height as the navigation */
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 3rem;
}

.brand {
  font-size: 2rem;
  font-weight: 600;
  margin-left: 10px;
  display: inline;
}

/* Custom page footer */
.footer {
  padding-top: 1.5rem;
  color: #777;
  border-top: .05rem solid #e5e5e5;
}

/* Customize container */
@media (min-width: 48em) {
  .container {
    max-width: 46rem;
  }
}

.container-narrow > hr {
  margin: 2rem 0;
}

.jumbotron {
  text-align: center;
  padding: .75rem;
  border-bottom: .05rem solid #e5e5e5;
}
.jumbotron .btn {
  padding: .75rem 1.5rem;
  font-size: 1.5rem;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 48em) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }

  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}

@media only screen and (max-width : 640px) {
  /* Reduce the padding we set earlier for smartphones in portrait mode */
  .header,
  .marketing,
  .footer {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  /* Remove border and margin on mobile */
  .header {
    border-bottom: none;
    margin-bottom: 0;
  }

  /* Increase nav font size on mobile */
  .nav-item {
    font-size: 1.1rem;
    margin: auto;
    width: 50%;
  }

  .navbar-center {
    margin-top: 0px;
    float: none!important;
    display: block;
  }

  .mobile-menu-bg {
    background: rgb(40, 40, 40);
    color:#FFF;
    position: absolute;
    top: -208px;
    left: 0;
    width: 100%;
    height: 208px;
    padding: 20px;
    transition: top 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
    overflow: hidden;
    box-sizing: border-box;

  }

  .container {
    -webkit-transition: margin 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
    -moz-transition: margin 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
    -o-transition: margin 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
    transition: margin 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
  }

  .mobile-menu-bg.open {
    top: 0;
  }

  .container.open {
    margin-top: 208px;
  }

  .mobile-menu {
    float: right;
    display: inline-block;
  }

  .mobile-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #c82506;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 450ms ease-in-out;
    -moz-transition: 450ms ease-in-out;
    -o-transition: 450ms ease-in-out;
    transition: 450ms ease-in-out;
  }

  .mobile-menu span:nth-child(1) {
    top: 0px;
  }

  .mobile-menu span:nth-child(2) {
    top: 11px;
  }

  .mobile-menu span:nth-child(3) {
    top: 22px;
  }

  .mobile-menu.open span:nth-child(1) {
    top: 10px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .mobile-menu.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .mobile-menu.open span:nth-child(3) {
    top: 10px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

  .papers {
    margin-top: 15px;
  }
}