* {
	margin: 0px;
	padding: 0px;
}
#epg_datumlijst {
	float: left;
}

@media all and (min-width:950px) { 
.epg_sectie {
	width: 975px;
	/* margin: 0px auto;	gecentreerd */
	padding-top: 0px;
	position: relative;
 }
 #epg_grijsvlak {
	background-color: rgb(236,236,236);
	padding: 10px 5px 5px 5px;
	height: 840px;
	overflow: hidden;
}
.epg_scrollbox {
	overflow: hidden; 
	float: left;
	width: 850px;  
	height: 55px;
	background: rgb(236,236,236);
}
.epg_pane {
	width: 2500px;
	height: 55px;
	border: none;
}
#epg_zenders {
	background-color: rgb(236,236,236);
	margin-top: 5px;
	margin-bottom: 20px;
	width: 940px;
	height: 55px;
 }
 .epg_logo {
	 background: rgb(236,236,236);
	 text-align: center;
	 width: 184px;
	 height: 75px;
	 position: relative;
	 /* border: 1px red solid; */
 }
 .epg_pane img {
	background-color: white;
	box-shadow: 0 2px 0 0 rgba(0,0,0,0.2),0 2px 0 0 rgba(0,0,0,0.19);
	margin-left: 10px;
 }
#epg_rooster_scrollbox {
	overflow: hidden;
	float: left;
	width: 965px;
	/* border: black solid 1px; */
}
.epg_kolom { /* slaat op groot zenderlogo bovenaan kolom */
	float: left; 
	margin-right: 5px;	
	width: 184px;
	/* border: 1px solid blue; */
}
table .epg_kolom { /* slaat op uitzendingen ONDER het groot zenderlogo */
	float: left; 
	margin-right: 5px;	
	width: 184px;
	height: 12960px;
	overflow-y: hidden;
	/* border: 1px solid red; */
}
.epg_modal-content {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

    background-color: white;
    margin: auto;
    padding: 10px;
    border: 1px solid #888;
    width: 373px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
#epg_datums_phone {
	display: none;
}
.epg_midden {
	background: rgb(236,236,236);
	position: absolute;
	left: 50%;
	margin-left: -37px;
	cursor: pointer;
}
#epg_zoekzender_lijst {
	list-style-type: none;
	padding: 0px;
	margin: 0px; 
  }

#epg_zoekzender_lijst li {
	margin-left: 805px;
	padding-left: 4px;
	padding-right: 4px;
	text-decoration: none;
	color: grey;
	display: none;
	cursor: pointer;
}	
#epg_zoekzender {
	background-image: url("/epg/img/loupe.png");
	background-repeat: no-repeat;
	background-position: 5px; /* left */
	background-attachment: scroll;
	background-color: white;
	height: 31px;
	position: relative;
	padding-left: 40px;
	float: right;
	border-style: none;
}
#epg_gebied_A {
	/* border: 1px solid red; */
	height: 670px; 
	width:  965px; /* (184+5) x 5 + 20 */
	float: left;
	overflow-y: scroll;
	overflow-x: hidden;
}
}

/* +25 px */

