@media (max-width: 991px) {
  .ambassador-page .def_padding {
    padding: 50px 30px 90px 50px;
  }
}

@media (max-width: 550px) {
  .ambassador-page .def_padding {
    padding: 50px 20px 90px 20px;
  }
}

.ambassador-page .top_desc p strong {
  font-size: unset;
  font-weight: bold;
}

.ambassador-page .table-header {
  background-color: #93C6C1;
  width: 100%;
  border: 1px solid black;
  border-bottom: 0;
  padding: 0.25em 0.5em;
  text-align: center;
}

.ambassador-page table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ambassador-page th, .ambassador-page td {
  padding: 0.25em 0.5em;
  border: 1px solid black;
}

.ambassador-page .hours-chart td:last-child {
  width: 30%;
  text-align: right;
}

.ambassador-page .hours-chart tr:nth-last-child(2) {
  background-color: #F4A48C;
}

.ambassador-page .hours-chart tr:nth-last-child(1) {
  background-color: #93C6C1;
}

.ambassador-page .task-matrix tr:first-child strong {
  font-weight: bold;
}

.ambassador-page .task-matrix td:not(:first-child) {
  text-align: center;
  width: 10%;
}

@media (max-width: 550px) {
  .ambassador-page .task-matrix td:not(:first-child) {
    width: 14%;
  }
}

.ambassador-page .task-matrix td:nth-last-child(4) {
  background-color: #93C6C1;
}

.ambassador-page .task-matrix td:nth-last-child(3) {
  background-color: #F4A48C;
}

.ambassador-page .task-matrix td:nth-last-child(2) {
  background-color: #F2CB66;
}

.ambassador-page .task-matrix td:nth-last-child(1) {
  background-color: #3B5881;
}

@media (max-width: 1430px) {
  .ambassador-page .task-matrix tr:first-child td:not(:first-child) {
    position: relative;
    height: 107px;
    padding-bottom: 0;
    padding-top: 0;
  }

  .ambassador-page .task-matrix tr:first-child td:not(:first-child)>* {
    display: block;
    text-align: center;
    white-space: nowrap;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(-90deg);
    -moz-transform: translate(-50%, -50%) rotate(-90deg);
    -ms-transform: translate(-50%, -50%) rotate(-90deg);
    -o-transform: translate(-50%, -50%) rotate(-90deg);
    transform: translate(-50%, -50%) rotate(-90deg);
  }
}


@media (max-width: 550px) {
  .ambassador-page .task-matrix tr:first-child td>* {
    font-size:14px;
  }
}
