/* Custom CSS from 2016.montreal.wordcamp.org */
/**
 * WCMNL Changelogs:
 * - Added sponsor styles
 * - Added tagline/date styles
 * - .in-widget-quote
 **/
/* Fonts and colours */
body.custom-background {
	background: #ededed;
}

.site-content {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
}

.home .site-main .entry-content {
	background-image: url('https://2016.montreal.wordcamp.org/files/2016/04/white-w-opacity.png');
	padding-top: 1vh;
	background-size: 35% auto;
	background-position: 50% 1vh;
	background-repeat: no-repeat;
}

.header-image {
	text-align: center;
}

.home .post-thumbnail {
	display: none;
}

.home .content-area .post:after {
	border-top: 4px solid;
	width: 25%;
	margin: 10px auto 0;
	padding-top: 40px;
	top: 60px;
	position: relative;
}

.home .sticky-post {
	display: inline-block;
	background: #f4da01;
	color: black;
	padding: 0 10px;
}

.entry-content ul {
	clear: both;
}

.site-branding {
	position: relative;
	overflow: visible;
}

.site-branding .site-title a, .main-navigation a {
	color: #252165;
}

.main-navigation {
	font-family: 'Fjalla One', sans-serif;
	letter-spacing: .025em;
}

.site-title {
	float: left;
	font-family: 'Fjalla One', sans-serif;
	color: #252165;
	font-size: 1.5rem;
	text-transform: uppercase;
	letter-spacing: .025em;
	line-height: 1.6;
	font-weight: 400;
}

.entry-title {
	font-family: 'Fjalla One', sans-serif;
}

.site-description {
	color: #f4da01;
	font-family: 'Fjalla One', sans-serif;
	display: inline;
	margin-left: 10px;
	line-height: 2.9;
	vertical-align: bottom;
	font-size: 1rem;
	text-transform: uppercase;
	position: absolute;
	margin: 0;
	left: 0;
	top: 20px;
}

/* widgets */
#text-3 {
	background-color: #e55b00;
	border-top: 4px solid #e55b00;
	color: white;
	padding: 10px;
}

.widget-title {
	text-align: center;
}

.in-widget-quote {
	border-top: 4px solid;
	padding-top: 20px;
}

/* widget titles bigger in sidebar only */
.sidebar .widget-title {
	font-size: 1.4rem;
}

.widget {
	border-top: 4px solid white;
	max-width: 400px;
	font-size: 14px;
}

#image-3 {
	border-top: 4px solid #e55b00;
	padding-top: 28px;
}

#text-3 a {
	color: white;
}

#wcorg_mailchimp_wiget-5 {
	border-top: 4px solid;
}

#wcb_sponsors-4 {
	border-top: none;
}

#image-7 {
	border-top: none;
	min-height: auto;
}

#wpcom_social_media_icons_widget-3 {
	border-top: 4px solid;
}

#recent-posts-4 {
	border-top: 4px solid;
}

#recent-posts-4 a {
	color: #252165;
}

#text-10 {
	text-align: center;
	border-top: 4px solid;
}

#text-10 a {
	font-size: 22px;
	box-shadow: none;
}

#text-10 .icon-rss::before {
	margin-right: 0;
}

/* Sessions page */
.page-id-9 .avatar {
	float: left;
	margin: 0 10px 10px 0;
}

.page-id-9 .wcpt-session-meta {
	font-style: italic;
}

@media screen and (min-width: 701px) {
	.tix-column-description {
		width: 200px;
	}
	
	.tix-column-price {
		width: 60px;
	}
	
	.tix-column-remaining {
		width: 60px;
	}
	
	.tix-column-quantity {
		width: 60px;
	}
}

@media screen and (max-width: 700px) {
	table, thead, tbody, th, td, tr {
		display: block;
		width: 100%;
	}
	
	.tix_tickets_table th {
		display: none;
	}
	
	#tix td.tix-column-remaining::before {
		content: "Remaining";
		padding-right: 5px;
	}
	
	#tix td.tix-column-price::before {
		content: "Price";
	}
	
	#tix td.tix-column-quantity::before {
		content: "Quantity";
	}
	
	#tix td::before {
		color: #636363;
		font-size: .785714rem;
		font-weight: 700;
		line-height: 2.18182;
	}
	
	.tix_tickets_table {
		border: none;
	}
	
	td, th {
		border: none;
	}
}

[class^="icon-"]::before, [class*=" icon-"]::before {
	margin-right: 20px;
	font-size: 40px;
}

.wcorg-mailchimp input {
	margin-bottom: 5px;
}

.wcorg-mailchimp input[type="submit"] {
	margin: 10px auto;
}

/* Sponsors */
.wcb_widget_sponsors .bronze .sponsor-logo img, .wcb_widget_sponsors .aluminum .sponsor-logo img {
	margin-bottom: 15px;
}

.wcb_widget_sponsors .sponsor-level-title {
	font-size: 1.2rem;
}

.wcorg-sponsor-description > img {
	max-width: 400px;
	margin: 0 0 50px;
	padding-top: 30px;
}

.wcorg-sponsors > div,
.wcb_widget_sponsors .sponsor-level {
	text-align: center;
	padding-bottom: 30px;
}

.wcorg-sponsors > div:before,
.wcb_widget_sponsors .sponsor-level:before {
	content: '';
	width: 100%;
	display: block;
	height: 4px;
	background-color: #f4da01;
	top: 22px;
	position: relative;
}

.wcorg-sponsors > div > h2,
.wcb_widget_sponsors .sponsor-level h4 {
	display: inline-block;
	background: white;
	z-index: 9;
	position: relative;
	padding: 0 15px;
}

