/* Hackathons page styles.

    developer:   yhechler, tajudeen
    requires:    /common/framework/css/framework.en.css
   ========================================================================== */

.inner {
	color: #656565;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	font-size: 0.9375rem;
	margin: 0 auto;
	max-width: 68.875rem;
	padding: 3.5rem 2rem;
}

section {
	border-top: 1px solid #b7b7b7;
}

main h2 {
	color: #dd1600;
	display: block;
	float: none;
	font-size: 2.1875rem;
	font-weight: 300;
	margin: 0 0 2.5rem 0;
	width: 100%;
}

main h3 {
	color: #f57300;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 0.5rem;
	max-width: 100%;
	text-transform: uppercase;
}

main a {
	color: #dd1100;
}

main a:hover {
	color: #f57300;
}

main p {
	line-height: 1.5em;
}

.row, .container {
	display: flex;
}

#intro .row {
	justify-content: space-between;
}

.left-column {
	flex: 2;
}

.row>div {
	display: flex;
	flex: 1;
}

#intro .row>div {
	flex-direction: column;
}

#intro .column {
	max-width: 300px;
}

.img-container {
	flex: 0 0 auto;
	margin-right: 10px;
}

.desc {
	flex: 1 1 auto;
}

#platforms .desc {
	max-width: 300px;
}

.cgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* ==========================================================================
   header
   ========================================================================== */

#header .inner {
	padding: 1.5rem 2rem 0 2rem;
}

.container {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.text {
	flex: 1;
}

.image img {
	display: block;
	height: auto;
	margin-bottom: 0;
	width: 100%;
}

#header.newcloud_hero {
	height: 170px;
}

#header .newcloud_heading {
	overflow: visible;
	position: relative;
}

#header p.tagline {
	font-size: 1.5625rem;
	font-style: italic;
}

#header h1 {
	color: #fff;
	font-weight: 400;
	font-size: 1.625rem;
	text-transform: uppercase;
}

#header h1 span {
	color: #fff;
	display: block;
	font-size: 4.5rem;
	font-weight: 600;
	text-transform: capitalize;
}

/* ==========================================================================
   Intro
   ========================================================================== */

#intro .intro-desc p:first-child {
	color: #f57300;
	font-size: 1.625rem;
	font-weight: 300;
	line-height: 1.2;
	margin: 0;
}

#intro .intro-desc p:nth-child(2n) {
	color: #404040;
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 1.5;
	margin: 2rem 0 4rem 0;
}

#intro h3 {
	color: #dd1100;
	font-size: 1.125rem;
	font-weight: 600;
	display: inline;
}

#intro h3:hover {
	color: #f57300;
}

#intro .row:first-child {
	margin: 0 0 2.5rem 0;
}

#intro .row {
	gap: 0 2rem;
	justify-content: space-between;
}

#intro .column .recent {
	max-width: 13.4375rem;
}

#intro .column .techsupport {
	max-width: 13.125rem;
}

#intro .column .organizers {
	max-width: 17.1875rem;
}

#intro .column>div:first-of-type {
	text-align: center;
	min-height: 74.7px;
}

/* ==========================================================================
   winner
   ========================================================================== */

#winner .container {
	align-items: stretch;
	border: 1px solid #fff6df;
	display: flex;
}

#winner span {
	color: #f86300;
	display: block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 1.5rem;
	text-transform: uppercase;
	width: 100%;
}

#winner p {
	color: #404040;
	display: block;
	font-size: 1rem;
	font-weight: 400;
}

#winner .image-section, #winner .text-section {
	align-items: center;
	display: flex;
	flex: 1;
	justify-content: center;
}

#winner .image-section img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

#winner .text-section {
	background-color: #fff6df;
	box-sizing: border-box;
	display: inline-block;
	overflow: auto;
	padding: 20px;
}

#winner .text-section p {
	font-style: italic;
	margin: 0;
}

#winner .quote-container {
	align-items: flex-start;
	display: flex;
	margin: 20px;
}

#winner .quote-image {
	height: auto;
	margin-right: 15px;
	width: 50px;
}

#winner .quote-text {
	flex-grow: 1;
}

#winner span.author {
	color: #404040;
	display: inline-block;
	font-size: 1rem;
	margin: 1.5rem 0;
	text-align: right;
	text-transform: capitalize;
}

/* ==========================================================================
   recent notable wins
   ========================================================================== */

#recent .desc p a {
	display: block;
	margin-bottom: 2rem;
}

#recent .img-wrapper {
	padding-right: 20px;
}

.newcloud-hero {
	background: #f57300;
	width: 100%;
}

.newcloud-hero .image {
	padding: 2rem 0 0 8rem;
}

.newcloud-hero .tagline {
	color: #656565;
	font-weight: 300;
}

.newcloud-hero a {
	background: #1d96bd;
	color: #fff;
	float: left;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0;
	padding: 0 9px 0 10px;
	padding: 5px 20px 5px 20px;
	text-transform: uppercase;
}

.newcloud-hero a:hover {
	background: #1284a9;
}

/***  box ****/

.box-wrapper .box {
	border-radius: 5px;
	box-shadow: 0px 0px 10px #d9d9d9;
	padding: 1.8125rem;
}

