
* {
  margin: 0; 
  padding: 0; 
  border: 0;
}

html {
  box-sizing: border-box;
}

*, 
*:before, 
*:after {
  box-sizing: inherit;
}

section {
  /* move top and bottom padding to inner div */
  /* padding: 9px 12px 18px 27px; */ /* IE8 */
  /* padding: 0.6rem 0.8rem 1.8rem 0.8rem; */
  padding-left: 12px; /* IE8 */
  padding-left: 0.8rem;
  padding-right: 12px; /* IE8 */
  padding-right: 0.8rem;
}

img.full {
  width: 100%;
}

img.wide {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1065px; /* IE8 */
  max-width: 71rem;
  width: 100%;
}

input[type=text],
input[type=password],
textarea {
    border-radius: 0.2rem;
    display: inline-block;
    margin-bottom: 0.6rem;
    margin-top: 0.4rem;
    padding: 6px; /* IE8 */
    padding: 0.4rem;
    width: 100%;
}


input[type=submit] {
  border-radius: 0.3em;
  margin-bottom: 3px; /* IE8 */
  margin-bottom: 0.2em;
  opacity: 0.85;
  padding: 6px 12px; /* IE8 */
  padding: 0.5rem 1.3rem 0.5rem 1.25rem;
}

textarea {
  min-height: 8rem;
}

.columns {
  margin-left: auto;
  margin-right: auto;
  max-width: 795px; /* IE8 */
  max-width: 53rem;
}

.columns:first-child {
  padding-top: 9px; /* IE8 */
  padding-top: 0.6rem;
}

.columns:last-child {
  padding-bottom: 30px; /* IE8 */
  padding-bottom: 2rem;
}

.columns.wide {
  max-width: 960px; /* IE8 */
  max-width: 64rem;
}

.columns.full {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}


a[href^=tel\:]{
  text-decoration: none;
}




/* cookie consent */
#cookie-consent {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 998;
}

#cookie-consent section {
  padding-bottom: 18px; /* IE8 */
  padding-bottom: 1.2rem;

}

#cookie-consent div {
  padding-top: 12px; /* IE8 */
  padding-top: 0.8rem;
  
}

#cookie-consent .two-buttons {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

#cookie-consent .two-buttons span {
  flex: 0 1 auto;
}



/* header */
header {
  box-shadow: 0 0 0.5rem 0 rgba(0,0,0,0.2);
  height: 77px; /* IE8 */
  height: calc(3.7rem + 0.2rem + 0.6rem + 0.6rem); /* logo height + img padding top + twice section padding*/
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

header section {
  padding: 9px; /* IE8 */
  padding: 0.6rem;
}

header section div {
  padding-bottom: 0;
  padding-top: 0;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

header section div span {
  flex: 0 1 auto;
}

#teamspot-logo a {
  margin: 0;
}

#teamspot-logo img {
  display: block;
  margin-top: 3px; /* IE8 */
  margin-top: 0.2rem;
  height: 55px; /* IE8 */
  height: 3.7rem;
}

#login-button {
  padding-right: 8px; /* IE8 */
  padding-right: 0.5rem;
}



/* main */
main section:first-child {
  padding-top: 77px; /* IE8 */
  padding-top: calc(3.7rem + 0.2rem + 0.6rem + 0.6rem); /* same as height of header */
}

iframe {
  width: 100%;
}

#intro {
  background-image: url("intro-background.jpg");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

#intro div {
  background-image: url("/public_assets/teamspot-stagecoordinator-huub.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: calc(0.4 * 320px) calc(0.4 * 600px);
  padding-bottom: 0;
}

#intro-call-to-action,
#intro-title,
#intro-quote {
  display: block;
  padding-bottom: 1rem;
}

#intro-quote {
  padding: 0.1rem calc(0.4 * 320px) 0.1rem 0.1rem;
  padding-bottom: 2rem;
}

#intro-afbeelding img {
  width: 100%;
  display: block;
}

#intro-call-to-action {
  padding-bottom: 3rem;
}

