/*
LAYOUT 500 - THE FRANKLIN - CSS
Steve @ Build Your Firm
9/12/2019
*/

/*
Refactor with CSS Variables
Gabe @ Build Your Firm
7/21/2023
*/

:root {
    --byf-base: #363b5d;
    --byf-base-dark: #151A2D;
    --byf-secondary: #4185ED;
    --byf-pop: #FEC173;
    --byf-dark: #121619;

    --byf-gradient: linear-gradient(45deg, rgba(58,66,107,1) 0%,rgba(50,52,80,1) 100%);

    --byf-body-text: #2B2E30;

    --byf-service-box-1: #364371;
    --byf-service-box-2: #2A365B;
    --byf-service-box-3: #202944;

    --byf-font1: 'Libre Franklin', sans-serif;
    --byf-font2: 'Libre Franklin', sans-serif;
}


/* IMPORTANT -------------------------------------- */

* {
  font-size: 16px;
}

#mobile-indicator {display: none;}

.no-overflow {
  overflow-x: hidden;
}

.container,
.container-fluid {
  padding-right: 1rem;
  padding-left: 1rem;
}

.row {
  margin-right: -1rem;
  margin-left: -1rem;
}

/* TYPOGRAPHY -------------------------------------- */

h1, h2, h3, h4, h5, h6,
h2 > a, h3 > a, h4 > a {
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 1rem;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--byf-font1);
  color: var(--byf-base-dark);
}

h1 {
  font-size: 1.65rem;
  line-height: 2.25rem;
}

#index-section h1 > span:not(.first-word) {
  text-transform: none;
}

h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p, a, ul, li {
  font-family: var(--byf-font2);
  color: var(--byf-body-text);
  line-height: 1.75;
}

p {
    color: var(--byf-body-text);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

p + h1, p + h2, p + h3,
p + h4, p + h5, p + h6 {
  margin-top: 1.25rem;
}

h2 > a, h2 > a:active, h2 > a:focus,
h3 > a, h3 > a:active, h3 > a:focus,
h4 > a, h4 > a:active, h4 > a:focus {
  font-size: inherit;
}

a, a:active,
a:focus, a:visited,
h2>a, h3>a, h4>a, h5>a, h6>a {
  color: var(--byf-base);
  outline: 0;
  text-decoration: none;
}

a:hover {
  color: var(--byf-secondary);
}

* a:hover {
  text-decoration: none;
}

ul {
  margin-bottom: 10px;
}

ul+ h1, ul + h2, ul + h3,
ul + h4, ul + h5, ul + h6 {
  margin-top: 1.25rem;
}

strong {
  font-weight: 500;
}

* .form-control::-webkit-input-placeholder { color: #C6C6C7; font-size: .8125rem; }
* .form-control:-moz-placeholder { color: #C6C6C7; font-size: .8125rem; }
* .form-control::-moz-placeholder { color: #C6C6C7; font-size: .8125rem; }
* .form-control:-ms-input-placeholder { color: #C6C6C7; font-size: .8125rem; }
* .form-control::-ms-input-placeholder { color: #C6C6C7; font-size: .8125rem; }

/* TRANSITIONS -------------------------------------- */

a:not(.navbar-brand), .btn-primary, .btn-secondary, .btn-default, a:active, a:focus, a:visited,
h2>a, h3>a, h4>a, h5>a, h6>a, .navbar-toggler i, #services .service,
#resources a > i, #services p, footer #byf-link a {
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}


/* BUTTONS -------------------------------------- */
.btn,
a.btn, a.btn:active, a.btn:focus, a.btn:active:focus,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active:focus,
a.btn-primary, a.btn-primary:active, a.btn-primary:focus, a.btn-primary:active:focus,
.btn-primary, .btn-primary:active, .btn-primary:focus, .btn-primary:active:focus,
a.btn-secondary, a.btn-secondary:active, a.btn-secondary:focus, a.btn-secondary:active:focus,
.btn-secondary, .btn-secondary:active, .btn-secondary:focus, .btn-secondary:active:focus,
.btn-default, .btn-default:active, .btn-default:focus, .btn-default:active:focus,
.btn-default:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
  background: var(--byf-pop);
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 2px solid transparent;
  -webkit-border-radius: 0;
  border-radius: 0;
  color: #FFF;
  cursor: pointer;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.25;
  margin: .75rem 1rem .75rem 0;
  outline: 0;
  padding: 1.1rem 3.25rem;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.btn:hover,
.btn-primary:hover,
.btn-default:hover,
a.btn:hover,
a.btn-primary:hover,
a.btn-default:hover {
  background: var(--byf-secondary);
  border-color: transparent;
}

a.btn-secondary, .btn-secondary,
a.btn-secondary:active, .btn-secondary:active,
a.btn-secondary:focus, .btn-secondary:focus {
  background: transparent;
  color: var(--byf-base);
  border-color: var(--byf-base);
}

a.btn-secondary:hover, .btn-secondary:hover {
  background: var(--byf-secondary);
  border-color: var(--byf-secondary);
  color: #FFF;
}

/* HEADER + TOPBAR -------------------------------------- */

header {
  position: relative;
  z-index: 100;
}

#topbar {
  background: #FFF;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  font-size: 0;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  margin: 0;
  padding: 2rem;
  position: relative;
  z-index: 1;
  -webkit-box-shadow: 0 0 0 4px rgba(255,255,255,.25);
  box-shadow: 0 0 0 4px rgba(255,255,255,.25);
}

.navbar-brand {
    left: 0;
    margin: 0;
    position: absolute;
    top: -6rem;
    z-index: 2;
}

a.navbar-brand {
  -webkit-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

header.fixed .navbar-brand {
  top: 0;
  position: relative;
}

.navbar-brand img {
    background: transparent;
    width: 285px;
    padding: 0 2.25rem 1.75rem;
    -webkit-transform-origin: top center;
    -ms-transform-origin: top center;
    transform-origin: top center;
}

header.fixed .navbar-brand img {
  max-width: 200px;
  padding: 0;
}

#topbar-links {
  position: relative;
  z-index: 2;
}

#topbar a.phone-link {
  color: var(--byf-base-dark);
  font-size: 1.3125rem;
  font-weight: 500;
  margin: 0 1.25rem 0 0;
  position: relative;
  top: .125rem;
}

#topbar a.sm-link {
  background: #7E8295;
  color: #FFF;
  display: inline-block;
  height: 26px;
  font-size: .875rem;
  margin: 0 .125rem;
  padding: .0625rem .125rem .25rem;
  text-align: center;
  width: 26px;
}

#topbar a.phone-link:hover {
  color: var(--byf-secondary);
}

#topbar a.sm-link:hover {
  background: var(--byf-secondary);
}

