.content-table {
  max-width: 1148px;
  margin: 56px auto;
  background-color: #fff;
  overflow-y: scroll;
}
.custom-table {
  display: grid;
  grid-template-columns: 4fr repeat(2, 3fr);
  grid-template-rows: repeat(12, max-content);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  font-size: 16px;
}
.custom-table > div {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 32px;
  background-color: #fff;
  color: #333333;
  letter-spacing: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid #DCE2EA;
  flex-wrap: wrap;
}
.custom-table > div > span.link {
  transition: all 0.7s ease;
  cursor: pointer;
  text-decoration: underline rgb(146, 146, 146) dashed;
}
.custom-table > div > span.link:hover {
  text-decoration: none;
  color: #fff;
  background-color: #F63D7E;
}
.custom-table > .category {
  position: relative;
}
.custom-table > div > span.tips {
  width: 400px;
  display: none;
  background: #f1f3f6;
  box-shadow: 0px 20px 20px -10px rgba(101, 110, 135, 0.4);
  border-radius: 16px;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  align-items: center;
  color: #333333;
  position: absolute;
  top: 40px;
  left: 370px;
  z-index: 1;
  padding: 24px;
  transition: all ease 1s;
}
.show {
  display: block !important;
}
.content-table .custom-table div:nth-child(3n+1) {
  text-align: left;
  justify-content: flex-start;
}
.content-table .custom-table .div1 {
  grid-area: 1 / 1 / 2 / 2;
  border-right: none;
  color: #333333;
  background: #f1f3f6;
  border-radius: 12px 0px 0px 0px;
  padding: 20px 0;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  border-bottom: none;
}
.content-table .custom-table .div2 {
  grid-area: 1 / 2 / 2 / 3;
  border-right: none;
  border-left: none;
  color: #333333;
  background: #f1f3f6;
  border-radius: 0;
  padding: 20px 0;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  border-bottom: none;
}
.content-table .custom-table .div3 {
  grid-area: 1 / 3 / 2 / 4;
  border-left: none;
  color: #333333;
  background: #f1f3f6;
  border-radius: 0 12px 0px 0px;
  padding: 20px 0;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  border-bottom: none;
}
.content-table .custom-table .div4 {
  grid-area: 2 / 1 / 3 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div5 {
  grid-area: 2 / 2 / 3 / 3;
}
.content-table .custom-table .div6 {
  grid-area: 2 / 3 / 3 / 4;
}
.content-table .custom-table .div7 {
  grid-area: 3 / 1 / 4 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div8 {
  grid-area: 3 / 2 / 4 / 3;
}
.content-table .custom-table .div9 {
  grid-area: 3 / 3 / 4 / 4;
}
.content-table .custom-table .div10 {
  grid-area: 4 / 1 / 5 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div11 {
  grid-area: 4 / 2 / 5 / 3;
}
.content-table .custom-table .div12 {
  grid-area: 4 / 3 / 5 / 4;
}
.content-table .custom-table .div13 {
  grid-area: 5 / 1 / 6 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div14 {
  grid-area: 5 / 2 / 6 / 3;
}
.content-table .custom-table .div15 {
  grid-area: 5 / 3 / 6 / 4;
}
.content-table .custom-table .div16 {
  grid-area: 6 / 1 / 7 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div17 {
  grid-area: 6 / 2 / 7 / 3;
}
.content-table .custom-table .div18 {
  grid-area: 6 / 3 / 7 / 4;
}
.content-table .custom-table .div19 {
  grid-area: 7 / 1 / 8 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div20 {
  grid-area: 7 / 2 / 8 / 3;
}
.content-table .custom-table .div21 {
  grid-area: 7 / 3 / 8 / 4;
}
.content-table .custom-table .div22 {
  grid-area: 8 / 1 / 9 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div23 {
  grid-area: 8 / 2 / 9 / 3;
}
.content-table .custom-table .div24 {
  grid-area: 8 / 3 / 9 / 4;
}
.content-table .custom-table .div25 {
  grid-area: 9 / 1 / 10 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div26 {
  grid-area: 9 / 2 / 10 / 3;
}
.content-table .custom-table .div27 {
  grid-area: 9 / 3 / 10 / 4;
}
.content-table .custom-table .div28 {
  grid-area: 10 / 1 / 11 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div29 {
  grid-area: 10 / 2 / 11 / 3;
}
.content-table .custom-table .div30 {
  grid-area: 10 / 3 / 11 / 4;
}
.content-table .custom-table .div31 {
  grid-area: 11 / 1 / 12 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div32 {
  grid-area: 11 / 2 / 12 / 3;
}
.content-table .custom-table .div33 {
  grid-area: 11 / 3 / 12 / 4;
}
.content-table .custom-table .div34 {
  grid-area: 12 / 1 / 13 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div35 {
  grid-area: 12 / 2 / 13 / 3;
}
.content-table .custom-table .div36 {
  grid-area: 12 / 3 / 13 / 4;
}
.content-table .custom-table .div37 {
  grid-area: 13 / 1 / 14 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div38 {
  grid-area: 13 / 2 / 14 / 3;
}
.content-table .custom-table .div39 {
  grid-area: 13 / 3 / 14 / 4;
}
.content-table .custom-table .div40 {
  grid-area: 14 / 1 / 15 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div41 {
  grid-area: 14 / 2 / 15 / 3;
}
.content-table .custom-table .div42 {
  grid-area: 14 / 3 / 15 / 4;
}
.content-table .custom-table .div43 {
  grid-area: 15 / 1 / 16 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div44 {
  grid-area: 15 / 2 / 16 / 3;
}
.content-table .custom-table .div45 {
  grid-area: 15 / 3 / 16 / 4;
}
.content-table .custom-table .div46 {
  grid-area: 16 / 1 / 17 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div47 {
  grid-area: 16 / 2 / 17 / 3;
}
.content-table .custom-table .div48 {
  grid-area: 16 / 3 / 17 / 4;
}
.content-table .custom-table .div49 {
  grid-area: 17 / 1 / 18 / 2;
  justify-content: flex-start;
  text-align: left;
}
.content-table .custom-table .div50 {
  grid-area: 17 / 2 / 18 / 3;
}
.div51 {
  grid-area: 17 / 3 / 18 / 4;
}
.div52 {
  grid-area: 18 / 1 / 19 / 2;
  justify-content: flex-start;
  text-align: left;
}
.div53 {
  grid-area: 18 / 2 / 19 / 3;
}
.div54 {
  grid-area: 18 / 3 / 19 / 4;
}
.content-post .container table {
  font-size: 16px;
  width: 100%;
}

table {
  margin: 20px 0;
}
thead {
  background-color: #f1f3f6;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  color: #333333;
}

tbody {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: #333333;
}

thead tr {
  background-color: #f1f3f6;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  color: #333333;
}

thead th:first-child,
thead td:first-child {
  border-top-left-radius: 16px;
}

thead th:last-child,
thead td:last-child {
  border-top-right-radius: 16px;
}
thead th,
thead td {
  font-weight: 600;
  padding: 20px;
  letter-spacing: 0;
}
tbody tr {
  border-bottom: 1px solid #f1f3f6;
}
tbody td {
  width: 25%;
  padding: 16px;
  letter-spacing: 0;
}

.table__top tr {
  vertical-align: top;
}

.table__100 thead th,
.table__100 tbody td {
  width: 100%;
}

.table__50 thead th,
.table__50 tbody td {
  width: 50%;
}

.table__33 thead th,
.table__33 tbody td {
  width: 33.3%;
}

tbody tr:nth-child(even) {
  /* background: var(--soft-grey); */
}

.table-overflow {
  overflow-x: auto;
}

.table-icon .tariffs__icon--no,
.table-icon .tariffs__icon--yes {
  width: 24px;
  height: 24px;
  margin-top: 0;
  margin-right: 25px;
  position: absolute;
  left: 0;
  top: 5px;
  -webkit-background-size: 100%;
  background-size: 100%;
  background-repeat: no-repeat;
}

.table-icon .tariffs__icon--yes {
  background-image: url("/wp-content/themes/mightycall2021/img/icons/yes.svg");
}

.table-icon .tariffs__icon--no {
  background-image: url("/wp-content/themes/mightycall2021/img/icons/no.svg");
}

.table-icon {
  position: relative;
  padding-left: 50px;
}

/*! Add class="color-pink" inside of <td> tag if you want to color pink */
/*! Add class="text-center" inside of <td> tag if you want to move text to center */
/*! Add class="text-bold" inside of <td> tag if you want to make text bolder */

@media (max-width: 1279px) {
  .custom-table > div,
  tbody {
    font-size: 14px;
    line-height: 24px;
  }
  .content-table .custom-table .div1,
  .content-table .custom-table .div2,
  .content-table .custom-table .div3,
  thead {
    font-size: 20px;
    line-height: 24px;
    padding: 16px;
  }
  thead th,
  thead td,
  tbody td {
    padding: 15px;
  }
}

@media (max-width: 900px) {
  .custom-table > div > span.tips {
    top: 30px;
    left: 281px;
  }
}
@media (max-width: 800px) {
  .custom-table > div > span.tips {
    width: 230px;
    font-size: 13px;
    line-height: 20px;
    top: 17px;
    left: 200px;
    padding: 16px;
  }
  .custom-table > div,
  tbody {
    font-size: 12px;
    line-height: 16px;
  }
  .content-table .custom-table .div1,
  .content-table .custom-table .div2,
  .content-table .custom-table .div3,
  thead {
    font-size: 14px;
    line-height: 18px;
  }
  thead th,
  thead td {
    padding: 16px 8px;
  }
  .custom-table > div,
  tbody td {
    padding: 8px;
  }
}
@media (max-width: 640px) {
  .content-table .custom-table > div,
  .content-table .custom-table > .div1,
  .content-table .custom-table > .div2,
  .content-table .custom-table > .div3 {
    font-size: 13px;
    line-height: 20px;
  }
  .tips {
    display: none;
  }
  .custom-table > div > span.tips {
    left: 100px;
  }
  .custom-table > div {
    padding: 8px;
  }
  .content-table .custom-table .div8,
  .content-table .custom-table .div9,
  .content-table .custom-table .div32,
  .content-table .custom-table .div33 {
    padding: 8px;
  }
  .custom-table {
    grid-template-columns: repeat(3, 1fr);
  }
}
