/* [ EXTRA ]
----------------------------- */

.powerups-content .tool-tip-text {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  font-size:13px;
  font-weight:bold;
  text-align:left;
  padding: 20px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 14px 0 rgba(160,161,188,.4);
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 0px;
}

[data-powerups-tab-content] {
  display: none;
}

.p-active[data-powerups-tab-content] {
  display: flex;
  text-align: left;
  margin-top: 2em;
  gap: 30px 40px; /* row-gap column gap */
  flex-flow: row wrap;
  align-items: stretch;
}

.p-focused[data-powerups-tab-target] {
  border-bottom: 2px solid #FF5723;
  color: #FF5723;
}

li[data-powerups-tab-target] {
  display: inline-block;
  padding: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 2px solid trasparent;
}

li[data-powerups-tab-target]:hover  {
  color: #B40905;
}
  
li[data-powerups-tab-target]:not(:last-child) {
  margin-right: 20px;
}
  
.powerups-content {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.875rem;
  box-shadow: 0 2px 16px 0 rgba(53,79,82,0.1), 0 5px 12px -8px rgba(53,79,82,0.3);
  max-width: calc((100% - (40px * 2))/3);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.1s;
}

.powerups-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 10px 0 rgba(53,79,82,0.1), 0 20px 20px -2px rgba(53,79,82,0.3);
}
  
.powerups-content H4 {
  margin: 20px auto;
  font-size: 1rem;
}
  
.powerups-content p {
  line-height: 1.3;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 20px;
}

.cdn-pricing {
  display: inline-block;
}

.powerups-content .cdn-pricing-tips {
  color: #354F52;
  border-bottom: 2px solid dotted;
  border-bottom: 2px dotted;
  padding-bottom: 2px;
  transition: all 0.3s;
}
  
.powerups-content .tool-tip {
  position: relative;
  display: inline-block;
}

.powerups-content .tool-tip:hover .tool-tip-text {
  visibility: visible;
} 
  
.powerups-content .cdn-pricing-tips:hover {
  color: #588157;
}
  
.powerups-content p:last-child {
  font-size: 10px;
  font-weight: 500;
  margin: 8px auto;
} 

.cdn_plan {
  font-size: 14px !important;
  display: inline-block;
  margin-top: 10px !important;
  margin-bottom: 0px !important;
}
.cdn_plan_dev {
  color: #588157 !important;
}

.cdn_plan_dev:before {
  content: 'Available from Developer plan onward';
}

.cdn_plan_bus {
  color: #588157 !important;
}

.cdn_plan_bus:before {
  content: 'Available from Business plan onward';
}

.cdn_plan_ent {
  color: #354F52 !important;
}

.cdn_plan_ent:before {
  content: 'Only available for Enterprise plan';
}

.powerups-content h4 {
  margin-top: 20px !important;
  margin-bottom: 0;
}

.powerups-content p {
  margin-top: 8px;
}

/* [ Mid-size ]
----------------------------- */
@media only screen and (max-width: 1024px) {  
  .powerups-content {
    max-width: calc((100% - (40px*2))/3);
  }
}

/* [ Tablet ]
----------------------------- */

@media only screen and (max-width: 1024px) {
  .powerups-content {
    max-width: calc((100% - 40px)/2);
  }
}

/* [ Mobile ]
----------------------------- */

@media only screen and (max-width: 719px) {
  .powerups-content {
    max-width: 100%;
  }
  
  .powerups-content .tool-tip-text  {
    top: 35px;
    left: 0%; 
  }
}