@media all and (min-width:601px) and (max-width:949px) { 
	.epg_sectie {
		width: 597px; 
		margin: 0px auto;
		padding-top: 0px;
		position: relative;
	}
	#epg_grijsvlak {
		background-color: rgb(236,236,236);
		padding: 10px 5px 5px 5px;
		height: 840px;
		overflow: hidden;
	}
	#datum5, #datum6, #datum7 {
		display: none;
	}
	.epg_scrollbox { 
		overflow: hidden; 
		float: left;
		width: 471px;
		height: 55px;
		background: rgb(236,236,236);
	}
	.epg_pane {
		width: 2500px;
		height: 55px;
		border: none;
	}
	#epg_zenders {
		background-color: rgb(236,236,236);
		margin-top: 5px;
		margin-bottom: 20px;
		width: 562px;
		height: 55px;
	}	
	.epg_logo {
		background: rgb(236,236,236);
		text-align: center;
		width: 184px;
		height: 75px;
		position: relative;
		/* border: 1px red solid; */
	}
	.epg_pane img {
		background-color: white;
		box-shadow: 0 2px 0 0 rgba(0,0,0,0.2),0 2px 0 0 rgba(0,0,0,0.19);
		margin-left: 10px;
	 }
	#epg_rooster_scrollbox {
		overflow: hidden;
		float: left;
		width: 587px; /* 562px; */
		/* border: black solid 1px; */
	}
	.epg_kolom { /* slaat op groot zenderlogo bovenaan kolom */
		float: left; 
		margin-right: 5px;	
		width: 184px;
		/* border: 1px solid blue; */
	}
	table .epg_kolom { /* slaat op uitzendingen ONDER het groot zenderlogo */
		float: left; 
		margin-right: 5px;	
		width: 184px;
		height: 12960px;
		overflow-y: hidden;
		/* border: 1px solid red; */
	}
	.epg_modal-content {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		background-color: white;
		margin: auto;
		padding: 10px;
		border: 1px solid #888;
		width: 373px;
		box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	}
	#epg_datums_phone {
		display: none;
	}
	.epg_midden {
		position: absolute;
		background: rgb(236,236,236);
		left: 50%;
		margin-left: -37px;
		cursor: pointer;
	}
	#epg_zoekzender {
		background-image: url("/epg/img/loupe.png");
		background-repeat: no-repeat;
		background-position: 5px; /* left */
		background-attachment: scroll;
		background-color: white;
		height: 31px;
		position: relative;
		padding-left: 40px;
		float: right;
		border-style: none;
	}
	#epg_zoekzender_lijst {
		list-style-type: none;
		padding: 0px;
		margin: 0px; 
	  }
	#epg_zoekzender_lijst li {
		margin-left: 431px;
		background-color: white;
		padding-left: 4px;
		padding-right: 4px;
		text-decoration: none;
		color: grey;
		display: none;
		cursor: pointer;
	}
	#epg_gebied_A {
		/* border: 1px solid red; */
		height: 670px; 
		width:  587px; /* (184+5) x 3 + 20 */
		float: left;
		overflow-y: scroll;
		overflow-x: hidden;
	}
}

@media all and (max-width:600px) {  /* 571px */
	.epg_sectie {
		width: 88vw; /* width: 393px; */
		/* margin: 0px auto; */
		margin-left: 6vw;
		margin-right: 6vw;
		padding-top: 0px;
		position: relative;
	}
	#epg_grijsvlak {
		background-color: rgb(236,236,236);
		padding: 1vw; /* 10px 5px 5px 5px; */
		/* height: 1160px; 840px; +320 to do */
		overflow: hidden;
		/* border: 1pt solid greenyellow; */
	}
	.epg_top {
		background-color: rgb(236,236,236);
		padding-left: 5px;
	}
	.epg_datums {
		display: none;
	}
	.epg_pane {
		border: none;
	}
	#epg_rooster_scrollbox {
		overflow: hidden;
		float: left;
		width: 88vw; /* 393px; */
		/* border: black solid 1px; */
	}
	.epg_kolom { /* slaat op groot zenderlogo bovenaan kolom */
		float: left; 
		margin-right: 1vw;	
		width: 42vw; /* 184px; */
		/* border: 1px solid blue; */
	}
	table .epg_kolom { /* slaat op uitzendingen ONDER het groot zenderlogo */
		float: left; 
		margin-right: 1vw;	
		width: 42vw;
		height: 12960px;
		overflow-y: hidden;
		/* border: 1px solid red; */
	}
	.epg_modal-content {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	
		background-color: white;
		margin: auto;
		padding: 10px;
		border: 1px solid #888;
		width: 85%;
		box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	}
	#epg_datums_phone {
		margin-top: 20px;
		margin-bottom: 10px;
		padding: 5px;
		float: left;
	}
	.epg_logo {
		background: rgb(236,236,236);
		text-align: center;
		width: 42vw;
		height: 75px;
		position: relative;
		/* border: 1px red solid; */
	}
	.epg_midden {
		/* background: rgb(236,236,236); */
		/* margin: auto; */
		/* position: absolute;
		left: 50%; */
		/* margin-left: -37px; */
	}
	.epg_no_phone  {
		display: none;
	}
	#epg_zoekzender {
		display: none;
	}
	#epg_zoekzender_lijst {
		display: none;
  	}
	#epg_gebied_A {
		/* border: 1px solid red; */
		height: 670px;
		width:  88vw; /* 393px; 42vw x 2 + 1vw + 20 */
		float: left;
		overflow-y: scroll;
		overflow-x: hidden;
	}
}

