/* -------------------------------- 

Primary style

-------------------------------- */

.cd-pricing-container {
  font-size: 1.6rem;
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

}

/* -------------------------------- 

Main Components 

-------------------------------- */


.cd-header {
  height: 160px;
  line-height: 280px;
  position: relative;
}
.cd-header h1 {
  text-align: center;
  color: #FFFFFF;
  font-size: 3.6rem;
  font-weight: 300;
}

.cd-pricing-container {
  max-width: 1170px;
  width: 90%;
  margin: 0 auto;
}
.cd-pricing-container.cd-full-width {
  width: 100%;
  max-width: none;
}

.cd-pricing-list {
  margin: 1em 0 0;
  display: flex;
  flex-wrap: wrap;
}
.cd-pricing-list:after {
  content: "";
  display: table;
  clear: both;
}
.cd-pricing-list > li {
  display: flex;
  flex-direction: column;
  width: 20%;
  position: relative;
  margin-bottom: 1em;
  background-color: #FFFFFF;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* Firefox bug - 3D CSS transform, jagged edges */
  outline: 1px solid transparent;
}
.cd-pricing-list > li::before {
  /* separator between pricing tables - visible when number of tables > 3 */
  content: '';
  position: absolute;
  z-index: 6;
  left: -1px;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background-color: #b1d6e8;
}
.cd-pricing-list > li::after {
  /* hide gradient layer */
  display: none;
}
.cd-pricing-list > li.cd-popular {
  box-shadow: inset 0 0 0 3px #e97d68;
}
.cd-pricing-list > li.cd-popular::before {
  /* hide table separator for .cd-popular table */
  display: none;
}
.cd-pricing-list > li.cd-popular + li::before {
  /* hide table separator for tables following .cd-popular table */
  display: none;
}
.cd-has-margins .cd-pricing-list > li, .cd-has-margins .cd-pricing-list > li.cd-popular {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.cd-secondary-theme .cd-pricing-list > li {
  background: #3aa0d1;
  background: -webkit-linear-gradient( bottom , #3aa0d1, #3ad2d1);
  background: linear-gradient(to top, #3aa0d1, #3ad2d1);
}
.cd-secondary-theme .cd-pricing-list > li.cd-popular {
  background: #f88129;
  background: -webkit-linear-gradient( bottom , #e97d68, #e99b68);
  background: linear-gradient(to top, #e97d68, #e99b68);
  box-shadow: none;
}
.cd-pricing-list:nth-of-type(1)::before {
  /* hide table separator for the first table */
  display: none;
}
.cd-has-margins .cd-pricing-list > li {
  width: 18.8%;
  margin-right: 1.5%;
  border-radius: 4px 4px 6px 6px;
}
.cd-has-margins .cd-pricing-list > li:last-of-type {
  margin-right: 0;
}
.cd-has-margins .cd-pricing-list > li::before {
  display: none;
}

.cd-full-width .cd-pricing-list > li {
  padding: 2.5em 0;
}

.cd-popular .cd-pricing-wrapper > li::before {
  /* hide table separator for .cd-popular table */
  display: none;
}


.stamp {
  background: url(../img/stamp.png) 95% 10%;
  background-size: 40%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}

.strikethrough {
  text-decoration: line-through;
}

.cd-pricing-header {
  z-index: 1;
  position: relative;
  height: 280px;
  padding: 1.9em 0.9em 1.6em;
  pointer-events: auto;
  text-align: center;
  color: #173d50;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cd-popular .cd-pricing-header {
  color: #f88129;
  background-color: transparent;
}

.cd-secondary-theme .cd-pricing-header {
  color: #FFFFFF;
}

.cd-pricing-header h2 {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 3px;
  font-weight: 700;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-feature-highlight {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #F68C32;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 10px;
}

.cd-feature-highlight strong {
  font-size: 2rem;
}

.cd-price {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.cd-value {
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
}
.cd-value.cd-value-text {
  font-size: 2.2rem;
  line-height: 1.2;
}

.cd-currency, .cd-duration {
  color: rgba(23, 61, 80, 0.4);
}

.cd-popular .cd-currency, .cd-popular .cd-duration {
  color: #f88129;
}

.cd-secondary-theme .cd-currency, .cd-secondary-theme .cd-duration {
  color: #2e80a7;
}

.cd-secondary-theme .cd-popular .cd-currency, .cd-secondary-theme .cd-popular .cd-duration {
  color: #ba6453;
}

.cd-currency {
  display: inline-block;
  vertical-align: top;
  font-size: 2rem;
  font-weight: 700;
  margin-right: 4px;
}

.cd-duration::before {
  content: '/';
  margin-right: 2px;
}

.cd-duration {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cd-pricing-body {
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cd-pricing-features {
  width: auto;
  flex-grow: 1;
}

.cd-pricing-features:after {
  content: "";
  display: table;
  clear: both;
}

.cd-pricing-features li {
  float: none;
  width: auto;
  padding: 1em;
  font-size: 1.4rem;
  text-align: center;
  overflow: visible;
  min-height: 6.3em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cd-popular .cd-pricing-features li {
  margin: 0 3px;
}
.cd-pricing-features li:nth-of-type(2n+1) {
  background-color: rgba(23, 61, 80, 0.06);
}
.cd-pricing-features em {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 600;
}
.cd-has-margins .cd-popular .cd-pricing-features li, .cd-secondary-theme .cd-popular .cd-pricing-features li {
  margin: 0;
}
.cd-secondary-theme .cd-pricing-features li {
  color: #FFFFFF;
}
.cd-secondary-theme .cd-pricing-features li:nth-of-type(2n+1) {
  background-color: transparent;
}

.cd-pricing-footer {
  position: relative;
  height: auto;
  text-align: center;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
}
.cd-pricing-footer::after {
  content: '';
  position: absolute;
  right: 1em;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
}
.cd-has-margins .cd-pricing-footer {
  padding-bottom: 0;
}

.cd-select {
  z-index: 1;
  position: static;
  display: inline-block;
  height: auto;
  padding: 1.3em 3em;
  color: #FFFFFF;
  border-radius: 2px;
  background-color: #2B292E;
  font-size: 1.4rem;
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.no-touch .cd-select:hover {
  background-color: #112e3c;
}
.cd-popular .cd-select {
  background-color: #F68C32;
}
.no-touch .cd-popular .cd-select:hover {
  background-color: #F68C32;
}
.cd-secondary-theme .cd-popular .cd-select {
  background-color: #F68C32;
}
.no-touch .cd-secondary-theme .cd-popular .cd-select:hover {
  background-color: #F68C32;
}
.cd-has-margins .cd-select {
  display: block;
  padding: 1.7em 0;
  border-radius: 0 0 4px 4px;
}

@media only screen and (max-width: 768px) {
  .cd-has-margins .cd-pricing-list > li {
    float: none;
  }

  .cd-pricing-list > li {
    float: left;
  }

  .cd-pricing-container {
    text-align: center;
  }

  .cd-pricing-container ul { 
    display: inline-block;
  }

  .is-ended {
    margin-left: 15%;
    min-width: 250px;
  }

  .cd-has-margins .cd-pricing-list > li {
    margin: 0 auto;
    margin-bottom: 15px;
  }

  .cd-has-margins .cd-pricing-list > li:last-of-type {
    margin: 0 auto;
    margin-bottom: 15px;
  }

  .cd-pricing-features {
    width: 100%;
  }
}

