main510.css
:root {
--byf-base: #006187;
--byf-base-dark: #164f4d;
--byf-base-light: #006187;

--byf-light: #CDD3CE;
--byf-lighter: #F9F8F8;

--byf-pop: #3a697e;
--byf-pop-dark: #064164;
--byf-pop-light: #FF8670;

--byf-font1: 'Montserrat', sans-serif;
--byf-font2: 'Montserrat', sans-serif;


}

/* IMPORTANT -------------------------------------- */

#mobile-indicator {display: none;}

.no-overflow {
  overflow: hidden;
}

#testimonials, #team {
 display: none;
}


/* TYPOGRAPHY -------------------------------------- */

* {
  font-family: var(--byf-font1);
}

h1, h2, h3, h4, h5, h6,
h2 > a, h3 > a, h4 > a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1rem;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--byf-base-dark);
}

h1 { font-size: 1.6875rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

#index-section h1 > span:not(.first-word) {
  text-transform: none;
}


p, a, ul, li {
  color: #595959;
  line-height: 1.75;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

p {
  color: #333;
  font-size: 1rem;
  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: #1e7192;
    outline: 0;
    text-decoration: none;
}

a:hover {
  color: var(--byf-pop-dark);
}

* 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: 600;
}

* .form-control::-webkit-input-placeholder { color: #959595; font-size: 1rem; }
* .form-control:-moz-placeholder { color: #959595; font-size: 1rem; }
* .form-control::-moz-placeholder { color: #959595; font-size: 1rem; }
* .form-control:-ms-input-placeholder { color: #959595; font-size: 1rem; }
* .form-control::-ms-input-placeholder { color: #959595; font-size: 1rem; }

/* 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, #industries i, #newsletter .envelope-1, #newsletter .envelope-2,
#resources a > i, #services p, footer #byf-link a, #team h3, #team img, #services h2, #team .team {
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}


/* 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: #1a7c7d;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 2px solid transparent;
  -webkit-border-radius: 1.25rem;
  border-radius: 1.25rem;
  color: #FFF;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: .75rem 1rem .75rem 0;
  outline: 0;
  padding: .62rem 3.25rem;
  font-family: var(--byf-font1);
  -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: #454545;
  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: #292929;
  border-color: #313552;
}

a.btn-secondary:hover, .btn-secondary:hover {
  background: #4185ED;
  border-color: #4185ED;
  color: #FFF;
}

.btn-primary img {
  height: 1.375rem;
  margin: 0 0 0 .25rem;
  position: relative;
  top: -.0625rem;
  width: 1.375rem;
}

/* HEADER + TOPBAR -------------------------------------- */

header {
  position: relative;
  z-index: 100;
}

#topbar {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  background: #d2d2d2;
  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: .3125rem 3.5rem;
  position: relative;
  z-index: 1;
}

.navbar-brand {
  left: 0;
  margin: 0;
  position: absolute;
  top: -2rem;
  z-index: 2;
}

    .navbar-brand img {
        max-width: 257px;
        padding: 0.6rem;
        border-radius: 20px;
    }

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: #FFF;
  max-width: 300px;
  padding: 0.75rem;
  -webkit-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;
}

header.fixed .navbar-brand img {
  max-width: 250px;
  padding: 0;
}

#topbar a {
  color: #151A2D;
  font-size: .9rem;
  font-weight: 600;
  margin: 0 1.25rem 0 0;
}

#topbar a:hover {
    color: #0071ab;
}

#topbar i {
  color: #2487af;
  margin: 0 .25rem 0 0;
}

#topbar .btn-primary {
    color: #FFF;
    font-size: .9rem;
    font-weight: 500;
    height: 1.875rem;
    padding: 0.3rem 0.8rem 1rem;
    line-height: 1rem;
}

#topbar .btn-primary:hover {
    color: #fff;
}

#topbar a:nth-last-child(2) {
  margin-right: 3rem;
}


