/*
LAYOUT 510 - THE ... - CSS
Steve @ Build Your Firm
9/25/2019
*/

/* IMPORTANT -------------------------------------- */

#mobile-indicator {display: none;}

.no-overflow {
  overflow: hidden;
}

.container,
.container-fluid {
  padding-right: 1rem;
  padding-left: 1rem;
}

.row {
  margin-right: -1rem;
  margin-left: -1rem;
}

/* TYPOGRAPHY -------------------------------------- */

* {
  font-family: 'Nunito Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6,
h2 > a, h3 > a, h4 > a {
  font-family: 'Poppins', sans-serif;
  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 {
  color: #052f51;
}

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;
}

p {
  color: #052F51;
  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: #00A1ED;
  outline: 0;
  text-decoration: none;
}

a:hover {
  color: #1558A1;
}

* 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: .9375rem; }
* .form-control:-moz-placeholder { color: #959595; font-size: .9375rem; }
* .form-control::-moz-placeholder { color: #959595; font-size: .9375rem; }
* .form-control:-ms-input-placeholder { color: #959595; font-size: .9375rem; }
* .form-control::-ms-input-placeholder { color: #959595; font-size: .9375rem; }

/* 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: #00A1ED;
  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: 700;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: .75rem 1rem .75rem 0;
  outline: 0;
  padding: .62rem 3.25rem;
  font-family: 'Nunito Sans', sans-serif;
  -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: #1558A1;
  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: #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: .3125rem 3.5rem;
  position: relative;
  z-index: 1;
}

.navbar-brand {
  left: 0;
  margin: 0;
  position: absolute;
  top: -2rem;
  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: #FFF;
  max-width: 375px;
  padding: 0 2.25rem .75rem;
  -webkit-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;
}

header.fixed .navbar-brand img {
  max-width: 150px;
  padding: 0;
}

#topbar a {
  color: #151A2D;
  font-size: .8125rem;
  font-weight: 600;
  margin: 0 1.25rem 0 0;
}

#topbar i {
  color: #00A1ED;
  margin: 0 .25rem 0 0;
}

#topbar .btn-primary {
  color: #FFF;
  font-size: .75rem;
  font-weight: 700;
  height: 1.875rem;
  padding: .3125rem 1rem;
}

#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: 'Poppins', sans-serif;
  font-size: .9375rem;
  font-weight: 500;
  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: #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: #00A1ED;
}

.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("../assets/slide-1.jpg"); }
#myCarousel .carousel-item:nth-of-type(2) { background-image: url("../assets/slide-2.jpg"); }
#myCarousel .carousel-item:nth-of-type(3) { background-image: url("../assets/slide-3.jpg"); }

#myCarousel .col-text {
  background: #052F51;
  background-image: url("../assets/pattern-carousel.svg");
  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 3rem;
  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: 3.25vw;
  font-weight: 500;
}

#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: 0.9375rem;
  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 .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: 3rem .5rem;
}



#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 {
  /* https://colorzilla.com/gradient-editor/#04a3ea+0,0a87cc+100 */
  background: #00A1ED;
  background: -webkit-radial-gradient(center, ellipse cover, rgba(4,163,234,1) 0%,rgba(10,135,204,1) 100%);
  background: -webkit-radial-gradient(center, ellipse, rgba(4,163,234,1) 0%,rgba(10,135,204,1) 100%);
  background: -o-radial-gradient(center, ellipse, rgba(4,163,234,1) 0%,rgba(10,135,204,1) 100%);
  background: radial-gradient(ellipse at center, rgba(4,163,234,1) 0%,rgba(10,135,204,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#04a3ea', endColorstr='#0a87cc',GradientType=1 );
  -webkit-border-radius: 50%;
  border-radius: 50%;
  color: #FFF;
  font-size: 4rem;
  height: 7.375rem;
  margin: 0 0 1.125rem;
  text-align: center;
  width: 7.375rem;
}

#services .icon img {
  position: relative;
  top: -.25rem;
}

#services h2 {
  font-size: 1.1875rem;
  font-weight: 700;
}

#services p {
  color: #052F51;
  font-size: .875rem;
  text-align: center;
}

#services a:hover h2 {
  color: #00A1ED;
}

/* INDEX COPY -------------------------------------- */

#index-section {
  background: #F1F1F1;
  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: 1.125rem;
  text-align: center;
}

