/**
 * @package     hubzero-cms
 * @file        templates/hubbasic2013/css/pages/home.css
 * @copyright   Copyright 2005-2013 Purdue University. All rights reserved.
 * @license     http://www.gnu.org/licenses/lgpl-3.0.html LGPLv3
 */

/*

	-- -- -- -- -- -- --
	home page CSS
	-- -- -- -- -- -- --

*/

#masthead {
	border-bottom: none;
}

#hubLogo {
	padding: 1em 0;
}

#content {
	background: #fff;
}

.com_content .contentpaneopen {
	padding: 0px;
}

#home-intro {
	background: url("../../images/space.jpg") no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	display: table;
	border-collapse: collapse;
	width: 100%;
}

#hubLogo {
	padding: 1.6em 0;
	width: 50%;
	max-width: 350px;
	margin: 0 auto;
}
#hubLogo a {
	display: block;
}

#home-intro .grid {
	display: table-row;
	width: 100%;
}

#home-intro .grid .half {
	width: 65%;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

#home-intro .grid .half.desc {
	background: #000;
	background: rgba(0,0,0,0.7);
	padding: 1em;
	color: #fff;
	width: 35%;
}

#home-intro .grid .half.desc h1 {
	color: #fff;
	font-family: 'latoblack', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	line-height: 1em;
}

#home-intro .grid .half.desc p {
	color: #fff;
	font-family: 'latolight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: 1.4em;
}

#home-intro .grid .half.desc p:last-child {
	margin-bottom: 2em;
}

.home-stuff {
	display: table;
    table-layout: fixed;
	width: 100%;
}

.home-stuff .grid {
	display: table-row;
}

.home-stuff .grid .mn, .home-stuff .grid .news {
	width: 65%;
	display: table-cell;
	text-align: center;
	vertical-align: top;
}

.home-stuff .grid .news {
	width: 35%;
	background: #c14c2d;
	text-align: left;
	padding: 30px;
	color: #fff;
}

.home-stuff .grid .news a {
	color: #fff;
	border-bottom: 1px dotted rgba(255,255,255,0.3);
}
.home-stuff .grid .news a:hover {
	border-bottom: none;
}

.home-stuff .grid .news .intent a {
    display: block;
	color: transparent;
	height: 1em;
	width: 1em;
	position: relative;
	border: 0;
	margin-left: 5px;
}
.home-stuff .grid .news .intent a:before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
	content: "\2605";
	font-family: 'Fontcons';
}

.home-stuff .grid .news .intent#intent-reply a:before {
	content: "\f08a";
}
.home-stuff .grid .news .intent#intent-retweet a:before {
	content: "\267b";
}

#retweet-indicator {
	display: block;
	color: transparent;
	height: 1em;
	width: 1em;
	position: relative;
}
#retweet-indicator:before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	color: rgba(255,255,255,0.3);
	font-family: 'Fontcons';
	content: "\267b";
}

.home-stuff .grid .news .intent a:before {
	color: rgba(255,255,255,0.7);	
}
.home-stuff .grid .news .intent a:hover:before {
	color: rgba(255,255,255,1);	
}

.home-stuff .intro {
	font-family: 'latolight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.1em;
	color: #000;
	line-height: 1.4em;
	padding: 1em 3em;
}

.home-stuff .grid .news h2 {
	font-family: 'latoblack', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	line-height: 1em;
	color: #fff;
	font-size: 1.4em;
	position: relative;
	padding-bottom: 0.8em;
}

.home-stuff .grid .news h2 a {
	float: right;
	border: none;
	height: 1em;
	width: 1em;
	color: transparent;
	position: relativee;
	overflow: hidden;
}
.home-stuff .grid .news h2 a:after {
	font-family: 'hub';
	content: 't';
	text-transform: none;
	position: absolute;
	display: block;
	color: #fff;
	top: 0;
	right: 0;
}

.home-stuff .grid .news h2:after {
	content: '';
	position: absolute;
	display: block;
	height: 1px;
	width: 50px;
	background: #e0a696;
	top: 100%;
	left: 0;
}

.home-stuff .grid .news > h2,
.notices > h2 {
	margin-top: 0;
}

.home-stuff .grid .news ul.tweets {
	margin: 0 0 2em 0;
}

.home-stuff .grid .news .tweet {
	list-style: none;
	margin: 0;
	padding: 20px 0;
	position: relative;
}

.notices {
	margin-bottom: 1em;
}

.notice {
	position: relative;
	padding: 20px 0;
}

.notice p:first-child {
	margin-top: 0;
}

.notice .date {
	padding: 0;
	margin: -0.6em 0 0 0;
	color: #DFAC9E;
}

.home-stuff .grid .news .tweet:after,
.notice:after {
	content: '';
	position: absolute;
	display: block;
	height: 1px;
	width: 100%;
	background: #e0a696;
	top: 100%;
	left: 0;
}
.home-stuff .grid .news .tweets > .tweet:last-child:after {
	display: none;
}
.notice:last-child:after {
	display: none;
}
.home-stuff .grid .news .category {
	color: #ccc;
}

@media (max-width: 1225px) {
	#home-intro .grid .half.desc h1 {
		font-size: 1.8em;
	}
}

@media (max-width: 888px) {
	#home-intro .grid {
		display: block;
	}

	#home-intro .grid .half.hub-logo {
		display: none;
	}
	#home-intro .grid .half.desc {
		width: 100%;
		display: block;
	}

	.home-stuff {
		display: block;
		width: 100%;
	}

	.home-stuff .grid {
		display: block;
	}

	.home-stuff .grid .mn, .home-stuff .grid .news {
		width: 100%;
		display: block;
	}

	.home-stuff .grid .news ul.tweets {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		-o-column-count: 2;
		-ms-column-count: 2;
		column-count: 2;
		-webkit-column-gap: 25px;
		-moz-column-gap: 25px;
		-o-column-gap: 25px;
		-ms-column-gap: 25px;
		column-gap: 25px;
	}

	.home-stuff .grid .news ul.tweets .tweet {
		-webkit-column-break-inside:avoid;
		-moz-column-break-inside:avoid;
		-o-column-break-inside:avoid;
		-ms-column-break-inside:avoid;
		column-break-inside:avoid;
	}

	.home-stuff .intro {
		font-size: 1.2em;
	}

	.featured .featured-item {

	}
}

@media (max-width: 600px) {
	/* Switch all padding from 30px to 10px */
	.home-stuff .grid .news {
		padding: 10px;
	}

	.featured .featured-content {
		padding: 0px 10px 20px;
	}
}

@media (max-width: 550px) {
	.home-stuff .grid .news ul.tweets {
		-webkit-column-count: auto;
		-moz-column-count: auto;
		-o-column-count: auto;
		-ms-column-count: auto;
		column-count: auto;
	}
}

@media (max-width: 500px) {
	.featured .featured-item {
		width: 100%;
		float: none;
	}
}