/* NAVBAR -------------------------------------- */

#nav-menu {
  background-color: transparent;
  margin: 0;
  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 {
  0 { -webkit-transform: translateY(-5rem); transform: translateY(-5rem); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes navDrop {
  0 { -webkit-transform: translateY(-5rem); transform: translateY(-5rem); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

.navbar {
  width: 100%;
}

.navbar-nav {
  position: relative;
  width: 100%;
}

.navbar-expand-lg .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: #FFF;
    font-family: var(--byf-font1);
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    padding: .675rem 1rem;
    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: var(--byf-dark);
}

.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: #9dd5c0;
}

.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 {
  position: relative;
  z-index: 1;
}

#myCarousel {
  margin: 0 0 -4.125rem;
  position: relative;
  top: -4.125rem;
  z-index: 1;
}


#myCarousel .carousel-control-prev, #myCarousel .carousel-control-next {width: 6.25rem;}
#myCarousel .carousel-control-prev { left: -5rem;}
#myCarousel .carousel-control-next { right: -5rem; }
#myCarousel:hover .carousel-control-prev { left: -1rem; }
#myCarousel:hover .carousel-control-next { right: -1rem; }

#myCarousel .carousel-item {
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  height: 550px;
  position: relative;
}

#myCarousel .carousel-item:nth-of-type(1) { background-image: url("/site_images/makokkohome-02-1.webp"); }
#myCarousel .carousel-item:nth-of-type(2) { background-image: url("/site_images/makokkohome-03-1.webp"); }
#myCarousel .carousel-item:nth-of-type(3) { background-image: url("/site_images/jj-sliders-03-1.webp"); }

#myCarousel .col-text {
  background: #434649;
  background-repeat: no-repeat;
  background-position: -webkit-calc(100% + 1rem) center;
  background-position: calc(100% + 1rem) center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 2rem 5rem;
  position: absolute;
  right: 0;
  width: 50%;
}

#myCarousel .wrapper {
  max-width: 100%;
  padding: 2.25rem 0 0;
  width: 365px;
}



#myCarousel .col-text h2 {
    color: #FFF;
    font-size: 2.7rem;
    font-weight: 600;
    line-height: 3.3rem;
}

#myCarousel .col-text p {
  color: #FFF;
  font-size: 1.25rem;
  margin: 0 0 2rem;
}

#myCarousel .form-control {
  -webkit-border-radius: 20px;
  border-radius: 20px;
  height: 3rem;
  font-size: 1rem;
  text-align:  center;
}

#myCarousel .form-control::-webkit-input-placeholder { font-weight: 700; }
#myCarousel .form-control:-moz-placeholder { font-weight: 700; }
#myCarousel .form-control::-moz-placeholder { font-weight: 700; }
#myCarousel .form-control:-ms-input-placeholder {  font-weight: 700; }
#myCarousel .form-control::-ms-input-placeholder { font-weight: 700; }

#myCarousel .btn-primary {
  margin: 2rem 0 0;
  width: 100%;
}

#myCarousel .btn-primary {
    margin: 2rem 0 0;
    width: 100%;
    border: 2px solid #fff;
    background: transparent;
}



#myCarousel .btn-primary:hover {
    margin: 2rem 0 0;
    width: 100%;
    border: 2px solid #aba9a2;
    background: #aba9a2;
    color: #1c2F42;
}

#myCarousel .carousel-fade .carousel-item {
  opacity: 0;
  -webkit-transition-duration: .6s;
  -o-transition-duration: .6s;
  transition-duration: .6s;
  -webkit-transition-property: all;
  -o-transition-property: all;
  transition-property: all
}

#myCarousel .carousel-fade  .carousel-item.active,
#myCarousel .carousel-fade  .carousel-item-next.carousel-item-left,
#myCarousel .carousel-fade  .carousel-item-prev.carousel-item-right {
  opacity: 1;
}

