/*HOME OVERLAY*/
#homeOvleray {
	position: fixed;
	z-index: 13;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	align-items: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
}
#homeOvleray > div:first-child {
	position: absolute;
	display: block;
	background-color: transparent;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.homeOverlayVideoShell {
	position: relative;
	margin: 0 auto;
	max-width: 1120px;
	height: auto;
	width: 100%;
}
#homeOvleray video {
	height: auto;
	box-shadow: 3px 3px 13px rgba(0,0,0,0.65);
	grid-row-start: 1;
	grid-row-end: 2;
}
.smVideo {
	max-width: 90%;
}
.homePlayButtonShell {
	z-index: 1;
	position: absolute;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	align-items: center;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.hpBtn {
	display: inline-grid;
	margin: 0 auto;
	top: 0;
	left: 0;
}
@keyframes covidRotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
.covidRotate {
	animation: covidRotate 60s linear infinite;
}
@media only screen and (max-width: 1024px) {
	.homeLinkImageShell {
		grid-template-columns: 30% 30% 30%;
		grid-column-gap: 5%;
	}
	.covidLink {
		font-size: 12px;
	}
	.covidLink:before {
		left: 10px;
		width: 24px;
		height: 24px;
		margin-top: -12px;
	}
}
@media only screen and (max-width: 790px) {
	.homeLinkImageShell {
		grid-template-columns: auto;
	}
	#closeOverlay {
		margin-top: 0 !important;
		background-color: transparent !important;
	}
	.covidLink {
		font-size: 14px;
	}
	.homeLinkImageShell > div:nth-child(2) {
		margin-bottom: 20px;
	}
}
@media only screen and (max-width: 640px) {
	.vPlayBtn {
		position: relative;
		margin: 0 auto;
		top: 0;
		left: 0;
		width: 0;
		height: 0;
		border-top: 16px solid transparent;
		border-bottom: 16px solid transparent;
		border-left: 24px solid rgba(0, 191, 243, 1);
	}
	.vPlayBtn:hover {
		cursor: pointer;
		border-left: 24px solid white;
	}
	.vPlayBtn:before {
		content: '';
		position: absolute;
		z-index: -1;
		width: 64px;
		height: 64px;
		border-radius: 64px;
		border: solid 4px white;
		top: -36px;
		left: -52px;
	}
}

/*LANGUAGE FLAG VIDEOS*/

.blockHeight {
	position: relative;
	width: 100%;
	height: 1px;
	transition: height 0.2s ease-in-out 0s;
	background-color: red;
}

#languageVideos {
	position: relative;
	display: block;
	width: auto;
	text-align: center;
	padding: 0 20px;
	text-transform: capitalize;
	font-size: 16px;
	line-height: 21px;
	max-height: 0;
	transition: max-height 1s ease-in-out 0s;
	overflow: hidden;
}
.languageHome {
	position: relative;
	width: 100%;
	grid-column-start: 1;
	grid-column-end: 4;

}

#languageVideos > div {
	display: block;
	margin: 0 auto;
	max-width: 1030px;
	width: auto;
	align-content: center;
	justify-content: center;
	grid-template-rows: auto auto;
	opacity: 0;
	transition: opacity 1s ease-in-out 0s;
}

#languageVideos > div:first-child {
	margin-top: 30px;
}
#languageVideos > div:last-child {
	margin-bottom: 60px;
}
.showLang {
	max-height: 2000px !important;
}
.showLang > div {
	opacity: 1 !important;
}



#languageVideos.languageHome > div {
	max-width: 100%;
}
#languageVideos > div:nth-child(2) > div {
	display: inline-flex;
	width: 84px !important;
	height: 32px;
	color: white;
	cursor: pointer;
	margin: 15px 8px 4px 8px;
	padding: 4px 12px;
	background: linear-gradient(To Bottom Right, var(--colorCyan), var(--colorCyanDark));
	box-shadow: 3px 3px 9px rgb(0, 0, 0, 0.20);
	border-radius: 32px;
}
#languageVideos.languageHome  > div:first-child > div {
	width: auto !important;
	background: none;
	border: none;
	padding: 0;
	border-radius: 0;
	cursor: default;
	height: auto;
	margin: 2px 0;
	color: #222222;
	text-transform: initial;
}

#languageVideos.languageHome > div:first-child > div:last-child {
	padding: 10px 20px;
}

#languageVideos.languageHome > div:last-child > div:hover {
	background: #346969 !important;
	color: white;
}


#languageVideos > div > div > div:nth-child(1) {
	pointer-events: none;
	margin: 0 auto;
	line-height: 16px;
	font-size: 12px;
}

.hideMe {
	visibility: hidden !important;
	height: 20px;
}

