﻿/*
 * Variabelen
*/
/*
 * mixin
*/
/**
 * html, body en app
*/
html, .portaal {
  height: 100%;
}

body {
  overflow-y: scroll;
  margin: 0;
  padding: 0;
  font-family: Calibri;
  min-height: 100%;
  color: rgba(23, 35, 62, 0.8);
  font-size: 18px;
}

.portaal__inner {
  display: flex;
  min-height: calc(100% - 80px);
  flex-direction: column;
}

.portaal--has-details .details {
  display: block;
}
.portaal--has-details .offer {
  display: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 5;
}

/*
 * Breadcrumb
*/
.breadcrumb {
  padding: 0 20px;
  color: white;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr 300px;
  align-items: center;
  -webkit-box-shadow: 0px 9px 41px -16px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 9px 41px -16px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 9px 41px -16px rgba(0, 0, 0, 0.2);
  background-color: white;
  z-index: 2;
  position: relative;
  min-height: 70px;
}
.breadcrumb a {
  text-decoration: none;
}

.breadcrumb__subtitle {
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #17233e;
  margin: 0;
  display: flex;
  align-items: center;
}

.breadcrumb__icon {
  font-family: "Material Icons";
  opacity: 0.5;
  vertical-align: middle;
  text-align: center;
  margin-left: 5px;
}

.logo__link {
  display: flex;
  padding: 5px;
}

.logo {
  padding-right: 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  margin-right: 20px;
}

/*
 * search
*/
.search {
  height: 40px;
  display: flex;
}

.search__input {
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #17233e;
  background: none;
  height: 40px;
  width: 100%;
  flex: 1;
  border: none;
  outline: none !important;
  padding: 0 20px;
  font-weight: bold;
  border: 2px solid rgba(23, 35, 62, 0.7);
  border-radius: 30px;
  box-sizing: border-box;
}
.search__input::placeholder {
  color: rgba(23, 35, 62, 0.5);
}

.search__icon {
  font-family: "Material Icons";
  line-height: 40px;
  width: 40px;
  text-align: center;
  background-color: #8ebf66;
  border-radius: 30px;
  margin-left: 10px;
  cursor: pointer;
  cursor: pointer;
  transition: opacity ease-in 150ms;
}
.search__icon:hover {
  opacity: 0.7;
}

/*
 * Inputs
*/
.input__radio, .input__checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.input__radio + label, .input__checkbox + label {
  display: flex;
  cursor: pointer;
  font-weight: bold;
  margin: 10px 0;
  align-items: center;
  line-height: 1em;
  word-break: break-word;
}
.input__radio + label:before, .input__checkbox + label:before {
  content: "";
  width: 15px;
  height: 15px;
  background-color: #c5d1d9;
  display: inline-block;
  margin-right: 10px;
  box-sizing: border-box;
  margin-top: 3px;
  flex: 0 0 15px;
}
.input__radio:checked + label:before, .input__checkbox:checked + label:before {
  background-color: #37baea;
}

textarea.input {
  padding: 8px 20px;
}

.input__radio + label:before {
  border-radius: 50%;
}

.label {
  font-size: 12px;
  line-height: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(23, 35, 62, 0.5);
  letter-spacing: 0.5px;
  line-height: 3em;
  display: block;
}

.label--is-required:after {
  content: "*";
  color: #EF7150;
  text-transform: none;
  letter-spacing: 0;
  font-weight: normal;
  margin-left: 5px;
  font-size: 0.9em;
}

.input {
  cursor: pointer;
  transition: opacity ease-in 150ms;
  line-height: 24px;
  font-family: Calibri;
  font-size: 18px;
  min-height: 40px;
  display: block;
  width: 100%;
  border: 1px solid rgba(23, 35, 62, 0.2);
  outline: none !important;
  padding: 5px 20px;
  font-weight: bold;
  border-radius: 30px;
  color: inherit;
  box-sizing: border-box;
  background-color: white;
  line-height: 1em;
  display: block;
  text-decoration: none;
  margin-bottom: 10px;
}
.input:hover {
  opacity: 0.7;
}

.input[disabled] {
  background-color: rgba(197, 209, 217, 0.2);
  border: none;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: rgba(23, 35, 62, 0.2);
  opacity: 1; /* Firefox */
}

.form--is-submitted .input:invalid {
  border: 2px solid rgba(239, 113, 80, 0.5);
}

