@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Open+Sans:400,500,600,700);
@import url(https://player.manage.broadcastcloud.tv/css/embed-player.css);

/* Declare font family variable */
:root {
	--font-family: 'open sans', sans-serif;
	--heading-font-family: 'Montserrat', sans-serif;
}

* {
	margin: 0px;
	padding: 0px;
}

@font-face {
	font-family: 'Cubano', sans-serif;
	src: url(../fonts/Cubano.woff);
}

@font-face {
	font-family: 'FontAwesome';
	src: url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
}

/* Common Styles */

.odx_wrapper {
	max-width: 1120px;
	margin: auto;
	font-family: var(--font-family);
}

.video_thumbnail {
	position: relative;
	margin: 0 5px;
	cursor: pointer;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16/9;
}

.video_thumbnail img {
	width: 100%;
	border-radius: 4px;
	display: block;
}

.video_thumbnail.active::after {
	content: "\f04b";
	font-family: 'FontAwesome';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 30px;
	color: #fff;
	border: solid 2px #fff;
	border-radius: 50%;
	width: 50px;
	text-align: center;
	height: 50px;
	font-size: 20px;
	line-height: 47px;
	padding-left: 5px;
	background-color: #00000059;
}

.video_content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 30px;
	pointer-events: none;
	background-color: rgba(0, 0, 0, 0.4);
}

.video_content h2 {
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.3em;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 400;
	transform: translate3d(0, 20px, 0);
	transition: transform 0.35s;
}

.video_content h2:after {
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 2px;
	background: #fff;
	content: '';
	transform: translate3d(0, 40px, 0);
	width: 100%;
}

.video_thumbnail:hover h2 {
	transform: translate3d(0, 0px, 0);
}

.video_thumbnail:hover h2:after {
	opacity: 1;
	transform: translate3d(0, 5px, 0);
}

.video_thumbnail .date {
	color: #fff;
	opacity: 0;
	font-size: 16px;
	transform: translate(0, 50px);
	margin-top: 10px;
	transition: transform 0.35s, opacity 0.35s;
}

.video_thumbnail:hover .date {
	transform: translate(0, 0);
	opacity: 1;
}

.arrow_prev {
	position: absolute;
	top: 50%;
	left: -30px;
	cursor: pointer;
	transform: translateY(-50%);
}

.arrow_prev i,
.arrow_next i {
	font-size: 50px;
	color: #fcb117;
}

.arrow_next {
	position: absolute;
	right: -30px;
	top: 50%;
	cursor: pointer;
	transform: translateY(-50%);
}

.slick-disabled {
	opacity: 0;
}

.slick-list {
	padding-left: 0px !important;
}

@media(max-width: 1200px) {
	.arrow_prev {
		left: 10px;
	}

	.arrow_next {
		right: 10px;
	}
}

#player {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	background-color: #000;
	overflow: hidden;
}

#player::before {
	content: "\f110";
	font-family: 'FontAwesome';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 40px;
	color: #fff;
	animation: fa-spin 2s infinite linear;
	margin-top: -30px;
	margin-left: -20px;
}

.locked_icon {
	position: absolute;
	bottom: -50px;
	right: -50px;
	background-color: #fcb117;
	width: 100px;
	height: 100px;
	transform: rotate(45deg);
	text-align: left;
}

.locked_icon .fa-lock {
	font-size: 30px;
	color: #fff;
	position: absolute;
	left: 10px;
	top: 50%;
	z-index: 9;
	transform: translateY(-50%) rotate(-45deg);
}

