/** custom-styles.css **/
.fsb-logo-container {
  text-align: center;
  border-bottom: none;
}

.fsb-team {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.fsb-logo {
  position: absolute;
  left: 16.8%;
  top: 79.4%;
  z-index: 1;
  max-width: 65%;
}

@media (min-width: 768px) {
  .fsb-team {
    max-width: 720px;
  }

  .fsb-logo {
    left: calc(50% - 255px);
    top: calc(100% - 90px);
  }
}

@media (min-width: 992px) {
  .fsb-team {
    max-width: 940px;
  }
}

.contact-img-resize {
  width: 100%;
  max-width: 400px;
}

/* overrides */
#footer address .footer-sprite.phone {
  margin-bottom: 0;
}

#footer h4 {
  margin-bottom: 10px;
}

#footer p {
  margin-bottom: 10px;
}

@media only screen and (min-width: 768px) {
  #footer h4 {
    margin-top: 30px;
  }
}

#header #topNav a.logo {
  max-width: calc(100% - 710px);
}

#header #topNav a.logo>img {
  max-width: 100%;
}

@media only screen and (max-width: 992px) {
  nav #topMain>li>a>span {
    display: inline !important;
    padding: 5px !important;
  }

  #header #topNav a.logo {
    max-width: calc(100% - 140px);
  }

  #header #topNav button.btn-mobile {
    margin-top: 10px;
  }

  #header ul.nav-second-main {
    margin-right: 5px;
    padding-left: 5px;
  }
}

section div.row.equal>div {
  margin-bottom: 45px;
}

/* .flex-panel {
  width: 100%;
  height: 100%;
} */

@media (min-width: 768px) {
  .row.equal {
    display: flex;
    flex-flow: row wrap;
  }

  section div.row.equal>div {
    margin-bottom: 30px;
  }
}

.box-flip .front img {
  max-width: 400px;
}

@media (min-width: 992px) {
  .box-flip .front img {
    max-width: 320px;
  }
}
