body {
  font-size: 16px;
}

@media (min-width: 768px) {
  .container,
  .backtop-wrapper .backtop-container {
    width: 740px;
  }
}

@media (min-width: 992px) {
  .container,
  .backtop-wrapper .backtop-container {
    width: 960px;
  }
}

@media (min-width: 1200px) {
  .container,
  .backtop-wrapper .backtop-container {
    width: 1160px;
  }
}

.jumbotron {
  padding: 30px 15px;
  margin-bottom: 30px;
  color: inherit;
  background-color: #eee;
}
.jumbotron h1,
.jumbotron .h1 {
  color: inherit;
}
.jumbotron p {
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 200;
}
.jumbotron > hr {
  border-top-color: #d5d5d5;
}
.container .jumbotron,
.container-fluid .jumbotron {
  border-radius: 6px;
}
.jumbotron .container {
  max-width: 100%;
}
@media screen and (min-width: 768px) {
  .jumbotron {
    padding: 48px 0;
  }
  .container .jumbotron,
  .container-fluid .jumbotron {
    padding-right: 60px;
    padding-left: 60px;
  }
  .jumbotron h1,
  .jumbotron .h1 {
    font-size: 63px;
  }
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

::selection {
  background: var(--mb-color-primary, #66b08b);
  color: #fff;
  text-shadow: none;
}
::-webkit-selection {
  background: var(--mb-color-primary, #66b08b);
  color: #fff;
  text-shadow: none;
}
::-moz-selection {
  background: var(--mb-color-primary, #66b08b);
  color: #fff;
  text-shadow: none;
}

body {
  background: white;
}

.mamicount span {
  opacity: 0;
  animation-duration: 1.5s;
  animation-delay: 0s;
}

.mamicount img {
  display: block;
  margin: 10px auto 0;
}

h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  font-size: 26px;
  font-weight: normal;
}

h5 {
  font-weight: 700;
  line-height: 1.3;
}

.jumbotron {
  background: url("../img/mibaby-top2.jpg") #b2ba1f center top no-repeat;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  margin-bottom: 0;
  position: relative;
}

.jumbotron.intro {
  padding-top: 20% !important;
  min-height: calc(100vh);
}

@media (max-width: 768px) {
  .jumbotron.intro {
    height: auto;
  }
}

.jumbotron h1 {
  color: white;
  font-size: 60px;
  font-weight: 700;
  text-align: center;
}

.jumbotron p.intro_subline {
  text-align: center;
  color: white;
  font-size: 30px;
  line-height: 42px;
  padding: 20px 10% 0 10%;
  margin: 0 0 1.5em 0;
}

.jumbotron.intro .panel {
  background: transparent !important;
}

.jumbotron .list-group-item {
  background: none !important;
}

@media (max-width: 768px) {
  .jumbotron h1 {
    font-size: 36px;
    line-height: 40px;
  }
  .jumbotron h1 br {
    display: none;
  }
  .jumbotron p.intro_subline {
    font-size: 18px;
    line-height: 20px;
  }
}

.btn-primary:not([disabled]) {
  color: white !important;
  border: none;
  text-shadow: none;
  box-shadow: none;
  background: var(--mb-color-primary, #66b08b) !important;
}

#collapseIt {
  z-index: 999;
}

#content a.btn.btn-block.text-xl.btn-secondary.text-toogle {
  border-radius: 2px;
}

#content a.btn.btn-block.text-xl.btn-secondary.text-toogle span {
  position: absolute;
  right: 30px;
}

@media (max-width: 420px) {
  #content a.btn.btn-block.text-xl.btn-secondary.text-toogle span {
    right: 15px;
  }
}

@media (max-width: 320px) {
  #content a.btn.btn-block.text-xl.btn-secondary.text-toogle span {
    display: none;
  }
}

#content
  a.btn.btn-block.text-xl.btn-secondary.text-toogle
  span.text-collapsed:before {
  background: url("../img/chevron.svg") no-repeat;
  background-size: 32px 32px;
  display: block;
  width: 32px;
  height: 32px;
  content: " ";
}

#content
  a.btn.btn-block.text-xl.btn-secondary.text-toogle
  span.text-expanded:before {
  background: url("../img/chevron.svg") no-repeat;
  background-size: 32px 32px;
  transform: scaleY(-1);
  display: block;
  width: 32px;
  height: 32px;
  content: " ";
}

.text-toogle[aria-expanded="false"] .text-expanded {
  display: none;
  text-align: right;
}

.text-toogle[aria-expanded="true"] .text-collapsed {
  display: none;
  text-align: right;
}

.card-body {
  background: #5e4b93;
  color: white;
  padding: 20px 50px 50px 50px;
}

@media (max-width: 768px) {
  .card-body {
    padding: 20px;
  }
}

.card-body div {
  padding-bottom: 15px;
}

.card-body a {
  color: white;
  display: block;
}

.card-body a:hover,
.card-body a:active,
.card-body a:focus {
  background: #c7a6cf;
  text-decoration: none;
}

