/* Sidebar */
aside {
  min-width: 450px;
  width: 450px;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}

aside #share {
	border-radius: 6px;
	background-color: #FBC8B5;
}

aside #share img {
	width: 100%;
}

aside #share h3 {
	text-align: center;
}

aside #share .paragraph {
	width: calc(100% - 3.4rem);
	margin: 1.2rem auto;
}

aside #teacher {
	background-image: url('../img/cyriele-classes.jpg');
	background-size: cover;
	border-radius: 6px;
}

aside #teacher p {
    color: #FFF;
    padding: 23rem 1.2rem 1.2rem;
}

aside #yap {
	margin: 0 auto;
}

aside #yap img {
	width: 200px;
	height: 200px;
}

.flag {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	font-weight: 100;
	font-size: 0.8rem;
}

.line {
	display: flex;
	align-items: center;
}


/* Embedded Elements */
figure.player {
    margin: 4em 0;
}

article figure iframe, article section figure blockquote {
    margin: 0 auto !important;
    min-width: auto !important;
}

p.date, p.location {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-weight: 700;
    margin: 0;
}

p.location {
    margin-bottom: 1rem;
}


/* Hero */
#hero {
	background-image: url('../img/hero-bg.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position-x: center;
	color: #FFF;
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#hero .content {
  width: 100%;
	flex-grow: 1;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}

#hero .content ul {
	box-sizing: inherit;
	display: flex;
	flex-direction: row;
	gap: 75px;
  justify-content: center;
	width: 100%;
	padding: 10%;
}

#hero .content ul li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}


/* Newsletter */
#newsletter {
	position: relative;
}

#newsletter svg {
  position: absolute;
  left: 50%;
  top: -25px;
}

#newsletter .content {
  max-width: 604px;
  text-align: center;
  padding: 70px 0;
}


/* Description */
#description {
	background-color: #FBC8B5;
  width: 100%;
  padding: 70px 0;
}

#description .content {
	display: flex;
	flex-direction: column;
	max-width: 947px;
}

#description .content .paragraph {
	display: flex;
	flex-direction: row;
	position: relative;
}

#description .content img {
	position: absolute;
	border-radius: 0;
}

#description .content svg {
	z-index: 999;
}

#description .content .paragraph .wrapper {
	display: flex;
	flex-direction: column;
	max-width: 405px;
}

#description .content #ground.paragraph {
	justify-content: right;
  align-items: center;
  gap: 80px;
  margin-bottom: 240px;
}

#description .content #ground.paragraph img {
	top: 0;
	left: 0;
}

#description .content #move.paragraph {
	flex-direction: column;
  align-items: flex-start;
  gap: 70px;
  text-align: right;
  margin-bottom: 50px;
}

#description .content #move.paragraph img {
	top: 0;
	right: -35px;
}

#description .content #move.paragraph svg {
  margin-left: 200px;
  transform: rotate(270deg);
}

#description .content #move.paragraph .wrapper {
	margin-left: 100px;
}

#description .content #action.paragraph {
	flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  align-self: flex-end;
  margin-bottom: 180px;
}

#description .content #reconnect.paragraph img {
	top: -105%;
  left: -25%;
}

#description .content #reconnect.paragraph {
	flex-direction: column;
  align-items: center;
  gap: 40px;
}

#description .content #reconnect.paragraph .wrapper {
	align-items: flex-start;
}


/* Yoga With Cyrièle */
#yoga {
	background-image: url('../img/yoga-with-cyriele.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position-x: center;
	color: #FFF;
	width: 100%;
	display: flex;
	flex-direction: column;
	padding-top: 214px;
  align-items: center;
  text-align: center;
}

#yoga .content .paragraph p {
    max-width: 445px;
    margin: 60px auto 30px auto;
    margin-bottom: 30px;
}

/* Footer */
footer {
	margin-top: 4.6rem;
	width: 100%;
	background-color: #318E86;
	color: #FFF;
}

#index footer {
	margin-top: 575px;
	background-color: transparent;
}

footer .copyright {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 0.8em;
  margin: 6em 0 2em 0;
  font-weight: 400;
  letter-spacing: 0.3rem;
}

footer form, footer form select {
  display: inline;
  width: 50px;
  background-color: #FFF;
}

