@font-face {
  font-family: 'Averta-Bold';
  src: url("/fonts/Averta-Bold.woff");
}
div {
  box-sizing: border-box;
}
body {
  font-size: 11pt;
  background-color: white !important;
  line-height: 1.7em;
}
h1 {
  font-size: 3em;
  margin: 15px 0 10px !important;
}
h1, h2 {
  font-family: Averta-Bold !important;
  color: black !important;
  line-height: 1.1em;
  font-weight: normal;
}
h2 {
  margin-top: 8px;
}
div.header  {
  margin: 15px 20px 30px 20px;
  display: flex;
  justify-content: space-between;
}
div.header div.text {
  text-align: center;
  width: 800px;
  max-width: 100%;
}

#body div.header div.text p {
  font-size: 14px;
}

div.header div.company-logo, div.header div.dummy {
  width: 400px;
  text-align: center;
}
div.card {
  width: 250px;
  background-color: white;
  overflow: hidden;
  margin: 20px 10px 20px 10px;
  border-radius: 6px;
  -webkit-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.25);
  box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.25);
}
div.card a, div.card a:hover {
  cursor: inherit;
  color: inherit;
  text-decoration: none !important;
}
div.card div.card-header, div.card div.card-header img {
  height: 165px;
  width: 250px;
}
div.card img, div.card div.card-header {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
div.card div.card-header div.title {
  background-image: linear-gradient(white, rgba(255,255,255,0));
  position: relative;
  top: -165px;
  width: 250px;
  height: 100px;
}
div.card div.card-header div.title, div.card div.card-content {
  padding: 2px 12px 6px 12px;
}
div.card div.duration {
  font-size: 0.85em;
}
div.card div.duration, div#footer div.title {
  color: #009fe3;
}
div.card div.card-content div.description {
  height: 97px;
  overflow: hidden;
}
div.card div.card-content div.reg-page-card-description {
  font-size: 11pt;
}
div.card div.card-content div.reg-page-card-description *{
  font-size: inherit;
}
div.card a.go div {
  background-color: #56af31;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  text-align: center;
  font-size: 1.1em;
  height: 32px;
  padding-top: 3px;
  margin-top: 3px;
  color: white !important;
}
div.card a.go {
  cursor: pointer !important;
  color: white;
}
div.card a.go:hover {
  text-decoration: underline !important;
}
div#cards-slider{
  background-color: #009fe3;
  padding-top: 10px;
}
div#cards-slider div#free-text{
  text-align: center;
  width: 100%;
  color: #fff;
}
div#list {
  padding: 0 20px 10px 20px;
  background-color: #009fe3;
  max-width: 1400px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  margin-right: auto;
  margin-left: auto;
}
div#footer {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  flex-direction: row;
}
div#footer div.column {
  width: 240px;
  font-size: 0.85em;
  margin: 0 15px 20px 15px;
}
 /* Popper tooltip */
.tooltip {
  position: absolute;
  background: #fff4a7;
  color: black;
  width: 350px;
  max-width: 97%;
  border-radius: 3px;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
  padding: 20px;
}
.tooltip .tooltip-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  margin: 5px;
}
.tooltip .tooltip-arrow {
  border-color: #fff4a7;
}
.tooltip[x-placement^="right"] {
  margin-left: 5px;
}
.tooltip[x-placement^="right"] .tooltip-arrow {
  border-width: 15px 15px 15px 0;
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
  left: -15px;
  top: calc(50% - 15px);
  margin-left: 0;
  margin-right: 0;
}
.tooltip[x-placement^="left"] {
  margin-right: 5px;
}
.tooltip[x-placement^="left"] .tooltip-arrow {
  border-width: 15px 0 15px 15px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  right: -15px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}
.tooltip div.title {
  font-weight: bold;
}
.tooltip a {
  text-decoration: underline;
}
.tooltip div.go a {
  font-weight: bold;
}
.tooltip div.tip-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.program-card-tooltip-icons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.program-card-tooltip-icons-container > .duration-and-type {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.porgram-card-tooltip-icons-info {
  display: flex;
  gap: 10px;
  align-items: center;
}
.program-card-tooltip-icons-container .porgram-card-tooltip-icons-info img,
.program-card-tooltip-icons-container .porgram-card-tooltip-goals img,
.program-card-tooltip-icons-container .porgram-card-tooltip-audience img{
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.program-card-tooltip-icons-container .porgram-card-tooltip-icons-info p,
.program-card-tooltip-icons-container .porgram-card-tooltip-goals p,
.program-card-tooltip-icons-container .porgram-card-tooltip-audience p{
  line-height: 18px;
}
.porgram-card-tooltip-goals,
.porgram-card-tooltip-audience {
  display: flex;
  gap: 10px;
  align-items: start;
}
.porgram-card-tooltip-button_container {
  margin-top: 20px;
  text-align: center;
}
.porgram-card-tooltip-button {
  border: none;
  width: 80%;
  height: 50px;
  border-radius: 5px;
  background-color: #009fe3;
  color: white;
}

/* enable Flickity by default */
div#list:after {
  content: 'flickity';
  display: none; /* hide :after */
}

@media screen and ( max-width: 739px ) {
  /* disable Flickity for small devices */
  div#list:after {
    content: '';
  }
  div.header, div#list  {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  div.header div.dummy {
    display: none;
  }
  /* override mobile.css */
  h1 {
    display: block !important;
  }
  .tooltip .tooltip-arrow {
    visibility: hidden;
  }
  div#footer {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  div.card {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
  }
}

/* Responsiveness: show tap text on devices without hover */

/* default (we use a default instead of 'hover: none', because the hover media query does not work in ie 11) */
.touch {
  display: none;
}
.hover {
  display: block;
}

/* hover available */
@media (hover: none) {
  .touch {
    display: block;
  }
  .hover {
    display: none;
  }
}