#leren-in-met {
  background-image: url("/public_assets/teamspot-stagecoordinator-leerling-expert.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 270px 180px; /* IE8 */
  background-size: calc(0.35 * 900px) calc(0.35 * 600px);
  padding-bottom: 1600px; /* IE8 */
  padding-bottom: calc(0.3 * 600px);
}

.aspect-ratio {
  display: block;
  height: 0;
  padding-bottom: 50%; /* aspect ratio of video */
  position: relative;
  width: 100%;
}

.aspect-ratio iframe {
  height: 100%;
  left: 0; 
  position: absolute;
  top: 0;
  width: 100%;
}

.testimonial {
  display: block;
  margin: 1rem 0 0 0;
}

.testimonial .quote {
  display: block;
  padding: 12px; /* IE8 */
  padding: 0.8rem;
  border-radius: 0.6rem;
}

.testimonial .speech-bubble {
  display: block;
  height: 1.2rem;
  background-position: 25% bottom;
  background-repeat: no-repeat;
}

.testimonial .quotee {
  display: grid;
  grid-column-gap: 1rem;
  grid-template-columns: 90px 1fr;
  grid-template-rows: 45px 45px;
  margin-bottom: 1rem;
}

.testimonial .quotee.no-quotee-pict {
  grid-template-columns: 0 1fr;
}

.quotee-pict {
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 0.6rem 0 0 0;
}

.quotee-pict img {
  border-width: 5px;
  border-style: solid;
  border-radius: 50%;
  height: 90px;
  width: 90px;
}

.quotee-name {
  align-self: end;
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
}

.quotee-func {
  align-self: start;
  grid-column: 2;
  grid-row: 2;
}


#partner-logos {
  text-align: center;
}

#partner-logos img {
  height: 70px;
}

.checked {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' x='0px' y='0px' viewBox='0 0 30 30' style='enable-background:new 0 0 20 20;' xml:space='preserve'%3E %3Cpolyline fill='%2378D23C' points='23.822,12.073 12.641,23.253 6.934,17.546 3.893,20.586 12.641,29.334 26.862,15.113'%3E%3C/polyline%3E %3C/svg%3E");
  background-position: top left;
  background-repeat: no-repeat;
  display: block;
  margin: 1rem 0;
  padding: 0.3rem 0 0.3rem 50px;
}

footer {
  padding-bottom: 15px; /* IE8 */
  padding-bottom: 1rem;
}



/* B U T T O N S */
.btn {
  border-radius: 0.3em;
  display: inline-block;
  font-size: 110%;
  margin-bottom: 3px; /* IE8 */
  margin-bottom: 0.2em;
  text-decoration: none;
}

.btn span {
  opacity: 0.85;
  padding: 6px 12px; /* IE8 */
  padding: 0.5rem 1.3rem 0.5rem 1.25rem;
  display: inline-block;
}

.btn span:hover,
.btn span:active {
  opacity: 1;
}

input[type=submit]:active,
.btn:active {
  margin-top: 3px; /* IE8 */
  margin-top: 0.2em;
  margin-bottom: 0;
}

.btn-large {
  font-size: 120%;
}

.btn-green {
  background-color: #78D23C;
  box-shadow: 0 0.25em 0 #64BE28;
  color: #FFF;
}

.link-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10px' height='20px' x='0px' y='0px' viewBox='0 0 10 20' style='enable-background:new 0 0 10 20;' xml:space='preserve'> <rect x='0' y='0' width='10' height='20'></rect> </svg>");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 11px 22px; /* IE8 */
  background-size: 0.7em 1.4em;
  padding-left: 18px; /* IE8 */
  padding-left: 1.2em;
}

.icon-login {
  background-size: 17px 22px; /* IE8 */
  background-size: 1.1em 1.4em;
  padding-left: 21px; /* IE8 */
  padding-left: 1.4em;
}



@media only screen and (min-width: 360px) {
  #intro-quote p {
    margin-left: auto;
    max-width: 18rem;
  }
  #partner-logos img {
    height: 80px;
  }
}