footer .content {
	padding-bottom: 30px;
}

.g-recaptcha div {
	margin: auto;
}

input[type="button"], input[type="submit"] {
    margin: 0;
    width: auto;
    color: #FFF;
    padding: 10px 20px;
    display: inline;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.95em;
    line-height: 2.0em;
    border-top: none;
    border-left: none;
    border-radius: 6px;
}

input[type="button"].primary, input[type="submit"].primary {
    background-color: #318E86;
    border-right: 1px solid #246C66;
    border-bottom: 1px solid #246C66;
}

input[type="button"].primary:hover, input[type="submit"].primary:hover { 
    background-color: #246C66;
}

input[type="button"].secondary, input[type="submit"].secondary {
    background-color: #FDE3DA;
    border-right: 1px solid #FBC8B5;
    border-bottom: 1px solid #FBC8B5;
    color: #000;
}

input[type="button"].secondary:hover, input[type="submit"].secondary:hover {
    background-color: #FBC8B5;
}

input[type="button"].primary:disabled, input[type="submit"].primary:disabled {
  background-color: #D9D9D9;
  color: #F9F9F9;
  border: none;
  cursor: not-allowed;
}

input[type="button"].primary:disabled:hover,  input[type="submit"].primary:disabled:hover {
  background-color: #D9D9D9;
  color: #F9F9F9;
  border: none;
  cursor: not-allowed;
}

input[type="button"].secondary:disabled, input[type="submit"].secondary:disabled {
  background-color: #D9D9D9;
  color: #F9F9F9;
  border: none;
  cursor: not-allowed;
}

input[type="button"].secondary:disabled:hover,  input[type="submit"].secondary:disabled:hover {
  background-color: #D9D9D9;
  color: #F9F9F9;
  border: none;
  cursor: not-allowed;
}




/* Schedule */

#content {
	display: flex;
	flex-direction: row;
	gap: 2.6rem;
	width: calc(100% - 4rem);
  max-width: 1380px;
  margin-top: 5rem;
}

#articles {
	gap: 2.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 2;
}

#allClasses, #allPasses {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

#allClasses .block_classe {
	display: flex;
	gap: 3rem;
    margin-bottom: 3rem;
}

#allClasses .block_classe::last-of-type {
    margin-bottom: 0;
}

#allClasses > div:not(:last-child)::after {
	content: url('/img/hr.svg');
}

#allClasses .block_classe .classe_visuel {
	position: relative;
}

#allClasses .block_classe .classe_visuel .horaire {
	position: absolute;
	bottom: 0.7rem;
	left: 0.7rem;
}

#allClasses .block_classe .classe_visuel .horaire p.date, #allClasses .block_classe .classe_visuel .horaire p.time {
	color: #FFF;
    margin: 0;
}

#allClasses .block_classe .classe_visuel .horaire p.date {
	font-weight: 500;
	text-transform: uppercase;
}

#allClasses .block_classe .classe_details {
	max-width: 350px;
    max-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
}

#allClasses .block_classe .flag img {
    width: 24px;
}

#allClasses .block_classe .classe_details h3 {
	margin-bottom: 1rem;
}

#book #allClasses {
    flex-direction: column-reverse;
}





/* On Demand */
#header-VOD {
 position: relative;
 margin-top: 2.25rem;
}

#header-VOD img {
    width: 100%;
}

#header-VOD .info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: absolute;
	top: 1.875rem;
	left: 1.875rem;
	right: 1.875rem;
}

#header-VOD .info .header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

#header-VOD .info .header h3 {
	margin: 0;
}

form#vodFilters, form#classesFilters {
	align-items: center;
	margin: 0;
}

form#vodFilters {
	justify-content: space-between;
}

form#classesFilters {
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 1rem 2.5rem;
}

form#vodFilters #language-choice, form#classesFilters #language-choice, form#classesFilters #type-choice {
	display: flex;
	flex-direction: row;
	gap: 0;
}

form#vodFilters #language-choice-en .toggleButton + label, form#classesFilters #language-choice-en .toggleButton + label, form#classesFilters #type-choice-studio .toggleButton + label {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

form#vodFilters #language-choice-fr .toggleButton + label, form#classesFilters #language-choice-fr .toggleButton + label, form#classesFilters #type-choice-online .toggleButton + label {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

