/* Styles for Unidata home page */

/* page/menus/banner -------------------------------------- */
#banner {
	min-height: 61px !important;
}
#container {
	padding-top: 0;
}


.fp_gradient {
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,0.55) 90%, rgba(227,228,230,0.5) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(90%,rgba(255,255,255,0.55)), color-stop(100%,rgba(227,228,230,0.5))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.55) 90%,rgba(227,228,230,0.5) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.55) 90%,rgba(227,228,230,0.5) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.55) 90%,rgba(227,228,230,0.5) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.55) 90%,rgba(227,228,230,0.5) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#80e3e4e6',GradientType=0 ); /* IE6-9 */
}

/* END page/menus/banner ---------------------------------- */

/* top row triptych --------------------------------------- */
.column_extra {
	display: none;
}

div#toprow {
	margin: -14px -1% 0 -1.01%;
	padding: 0;
	width: 102.1%;
	background-color: #06778F;
	margin-top: -20px;
	height: 100%;
	height: auto;
}

/*triptych*/

div#toprow #triptych-column-container {
	position: relative;
}

div#toprow #triptych-columns {
	position: relative;
	clear: both;
	margin: 1em auto 1em auto;
	padding: 0;
	min-width: 0;
	max-width: 980px;
	width: auto;
	font-size: 1.0em;
	min-height: 150px;
	height: 238px;
	background-color: #06778F;
	/* DD note: need this to avoid having the span.stretch take up vertical space */
	line-height: 0;
	/* DD note: the following are to get even horizontal spacing */
	text-align: justify;
	-ms-text-justify: distribute-all-lines;
	text-justify: distribute-all-lines;
}

div#toprow #triptych-columns .column, div#toprow .column a {
	color: #FFFFFF;
}
div#toprow #triptych-columns .column.triptych_left {
	margin-right: 0;
	max-width: 25%;
	line-height: normal;
}

div#toprow #triptych-columns .column.triptych_left#caption_bottom {
	display: none;
}

div#toprow #triptych-columns .column.triptych_center {
	max-width: 47%;
	line-height: normal;
}
div#toprow #triptych-columns .column.triptych_right {
	max-width: 25%;
	line-height: normal;
}

div#toprow #triptych-columns .column h2 {
	color: #FFFFFF;
	font-size: 1.0em;
	letter-spacing: 0.1em;
	margin: 10px;
	padding: 0 0 5px 0;
	text-transform: uppercase;
	border-bottom: 2px solid #CCCCCC;
	max-width: 95%;
}

div#toprow #who_are_we {
	margin: 0;
	width: 100%;
	float: none;
	height: 100%;
}

/* Slide captions are *not* handled by the nivo slider */
.slideshow_caption {
	color: #E3E4E6;
	margin: 0;
	padding: 1.2em;
	font-size: 1.3em;
	font-family: UbuntuItalic;
	text-align: right;
}

/* Styling for the Nivo slider */
.nivoSlider {
	padding: 0;
	margin: auto 0;
}

.nivo-caption {
	/* Caption is displayed in a different div by javascript.
	 * Pushing the nivo caption left is required, as the display
	 * property is reset each time the slide changes.
	 */
	display: none;
	top: 0;
	left: -99999px;
}

.nivoSlider img {
	width: 100%;
	max-height: 238px;
	min-height: 150px;
	min-width: 272px;
}
.nivoSlider a.nivo-imageLink {
	background: none repeat scroll 0 0 #06778F;
}

#slider {
	display: none;
}

#slideshow {
	margin-left: 0;
	top: 0;
	overflow: hidden;
	height: auto;
}

/* slide controls */
#slideshow .nivo-controlNav {
	position: absolute;
	bottom: -70px;
	padding: 0 !important;
}

#slider .nivo-controlNav a {
	display: block;
	width: 10px;
	height: 10px;
	background: url(/images/slideshow/bullets.png) no-repeat;
	text-indent: -9999px;
	border: 0;
	margin-right: 3px;
	float: left;
}

