/*
Theme Name: Startup TV 2016
Theme URI: http://startup.tv
Author: Yzoja
Author URI: http://pudlo.be
Version: 1.0.2016
*/

@import url('https://fonts.googleapis.com/css?family=Cairo:300,400,700|Rajdhani:700&subset=latin-ext');
@import url('foundation.css');

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Cairo';
	background: #222;
	color: #3b3b3b;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Rajdhani';
	font-weight: 700;
	margin-top: 0;
}

.accent, a, li.current-menu-item a {
	color: #EB6B1B;
	text-decoration: none;
	transition: all 0.4s;
}

.bg-accent, input[type='submit'], .bigButton a, .comment-reply-link {
	background: #EB6B1B;
	color: #fff;
	font-weight: bold;
}

.clear {
	clear: both;
}


/* form */

input[type='submit'] {
	border: 0;
	padding: 10px 20px;
}

/* Header */

header *[class*="widget"] img, body > *[class*="widget"] img, .textwidget img, body > .widget_sp_image-image-link, body > .widget_sp_image-image-link img {
	display: block;
	margin: 0 auto;
}

header .widget_sp_image-image-link {
	margin-bottom: 1em;
	display: block;
}

#stream > a.widget_sp_image-image-link {
	width: 100%;
	margin: 1em 0;
	text-align: center;
}

#stream > .textwidget {
	margin-left: -1rem;
	margin-bottom: 2rem;
}

.row {
	background: #fff;
}

#logo {
	float: left;
	padding-left: 1rem;
}

header {
	padding: 0;
}

header .row {
	padding: 2em 0;
}

#logo img {
	padding-left: 0.6rem;
}

#menu-button {
	display: none;
}

header nav {
	text-align: right;
}

header nav li {
	list-style-type: none;
	display: inline-block;
	margin-right: 1rem;
	line-height: 56px;
	padding-top: 20px;
}

header nav li a:hover {
	border-bottom: 1px solid #EB6B1B;
}

header nav li a {
	color: #000;
	border-bottom: 1px solid #fff;
	text-decoration: none;
	text-transform: uppercase;
}

nav li {
	transition: all 0.4s;
}

#navigation ul {
	list-style-type: none;
	text-align: left;
}

#navigation li {
	text-transform: uppercase;
	padding: 0 1rem;
	margin-left: 1rem;
	line-height: 50px;
	display: inline-block;
}

#navigation li a {
	text-decoration: none;
	color: #fff;
}


#navigation li.share {
	text-align: center;
	width: 50px;
	margin-left: 0;
	color: #fff;
	padding: 0;
	float: right;
}

#navigation li.share:hover {
	background: #000;
}

#navigation li.share a {
	color: #fff;	
	display: block;
}

#navigation + .row {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

#navigation .row {
	background: black;
}


/* Stream */

#stream #show-info {
	background: #eb6b1b;
	margin: 0 1rem 2rem 1rem;
	width: 100%;
}

#stream #show-info img {
	float: left;
	width: 60%;
	margin-right: 2rem;
}

#stream #show-info h3 {
	color: #fff;
	font-size: 1.3em;
	padding-top: 2rem;
	padding-right: 2rem;
}

#stream #show-info p {
	color: #fff;
	font-weight: normal;
	padding: 1rem 2rem 2rem 0;
}

#stream > .widget {
	width: 100%;
	margin-left: -1rem;
	margin-bottom: 2rem;
	padding: 2rem;
	background: #000;
}

#stream > .widget > h2 {
	color: #eb6b1b;
	padding-bottom: 2rem;
	text-transform: uppercase;
}

#stream > .widget article {
	border: 0;
}

#stream, #related {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#stream article, #related article {
	flex-shrink: 2;
	flex-grow: 2;
	border-color: #fff;
	border-style: solid;
	border-width: 0rem 1rem 2rem 1rem;
	overflow: hidden;
}

#stream .widget .video-cover:before {
	padding-top: 60%;
}

#stream .widget .bigger-video-cover:before {
	padding-top: 71%;
}

.bigger-video-cover .cover-link:after {
	height: 100%;
	right: -230%;
	transform: rotate(40deg);
    transition: none;
    -webkit-transform: rotate(40deg);
    -webkit-transition: none;
}