#view-choice {
	margin-left: auto;
}

#view-choice button {
	display: inline-block;
	width: auto;
	background: none;
	border: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

#view-choice button[aria-pressed="true"] {
	text-decoration: underline;
}

#classesCalendar[hidden], #allClasses[hidden],
#classes-filter-empty[hidden], #calendar-filter-empty[hidden] {
	display: none;
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 1rem;
}

.calendar-heading {
	background: #d9d9d9;
	text-align: center;
	border-radius: 2px;
	font-size: 0.75rem;
}

.calendar-day {
	min-width: 0;
}

.calendar-outside {
	opacity: 0.4;
}

.calendar-date {
	padding: 0.2rem;
	margin: 0 0 0.5rem;
	background: #d9d9d9;
	color: #151515;
	font-size: 0.75rem;
	text-align: center;
}

.calendar-class {
	border: 1px solid #eee;
	border-radius: 3px;
	padding: 0.3rem;
	margin-bottom: 0.5rem;
	text-align: center;
	font-size: 0.7rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.calendar-details p {
	font-size: inherit;
	line-height: inherit;
	margin: 0 0 0.5rem;
}

.calendar-details a, .calendar-details button {
	display: block;
	background: #318E86;
	color: white;
	padding: 0.6rem 0.2rem;
	margin-top: 0.75rem;
	border-radius: 4px;
	font-size: 0.8rem;
	letter-spacing: normal;
}

.calendar-details button {
	width: 100%;
	border: 0;
	font-family: inherit;
	line-height: inherit;
}

.calendar-details button:disabled, .calendar-marker[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
}

#classesCalendar .calendar-marker {
	display: none;
}

form#vodFilters p#result {
	margin: 0;
	font-weight: 100;
}

#allVODClasses {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2.4rem;
  justify-content: space-between;
}

#allVODClasses form {
  margin: 0;
  flex-direction: column;
  max-width: 440px;
  width: 100%;
}

#allVODClasses form button {
  margin: 0;
  align-self: flex-end;
}

#allVODClasses .classRental {
  width: calc(50% - 2.4rem);
  border: 1px solid #FBDF02;
  border-radius: 6px;
  position: relative;
}

#allVODClasses .classRental img {
  width: 100%;
  border-radius: 6px 6px 0 0;
}

#allVODClasses .classRental button {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 5rem auto;
  width: fit-content;
  height: fit-content;
}

#allVODClasses .classRental .classe_details {
  padding: 1.2rem;
}

.classe_details .header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.classe_details .header h3 {
  margin: 0;
}

.classe_details .header .info, #preferences .info {
	display: flex;
	flex-direction: row;
	gap: 0.3rem;
	justify-content: center;
	align-items: center;
	width: fit-content;
}

.classe_details .header .info p {
    color: #4F4F4F;
    margin: 0;
}

#preferences .info form, #preferences .info h6 {
	margin: 0;
}

span.more {
  display: none;
}


/* Retreats & Workshops */





/* Waiver */

#document h1 {
    width: 150px;
    margin: auto;
}

#document #waiver {
    margin: 2em 4em;
}

#document #waiver header {
    padding: 0;
    margin: 0 0 3rem 0;
    align-items: center;
    gap: 2rem;
}

#document #waiver form {
    flex-direction: column;
}

#document #waiver form button {
    margin: 0;
}

#document #waiver ul {
    list-style: disc;
    padding: 0 2rem;
}

#document #waiver .half {
    width: 50%;
    display: inline-block;
    text-align: center;
}

#document #waiver .half img {
    width: 100%;
    vertical-align: text-top;
}

#document #waiver input[type="text"], #document #waiver input[type="date"] {
    display: inline-block;
    max-width: 220px;
}

#document #waiver input[type="date"] {
    display: inline-block;
    max-width: 150px;
}

#document #waiver .signature-modal-container, #document #waiver .signature-loading-modal-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

#document #waiver .signature-modal-container.visible, #document #waiver .signature-loading-modal-container.visible {
    opacity: 1;
    pointer-events: all;
}

#document #waiver .signature-modal-container .content {
    background: #f9f9f9;
    padding: 1rem;
    max-width: 600px;
    max-height: 400px;
    width: calc(100% - 2rem);
}

