body{
	background-image: none;
	background-color: #fff;
	width:100%;
	min-height:1024px;
	margin:auto;
	font-family: 'Open Sans', sans-serif;
}

@media screen and (max-width:516px){
	body{
		width:100%;
		background-size: contain;
		background-position: 0 270px !important;
		background-image: url('https://www.aptntv.ca/taken/wp-content/uploads/sites/167/2025/11/415x450-taken.jpg') !important;
	}
}

#level2{
	margin-top:-19px;
	width: 1080px;
	margin: 0 auto;
}
.entry img, img.thumbnail {
	border: 0px;
}
#level1{
	margin-top: -4px;
}
#top{
	/* width:100%; */
	background-color: #5f6062;
	margin: unset !important;
}

#top #top-menu{
	margin-left:0 !important;
	overflow:hidden;	
}
#top ul.menu > li a:link {
	margin-top: 0 !important;
}
.column-full{
	width:100%;
	margin-left:auto;
	margin-right:auto;
	overflow:hidden;
}

#navigationHOME{
	margin-top:-2px;
}

#navigationHOME ul.nav{
	font-size: 15px !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left:0 !important;
}

#wrapper{
	max-width: 980px;
	background: transparent;
}

#header{
	padding-top:460px;
	padding-bottom:0;
}

#header #logo{
	display:none;
}

#navigation{
	font: 16px 'Open Sans', sans-serif;
	background:#fff;
	border: 0;
	margin-bottom:0;
	border-radius:0;
	-webkit-border-radius:0;
	box-shadow:none;
	-webkit-box-shadow: none;
}

#navigation ul.nav > li.current_page_item a{
	background-color: #eee;
	background-image:none;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:10px;
	padding-right: 10px;
}

#navigation ul.nav > li a{
	color:#5f6062;
	border:0;
	text-shadow:none;
	font-weight:normal;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:10px;
	padding-right: 10px;
}
#navigation ul.nav > li:hover{
	background-color: #eee;
	color:#8b201b;
	background-image:none;
}
#navigation ul.nav > li a:hover{
	background-color: #eee;
	color:#8b201b;
	background-image:none;
}
#navigation ul.nav > li:last-child a{
	box-shadow: none;
	-webkit-box-shadow:none;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:10px;
	padding-right: 10px;
}

#navigation ul.nav > li:first-child a{
	box-shadow: none;
	-webkit-box-shadow:none;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:10px;
	padding-right: 10px;
}

#navigation ul.nav > li:first-child a:hover{
	background-color: #eee;
	color:#8b201b;
	background-image:none;
}

#navigation ul.nav > li:last-child a:hover{
	background-color: #eee;
	color:#8b201b;
	background-image:none;
}
#navigation ul.nav > li{
	margin-right:10px;
}
#navigation ul#main-nav{
	margin-top:13px;
	margin-left:15px;
}
#navigation ul.nav ul{
	background:#eee;
}
#navigation ul.nav ul > li a:hover{
	background-color: #eee;
	color:#8b201b;
	background-image:none;
}
#navigation ul.nav ul > li:last-child a{
	border-radius: 0;
	background: #eee;
}

#navigation ul.nav ul > li:last-child a:hover{
	background-color: #eee;
	color:#8b201b;
	background-image:none;
}

#navigation ul.nav > li.current_page_item ul li a{
	background: #eee;
}

#navigation ul.nav > li.current_page_parent a, #navigation ul.nav > li.current-menu-ancestor a{
	background-color:#eee;
	background-image:none;
}

#navigation ul.nav > li.current_page_parent ul li a, #navigation ul.nav > li.current-menu-ancestor ul li a{
	background:none;
}

a:link{
	color:#5f6062;
	font-weight: bold;
}

#content{
	background: #fff;
}

#sidebar{
	width:32%;
}

#main{
	width:66%;
	padding-right:5px;
	margin-left:5px;
	float: right;
}

#schedule-detail{
	background-color: #5f6062;
	color: #fff;
	line-height:20px;
	font-family:'Open Sans', sans-serif;
	font-size: 15px;
	padding:10px;
	margin-bottom:10px;
}
#schedule-lang{
	font-size: 20px;	
	padding-top:10px;	
}