/* NAVBAR -------------------------------------- */

#nav-menu {
    margin: 0;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9311379551820728) 20%, rgba(255,255,255,0.7509978991596639) 45%, rgba(255,255,255,0.5805672268907568) 60%, rgba(255,255,255,0.00) 100%);
    padding: 0;
    position: relative;
    z-index: 2;
}

#nav-menu .container {
  max-width: 95%;
}

header.fixed #nav-menu {
  background-color: #FFF;
  -webkit-box-shadow: 0 0 6px 1px rgba(0,0,0,.26);
  box-shadow: 0 0 6px 1px rgba(0,0,0,.26);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
}

header.fixed #nav-menu {
  -webkit-transform: translateY(-10rem);
  -ms-transform: translateY(-10rem);
  transform: translateY(-10rem);
  -webkit-animation: navDrop .75s ease forwards;
  animation: navDrop .75s ease forwards;
}

@-webkit-keyframes navDrop {

  50% { -webkit-transform: translateY(-5rem); transform: translateY(-5rem); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes navDrop {

  50% { -webkit-transform: translateY(-5rem); transform: translateY(-5rem); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

.navbar {
  width: 100%;
}

.navbar-nav {
  position: relative;
}

.navbar-expand-xl .navbar-nav {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .nav-link:active,
.navbar .navbar-nav .nav-link:focus {
  color: var(--byf-dark);
  font-size: 1rem;
  font-weight: 600;
  padding: .675rem 1.125rem;
  text-align: center;
}

.navbar .navbar-nav .nav-item:last-of-type .nav-link {
  padding-right: 0;
}

header.fixed #nav-menu .navbar .navbar-nav .nav-link,
header.fixed #nav-menu .navbar .navbar-nav .nav-link:active,
header.fixed #nav-menu .navbar .navbar-nav .nav-link:focus {
  color: #353A5B;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-item.show .nav-link,
header.fixed #nav-menu .navbar .navbar-nav .nav-link:hover,
header.fixed #nav-menu .navbar .navbar-nav .nav-link:active:hover,
header.fixed #nav-menu .navbar .navbar-nav .nav-link:focus:hover  {
  color: var(--byf-pop);
}

.navbar .navbar-nav .dropdown-toggle::after {
  left: 1px;
  position: relative;
  top: 1px;
}

.navbar .dropdown-item,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus {
  background: transparent;
  color: #333;
  padding: .25rem 1rem;
}

.navbar .dropdown-item:hover {
  background: #F2F2F2;
}

.navbar-light .navbar-toggler,
.navbar-light .navbar-toggler:focus,
.navbar-light .navbar-toggler:active {
  border: 0;
  height: 100%;
  outline: 0;
  padding: 0;
}

.navbar-nav .dropdown-menu {
  margin: 0;
  padding: 5px 0;
}

.navbar-toggler i,
.navbar-toggler i:active,
.navbar-toggler i:focus {
  color: #1EBCBD;
  font-size: 30px;
  position: relative;
  top: 6px;
}

.navbar-toggler i:hover {
  color: #4E7B88;
}

.navbar-collapse {
  position: relative;
}

/* CAROUSEL -------------------------------------- */

#myCarousel {
  margin: 0 0 -5.125rem;
  position: relative;
  top: -5.125rem;
  z-index: 1;
}

#myCarousel, .carousel-inner, .carousel-item {
    max-height: 650px;
    height: 650px;
}

#myCarousel .carousel-item {
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
}

#myCarousel .carousel-item:nth-of-type(1) { background-image: url("/site_images/slide2.webp"); }
#myCarousel .carousel-item:nth-of-type(2) { background-image: url("/site_images/high-five.webp"); }
#myCarousel .carousel-item:nth-of-type(3) { background-image: url("/site_images/handshake2.webp"); }

#myCarousel .carousel-item .animated {
  height: 100%;
  position: relative;
  -webkit-animation-delay: .5s;
  animation-delay: .5s;
}