#document #waiver .signature-modal-container #top p {
    margin: 0;
}

#document #waiver .signature-modal-container canvas {
    border: 1px solid #e9e9e9;
    background-color: #FFF;
    display: block;
    width: 100%;
    min-height: 55%;
    height: 200px;
    margin: 1em 0;
}

#document #waiver .signature-modal-container canvas.error {
    border: 1px solid #DB9797;
}

#document #waiver .signature-modal-container input[type="file"] {
    display: none;
}

#document #waiver .signature-modal-container input[type="checkbox"] {
    margin: 0.6em 1em 0 1em;
    display: inline-block;
    width: auto;
    /* Double-sized Checkboxes */
  -ms-transform: scale(1.2); /* IE */
  -moz-transform: scale(1.2); /* FF */
  -webkit-transform: scale(1.2); /* Safari and Chrome */
  -o-transform: scale(1.2); /* Opera */
  transform: scale(1.2);
  padding: 10px;
}

#document #waiver .signature-loading-modal-container svg {
    animation: 2s linear infinite svg-animation;
    max-width: 100px;
}

#document #waiver .signature-loading-modal-container circle {
    animation: 1.4s ease-in-out infinite both circle-animation;
    display: block;
    fill: transparent;
    stroke: #ff734e;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 280;
    stroke-width: 10px;
    transform-origin: 50% 50%;
}

#document #waiver .signature-modal-container header, #document #waiver .signature-modal-container footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
    background-color: #f9f9f9;
    color: #000;
    text-align: left;
}

#document #waiver .signature-modal-container footer span {
	display: flex;
    align-items: center;
    gap: 1rem;
}

label.checkbox-label {
  display: block;
  position: relative;
  user-select: none; /* stop text selection on click because it looks weird */
  line-height: 20px;
  vertical-align: middle;
  width: max-content;
}

label.checkbox-label > svg {
  display: block;
  float: left;
  width: 20px;
  height: 20px;
  margin: 0 5px 0 0; /* 5px right padding before adjacent label text */
  padding: 0;
  border-radius: 0;
  border: 1px solid #EEE;
  box-sizing: border-box;
  pointer-events: none;
  background-color: #FFF;
}

label.checkbox-label > svg > polyline.check {
  fill: none;
  stroke: #318E86;
  stroke-width: 6;
  
  /* changing the dashoffset is hwo the animation works - see https://visionary.com/blog/making-an-animated-svg-checkbox/ for more details */
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset 100ms ease;
}

label.checkbox-label > input[type="checkbox"]:checked + svg > polyline.check {
  /* effectively hides the checkmark when the checkbox is checked */
  stroke-dashoffset: 0;
}

label.checkbox-label > input[type="checkbox"]:disabled + svg {
  /* disabled state styling */
  background-color: #f8f8f8;
}

/* hide the actual checkbox */
label.checkbox-label > input[type="checkbox"] {
  position: absolute;
  overflow: hidden;
  appearance: none;
  opacity: 0;
}


/* Signature */
#document #waiver .signature-loading-modal-container svg {
    animation: 2s linear infinite svg-animation;
    max-width: 100px;
}

#document #waiver .signature-loading-modal-container circle {
    animation: 1.4s ease-in-out infinite both circle-animation;
    display: block;
    fill: transparent;
    stroke: #246C66;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 280;
    stroke-width: 10px;
    transform-origin: 50% 50%;
}

#document #waiver .signature-portrait-modal-container { 
    display: none;
}





@keyframes svg-animation {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg)
    }
}

@keyframes circle-animation {
    0%,
    25% {
        stroke-dashoffset: 280;
        transform: rotate(0);
    }

    50%,
    75% {
        stroke-dashoffset: 75;
        transform: rotate(45deg);
    }

    100% {
        stroke-dashoffset: 280;
        transform: rotate(360deg);
    }
}





/* Payment */
#allPasses .pass {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

#allPasses .pass.active {
    margin-bottom: 0;
}

#allPasses .pass aside {
    min-width: auto;
    width: auto;
}

#allPasses .pass aside img {
    width: 300px;
}

#allPasses .pass section {
    width: 100%;
}

#allPasses .pass section footer, #love footer {
    background-color: transparent;
    color: #000;
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    align-items: end;
}