.wcorg-sponsors .wcorg-sponsor h3 {
	display: none;
}

.wcorg-sponsors .wcorg-sponsor {
	margin-bottom: 20px;
}

.wcorg-sponsors .wcorg-sponsor-description p,
.wcorg-sponsors .wcorg-sponsor-description ul {
	text-align: left;
}

.call-for-sponsor-nag {
	background: #f4da01;
	padding: 20px;
}

.call-for-sponsor-nag a {
	color: inherit;
}

.page-slug-sponsors .wcb_widget_sponsors,
.page-slug-sponsors .widget .call-for-sponsor-nag {
	display: none;
}

.single-wcb_sponsor .entry-header {
	display: none;
}

/* Organizers */
.wcorg-organizers .wcorg-organizer {
	float: left;
	width: 50%;
	margin-bottom: 50px;
}

.wcorg-organizers .wcorg-organizer h2 {
	font-size: 1.25rem;
	font-size: 20px;
	margin-bottom: 0;
}

.wcorg-organizers .wcorg-organizer ul {
	margin-top: 18px;
	padding: 0 15px;
}

.wcorg-organizer-description:before {
	content: '';
	height: 30px;
	width: 2px;
	background-color: black;
	display: block;
	left: 50px;
	position: relative;
	margin: 10px 0;
}

/* Schedule */
.wcpt-schedule td {
	vertical-align: top;
}

.wcpt-schedule a {
	box-shadow: none;
}

.wcpt-schedule .wcpt-session-speakers {
	display: block;
	font-size: 90%;
	text-transform: uppercase;
	margin-top: 5px;
}

/* Narrow time column on wider screens */
@media screen and (min-width: 710px) {
	.wcpt-col-time {
		width: 100px;
	}
}

/* No dotted lines on tracks or indentation before speaker names */
@media screen and (max-width: 710px) {
	.wcpt-session-type-session::before {
		border-bottom: none;
		border-top: none;
	}
	
	span.wcpt-session-speakers {
		padding-left: 10px;
	}
}

.entry-content .wcb-track-designers::before {
	content: "Design";
	background-color: #C6C007;
}

.entry-content .wcb-track-marketing::before {
	content: "Marketing";
	background-color: #5E5E5E;
}

.entry-content .wcb-track-code::before {
	content: "Code";
	background-color: #008CAE;
}

.entry-content .wcb-track-general::before {
	content: "General";
	background-color: #204B98;
}

.entry-content .wcpt-session-type-session::before {
	color: #fff;
	display: block;
	padding: 3px 10px;
	text-transform: uppercase;
}

.wcb-track-design::before {
	background-color: #e6c091;
}

.entry-content h4 {
	margin: 0 0 5px;
}

/* Speakers */
.wcorg-speaker-description .avatar, .entry-content .speaker-avatar {
	float: left;
	margin: 0 10px 10px 0;
}

/* Hide Author Bio on single sessions */
.single .author-info {
	display: none;
}

/* Hide speaker name on single workshops (including manually so they appear on track list) */
.wcb_track-workshops .session-speakers, .wcb_track-workshops #session-speaker-names {
	display: none;
}

/* Hide featured image on homepage, schedule, and tickets pages (used for social-media sharing only) */
.home .post-thumbnail, .page-id-7 .post-thumbnail, .page-id-13 .post-thumbnail {
	display: none;
}

/* Responsive restaurant table styling */
@media only screen and (max-width: 800px) {
	/* Force table to not be like tables anymore */
	#restaurants table, 
																																																					#restaurants thead, 
																																																					#restaurants tbody, 
																																																					#restaurants th, 
																																																					#restaurants td, 
																																																					#restaurants tr {
		display: block;
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	#restaurants thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	#restaurants tr {
		border-bottom: 1px solid #ccc;
		border-right: 1px solid #ccc;
	}
	
	#restaurants td {
	/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 40%;
		white-space: normal;
		text-align: left;
	}
	
	#restaurants td:before {
	/* Now like a table header */
		position: absolute;
	/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
		text-align: left;
		font-weight: bold;
	}
	
	/* Label the data */
	#restaurants td.restaurant:before {
		content: "Restaurant";
	}
	
	#restaurants td.cafe:before {
		content: "Café";
	}
	
	#restaurants td.type:before {
		content: "Type";
	}
	
	#restaurants td.address:before {
		content: "Address";
	}
}

html .entry-footer {
	display: none !important;
}

html .single .entry-content {
	width: 100% !important;
}

html h2.session-speakers, html ul#session-speaker-names, 
.entry-content .speaker-avatar {
	display: none;
}

.site-description {
	text-transform: none;
	font-size: 15px;
}

#main .entry-content {
	width: 100%;
}

@media only screen and (max-width: 640px) {
	#main .entry-content {
		margin: 0 8px;
		width: 98%;
	}
	
	.home .wcpt-schedule {
		width: 95%;
	}
	
	.site-title {
		float: none;
		font-size: 1.2em;
		font-weight: 700;
		text-align: center;
	}
	
	.site-branding {
		width: 100%;
	}
	
	.wcpt-session-title {
		padding: 0;
	}
	
	.entry-content .wcpt-session-type-session::before {
		display: none;
	}
	
	.entry-title {
		text-align: center;
	}
	
	.site-header {
		padding: 19vh 0 0;
	}
	
	html .single .entry-content {
		width: 95% !important;
	}
	
	.widget.widget_wpcom_social_media_icons_widget ul {
		text-align: center;
	}
	
	.widget.widget_wpcom_social_media_icons_widget li {
		float: none;
		padding: 0 10px;
		display: inline-block;
	}
}