body {
  --serif-font: "PT Serif", serif;
  --primary-color: #01017d;
  --primary-color-hover: #22228c;
  background-color: #faf9f9;
  padding-top: 30px;
  color: #4e4e4e;
  font-family: "Open Sans";
}
nav {
  box-shadow: 1px 4px 7px 0px rgba(0, 0, 0, 0.24);
  background-color:  	hsla(0, 0%, 97%, .93);
}
nav a {
  text-transform: uppercase;
  font-size: 15px;
}
.navbar-brand {margin-right: 1.9rem}
.nav-item {margin-right: 10px;}
.dropdown-menu {
  padding: 0;
}
.dropdown-item {
  padding: .4rem 1rem;
  text-align: right;
}
h1 {font-weight: bold;}
h1, h2 {font-size: 24px;}
h2 {
  font-family: var(--serif-font);
  margin-bottom: 1.3rem;
}
h3 {
  font-size: 14px;
  font-weight: bold;
}

/* Bootstrap overrides */

/* .container {
  max-width: 1020px;
} */
.nav-link {text-align: right;}
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link,
.nav-link:hover {
  color: #06067e;
  text-align: right;
  /* text-decoration: underline; */
}
.btn-group-lg > .btn,
.btn-lg {
  padding: 0.3rem 0.8rem;
  font-size: 14px;
  border-radius: 0.2rem;
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-primary:hover {
  background-color: var(--primary-color-hover);
  border-color: var(--primary-color-hover);
}

/* Logo */
.logo__image {
  height: 50px;
}
@media (min-width: 40em) {
  .logo__image {
    height: 60px;
  }
}

/* Carousel */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}
/* Declare heights because of positioning of img element */
.carousel-item {
  height: 24rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  height: 24rem;
}

#contact {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 1000;
  background-color: white;
  border-bottom: 1px solid #e5e5e5;
}
#contact p {
  margin-bottom: 0;
  margin-top: 5px;
  font-size: 14px;
  font-family: monospace;

}
#contact a:link,
#contact a:visited {
  text-decoration: none;
  color: #01017d;
}

.fixed-top {top: 30px; }

#myCarousel h1 {
  font-family: var(--serif-font);
}
#myCarousel img {
  object-fit: cover;
}
.carousel-caption {
  color: var(--bs-gray-800);
  width: 70%;
}
.carousel-caption p {
  font-size: 14px;
}
.carousel-caption p span {background-color: hsla(0, 0%, 98%, 0.6)}
.carousel-item .container {
  position: relative;
}
.carousel-caption {position: static; margin-top: 5rem;}

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    line-height: 1.4;
    font-size: 16px;
  }
  
  .carousel-caption {
    position: static; 
    margin-top: 14.2rem;
  }
  .carousel-item {
    height: 29rem;
  }
  #home .carousel-item {
    height: 32rem;
  }
  .carousel-item > img {
    height: 32rem;
  }
}

/* Lead */
.lead-section {
  margin-bottom: 4rem;
}

.lead {
  font-size: 16px;
  margin-bottom: 1.6rem;
  color: hsla(1, 0%, 10%, 0.81);
}
.columns {
  column-count: 1; column-gap: 30px;
  font-size: 14px;
}

/* Services */
.service {
  padding-bottom: 3rem;
  box-shadow: 1px 4px 7px 0px rgba(0, 0, 0, 0.24);
}
/* Map */
#map_and_address {
  margin-bottom: 4rem;
  margin-top: 3rem;
}
#map_and_address h3 {
  margin-bottom: 2rem;
}
#map_and_address a:link,
#map_and_address a:visited {
  color: inherit;
}
#map {
  background-size: cover;
  background-position: center;
  background-image: url("../assets/map.gif");
  height: 300px;
  position: relative;
  border: 1px solid gray;
}
.address {
  padding: 6px;
  position: absolute;
  right: 15px;
  top: 15px;
  color: #f8f9fa;
  color: #4e4e4e;
  width: 330px;
  background-color: hsla(1, 0%, 90%, 0.8);
  font-size: 0.9rem;
  font-family: var(--alt-font);
  text-align: left;
  border: 1px solid white;
}
@media (min-width: 576px) {
  .address {
    padding: 13px;
  }
  .dropdown-item {
    text-align: inherit;
  }
  h1 {font-size: calc(1.1rem + .9vw);}
  footer {
    font-size: 13px;
  }
  .columns {
    column-count: 2;
  }
  .carousel-caption p span {background-color: hsla(0, 0%, 98%, 0.5)}
  h1 {font-weight: normal;}
}
.address__img {
  height: 100px;
  border: 3px solid whitesmoke;
  border-radius: 2px;
}
.address__text p {
  font-size: 0.8rem;
  margin-bottom: 0;
}
.address__text p:first-child {
  margin-bottom: 5px;
}
.address__address {
  font-weight: bold;
}

main.calculator {
  margin-top: 80px;
}

@media (min-width: 576px) {
  .address__text p {
    font-size: 0.9rem;
  }
  .address {
    width: 380px;
  }
  .address__img {
    height: 100px;
  }
}

/* Our partners */
.partners {
  margin-bottom: 2rem;
  color: hsla(1, 0%, 10%, 0.4);
}
.partners__panel {
  border-top: 1px dotted silver;
  border-bottom: 1px dotted silver;
  background-color: #f8f9fa;
  padding: 1rem 3px 1rem;
}
.partners a:link,
.partners a:visited {
  text-decoration: none;
  color: inherit;
}
.partners h3 {
  color: hsla(1, 0%, 10%, 0.31);
}
.k3logo__img {
  margin-right: 20px;
  filter: saturate(80%);
}
.logo__mjk {
  display: block;
  font-size: 1rem;
}
.logo__text {
  font-size: 14px;
}

/* Footer */
footer {
  color: hsla(1, 0%, 10%, 0.5);
  font-size: 12px;
}
footer a:link,
footer a:visited {
  text-decoration: none;
  color: #01017d;
}


/* style.css | http://new-job.local/k3/css/style.css */

.btn-primary {
  background-color: hsla(0, 0%, 98%, 0.5);
  color: #4e4e4e;
}

.btn {
  /* border: 1px solid transparent; */
  border: 1px solid #01017d;
}

/* Calculators */
#pensionCalculator .carousel-item {
  height: 12rem;
}