#allPasses .pass section footer p.price {
    font-size: 2rem;
    font-weight: 600;
}

#allPasses .pass form#discountCode {
    align-items: flex-end;
}





aside #summary, aside #before {
  border: 1px solid #FBDF02;
  border-radius: 6px;
  padding: 1.2rem;
}

aside #summary ul {
  list-style: none;
  padding: 0;
}

#love {
    border: 1px solid #FBDF02;
    border-radius: 6px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#love footer {
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
}

#love footer a:not(:last-child) {
    margin-right: 1rem;
}

.topic {
	margin-top: 2rem;
}

.topic .reponse {
	margin-bottom: 1.25rem;
}

.topic .reponse ul li {
    margin-left: 1.5rem;
    list-style: disc;
}




form#contact-form {
	flex-direction: column;
    align-items: flex-end;
}

form#contact-form fieldset {
	max-width: 100%;
}




@media screen and (max-width: 950px) {

  div#outline {
    border: 1px solid #FFF;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -0.2rem;
    right: 0.2rem;
    border-radius: 100px;
	}

	#description .content .paragraph img {
		display: none;
	}

	#description .content {
		gap: 100px;
	}

	#description .content #ground.paragraph, #description .content #action.paragraph {
		flex-direction: row;
    justify-content: flex-start;
    align-self: auto;
    margin-bottom: 0;
    gap: 60px;
  }

	#description .content #move.paragraph, #description .content #reconnect.paragraph {
		flex-direction: row-reverse;
    justify-content: end;
    margin-bottom: 0;
    gap: 60px;
  }

  #description .content #move.paragraph .wrapper {
    margin-left: 0;
	}

	#description .content #move.paragraph svg {
    margin-left: 0;
  }

  #allClasses .block_classe {
  	flex-direction: column;
  	gap: 2rem;
  }

  #allClasses .block_classe img, #allClasses .block_classe button {
  	width: 100%;
  }

  #allClasses .block_classe .classe_details {
    max-width: fit-content;
    max-height: fit-content;
  }

}