#stream .widget .inside h3 {
	font-size: 1em;
	width: 100%;
	padding: 1em;
}

#stream .inside .meta {
	text-align: right;
	font-size: 0.9em;
}

#stream .inside .meta strong, #stream .inside .meta strong i {
	padding-left: 10px;
	font-weight: normal;
}

#stream .widget .bigger-video-cover .inside h3 {
	font-size: 2em;
}

/* Video posts */

.term {
	position: absolute;
	top: 0;
	left: 2rem;
	z-index: 3;
}

.term a, .button, .bigButton a, .comment-reply-link {
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 18px;
	display: inline-block;
}

.inside h3 {
	position: absolute;
	bottom: 0;
	width: 80%;
	padding: 2rem;
	left: 0;
	font-size: 1.6em;
	line-height: 1em;
	color: #fff;
	z-index: 3;
	pointer-events: none;
}

.cover {
	position: relative;
	background-size: cover;
	background-position: center center;
}

.video-cover:before {
	content: "";
	display: block;
	padding-top: 55%;
}

.cover-link {
	background: -moz-linear-gradient(top, rgba(0,0,0,0.28) 0%, rgba(0,0,0,1) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.28) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.28) 0%,rgba(0,0,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#47000000', endColorstr='#000000',GradientType=0 );
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.8;
}

.cover-link:after {
	width: 220%;
	height: 80%;
	position: absolute;
	background: rgba(255,255,255,0.6);
	content: "";
	top: -10%;
	right: -190%;
	transform: rotate(30deg);
	transition: none;
	-webkit-transform: rotate(30deg);
	-webkit-transition: none;
}

.cover-link:hover:after {
	right: 100%;
	opacity: 0;
	transition: all 0.8s;
	-webkit-transition: all 0.8s;
}

/* */

#single > article {
	margin: 0 1rem;
}

.thumb-cover img {
	display: block;
	width: 100%;
	margin-bottom: 2rem;
	height: auto;
}

#video {
	background: #EB6B1B;
	float: left;
	margin-left: -2rem;
	border: 1rem solid #EB6B1B;
	border-left-width: 2rem;
	margin-right: 1rem;
	margin-bottom: 2rem;
	position: relative;
}

#video:before {
	display: block;
	content: "";
	padding-top: 75%;
}

#video iframe {
	border: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

#time {
	text-align: right;
	color: #aaa;
	display: block;
	margin-bottom: 2rem;
	font-size: 0.8em;
}

#post-title {
	line-height: 120%;
}

#tags {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #EB6B1B;
	line-height: 1.2em;
	margin-bottom: 2rem;
}

#tags a {
	background: #eee;
	font-size: 11px;
	padding: 3px 5px;
	color: #222;
	text-transform: uppercase;
	display: inline-block;
	margin-bottom: 3px;
	line-height: 1.2em;
	white-space: nowrap;
	text-decoration: none;
}

#entry a {
	text-decoration: underline;
}

#entry p ~ p {
	margin-top: 1em;
}

#entry h2, #entry h3, #entry h1 {
	margin-top: 2em;
}

#entry li {
	margin-left: 1.5em;
}

#entry ul, #entry ol {
	margin-bottom: 1em;
}

#share {
	padding-top: 2rem;
}

#share a {
	float: right;
	line-height: 40px;
	height: 40px;
	width: 40px;
	text-align: center;
	display: inline-block;
	font-family: 'Heuristica';
	font-size: 12px;
	font-weight: 300;
	text-transform: lowercase;
}

#share a:hover {
	color: #fff;
	background: #222;
}

#share i {
	vertical-align: middle;
	font-size: 15px;
}

.google-plus {
	background: #DB4437;
	color: #fff;
}

.twitter {
	background: #55acee;
	color: #fff;	
}

.facebook {
	background: #3b5998;
	color: #fff;		
}

.rss {
	background: #FF9900;
}

.youtube {
	background: #EE1C19;
}

/* */ 

.pagination {
	margin-left: 1rem;
	margin-right: 1rem;
	text-align: center;
	width: 100%;
	position: relative;
}

.pagination .next {
	position: absolute;
	right: 0;
	top: 0;
	width: 105px;
	font-size: 13px !important;
	text-align: right;
}

