/* Mobile First */
html, body {
  height: 100vh;
}

/* Fixed navbar */
body {
  padding-top: 75px;
  font-family: 'Open Sans', sans-serif;
}

.char-thin {
  font-weight: 200 !important;
}

.row.equal.equalizer {
  margin-right: 0px;
  margin-left: 0px;
}

/* Theme */
.m-blue {
  color: #1f69b8;
}

.m-green {
  color: #63c631
}

.m-yellow {
  color: #fac905;
}

.middot {
  display: inline;
}

/* Themed buttons */
.btn-primary {
  border-color: #1f69b8;
  background-color: #1f69b8;
}

.btn-primary:focus,
.btn-primary:hover {
  border-color: #014e9b;
  background-color: #014e9b;
}

.btn-outline-primary {
  color: #1f69b8;
  border-color: #1f69b8;
  background-color: #ffffff;
}

.btn-outline-primary:focus,
.btn-outline-primary:hover {
  color: #ffffff;
  border-color: #014e9b;
  background-color: #014e9b;
}

/* Width max */
.w400 {
  max-width: 400px;
}

.w450 {
  max-width: 450px;
}

.w500 {
  max-width: 500px;
}

/* Card  */
.card {
  text-align: center;
}



.card-body {
  padding: 0;
}

.card-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ffffff;
  padding: .75rem 1.05rem;
}

.card-body p {
  color: #7a899a;
}

.card-body p {
  display: none;
}

.card-body p.text-center {
  display: block;
}

/* container sections */
.jumbotron .section h2 {
  font-size: 1rem;
}

.jumbotron.jumbotron-fluid {
  padding-left: 3px;
  padding-right: 3px;
}

/* Phone styles */
.phone-cap-top {
  border-top-left-radius: 20px;
  -webkit-border-top-left-radius: 20px;
  -moz-border-top-left-radius: 20px;
  -ms-border-top-left-radius: 20px;
  -o-border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  -webkit-border-top-right-radius: 20px;
  -moz-border-top-right-radius: 20px;
  -ms-border-top-right-radius: 20px;
  -o-border-top-right-radius: 20px;
}

/* Displays */
h1.display-4 {
  font-size: 2rem;
}

/* icons */
i.fas.fa-check-circle {
  font-size: 20px;
}

/* Section Titles */
.section h2 {
  font-weight: 600;
}

/* Text Shadows */
.ts-sharp {
  text-shadow: 1px 1px 0px #0000003b;
  -moz-text-shadow: 1px 1px 0px #0000003b;
  -ms-text-shadow: 1px 1px 0px #0000003b;
  -o-text-shadow: 1px 1px 0px #0000003b;
}

/* logo */
img.img-fluid.logo {
  max-width: 200px;
}


/* x scroll menu */
div.xscrollmenu {
  background-color: #000000;
  overflow: auto;
  white-space: nowrap;
}

.h-320 {
  height: 320px;
}

div.xscrollmenu .card {
  display: inline-block;
  white-space: normal;
  width: 380px;
  height: 320px;
  overflow-x: scroll;
}

div.xscrollmenu .card .card-title {
  text-align: center;
  font-size: 1.2rem;
}

div.xscrollmenu .card .card-body {
  padding-top: 0;
  padding-bottom: 0;
  font-size: 15px;
}

div.xscrollmenu .card img.card-img-top {
  width: 145px;
  margin: 0 auto;
  display: block;
  padding: 1em 0;
}

div.xscrollmenu .card img.card-img-top.driveway {
  width: 100px;
}

/* Animated Gradients */
.introduction {
/*  background: linear-gradient(43deg, #1f69b8, #57b328, #efc008);*/
  background: linear-gradient(43deg, #1b5da3, #41861e, #a08105);
  background-size: 600% 600%;
  -webkit-animation: merandex-intro 9s ease infinite;
  -moz-animation: merandex-intro 9s ease infinite;
  -o-animation: merandex-intro 9s ease infinite;
  animation: merandex-intro 9s ease infinite;
}

@-webkit-keyframes merandex-intro {
  0% {
    background-position: 91% 0%
  }

  50% {
    background-position: 10% 100%
  }

  100% {
    background-position: 91% 0%
  }
}

@-moz-keyframes merandex-intro {
  0% {
    background-position: 91% 0%
  }

  50% {
    background-position: 10% 100%
  }

  100% {
    background-position: 91% 0%
  }
}

@-o-keyframes merandex-intro {
  0% {
    background-position: 91% 0%
  }

  50% {
    background-position: 10% 100%
  }

  100% {
    background-position: 91% 0%
  }
}

@keyframes merandex-intro {
  0% {
    background-position: 91% 0%
  }

  50% {
    background-position: 10% 100%
  }

  100% {
    background-position: 91% 0%
  }
}

/* Jumbotron */
.bg-cover {
  background-attachment: static;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Jumbotron Marketing Images */
.bg-cover.market-img-1 {
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.5) 100%), url('../img/texture-v.png');
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.5) 100%), url('../img/texture-v.png');
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.5) 100%), url('../img/texture-v.png');
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0f000000', endColorstr='#33000000', GradientType=0);
}

