:root {
  --mobile-menu-bar: ;
  --current-advice-height: ;
  --current-product-height: ;
  --m-sticky-sec-height: calc(var(--mobile-menu-bar) + 40px + var(--current-advice-height) + var(--current-product-height));
  --d-sticky-sec-height: calc(39px + 40px + var(--current-advice-height) + var(--current-product-height));
}

/*--------------------------------------------------
                 Reset RD code
--------------------------------------------------*/

.toptop_banner {
    height: 0px;
    margin-bottom: 0px;
}
.pd_purchase_left{
	display: none !important;
}
/*hide pdrm purchase*/
.bundle_pdrm{
	display: none !important;
}
.on_600,
.on_1200 {
display: none;
}

/*--------------------------------------------------
              Styling start here
--------------------------------------------------*/

body {
  background: #f7f7f7;
}

.comparison {
  font-family: "Open Sans";
  box-sizing: border-box;
  margin: 0 auto;
  margin: 75px 0;
  max-width: 1200px;
}

.page_title {
  text-align: center;
  margin-bottom: 70px;
  font-family: 'Poppins', sans-serif;
}

.comparison h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #079bcc;
  padding: 25px 20px 10px 20px;
  line-height: 1;
}

.des {
  font-size: 15px;
  text-align: center;
  line-height: 1.6em;
  width: 80%;
  margin: 20px auto;
}

.grid {
  display: grid;
  grid-template-columns: auto repeat(5, 15%);
  background: rgb(247, 247, 247);
  border-right: 1px solid #E4E4E4;
}

.grid.features p + span + span + span + span + span {
  background: rgb(161 236 251);
  color: #126475;
  border-bottom: 1px solid #68cce075;
}

.grid.features p + span + span + span + span + span + span {
  background: #74b3ee;
  color: #0a159d;
  border-bottom: 1px solid #4995e461;
  border-left: none;
}

.grid.kind {
  height: 40px;
  position: sticky;
  top: 39px;
  color: white;
}

.grid.kind div:nth-of-type(1),
.grid.kind div:nth-of-type(2),
.grid.kind div:nth-of-type(3) {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: larger;
}

.grid.kind div:nth-of-type(1) {
  grid-column: span 2;
  background: rgb(64 43 141);
}

.grid.kind div:nth-of-type(2) {
  background: rgb(130 54 127);
}

.grid.kind div:nth-of-type(3) {
  grid-column: span 2;
  display: flex;
  background: #2e5974;
}

.grid.advice {
  position: sticky;
  top: 78px;
  color: white;
  top: calc(39px + 40px);
}

.grid.advice .name {
  padding: 5px;
}

.grid.advice span:nth-of-type(2) {
  background: #3b409b;
}

.grid.advice span:nth-of-type(3) {
  background: rgb(88 46 151);
}

.grid.advice span:nth-of-type(4) {
  background: rgb(139 60 136);
}

.grid.advice div:nth-of-type(1) {
  background: #1c8398;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #4abcd3;
}

.grid.advice div:nth-of-type(2) {
  background: #246eb3;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #5cacff;
}

.JPN .grid.advice div:nth-of-type(1),
.JPN .grid.advice div:nth-of-type(2) {
  color: white;
}

.grid.product {
  min-height: 60px;
  color: white;
  position: sticky;
  top: 106px;
  top: calc(39px + 40px + var(--current-advice-height));
}

.grid.product div {
  padding: 8px;
  font-family: 'Poppins';
}

.name:nth-of-type(1) {
  background: rgb(49 85 179);
}

.name:nth-of-type(2) {
  background: rgb(108 67 159);
}

.name:nth-of-type(3),
.name:nth-of-type(4) {
  background: rgb(153 63 150);
}

.name:nth-of-type(5) {
  background: #219fb8;
}

.name:nth-of-type(6) {
  background: #2a80d1;
}

.grid.boxcover {
  height: 150px;
}

.grid.boxcover div {
  border-left: 1px solid #E4E4E4;
}

.grid.boxcover div:nth-of-type(5) {
  background: #4abcd3;
}

.grid.boxcover div:nth-of-type(6) {
  background: #4995e4;
  border-left: none;
}

.grid.market div:nth-of-type(5) {
  background: #68cce0;
}

.grid.market div:nth-of-type(6) {
  background: #5cacff;
  border-left: none;
}

.grid div,
.grid img,
.grid span {
  text-align: center;
}

.grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: inherit;
}

.grid img {
  place-self: center;
}

.boxcover img {
  width: 60%;
}

.product .name {
  line-height: 1.1;
  font-size: clamp(8px, 3vw, 16px);
}

.grid.market div {
  display: flex;
  flex-direction:column;
  border-left: 1px solid #E4E4E4;
  justify-content: end;
}

.old-price {
  text-decoration: line-through;
  color: #2e5974;
  margin-top: 4px;
}

