/* Ideamerit site theme: page content, backgrounds, typography and the icon font.
 * Merged from the former mm2.css, the WordPress theme's style.css and
 * im_line_icons.css (only rules the pages use). Loaded after base.css. */

@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=latin-ext&display=swap");
@import url("https://fonts.googleapis.com/css?family=Exo:300,400,700,800&subset=latin-ext&display=swap");

.color-dark-secondary {
  color: #ccc;
}

.color1 {
  color: goldenrod;
}

.color2 {
  color: #00a7d6;
}

nav:after {
  content: "";
  display: none;
  height: 1px;
  background: linear-gradient(90deg, black, black, rgb(76, 175, 80), purple, red, orange, #2196f3, black, black);
  position: absolute;
  top: 63px;
  z-index: 99999;
  width: 100%;
  left: 0;
}

.im-box-dark {
  padding: 30px 10px;
  background: rgba(0, 0, 0, 0.8);
  margin: 5px;
  border-radius: 5px;
  box-shadow: 0 0 5px -3px #999;
  color: #fff;
  text-align: center;
}

.im-box-m {
  margin: 20px 40px !important;
  padding: 30px 20px 10px 20px !important;
}

.im-box {
  padding: 30px 10px;
  background: rgba(255, 255, 255, 0.5);
  margin: 5px;
  border-radius: 5px;
  box-shadow: 0 0 5px -3px #999;
  color: #444;
  text-align: center;
}

.im-box:hover {
  background: rgba(255, 255, 255, 0.8);
}

.im-box-wrapper {
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.8);
  margin: 5px;
  border-radius: 5px;
  box-shadow: 0 0 5px -3px #999;
  color: #444;
  text-align: center;
}

.im-box-row {
  display: flex;
  flex-direction: row;
  padding: 20px;
  background: white;
  margin: 5px;
  border-radius: 5px;
  color: #444;
  text-align: left;
}

.im-box-row > div {
  display: inline-block;
}

.im-align-left {
  text-align: left;
}

.mm-bg-01 {
  background:
    url(/css/bg-homepage.svg) bottom left,
    #eee;
  background-size: cover, cover;
  text-align: center;
  padding: 60px 20px 80px 20px;
  color: #fff;
}

.mm-bg-dark h2 {
  color: #fff;
}

.mm-bg-needle-light {
  background:
    url(/css/slice9-needle-light.svg) bottom right,
    #eee;
  background-size: cover, cover;
  text-align: center;
  color: #333;
  padding: 50px 20px 50px 20px;
}

.mm-bg-needle-dark {
  background:
    url(/css/slice2-needle-dark.svg) bottom right,
    #151515;
  background-size: cover, cover;
  text-align: center;
  padding: 50px 20px 50px 20px;
  color: #ddd;
}

.mm-bg-snakes-light {
  background:
    url(/css/slice10-snakes-light.svg) bottom right,
    #eee;
  background-size: cover, cover;
  text-align: center;
  color: #333;
  padding: 50px 20px 50px 20px;
}

