html, body {
  overscroll-behavior: none;
  padding-top: env(safe-area-inset-top)
}

#user_login,#user_pass
{
	color:#FFF;
}

body{
	background-color:#000;
	align-items: center;
	height: calc(100vh - env(safe-area-inset-top));
	width: 99.333333vw;
	color:#FFF;
}

.navbar-brand img{
    height: 45px !important;
    margin-top: -12px;
}

#btn_back{
	border: 1px solid #666;
	border-radius: 30px;
	height: 40px;
	width: 40px;
	margin-left: 15px;
	margin-right: 15px;
	margin-top: 5px;
	padding: 10px;
}
#login{
	height: calc(100vh - 100px);
	display:none;
}
.login-frame{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.login-frame img{
	border-radius: 6px;
}
#login input, #input_pin_new1, #input_pin_new2{
	background-color: #181818 !important;
}
#login_msg{
	display:none;
	margin-bottom:15px;
}
#profile_list{
	margin-top:calc(70px - env(safe-area-inset-top));
	display:none;
	height: calc(100vh - 130px - env(safe-area-inset-top));
	overflow: scroll;
	overflow-x: hidden;
}
#profile_list_header{
	display:block !important;
	text-align:center;
}
#profile_list_header h2{
	font-size: 30px !important;
	color: #FFF;
}
#profile_list .profile_item,
.menu-button{
	cursor:pointer;
}
#profile_list .list-group-item h2{
	font-size: 25px !important;
	color: #FFF;
}
.profile_frame{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#pin_required{
	height:calc(100vh - 100px);
	display:none;
}
.pin_required_frame{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#pin_required_msg{
	display:none;
	margin-top:15px;
}

#menu{
	display:none;
	margin-top: -10px;
}
#menu div{
	padding: 5px 5px 5px 5px;
	text-align: center !important;
}
#buttons{
	display:none;
	position: fixed;
	bottom: 0px;
	/* padding-bottom:15px; IOS */
	left: 0px;
	background-image: -webkit-linear-gradient(top,#3c3c3c 0,#222 100%) !important;
	z-index:1;
}
#menu-buttons
{
	display: flex;
    width: 100vw;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

#menu-buttons div{
	margin:0px auto;
}

#menu-buttons div.active{
	color:#FFF;
}
.menu-button
{
	color:#666;
}
#menu-top ul.dropdown-menu{
	background-image: -webkit-linear-gradient(top,#3c3c3c 0,#222 100%) !important;
	color: #f00;
}

#menu-top ul.dropdown-menu li a{
	color: #FFF !important;
	cursor:pointer;
	line-height:200%;
}
#menu-top ul.dropdown-menu li a:hover{
	color: #000 !important;
	background: #FFF !important;
}
#provider_list{
	margin-top: 70px;
	display:none;
	height: calc(100vh - 130px);
	overflow: scroll;
	overflow-x: hidden;
}
#channel_list .list-group-item-text{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: calc(100vw - 88px);
}	
#profile_list .list-group-item,
#channel_list .list-group-item,
#provider_list .list-group-item{
	background:none;
	border: none;
	border-bottom: 1px solid #333;
	display:flex;
	cursor:pointer;
	color:#FFF;
}
#channel_list img{
    max-width: 45px;
	max-height:45px;
    border: 1px solid #333;
    border-radius: 5px;
    vertical-align: middle;
    /*padding: 5px 5px 5px 5px;*/
}
.channel_info{
	margin-left:15px;
}
#profile_list img{
	max-height: 60px;
}
#profile_list a,
#channel_list a{
	color: #333333;
	text-decoration:none !important;
}
#channel_list .media-body{
	margin-left: 10px;
}

.navbar{
    max-height: 70px;
}

#navbar-options
{
	background-image: -webkit-linear-gradient(top,#3c3c3c 0,#222 100%) !important;
	margin-left: -5px;
	margin-right: -5px;

	@media (min-width: 768px){
		display:none !important;
	}
}
#menu-top{
/*
	@media (min-width: 768px){
		margin-top: -17px;
		padding-top: 10px;
		padding-right: 10px;
		height:70px;
		background-image: none !important;
	}
*/
}
/*
.container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
    margin-right: 0;
    margin-left: 0;
}
*/

#provider_list{
    margin-top: 0px;
	background:#000;
