/* 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--type--loisirs-ch--default {
  margin: 0;
}
.node--type--loisirs-ch--default__validity, .node--type--loisirs-ch--default__category {
  font-family: "Roboto-Regular", sans-serif !important;
  font-size: 1.6rem;
  line-height: 1.4 !important;
}
.node--type--loisirs-ch--default__validity {
  color: #fd5312;
  margin-top: -1.2rem;
}
.node--type--loisirs-ch--default__category span {
  margin-top: -8.1rem;
  position: relative;
}
.node--type--loisirs-ch--default .uk-card {
  display: inline-block;
  width: 100%;
}
.node--type--loisirs-ch--default .uk-card .uk-card-media-top {
  border-left: 0.1rem solid #c9c9c9;
  border-right: 0.1rem solid #c9c9c9;
  border-top: 0.1rem solid #c9c9c9;
}
@media only screen and (max-width: 639px) {
  .node--type--loisirs-ch--default .uk-card .uk-card-media-top img {
    width: 100%;
  }
}
.node--type--loisirs-ch--default .uk-card .uk-card-title {
  margin-top: 1.1rem;
}
.node--type--loisirs-ch--default .uk-card .uk-card-body .subtitle {
  position: relative;
  margin-top: 1.1rem;
  font-family: "Roboto-Regular", sans-serif !important;
  font-size: 1.6rem;
  line-height: 1.4 !important;
}
.node--type--loisirs-ch--default .uk-card .uk-card-body .read-more {
  bottom: 0.5rem;
  color: #8c8c8e;
  right: 0.5rem;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  -o-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
.node--type--loisirs-ch--default .uk-card:hover .read-more {
  color: #fd7512;
  -webkit-transform: translate3d(0.3rem, 0, 0);
  transform: translate3d(0.3rem, 0, 0);
}
.node--type--loisirs-ch--default__display-title {
  font-size: 3.1rem;
}
.node--type--loisirs-ch--default--expand {
  max-width: 31.6rem;
  padding-top: 0;
  padding-bottom: 0;
}
@media only screen and (max-width: 639px) {
  .node--type--loisirs-ch--default--expand {
    max-width: 100%;
  }
}
@media only screen and (min-width: 960px) {
  .node--type--loisirs-ch--default--expand {
    max-width: 100%;
  }
}

.node--type--loisir-element--default,
.node--type--loisirs-ch--homepage {
  width: 100%;
  height: 200px;
  background-position: center;
  position: relative;
  border-radius: 1rem;
}
.node--type--loisir-element--default a,
.node--type--loisirs-ch--homepage a {
  display: block;
  width: 100%;
  height: 100%;
}
.node--type--loisir-element--default .loisir-element-content,
.node--type--loisirs-ch--homepage .loisir-element-content {
  background-color: rgba(0, 0, 0, 0.5);
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  position: absolute;
  bottom: 0;
  width: 100%;
  color: white;
  padding: 15px 17px;
}
.node--type--loisir-element--default .loisir-element-content .title,
.node--type--loisirs-ch--homepage .loisir-element-content .title {
  font-size: 2rem;
  line-height: 2rem;
}
.node--type--loisir-element--default .loisir-element-content .subtitle,
.node--type--loisirs-ch--homepage .loisir-element-content .subtitle {
  font-size: 1.6rem;
  line-height: 1.6rem;
}

.card-loisir-list .loisirs-ch--badge-margin {
  margin-top: -3.8rem;
}
.card-loisir-list .card-loisir-border {
  border: 1px solid #C9C9C9;
}
@media only screen and (max-width: 959px) {
  .card-loisir-list .card-loisir-border {
    background: white;
  }
}
.card-loisir-list .node--type--loisirs-ch--teaser__validity {
  font-size: 1.6rem !important;
  line-height: 1.6rem !important;
  color: #8c8c8e;
}
.card-loisir-list .node--type--loisirs-ch--teaser__price_info {
  -ms-flex-item-align: center;
  align-self: center;
}
.card-loisir-list .subtitle {
  color: #535353;
  font-size: 1.6rem;
}
.card-loisir-list .uk-card-title {
  font-size: 2rem;
  font-family: "Roboto-Bold", sans-serif !important;
}

.node-loisir-full .node-header {
  margin: 0 auto;
  position: relative;
}
@media only screen and (min-width: 960px) {
  .node-loisir-full .node-header {
    max-width: 132.4rem;
  }
}
.node-loisir-full .anchor-container .uk-tab::before {
  left: 0;
}
@media only screen and (max-width: 959px) {
  .node-loisir-full .anchor-container .overflow-x-auto {
    overflow-x: auto;
  }
}
.node-loisir-full .anchor-container .overflow-x-auto li:first-child {
  padding-left: 0;
}
@media only screen and (max-width: 959px) {
  .node-loisir-full .anchor-container .overflow-x-auto li:first-child {
    padding-left: 2rem;
  }
}
@media only screen and (max-width: 959px) {
  .node-loisir-full .anchor-container .overflow-x-auto li:last-child {
    padding-right: 2rem;
  }
}
.node-loisir-full .node--type--loisirs-ch--full__validity {
  font-size: 1.8rem !important;
  line-height: 1.8rem !important;
  color: #FD5312;
  font-family: "Roboto-Regular", sans-serif;
}
.node-loisir-full .page-title {
  bottom: -9rem !important;
}
@media only screen and (min-width: 960px) {
  .node-loisir-full .tab-loisirs-ch-full {
    margin-top: 15rem;
  }
}
@media only screen and (max-width: 959px) {
  .node-loisir-full .tab-loisirs-ch-full > .layout-inner-container {
    padding-top: 4rem;
  }
}
@media only screen and (max-width: 959px) {
  .node-loisir-full .layout-inner-container {
    padding-left: 2rem;
  }
}
.node-loisir-full .block-route-search {
  right: 8rem;
  top: 50%;
  height: auto !important;
  padding: 0 !important;
}
@media only screen and (min-width: 960px) {
  .node-loisir-full .block-route-search {
    position: absolute;
  }
}
.node-loisir-full .uk-background-cover {
  background-size: cover !important;
}
.node-loisir-full .block-title h2 {
  display: none;
}
.node-loisir-full .block-route-search {
  height: auto;
}
@media only screen and (min-width: 960px) {
  .node-loisir-full .block-route-search {
    padding: 0;
  }
}
@media only screen and (min-width: 960px) {
  .node-loisir-full .block-route-search .block-content {
    margin-top: 0;
  }
}
.node-loisir-full .paragraph--type--dynamics {
  max-width: 87.6rem;
  margin-left: auto;
  margin-right: auto;
}
.node-loisir-full .paragraph--type--dynamics .media-container {
  height: 24rem;
}
@media only screen and (max-width: 959px) {
  .node-loisir-full .paragraph--type--dynamics .media-container {
    height: 40rem;
  }
}
.node-loisir-full .paragraph--type--dynamics .layout-inner-container {
  background-size: auto;
  min-height: 0;
  margin: 0;
}
.node-loisir-full .paragraph--type--dynamics p {
  margin: 0;
}
.node-loisir-full .paragraph--type--dynamics .icon-info {
  bottom: 24rem;
}
@media only screen and (max-width: 959px) {
  .node-loisir-full .paragraph--type--dynamics .icon-info {
    bottom: 32rem;
  }
}
.node-loisir-full .paragraph--type--dynamics .icon-info svg {
  max-width: 50px;
  min-width: 30px;
}
@media only screen and (max-width: 959px) {
  .node-loisir-full .paragraph .layout-inner-container {
    padding: 0;
  }
}
.node-loisir-full .width-tab-loisir {
  max-width: 87.6rem;
}
.node-loisir-full .content-loisir-paragraph .layout-inner-container {
  min-height: 0;
  padding-bottom: 1rem;
}
.node-loisir-full #loisir .uk-text-bolder:not(:first-child) {
  margin-top: 2rem;
}
@media only screen and (max-width: 959px) {
  .node-loisir-full #loisir {
    padding: 2rem;
  }
}
@media only screen and (max-width: 959px) {
  .node-loisir-full .view-related-loisirs .layout-inner-container {
    padding: 2rem;
  }
}
@media only screen and (min-width: 960px) {
  .node-loisir-full .view-related-loisirs .layout-inner-container {
    max-width: 87.6rem;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media only screen and (min-width: 1200px) {
  .node-loisir-full .view-related-loisirs .layout-inner-container {
    max-width: 132.4rem;
  }
}