.video-modal {
	display: flex;
	position: fixed;
	z-index: 1;
	padding-top: 40px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(5px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s;
	font-family: var(--font-family);
	z-index: 9;
}

.video-modal *{
	pointer-events: inherit !important;
}

.video-modal .modal-content {
	margin: auto;
	width: 90%;
	position: relative;
	background-color: #000;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
	max-width: 1800px;
}

.video-modal.show {
	opacity: 1;
	pointer-events: auto;
}

.video-modal .modal-header{
	position: relative;
	padding: 15px;
	border-bottom: solid 1px #ffffff26;
	font-family: var(--heading-font-family)
}

.video-modal .modal-header .fa-long-arrow-right {
	position: absolute;
	top: 50%;
	right: 60px;
	transform: translateY(-50%);
	color: #fff;
	cursor: pointer;
	font-size: 30px;
}

.video-modal .modal-close {
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	color: #fff;
	cursor: pointer;
	font-size: 27px;
}

.video-modal .modal-header .video_title {
	color: #fff;
	font-family: var(--heading-font-family);
	font-size: 20px;
	font-weight: 400;
	margin: 0;
	line-height: 1.2;
	display: inline-block;
}

.video-modal .modal-footer {
	padding: 15px;
	padding-bottom: 17px;
	border-top: solid 1px #ffffff26;
}

.video-modal .modal-footer p {
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	margin: 0;
}

.restricted-modal{
	display: flex;
	position: fixed;
	z-index: 1;
	padding-top: 40px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0 0 0 / 30%);
	backdrop-filter: blur(5px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s;
	font-family: var(--font-family);
}

.restricted-modal *{
	pointer-events: inherit !important;
}

.restricted-modal .modal-content {
	margin: auto;
	width: 90%;
	max-width: 600px;
	position: relative;
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.restricted-modal.show {
	opacity: 1;
	pointer-events: auto;
}

.restricted-modal .modal-header{
	position: relative;
	padding: 15px;
	border-bottom: solid 1px #00000026;
}

.restricted-modal .modal-close {
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	color: #000;
	cursor: pointer;
	font-size: 27px;
	z-index: 99;
}

.restricted-modal .modal-header h3 {
	color: #000;
	font-family: var(--heading-font-family);
	font-size: 24px;
	font-weight: bold;
	margin: 0;
	line-height: 1.2;
	display: inline-block;
	padding-right: 50px;
}

.restricted-modal .modal-body {
	padding: 15px;
}

.restricted-modal .modal-body p {
	color: #000;
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 15px;
}

.restricted-modal .modal-body p:last-child {
	margin-bottom: 0;
}

.restricted-modal .modal-footer {
	padding: 0;
	border-top: solid 1px #00000026;
}

.restricted-modal .modal-footer a {
	width: 100%;
	border-radius: 0;
	background-color: #fcb117;
	padding: 15px;
	display: block;
	color: #fff;
	font-weight: bold;
	font-family: var(--heading-font-family);
	text-align: center;
}

.restricted-modal .modal-footer a:hover,
.restricted-modal .modal-footer a:focus {
	background-color: #fcb117 !important;
}

/* Layout Specific Styles */
/* Grid Layout */

.grid_wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	gap: 12px;
}

.grid_video_item {
	flex-basis: calc(100% / 3 - 8px);
}

.grid_video_item .video_thumbnail{
	margin: 0;
}

@media(max-width: 992px) {
	.grid_video_item {
		flex-basis: calc(100% / 2 - 8px);
	}
}

@media(max-width: 768px) {
	.grid_video_item {
		flex-basis: 100%;
	}
}

/* Row Layout */
.row_slider{
	margin: 0 -5px;
}

/* Player Layout */

.video_thumbnail_slider_wrapper{
	position: relative;
}

.video_thumbnail_slider {
	margin-top: 20px;
}

@media(max-width: 768px) {
	.video_thumbnail_slider_wrapper .locked_icon {
		bottom: -35px;
		right: -35px;
		width: 70px;
		height: 70px;
	}
	
	.video_thumbnail_slider_wrapper .locked_icon .fa-lock {
		font-size: 24px;
		color: #fff;
		position: absolute;
		left: 7px;
		top: 50%;
		z-index: 9;
		transform: translateY(-50%) rotate(-45deg);
	}
}

@media(max-width: 768px) {

	.video_thumbnail_slider .video_content h2 {
		font-size: 14px;
		transform: none;
	}

	.video_thumbnail_slider .video_content .date{
		display: none;
	}
}