#myCarousel .carousel-fade .active.carousel-item-left,
#myCarousel .carousel-fade  .active.carousel-item-right {
  opacity: 0;
}

#myCarousel .carousel-fade .carousel-item-next,
#myCarousel .carousel-fade .carousel-item-prev,
#myCarousel .carousel-fade .carousel-item.active,
#myCarousel .carousel-fade .active.carousel-item-left,
#myCarousel .carousel-fade  .active.carousel-item-prev {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}


/* SERVICES -------------------------------------- */

#services {
  padding: 1rem .5rem;
  background: #1f8389;
}

#services a {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 1rem 0;
}

#services .icon {
  background: transparent;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  color: #FFF;
  font-size: 4rem;
  height: 6.5rem;
  margin: 0 0 1.125rem;
  text-align: center;
  width: 6.5rem;
}

#services .row {
    justify-content: center;
}

#services .icon img {
  position: relative;
  top: -.5rem;
}

#services h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #efefef;
}


#services p {
    color: #efefef;
    font-size: 1rem;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

#services a:hover h2 {
  color: var(--byf-pop);
}

/* INDEX COPY -------------------------------------- */

#index-section {
  background: var(--byf-lighter);
  padding: 4rem .5rem;
}

#index-section .container {
  max-width: 1140px;
}

#index-section h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 2.5rem;
  position: relative;
  text-align: center;
  text-transform: capitalize;
}

#index-section p {
    font-size: 1rem;
    text-align: center;
    line-height: 1.9rem;
}

#index-section a:not([class*='btn']) {
    color: #3646a3;
    font-size: 1rem;
    font-weight: 500;
}

#index-section a:not([class*='btn']):hover {
  color: var(--byf-pop-dark);
}

#index-section #index-buttons {
  margin: 2rem 0 0;
}

#index-section .btn-primary {
  margin: 1rem 0;
}

#social-media a {
  margin: 0 1rem;
}

/* INDUSTRIES ------------------------- */

#industries {
  background-image: url(/site_images/carouselandreea2-1.webp);
  background-position: center center;
  background-repeat: no-repeat;
  padding: 4rem 1rem;
  position: relative;
  background-attachment: fixed;
}




#industries::before {
    background-color: rgb(52 59 67 / 80%);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

#industries .industry {
  padding: 2rem 2rem;
  position: relative;
  -webkit-transition: background-color .3s ease;
  -o-transition: background-color .3s ease;
  transition: background-color .3s ease;
}

#industries h3 {
  color: #FFF;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1rem;
  position: relative;
  z-index: 1;
}

#industries h2 {
    color: #FFF;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.375rem;
    margin: 0 0 .625rem;
}

#industries p {
  color: #efefef;
    font-size: 1rem;
    line-height: 1.9rem;
}



#industries i {
  color: #aba9a2;
  font-size: 2.5rem;
  margin: 0 0 1.25rem;
  -webkit-transform: scale(.9,.9);
  -ms-transform: scale(.9,.9);
  transform: scale(.9,.9);
}

#industries a:hover i {
  color: #FFF;
  -webkit-transform: scale(1,1);
  -ms-transform: scale(1,1);
  transform: scale(1,1);
}


/* TESTIMONIALS ------------------------- */

#testimonials {
  background: #FAFAFA;
  padding: 4rem 0 8rem;
}

#testimonials h2 {
  text-align: center;
}

#testimonials .row {
  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 auto;
  max-width: 1400px;
}

#testimonials .row .testimonial {
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: 150px auto;
  background-size: 150px auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  min-height: 10rem;
  padding: 3rem 4rem;
}

#testimonials .carousel-indicators li.active {
  background: var(--byf-pop);
}

#testimonials .carousel-indicators li {
  background: rgba(0, 161, 237, .35);
  border: 0;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  cursor: pointer;
  height: 1rem;
  width: 1rem;
}

#testimonials .top i {
  color: #DCDCDC;
  font-size: 2rem;
  margin: 0 0 1rem;
}