@media screen and (max-width: 790px) {
	#view-choice {
		order: -1;
		width: 100%;
		text-align: center;
		margin: 0 0 1rem;
	}

	.calendar-grid {
		gap: 0.35rem;
	}

	.calendar-day {
		border: 1px solid #ddd;
		min-height: 4rem;
		border-radius: 2px;
	}

	.calendar-date {
		background: none;
		margin: 0;
	}

	.calendar-class {
		border: 0;
		padding: 0;
		margin: 0;
	}

	.calendar-details {
		display: none;
	}

	#classesCalendar .calendar-marker {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		min-height: 24px;
		text-decoration: none;
	}

	.calendar-marker::before {
		content: '';
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: #318E86;
		flex-shrink: 0;
	}


	aside {
    	width: 100%;
    	min-width: 100%;
	}

	#hero h2 {
		font-size: 1rem;
	}

	#hero .content ul {
		flex-direction: column;
		gap: 40px;
	}

	#hero .content ul li {
		gap: 8px;
	}

	#hero .content ul li svg {
		width: 38px;
	}

	#description .content {
	    gap: 120px;
	  }

	#description .content .paragraph {
    	flex-direction: column;
	}

	#description .content .paragraph h2 {
    	margin-bottom: 30px;
	}

	#description .content #ground.paragraph, #description .content #move.paragraph, #description .content #action.paragraph {
		margin-bottom: 0;
	}

	#description .content #ground.paragraph svg {
		position: absolute;
    	left: 0;
    	top: -10%;
	}

	#description .content #ground.paragraph h2 {
		margin-left: 50%;
    	margin-bottom: 42px;
	}

	#description .content #move.paragraph {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}

	#description .content #move.paragraph svg {
	    margin-left: 0;
	  }

	#description .content #move.paragraph .wrapper {
	    margin-left: 0;
	}

	#description .content #action.paragraph {
		margin-top: 35px;
	}

	#description .content #action.paragraph svg {
	    position: absolute;
	    top: -10%;
	    right: 0;
	  }

	#description .content #action.paragraph h2 {
    	margin-bottom: 60px;
	}

	#description .content #reconnect.paragraph {
		flex-direction: column;
	}

	#description .content #reconnect.paragraph .wrapper {
    	text-align: right;
	}

	#description .content #reconnect.paragraph .wrapper h2 {
    	width: 100%;
	}

	#yoga {
		background-position-x: 40%;
		padding-top: 40px;
	}

	#content {
		flex-direction: column;
	}

	#header-VOD .info {
		position: initial;
	}

	#header-VOD .info .header {
	  	flex-direction: column;
	    align-items: flex-start;
	    gap: 1.2rem;
	}

	form#vodFilters, form#classesFilters {
		flex-direction: row;
	}

	form#classesFilters {
		justify-content: space-between;
		gap: 1rem;
	}

	#allVODClasses, #allClasses, #allPasses {
	    flex-direction: column;
	}

	#book #allVODClasses {
	    flex-direction: column-reverse;
	}

	#allVODClasses .classRental {
	width: 100%;
	}

	#allVODClasses .classRental .classe_details .header {
	align-items: flex-start;
	}



	/* Waiver */
	#document #waiver {
	    margin: 2em;
	}

	#document #waiver header {
		flex-direction: column;
	    width: 100%;
	    gap: 2rem;
	    text-align: center;
	    margin-bottom: 1rem;
	}


    /* Signature */
    #document #waiver .signature-portrait-modal-container { 
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        background-color: #FDE3DA;
        color: #000;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
    }

    #document #waiver .signature-portrait-modal-container.visible { 
        display: flex;
        opacity: 1;
    }

    #document #waiver .signature-portrait-modal-container.visible .phone {
        position: relative;
        left: 50%;
        margin-left: -50px;
        width: 0;
        height: 0;
        border: 0 solid #5d5d5d;
        background: #f9f9f9;
        border-radius: 10px;
        box-sizing: border-box;
        animation:
            sizeIncrease .5s forwards ease, 
            borderIncrease .5s .5s forwards ease, 
            rotateRight .7s 1s forwards ease;
    }

    #document #waiver .signature-portrait-modal-container.visible .phone i {
        text-align: center;
        width: 100%;
        line-height: 120px;
        font-size: 50px;
        color: #000;
        opacity: 0;
        animation:
            fadeIn .5s .8s forwards ease;
    }

    #document #waiver .signature-portrait-modal-container.visible .iconContainer {
        width: 200px;
        height: 200px;
        position: absolute;
        left: 50%;
        top: 50%;
        margin-left: -100px;
        margin-top: -100px;
    }

    #document #waiver .signature-portrait-modal-container.visible .iconContainer p {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin: 0;
        font-size: 20px;
        opacity: 0;
        color: #000;
        animation:
            fadeIn .5s 1.3s forwards ease;
    }

    /* KEYFRAMES
    ------------------------------------------- */
    /* Animate width + height */
    @keyframes sizeIncrease {
      0%   { width: 0; height:10px; }
        50%  { width: 100px; height: 10px; }
      100% { width: 100px; height:160px; }
    }
    /* Add borders */
    @keyframes borderIncrease { 
        100% { border-width:20px 10px; } 
    }

    /* fade-in  */
    @keyframes fadeIn { 
        100% { color:#000; opacity:1; } 
    }

    /* Rotate device */
    @keyframes rotateRight { 
        100% { transform: rotate(90deg); } 
    }


    /* Payment */
    #allPasses .pass {
        flex-direction: column;
    }

    #allPasses .pass aside {
        min-width: auto;
        width: auto;
    }

    #allPasses .pass aside img {
        width: 100%;
    }

    #allPasses .pass form#discountCode input {
        width: 100%;
    }




  	/* FAQ */
	.faq #content {
		flex-direction: column-reverse;
	}



}

@media screen and (max-width: 790px) and (orientation:landscape) {


    #document #waiver .signature-portrait-modal-container.visible { 
        display: none;
        opacity: 0;
    }


    #document #waiver .signature-modal-container .content {
        max-width: initial;
        max-height: initial;
        height: 100%;
        width: calc(100% - 20px);
    }
}

@media print {

    header #logo svg {
        width: 150px;
        height: auto;
    }

    #document #waiver {
        margin: 0;
        background-color: #FFF;
        padding: 2em;
    }

    #document #waiver header {
        align-items: flex-start;
    }

    #document h1 {
        width: 3em;
    }

    #document h2 {
        font-size: 2em;
    }
}


