.packages {
  text-align: center;
}

@media screen and (min-width:1280px) {
  .packages-table > div {
    max-width: 1220px;
    margin: 0 auto;
  }
}

.packages-section + div {
  border-top: 1px solid #e8e8e8;
}

.packages-section:nth-child(2) + div {
  border-top: 0;
}

.packages-section:nth-child(2),
.packages-section:nth-child(2n+3) {
  background: #f4f4f4;
}

.packages-section > div {
  display: flex;
}

.packages-section > div > div {
  flex: 1 0 0;
  padding: 16px 12px;
}

@media screen and (min-width:1024px) {
  .packages-header + .packages-section > div > div:first-child {
    padding-top: 26px;
  }

  .packages-section > div.packages-expands > div + div{
    padding-top: 34px;
  }
}

.packages-section > div > div:first-child {
  flex: 0 0 260px;
  text-align: left;
}

.packages-excluding-lite .packages-section > div > div:nth-child(2) {
  display: none;
}

.packages-excluding-plus .packages-section > div > div:nth-child(3) {
  display: none;
}

.packages-section > div:first-child > div:first-child {
  font-weight: 700;
}

@media screen and (max-width:1279px) {
  .packages-section > div {
    flex-wrap: wrap;
  }

  .packages-section > div > div {
    padding: 16px 8px;
  }

  .packages-section > div > div:first-child {
    flex: 0 0 100%;
    padding-bottom: 0;
    text-align: center;
  }

  .packages-section:last-child > div > div:first-child {
    display: none;
  }
}

@media screen and (max-width:479px) {
  .packages-section {
    font-size: 14px;
  }
}

.packages-section > div:nth-child(even) {
  background: #fafafa;
}

.packages-section > div + div {
  height: 48px;
  opacity: 1;
  transition: height 0.2s,opacity 0.2s linear;
}

.packages-section > div + div > div {
  padding: 12px;
  transition: padding 0.2s;
}