#myCarousel .carousel-item .wrapper {
  height: 100%;
  margin: 0 auto;
  position: relative;
}

#myCarousel .carousel-item .carousel-caption {
    background: var(--byf-base-dark);
    bottom: auto;
    max-width: 575px;
    padding: 3rem 3rem 2.5rem;
    position: absolute;
    left: 15%;
    top: 55%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
}

#myCarousel .carousel-caption h2 {
    color: #FFF;
    font-size: 2rem;
    text-align: left;
}

#myCarousel .carousel-caption h2 span:nth-of-type(1) {
    display: block;
    font-size: 1rem;
    font-weight: 200;
    letter-spacing: 5px;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

#myCarousel .carousel-caption h2 span:nth-of-type(2) {
    display: block;
    font-size: 38px;
    font-weight: 900;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

#myCarousel .carousel-caption h2 span:nth-of-type(3) {
    display: block;
    font-size: 22px;
    font-weight: 400;
    margin: 0px 0 1.5rem;
}

#myCarousel .carousel-caption .slide-links {
  text-align: left;
}

#myCarousel .carousel-caption .slide-links .btn-primary {
  margin-right: 3rem;
}

#myCarousel .carousel-caption .slash {
  font-size: 3rem;
  font-weight: 900;
  position: relative;
  top: .5rem;
}

#myCarousel .carousel-control-next,
#myCarousel .carousel-control-prev {
  color: #FFF;
  display: inline-block;
  font-size: 1.75rem;
  opacity: 1;
  position: static;
}

#myCarousel .carousel-control-next:hover,
#myCarousel .carousel-control-prev:hover {
  color: var(--byf-secondary);
}

/* ICON LINKS -------------------------------------- */

#resources {
  background: var(--byf-base-dark);
  text-align: right;
  padding: .5rem 0;
}

#resources a {
  color: #FFF;
  display: inline-block;
  font-size: 1.125rem;
  padding: .25rem 0;
}

#resources a > i {
    color: #fff;
    margin: 0 .5rem 0 0;
}

#resources a:not(:first-of-type) {
  border-left: 1px solid #FFF;
  margin: 0 0 0 1rem;
  padding: 0rem 0 0rem 1rem;
  white-space: nowrap;
}

#resources a:hover {
  color: rgba(255,255,255,.75);
}

#resources a:hover i {
  color: var(--byf-secondary);
}

/* INDEX COPY -------------------------------------- */

#index-section {
  padding: 5rem .5rem;
}

#index-section .container {
  max-width: 1140px;
}

#index-section h1 {
  color: var(--byf-dark);
  font-size: 1.5rem;
  margin: 0 0 2.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  text-transform: capitalize;
}

#index-section h1 .first-word {
  font-size: 3.75rem;
  margin: 0 .25rem 0 0;
  position: relative;
  top: 1.5rem;
}

#index-section h1::before,
#index-section h1::after {
  background: #EBEBEB;
  content: '';
  display: block;
  height: 4px;
  position: absolute;
  top: 100%;
  width: 100%;
  -webkit-transition: all 1.25s .75s ease;
  -o-transition: all 1.25s .75s ease;
  transition: all 1.25s .75s ease;
}

#index-section h1::after {
  background: var(--byf-pop);
  left: 0;
  width: 0;
}

#index-section h1.animated::after {
  width: 180px;
}

#index-section p {
  color: var(--byf-dark);
  font-size: 1.125rem;
}

#index-section a:not([class*='btn']) {
  color: var(--byf-base);
  font-size: 1.125rem;
}

#index-section a:not([class*='btn']):hover {
  color: var(--byf-secondary);
}

#index-section #index-buttons {
  margin: 2rem 0 0;
}


/* SERVICES -------------------------------------- */

#services {
  background: var(--byf-base-dark);
  bottom: 0;
  left: 0;
  position: relative;
  right: 0;
  top: auto;
}

#services .container .row {
  position: relative;
  z-index: 1;
}

.byf_row #services .admin_edit {
  height: 400px;
  overflow: hidden;
}

#services .column {
  -webkit-transition-duration: .75s, 1s;
  -o-transition-duration: .75s, 1s;
  transition-duration: .75s, 1s;
  -webkit-transition-property: background-color, all;
  -o-transition-property: background-color, all;
  transition-property: background-color, all;
  -webkit-transition-timing-function: ease-in-out, ease-in-out;
  -o-transition-timing-function: ease-in-out, ease-in-out;
  transition-timing-function: ease-in-out, ease-in-out;
  padding: 0;
}


