@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: #5B707A;
}

body p, body a {
  font-size: 1rem;
  line-height: 1.5;
}

@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: local('Merriweather Regular'), local('Merriweather-Regular'),
       url('../fonts/merriweather-regular.woff2') format('woff2'),
       url('../fonts/merriweather-regular.woff') format('woff');
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: #3D4F3D;
  font-family: 'Merriweather', 'Georgia', serif;
}

h1,
.h1, {
  font-size: 1.75rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

h2,
.h2 {
  font-size: 1.5rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

h3,
.h3,
h4,
.h4,
h5,
.h5 {
  line-height: 1.65;
}

@media (min-width: 768px) {

  h1, .h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  h2, .h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 992px) {

  h1, .h1{
    font-size: 2.25em;
    margin-bottom: 1.5em;
  }

  h2, .h2 {
    font-size: 2em;
    margin-bottom: 1.5em;
  }
}

img:-moz-loading {
  visibility: hidden;
}

.hr-dashed {
  border-width: 1px;
  border-style: dashed;
  border-color: #A3362B;
}


.sans-subtitle {
  font-family: sans-serif;
  font-size: 1.125em;
  font-weight: 600;
}

.hidden {
  display: none;
}

.min-height-65vh {
  min-height: 65vh;
}

.navbar {
  box-shadow: 0px 0px 0px 2px #F0F2F2;
}

.btn {
  font-weight: 600;
  font-size: 1.125em;
  padding: 0.5em 2em;
}

.bg-secondary {
  background-color: #F0F2F2 !important;
}

.bg-gray {
  background-color: #ced5d8;
}

.bg-blue {
  background-color:rgba(11, 108, 157, 0.25);
}

.bg-white {
  background-color:#fff;
}

.text-green {
  color: #009634;
}

.text-red {
  color: #A3362B;
}

.link-blue {
  color: #0B6C9D;
}

.text-large {
  font-size: 1.2em;
}

.text-mid {
  font-size: 1.15em;
  line-height: 1.7em;
  padding-bottom: 0.5em;
}

.header-large {
  font-size: 2.75em;
}

.border-red {
  border-width: 2px 3px 3px 2px;
  border-style: dashed solid solid dashed;
  border-color: #A3362B;
}

.badge-red {
  background-color: #A3362B!important;
  color: #fff;
  line-height: 1.5;
}

.highlight-green {
  background-color: rgba(0, 232, 80, 0.5);
  padding: 0.75rem 1.25rem 0.75rem 1.25rem;
  border-radius: 2rem 1rem 2rem 1rem;
}

.highlight-red {
  background-color: rgba(236,64,46,0.9);
  color: #fff!important;
  padding: 0.5rem 1.0rem 0.5rem 1.0rem;
  border-radius: 2rem 1rem 2rem 1rem;
}

.highlight-yellow {
  background-color: rgba(255,239,73,0.7);
  padding: 0.75rem 1.25rem 0.75rem 1.25rem;
  border-radius: 2rem 1rem 2rem 1rem;
}

/* Unhappy writer style and animation */
.unhappy-laptop {
  position: absolute;
  right: 0px;
  bottom: 70px;
  z-index: -1;
}

.unhappy-blog {
  position: absolute;
  left: 60px;
  top: -60px;
  z-index: 0;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-name: bounce_blog;
  animation-name: bounce_blog;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

.unhappy-tw-email {
  position: absolute;
  left: 150px;
  top: -100px;
  z-index: 1;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

.unhappy-person {
  position: absolute;
  left: -5px;
  bottom: 0px;
  z-index: 2;
}

.unhappy-bubble {
  position: absolute;
  left: 120px;
  top: 100px;
  z-index: 3;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: rotation;
  animation-name: rotation;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

@-webkit-keyframes bounce_blog {
  0%   { -webkit-transform: translateY(0); transform: translateY(0); }
  50%  { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes bounce_blog {
  0%   { -webkit-transform: translateY(0); transform: translateY(0); }
  50%  { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@-webkit-keyframes bounce {
  0%   { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
  50%  { -webkit-transform: translateY(0); transform: translateY(0); }
  100% { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
}

@keyframes bounce {
  0%   { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
  50%  { -webkit-transform: translateY(0); transform: translateY(0); }
  100% { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media (max-width: 1200px) {
  .unhappy-bubble {
  top: 170px;
  }
}

/* Happy writer style and animation */
.happy-laptop {
  position: absolute;
  left: -5px;
  bottom: 0px;
  z-index: 4;
}

.happy-hand1 {
  position: absolute;
  left: 125px;
  bottom: 10px;
  z-index: 1;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-name: bounce1;
  animation-name: bounce1;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

.happy-hand2 {
  position: absolute;
  left: 175px;
  bottom: 25px;
  z-index: 1;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-name: bounce2;
  animation-name: bounce2;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@-webkit-keyframes bounce1 {
  0%   { -webkit-transform: translateY(0); transform: translateY(0); }
  50%  { -webkit-transform: translateY(-30px); transform: translateY(-30px); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes bounce1 {
  0%   { -webkit-transform: translateY(0); transform: translateY(0); }
  50%  { -webkit-transform: translateY(-30px); transform: translateY(-30px); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@-webkit-keyframes bounce2 {
  0%   { -webkit-transform: translateY(-30px); transform: translateY(-30px); }
  50%  { -webkit-transform: translateY(0); transform: translateY(0); }
  100% { -webkit-transform: translateY(-30px); transform: translateY(-30px); }
}

@keyframes bounce2 {
  0%   { -webkit-transform: translateY(-30px); transform: translateY(-30px); }
  50%  { -webkit-transform: translateY(0); transform: translateY(0); }
  100% { -webkit-transform: translateY(-30px); transform: translateY(-30px); }
}

@media (max-width: 1200px) {
  .happy-hand1 {
  left: 100px;
  }
  .happy-hand2 {
  left: 150px;
  }
}

.kai-quote {
  font-style: italic;
  background-color: #F8FCFC;
  padding: 1.25em;
}

section,
footer {
  padding: 2.5em 0;
}

section:first-of-type {
  padding-top: 1.5em;
}

@media (min-width: 992px) {

  section:first-of-type {
    padding-top: 4em;
  }

  section,
  footer {
    padding: 4em 0;
  }
}

a,
a:hover {
  color: #0B6C9D;
}

a.nav-link {
  color: #0B6C9D !important;
  border-bottom: solid 1px transparent;
}

a.nav-link:hover,
a.nav-link.active {
  border-bottom: solid 1px #0B6C9D;
}

.navbar .nav-item {
  margin: 0 .8em;
}

.nav-pills .nav-link.active {
  background-color: #fff;
}

.feature-icon {
  max-width: 100px;
  max-height: 70px;
}

.carousel-indicators li {
  width: 60px;
  height: 3px;
  margin-right: 15px;
  margin-left: 15px;
  background-color: #009634;
}

.carousel-indicators li.active {
  background-color: #5B707A;
}

.carousel-item p {
  line-height: 180%;
}

.carousel-item h3 {
  margin-bottom: 30px;
  text-align: center;
  line-height: 160%;
}

.carousel-item {
  padding: 0px 20px;
}

.carousel-control-prev {
  left: -160px;
  height: 542.3px;
}

.carousel-control-next {
  right: -160px;
  height: 542.3px;
}

.bg-yellow {
  background-color: #FFEF49;
}

.photo {
  border-radius: 250px;
  max-height: 150px;
}

.sale-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  width: 90px;
}

/* Video */
.video a span {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%,-50%);
    width: 80px;
    height: 80px;
    display: block;
    border-radius: 40px;
    padding: 10px 10px 10px 25px;
    background: #009634;
    color: #fff;
    font-size: 250%;
}

@media (max-width: 992px) {
  .video a span {
    top: 25%;
    left: 50%;
  }
}

@media (max-width: 480px) {
  .video .special-play {
    top: 20%;
  }

  .video a span {
    top: 39%;
  }

}

/* Pricing */
.label {
  border-radius: .2rem;
  background-color: rgba(11, 108, 157, 0.25);
  width: 100%;
}

.card-body h2 {
  font-size: 1.5em;
}

.pricing hr {
  border-top: 3px solid #5B707A;
  width: 35%;
}

.price {
  font-family: 'Merriweather', serif;
  color: #3D4F3D;
  line-height: 1;
}

.price .value {
  font-size: 4em;
}

.price.old-price {
  position: relative;
}

.price.old-price:before {
  content: " ";
  position: absolute;
  top: 50%;
  left: 25%;
  border-bottom: 7px solid rgba(240, 40, 40, 0.7);
  width: 50%;
  transform: rotate(-12deg);
}

.price.old-price .value {
  font-size: 2em;
}

span#newsroom-price {
  position: relative;
}

span#newsroom-price:before {
  content: " ";
  position: absolute;
  top: 50%;
  left: -5%;
  border-bottom: 7px solid rgba(240, 40, 40, 0.7);
  width: 110%;
  transform: rotate(-12deg);
}

.bg-greenish {
  background-color: rgba(0, 150, 52, 0.1);
}

.bg-greenish-solid {
  background-color: #e5f4ea;
}

.money-back h3 {
  font-family: sans-serif;
  font-size: 1.125em;
  font-weight: 600;
}

.money-back-badge {
  width: 160px;
}

.text-disabled {
  color: rgba(91, 112, 122, 0.25);
}

.bg-disabled {
  background-color: rgba(240, 242, 242, 0.3);
}

.border-disabled {
  border-top: 3px solid rgba(91, 112, 122, 0.25) !important;

  @media (max-width: 991px) {
    .money-back-badge {
      vertical-align: middle;
    }
  }
}

#article-success-alert {
  background: none;
  border: none;
  color: #5B707A;
}

.bg-map {
  content: '';
  background: url("../images/content/about/niteo_map.png");
  background-blend-mode: luminosity;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Collapse */

#module {
  width: 90%;
}

#module a.collapsed:after {
  content: '+ Show More';
}

#module a:not(.collapsed):after {
  content: '- Show Less';
}

#module #collapseExample.collapse:not(.show) {
  display: block;
  /* height = lineheight * no of lines to display */
  height: 4.5em;
  overflow: hidden;
}

#module #collapseExample.collapsing {
  height: 4.5em;
}
