:root {
  --white: white;
  --gray: #999;
  --lightgray: whitesmoke;
  --popular: #ffdd40;
  --starter: #666;
  --essential: #313131;
  --professional: #666;
}

body {
  overflow-x: hidden;
}

table {
  border-collapse: collapse;
}

.h-full {
  height: 100vh;
}

.margin-b-40 {
  margin-bottom: 40px;
}

.select select {
  width: 100%;
  border: 1px solid #e4e4e4;
  padding: 12px 24px;
  border-radius: 3px;
}

/* TABLE STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.table-wrapper {
  background: var(--white);
  overflow-x: auto;
}

table {
  position: relative;
  text-align: center;
  width: 100%;
}

table thead {
  background: var(--white);
  -webkit-transition: box-shadow 0.2s;
  transition: box-shadow 0.2s;
}

table tr {
  display: -webkit-box;
  display: flex;
}

table th,
table td {
  width: 25%;
  min-width: 150px;
}
table tr, table th, table td {
  text-align: center !important;
}

table tr, table th, table td:first-child {
  text-align: left !important;
}

table th:nth-child(1) {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-pack: center;
          justify-content: center;
  font-size: 1.5rem;
  line-height: 1.3;
  padding: 0 10px;
}

table th:nth-child(1) .svg-wrapper {
  margin-top: 10px;
}

table th:nth-child(1) svg {
  width: 22px;
  height: 22px;
}

table th .heading {
  padding: 1rem;
  color: var(--white);
}

table th:nth-child(2) .heading {
  background: var(--starter);
}

table th:nth-child(3) .heading {
  background: var(--essential);
}

table th:nth-child(4) .heading {
  background: var(--professional);
}

table th .info {
  position: relative;
  padding: 1.5rem 0;
  border-left: 1px solid var(--lightgray);
}

table th .popular {
  position: absolute;
  top: 10px;
  right: 0;
  font-size: 11px;
  background: var(--popular);
  padding: 4px 8px;
  border-radius: 2px;
}

table th .amount {
  font-size: 2rem;
}

table th .amount span {
  display: block;
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
}

table th:nth-child(2) .amount {
  color: var(--starter);
}

table th:nth-child(3) .amount {
  color: var(--essential);
}

table th:nth-child(4) .amount {
  color: var(--professional);
}

table th .billing-msg,
table th .amount span {
  font-weight: normal;
  font-size: 0.8rem;
}

table th button {
  display: inline-block;
  border-radius: 20px;
  padding: 8px 20px;
  margin-top: 10px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

table th:nth-child(2) button {
  color: var(--starter);
  border: 1px solid var(--starter);
}

table th:nth-child(2) button:hover {
  background: var(--starter);
}

table th:nth-child(3) button {
  color: var(--essential);
  border: 1px solid var(--essential);
}

table th:nth-child(3) button:hover {
  background: var(--essential);
}

table th:nth-child(4) button {
  color: var(--professional);
  border: 1px solid var(--professional);
}

table th:nth-child(4) button:hover {
  background: var(--professional);
}

table th button:hover {
  color: var(--white);
}
 
table td {
  padding: 10px;
}

table td:not(:first-child) {
  border-left: 1px solid var(--lightgray); 
}

table td:first-child {
  font-size: 1rem;
  text-align: left;
}

table svg {
  width: 18px;
  height: 18px;
}
table tr{
  border-bottom: 1px solid #f0f0f0;
}

table svg.not-included {
  fill: #e4341d;
}

table svg.starter {
  fill: var(--starter);
}

table svg.essential {
  fill: #14bd30;
}

table svg.professional {
  fill: #14bd30;
}


/* BODY CLASSES & MQ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.sticky-table thead tr,
.sticky2-table thead tr {
  z-index: 1;
}

@media screen and (min-width: 780px) {

  
  table th:nth-child(1) {
    padding: 0 20px;
  }
  
  table td {
    padding: 10px;
  }
  
  .sticky-table table thead {
    position: fixed;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }

  .sticky-table table thead {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.12);
  }

  .sticky2-table table thead {
    position: absolute;
    left: 0;
  }
}


/* FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
  font-size: 0.85rem;
  padding: 10px;
  text-align: right;
  color: var(--black);
}

.page-footer span {
  color: #e31b23;
}