.pagination .prev { 
	text-align: left;
	position: absolute;
	left: 0;
	top: 0;
	width: 115px;
	font-size: 13px !important;
}

.pagination a.page-numbers, .pagination span.current.page-numbers {
	padding: 0 15px;
	background: #333;
	color: #eee;
	line-height: 35px;
	display: inline-block;
	vertical-align: middle;
	text-transform: uppercase;
	font-size: 15px;
	text-decoration: none;
}

.pagination a.page-numbers:hover {
	background: #000;
}

.pagination .page-numbers.dots {
	color: #8a8a8a;
	padding: 0 10px;
}

.pagination span.current.page-numbers {
	background: #EB6B1B;
	font-weight: bold;
	color: #eee;
}

/* Sidebar */

section.column.large-3.small-12 {
	padding-left: 0;
}

#sidebar .excerpt {
	clear: both; 
	font-size: 0.9em;
	padding: 1rem;
	background: #eee;
}

#sidebar .textwidget a {
	margin-top: 1rem;
}

#sidebar .recentcomments {
	font-size: 0.9em;
}

#sidebar .comment-author-link a {
	font-weight: bold;
	color: #a8a8a8;
}

#sidebar article {
	overflow: hidden;
	position: relative;
	margin-top: 2rem;
}

#sidebar article .term {
	right: 1rem;
	left: auto;
	top: -1rem;
}

#sidebar article h3 {
	width: auto;
	font-size: 1.2em;
	padding: 1rem;
}

#sidebar .widget {
	padding-bottom: 2rem;
}

#sidebar .textwidget {
	padding-top: 1rem;
}

#sidebar h2 {
	text-transform: uppercase;
	font-size: 1.4em;
}

#sidebar li {
	list-style-type: none;
	padding-top: 1rem;
}

#sidebar li a {
	text-decoration: none;
}

/* Comments */

div#comments {
	margin: 0 1rem;
	border-top: 1px solid #ddd;
	padding-top: 2rem;
}

#comments .children {
	margin-left: 2rem;
	border-left: 1px solid #ddd;
	padding-left: 1rem;
}

#comments li {
	list-style-type: none;
}

#comments .reply {
	text-align: right;
	opacity: 0;
	transition: all 0.4s;
	text-transform: uppercase;
}

#comments .comment-body:hover .reply {
	opacity: 1;
}

#comments .reply a:hover {
	background: #333;
}

#comments cite.fn {
	margin-left: 2rem;
	font-style: normal;
	font-weight: bold;
}

h3#comments {
	padding-bottom: 2rem;
}

.comment-author.vcard {
	float: left;
	line-height: 32px;
}

.comment-meta.commentmetadata {
	float: right;
	line-height: 32px;
	font-size: 0.8em;
}

.comment-body {
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid #ddd;
}

.comment-body p {
	clear: both;
	margin-left: 2rem;
	padding-left: 35px;
}

/* Comments form */

#respond {
	margin-top: 2rem;
}

#respond label, .form label {
	display: inline-block;
	width: 200px;
	color: #3B3B3B;
	border-bottom: 1px solid #eb6b1b;
}

#respond p, .form > div {
	padding-bottom: 1rem;
}

.comment-notes {
	border: 1px solid #ddd;
	padding: 1rem;
	margin: 2rem 0;
}

#respond textarea, #respond input, .form input, .form textarea {
	border-radius: 0;
	border: 1px solid #aaa;
}

#respond textarea, .form textarea {
	padding: 10px;
	font-size: 13px;
	vertical-align: top;
}

input {
	text-indent: 10px;
}

input[type="submit"] {
	border-width: 0;
	text-indent: 0;
}

textarea:focus, input:focus {
	border-color: #eb6b1b;
	border-style: solid;
	outline: none;
}

div.form {
	padding-top: 2rem;
}

.form .wpcf7-email:focus {
	border-width: 1px;
}


/* Bottom */

footer .row {
	background: #3B3B3B;
	width: 100%;
	float: none;
}

footer .row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

footer a {
	list-style: none;
	text-align: center;
	width: 250px;
	flex-grow: 2;
	flex-shrink: 1;
	padding: 2em;
}

footer h2 {
	color: #fff;
	width: 100%;
	flex: none;
	padding-top: 2rem;
	padding-left: 1rem;
	text-transform: uppercase;
}


