/* Mixins */
/**
 * Returns value from colors map
 */
/**
 * Turns pixels to rems
 * We typically set out HTML font size to 62.5% which helps us have a base-10 value to work with.
 * So the following mixin accepts a pixel value that is then turned into a corresponding rem value.
 */
/**
 * Function for converting a px based font-size to rem.
 *
 * @param $size - the value in pixel you want to convert
 *
 * e.g. p {to-rem(12);}
 *
 */
.node__offer--full {
  padding: 1rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
@media only screen and (max-width: 959px) {
  .node__offer--full {
    display: block;
  }
}
.node__offer--full picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (min-width: 960px) {
  .node__offer {
    padding: 0;
  }
}
.node__offer__title {
  font-family: "Roboto-Medium", sans-serif;
  font-weight: 700;
}

.tpg-modal__body {
  width: 90%;
  max-width: 1400px !important;
  padding: 0;
  height: 100%;
  max-height: 100% !important;
  overflow: unset;
  border-radius: 1.5rem;
}
.tpg-modal__close-btn {
  top: 2rem;
  right: 2rem;
  border-radius: 50%;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}
.tpg-modal__close-btn svg {
  color: #000000;
}
.tpg-modal__content {
  margin-left: 0;
  height: 100%;
}
@media screen and (min-width: 767px) {
  .tpg-modal__content {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}
.tpg-modal__content .node__offer {
  padding: 0;
}
.tpg-modal__content .node__offer__content {
  height: 100%;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-top: 10px;
  padding-bottom: 0;
}
@media only screen and (max-width: 959px) {
  .tpg-modal__content .node__offer__content {
    max-height: calc(100vh - 315px);
  }
}
.tpg-modal__content .node__offer__img img {
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  height: 30rem;
}
@media screen and (min-width: 961px) {
  .tpg-modal__content .node__offer__img img {
    height: calc(100vh - 100px);
    border-bottom-left-radius: 1.5rem;
    border-top-right-radius: 0;
  }
}