ul.secret {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.secret li {
  font-weight: bold;
  border-bottom: 1px solid #5e4b93;
}

ul.secret li:first-child {
  border-top: 1px solid #5e4b93;
}

ul.secret li a {
  position: relative;
  display: block;
  height: 84px;
  padding: 10px 0;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 64px;
}

ul.secret li.first a:before {
  content: " ";
  display: inline-block;
  float: left;
  width: 64px;
  height: 64px;
  background: url("../img/select_age_1.png") left no-repeat;
  background-size: 64px 64px;
}

ul.secret li.second a:before {
  content: " ";
  display: inline-block;
  float: left;
  width: 64px;
  height: 64px;
  background: url("../img/select_age_2.png") left no-repeat;
  background-size: 64px 64px;
}

ul.secret li.third a:before {
  content: " ";
  display: inline-block;
  float: left;
  width: 64px;
  height: 64px;
  background: url("../img/select_age_3.png") left no-repeat;
  background-size: 64px 64px;
}

ul.secret li.fourth a:before {
  content: " ";
  display: inline-block;
  float: left;
  width: 64px;
  height: 64px;
  background: url("../img/select_age_4.png") left no-repeat;
  background-size: 64px 64px;
}

ul.secret li a:after {
  background: url("../img/chevron.svg") no-repeat #5e4b93;
  background-size: 32px 32px;
  transform: rotate(-90deg);
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 32px;
  content: " ";
  position: absolute;
  right: 15px;
  bottom: 28px;
}

ul.secret li a:hover:after {
  background: url("../img/chevron.svg") no-repeat #5e4b93;
  background-size: 32px 32px;
  transform: rotate(-90deg);
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 32px;
  content: " ";
  position: absolute;
  right: 15px;
  bottom: 28px;
}

.padding-bttm {
  padding-bottom: 2em;
}

.mamicount {
  color: white;
  text-align: center;
  padding-top: 3em;
  opacity: 0.8;
}

#partner {
  padding-top: 60px;
}

#testimonials {
  padding: 2em 0;
}

#slider {
  padding: 2em 0;
}

#slider div {
  font-size: 110%;
  text-align: center;
}

#slider-team div {
  text-align: center;
}

#slider-team img {
  border-radius: 200px;
}

#slider-team span {
  display: block;
  width: auto;
  text-align: center;
  color: white;
}

#slider-team span.name {
  font-weight: bold;
  padding-top: 15px;
}

#slider.testimonials img {
  border-radius: 150px;
  margin-top: 10px 0;
}

#slider.testimonials p {
  font-style: italic;
}

#slider.testimonials small {
  font-weight: bold;
}

.wrapper-light.grey_bg {
  background-color: #efefeb;
}

.testimonial {
  padding-bottom: 30px;
}

.arrow_s:after {
  border-width: 22px;
  bottom: -44px;
  margin-left: -22px;
}

.list-group {
  box-shadow: none !important;
}

.btn.text-xl {
  text-transform: uppercase;
  font-size: 20px !important;
  padding-top: 15px;
  padding-bottom: 15px;
}

#content .sc-row-container-wrapper {
  padding-top: 75px;
  padding-bottom: 75px;
}

@media (min-width: 769px) {
  #content .sc-row-container-wrapper.wrapper-primary,
  #content .sc-row-container-wrapper.wrapper-light,
  #content .sc-row-container-wrapper.wrapper-transparent {
    padding-top: 50px;
  }
}

#content .wrapper-primary.video {
  background: url("../img/mibaby-top.jpg") center top no-repeat;
  background-size: cover;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 150px;
  background-attachment: fixed;
}

#content .wrapper-primary.social {
  background: url("../img/bg_blur.jpg") center top no-repeat;
  background-size: cover;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 100px;
}

.panel.panel-transparent {
  background: transparent !important;
}

#benefits {
  margin-bottom: 30px;
}

#benefits .panel {
  min-height: 400px;
}

@media (max-width: 991px) {
  #benefits .panel {
    min-height: 0;
    margin-bottom: 80px;
  }
}

#benefits .panel-condensed {
  position: relative;
}

#benefits .panel-condensed figure {
  position: relative;
  margin: 0 auto;
  margin-top: -80px;
}

#benefits .btnbtn-block {
  margin-top: 20px;
  width: 100%;
}

#benefits p {
  color: #888;
}

#benefits {
  padding-top: 60px;
  position: relative;
}

#benefits::after {
  content: "";
  display: block;
  transform: rotate(45deg);
  width: 70px;
  height: 70px;
  background: var(--mb-color-primary, #66b08b);
  position: absolute;
  top: -36px;
  left: calc(50% - 35px);
  clip-path: polygon(100% 0, 100% 100%, 0% 100%);
}

#benefits dl {
  margin-bottom: 40px;
  overflow: hidden;
}

#benefits dl dt {
  width: 30%;
  float: left;
}

#benefits dl dd {
  float: left;
  width: 65%;
  padding-right: 5%;
}

#benefits dl strong {
  display: block;
  font-size: 20px;
}
#benefits dl dt img {
  height: auto;
  max-width: calc(100% - 20px);
  margin: 0 10px;
}

@media (max-width: 768px) {
  #benefits {
    margin-bottom: 0;
  }
  #content .sc-row-container-wrapper {
    padding-top: 30px;
    padding-bottom: 20px;
  }
  #content .wrapper-primary.video {
    padding-top: 50px;
    padding-bottom: 80px;
  }
  #team .col-md-5 {
    margin-bottom: 30px;
  }
}

@media (max-width: 420px) {
  #benefits dl dt {
    width: 30%;
  }
  #benefits dl dt img {
    width: 80px;
  }
  #benefits dl dd {
    float: left;
    width: 70%;
    padding-right: 0;
  }
  #content #cta .sc-row-container-wrapper {
    padding-top: 25px;
    padding-bottom: 50px;
  }
}

footer {
  text-align: center;
  padding: 5em 0 1em 0;
}