#services .column:nth-of-type(1).animated { background: var(--byf-service-box-1); }
#services .column:nth-of-type(2).animated { background: var(--byf-service-box-2); }
#services .column:nth-of-type(3).animated { background: var(--byf-service-box-3); }

#services .service {
  height: 100%;
  padding: 2.5rem 3.25rem;
}

#services a:hover .service {
  background: var(--byf-secondary);
}

#services i {
  color: #FFF;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

#services .service-consultation .btn-primary {
  font-size: .9375rem;
  padding: 1rem;
  pointer-events: none;
}

#services .service-consultation .btn-primary i {
  font-size: 1.5rem;
  margin: 0;
}

#services h2 {
  color: #FFF;
  font-size: .9375rem;
  font-weight: 400;
}

#services h2 > span {
  font-weight: 900;
}

#services p {
    color: #ffffff;
    font-size: .8125rem;
    font-weight: 300;
}

#services .service-consultation h2 {
  color: #A0A8C3;
  font-size: .8125rem;
  font-weight: 300;
}

#services .service-consultation p {
  color: #FFF;
  font-size: 1.25rem;
}

#services a:hover p,
#services a:hover h2 {
  color: #FFF;
}


/* SPLIT SECTION -------------------------------------- */

#split-ribbon-1,
#split-ribbon-2 {
  background: #FFF;
  position: relative;
}

#split-ribbon-1 .split-bg,
#split-ribbon-2 .split-bg {
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
}

#split-ribbon-1 .split-bg { background-image: url("/site_images/index-1.webp"); }
#split-ribbon-2 .split-bg { background-image: url("/site_images/index-2.webp"); }

#split-ribbon-1 .text {
  max-width: 650px;
  padding: 7rem 1.5rem 6rem 6rem;
}

#split-ribbon-2 .text {
  padding: 7rem 6rem 6rem 1.5rem;
  text-align: right;
}

#split-ribbon-2 .text .wrapper {
  margin-left: auto;
  max-width: 650px;
}

#split-ribbon-1 .text::before,
#split-ribbon-2 .text::before {
  background: var(--byf-base);
  content: '';
  display: block;
  height: 4px;
  position: absolute;
  top: 4rem;
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  width: 0;
}

#split-ribbon-1 .text.animated::before,
#split-ribbon-2 .text.animated::before {
  width: 11.25rem;
}

#split-ribbon-2 .text::before {
  right: 6rem;
}

#split-ribbon-1 .text h2,
#split-ribbon-2 .text h2 {
  color: var(--byf-dark);
  font-size: 2rem;
  font-weight: 300;
  margin: 0 0 2rem;
}

#split-ribbon-1 .text p,
#split-ribbon-2 .text p {
  color: #7F8297;
  font-size: 1.125rem;
  line-height: 2;
  margin: 0 0 2.75rem;
}

/* TESTIMONIALS -------------------------------------- */

#testimonials {
  background: #F2F2F2;
  padding: 5rem .5rem 6rem;
}


#testimonials .container {
  text-align: center;
}

#testimonials h2 {
  font-size: 2rem;
  margin: 0 0 4.5rem;
  text-align: center;
}

#testimonials div[class*='col-'] {
  padding: 0 3vw;
}

#testimonials .testimonial {
  background: #FFF;
  -webkit-box-shadow: 0 0 12px 2px rgba(0,0,0,.10);
  box-shadow: 0 0 12px 2px rgba(0,0,0,.10);
  padding: 2rem 3rem;
  position: relative;
  text-align: left;
}

#testimonials .testimonial::after{
  border-style: solid;
  border-width: 1rem 1rem 0 0;
  border-color: #FFF transparent transparent transparent;
  content: '';
  height: 0;
  left: 3rem;
  position: absolute;
  top: 100%;
  width: 0;
}

#testimonials .top {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
}

#testimonials .top::after {
  margin-top: 4.25rem;
  content: '';
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  border-bottom: 1px solid #F2F2F2;
}

#testimonials .top i {
  color: #ADB5BD;
  font-size: 2.5rem;
  margin: 0 .5rem 0 0;
}

#testimonials .top h3 {
  color: var(--byf-base);
  font-size: .875rem;
  margin: 0 0 .5rem;
}

#testimonials .top h4 {
  color: var(--byf-base);
  font-size: .75rem;
}

#testimonials .testimonial .bottom p {
  color: #333;
  font-size: .8125rem;
  font-weight: 300;
}

#testimonials .btn-primary {
  margin: 5rem 0 0;
}


/* NEWSLETTER -------------------------------------- */

#newsletter:not(form) {
    background: var(--byf-base-dark);
    background: var(--byf-gradient);
    padding: 8rem 0.5rem;
    position: relative;
}

#newsletter .overlay {
    background-image: url("../assets/bg-newsletter.png");
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    content: '';
    pointer-events: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    mix-blend-mode: overlay;
    z-index: 0;
}

#newsletter div[class*='col-'] {
  z-index: 1;
}

#newsletter h2 {
  color: #FFF;
  font-size: 1.75rem;
  font-weight: 300;
  margin: 1rem 0;
  text-align: right;
}