.price {
  color: #C30;
  padding-top: 6px;
}

.price br {
  display: none;
}

.grid.market a {
  width: 80%;
  text-decoration: none;
  background-color: #09F;
  color: #FFF;
  border-radius: 3px;
  font-size: 1em;
  padding: 6px 0;
  margin: 6px 0 12px 0;
  font-family: 'Poppins', sans-serif;
}

.grid.market a:hover {
    background-color: #3a5ef7 !important;
    transition: 0.25s all;
}

.grid.market div:nth-of-type(5) a {
  background-color: #0e8cb4;
}

.grid.market div:nth-of-type(6) a {
  background-color: #2567cf;
}

.grid.section {
  position: sticky;
  top: 166px;
  border-top: 2px solid #E4E4E4;
  top: var(--d-sticky-sec-height);
}

.accordion {
  grid-column: 1/-1;
  padding: 8px 18px;
  background: #E4E4E4;
  border-right: 1px solid #E4E4E4;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #079bcc;
  background-image: url(/stat/edms/product-version-images/2021/icons/less.png);
  background-repeat: no-repeat;
  background-position: center right 3%;
  cursor: pointer;
  user-select: none;
  font-family: 'Poppins', sans-serif;
}

.accordion.active {
  background: #f8f8f8;
  background-image: url(/stat/edms/product-version-images/2021/icons/more.png);
  background-repeat: no-repeat;
  background-position: center right 3%;
  transition: all linear 0.15s;
}

.grid.features {
 background-color: white;
 border-left: 1px solid #E4E4E4;
 border-top: 1px solid #E4E4E4;
 transition: height cubic-bezier(0, 0.25, 0.35, 0.99) 0.6s;
 overflow: hidden;
}

.grid.features.active {
  height: 0 !important;
  overflow: hidden;
  transition: height cubic-bezier(0.53, 0, 0.23, 1) 0.5s;
  transition-delay: 0s;
}

.grid.features p {
  grid-column: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  padding: 5px 10px 5px 18px;
  border-bottom: 1px solid #E4E4E4;
  /* display: flex; */
  display: grid;
  align-items: center;
  font-family: system-ui;
  justify-content: space-between;
}

.grid.features p.sub-section {
  grid-column: 1/-1;
  font-weight: 600;
  background-color: #9bcdf2;
  color: white;
}

.grid.features p.sub-section:hover {
  background-color: #9bcdf2;
}

.grid.features a {
  background-color: #3838c8;
  width: fit-content;
  padding: 4px 6px;
  border-radius: 4px;
  font-weight: 200;
  color: white;
  margin-top: 4px;
}

.grid.features p:hover,
.grid.features p:hover + span,
.grid.features p:hover + span + span,
.grid.features p:hover + span + span + span,
.grid.features p:hover + span + span + span + span,
.grid.features p:hover + span + span + span + span + span,
.grid.features p:hover + span + span + span + span + span + span {
  background: #0071bc;
  color: white;
  border: none;
}

.grid.features p:hover + span {
  background: rgb(49 85 179);
}

.grid.features p:hover + span + span {
  background: rgb(108 67 159);
}
.grid.features p:hover + span + span + span,
.grid.features p:hover + span + span + span + span {
  background: rgb(153 63 150);
}

.grid.features p:hover + span + span + span + span + span {
  background: #219fb8;
}

.grid.features p:hover + span + span + span + span + span + span {
  background: #2a80d1;
}

.features span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #09c;
  border-bottom: 1px solid #E4E4E4;
  border-left: 1px solid #E4E4E4;
  font-size: 11px;
  font-family: system-ui;
  line-height: 1.2;
  padding: 6px;
}

span.c_new {
  grid-column: 2;
  background: #ea0000;
  color: white;
  width: auto;
  padding: 3px 7px;
  border-radius: 5px;
  white-space: nowrap;
}

/* .grid div:nth-of-type(1),
.grid.features > span:nth-of-type(6n + 1) {
  display: none;
} */

.grid div:nth-of-type(3),
.grid.features > span:nth-of-type(6n + 3) {
  display: none;
}

/*-----------------------
   Japan page variation
 -----------------------*/

.to-standard {
  padding: 10px 15px;
  width: fit-content;
  color: #402b8d;
  background-color: white;
}

.JPN .grid div:nth-of-type(3),
.JPN .grid.features > span:nth-of-type(6n + 3) {
  display: flex;
}

.JPN .grid.kind div:nth-of-type(1) {
    grid-column: span 3;
}

.JPN .grid.advice span:nth-of-type(4) {
    background: rgb(124 43 148);
}

.JPN .grid.kind div:nth-of-type(2),
.JPN .grid div:nth-of-type(4),
.JPN .grid.features > span:nth-of-type(6n + 4) {
  display: none;
}

.JPN .features span b {
    padding: 4px 7px;
    border-radius: 4px;
    margin-top: 3px;
    color: #b199d0;
    background: #402b8d;
}