.box-wrapper h3 {
	letter-spacing: normal;
	line-height: 22px;
	margin-top: 0.5rem;
	max-width: 247px;
	text-transform: none;
	text-transform: uppercase;
}

.box-wrapper a:hover h3 {
	color: #dd1600;
}

.box-wrapper .blurb {
	border-top: 1px solid #b7b7b7;
	margin-top: 15px;
	max-width: 247px;
	padding-top: 10px;
}

.box-wrapper .blurb p {
	color: #656565;
	line-height: 22px;
}

.box-wrapper .blurb p span {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ==========================================================================
   top platforms
   ========================================================================== */

#platforms .desc p {
	margin-bottom: 0;
}

#platforms ul li {
	color: #656565;
	font-weight: 400;
	line-height: 1.9;
}

#platforms ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#platforms .img-wrapper {
	margin-right: 32px;
}

#platforms .img-wrapper.narrow-gap {
	margin-right: 1.2rem;
}

/* ==========================================================================
   popular areas
   ========================================================================== */

#popular h3.grey_subtitle {
	color: #555;
	font-size: 1.0625em;
	font-weight: normal;
	line-height: 1.375em;
	margin-bottom: 0;
}

#popular .sample-areas-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

#popular .sample-areas-list li {
	display: inline-block;
	font-size: 1.05em;
	line-height: 1.875em;
	margin: 0;
	padding: 0;
}

#popular .sample-areas-list li a {
	color: #888;
}

#popular .sample-areas-list li a:hover {
	color: #dd1600;
}

#popular .sample-areas-list li:after {
	background: #f57300;
	border-radius: 10px;
	content: "";
	display: inline-block;
	height: 4px;
	margin: 0 2px 0 5px;
	vertical-align: middle;
	width: 4px;
}

#popular .sample-areas-list li.last:after {
	height: 0;
	margin: 0;
	width: 0;
}

#popular p.bigger-p a {
	font-size: 1.125em;
}

#popular .inner small {
	color: #939393;
	display: block;
}

#popular .inner p.note, #popular .note a {
	color: #555;
	margin: 20px 0 20px 0;
}

/* ==========================================================================
   resources section
   ========================================================================== */

#resources p {
	color: #656565;
	font-weight: 400;
	line-height: 1.5em;
	margin-top: 5px;
	margin: 0.5rem 0 2rem;
	max-width: 15.8125rem;
}

#resources h2.orange {
	display: block;
	float: none;
	margin: 1.2em 0;
	width: 100%;
}

#resources h3 {
	max-width: 283px;
}

#resources img {
	border: 1px solid #e0e0e0;
	box-sizing: border-box;
	margin: 0 0 8px 0;
	max-width: 100%;
}

#resources a:hover h3 {
	color: #dd1600;
}

#resources .more {
	margin: 3rem 0 1rem 0;
	padding: 1.5rem 0;
}

#resources .more img {
	border: none;
	margin: -2px 5px 0 0;
	vertical-align: middle;
}

#resources .grey_rule {
	border-top: 1px solid #b7b7b7;
}

/* ==========================================================================
   what to do
   ========================================================================== */

#what-to-do p {
	max-width: 300px;
}

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for large screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {
	#header h1 {
		font-weight: 400;
		font-size: 1.7rem;
	}
}

/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
	#header .container {
		display: grid;
	}
	#header h1 {
		text-align: center;
	}
	.newcloud-hero .image {
		padding: 2rem 0 0 0;
	}
	#header img.logo {
		margin: 0 auto;
		width: 80%;
	}
	#recent .inner {
		margin-bottom: 4rem;
	}
	#samples img+span {
		max-width: 200px;
	}
	.cgrid {
		grid-template-columns: repeat(2, 1fr);
	}
	#what-to-do .cgrid {
		gap: 2rem;
	}
}

/* styles for medium screens (700px) 
   ========================================================================== */

@media all and (max-width: 700px) {
	/*https://jira.wolfram.com/jira/browse/WEBPRO-2623*/
	#intro .row {
		flex-direction: column;
		justify-content: flex-start;
		gap: 1rem 0;
	}
	#intro .column {
		flex-direction: row !important;
		gap: 0 1rem;
	}
	#intro .column>div:first-of-type {
		min-width: 72px;
	}
	#intro .column {
		max-width: 358px;
		width: 358px;
		margin: 0 auto;
	}
}

/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
	#header .container {
		display: grid;
	}
	#header h1 {
		font-size: 1.65rem;
	}
	#header p.tagline {
		font-size: 1.3rem;
	}
	.inner {
		padding: 2rem 1rem;
	}
	.row {
		display: grid;
	}
	.column {
		margin-bottom: 2rem;
	}
	#intro .column {
		max-width: 390px;
		width: 100%;
	}
	.cgrid {
		grid-template-columns: repeat(1, 1fr);
	}
	#intro .row:first-child {
		margin: 0 0;
	}
	#winner .container {
		display: grid;
		align-items: stretch;
	}
	#resources p {
		max-width: 300px;
	}
}

/* styles for minimum supported screen width (320px)
   ========================================================================== */

@media all and (max-width: 320px) {
	#header h1 {
		font-size: 1.4rem;
	}
	#header p.tagline {
		font-size: 1.2rem;
	}
	.inner {
		padding: 1rem;
	}
}

/* printer styles
   ========================================================================== */

@media print {}