#newsletter form {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}

#newsletter input[type="email"] {
  -webkit-border-radius: 0;
  border-radius: 0;
  font-size: 1.125rem;
  height: 62px;
  margin: 1rem 2.5rem;
  padding: 0 1.25rem;
}

#newsletter .btn-primary {
  height: 62px;
  margin: 1rem 0;
  padding: .75rem 2.25rem;
}

/* AFFILIATES -------------------------------------- */

#affiliates {
  background: #F8F8F8;
  border-top: 1px solid #EEE;
  overflow: hidden;
  padding: 2rem 1.5rem;
}

#affiliates .affiliates {
  margin: 0 -15px;
  text-align: center;
}

#affiliates .affiliates img {
  display: inline-block;
  margin: 1.875rem;
  max-width: 200px;
}

/* INTERIOR HERO-------------------------------------- */

#interior-hero {
  background-image: url('/site_images/inner-bg.webp');
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  height: 14rem;
  margin: 0 0 -5.125rem;
  position: relative;
  top: -5.125rem;
}

/* INTERIOR COPY -------------------------------------- */

#interior {
  padding: 5rem .5rem;
}

#interior .container {
  max-width: 1300px;
}

#interior h1 {
  color: var(--byf-base);
  font-size: 2rem;
  margin: 0 0 2.5rem;
  padding-bottom: .5rem;
  position: relative;
  text-transform: capitalize;
}

#interior h1>span {
  text-transform: none;
}

#interior h1::before,
#interior h1::after {
  background: #EBEBEB;
  content: '';
  display: block;
  height: 4px;
  position: absolute;
  top: 100%;
  -webkit-transition: all 1s .5s ease;
  -o-transition: all 1s .5s ease;
  transition: all 1s .5s ease;
  width: 100%;
}

#interior h1::after {
  background: var(--byf-base);
  width: 0;
}

#interior h1.animated::after {
  width: 180px;
}

#sidebar { margin: 5.75rem 0 0; }

.bio-img {
    float: left;
    margin-right: 15px;
    width: 285px;
}

/*========================
Cloud Accounting Packages
=========================*/

.packages {
  justify-content: space-around;
}

.packages .box {
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0px 3px 8px rgb(47 47 47 / 35%);
    border-radius: 5px;
    padding: 1.5rem 2.25rem;
}

.packages .box p {
  font-weight: bold;
}

.packages .box ul {
  text-align: left;
  margin-bottom: 2rem;
}

.packages .box ul:first-of-type {
  height: 315px;
}

.packages .box ul:nth-of-type(2) {
  height: 150px;
}


/* BOOK SECTION-------------------------------------- */

#book {
  background: #F2F2F2;
  padding: 5rem .5rem;
  position: relative;
}

#book .container {
  max-width: 1140px;
}

#book h2 {
  color: var(--byf-base);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

#book img {
  max-width: 100%;
}

#book p.freebook {
  font-size: .9375rem;
  font-weight: 300;
  margin: 0 0 1rem;
}

#book p>span {
  border-bottom: 2px solid var(--byf-base);
  padding-bottom: .0625rem;
}

#book .btn-primary {
  margin-top: 1rem;
}

#book .book-column {
  padding: 0 0 0 3vw;
}


/* CALL TO ACTION -------------------------------------- */

#cta {
  background-image: url("/site_images/cta-bg.webp");
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  padding: 5rem .5rem;
  position: relative;
}

#cta .overlay {
  background: rgb(159 164 159 / 50%);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

#cta .box {
  background: #FFF;
  height: 100%;
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 2;
}

#cta .box.left { margin-right: 1rem; }
#cta .box.right { margin-left: 1rem; }

#cta h2 {
  color: var(--byf-dark);
  font-size: 1.75rem;
  margin: 0 0 2.5rem;
  padding: 0 0 .25rem;
  position: relative;
}


#cta h2::before,
#cta h2::after {
  background: #EBEBEB;
  content: '';
  display: block;
  height: 4px;
  position: absolute;
  top: 100%;
  width: 100%;
}

#cta h2::after {
  background: var(--byf-base);
  left: 0;
  -webkit-transition: all 1s 1.5s ease;
  -o-transition: all 1s 1.5s ease;
  transition: all 1s 1.5s ease;
  width: 0;
}

#cta .animate-3 h2::after {
  -webkit-transition: all 1s 2.25s ease;
  -o-transition: all 1s 2.25s ease;
  transition: all 1s 2.25s ease;
}

#cta h2.animated::after {
  width: 108px;
}

#cta .box .d-flex:not(:last-of-type) {
  margin: 0 0 1.25rem;
}

#cta .d-flex i {
  color: var(--byf-base);
  font-size: 1.25rem;
  margin: 0 1rem 0 0;
  position: relative;
  top: .375rem;
  width: 2rem;
}

#cta .d-flex a,
#cta .d-flex p {
  color: var(--byf-base-dark);
  font-size: 1.125rem;
  margin: 0;
}

#cta .d-flex a:hover {
  color: var(--byf-secondary);
}