/*	display:none;	*/
	overflow:hidden;
}
#provider_list_header{
	display:block !important;
	text-align:center;
}
#provider_list_header h2{
	font-size: 30px !important;
	color: #FFF;
}
#provider_list .provider_item,
.menu-button{
	cursor:pointer;
}
#provider_list .list-group-item h2{
	font-size: 25px !important;
	color: #FFF;
}
.provider_frame{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#vod_list{
	margin-top:calc(70px - env(safe-area-inset-top)); 
	margin-left:0px;
	padding-bottom:20px;
	overflow-x: hidden;
	display: block;
	height: calc(100vh - 130px - env(safe-area-inset-top));
	overflow-y: scroll;

	@media screen and (min-width: 600px)
	{
		margin-left:15px;
		width: calc(100vw - 20px);
	}
}
.vod_container{width:100%;padding-bottom:20px;}
.vod_movies{
	height:323px;
	display: flex;
	overflow-x: auto;
	margin-top:-255px; -webkit-overflow-scrolling: touch;
	padding-left:10px;
}
.vod_movies::-webkit-scrollbar{
	display: none;
}
.vod_item{padding:5px 5px 5px 5px;margin-top:20px;}
.vod_arrows{display:flex; justify-content: space-between;}
.vod_container .arrow_btn{
	position:relative;
	font-size:6em;
	background:black;
	color:#fff;
	text-align:center;
	text-decoration:none;
	width:75px;
	height:250px;
	padding:20px;
	padding-top: 50px;
	z-index: 1;
	top:20px;
	cursor:pointer;
	
	@media screen and (max-width: 600px)
	{
		visibility:hidden;
	}

}
.vod_container .left_arrow{
	background: linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, black 100%);
}
.vod_container .right_arrow{
	background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, black 100%);
}
.vod_item{max-height:300px;cursor:pointer;}
.vod_item .vod_item_img{
	border: 1px solid #666;
	border-radius: 5px;
}
.vod_item .vod_item_img:hover{
	margin: 0px 5px 0px 5px;
	padding: 5px 5px 5px 5px;
	background-color:#666;
	border-radius: 10px;
	border: 1px solid #666;
	transform: scale(1.2);
}
.vod_title{
	margin-left:15px;
	margin-right:15px;
	color:#fff;
}
#loading{
    overflow: hidden;
    /* display: flex !important; */
    /* flex-direction: row; */
    /* flex-wrap: nowrap; */
    align-content: center;
    align-items: center;
    justify-content: center;
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}
#loading img{
	width: calc(100vw /8);
}

#vod_movie,
#vod_serie{
	margin-top:calc(70px - env(safe-area-inset-top));
	display:none;
	/*display: block;*/
	width: calc(100vw - 20px);
	height: calc(100vh - 130px - env(safe-area-inset-top));
	overflow-x: hidden;
	overflow-y: auto;
}

#vod_movie_info, #vod_serie_info{color:#FFF;margin-left:15px;}

.vod_item_footer{
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    /*align-items: center;*/
}
.vod_item_rating{width:25px;height:25px;margin-right:5px;}
.vod_item_title{
	color:#FFF;
	margin-top:4px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2; 
	-webkit-box-orient: vertical;
	font-size:small;
	max-width: 147px;
}

[tabindex="0"]:focus {
  outline: 3px solid #c0c0c0 !important;
}

.channel_item{margin-left:2px;margin-right:1px;}

#profile_list{overflow:hidden;margin-top:0px;}

#profile_edit_frame{
	margin-top:calc(70px - env(safe-area-inset-top));
	height: calc(100vh - 130px - env(safe-area-inset-top));
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	width: 100vw;
}

.profile_edit_scroll_container
{
    max-width: 334px !important;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    align-items: center;
}
.profile_edit_scroll{
    display: flex;
    flex-direction: row;
    overflow: hidden;
    align-items: center;
    align-content: flex-start;
    flex-wrap: wrap;
    padding-left: 7px;
    justify-content: flex-start;
}

.profile_img{
    width: 40px;
    height: 40px;
    padding-right: 5px;
    margin-right: 5px;
    filter: gray;
    -webkit-filter: grayscale(100%);
    margin-top: 3px;
    margin-bottom: 3px;
}

.profile_img:hover, .profile_img_selected, .profile_img[tabindex="0"]:focus{
	filter: none;
	-webkit-filter: grayscale(0%);
	border: 1px solid #666;
}
.profile_img img{
	width:38px;
}

#profile_edit_form{
	max-width:80%;
}

#vod_season_list{
	padding-left:15px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
	margin-bottom: 15px;
}

.vod_season_item{
	margin-right:5px;
}

