
body {
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-family: 'Barlow', sans-serif;
}

body * {
	box-sizing: border-box;
}

body.webcam-error {
	overflow: hidden;
}

body.webcam-error .webcam-error-modal {
	opacity: 1;
	pointer-events: auto;
	background: linear-gradient(180deg, rgba(2,0,36,1) 50%, rgba(255,213,0,1) 50%);
	color: black;
}

.video-mask {
	border-radius: 10px; 
	overflow: hidden;
	-webkit-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.2); 
	box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.2);
}

.video-mask video {
	border-radius: 10px; 
	overflow: hidden; 
	max-width: 100%
}

h1 {
	color: #ffd300;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 32px;
}


/* Error modal */

.webcam-error-modal {
	box-sizing: border-box; 
	
	opacity: 0;
	pointer-events: none;
	
	padding: 25px !important;
	
	background: #fff;
	font-size: 16px;
	font-weight: normal;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.19;
	
	position: fixed !important;
	margin: 0 !important;
	
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	text-align: center;
	z-index: 999;
}

.btn {
	background-color: #ffd300;
	border-radius: 4px; 
	font-weight: 900;
	text-transform: uppercase;
	padding: 15px;
	text-decoration: none;
	color: black;
	margin-top:15px;
}

.webcam-error-modal .img {
	position: relative;
	height: 100%;
}

.modaltext {
	color: white;
	display: flex;
	flex-direction: column;
	/* justify-content: space-around; */
	align-items: center;
}


#fb-video {
	display: none;
	
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	z-index: 99;
}

.webcam-error-modal .img a {
	display: block;
}

.webcam-error-modal .img img {
	height: 100%;
}

.webcam-error-modal .img .info {
	display: flex;
	position: absolute;
	bottom: 20px;
	left: 20px;
	max-width: 85%;
}

.webcam-error-modal .img p {
	margin-left: 10px;
}

.webcam-error-modal .content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	flex-grow: 1;
	height: 100%;
	padding-left: 25px;
}

.webcam-error-modal .content img {
	max-height: 60%;
}

main.consumer .portrait-only { display: none; }
main.consumer .landscape-only { display: block; }


/* CTA */

.container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
}

.container #cta {
	display: inline-block;
	
	position: absolute;
	bottom: 20px;
	right: 20px;
	transform: none;
	width: auto;
	
	opacity: 0;
	pointer-events: none;
	
	text-align: center;
	text-decoration: none;
	font-weight: 900;
	font-size: 16px;
	line-height: 16px;
	padding: 13px 30px;
	color: black;
	background-color: #ffd300;
	border: none;
	border-radius: 4px;
}

.container a.toggle-sound {
	display: block;
	width: 40px;
	height: 40px;
	background-color: #ffd300;
	border-radius: 4px;
	
	position: absolute;
	bottom: 80px;
	right: 20px;
	
	opacity: 0;
}

.container a.toggle-sound img {
	max-width: 100%;
}

.container a.toggle-sound img.is-muted,
.container a.toggle-sound.muted img.is-not-muted {
	display: none;
}

.container a.toggle-sound img.is-not-muted,
.container a.toggle-sound.muted img.is-muted {
	display: block;
}

@media all and (max-aspect-ratio: 1/1) {

	.container #cta {
		width: calc(100% - 40px);
		left: 50%;
		right: 50%;
		transform: translateX(-50%);
	}
	
}

.visible #cta,
.visible .container a.toggle-sound  {
	opacity: 1;
	pointer-events: auto;
}