.content > div {display: none;}
input {display: none;}
label {display: inline-block; padding: 10px 15px; color: transparent;}
#label1{
	background: url(http://www.aptntv.ca/images/newbranding/feed-icons-transparent-e.png) center no-repeat;
}
#label2{
	background: url(http://www.aptntv.ca/images/newbranding/feed-icons-transparent-w.png) center no-repeat;
}
#label3{
	background: url(http://www.aptntv.ca/images/newbranding/feed-icons-transparent-n.png) center no-repeat;
}
#label4{
	background: url(http://www.aptntv.ca/images/newbranding/feed-icons-transparent-hd.png) center no-repeat;
}
label:hover { cursor: pointer; }
input:checked + #label1 {background: #6cb33f !important; color: #fff; font-weight: 800;}
input:checked + #label2 {background: #f6a01a !important; color: #fff; font-weight: 800;}
input:checked + #label3 {background: #005daa !important; color: #fff; font-weight: 800;}
input:checked + #label4 {background: #ee3124 !important; color: #fff; font-weight: 800;}
   
#tab1:checked ~ .content #content1,
#tab2:checked ~ .content #content2,
#tab3:checked ~ .content #content3,
#tab4:checked ~ .content #content4 {
    display: block;
}

.home-section header{
	display:none;
}

.home-section .btn{
	display:none;
}

#footer-wrapper{
	display:none;
}

.home-section ul li .item{
	width:100%;
}

.home-section ul .item h3{
	margin-top:10px;
	margin-bottom: 10px;
}

h2{
	font:21px 'Open Sans', sans-serif;
	color: #6d6e70;
	margin-left: 10px;
	margin-bottom:20px;
}
.type-page header h1{
	font:21px 'Open Sans', sans-serif;
	color: #6d6e70;
	margin-left: 10px;

}
p{
	font: 14px 'Open Sans', sans-serif;
	color: #262324;
	line-height:1.5em;
	margin-bottom:0.618em;
	padding-right: 30px;
	/*margin-left: 10px;*/
}

#showDescription{
	padding-right: 10px;
}

#pageTitle{
	display:none;
}

.type-page img{
	background: none;
}

/*
.entry{
	margin-left: 10px;
}
*/

#main-nav3{
	margin-left:0 !important;
	}

ul.menu li a{
	padding:0 1em !important;
}

.epGuide{
	display: flex;	
}
.epGuide > p {
	display: none;
}
.entry .ep-img {
	float: left; 
	margin: 10px 10px 10px 0px;
	align-self: baseline;
}
.entry .ep-syn {
	width: 390px;
	margin: 10px;
	float: left;
}
.entry .divider {
	width: 640px; 
	margin: 10px 0px; 
	border-top: 2px solid #eee;
}
#content h3.title span {
	font: 21px 'Open Sans', sans-serif;
	color: red !important;
	/*margin-left: 10px;*/
}
.home #content h3.title span {
	margin-left: 0;
}
.coverImage {
	padding-right: 15px;
	margin-bottom: 20px;
	display: inline-block;
  	position: relative;
}
.coverImage img {
	max-width: 100%;
	cursor: pointer;
}
.coverImage .thumb {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	width: 96px;
	height: 96px;
	background: unset;
	border: unset;
}
.coverImage .overlay-label {
	position: absolute;
	top: 80%; left: 50%;
	transform: translate(-50%,-50%);
	color: white;
	text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
			 0px 18px 23px rgba(0,0,0,0.1);
	cursor: pointer;
}
.swal2-popup {
	font-size: unset;
}
.swal2-modal .form-check input,
.swal2-modal .form-check label {
	display: unset !important;
	color: unset !important;
}
.swal2-modal .form-check input {
	vertical-align: middle;
}
.swal2-modal .form-check label {
	padding: 0;
}
.swal2-styled.swal2-confirm {
	font-size: 1.3em !important;
}
.post img {
	border: unset;
}