@media only screen and (max-width: 1120px) {
	.languageHome {
		grid-row-start: 3;
		grid-column-end: auto;
	}
}
@media only screen and (max-width: 1024px) {

	#languageVideos {
		margin-top: 20px;
	}

	#languageVideos > div {
		display: block;
	}
	#languageVideos > div:last-child {
		margin-bottom: 30px;
	}
}
@media only screen and (max-width: 790px) {
	.hideMe {
		display: none !important;
	}

	.languageHome> div {
		margin-top: -30px !important;
	}

	.languageHome > div > div {
		margin: 8px;
	}
	#languageVideos.languageHome > div:first-child {
		margin-bottom: 30px;
	}

	#languageVideos.languageHome  > div:first-child > div:first-child {
		margin-top: 30px;
	}
}
@media only screen and (max-width: 640px) {
	#languageVideos > div {
		max-width: 400px;
	}
}
/*VIDEO THUMBS*/
.videoThumbs {
	z-index: 1;
	position: absolute;
	width: 100%;
	height: 96px;
	bottom: 0;
	left: 0;
	right: 0;
	border-top: 1px solid #1fb1e1;
	overflow: auto;
	transition: bottom 0.25s ease-in-out 0s;
	background-color: rgba(0, 0, 0, 0.5);
}
.videoThumbs > div {
	position: relative;
	display: inline-flex;
	width: auto;
	height: 64px;
	margin: 0 auto;
	top: 16px;
}
.videoThumbs > div > div {
	position: relative;
	display: block;
	width: 96px;
	height: 54px;
	background-color: black;
	background-size: 100% auto !important;
	background-position: top !important;
	background-repeat: no-repeat !important;
	box-shadow: 3px 3px 13px rgba(0,0,0,0.5);
	cursor: pointer;
	top:0;
	margin: 0 10px 0 0;
	border: 1px solid transparent;
}

.videoThumbs > div > div:after {
	content: '';
	position: relative;
	width: 20px;
	height: 20px;
	background-image: url(/wp-content/themes/ArcturusRX/assets/images/button-video-playback.png);
	margin: 0 auto;
	align-self: center;
}
.videoThumbs > div > div:hover {
	border: 1px solid #1fb1e1;
}
.videoThumbs > div > div:first-child {
	margin: 0 10px;
}
#thumbsButton {
	position: absolute;
	z-index: 1;
	right: 5px;
	width: 38px;
	height: 32px;
	background-color: #1fb1e1;
	bottom: 96px;
	cursor: pointer;
	transition: bottom 0.25s ease-in-out 0s;
}
#thumbsButton > div {
	pointer-events: none;
	position: relative;
	left: 11px;
	top: 10px;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
}
#thumbsButton > div.tbUp {
	border-bottom: 10px solid white;
}
#thumbsButton > div.tbDown {
	border-top: 10px solid white;
}
.signLanguage {
	position: relative;
	pointer-events: all !important;
	display: grid;
	grid-template-columns: repeat(3, auto);
	grid-column-gap: 4px;
	width: 72px;
	height: 25px;
}
.signLanguage:before {
	position: absolute;
	content: '';
	width: 72px;
	height: 25px;
	top: -2px;
	background-size: 100% auto !important;
	background-position: top !important;
	background-repeat: no-repeat !important;
	background-image: url(/wp-content/themes/ArcturusRX/assets/images/american_sign_language_white.svg);
}
.signLanguage:hover:before {
	background-size: 100% auto !important;
	background-position: top !important;
	background-repeat: no-repeat !important;
	background-image: url(/wp-content/themes/ArcturusRX/assets/images/american_sign_language_blue.svg);

}
.signLanguage:after {
	position: absolute;
	content: '';
	left: -20px;
	top: -6px;
	width: 112px;
	height: 44px;
	background-color: transparent;
}
.signLanguage > div {
	position: relative;
	top: 21px;
	font-weight: bold;
	pointer-events: none;
}
.signLanguage > div:nth-child(1) {
	left: -2px;
}
.signLanguage > div:nth-child(2) {
	left: -3px;
}
.signLanguage > div:nth-child(3) {
	left: -3px;
}
.langDesCopy {
	position: relative;
	width: auto !important;
	display: inline-block;
	font-size: 16px;
	color: #ffffff !important;
	margin-top: 27px !important;
	padding: 6px 20px!important;
	border-radius: 20px !important;
	box-shadow: 3px 3px 9px rgb(0, 0, 0, 0.20);
	background: linear-gradient(To Bottom Right, var(--colorCyan), var(--colorCyanDark)) !Important;
}
.langOTDes {
	padding: 0 !important;
	margin: 10px 0 0 0;
	font-size: 16px;
	text-align: center;
}
.langOTDes .langDesCopy {
	background-color: rgba(30, 150, 193, 0.8) !important;
	background: linear-gradient(To Bottom Right, var(--colorCyan), var(--colorCyanDark));
	padding: 10px 20px;
}