.bg-cover.market-img-2 {
  background: url('../img/texture-vl.png') repeat;
  box-shadow: 0 20px 80px -70px rgb(0 0 0 / 40%) inset;
  -webkit-box-shadow: 0 20px 80px -70px rgb(0 0 0 / 40%) inset;
  -moz-box-shadow: 0 20px 80px -70px rgb(0 0 0 / 40%) inset;
  -ms-box-shadow: 0 20px 80px -70px rgb(0 0 0 / 40%) inset;
  -o-box-shadow: 0 20px 80px -70px rgb(0 0 0 / 40%) inset;
}

.bg-cover.market-img-3 {
  background: -moz-linear-gradient(bottom, rgba(30, 87, 153, 0.6) 1%, rgba(30, 72, 127, 1) 100%), url('../img/texture-v.png');
  background: -webkit-linear-gradient(bottom, rgba(30, 87, 153, 0.6) 1%, rgba(30, 72, 127, 1) 100%), url('../img/texture-v.png');
  background: linear-gradient(to top, rgba(30, 87, 153, 0.6) 1%, rgba(30, 72, 127, 1) 100%), url('../img/texture-v.png');
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0f000000', endColorstr='#33000000', GradientType=0);
}

/* display-ad */
.digital-display-ad {
  background-color: #f9eccf;
  border: 20px solid;
  border-bottom: none;
}

/* custom */
.custom-solutions-img {
  background-color: #212629;
  border: 30px solid;
  border-bottom: 20px solid;
}

/* branding */
img.introwave {
  background-color: #ffffff;
  border-radius: 60px;
  padding: 8px 25px;
  max-width: 190px;
}

img.img-fluid.brandx {
  max-width: 35px;
}


/* row margin set is now adjusted for device grid 2 up design */
.row.mb-5 {
  margin-bottom: 1rem !important;
}

/* Responsive media */




/* Only Super Small Devices */
@media (max-width: 560px) {
	.carousel-item h3 { font-size: 1.25rem; }
}

@media (min-width: 560px) and (max-width: 768px) {
	.carousel-item h3 { font-size: 1.5rem; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  .carousel-item h3 { font-size: 1.5rem; }
}

/* Only Devices */
@media (max-width: 991px) {

  /* Cards */
  .card .card-header {
    text-align: left;
  }

  .card .card-header h4 {
    font-size: 14px;
    line-height: normal;
  }

  .card-header .col-sm-1 {
    display: none !important;
  }

  .card-header .col-sm-11 {
    max-width: none !important;
    flex: 0 0 100% !important;
    -webkit-flex: 0 0 100% !important;
    -moz-flex: 0 0 100% !important;
    -ms-flex: 0 0 100% !important;
    -o-flex: 0 0 100% !important;
    display: block !important;
    padding-left: 5px;
    padding-right: 0;
  }



}

/* Desktop */
@media (min-width: 992px) {

  .card .card-header h4 {
    font-size: 1rem;
  }

  .jumbotron.jumbotron-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .card-deck .card .card-header {
    text-align: center;
  }

  .col-sm-1.col-md-12.d-flex.align-items-center {
    text-align: center !important;
    display: block !important;
  }

  .middot {
    display: none;
  }

  /* row margin reset */
  .row.mb-5 {
    margin-bottom: 3rem !important;
  }

  h1.display-4 {
    font-size: 2.8rem;
  }

  /* container sections */
  .jumbotron .section h2 {
    font-size: 2rem;
  }

  /* Cards */
  .card {
    text-align: left;
  }

  .card-header {
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
  }

  .card .card-header h4 {
    min-height: auto;
    margin-bottom: 0;
  }

  .card-body {
    padding: 1.25rem;
  }

  .card-body p {
    display: block;
  }
}

/* Desktop Specific View Targets */
@media (min-width: 992px) and (max-width: 1230px) {
  body {
    padding-top: 56px;
  }

  /* logo */
  img.img-fluid.logo {
    max-width: 105px
  }

}