#testimonials h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

#testimonials .carousel-item-next, #testimonials .carousel-item-prev,
#testimonials .carousel-item.active {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

#testimonials .carousel-indicators {
  bottom: 4rem;
}

#testimonials .bottom {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  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;
}

#testimonials .bottom i {
  color: #1A3F5D;
  font-size: 3rem;
  margin: 0 1rem 0 0;
}

#testimonials h3 {
  color: #0E69AA;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.0625rem;
  margin: 0 0 .25rem;
}

#testimonials h4 {
  color: var(--byf-base-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: .875rem;
  margin: 0;
}

/* TEAM -------------------------------------- */

#team {
  background: var(--byf-lighter);
  overflow: hidden;
  padding: 4rem .5rem;
}

#team h2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

#team .team {
  margin: 15px 0;
  overflow: hidden;
  position: relative;
}

#team a {
  display: inline-block;
  padding: 0 1rem;
}

#team .team img {
  width: 100%;
}

#team .team h3 {
  background: rgba(0, 161, 237, .8);
  bottom: 1.125rem;
  color: #FFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin: 0;
  padding: 10px 20px;
  position: absolute;
}

#team .team h3 span {
  display: block;
}

#team a:hover .team h3 {
  background: var(--byf-pop);
}

#team a:hover img {-webkit-transform: scale(1.05,1.05);-ms-transform: scale(1.05,1.05);transform: scale(1.05,1.05);}

/* AFFILIATES -------------------------------------- */

#affiliates {
  background: #F8F8F8;
  border-top: 1px solid #EEE;
  overflow: hidden;
  padding: 3rem 1.5rem;
}

#affiliates .affiliates {
  margin: 0 -15px;
  text-align: center;
}

#affiliates .affiliates img {
  display: inline-block;
  margin: 1rem 1.875rem;
  max-width: 200px;
}

/* NEWSLETTER -------------------------------------- */

#newsletter {
  background: #fff;
  padding: .5rem.5rem;
  position: relative;
}

#newsletter::before {
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: 200% 200%;
  background-size: 200%;
  bottom: 0;
  content: '';
  mix-blend-mode: normal;
  left: 0;
  opacity: .38;
  right: 0;
  position: absolute;
  top: 0;
  z-index: 0;
background-color: transparent;
}

#newsletter .row {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 62.5rem;
  position: relative;
  z-index: 1;
}

#newsletter .icons {
  height: 9.5rem;
  position: relative;
  width: 16rem;
}

#newsletter .icons img {
  max-width: 100%;
  position: absolute;
  -webkit-transition-delay: .35s;
  -o-transition-delay: .35s;
  transition-delay: .35s;
}

#newsletter .envelope-1 {
  position: absolute;
  bottom: -2rem;
  -webkit-transform: rotate(25deg);
  -ms-transform: rotate(25deg);
  transform: rotate(25deg);
  z-index: 1;
}

#newsletter .envelope-2 {
  bottom: -2rem;
  position: absolute;
  -webkit-transform: rotate(25deg);
  -ms-transform: rotate(25deg);
  transform: rotate(25deg);
  z-index: 0;
}

#newsletter .envelope-1.animated {
  bottom: 0;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

#newsletter .envelope-2.animated {
  bottom: -4rem;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#newsletter .text {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  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;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#newsletter h2 {
  color: #434649;
  font-size: 1.4rem;
  margin: .75rem 3rem .75rem 0;
}

#newsletter .btn-primary {margin: .75rem 0;}

#newsletter .btn-primary {
    margin: .75rem 0;
    background: #434649;
}
/* INTERIOR HERO-------------------------------------- */



#interior-hero {
    background-image: url(/site_images/makoko-03-1.webp);
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    height: 14rem;
    margin: 0 0 -4.125rem;
    position: relative;
    top: -4.125rem;
}