.mm-bg-snakes-dark {
  background:
    url(https://www.ideamerit.com/css/slice12-snakes-dark.svg) bottom right,
    #151515;
  background-size: cover;
  text-align: center;
  padding: 50px 20px 50px 20px;
  color: #ddd;
}

.mm-bg-ring-dark {
  background:
    url(/css/slice1-ring-dark.svg) bottom right,
    #151515;
  background-size: cover;
  text-align: center;
  padding: 50px 20px 50px 20px;
  color: #ddd;
}

.mm-bg-eyes-light {
  background:
    url(/css/slice6-eyes-light.svg) bottom right,
    #eee;
  background-size: cover;
  text-align: center;
  padding: 50px 20px 50px 20px;
  color: #222;
}

.mm-bg-leaf-hills-grey {
  background:
    url(/css/slice5-leaf-light.svg) 0 0,
    url(/css/slice8-hills-grey.svg) 100% 99%,
    linear-gradient(20deg, purple, red, orange, #0093bb, #0093bb);
  background-size: cover, cover;
  text-align: center;
  padding: 80px 20px 80px 20px;
  color: #fff;
}

.mm-bg-split-leaf-light {
  background:
    url(/css/slice11-split-top-dark.svg) top right,
    url(/css/slice5-leaf-light.svg) bottom right,
    #eee;
  background-size: cover, cover;
  text-align: center;
  padding: 80px 20px 80px 20px;
  color: #222;
}

.mm-bg-bottom-dark {
  background:
    url(/css/slice14-split-bottom-dark.svg) bottom right,
    #eee;
  background-size: cover;
  text-align: center;
  padding: 50px 20px 50px 20px;
  color: #222;
}

.mm-bg-bottom-light-black {
  background:
    url(/css/slice4-split-bottom-black.svg) bottom right,
    #eee;
  background-size: cover;
  text-align: center;
  padding: 50px 20px 50px 20px;
  color: #222;
}

.mm-bg-bottom-dark-black {
  background:
    url(/css/slice4-split-bottom-black.svg) bottom right,
    #151515;
  background-size: cover;
  text-align: center;
  padding: 50px 20px 50px 20px;
  color: #fff;
}

.mm-sm {
  font-size: 14px;
}

.bg-light {
  background: transparent !important;
}

.col-md-7,
.col-md-5 {
  align-self: center;
  text-align: left;
}

.im-license-type-row {
  font-size: 16px;
  color: black;
  text-shadow: 0 0 1px #ccc;
  font-weight: 300;
}

.im-product-item {
  display: flex;
}

.im-product-icon {
  width: 40px;
  height: 40px;
  margin-top: 3px;
  margin-right: 14px;
}

.im-product-price {
  margin-left: auto;
  text-align: right;
  padding-right: 30px;
}

.im-price {
  font-size: 42px;
  font-weight: 800;
  color: black;
  text-shadow: 0 0 1px #999;
  position: relative;
  padding-left: 30px;
}

.im-pricebox-product-name {
  color: black;
  text-shadow: 0 0 1px #999;
}

.im-currency {
  font-size: 24px;
  font-weight: 300;
  display: inline-block;
  margin-right: 6px;
  color: #666;
  font-family: "Open Sans", "Exo", "Arial" !important;
}

div::-webkit-scrollbar-corner {
  background: #585858;
}

div {
  scrollbar-color: #ccc #eee;
}

.im-license-perpetual {
  background: rgb(76, 175, 80);
  color: white;
  padding: 2px 8px;
  margin-right: 5px;
  display: inline-block;
  border-radius: 10px;
  font-size: 10px;
  text-transform: uppercase;
  font-family: "Open Sans", "Exo", "Arial" !important;
}

.im-license-upgrades {
  background: #d45cc0;
  color: white;
  padding: 2px 8px;
  margin-right: 5px;
  display: inline-block;
  border-radius: 10px;
  font-size: 10px;
  text-transform: uppercase;
  font-family: "Open Sans", "Exo", "Arial" !important;
}

@font-face {
  src:
    url("/fonts/im-line-icons.woff") format("woff"),
    url("/fonts/im-line-icons.ttf") format("truetype");
  font-family: "im-line-icons";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

[class^="im-icon-"],
[class*=" im-icon-"] {
  font-family: "im-line-icons" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.im-icon-os {
  height: 64px;
  width: 64px;
  margin-bottom: 25px;
}

.im-icon-ArrowLeft16:before {
  content: "\e93d";
}

.im-icon-ArrowRight16:before {
  content: "\e93e";
}

article,
aside,
figure,
footer,
header,
nav,
section {
  display: block;
}

video {
  display: inline-block;
  vertical-align: baseline;
}

a:active,
a:hover {
  outline: 0;
}

svg:not(:root) {
  overflow: hidden;
}

button,
select {
  text-transform: none;
}

button {
  overflow: visible;
  -webkit-appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

optgroup {
  font-weight: bold;
}

h1 {
  font-size: 32px;
  padding-bottom: 10px;
}

h2 {
  font-size: 36px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}

p {
  margin-bottom: 1.5em;
}

h1.entry-title {
  font-size: 1.31rem;
  border-bottom: 1px solid #eaecef;
}

h2.entry-title {
  border-bottom: 1px solid #eaecef;
}

img {
  border: 0;
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

.navbar-brand {
  height: auto;
}

.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
  display: none;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
}

.entry-content:before,
.entry-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.entry-content:after,
.site-footer:after {
  clear: both;
}

.post.hentry {
  margin-bottom: 4rem;
}

.entry-title > a {
  color: inherit;
}

@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
}

@media only screen and (max-width: 1024px) {
  html {
    font-size: 100%;
  }
}

@media only screen and (max-width: 960px) {
  html {
    font-size: 95%;
  }
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 90%;
  }
}

@media only screen and (max-width: 480px) {
  html {
    font-size: 90%;
  }
}

.productname {
  text-transform: uppercase;
  font-weight: 800 !important;
  margin-top: 5px;
  font-size: 42px;
  font-family: "Exo", sans-serif;
  text-align: center;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 1px #000;
}

.subtitle {
  margin-top: 2px;
  font-size: 34px !important;
  padding-left: 15px;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 25px;
  padding: 4px 1px;
}

html,
body,
div,
p,
span,
a,
ul,
li {
  font-family: "Exo", "Open Sans", sans-serif !important;
}

html,
body {
  background: #eee;
  color: #333;
}

html {
  position: relative;
  min-height: 100%;
  height: 100%;
  overflow: auto;
  scroll-behavior: smooth;
}

body {
  padding-bottom: 0;
  padding-top: 60px;
  height: 100%;
  overflow: initial;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: auto;
  background: #fff;
  margin-bottom: 0px;
}

.navbar {
  background: transparent;
  box-shadow: 0 0 0 0 transparent;
  font-family: "Exo", sans-serif !important;
  font-weight: 400;
  border: 0px;
}

.navbar a {
  font-family: "Exo", sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
}

.header-bold {
  font-size: 42px;
  font-weight: 700;
}

.mm-blog h1,
.mm-blog h1.entry-title {
  margin-top: 60px;
  font-size: 32px;
  text-align: left;
  font-weight: 300;
}

.mm-blog h3 {
  margin-top: 10px;
  font-size: 24px !important;
  text-align: left;
  font-weight: 300;
}

.mm-blog h2 {
  margin-top: 20px;
  font-size: 24px;
  text-align: left;
  font-weight: 700;
}

.mm-blog h2.entry-title {
  font-size: 30px;
  font-weight: 300;
}

.mm-blog img {
  height: auto !important;
  border-radius: 5px;
  box-shadow: 0 0 5px 0 #666;
  margin: 10px 0;
  max-height: 100% !important;
  max-width: 100% !important;
}

.im-layout-full-content {
  display: grid;
  grid-template-columns: 1fr;
  overflow: auto;
  grid-auto-flow: column;
  padding-top: 50px;
}

.im-layout-right {
  overflow: auto;
  background: #eee;
  grid-column: 2;
}

.mm-blog {
  max-width: 800px;
  padding: 10px 20px 10px 20px;
}

.breadcrumb {
  display: none;
  position: sticky;
  top: 0;
  left: 0;
  background: #333;
  font-size: 13px;
  border-radius: 0;
  padding: 10px 20px 10px 20px;
  margin: 0;
  box-shadow: 0 0 3px 0 #444;
  z-index: 1000;
}

.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background: #000;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 transparent;
  overflow: hidden;
  text-align: center;
  height: auto;
  min-height: 50px;
  padding: 10px 5px;
  line-height: 16px;
}

.entry-meta {
  display: none;
}

.entry-content {
  margin: 1.5em 0 0;
  margin-top: 0;
}

.entry-footer {
  color: #666;
  font-size: 12px;
}

div::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  margin-left: 5px;
}

div::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 0px;
}