#cta .form-control {
  border-color: #E3E4E4;
  height: 2.5rem;
  margin: 0 0 1rem;
}

#cta .form-control::-webkit-input-placeholder { color: #C6C6C7; font-size: .675rem; }
#cta .form-control:-moz-placeholder { color: #C6C6C7; font-size: .675rem; }
#cta .form-control::-moz-placeholder { color: #C6C6C7; font-size: .675rem; }
#cta .form-control:-ms-input-placeholder { color: #C6C6C7; font-size: .675rem; }
#cta .form-control::-ms-input-placeholder { color: #C6C6C7; font-size: .675rem; }

#cta .btn-primary {
  margin: 1rem 0 1.25rem;
}

#cta p {
  color: #C6C6C7;
  font-size: .75rem;
  margin: 0;
}


/* SIDEBAR-------------------------------------- */

#sidebar .sidebar {
  border: 2px solid var(--byf-base);
  overflow: hidden;
  padding: 2.5rem 2.5rem 3rem;
  position: relative;
  -webkit-border-radius: 1rem;
  border-radius: 1rem;
}

#sidebar .sidebar::before {
  background: rgba(254, 193, 115, 0.1);
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: all 2s ease-in-out;
  -o-transition: all 2s ease-in-out;
  transition: all 2s ease-in-out;
}

#sidebar .sidebar.animated::before {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

#sidebar .sidebar span {
  display: inline-block;
  font-weight: 900;
  margin: 0 0 .25rem;
  text-transform: uppercase;
}

#sidebar p {
  font-size: 1rem;
}

#sidebar .btn-primary {
  font-size: 1.125rem;
  padding: 1.75rem 1rem;
}

/* FOOTER -------------------------------------- */

footer {
  background: var(--byf-base-dark);
  padding: 2rem 1rem .75rem;
}

footer .row {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

footer p {
  color: #FFF;
  font-size: .875rem;
}

footer a,
footer #byf-link a {
  color: var(--byf-pop);
}

footer #byf-link a {
  border-bottom: 1px solid var(--byf-pop);
  margin: 0 0 0 .125rem;
}

footer #footer-nav {
  margin: 0 0 1rem;
}

footer #footer-nav a {
  font-size: .875rem;
}

footer #footer-nav a:not(:last-of-type) {
  border-right: 1px solid #FFF;
  margin: 0 .375rem 0 0;
  padding: 0 .625rem 0 0;
}

footer a:hover,
footer #byf-link a:hover {
  border-color: #FFF;
  color: #FFF;
}


/* MISCELLANEOUS FIXES -------------------------------------- */

* {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  height: 100%;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  -ms-overflow-style: scrollbar;
}

textarea {
  resize: vertical;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #FFF inset;
}

.error,
.errors {
  background-color: #FFF !important;
  border: 1px solid #FF0000 !important;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  color: #FF0000 !important;
  font-size: 14px;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  margin-top: 0 !important;
  padding: 13px 10px 12px !important;
}

.error p,
.errors p {
  font-size: 14px;
  padding-bottom: 0;
}

.error ul,
.errors ul {
  font-weight: 400 !important;
  list-style-position: inside;
  margin-bottom: 0;
  margin-top: 8px;
  padding-left: 30px;
}

.resourcestrick > h1,
.resourcestrick > h3 {
  padding-bottom: 0 !important;
}

.resourcestrick > h1 + br,
.resourcestrick > h3 + br {
  display: none;
}

.resourcestrick > .resourcefix:first-of-type {
  margin-top: 0;
}

.resourcefix {
  font-size: 20px;
  margin: 20px 0 2px;
}

.resourcefix + br {
  display: none;
}

table td {
  font-size: 14px;
  line-height: 1.5;
}

.resourcestrick .resourcefix:first-of-type {
  margin-top: 0;
}

.resourcestrick br:first-of-type {
  display: none;
}

label,
.form-control {
  font-size: 14px;
}

label {
  font-size: 14px;
  font-weight: 400;
}
.verify {
  display: none;
}

.consultation_form .verification .col-xs-12 {
  padding: 5px 15px !important;
}

#consultation label {
  margin-bottom: 5px;
}

#consultation .form-group:not(:nth-of-type(8)):not(:nth-of-type(9)) label {
  display: none;
}

#consultation textarea.form-control {
  height: 115px;
}

.newsletter_form > form {
  font-size: 14px;
}

#contactForm a,
#inner #consultation a,
.newsletter_form a {
  font-size: 12px;
}

.consultation_form .col-xs-12.col-sm-4.text-center {
  text-align: left;
  width: 25%;
}

.newsletter_form label {
  font-weight: 400;
  text-align: right;
}

.newsletter_form .fsd + .form-group > label {
  margin-top: -5px;
}

#captcha {
  border: none !important;
}

.divider {
  background: #CCC;
  display: block;
  height: 1px;
  margin: 24px 0 10px;
  max-width: 100%;
  width: 210px;
}

/* 1440 MEDIA QUERY -------------------------------------- */

@media (max-width: 1440px) {

.navbar-brand img { max-width: 200px; padding: 0 1.25rem 1rem; }

}