@media (max-width: 950px) {

  .container {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 840px) {

  .grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .boxcover img {
    width: 70%;
  }

  .grid.features p {
    grid-column: 1/-1;
    padding: 8px 14px 8px 14px;
    grid-gap: 14px;
  }

  .grid.features a {
    padding: 4px 10px;
    font-weight: 700;
    grid-column: 2;
  }

   .features span {
    padding: 8px 10px;
  }

    span.empty_space {
    display: none;
  }

  span.empty_space {
    display: none;
  }

  .grid.advice span:nth-of-type(2),
  .grid.advice span:nth-of-type(3),
  .grid.advice span:nth-of-type(4) {
    display: block;
  }


}

@media (min-width: 320px) and (max-width: 620px) {

  .grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid.kind {
    top: var(--mobile-menu-bar);
  }

  .grid.kind div:nth-of-type(2) {
    display: none;
  }

  .grid div:nth-of-type(4),
  .grid.features > span:nth-of-type(6n + 4) {
    display: none;
  }

  .grid.advice {
    top: calc(var(--mobile-menu-bar) + 40px);
  }

  .grid.advice span:nth-of-type(2),
  .grid.advice span:nth-of-type(3) {
    display: block;
    }

  .grid.advice .name {
    line-height: 1.2;
    padding: 5px 0;
    font-size: clamp(0.8rem, 3vw, 2rem);
  }

  .grid.product div {
    padding: 0;
  }

  .grid.boxcover div,
  .grid.market div {
    border: none;
  }

  .grid.market div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .grid.market div:nth-of-type(3),
  .grid.market div:nth-of-type(4) {
    display: none;
  }

  .grid.boxcover div:nth-of-type(1) {
    background: #365bbc;
  }

  .grid.market div:nth-of-type(1) {
    background: #3262db;
  }

  .price {
    font-family: 'Poppins';
    font-weight: bold;
    font-size: large;
    background: white;
    padding: 6px;
    border-radius: 4px;
    margin: 4px 0;
    width: fit-content;
    justify-self: center;
    font-size: clamp(0.8rem, 3vw, 2rem);
  }

  .CHT .price.per-month,
  .CHS .price.per-month {
    font-size: clamp(0.6rem, 2vw, 2rem);
  }

  .FRA .price.per-month {
    font-size: clamp(0.7rem, 2vw, 2rem);
  }

  .price br {
    display: block;
  }

  .JPN .price br:first-of-type,
  .DEU .price br:first-of-type,
  .ITA .price br:first-of-type {
    display: none;
  }

  .ENU .price br:last-of-type,
  .ESP .price br:last-of-type {
    display: none;
  }

  .KOR .price br,
  .FRA .price br,
  .CHT .price br,
  .CHS .price br {
    display: none;
  }

  .grid.market a{
    justify-self: center;
    align-self: end;
  }

  .grid.market div:nth-of-type(1)
  span:nth-of-type(2) {
    color: #331b8cd6;
  }

  .grid.market div:nth-of-type(1) a {
    background-color: #3b409b;
  }

  .grid.boxcover div:nth-of-type(2) {
    background: #764aad;
  }

  .grid.market div:nth-of-type(2) {
    background: #8150c0;
  }

  .grid.market div:nth-of-type(2)
  span:nth-of-type(2) {
    color: #411189;
  }

  .grid.market div:nth-of-type(2) a {
    background-color: #582e97;
  }

  .grid.section {
    border: none;
    top: var(--m-sticky-sec-height);
  }

  .grid.product {
    top: calc(var(--mobile-menu-bar) + 40px + var(--current-advice-height));
  }

  .accordion {
    background: #000000;
    font-family: 'Poppins';
    font-weight: 500;
  }

  .features span {
    color: white !important;
    padding: 5px 10px;
    border: none;
  }

  .grid.features > span:nth-of-type(6n + 1) {
    background: rgb(49 85 179);

  }

  .grid.features > span:nth-of-type(6n + 2) {
    background: #6c439f;
  }

  .grid.features > span:nth-of-type(6n + 3) {
    background: rgb(12,124,186);
  }

  .grid.features > span:nth-of-type(6n + 4) {
    background: #98397b;
  }

  .grid.features > span:nth-of-type(6n + 5) {
    background: #1e9fb8;
  }

  .grid.features > span:nth-of-type(6n + 6) {
    background: #2b80d1;
  }

  .grid.advice span:nth-of-type(4){
    display: none;
  }

  /*-----------------------
     Japan page variation
   -----------------------*/

   .JPN .grid.kind div:nth-of-type(1) {
     grid-column: span 2;
   }

  .JPN .grid div:nth-of-type(3),
  .JPN .grid.features > span:nth-of-type(6n + 3) {
    display: none;
  }

  .JPN .kind div:nth-of-type(3) {
    display: flex;
  }

}