div::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 0px;
}

h1.im-category {
  font-size: 18px;
}

@media screen and (max-width: 739px) {
  .im-box-row {
    flex-direction: column;
    text-align: center;
  }

  .im-product-item {
    display: flex;
  }

  .im-product-icon {
    width: 40px;
    height: 40px;
    display: block;
    margin: auto;
  }

  .im-price {
    margin-top: 20px;
    font-size: 24px;
  }

  .im-product-price {
    margin: auto;
    margin-left: auto;
    text-align: right;
    padding-right: 0;
    padding-left: 0;
  }

  .im-layout-right {
    overflow: initial;
    background: #eee;
    grid-row: 1;
    grid-column: 1;
  }

  .mm-bg-02 {
    padding-bottom: 20px;
  }

  .header-bold {
    font-size: 34px;
  }

  .breadcrumb {
    display: none;
  }
}

.cat-links a {
  color: #000;
}

.cat-links a:hover {
  color: #2196f3;
}

.nav-previous a,
.nav-next a {
  clear: both;
  padding: 3px 10px 1px 10px;
  margin-bottom: 5px;
  margin-top: 2px;
  text-align: center;
  border: 1px solid #fff;
  background: #fdfdfd;
  text-decoration: none;
  color: #2196f3;
  display: inline-block;
  max-width: auto;
}

.nav-previous a {
  text-align: left;
  border-radius: 10px;
  border-top-left-radius: 0;
  display: grid;
  grid-template-columns: 20px auto;
  margin-right: 20px;
}

.nav-next a {
  text-align: right;
  border-radius: 10px;
  border-top-right-radius: 0;
  display: grid;
  grid-template-columns: auto 20px;
  margin-left: 20px;
}

.nav-previous a:hover,
.nav-next a:hover {
  border: 1px solid #fff;
  background: #fdfdfd !important;
  color: #2196f3;
}

.mm-blog article:after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, #ccc, #ccc, #eee, #eee);
  margin-top: 10px;
}

.mm-blog .post.hentry {
  margin-bottom: 2rem;
}

a {
  outline: 0;
  background-color: transparent;
  color: #0093bb;
}

a:hover {
  color: #007d9f;
}