.epg_datums div {
	cursor: pointer;
	display: inline;
	background: darkgrey;
	padding: 10px 20px 10px 20px;
	color:white;
	font-weight: bold;
}

.epg_datums .epg_selected {
	background: blueviolet;
	color: white;
}
.epg_clearfix {
	clear: both;
}

#epg_rooster_pane {
	width: 9000px;  /* 34 zenders x 185px+5px per zender */
	/* border: 1px solid blue; */
}

#epg_zenders img{
	cursor: pointer;
	float: left;
}

#epg_zenders img[kol]{
	padding-left: 5pt;
	padding-right: 5pt;
}
#epg_pijllinks {
	margin-top: 5px;
}
#epg_pijlrechts {
	margin-top: 5px;
	margin-left: 10px;
}
.epg_kolom p {
	margin-bottom: 0px;
}
.epg_uur {
	font-weight: bold;
	margin-left: 0.5em;
	margin-right: 25px;
	margin-bottom: 0px;
	cursor: pointer;
}

/* .epg_titel {
	margin-left: 1em;
	margin-right: 4px;
	font-weight: bold;
	padding-bottom: 15px;
	margin-bottom: 0px;
	cursor: pointer;
} */
.epg_com {
	color:grey !important;
	margin-left: 0.5em;
	margin-bottom: 0px;
  	cursor: pointer;
}
.epg_uitz {
  overflow-y: hidden;
  background: white;
  border-top: 2px solid lightgray;
}

.epg_actieve_uitz {
	border-left: 3px solid blueviolet;
}

.epg_modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0px;
    top: 0px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(163, 163, 163); /* Fallback color */
    background-color: rgba(22, 22, 22, 0.4); /* Black w/ opacity */
}

.epg_modal-titel {
	font-weight: bold;
	font-size:110%;
	float:left;
	padding-bottom:2px;
}
.epg_modal-uur {
	font-weight: bold;
	font-size:110%;
	float:right;
	padding-bottom:2px;	
}
.epg_modal-p1 {
	color: grey;
	clear: both;
}
.epg_modal-p2 {
	clear: both;
}
.epg_datum {
	text-align: center;	
	font-weight: bold;
	font-size:140%;	
	background-color: rgb(236,236,236);
	padding-top: 33px;
	padding-bottom: 25px;
}
#epg_selected_zender_nav {
	background-color: white;
	float: right;
	display: none;
	cursor: pointer;	
}
#epg_selected_zender_img {
	padding-left: 20px;
}
.epg_times {	
	font-size: 250%;
	font-weight: bold;
	margin-left: 10px;
	margin-right: 10px;
}
.epg_uitz[data-p1], .epg_uitz[data-p2]{
	background-image: url("/epg/img/kleineI.png");
	background-repeat: no-repeat;
	background-position: 100% 1px;
	background-attachment: scroll;
	cursor: pointer;
}
#epg_tabel {
	width: 6451px;
	/* border: 2px solid orange; */
}
#epg_tabel td {
	vertical-align: top;
	padding: 0px;
	/* background-color: white; */
	/* border-left: 1px solid purple; */
}
.epg_liniaal_uur {
	border-top: 2px solid lightgray;
	height: 540px;
  }
#epg_liniaal {
	position: absolute;
	width: 25px;
	left:-25px;
	top: 195px;
	/* border: 1px solid rgb(245, 12, 237); */
	height: 670px; 
	overflow: hidden;
}