#index-section a:not([class*='btn']) {
  color: #00A1ED;
  font-size: 1.125rem;
}

#index-section a:not([class*='btn']):hover {
  color: #1558A1;
}

#index-section #index-buttons {
  margin: 2rem 0 0;
}

#index-section .btn-primary {
  margin: 1rem 0;
}

#social-media a {
  margin: 0 1rem;
}

/* INDUSTRIES ------------------------- */

#industries {
  background-color: #052F51;
  background-image: url('../assets/bg-industries.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  padding: 4rem 1rem;
  position: relative;
}

#industries::before {
  background-color: rgba(5, 47, 81, .9);
  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: 1rem;
  font-weight: 400;
  line-height: 1.375rem;
  margin: 0 0 .625rem;
}

#industries p {
  color: #FFF;
  font-size: .875rem;
}

#industries i {
  color: #00A1ED;
  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: #00A1ED;
}

#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: 'Nunito Sans', sans-serif;
  font-size: 1.0625rem;
  margin: 0 0 .25rem;
}

#testimonials h4 {
  color: #052F51;
  font-family: 'Nunito Sans', sans-serif;
  font-size: .875rem;
  margin: 0;
}

/* TEAM -------------------------------------- */

#team {
  background: #F1F1F1;
  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: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  margin: 0;
  padding: 10px 20px;
  position: absolute;
}

#team .team h3 span {
  display: block;
}

#team a:hover .team h3 {
  background: #00A1ED;
}

#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 {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#052f51+0,04a3ea+28,052f51+65 */
  background: rgb(5,47,81); /* Old browsers */
  background: -webkit-linear-gradient(left, rgba(5,47,81,1) 0%,rgba(4,163,234,1) 28%,rgba(5,47,81,1) 65%);
  background: -webkit-gradient(linear, left top, right top, from(rgba(5,47,81,1)),color-stop(28%, rgba(4,163,234,1)),color-stop(65%, rgba(5,47,81,1)));
  background: -o-linear-gradient(left, rgba(5,47,81,1) 0%,rgba(4,163,234,1) 28%,rgba(5,47,81,1) 65%);
  background: linear-gradient(to right, rgba(5,47,81,1) 0%,rgba(4,163,234,1) 28%,rgba(5,47,81,1) 65%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#052f51', endColorstr='#052f51',GradientType=1 );
  padding: .5rem.5rem;
  position: relative;
}

#newsletter::before {
  background-image: url("../assets/pattern-newsletter.png");
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: 200% 200%;
  background-size: 200%;
  bottom: 0;
  content: '';
  mix-blend-mode: overlay;
  left: 0;
  opacity: .38;
  right: 0;
  position: absolute;
  top: 0;
  z-index: 0;
}

#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: #FFF;
  font-size: 1.4rem;
  margin: .75rem 3rem .75rem 0;
}

#newsletter .btn-primary {margin: .75rem 0;}

/* INTERIOR HERO-------------------------------------- */

#interior-hero {
  background-image: url('../assets/bg-interior-hero.jpg');
  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: rgba(21, 88, 161, .75);
  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: #313552;
  font-size: 2rem;
  margin: 0 0 1rem;
  position: relative;
  text-transform: capitalize;
}

#interior h1>span {
  text-transform: none;
}

/* SIDEBAR-------------------------------------- */

#sidebar .sidebar {
  border: 2px solid #313552;
  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: rgba(21, 88, 161, 1);
  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%;
}

#sidebar .sidebar p>span {
  font-style: italic;
}

#sidebar .freebook {
  color: #999;
  font-size: .8125rem;
}

#sidebar .book img {
  margin: 1rem auto;
  max-width: 100%;
}

/* FOOTER -------------------------------------- */

footer {
  background: #052F51;
  padding: 2rem .5rem 1rem;
}

#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: 'Muli', 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: .6875rem;
  margin: 0;
  padding: .125rem 0;
}

#footer-bottom a {
  color: #00A1ED;
}

#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: rgba(255,255,255,.75);
}

/* 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;
}

/* 1199 MEDIA QUERY -------------------------------------- */