#slider .nivo-controlNav a.active {
	background-position: -10px 0;
}

/* END top row triptych ----------------------------------- */

/* content area ------------------------------------------- */

/* news */
.news {
	clear: both;
	width: auto;
	margin: 0;
}

.news .main_story article {
	clear: both;
	padding: 10px;
}

.news .main_story ul.blogImport {
	padding: 0 0 2em 0;
}

.news .main_story ul.blogImport li {
	margin: 0;
	padding: 0;
}

.news .main_story ul.blogImport li p {
	font-size: 1.1em;
	line-height: 150%;
}

.news .main_story ul.blogImport li article ul li {
	font-size: 1.05em;
	line-height: 150%;
}

/* ticker */
.ticker-wrapper.left {
	min-width: 0 !important;
	max-width: 98% !important;
	margin: 0 1% !important;
	left: 10%;
}

.ticker-wrapper.hasjs {
	width: auto !important;
}

p.ticker-content span.blogEntryTitle a br {
	display:none;        /* ignore br in ticker display */
}
/* Left and right colums */

#leftColumn section {
	margin: 0.6em 0;
	padding: 0.6em;
}

#leftColumn section h5 {
	margin-bottom: 0;
}

#leftColumn section p {
	margin: 0.5em 0;
	font-size:1.0em;
	line-height: 130%;
	/*font-family: droid_serifregular;*/
}

/* Individual sections */

section#software {
	border: 1px solid #E3E4E6;
}

section#data {
	/*background-color: #E3E4E6;*/
	border: 1px solid #E3E4E6;
}
/* END content area --------------------------------------- */

/* Responsive ---------------------------------------------
 * These are separate from responsive.css to give us better
 * control over the css loading/cascade on the front page */
@media screen and (max-width: 980px) {
	div#toprow #triptych-columns {
		height: auto;
		margin: 1em auto 0 auto;
	}
}

@media screen and (max-width: 850px) {
	#who_are_we p {
		font-size: 1.1em;
		height: 100%;
	}
	#who_are_we p.welcome_head {
		font-size: 1.7em;
	}
	.slideshow_caption {
		padding: 1.0em;
		font-size: 1.1em;
	}
}

@media screen and (max-width: 700px) {
	#toprow_container {
		background-color: #06778F;
		height: auto !important;
	}
	div#toprow #triptych-columns .column.triptych_center {
		background-color: #06778F;
		max-width: 65%;
		min-height: 150px;
	}
	div#toprow #triptych-columns .column.triptych_left {
		max-width: 32%;
	}
	.slideshow_caption {
		padding: 0.7em;
		font-size: 0.9em;
	}
	#who_are_we {
		display: none;
	}
	#leftColumn #rtimage {
		float: left;
		display: inline;
		max-width: 50%;
		margin-right: 2%;
	}
	#leftColumn section {
		margin: 10px 1%;
	}

}

@media screen and (max-width: 550px) {

	p.ticker-content span.blogEntryTitle {
		font-size: 1.3em;
	}
}

@media screen and (max-width: 320px) {

	div#toprow #triptych-columns .column.triptych_left#caption_left {
		display: none;
	}
	div#toprow #triptych-columns .column.triptych_left#caption_bottom {
		display: inline-block;
	}
	div#toprow #triptych-columns .column.triptych_center {
		max-width: 100% !important;
		min-height: 150px;
		float: left;
	}
	div#toprow #triptych-columns .column.triptych_left {
		max-width: 100% !important;
		height: 75px !important;
		min-height: 0 !important;
	}
	.slideshow_caption {
		padding: 0.7em;
		font-size: 0.9em;
		text-align: center;
	}
	#leftColumn #rtimage {
		float: none;
		max-width: 100%;
	}
}
/* END Responsive ----------------------------------------- */