/* 1199 MEDIA QUERY -------------------------------------- */

@media (max-width: 1199px) {
  
  #topbar { padding: 2.5rem 2rem; }

  #nav-menu .container { max-width: 100%; background: rgb(255,255,255);}

  .navbar-brand { top: -5.5rem; }

.navbar .navbar-nav .nav-link, .navbar .navbar-nav .nav-link:active, .navbar .navbar-nav .nav-link:focus {
    font-size: 1rem;
    padding: .675rem 1rem;
}

.navbar-brand img {
    max-width: 235px;
    padding: 0 1.25rem 1rem;
    background: transparent;
}

header.fixed .navbar-brand img {
    max-width: 135px;
    padding: 0;
}

 #navbar-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
  }

  #myCarousel, .carousel-inner, .carousel-item { max-height: 750px; height: 750px; }
  #myCarousel .carousel-item .carousel-caption {top: -webkit-calc(50% + 1.5rem);  top: calc(50% + 1.5rem) }
  #myCarousel .carousel-caption h2 span:nth-of-type(1) { margin: 0 0 1.25rem; }
  #myCarousel .carousel-caption h2 span:nth-of-type(2) { font-size: 3.5rem; margin: 0 0 1.25rem;}
  #myCarousel .carousel-caption h2 span:nth-of-type(3) { font-size: 2rem; margin: 0 0 2rem}

  #split-ribbon-1 .text { padding: 7rem 1.5rem 6rem 3rem; }
  #split-ribbon-2 .text { padding: 7rem 3rem 6rem 1.5rem; }
  #split-ribbon-2 .text::before { right: 3rem; }

  #testimonials div[class*='col-'] { padding: 0 1rem; }
  #testimonials .testimonial { padding: 2rem 1.75rem; }

  #newsletter { padding: 6rem .5rem; }
  #newsletter h2 { font-size: 1.5rem; }

}

/* 1023 MEDIA QUERY -------------------------------------- */

@media (max-width: 1023px) {

  #myCarousel .carousel-item { padding: 0 5%; }

  #myCarousel .carousel-item .carousel-caption {
    left: 50%;
    max-width: 100%;
    padding: 5rem 5rem 3.5rem;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  #myCarousel .carousel-caption h2 span:nth-of-type(1) { font-size: 1.125rem; margin: 0 0 1rem; }
  #myCarousel .carousel-caption h2 span:nth-of-type(2) { font-size: 3rem; margin: 0 0 1rem;}
  #myCarousel .carousel-caption h2 span:nth-of-type(3) { font-size: 1.875rem; margin: 0 0 1.5rem}

}

/* 991 MEDIA QUERY -------------------------------------- */

@media (max-width: 991px) {

  #topbar { padding: .25rem 1rem; }

  .navbar {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0 0 .5rem;
    pointer-events: all;
  }

  .navbar-brand { top: -2rem; }
  .navbar-brand img { background: #fff; }

  #navbar-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
  }

  .navbar-nav .dropdown-menu {border: 0;text-align: center;}
  .navbar .navbar-nav .nav-item:first-of-type { margin-top: 1rem }

  .navbar .navbar-nav .nav-link,
  .navbar .navbar-nav .nav-link:active,
  .navbar .navbar-nav .nav-link:focus,
  .navbar .navbar-nav .nav-item:last-of-type .nav-link { padding: .4375rem 1.25rem; }
  .navbar .navbar-nav .nav-link, .navbar .navbar-nav .nav-link:active, .navbar .navbar-nav .nav-link:focus { color: var(--byf-base-dark); }

  #myCarousel { margin: 0; top: auto; }
  #myCarousel, .carousel-inner, .carousel-item { max-height: 550px; height: 550px; }
  #myCarousel .carousel-item .carousel-caption { top: 50%; }

  #interior-hero { margin: 0; top: 0; }

  #services .service { padding: 2.5rem 2rem; }
  #services .column:nth-child(odd) { -webkit-transition-delay: .0s; -o-transition-delay: .0s; transition-delay: .0s; }
  #services .column:nth-child(even) { -webkit-transition-delay: .25s; -o-transition-delay: .25s; transition-delay: .25s; }

  #split-ribbon-1 .split-bg, #split-ribbon-2 .split-bg { height: 35vw; min-height: 12rem; }
  #split-ribbon-1 .text { padding: 7rem 1.5rem 6rem 2rem; }
  #split-ribbon-2 .split-bg { -webkit-box-ordinal-group: 2; -webkit-order: 1; -ms-flex-order: 1; order: 1; }

  #split-ribbon-2 .text {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    padding: 7rem 2rem 6rem 1.5rem;
    text-align: left;
  }

  #split-ribbon-2 .text::before { right: auto; }

  #sidebar { margin: 4rem 0 0; }

  #cta .box.left { margin-right: 0; }
  #cta .box.right { margin-left: 0; }
  #cta .box { padding: 3rem 2rem; }

  #newsletter h2 { font-size: 1.75rem; text-align: center; }
  #newsletter input[type="email"] { margin: 1rem 1.5rem 1rem 0; }

  #resources .container { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-flow: row wrap; -ms-flex-flow: row wrap; flex-flow: row wrap; padding: 0 .75rem; }

  #resources a,
  #resources a:not(:first-of-type) {
    border-left: 0;
    padding: .25rem .75rem;
    margin: 0;
    text-align: left;
    width: -webkit-calc(48% - 1rem);
    width: calc(48% - 1rem);
  }

  .btn,
  a.btn, a.btn:active, a.btn:focus, a.btn:active:focus,
  .btn:not(:disabled):not(.disabled).active,
  .btn:not(:disabled):not(.disabled):active:focus,
  a.btn-primary, a.btn-primary:active, a.btn-primary:focus, a.btn-primary:active:focus,
  .btn-primary, .btn-primary:active, .btn-primary:focus, .btn-primary:active:focus,
  a.btn-secondary, a.btn-secondary:active, a.btn-secondary:focus, a.btn-secondary:active:focus,
  .btn-secondary, .btn-secondary:active, .btn-secondary:focus, .btn-secondary:active:focus,
  .btn-default, .btn-default:active, .btn-default:focus, .btn-default:active:focus,
  .btn-default:not(:disabled):not(.disabled):active:focus,
  .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    padding: 1.25rem 2.25rem;
  }

}