@media (max-width: 1199px) {

  #topbar {padding: .3125rem .5rem;}
  #topbar a:nth-last-child(3) { margin-right: 1.25rem; }
  #nav-menu .container { max-width: 100%; }
  .navbar-brand img { max-width: 250px; padding: 0 1.25rem 1rem; }

  #team a {
    padding: 0;
    position: relative;
  }

  #sidebar .sidebar { padding: 2.5rem 1.5rem 3rem; }
  #sidebar .sidebar .text h2 br {display: none; }

}

/* 1023 MEDIA QUERY -------------------------------------- */
@media (max-width: 1023px) {
  #myCarousel .carousel-item { -webkit-background-size: cover; background-size: cover;}
  #myCarousel .col-text {background: rgba(5, 47, 81, .9);bottom: 0;height: 100%;left: 0;right: 0;padding: 2rem 1rem;width: 100%;}
  #myCarousel .wrapper {-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: vertical;-webkit-box-direction: normal;-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column;padding: 0;text-align: center;width: 100%;}
  #myCarousel .text { 100%; }
  #myCarousel .wrapper form {max-width: -webkit-calc(100% - 2rem);max-width: calc(100% - 2rem);width: 25rem;}
  #myCarousel .col-text h2 {font-size: 2rem;}
  #newsletter .text { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; }
}

/* 991 MEDIA QUERY -------------------------------------- */

@media (max-width: 991px) {

  #topbar {padding: .25rem 0;}

  .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 {max-width: 185px;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%;
  }

  .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: #fff; }

  #myCarousel {margin:0; top: auto;}
  #interior-hero {margin:0; top: auto;}

  #industries .industry {padding: 1rem 0;}

  #testimonials .row .testimonial { padding: 3rem 2rem; }

  #team a { left: 50%; position: relative; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); }

  #sidebar .btn-primary { max-width: 22rem;}
  #sidebar .sidebar { padding: 2.5rem 2.5rem;}
  #sidebar .sidebar-book {
    -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-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    padding: 2.5rem 2.5rem;
  }

  #sidebar .sidebar-book .text { width: 55%; }
  #sidebar .sidebar-book .book { width: 40%; }
  #sidebar .sidebar-book .button { margin: 1.5rem 0 0; text-align: center; width: 100%; }
}

/* 800 MEDIA QUERY -------------------------------------- */

@media (max-width: 800px) {

  #newsletter .envelope-1 {
    top: -4rem;
    left: -1.5rem
  }

  #newsletter .envelope-2 {
    bottom: 0;
    left: 4rem;
  }

  #newsletter {
    padding: 5rem .5rem 2rem;
  }

  #newsletter .row {
    -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 h2 {
    margin: 0rem 0 1rem;
  }

}

/* 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; }

  #industries { padding: 4rem .5rem; }
  #testimonials .row .testimonial { padding: 3rem .5rem; }

  #sidebar .sidebar { padding: 2.5rem 1.5rem;}
  #sidebar .sidebar-book { padding: 2.5rem 1.5rem; }
  #sidebar .sidebar-book .text { width: 100%; }
  #sidebar .sidebar-book .book { margin: 1rem 0 0; text-align: center;  width: 100%; }
  #sidebar .sidebar-book .button { margin: 0}
}

/* 575 MEDIA QUERY -------------------------------------- */

@media (max-width: 575px) {
  h1, #interior h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.125rem; }
  h4 { font-size: 1rem; }
}

/* 480 MEDIA QUERY -------------------------------------- */
@media (max-width: 480px) {
  #interior h1 + img {
    display: block;
    float: none !important;
    margin: 0 auto 1rem !important;
  }
}

/* 380 MEDIA QUERY -------------------------------------- */
@media (max-width: 380px) {
  #topbar { -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; margin: 0 0 .25rem}
  #topbar i {display: none;}
  #topbar a, #topbar a:nth-last-child(3) { margin: 0 .75rem;}
}

/* BOOTSTRAP OVERRIDES -------------------------------------- */

@media (min-width: 768px) {
  .container { max-width: 991px; }
}

@media (min-width: 992px) {
  .container { max-width: 1170px; }
}

@media (min-width: 1200px) {
  #myCarousel .col-text h2 {font-size: 45px;}
  .container { max-width: 1400px; }
}



/* = = = = = = = = = = MAIN510.CSS = = = = = = = = = = */
