/**
 * Theme Name:     UBC News
 * Theme URI:      http://news.ubc.ca
 * Description:    News-focused child theme for the UBC CLF 7 theme
 * Author:         UBC
 * Author URI:     http://clf.ubc.ca
 * Template:       clf-basic-7.0.3
 * Version:        0.1.0
 */

/**
 * Beta Preview Styles
 */ 
.intro-to-beta {
		background-color: #ff6;
		padding-top: 1em;
		padding-bottom: 1em;
		text-align: center;
}
.intro-to-beta a {
	display: none;
}
@media (min-width: 768px) {
	.intro-to-beta a {
		display: inline;
	}
}
 
/* import parent theme css */
@import url("../clf-basic/style.css");

.ubcnews-masthead {
	background: #d7e2ea; /* Old browsers */
	background: -moz-linear-gradient(top,  #d7e2ea 0%, #ffffff 53%, #ffffff 63%, #d7e2ea 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d7e2ea), color-stop(53%,#ffffff), color-stop(63%,#ffffff), color-stop(100%,#d7e2ea)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #d7e2ea 0%,#ffffff 53%,#ffffff 63%,#d7e2ea 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #d7e2ea 0%,#ffffff 53%,#ffffff 63%,#d7e2ea 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #d7e2ea 0%,#ffffff 53%,#ffffff 63%,#d7e2ea 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #d7e2ea 0%,#ffffff 53%,#ffffff 63%,#d7e2ea 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d7e2ea', endColorstr='#d7e2ea',GradientType=0 ); /* IE6-9 */
}

#container, #content {
	background-color: #fff;
	padding-top: 10px;
}
.home #container, .home #content {
	background-color: #f5f5f6;
}
.breadcrumb {
	background-color: #fff;
}

/* Spotlight */
.ubcnews-spotlight {
	background-color: #fff;
	border: 1px solid #f5f5f6;
	padding: 10px;
}
.ubcnews-spotlight h3 {
	font-size: 1.7em;
	margin: 5px 0;
	padding: 0;
}

.ubcnews-spotlight img {
}

/* Utilities = Media Resources, Experts Searc
h */
/*
.ubcnews-utilities = original design
.ubcnews-utilities = alternative design, moving box into masthead
*/
.ubcnews-utilities {
	display: block;
}
/* Hide the utilities box on mobile */
@media (max-width: 768px) {
	.ubcnews-utilities .media-resources {
		display: none;
	}
}
.ubcnews-utilities {
	font-size: .85em;
	margin:  10px 10px;
	padding: 5px;
}
.ubcnews-utilities, .ubcnews-utilities h3 {
	margin: 0;
	padding: 0;
}
.ubcnews-utilities, .ubcnews-utilities li {
	line-height: 1.3em;
	margin: 0;
	padding: 0;
}
.media-resources, .find-experts {
	margin: 10px 0 0;
}
#expert_search {
	margin: 10px 0 0;
	padding: 0;
}
#expert_search #submit {
	background-color: #d9541e;
	border: 1px solid #f5f5f6;
	color: #fff;
	float: right;
	height: 28px;
	margin: 0 0 0 3px;
	padding-bottom: 2px;
	vertical-align: text-top;
}

/* General styles */
.box-content {
	margin: 10px;
}
.box-content h2 {
	color: #bfle2d;
	font-size: 1.4em;
	line-height: 1.1em;
	margin: 0 0 .5em;
	padding: 0;
}
.box-content h2 a {
	color: #bfle2d;
}
.box-content h3 {
	font-size: 1.15em;
	line-height: 1.3em;
	margin: 0;
}
.box-content .wp-post-image {
	margin-bottom: 10px;
}
.attachment-thumbnail {
	width: 100px;
}
.attachment-thumbnail:hover {
	border: 1px solid #bbb;
}
.wp-post-image {
	border: 1px solid #ddd;
}
.wp-post-image:hover {
	border: 1px solid #bbb;
}
.beat-box .read-more,
.feature-box .read-more {
	clear: both;
	font-size: .85em;
	margin: 5px 0 0;
	padding: 0;
}
.box-thumbnail .wp-post-image {
	border: 0;
	float: right;
}
.ubcnews-opinion .box-thumbnail {
	float: left;
	margin-right: 5px;
}

