@import url(//fonts.googleapis.com/css?family=Lato:900);

#content_header h4.subtitle {
	font-size: 18px;
	line-height: 22px;
	font-family: Intro-Bold, 'PT Sans', Helvetica, Arial, sans-serif;
	margin-top: -1em;
}

#content_main div.p_rezyser {
	font-size: 12px;
	line-height: 18px;
}

#content_main div.p_rezyser p + ul {
	margin-top: -1em;
}

#content_main div.p_list {
	height: 1px;
	border-top: 1px solid #c4c4c4;
	margin: 0 0 30px 0;
}

.alt_title, div.p_youtube span {
	color: #9c9c9c;
	font-weight: normal;
}

table.p_credits {
	width: 100%;
	border-top: 1px dashed #e8194f;
	padding: 6px 0 6px 0;
	border-bottom: 1px dashed #e8194f;
	font-size: 12px;
	line-height: 18px;
	margin: 0 0 1em 0;
}

table.p_credits td {
	vertical-align: top;
}

table.p_credits td.p_cfield {
	text-align: right;
	font-weight: bold;
	padding: 0 6px 0 0;
	width: 80px;
}

div#program_kalendarz {
	width: 660px;
	margin: auto;
}

div#program_kalendarz div.p_boks {
	min-height: 100px;
	margin: 0 30px 30px 0;
}


div.p_boks {
	width: 300px;
	float: left;
	text-align: left !important;
	font-size: 12px;
	line-height: 18px;
	margin: 0 0px 30px 0;
	height: 70px;
	o_verflow: hidden;
}

div.program_godzina {
	display: block;
	width: 70px;
	height: 70px;
	position: absolute;
}

div.program_godzina a {
	display: block;
	width: 70px;
	height: 35px;
	padding: 35px 0 0 0;
	text-align: center;
	color: #fff !important;
	font-size: 2em;
	letter-spacing: -1px;
	line-height: 0;
	background-color: rgba(0,0,0,0.5);
	border-bottom: 0 !important;
}

div.program_godzina a:hover {
	background: none;
	color: rgba(255,255,255,0) !important;
}

div#program_kalendarz div.p_boks h6 {
	margin: 0 0 3px 0;
	font-size: 1em;
	border-bottom: 1px solid #c2c2c2;
}

div#program_kalendarz div.p_boks p {
	clear: left;
	margin: 0 0 3px 0;
}


div.p_pasmo {
	font-size: 12px;
	line-height: 18px;
	margin: 0 0 30px 0;
	height: 70px;
	overflow: hidden;
}

div.p_pasmo p {
	margin: 0 !important;
}

div.p_boks img, div.p_pasmo a img, div.p_pasmo img {
	border: 0 !important;
	margin: 0 6px 0 0 !important;
	float: left;
	width: 70px !important;
	height: 70px !important;
}

div.p_youtube img {
	float: right;
	border: 0 !important;
	margin: 0 0 -1px 6px !important;
}

#program_kalendarz_holder {
	position: relative;
}

#kalendarz_prev {
	f_loat: left;
	display: block;
	position: fixed;
	width: 50px;
	height: 90px;
	background-image: url('/img_lay/calendar_prev.png');
}

#kalendarz_next {
	f_loat: right;
	display: block;
	position: fixed;
	margin-left: 580px;
	width: 50px;
	height: 90px;
	background-image: url('/img_lay/calendar_next.png');
}

#p_pl, #p_en {
	display: block;
	float: left;
	width: 16px;
	height: 11px;
	margin: 5px 6px 0 0;
	border: 0;
	background-repeat: no-repeat;
	background-color: transparent;
}

#p_clock {
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	margin: 3px 6px 0 0;
	border: 0;
	background-repeat: no-repeat;
	background-color: #fff !important;
	background-image: url('/img_lay/ico_clock.png');
}

#p_dir {
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	margin: 3px 6px 0 0;
	border: 0;
	background-repeat: no-repeat;
	background-color: transparent;
	background-image: url('/img_lay/ico_director.png');
}


#p_pl {
	background-image: url('/img_lay/pl.gif');
}

#p_en {
	background-image: url('/img_lay/gb.gif');
}