.page_item_has_children:after,
.menu-item-has-children:after {
    content: "";
    width: 10px;
    height: 10px;
    background: url('images/arrow-superfish.png') no-repeat 0 0;
    top: 15px;
    right: -1px;
    position: absolute;
    display: inline-block;
}
.nav li ul li {
    background: #eee;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #dbdbdb;
}
.two-col-left #main .type-post h2.title {
	margin-left: 0;
}
#navigation ul.nav > li.current_page_parent a, #navigation ul.nav > li.current-menu-ancestor a {
	padding-top: 5px !important;
}
ul.nav ul {
    width: auto;
	min-width: 100%;
	white-space: nowrap;
}

/* .pull-left {
	float: left;
}
.pull-right {
	float: right;
} */
.entry h2 {
	margin-left: 0;
}
article.type-page img.wp-image-11 {
	margin-bottom: 4em;
}
.text-light-grey {
	color: rgba(0,0,0,.54);
}
.hidden-xs {
	display: inline-block;
}
.visible-xs {
	display: none;
}
#APTNheader h1 {
	margin: 0 10px !important;
}
#top {
	height: unset !important;
}
/* #socialIcons{
	width:70%;
} */
#level2 {
	display: flex;
	justify-content: space-between;
	padding: 15px 0;
}
#level2 #socialIcons {
	align-self: flex-end;
	width: unset !important;
	margin: 0 10px 0 0 !important;
}
#APTNheader {
	display: flex;
    justify-content: space-around;
}
#APTNheader #topAds {
	display: flex;
	justify-content: flex-end;
}
.soc-med {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-left: 10px;
}
.soc-line {
	margin-bottom: 5px;
}
.soc-long {
	flex-basis: 100%;
}
.soc-long img {
	width: 100%;
}
.soc-inline {
	display: flex;
    justify-content: space-between;
    width: 100%;
}
.soc-inline .soc-short {
	margin-left: 5px;
}
.soc-inline .soc-short:first-child {
	margin-left: 0;
}
.soc-short img {
	width: 100%;
}

#content .lumi-title span {
	color: #C2198C !important;
	font: 21px 'Open Sans', sans-serif;
    margin-left: 10px;
}
.lumi-details {
	margin-left: 15px;
}
.lumi-details a {
	color: #52A0CD !important;
}
.lumi-btn img {
	width: 70%;
}

@media screen and (max-width:1079px){
	#level2 {
		width: unset !important;
	}
	#APTNheader {
		justify-content: unset;
		width: 100% !important;
	}
	#navigationHOME ul.nav > li {
		float: left;
		list-style: none;
	}
	.entry .ep-img {
		align-self: baseline;
	}
}

@media screen and (max-width:516px){
	body{
		width:100%;
	}
	#level1 {
		height: 90px !important;
		display: block;
	}
	#level2 {
		flex-wrap: wrap;
	}
	#level2 span{
		display:block;
	}	
	#navigation{
		display: block !important;
	}
	#main{
		width:100%;
	}
	#header {
		padding-top: 400px;
	}
	#sidebar{
		width:100%;
	}
	#showText{
		width:100%;
	}
	.epGuide{
		width:100%;
		flex-wrap: wrap;
	}
	
	.column-full{
		width:100%;
	}
	#socialIcons{
		width:100%;
		padding: 5px 10px;
	}
	.type-page .entry div[style*="width: 660px"] {
		width: 100% !important;
	}
	.entry .ep-img {
		width: 95% !important;
		height: 100% !important;
	}
	.entry .ep-syn {
		width: 95% !important;
		margin: 10px;
		float: left;
	}
	.entry .divider {
		width: 95%; 
		margin: 10px 0px; 
		border-top: 2px solid #eee;
	}
	#navigationHOME ul.nav > li {
		float: left;
		list-style: none;
	}
	.post {
		padding-left: 15px;
	}
	.ad-bar {
		margin: 50px 0 0 10px !important;
	}
	.ad-box #div-gpt-ad-1459972236597-0 {
		width: unset !important;
	}
	article.type-page img.wp-image-11 {
		margin-bottom: unset;
	}
	.hidden-xs {
		display: none;
	}
	.visible-xs {
		display: inline-block;
	}
}

@media screen and (max-width:360px){
	#navigationHOME ul.nav > li a {
		padding: .6em 1.1em !important;
	}
}