.btn-black{
    background: black !important;
    border: 1px solid #666 !important;
    color: #FFF !important;
    font-weight:normal;
}

#input_pin{
	background-color: #181818 !important;
	color:#FFF !important;
}

#player{
	object-fit: contain;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100vw;
	height: 100vh;
	/*z-index: 9999 !important;left: 10px;width: calc(100vw - 20px);*/
	background: #000;
	padding-left:10px;
	padding-right:10px;
	/*margin: 10px 10px 10px 10px; IOS */
}

#channel{
	display:none;
	overflow:hidden;
	position: fixed;
	z-index: 9999;
	left: 10px;
	bottom: 10px;
	width: calc(100vw - 20px);
	opacity: 0.8;
	/* transition: all 1s ease-in-out;*/
}

#channel .list-group-item{
	background:none;
	border: none;
	border-bottom: 1px solid #333;
	display:flex;
	cursor:pointer;
	color:#FFF;
}
#channel img{
    width: 45px;
	height:45px;
    border: 1px solid #333;
    border-radius: 5px;
    vertical-align: middle;
    /*padding: 5px 5px 5px 5px;*/
}
.list-group-item-heading{
	margin-bottom: 2px !important;
}

.vod_episode_item{
	margin-right: 5px;
	color:#FFF !important;
}
.vod_episode_item .progress{
	width:90% !important;
}

.vod_episode_container{width:100%;padding-bottom:20px;}
#vod_episode_list{
    padding-left: 15px;
    display: block;
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
    flex-wrap: nowrap;
    flex-direction: column;
	-webkit-overflow-scrolling: touch;
}

#options{
    margin-top: 70px;
	display:none;
    height: calc(100vh - 130px);
    overflow: auto;
	overflow-x: hidden;
	text-align: -webkit-center;
}
#options_frame{
    display: flex;
    flex-direction: column;
    max-width: 70vw;
    height: 100%;
    justify-content: center;
}

.navbar-nav{
	width:100%;
}

.dropdown-toggle{
	margin-right:18px;
}

#profile_edit_name{
	background-color: #181818 !important;
	color:#FFF !important;
}

#options_profile_list, #pin_edit, #message{
	margin-top:calc(70px - env(safe-area-inset-top));
	display:none;
	height: calc(100vh - 130px - env(safe-area-inset-top));
	overflow: auto;
	overflow-x: hidden;
	text-align: -webkit-center;
}

#options_profile_list_frame, #pin_edit_frame{
    display: flex;
    flex-direction: column;
    max-width: 70vw;
    height: 100%;
    justify-content: center;
}

#table_profiles{
	background:#000;
}

#table_profiles tr{
	background:#000;
}

#table_profiles tr td{
	background:#000;
	color:#FFF;
}

.profile_edit_item img{
	width:25px;
	height:25px;
}

.navbar-collapse{
	cursor:pointer;
}

#table_profiles tr td, 
#table_profiles tr th{
	border-top: 1px solid #FFF;
	padding: 5px 5px 5px 5px;
}

#container{
	margin-top: 70px;
	display:none;
	height: calc(100vh - 130px);
	overflow: scroll;
	overflow-x: hidden;
}

#message_frame{
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: row;
    align-items: center;
    height: 100%;
}

.message{
    font-weight: bold;
    color: #FF0;
    font-size: larger;
    padding: 15px 15px 15px 15px;
}

#channel_list{
	margin-top: calc(70px - env(safe-area-inset-top));
	display:none;
	height: calc(100vh - 130px - env(safe-area-inset-top));
	overflow: scroll;
	overflow-x: hidden;

	@media screen and (min-width: 600px)
	{
		margin-left:20px;
		width: calc(100vw - 20px);
	}
}

#confirm_frame{
    border: 2px solid #666;
    width: calc(100vw / 2);
    text-align: center;
    padding: 10px;
    display: inline-block;
    position: absolute;
    left: calc(100vw/4);
    top: calc(100vh/2 - 50px);
    background: #000;
    z-index: 999999999999;
}

#confirm_message{color#FFF;}

.dblHidden{
	display:none !important;
	@media (min-width: 768px){
		display:none !important;
	}
}

#btn_quality button{
	margin-right: 0px;
}

#btn_quality ul{
	background:#000;
	border: 1px solid #c0c0c0;
}

#btn_quality ul li a{
	color:#FFF !important;
}
#btn_quality ul li a:hover{
	color:#000 !important;
}
#btn_quality ul li a:focus{
	color:#000 !important;
}