h1,
h2,
h3 {
  clear: both;
  color: #24292e;
  margin-top: 24px;
  margin-bottom: 15px;
  font-family: "Exo", sans-serif !important;
  font-weight: 300;
}

h3 {
  text-shadow: 0 0 10px #fff;
  line-height: 1.2;
  font-size: 1.75rem;
  font-weight: 300;
}

.im-center {
  text-align: center;
}

.im-fullwidth-header {
  font-size: 42px;
  font-family: "Exo", sans-serif;
  text-align: center;
  padding-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 1px #000;
  font-weight: 800;
  padding-top: 15px;
}

.container {
  max-width: 1280px;
}

.im-box-caption {
  font-size: 22px;
  padding: 8px 2px;
  margin-bottom: 0;
}

.im-no-p {
  padding: 0;
}

.im-no-m {
  margin: 0;
}

article .post-thumbnail {
  display: none;
}

.im-blog-content-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
}

@media screen and (max-width: 1300px) {
  .im-blog-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.im-right-sidepanel {
  display: block;
  position: sticky;
  left: 30px;
  top: 30px;
  width: 250px;
  margin-left: 30px;
  margin-top: 0px;
  margin-bottom: 30px;
}

.im-prev-next-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.im-prev-wrapper {
  display: inline-block;
  text-align: left;
  margin-bottom: 10px;
  position: relative;
}

.im-next-wrapper {
  display: inline-block;
  text-align: right;
  margin-bottom: 10px;
  position: relative;
}

.im-label-prev,
.im-label-next {
  font-size: 12px;
  color: #999;
}

.im-label-prev {
  padding-left: 12px;
  background: white;
  display: inline-block;
  position: absolute;
  top: -12px;
  left: 0px;
  padding-right: 10px;
  border-radius: 13px;
  border-bottom-left-radius: 0;
  padding-top: 2px;
  padding-bottom: 2px;
  border-bottom-right-radius: 0;
}

.im-label-next {
  padding-left: 12px;
  background: white;
  display: inline-block;
  position: absolute;
  top: -12px;
  right: 0px;
  padding-right: 10px;
  border-radius: 13px;
  padding-top: 2px;
  padding-bottom: 2px;
  border-bottom-right-radius: 0;
}

.im-prev-next-wrapper span {
  display: inline-block;
  position: relative;
  top: 2px;
}

.-cc article footer {
  display: none;
}

.im-page-text {
  background: white !important;
}

.im-page-text .im-page-content {
  max-width: 1250px;
  margin: 40px auto !important;
  background: white !important;
}

.white-text {
  color: white;
}

.white-text-shadow {
  text-shadow: 0px 0px 1px rgb(0 0 0);
}

/* ── YouTube video embeds ───────────────────────────────────────────────────
   Click-to-load facade (src/components/YouTubeVideo.astro): poster + play
   button until the visitor clicks, then the iframe replaces it. 16:9 on every
   screen; the chapter list collapses to a single column on phones. */
.yt-video {
  margin: 0 0 1.5rem;
  max-width: 100%;
}
.yt-video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  width: 100%;
}
.yt-video-player,
.yt-video-facade {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}
.yt-video-facade {
  background: #000;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.yt-video-poster {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.yt-video-play {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
  width: clamp(48px, 12vw, 68px);
}
.yt-video-play svg {
  height: auto;
  width: 100%;
}
.yt-video-play-bg {
  fill: rgba(0, 0, 0, 0.6);
  transition: fill 0.15s ease;
}
.yt-video-facade:hover .yt-video-play,
.yt-video-facade:focus-visible .yt-video-play {
  transform: translate(-50%, -50%) scale(1.06);
}
.yt-video-facade:hover .yt-video-play-bg,
.yt-video-facade:focus-visible .yt-video-play-bg {
  fill: #f00;
}
.yt-video-facade:focus-visible {
  outline: 3px solid #2196f3;
  outline-offset: 2px;
}
/* The title is announced by aria-label; keep it out of the poster image. */
.yt-video-label {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.yt-video-chapters {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.yt-video-chapters-single .yt-video-chapters {
  grid-template-columns: 1fr;
}
.yt-video-chapter {
  background: none;
  border: 0;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 0.875rem;
  gap: 0.5rem;
  padding: 4px 0.5rem;
  text-align: left;
  width: 100%;
}
.yt-video-chapter:hover,
.yt-video-chapter:focus-visible {
  background: rgba(0, 0, 0, 0.1);
}
.yt-video-chapter-time {
  color: #2196f3;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.yt-video-caption {
  color: #666;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
@media (max-width: 800px) {
  .yt-video-chapters {
    grid-template-columns: 1fr;
  }
  .yt-video-chapter {
    /* comfortable touch target */
    align-items: center;
    font-size: 0.8rem;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yt-video-play {
    transition: none;
  }
}