@media only screen and (min-width : 517px) and (max-width : 767px) and (orientation:portrait) {
	#navigationHOME ul.nav > li a {
		padding: .598em .9em !important;
	}	
	body{
		width:100%;
		background-size: contain;
    	background-position: 0 10em !important;
	}
	#level2 span{
		display:block;
	}	
	#navigation{
		display: block !important;
	}
	#navigation ul#main-nav {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		margin: 15px 0;
	}
	#main{
		width:100%;
	}
	#header {
		padding-top: 330px;
	}
	#content {
		width: 90%;
		padding: 20px;
	}
	#sidebar{
		width:100%;
	}
	#showText{
		width:100%;
	}
	.epGuide{
		width:100%;
	}	
	.column-full{
		width:100%;
	}
}

/* Portrait - iPad */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
	body {
		background-size: contain;
		background-position-y: 110px !important;
	}
	#top{
		margin: unset !important;
	}
	#header {
		padding-top: 330px;
	}
	nav#navigation > div:first-child {
		width: 32% !important;
	}
	#navigation ul#main-nav {
		margin-left: 5px;
	}	
	h1#APTN {
		margin-right: 10px !important;
		margin-left: 10px !important;
	}
	/* #top {
		width: 100% !important;
	} */
	#top ul.menu > li a:link {
		margin-top: 0 !important;
	}
	#socialIcons {
		width: unset !important;
		margin-right: 10px !important;
	}
	.entry iframe {
		width: 100% !important;
	}
}

/* Portrait - iPad Pro */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
	body {
		background-size: contain;
		background-position-y: 100px !important;
	}
	h1#APTN {
		margin-right: 40px !important;
	}
	#header {
		padding-top: 400px;
	}
	#top{
		margin: unset !important;
	}
	#top ul.menu > li a:link {
		margin-top: 0 !important;
	}
	#socialIcons {
		width: unset !important;
		margin-right: 10px !important;
	}
	.entry iframe {
		width: 100% !important;
	}
}
/* Nexus 7 */
@media only screen and (min-width : 600px) and (max-width : 603px) and (orientation: portrait) {
	#navigationHOME ul.nav > li {
		float: left;
		list-style: none;
	}
	#navigationHOME ul.nav > li a {
		padding: .598em .9em !important;
	}	
	body{
		width:100%;
		background-size: contain;
    	background-position: 0 140px !important;
	}
	#level2 span{
		display:block;
	}
	
	#navigation{
		display: block !important;
	}
	#main{
		width:100%;
	}
	#header {
		padding-top: 230px;
	}
	#sidebar{
		width:100%;
	}
	#showText{
		width:100%;
	}
	.epGuide{
		width:100%;
	}	
	.column-full{
		width:100%;
	}
	/* #socialIcons{
		width:70%;
	} */
	#level2 {
		display: flex;
		justify-content: space-between;
		padding: 15px 0;
	}
	#level2 #socialIcons {
		align-self: flex-end;
	}
	#top ul.menu > li a:link {
		margin-top: 0 !important;
	}
	#navigationHOME ul.nav > li {
		float: left;
		list-style: none;
	}
	#APTNheader h1 {
		margin: 0 10px !important;
	}
	#navigation ul#main-nav {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		margin: 15px 0;
	}
	.post {
		padding-left: 15px;
	}
	.ad-bar {
		margin: 50px 0 0 10px !important;
	}
	.ad-box #div-gpt-ad-1459972236597-0 {
		width: unset !important;
	}
	.entry iframe {
		width: 100% !important;
	}
	article.type-page img.wp-image-11 {
		margin-bottom: unset;
	}
	.hidden-xs {
		display: none;
	}
	.visible-xs {
		display: inline-block;
	}
}
/** Kindle Fire HDX **/
@media only screen and (min-device-width: 800px)
    and (max-device-width: 1280px)
    and (orientation: portrait) {
		body {
			background-size: contain;
    		background-position-y: 120px !important;
		}
		#top{
			margin: unset !important;
		}
		#header {
			padding-top: 350px;
		}
		#navigation ul#main-nav {
			margin: 15px 0;
		}
		nav#navigation > div:first-child {
			width: 32% !important;
		}
}