.packages-section:not(.packages-expanded) > div + div {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.packages-section:not(.packages-expanded) > div + div > div {
  padding: 0 12px;
}

.packages-section > div > div:nth-child(6) {
  display: none;
}

.packages-expand {
  display: block;
  width: 118px;
  margin: 8px 0 0;
  padding: 4px 12px;
  background: #f60;
  color: #fff;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.packages-expand:hover {
  background: #333;
}

.packages-expand::after {
  content: '+ show details';
  font-weight: 400;
}

.packages-expanded .packages-expand::after {
  content: '- hide details';
}

.packages-fixed-header {
  display: none;
  position: fixed;
  inset: 95px 0 auto;
  z-index: 2;
  overflow: hidden;
  background: #fff;
}

@media screen and (max-width:1279px) {
  .packages-section > div + div {
    height: 86px;
  }

  .packages-section > div > div:nth-child(6) {
    display: block;
    flex: 0 0 100%;
    padding: 0 8px 8px;
  }

  .packages-expand {
    margin: 0 auto 8px;
  }

  .packages-section > div > div:first-child .packages-expand {
    display: none;
  }

  .packages-fixed-header {
    top: 81px;
  }
}

.packages-header > div > div {
  padding: 16px 8px 48px;
}

.packages-excluding-lite.packages-excluding-plus .packages-header > div > div {
  padding-bottom: 16px;
}

.packages-trustpilot {
  padding-top: 64px;
  text-align: left;
}

div.packages-trustpilot > a {
  float: none;
  clear: none;
  display: block;
  width: 186px;
  margin: 0 auto 8px;
}

div.packages-trustpilot > a > img {
  width: 100%;
  vertical-align: bottom;
}

div.packages-trustpilot > a + a > img {
  width: 136px;
}

.packages-max {
  position: relative;
  background: #f60;
  color: #fff;
}

.packages-table img {
  float: none;
  clear: none;
  display: inline;
  width: 60px;
  vertical-align: bottom;
}

.packages-package-name {
  display: block;
  padding: 12px 0 0;
  font-size: 36px;
  font-weight: 700;
}

@media screen and (max-width:1279px) {
  .packages-header > div > div:first-child{
    display: none;
  }
}

@media screen and (max-width:767px) {
  .packages-package-name{
    font-size: 28px;
  }
}

@media screen and (max-width:599px) {
  .packages-package-name{
    font-size: 24px;
  }
}

@media screen and (max-width:479px) {
  .packages-package-name{
    font-size: 18px;
  }
}

@media screen and (max-width:359px) {
  .packages-package-name{
    font-size: 16px;
  }
}

.packages-package-description {
  display: block;
  padding: 10px 10px 0;
  color: #333;
  font-size: 14px;
}

.packages-max .packages-package-description {
  color: #fff;
}

.packages-best {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.packages-excluding-lite.packages-excluding-plus .packages-best {
  display: none;
}

.packages-best > span {
  display: inline-block;
  position: relative;
  width: 100%;
  padding: 4px 0;
  background: #333;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

@media screen and (max-width:919px) {
  .packages-fixed-header {
    top: 81px;
  }

  .packages-header > div > div {
    padding-bottom: 40px;
  }

  .packages-package-description {
    display: none;
  }
}

@media screen and (max-width:919px) and (max-height:479px) {
  .packages-fixed-header {
    top: 24px;
  }
}

@media screen and (max-width:689px) {
  div.packages-header > div > div {
    padding-bottom: 8px;
  }

  .packages-best {
    display: none;
  }
}

@media screen and (max-width:399px) {
  .packages-per-month {
    display: block;
  }
}

.packages-minimum-term {
  display: block;
  font-size: 14px;
  font-style: italic;
}

@media screen and (max-width:659px) {
  .packages-minimum-term {
    padding-top: 8px;
    line-height: 14px;
  }

 .packages-minimum-term > span {
    display: block;
    margin: 4px auto 0;
  }
}

.packages-help {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 -32px 0 10px;
  border-radius: 10px;
  background: #ddd;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  font-style: normal;
  text-align: center;
  text-transform: none;
  cursor: pointer;
}

.packages-help::before {
  content: '?';
}

.packages-help > span {
  display: none;
  position: absolute;
  top: -11px;
  left: 34px;
  z-index: 1;
  width: 224px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-weight: 300;
  text-align: left;
  box-shadow: 0 0 8px rgba(0,0,0,0.125);
}

.packages-help > span::before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  left: -10px;
  width: 10px;
  height: 20px;
  background: url('arrow-left.svg') no-repeat center center;
}

.packages-help > span.packages-help-left {
  left: auto;
  right: 34px;
}

.packages-help > span.packages-help-left::before {
  left: auto;
  right: -10px;
  background: url('arrow-right.svg') no-repeat center center;
}

.packages-help > span.packages-help-bottom {
  left: -103px;
  top: 32px;
}

.packages-help > span.packages-help-bottom::before {
  top: -10px;
  left: calc(50% - 10px);
  width: 20px;
  height: 10px;
  background: url('arrow-top.svg') no-repeat center center;
}

@media screen and (max-width:767px) {
  .packages-section > div > div + div .packages-help {
    display: block;
    margin: 8px auto 10px;
  }
}

.packages-tick,
.packages-cross {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  background: url('tick.svg') no-repeat center center;
}

.packages-cross {
  background-image: url('cross.svg');
}

.packages-more {
  display: inline-block;
  padding: 4px 12px;
  background: #f60;
  color: #fff !important;
  transition: background 0.5s;
}

.packages-more:hover {
  background: #333;
}

.packages-more > span:last-child {
  display: none;
}

@media screen and (max-width:529px) {
  .packages-more > span:first-child {
    display: none;
  }

  .packages-more > span:last-child {
    display: inline;
  }
}

.packages-prices {
  padding: 24px;
  text-align: center;
}