#interior-hero::after {
  background: rgb(33 83 95 / 55%);
  bottom: 0;
  content: '';
  left: 0;
  mix-blend-mode: multiply;
  position: absolute;
  right: 0;
  top: 0;
}

/* INTERIOR COPY -------------------------------------- */

#interior {
  padding: 5rem .5rem;
}

#interior .container {
  max-width: 1300px;
}

#interior h1 {
  color: var(--byf-base-dark);
  font-size: 2.3rem;
  margin: 0 0 1rem;
  position: relative;
  text-transform: capitalize;
}

#interior h1>span {
  text-transform: none;
}

/* SIDEBAR-------------------------------------- */

#sidebar .sidebar {
  border: 2px solid #cbcbcb;
  margin: 3.75em 0 0;
  overflow: hidden;
  padding: 2.5rem 2.5rem 3rem;
  position: relative;
  -webkit-border-radius: 1rem;
  border-radius: 1rem;
}

#sidebar i {
  color: rgb(181 181 181);
  display: block;
  font-size: 2rem;
  margin: 0 0 1rem;
}

#sidebar .sidebar>span,
#sidebar .text>span {
  display: inline-block;
  font-weight: 900;
  margin: 0 0 .25rem;
  text-transform: uppercase;
}



#sidebar .btn-primary {
  padding: .5625rem 2rem;
  text-align: center;
  width: 100%;
  background-color: #1f8389;
}


#sidebar .btn-primary:hover {
  padding: .5625rem 2rem;
  text-align: center;
  width: 100%;
  background-color: #444444;
}








#sidebar .sidebar p>span {
  font-style: italic;
}

#sidebar .freebook {
  color: #999;
  font-size: 1rem;
}

#sidebar .book img {
  margin: 1rem auto;
  max-width: 100%;
}

/* FOOTER -------------------------------------- */

footer {
    background: #1f8389;
    padding: 2rem .5rem 1rem;
}



footer h3 {
    color: #d1d1d1;
    font-weight: 400;
}

#footer-top {
  padding: 0 0 3rem;
}

#footer-top h2 {
  color: #FFF;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}

#footer-top p, #footer-top a {
  color: #FFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  padding: 0;
}

#footer-bottom .row {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 2rem;
}

#footer-bottom p,
#footer-bottom a {
  color: #FFF;
  font-size: 1rem;
  margin: 0;
  padding: .125rem 0;
}

#footer-bottom a {
    color: #bef4e0;
}

#footer-bottom #footer-nav a:not(:last-of-type) {
  display: inline-block;
  margin-right: .75rem;
}

#footer-nav {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

#footer-nav a:not(:last-of-type) {
  margin-right: .5rem;
}

#footer-bottom .row {
  margin: 0 -1.5rem;
}

#footer-nav ,#copyright, #byf-link {
  padding: .25rem 1.5rem;
}

#byf-link a {
  text-decoration: underline;
}

#footer-top a:hover, #footer-bottom a:hover {
  color: #b7d9cc;
}