@media only screen and (min-width: 540px) {
  #intro div {
    background-position: 380px bottom;
    background-size: calc(0.48 * 320px) calc(0.48 * 600px);
  }
  #intro-quote p {
    margin-left: 120px;
    margin-right: auto;
    max-width: 270px; /* IE8 */
    max-width: 18rem;
  }
  #leren-in-met {
    background-size: 432px 288px;
    background-size: calc(0.48 * 900px) calc(0.48 * 600px);
    padding-bottom: 252px;
    padding-bottom: calc(0.42 * 600px);
  }
  #partner-logos img {
    height: 120px;
  }
}


@media only screen and (min-width: 600px) {
  .three-columns {
    display: -ms-grid;
    -ms-grid-rows: auto 2rem auto 2rem auto ;
    -ms-grid-columns: 50% 2rem 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
  }
  .three-columns span {
    display: block;
    -ms-grid-column-span: 1;
  }
  .three-columns span:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .three-columns span:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .three-columns span:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  .three-columns span:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }
  .three-columns span:nth-child(5) {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
  }
  .three-columns span:nth-child(6) {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
  }
}

@media only screen and (min-width: 660px) {
  .columns:first-child {
    padding-top: 39px; /* IE8 */
    padding-top: 2.6rem;
  }
  .columns:last-child {
    padding-bottom: 54px; /* IE8 */
    padding-bottom: 4rem;
  }
  .two-columns,
  .three-columns {
    display: -ms-grid;
    -ms-grid-rows: auto 2rem auto 2rem auto ;
    -ms-grid-columns: 50% 2rem 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
  }
  .two-columns span {
    display: block;
    -ms-grid-column-span: 1;
  }
  .two-columns span:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .two-columns span:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .youtube {
    display: block;
  }
  #cookie-consent .two-buttons {
    justify-content: center;
  }
  #cookie-consent .two-buttons > span {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  #intro {
    background-position: center top;
    background-size: cover;
  }
  #intro div {
    background-size: calc(0.52 * 320px) calc(0.52 * 600px);
    display: -ms-grid;
    -ms-grid-rows: auto auto;
    -ms-grid-columns: 380px 1rem auto;
    display: grid;
    grid-template-columns: 400px 1fr;
  }
  #intro-quote {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    padding: 2.5rem 0.1rem 2rem 0.1rem;
  }
  #intro-call-to-action {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }
  #partner-logos img {
    height: 130px;
  }
  #testimonials {
    padding-bottom: 0;
  }
  .testimonial {
    margin: auto 0 1rem 0;
    -ms-grid-row-align: end;
  }
  .testimonial .quotee {
    grid-template-columns: calc(90px + 2rem) 1fr;
  }
  .quotee-pict {
    margin-left: 2rem;
  }
}

@media only screen and (min-width: 720px) {
  #intro div {
    background-size: 186px 348px;
    background-size: calc(0.58 * 320px) calc(0.58 * 600px);
  }
  .youtube {
    display: -ms-grid;
    display: grid;
  }
}


@media only screen and (min-width: 960px) {
  #partner-logos img {
    height: 140px;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  #partner-logos img:first-child {
    margin-left: 0;
  }
  #partner-logos img:last-child {
    margin-right: 0;
  }
  .three-columns {
    -ms-grid-rows: auto 2rem auto;
    -ms-grid-columns: 33% 2rem 33% 2rem 33%;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .three-columns span {
    display: block;
    -ms-grid-column-span: 1;
  }
  .three-columns span:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .three-columns span:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .three-columns span:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
  }
  .three-columns span:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  .three-columns span:nth-child(5) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }
  .three-columns span:nth-child(6) {
    -ms-grid-row: 3;
    -ms-grid-column: 5;
  }
  #leren-in-met {
    background-position: calc(60% + 280px) bottom;
    background-size: calc(0.54 * 900px) calc(0.54 * 600px);
    padding-bottom: 2rem;
  }
  .testimonial .quotee {
    margin-bottom: 2rem;
  }
}


@media only screen and (min-width: 1860px) {
  #partner-logos img {
    height: 180px;
  }
}


/* for iPhone X landscape notch */
@supports (padding: max(0px)) {
  section {
    padding-left: max(0.8rem, env(safe-area-inset-left)); 
    padding-right: max(0.8rem, env(safe-area-inset-right)); 
  }
}