.input__wrapper {
  display: flex;
}
.input__wrapper .input {
  flex: 1;
}
.input__wrapper .input:not(:last-child) {
  margin-right: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input__wrapper .input:not(:first-child) {
  flex: 1;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.submit {
  cursor: pointer;
  transition: opacity ease-in 150ms;
  line-height: 24px;
  font-family: Calibri;
  font-size: 18px;
  min-height: 40px;
  display: block;
  width: 100%;
  border: 1px solid transparent;
  outline: none !important;
  padding: 5px 20px;
  font-weight: bold;
  border-radius: 30px;
  color: white;
  box-sizing: border-box;
  background-color: #8ebf66;
  line-height: 1em;
  display: block;
  text-decoration: none;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #17233e;
  color: white;
  width: auto;
  justify-content: center;
  white-space: normal;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
}
.submit:hover {
  opacity: 0.7;
}

.button {
  cursor: pointer;
  transition: opacity ease-in 150ms;
  line-height: 24px;
  font-family: Calibri;
  font-size: 18px;
  min-height: 40px;
  display: block;
  width: 100%;
  border: 1px solid transparent;
  outline: none !important;
  padding: 5px 20px;
  font-weight: bold;
  border-radius: 30px;
  color: inherit;
  box-sizing: border-box;
  background-color: rgba(23, 35, 62, 0.08);
  line-height: 1em;
  display: block;
  text-decoration: none;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #17233e;
  justify-content: center;
  width: auto;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  min-width: 250px;
}
.button:hover {
  opacity: 0.7;
}

/*
 * Tekst
*/
.title {
  font-size: 42.5px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #17233e;
  line-height: 1em;
  margin: 0;
  display: inline-block;
  border-bottom: 6px solid white;
  transition: border-color 150ms ease-in;
  margin-right: auto;
}
.title.-large {
  font-size: 70px;
}
.title:hover {
  border-color: orange;
}

.subtitle {
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #17233e;
  padding-bottom: 2px;
  color: #37baea;
}

.link {
  font-size: 12px;
  line-height: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(23, 35, 62, 0.5);
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity ease-in 150ms;
  color: #37baea;
  display: inline-block;
  line-height: 1.5em;
  border-bottom: 1px solid rgba(55, 186, 234, 0.7);
  font-size: 0.6em;
  margin-top: 20px;
  margin-left: auto;
}
.link:hover {
  opacity: 0.7;
}

a {
  color: inherit;
}

/*
 * Nav
*/
.nav {
  margin: 0;
  padding: 0;
  display: flex;
}

.nav__list {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav__link:hover, .menu__button:hover {
  background-color: #d9d9d9;
}

.nav__link.-active {
  background: #8ebf66;
  color: white;
}

.nav__link, .menu__button {
  height: 45px;
  display: flex;
  padding: 0 33px 0 30px;
  border-bottom-right-radius: 20px;
  align-items: center;
  background-color: #ededed;
  text-decoration: none;
  font-weight: bold;
  background-size: 200%;
  transition: background 300ms ease-out;
  margin: 0 0 0 20px;
  cursor: pointer;
}

.nav__link.-home {
  font-family: "Material Icons";
}

.menu__button {
  font-family: "Material Icons";
  margin-left: auto;
  margin-right: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 0;
}

/*
 * Filter
*/
.filters {
  flex: 300px 0 0;
  align-self: flex-start;
  position: sticky;
  bottom: 0;
  padding: 0 0 40px 0;
}

.filters__title {
  cursor: pointer;
  transition: opacity ease-in 150ms;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #17233e;
  margin: 0;
  padding: 0 20px;
  height: 60px;
  grid-template-columns: 1fr 60px;
  align-items: center;
  display: none;
}
.filters__title:hover {
  opacity: 0.7;
}

.filter__icon {
  transition: transform ease-in 150ms;
  font-family: "Material Icons";
  opacity: 0.5;
  vertical-align: middle;
  text-align: center;
  margin-left: 5px;
}

.filter {
  margin: 20px;
}
.filter:not(:last-child) {
  border-bottom: 1px solid rgba(197, 209, 217, 0.5);
  padding-bottom: 20px;
}

.filter__title {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(23, 35, 62, 0.5);
  letter-spacing: 0.5px;
  margin: 20px 0;
}

/*
 * Vertical bar width 
*/
.offer {
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 0 40px 0;
}
.offer + .content {
  padding: 0;
}

/*
 * Training overview
*/
.training {
  background-color: white;
  display: flex;
  cursor: pointer;
  min-height: 250px;
  flex: 0 0 auto;
  position: relative;
  align-items: center;
}
.training:not(:last-child) {
  margin-bottom: 80px;
}
.training:hover .training__title {
  border-bottom: 6px solid orange;
}
.training:nth-child(odd) .training__img {
  order: -1;
}

.training__content {
  margin: 20px;
  flex: 1;
  z-index: 1;
  position: relative;
}

.training__paragraph {
  line-height: 24px;
  font-family: Calibri;
  font-size: 18px;
  margin: 30px 0;
}

.training__img {
  margin: 20px;
  background-color: #17233e;
  flex: 1;
  background-position: center;
  background-size: cover;
  min-height: 300px;
  border-top-right-radius: 150px;
  border-bottom-left-radius: 150px;
  background-image: url("/portaal/img/default__training.jpg");
}

/*
 * Content
*/
.content {
  display: none;
  flex: 2;
  overflow: hidden;
  position: sticky;
  padding: 0 300px;
}
.content.active {
  display: block;
}

.content__header {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 80px;
}
.content__header > div {
  padding: 50px 0;
}

.content__header__img {
  background-image: url("/portaal/img/default__training.jpg");
  margin-top: -20px;
  margin-bottom: -40px;
  min-height: 100%;
  border-bottom-left-radius: 150px;
  background-position: center;
  background-size: cover;
  padding-bottom: 100px;
  height: 300px;
}

.content__inner {
  margin: 20px;
}

.content__close {
  cursor: pointer;
  transition: opacity ease-in 150ms;
  width: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 30px;
  color: white;
  background-color: #17233e;
  margin: auto;
}
.content__close:hover {
  opacity: 0.7;
}

.content__title__wrapper {
  display: grid;
  grid-template-columns: 1fr 36px;
}
.content__title__wrapper .title {
  border-bottom: 6px solid orange;
}

.content__item {
  display: grid;
  grid-gap: 20px;
  align-items: center;
  margin: auto;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0;
}

.content__img {
  max-width: 250px;
  justify-self: end;
  padding: 0 40px;
}
.content__img img {
  max-width: 100%;
}

.content__item__text + .content__img {
  justify-self: start;
}

.details__button {
  cursor: pointer;
  transition: opacity ease-in 150ms;
  line-height: 24px;
  font-family: Calibri;
  font-size: 18px;
  min-height: 40px;
  display: block;
  width: 100%;
  border: 1px solid transparent;
  outline: none !important;
  padding: 5px 20px;
  font-weight: bold;
  border-radius: 30px;
  color: white;
  box-sizing: border-box;
  background-color: #37baea;
  line-height: 1em;
  display: block;
  text-decoration: none;
}
.details__button:hover {
  opacity: 0.7;
}

.details__paragraph {
  line-height: 24px;
  font-family: Calibri;
  font-size: 18px;
}

/**
 * Register
*/
.register {
  padding: 40px 20px;
  max-width: 100%;
  width: 740px;
  margin: auto;
  box-sizing: border-box;
}

.fieldset {
  border: none;
  padding: 0;
  margin: 0;
  margin: 30px 0;
  position: relative;
}

.register__subtitle {
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #17233e;
  padding: 0 0 2px 0;
  color: #37baea;
}

.remove {
  float: right;
  font-family: "Material Icons";
  cursor: pointer;
  transition: opacity ease-in 150ms;
}
.remove:hover {
  opacity: 0.7;
}

/**
 * Table / small info headings
*/
.summary {
  border: 1px solid rgba(197, 209, 217, 0.5);
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.summary + .summary {
  border-top: 0;
}

.summary__expand {
  flex-direction: column;
  padding: 10px 0 20px 0;
  position: relative;
  justify-content: center;
  display: flex;
  width: 100%;
  cursor: pointer;
  transition: opacity ease-in 150ms;
}
.summary__expand:hover {
  opacity: 0.7;
}
.summary__expand:after {
  transition: transform ease-in 150ms;
  content: "\e313";
  font-family: "Material Icons";
  position: absolute;
  right: 10px;
  top: 0px;
}
.summary__expand > div {
  margin: 5px 0;
  line-height: 24px;
  font-family: Calibri;
  font-size: 18px;
  text-align: center;
}
.summary__expand.-active:after {
  transform: rotate(180deg);
}
.summary__expand.-active:before {
  content: "";
  left: 10px;
  right: 10px;
  bottom: 10px;
  top: 0;
  position: absolute;
  border-top-right-radius: 100px;
  border-bottom-left-radius: 100px;
  background-color: #eff9ff;
  z-index: -1;
}

.summary__item {
  flex: 1 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1em;
  padding: 10px 10px 10px 0;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #17233e;
}
.summary__item i {
  width: 36px;
  color: #37baea;
}

.summary__label {
  font-size: 12px;
  line-height: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(23, 35, 62, 0.5);
  letter-spacing: 0.5px;
  display: block;
  color: #37baea;
}

/*
 *
*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(23, 35, 62, 0.8);
  display: flex;
  animation: fadein 500ms forwards;
  align-items: center;
  justify-content: center;
}

.modal__inner {
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
  width: 500px;
  max-width: calc(100% - 20px);
  margin: 10px;
  animation: slidein 300ms forwards;
}

.modal__header {
  background-color: #8ebf66;
  display: flex;
  position: relative;
}

.modal.-error .modal__header {
  background-color: #EF7150;
}

.modal__header.-error {
  background-color: #EF7150;
}

.modal__icon {
  width: 50px;
  height: 50px;
  border: 5px solid white;
  border-radius: 30px;
  font-size: 56px;
  color: white;
  margin: 20px auto;
  line-height: 42px;
  text-align: center;
}

.modal__body {
  padding: 20px;
  text-align: center;
  overflow-y: scroll;
  max-height: calc(100vh - 300px);
}
.modal__body h4 {
  font-size: 42.5px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #17233e;
  line-height: 1em;
  margin: 0;
  display: inline-block;
  border-bottom: 6px solid white;
  transition: border-color 150ms ease-in;
  margin-right: auto;
  color: rgba(23, 35, 62, 0.8);
}
.modal__body h4.-large {
  font-size: 70px;
}
.modal__body p {
  margin: 0;
  color: rgba(23, 35, 62, 0.8);
}

.modal__close {
  background: none;
  outline: none;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  right: 10px;
  top: 10px;
  position: absolute;
}

.payment {
  display: flex;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  font-weight: normal;
  flex-wrap: wrap;
}
.payment i {
  margin: 0 10px;
}
.payment.-betaald .result {
  color: #8ebf66;
}
.payment.-geannuleerd .result, .payment.-in-afwachting .result {
  color: #EF7150;
}
.payment.-terugbetaald .result {
  color: rgba(23, 35, 62, 0.5);
}

.costs {
  padding: 0 20px;
}

.cost__item {
  justify-content: space-between;
  display: flex;
  padding: 5px 0;
}
.cost__item:last-child {
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.cost__label {
  font-size: 12px;
  line-height: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(23, 35, 62, 0.5);
  letter-spacing: 0.5px;
  display: block;
  color: #8ebf66;
}

.-betaalwijze .input__radio + label {
  padding: 10px 0;
  margin: 0;
}
.-betaalwijze .input__radio + label:not(:last-child) {
  border-bottom: 1px solid rgba(197, 209, 217, 0.5);
}

.voorwaarden {
  font-size: 0.7em;
}
.voorwaarden label {
  display: block;
  align-items: center;
  font-weight: normal;
}
.voorwaarden label:before {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  vertical-align: middle;
  margin-top: -2px;
  margin-right: 5px;
}
.voorwaarden .link {
  border-bottom: none;
  margin-left: auto;
  margin-top: 0;
  font-size: inherit;
  text-transform: none;
  font-family: inherit;
  text-decoration: underline;
  font-weight: normal;
}

#actions {
  display: grid;
  grid-gap: 10px;
  align-items: flex-start;
  justify-content: start;
  grid-auto-rows: auto;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slidein {
  0% {
    transform: translateY(-50px);
  }
  100% {
    transform: translateY(0);
  }
}
/**
 * Vue JS animations
 */
.training-enter-active,
.training-leave-active,
.register-enter-active,
.register-leave-active,
.content-enter-active,
.content-leave-active {
  transition: all 500ms;
}

.register-leave-active {
  position: absolute;
  opacity: 0;
}

.training--is-active.training-leave-active {
  transition: none !important;
  animation: none;
}

.training-enter,
.training-leave-to,
.register-enter,
.register-leave-to,
.content-enter {
  opacity: 0;
  transform: translateX(30px);
}

.content-leave-active {
  display: none;
}

test2 {
  display: flex;
}