a .icon-rss {
	text-decoration: none;
	color: #f60;
}
.beat-box a i.icon-white {
	color: #fff;
	float: right;
	margin: 3px 2px;
	text-decoration: none;
}
.sidebar h2, .sidebar h3, .widget h3 {
	margin: .25em 0;
	padding-top: 0;
}

p.byline {
	font-weight: bold;
}
blockquote {
	float: right;
	font-size: 3.5em;
	max-width: 7em;
}
#contact-form-96767 blockquote {
	float: none;
	font-size: 1em;
}
.image-caption {
	font-size: .9em;
	margin: -15px 0 10px;
	padding: .25em;
}
hr {
	clear: both;
}

/* WordPress Styles */
.alignleft {
	float: left;
}
.alignleft, .alignleft img {
	margin: 5px 10px 5px 0;
}
.alignright {
	float: right;
	margin: 5px 0 5px 10px;
}
.alignnone {
	margin: 5px 0;
}

.wp-caption {
	background-color: #eee;
	border: 1px solid #ccc;
	text-align: center;
	line-height: 1em;
}
.wp-caption img {
	margin: 5px 0 0;
	padding: 0;
}
.wp-caption-text {
	font-size: .8em;
}

/**
 * ShareDaddy Styles
 */
.sharing {
	float: right;
}
#container div.sharedaddy div.sd-block {
border: 0;
padding: 10px 0 0px;
margin: 0;
width: 100% !important;
}
#container div.sd-social-official div.sd-content {
	margin: 0 0 0 10px;
}
.singular-page div.sharedaddy,
.sidebar div.sharedaddy div.sd-block { /* hide ShareDaddy on Pages and in Sidebars */
	display: none;
}
#container div.sharedaddy .sd-content ul {
	float: right;
	border: 0;
	height: 80px;
	width: 90px;
}

/* Beat Boxes */
.beat-box {
	background-color: #fff;
	border: 1px solid #f5f5f6;
	margin-bottom: 10px;
}
.beat-box .post-edit-link {
	font-size: 10px;
}
.beat-box h2 {
	color: #fff;
	font-size: 1em;
	font-weight: normal;
	line-height: 20px;
	margin: 0;
	padding: 4px 6px;
}
.beat-box h2 a:link, .beat-box h2 a:visited {
	color: #fff;
}
.beat-box p {
	font-size: 1em;
	line-height: 1.3em;
	margin: 0;
}
.beat-box .wp-post-image {
	float: left;
	margin: 0 10px 0 0;
}
.beat-box.business-law-society h2 {
	background-color: #727731;
}
.beat-box.arts-humanities h2 {
	background-color: #3b3976;
}
.beat-box.science-health-technology h2 {
	background-color: #a35324;
}
.beat-box.university-news h2 {
	background-color: #002145;
}

/* Feature Boxes */
.ubcnews-feature-boxes {}
ul#feature-boxes {
	margin: 0;
	padding: 0;
}

.feature-box {
	background-color: #fff;
	border: 1px solid #f5f5f6;
/*	height: 220px; */
	height: 16em;
	overflow: hidden;
}
.feature-box .wp-post-image {
	float: left;
	margin: 5px 10px 0 0;
}
.feature-box p {
}

/* UBC News Headlines */
ul.nav {
	margin-bottom:0;
}
ul.nav li.active a {

}

.ubcnews-headlines-boxes .tab-content .tab-pane {
	background-color: #fff;
	border: 1px solid #f5f5f6;
	height: 310px;
	overflow: scroll;
	padding: 10px 5px;
}

/* Opinions and Experts */
.ubcnews-opnion-expert-profiles {
	background-color: #fff;
	border: 1px solid #f5f5f6;
}
.ubcnews-opinion {
	height: 370px;
	overflow: hidden;
}
.ubcnews-expert-profiles {
	border-left: 1px solid #f5f5f6;
	height: 370px;
	overflow: hidden;
}
.ubcnews-opinion .box-thumbnail {
	width: 300px;
}