footer img {
	max-height: 60px;
	width: auto;
	max-width: 100%;
}

#copyright {
	flex: none;
	font-size: 0.8em;
	background: #fff;
	padding: 1rem 2rem;
	text-align: right;
	width: 100%;
}


#copyright a {
	padding: 0;
}

/* */

#timetable {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	height: 800px;
	width: 100%;
}

#timetable > div {
	position: relative;
	background: #eee;
	border-right: 10px solid #fff;
	border-top: 10px solid #fff;
/*	margin-bottom: 1rem;*/
	flex-grow: 1;
	height: 370px;
	width: 20%;
	background-size: cover;
}

#timetable > div.friday {
	border-right: 0;
}

#timetable > div p {
	font-size: 13px;
	line-height: 17px;
}

#timetable span {
	padding: 0.5em 1rem;
	color: #eee;
	background: #222;
/*	margin-bottom: 1rem;
*/	font-family: 'Rajdhani';
	text-transform: uppercase;
}

a.cover {
	position: relative;
	overflow: hidden;
	height: 150px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: block;	
}

#timetable .show-desc {
	padding: 1rem;
	background: #eee;
}

a.cover.yt-backstage {
	background-size: contain;
	background-color: #fff;
}

 .monday {
 	order: 1;
 }

 .tuesday {
 	order: 2;
 }

 .wednesday {
 	order: 3;
 }

 .thursday {
 	order: 4;
 }

 .friday {
 	order: 5;
 }

@media screen and (max-width: 63.5em) {

	section.column.large-3.small-12 {
		margin-top: 2rem;
		padding: 2rem;
		background: #eee;
	}


}

@media screen and (max-width: 63.5em)  and (min-width: 40em)  {

	#sidebar .widget {
		float: left;
		width: 40%;
	}

	#sidebar .widget_query_widget {
		float: right;
		padding-left: 2rem;
		width: 60%;
	}

}

@media screen and (max-width: 39.5em) {

	#logo {
		text-align: center;
		padding-bottom: 2rem;
	}

	#menu-menu-kategorii {
		line-height: 30px;
		text-align: right;
	}

	#menu-menu-kategorii li {
		line-height: 20px;
		padding-top: 0;
		font-size: 0.8em;
		margin: 0 10px;
	}

	#navigation li {
		font-size: 0.8em;
	}

}

@media screen and (max-width: 1050px) {

	a.cover {
		height: 150px;
		float: left;
		width: 45%;
		margin-right: 5%;
	}

	.show-desc h3 {
		font-size: 0.95em
	}

	#timetable > div p {
    	font-size: 12px;
    	line-height: 14px;
	}

	#timetable {
		flex-direction: row;
		height: auto;
	}

	#timetable > div {
		height: auto;
		border-right: 0;
		width: 50%;
		margin-bottom: 2em;
	}

	#timetable span {
		width: 100%;
	}

}

@media screen and (max-width: 770px) {
	a.cover {
		height: 150px;
		float: none;
		width: 100%;
		margin-right: 0%;
	}
}

@media screen and (max-width: 350px) {

	#timetable > div {
		height: auto;
		border-right: 0;
		width: 100%;
		margin-bottom: 2em;
	}

	#menu-menu-kategorii {
		margin-top: -1rem;
		line-height: 20px;
		text-align: right;
	}

	#menu-menu-kategorii li {
		line-height: 15px;
		padding-top: 0;
		font-size: 11px;
		margin: 0 0px 0 5px;
	}

	#navigation li {
		line-height: 35px;
		font-size: 12px;
		padding-right: 0;
	}

	#navigation li.share {
		width: 25%;
		height: 35px;
	}

	textarea {
		max-width: 100%;
		margin-top: 1em;
	}

	#related article h3 {
		width: 100%;
		font-size: 1.2em;
	}

	.inside h3, #stream .widget .bigger-video-cover .inside h3 {
		font-size: 1.3em;
		padding: 1rem;
		width: 100%;
	}

	#stream > .widget {
		margin-left: 0;
		margin-bottom: 1rem;
		padding: 1rem;
	}

	#stream article, #related article {
		border: 0;
		margin-bottom: 1rem;
	}		

}