.sort_letter, .sort_day, .sort_director {
	margin: 0 0 18px 0 !important;
	font-size: 12px;
	margin: 0;
	height: 1em;
	width: 100% !important;
}

.sort_letter a {
	display: block;
	float: left;
	text-align: center;
	width: 19.5px;
	margin: 0 3px 0 0;
	background-color: #c6c6c6;
	text-decoration: none;
	color: #ffffff !important;
	font-weight: bold;
	border-bottom: 0 !important;
}

.sort_director a {
	display: block;
	float: left;
	text-align: center;
	width: 62.5px;
	margin: 0 5px 0 0;
	background-color: #c6c6c6;
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
}

.sort_day a {
	display: block;
	float: left;
	text-align: center;
	width: 64.5px;
	margin: 0 3px 0 0;
	background-color: #c6c6c6;
	text-decoration: none;
	color: #ffffff !important;
	font-weight: bold;
	border-bottom: 0 !important;
}

.sort_letter a:hover, .sort_letter a.selected, .sort_director a:hover, .sort_director a.selected, .sort_day a:hover, .sort_day a.selected {
	background-color: #e8194f !important;
	color: #ffffff !important;
}

div.p_youtube {
	float: right;
	width: 300px;
	margin: -1.7em 0 15px 15px;
	w_hite-space: nowrap;
	background: #e8194f;
	padding: 0 0 5px 0;
}

div.p_youtube h5 {
	display: block;
	width: 250px;
	height: 25px;
	overflow: hidden;
	background-image: url('/img_lay/program_2012_headers.png');
	margin: 0;
}

div.p_youtube p {
	font-size: 14px;
	line-height: 18px;
	m_argin: 0.5em 0 0.5em 0;
	margin: 0;
	padding: 10px 5px 5px 5px;
	color: #ffffff;
}

div.p_youtube a {
  text-decoration: none;
  color: #fff !important;
}

div.p_youtube h5#pokazy_en {
	background-position: 0px 0px;
}

div.p_youtube h5#pokazy_pl {
	background-position: 0px -25px;
}

div.p_youtube h5#trailer {
	margin: 1em 0 0 0;
	background-position: 0px -50px;
}

div.p_youtube h5 span {
	display: none;
}

div.p_youtube .filmaster {
	display: block;
	color: #eb4508;
	text-decoration: none;
	font-weight: bold;
	background-image: url('../img_lay/filmaster.gif');
	background-position: top right;
	background-repeat: no-repeat;
	line-height: 21px;
}

h1 span, h2 span, h3 span, h4 span {
	f_ont-family: Lato, Helvetica, Arial, sans-serif;
}

#content_main h1 {
	font-size: 28px;
	line-height: 32px;
	color: #e8194f;
	font-family: Intro-Bold, 'PT Sans', Helvetica, Arial, sans-serif;
}

#content_main h1 + h2 {
	margin-top: -0.5em;
}

#content_main h4 {
	font-size: 14px;
	line-height: 16px;
	color: #414042;
	margin: 0 0 12px 0 !important;
}

.clock_left {
  float: left;
  color: #ffffff !important;
  margin: 4px 5px 0 7px;
}

#logo_pl {
	width: 630px;
	height: 75px;
	background: url('../gfx/tofifest_2017_znak_pl.png') no-repeat;
	margin: 0 0 35px 0;
}

#logo_en {
	width: 630px;
	height: 75px;
	background: url('../gfx/tofifest_2017_znak_en.png') no-repeat;
	margin: 0 0 35px 0;
}

@media screen and (max-width: 600px) {
	.sort_letter, #p_clock {
		display: none;
	}
	
	.sort_day {
		height: 6em;
	}
	
	.sort_day a {
		width: 32%;
		margin: 0 1% 1% 0;
	}
	
	div#program_kalendarz {
		width: 100%;
	}
	
	.p_list {
		margin: 0 0 15px 0 !important;
	}
	
	div.p_boks {
		width: 100%;
		height: auto;
		margin: 0 0 15px 0 !important;
		min-height: 0 !important;
	}
	
	.p_youtube {
		float: none !important;
		width: 100% !important;
		margin: -28px 0 30px 0 !important;
	}
}