/* 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;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
     MEDIA QUERIES
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  
  
  @media all and (max-width: 1440px) {
    .navbar .navbar-nav .nav-link, .navbar .navbar-nav .nav-link:active, .navbar .navbar-nav .nav-link:focus {
      font-size: 15px;
      padding: .675rem 0.9rem;
    }
  
    #myCarousel .col-text {
      width: 55%;
    }


  
    #affiliates .affiliates img {
      margin: 2rem 2.2rem;
    }
  }
  
  @media all and (max-width: 1199px) {
  }
  
  
  @media all and (max-width: 1024px) {
    #myCarousel .col-text {
      width: 64%;
    }
  
    #services h2 {
      font-size: 16px;
    }
  }
  
  
  
  
  @media all and (max-width: 768px) {
    .navbar-brand img {
      max-width: 257px;
      padding: 1rem;
    }
  
    .navbar .navbar-nav .nav-link, 
    .navbar .navbar-nav .nav-link:active, 
    .navbar .navbar-nav .nav-link:focus {
      color: #0f4573;
    }
  
    #myCarousel .col-text {
      background: linear-gradient(to top, rgba(11, 49, 97, 0.91), rgba(0, 92, 151, 0.89));
      width: initial;
    }
  
    #myCarousel .wrapper {
      width: initial;
    }
  }
  
  
  
  @media all and (max-width: 767px) {
  
    #myCarousel .col-text {
      background: rgb(9 46 79 / 78%);
      width: 100%;
    }
  
    .navbar .navbar-nav .nav-link, 
    .navbar .navbar-nav .nav-link:active, 
    .navbar .navbar-nav .nav-link:focus {
      color: rgba(0, 0, 0, 0.79);
      font-size: 19px;
    }
  
    .navbar .dropdown-item, 
    .navbar .dropdown-item:active, 
    .navbar .dropdown-item:focus {
      font-size: 16px;
    }
  
    #newsletter .envelope-2.animated {
      bottom: -2rem;
    }

#newsletter .btn-primary {
border-color: #efefef;
}
  
    #interior-hero::after {
      background: rgba(0, 34, 56, 0.39);
    }
  }
  
  @media all and (max-width: 575px) {
  #topbar a {
      margin: 0 1rem 0 0;
    }

    #interior img {
      max-width: 300px;
    }

    #interior-hero {
       background-image: url(/site_images/headline-1.webp);
       background-position: center center;
       background-repeat: no-repeat;
      -webkit-background-size: cover;
       background-size: cover;
       height: 5rem;
       margin: 0 0 -4.125rem;
       position: relative;
       top: 0rem;
    }
  
    .navbar-collapse {
      padding-bottom: 1rem;
    }
  
    .navbar-brand {
      top: -0.4rem;
    }

  
    #myCarousel .carousel-item:nth-of-type(1) {
      background-position: center;
      background-size: cover;
    }

    #myCarousel .carousel-item:nth-of-type(2) {
      background-position: center;
      background-size: cover;
    }

    #myCarousel .carousel-item:nth-of-type(3) {
      background-position: center;
      background-size: cover;
    }
  
    .video-container {
      padding-bottom: 48.4%;
      width: 100%;
    }
  
    #industries {
      text-align: center;
    }
  
  .pricing h4 {
      font-size: 26px;
      text-align: center;
      margin: 0 auto 0.5rem;
  }
  
    #topbar span {
      display: none;
    }
  
    .navbar-brand img {
      max-width: 215px;
      padding: 0 2rem 0 0;
    }
  
    header.fixed .navbar-brand img {
      max-width: 160px;
      padding: 0.8rem 0;
    }
  
  .navbar {
      padding: 0;
  }
  
    #topbar {
      padding: 0.6rem 0.3rem;
    }
  
    #topbar a:nth-last-child(2) {
      margin-right: 0.8rem;
    }
  
    #myCarousel .col-text {
      background: rgba(9, 61, 108, .8);
      width: 100%;
      padding-top: 5rem;
    }
  
    #newsletter h2 {
      font-size: 24px;
      margin: 2rem 0 1rem;
      text-align: center;
      line-height: 1.4;
    }
  
    #interior h1 {
      font-size: 1.7rem;
    }
  
    #interior h1 + img {
      display: initial;
    }
  }
  
  
  @media all and (max-width: 375px) {
    #topbar a:nth-last-child(3) {
      display: none;
    }

    #topbar {
      justify-content: center;
    }

    #myCarousel .col-text h2 {
      color: #FFF;
      font-size: 2.4rem;
      font-weight: 700;
      line-height: 2.8rem;
      padding-top: 2rem;
    }

  
    .btn-primary img {
      margin: 0 0 0 .2rem;
    }
  }




label.col-xs-12.col-md-4.text-right {
    text-align: left !important;
}

#interior .col-xs-12 p {
    padding-left: 15px;
}


/* = = = = = = = = = = MAIN510.CSS = = = = = = = = = = */