/* Athletics, Video, Events, Twitter */
.ubcnews-athletics-box, .ubcnews-video-box, .ubcnews-events-box {
	background-color: #fff;
	border: 1px solid #f5f5f6;
	height: 360px;
	overflow: hidden;
	padding: 0px;
}
.ubcnews-athletics-box .wp-post-image {
	margin: 5px 0;
}
.ubcnews-video-box .responsive-media {
	margin-bottom: .5em;
}

/* News Archives, Share Your Story, News Updates */
.ubcnews-archive-box, .ubcnews-share-box, .ubcnews-updates-box {
	background-color: #fff;
	border: 1px solid #f5f5f6;
	margin: 0 0 20px;
}

.ubcnews-updates-box ul.subscribe {
	margin: 0 0 0 15px;
	padding: 0;
}

/**
 * Single post, pages
 */
.frontpage-headlines-box {
	background-color: #fff;
	border: 1px solid #dedede;
}
.frontpage-headlines-box h2 {
	background-color: #dedede;
	color: #02145;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0;
	padding: 4px 6px;
}

/**
 * Archive Pages
 */
.taxonomy-category-business-law-society h1.category-title,
.taxonomy-category-arts-humanities h1.category-title,
.taxonomy-category-science-health-technology h1.category-title,
.taxonomy-category-university-news h1.category-title  {
	color: #fff;
	font-size: 2em;
	margin: 0;
	padding: .25em;
}
.taxonomy-category-business-law-society h1.category-title {
	background-color: #727731;
}
.taxonomy-category-arts-humanities h1.category-title {
	background-color: #3b3976;
}
.taxonomy-category-science-health-technology h1.category-title {
	background-color: #a35324;
}
.taxonomy-category-university-news h1.category-title {
	background-color: #002145;
}
.archive .hentry {
	border-top: 1px solid #f5f5f6;
	clear: both;
	margin: .5em 0;
	padding: .5em 0;
}
.archive .post-thumbnail {
	float: left;
}
.post-thumbnail img.thumbnail {
	margin: .5em 1em .5em 0;
	padding: 0;
}
.archive .hentry h2 {
	margin-top: 0;
}

/**
 * UBC Reports
 */
div.category-ubc-reports, div.category-ubc-reports-current {
	background-color: #f5f5f6;
	margin: 0 0 1em;
	padding: .25em;
}
div.category-ubc-reports h1, div.category-ubc-reports-current h1  {
	background: #2f5d7c; /* Old browsers */
	background: -moz-linear-gradient(top,  #2f5d7c 0%, #386f93 50%, #497e9b 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2f5d7c), color-stop(50%,#386f93), color-stop(100%,#497e9b)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2f5d7c 0%,#386f93 50%,#497e9b 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2f5d7c 0%,#386f93 50%,#497e9b 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2f5d7c 0%,#386f93 50%,#497e9b 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #2f5d7c 0%,#386f93 50%,#497e9b 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f5d7c', endColorstr='#497e9b',GradientType=0 ); /* IE6-9 */
	color: #fff;
	font-size: 3em;
	margin: 0 0 20px 0;
	padding: .25em;
	text-transform: uppercase;
}
.ubcreports-box {
	background-color: #fff;
	border-top: 1px solid #f5f5f6;
	clear: both;
}
.ubcreports-box .box-content h2 { /* set header size for different sized boxes */
	font-size: 2em;
}
.span3 .ubcreports-box .box-content h2,
.span4 .ubcreports-box .box-content h2,
.span5 .ubcreports-box .box-content h2,
.span6 .ubcreports-box .box-content h2 {
	font-size: 1.25em;
}
.ubcreports-box img {
	margin-bottom: 5px;
}
.category-ubc-reports .sharedaddy { /* hide share buttons */
	display: none;
}

.singular-post .image-caption {
	clear: both;
}

.box-thumbnail .wp-post-image {
	width: 100%;
	border: 1px solid #ddd;
}

/**
 * Daily Media Summary
 */
.post.category-daily-media-summary {
}
ul.dms_metadata {
	font-size: .9em;
	margin: 0 0 .5em;
	padding: 0;
}
ul.dms_metadata li {
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 1.2em;
}