﻿
@media (max-width: 1024px) {
    .productList .product {
        margin-right: 5px;
        margin-top: 10px;
        width: 300px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .productList .product {
        margin: 0;
        margin-top: 10px;
        width: 100% !important;
        min-height: initial;
    }

    .product .splitter {
        display: none !important;
    }
}

.productList {
    width: 100%;
    text-align: center;
}   
.product {
    vertical-align: top;
    color: #333;
    border: 1px solid #CCC;
    width: 350px;
    min-height: 570px;
    margin: 5px;
    margin-top: 30px;
    position: relative;
    display: inline-block;
    border-radius: 5px;
    overflow: hidden;
    padding-bottom: 15px;
}

body .section-primary .section-head {
    margin-bottom: 35px;
}
.section-body .section-content {
    padding: 10px;
    padding-top: 23px;
}

.section-content h3 {
    color: #666;
    margin-bottom: 20px;
    font-weight: normal;
    border-bottom: 1px solid #CCC;
    padding-bottom: 10px;
    width: 65%;
    margin: auto;
    font-family: 'Poppins', sans-serif;
}

.product .pheader {
    text-align: center;
    padding: 18px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 10px;
    font-size: 31px;
    color: #FFF;
    background-color: #999;
}
.product ul {
    display: inline-block;
    margin: 25px;
    margin-top: 15px;
    margin-left: 0;
    margin-bottom: 0;
}

.product .btn {
    display: block;
    margin: auto;
    clear: both;
    width: 75%;
}

.product .listTable {
    display: table;
    width: 100%;
    margin-top: 10px;
}

.product .listCell {
    display: table-cell;
    vertical-align: top;
    width: 100%;
    
    text-align: center;
    height: 100%;
}

.product ul li {
    text-align: left;
    padding: inherit;
    display: block;
    clear: both;
    font-size: 13px;
    margin-bottom: 7px;
    background-image: url(./images/li-checkmark.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
}

.prints .product .costInfo {
    min-height: initial;
}

.product .costInfo {
    width: 100%;
    min-height: 120px;
    text-align: center;
    display: block;
    clear: both;
}
    .product .costInfo a {
    }
    
    .product .costInfo .costHeader {
        color: #999;
        margin-top: 20px;
    }

.product .summary {
    font-size: 14px;
    padding: 10px;
}
.product .cost {
    color: #666;
    display: inline-block;
    padding: 15px;
    padding-bottom: 5px;
    vertical-align: top;
}

.product .splitter {
    width: 1px;
    margin-top: 17px;
    height: 105px;
    background-color: #CCC;
    vertical-align: top;
    display: inline-block;
}
    
    .product .cost .amount {
        display: inline-block;
        font-size: 52px;
        line-height: 52px;
    }

.product .renewing {
    text-align: center;
    width: 100%;
    font-size: 12px;
    margin-top: 18px;
    margin-bottom: 18px;
}

    .product .renewing a {
        text-decoration: underline;
        color: #0094ff;
    }
    
    .product .cost .period {
        font-weight: bold;
        font-size: 18px;
        margin-bottom: 10px;
    }

.productList.prints {
    margin-top: 35px;
}

.productList p {
    color: #666;
}
.productList p { margin-top: 15px; margin-bottom: 0; }
    .productList p a { color: #0094ff; }
    .productList.prints p { margin-top: 15px;}

    .productList.prints .product { width: 250px; height: 285px; min-height: 285px; }
.product .cost .note {
    font-size: 11px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    top: 180px;
    height: 20px;
    color: #666;
    white-space: nowrap;
}

/* Okta Badge */
.okta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  text-decoration: none;
  color: #1E90FF;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.okta-badge:hover {
  border-color: #1E90FF;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.15);
  text-decoration: none;
}
.okta-badge__logo {
  height: 20px;
  width: auto;
}
.okta-badge__text {
  white-space: nowrap;
}

/* Footnote under the plan cards (the "Unlimited map views*" asterisk). */
.plans__footnote {
  margin: 30px auto 0;
  max-width: 820px;
  padding: 0 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #6f7a93;
}


/* ------------------------------------------------------------ *\
	Plan bullets with help tooltips (.list-checks--help)

	The tick keeps the LEFT of the row and the help icon sits on the RIGHT, so the
	bullet still reads as "you get this" and the icon reads as "there is more to know".
	The icon is a background on the <li> itself, not a third pseudo-element: :before is
	the tick and :after is the tooltip, and those are the only two a list item has.
	CSS-only, because this page ships no JS of its own.
\* ------------------------------------------------------------ */
.list-checks--help li[data-tip] {
  cursor: help;
  /* Room on the right for the icon so it never sits on top of the bullet text. */
  padding-right: 2.6rem;
  background-repeat: no-repeat;
  background-position: right 0.2rem top 0.2rem;
  background-size: 1.8rem 1.8rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232dd875'/%3E%3Ctext x='12' y='17.5' font-family='Arial,Helvetica,sans-serif' font-size='16' font-weight='bold' text-anchor='middle' fill='%23ffffff'%3E%3F%3C/text%3E%3C/svg%3E");
}

/* Follows the tick's own light/dark split: white marks on the blue and purple cards. */
.plan--blue .list-checks--help li[data-tip],
.plan--purple .list-checks--help li[data-tip] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23ffffff'/%3E%3Ctext x='12' y='17.5' font-family='Arial,Helvetica,sans-serif' font-size='16' font-weight='bold' text-anchor='middle' fill='%232589bc'%3E%3F%3C/text%3E%3C/svg%3E");
}

/* Always to the right, in every column. .plans .swiper-container is overflow: visible,
   so the tip is free to sit over the neighbouring column. */
.list-checks--help li[data-tip]:after {
  content: attr(data-tip);
  position: absolute;
  left: 100%;
  top: -0.8rem;
  margin-left: 0.8rem;
  z-index: 100000;
  width: 24rem;
  padding: 1rem 1.2rem;
  box-sizing: border-box;
  background-color: #292d34;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease-out;
}

.list-checks--help li[data-tip]:hover:after {
  opacity: 1;
  visibility: visible;
}

/* The last column's right edge is ~30px from the viewport edge at 1440px wide, so a
   right-hand tooltip there would be drawn off-page. Keep it right-anchored but drop it
   below the bullet, which is the only placement that stays on screen. */
.plans__item:last-child .list-checks--help li[data-tip]:after {
  left: auto;
  right: 0;
  top: 100%;
  margin-left: 0;
  margin-top: 0.4rem;
}

/* Each .plan is its own stacking context at z-index: 1, so the NEXT card in the DOM
   paints over anything overflowing this one however high the tooltip's z-index is.
   Lifting the hovered card is what actually puts the tooltip in front. */
.plans__item .plan:hover {
  z-index: 10;
}
