/*!
 * Start Bootstrap - Business Casual v5.0.8 (https://startbootstrap.com/template-overviews/business-casual)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-business-casual/blob/master/LICENSE)
 */

body {
  font-family:'Lora';
  background: url("../img/bg5.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Raleway';
}

p {
  line-height: 1.75;
}

.text-faded {
  color: rgba(255, 255, 255, 1);
}

.site-heading {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.15;
  font-family: 'Raleway';
}

.site-heading .site-heading-upper {
  display: block;
  font-size: 5rem;
  font-weight: 600;
}

.site-heading .site-heading-lower {
  margin-top: 3rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 2rem;
}

.site-heading .site-heading-image {
  display: block;
  float:left;
  margin-left: 2.5rem;
  margin-right: 1rem;
}

.page-section {
  margin-top: 5rem;
  margin-bottom: 7rem;
}

.page-section-b {
  margin-top: 8.5rem;
  margin-bottom: 7.25rem;
}

.section-heading {

}

.section-heading .section-heading-upper {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.section-heading .section-heading-lower{
  display: block;
  font-size: 3rem;
  font-weight: 100;
}

.bg-faded {
  background-color: rgba(133, 165, 204, 0.5);
}

.bg-faded-b {
  background-color: rgba(48, 57, 92, 0.5);
}

#mainNav {
  background-color: rgba(74, 100, 145, 0.5);
  font-family: 'Raleway';
}

#mainNav .navbar-brand {
  color:#1A1E2B;
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: rgba(48, 57, 92, 1);
  font-weight: 800;
}

#mainNav .navbar-nav .nav-item.active .nav-link {
  color: rgba(208, 227, 242, 1);
}

@media (min-width:992px) {
  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 1.25rem;
  }
  #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: rgba(255, 255, 255, 1);
  }
  #mainNav .navbar-nav .nav-item.active .nav-link:hover {
    color: rgba(48, 57, 92, 1);
  }
}

.btn-xl {
  font-weight: 700;
  font-size: 0.8rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 2rem;
  padding-right: 2rem
}

.intro {
  position:relative
}

@media (min-width:992px) {
  .intro .intro-img {
    width: 55%;
    margin-top: -1rem;
    float: right;
  }
  .intro .intro-text {
    left: 0;
    width: 45%;
    margin-top: -6.25rem;
    position: absolute;
  }
  .intro .intro-text .intro-button {
    width:100%;
    left:0;
    position: absolute;
    bottom: 5rem;
    }
}

@media (min-width:1200px) {
  .intro .intro-text{
    width: 47%;
  }
}

.cta{
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: rgba(133, 165, 204, 0.5);
}

.cta .cta-inner {
  position: relative;
  padding: 3rem;
  margin: 0.5rem;
  background-color:rgba(255, 255, 255, 0.85);
}

.cta .cta-inner:before {
  border-radius: 0.5rem;
  content:'';
  position: absolute;
  top: -0.5rem;
  bottom: -0.5rem;
  left: -0.5rem;
  right: -0.5rem;
  border: 0.25rem solid rgba(255,255,255,.85);
}

.ctb {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: rgba(48, 57, 92, 0.5);
}

.ctb .ctb-inner {
  position: relative;
  padding: 3rem;
  margin: 0.5rem;
  background-color: rgba(255, 255, 255, 0.85);
}

.ctb .ctb-inner:before {
  border-radius: 0.5rem;
  content: '';
  position: absolute;
  top: -0.5rem;
  bottom: -0.5rem;
  left: -0.5rem;
  right: -0.5rem;
  border: 0.25rem solid rgba(255, 255, 255, 0.85);
}

.ctc {

}

.ctc .ctc-inner {
  position: relative;
  padding: 3rem;
  margin: 2.5rem;
  background-color: rgba(255, 255, 255, 0.85);
}

.ctc .ctc-inner:before {
  border-radius: 0.5rem;
  content: '';
  position: absolute;
  top: -0.5rem;
  bottom: -0.5rem;
  left: -0.5rem;
  right: -0.5rem;
  border: 0.25rem solid rgba(255, 255, 255, 0.85);
}

.ctd{

}

.ctd .ctd-inner {
  position: relative;
  padding: 0.75rem;
  margin: 2rem;
  background-color:rgba(255, 255, 255, 0.85);
}

.ctd .ctd-inner:before {
  border-radius: 0.5rem;
  content:'';
  position: absolute;
  top: -0.5rem;
  bottom: -0.5rem;
  left: -0.5rem;
  right: -0.5rem;
  border: 0.25rem solid rgba(255,255,255,.85);
}

@media (min-width:992px) {
  .about-heading .about-heading-img {
    position: relative;
    z-index: 0;
  }
  .about-heading .about-heading-content {
    margin-top: -2rem;
    position: relative;
    z-index: 1;
  }
}

@media (min-width:992px) {
  .service-item .service-item-title {
    position: relative;
    z-index: 1;
    margin-bottom: -2rem;
  }
  .service-item .service-item-img {
    position: relative;
    z-index: 0;
    max-width: 60vw;
  }
  .service-item .service-item-description {
    position: relative;
    z-index: 1;
    margin-top: -3rem;
    max-width: 50vw;
  }
}

.footer {
  background-color:rgba(74, 100, 145, 0.75);
}

.text-primary {
  color: #30395C !important;
}

.text-secondary {
  color: #85A5CC !important;
}

.bg-primary {
  background-color: #85A5CC !important;
}

.btn {
  -webkit-box-shadow: 0px 3px 3px 0px rgba(74, 100, 145, 0.1);
  box-shadow:0px 3px 3px 0px rgba(74, 100, 145, 0.1);
}

.btn-primary {
  background-color: #4A6491;
  border-color: #4A6491;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #D0E3F2;
  border-color: #D0E3F2;
}

.font-weight-light {
  font-weight: 100!important;
}

#portfolio .portfolio-item {
  max-width: 20rem;
  margin-left: 0rem;
  margin-right: 0rem;
}
#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  margin: 0 auto;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(133, 165, 204, 0.5);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity ease-in-out 0.25s;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 1.25rem;
}
#portfolio .portfolio-item .portfolio-link:hover .portfolio-hover {
  opacity: 1;
}

.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}
.portfolio-modal .modal-content {
  padding-top: 6rem;
  padding-bottom: 6rem;
  text-align: center;
}
.portfolio-modal .modal-content h2 {
  font-size: 3rem;
  line-height: 3rem;
}
.portfolio-modal .modal-content p.item-intro {
  font-style: italic;
  margin-bottom: 2rem;
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.portfolio-modal .modal-content p {
  margin-bottom: 2rem;
}
.portfolio-modal .modal-content ul.list-inline {
  margin-bottom: 2rem;
}
.portfolio-modal .modal-content img {
  margin-bottom: 2rem;
}
.portfolio-modal .close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  background-color: transparent;
}
.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}