/* 767 MEDIA QUERY -------------------------------------- */

@media (max-width: 767px) {

  #mobile-indicator {display: block;}
  .container { max-width: 100%; }
  .consultation_form .col-xs-12.col-sm-4.text-center { width: 100%; }

  .navbar-brand { position: relative; top: auto; }
  .navbar-brand img { max-width: 200px; padding: 0 0rem 0rem; }

  #resources a {font-size: 1rem; }

  #myCarousel .carousel-caption h2 span:nth-of-type(1) { font-size: 1rem; margin: 0 0 1rem; }
  #myCarousel .carousel-caption h2 span:nth-of-type(2) { font-size: 2.25rem; margin: 0 0 1rem;}
  #myCarousel .carousel-caption h2 span:nth-of-type(3) { font-size: 1.5rem; margin: 0 0 1.5rem}

  #index-section { padding: 4rem .5rem; }
  #index-section h1 { padding: 0 0 .125rem;}
  #index-section h1::after { left: 0; max-width: 100%; }
  #index-section h1 .first-word { font-size: 2rem; top: 0;}

  #split-ribbon-1 .text { padding: 5rem 1.5rem 4rem 1.5rem; }
  #split-ribbon-2 .text { padding: 7rem 1.5rem 6rem 1.5rem; }

  #testimonials div[class*='col-']:not(:last-of-type) { margin: 0 0 3rem; }

  #newsletter .overlay { -webkit-background-size: auto auto; background-size: auto; }
  #newsletter h2 { margin: 0 0 2rem; text-align: center; }

  #cta .col-sm-12:first-of-type { margin-bottom: 2rem; }

  #interior h1> { font-size: 1.5rem; }

  #interior-hero { top: 0; }

  #book .book-column { padding: 0; }
  #book .book-column img { display: block; margin: 3rem auto 0; }

}

/* 575 MEDIA QUERY -------------------------------------- */

@media (max-width: 575px) {

  #myCarousel, .carousel-inner, .carousel-item { max-height: none; height: auto; }
  #myCarousel .carousel-item { padding: 0 }
  #myCarousel .carousel-item .carousel-caption { padding: 4rem 1.5rem 3.5rem; position: static; -webkit-transform: none; -ms-transform: none; transform: none; }
  #myCarousel .carousel-caption h2, #myCarousel .carousel-caption .slide-links { text-align: center; }
  #myCarousel .carousel-caption .slide-links .btn-primary { margin-right: 1rem; }

  #resources a, #resources a:not(:first-of-type) { text-align: center; width: 100%; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: .9375rem; }

  #interior-hero { display: none; }

.bio-img {
    float: none;
    display: block;
    margin: 1rem auto;
    width: 100%;
    max-width: 400px
}
}

/* 480 MEDIA QUERY -------------------------------------- */

@media (max-width: 480px) {

  #topbar a.phone-link {
    font-size: .9375rem;
    margin: 0 1rem 0 0;
  }

  #index-section h1, #index-section h1 .first-word { font-size: 1.625rem; }

  #newsletter form { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; }
  #newsletter input[type="email"] { margin: 1rem 0; }

  #interior h1 + img {
    display: block;
    float: none !important;
    margin: 0 auto 1rem !important;
  }

}


/* 420 MEDIA QUERY -------------------------------------- */

@media (max-width: 420px) {
  #myCarousel .carousel-control-next, #myCarousel .carousel-control-prev, .slash {display: none;}
  #myCarousel .carousel-caption .slide-links .btn-primary { display: table; margin: 0 auto; }
}

/* BOOTSTRAP OVERRIDES -------------------------------------- */

@media (min-width: 768px) {
  .container { max-width: 991px; }
}

@media (min-width: 992px) {
  .container { max-width: 1170px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1400px; }
}

/* = = = = = = = = = = MAIN500.CSS = = = = = = = = = = */