/* main.css */

/* This is the main stylesheet for the UAVSAR website */


/******************************************************************************
* RESET CODE
******************************************************************************/
/*
 * Browser reset code for reducing browser inconsistencies in things like 
 * default line heights, margins and font sizes of headings, and so on. 
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Modifications to reset code ***********************************************/
b { font-weight: bold; }
i { font-style: italic; }

sub { vertical-align: sub; }
sup { vertical-align: super; }

/* Change cursor when hovering over button */
input[type="button"] { cursor: pointer; }


/******************************************************************************
* UAVSAR GENERAL DEFAULTS
******************************************************************************/
body, table, input, textarea, li {
	font-family: Arial, Helvetica; font-size: 15px; color: #333333;
}

/* Small grey text for supplementary information */
small {	font-size: 13px; color: #777777; }

a, a:link, a:visited {
	color: #365492;	text-decoration: none;
	cursor: pointer;
}
a:hover { text-decoration: underline; color: #2e8da6; }

h1, h2, h3, h4 {
	font-family: Lucida Sans Unicode, Arial; color: #333333;
	padding: 0;	margin: 0;
}
h1 { font-size: 50px; }
h2 { font-size: 30px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; text-align: center; }

div.linespace { line-height: 0.7; }
.redText { color: red; }
.greyText { color: #777; }


/* Buttons (using links) *****************************************************/
a.button, a.grayButton, a.actionButton {
    position: relative; width: 100px; height: 30px; line-height: 30px; 
	font-family: Lucida Sans Unicode, Arial; font-size: 16px;
    text-decoration: none; text-align: center; color: white;
    display: block;
    
    /* Background gradients */
    background-color: #339cb8;
    background: -moz-linear-gradient(top, #74b3c4, #5ea6ba 50%, #2e8da6 51%, #2a7d94);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #74b3c4), color-stop(0.5, #5ea6ba), color-stop(0.51, #2e8da6), to(#2a7d94));

    /* Border radius */
    border-radius: 10px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
    -webkit-border-radius: 10px;

    border: 1px solid #339cb8;
    border-top: 1px solid #d8efee;

    /* Text shadow */
    text-shadow: -1px -1px 0px #339cb8, 2px 2px 0px #164450; 

    /* Box shadow */
    box-shadow: 0 1px 3px black;
    -moz-box-shadow: 0 1px 3px black;
    -webkit-box-shadow: 0 1px 3px black;

	/* Don't let user select text in button */
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
}

a.button:hover {
    text-decoration: none;
    background-color: #36a4c2;
    background: -moz-linear-gradient(top, #79bacc, #63afc4 50%, #3195b0 51%, #2d869e);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #79bacc), color-stop(0.5, #63afc4), color-stop(0.51, #3195b0), to(#2d869e));
}

a.button:active, a.grayButton:active, a.actionButton:active {
	color: white;
    box-shadow: 0 2px 6px black;
    -moz-box-shadow: 0 2px 6px black;
    -webkit-box-shadow: 0 2px 6px black;
}
a.button:visited, a.grayButton:visited, a.actionButton:visited { color:white; }


a.grayButton {
    /* Background gradients */
    background-color: #999999;
    background: -moz-linear-gradient(top, #b4b4b4, #a3a3a3 50%, #8a8a8a 51%, #7b7b7b);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #b4b4b4), color-stop(0.5, #a3a3a3), color-stop(0.51, #8a8a8a), to(#7b7b7b));

    border: 1px solid #595959;
    border-top: 1px solid #d5d5d5;

    /* Text shadow */
    text-shadow: -1px -1px 0px #7b7b7b, 2px 2px 0px #595959;
}

a.grayButton:hover {
    text-decoration: none;
    background-color: #a2a2a2;
    background: -moz-linear-gradient(top, #bdbdbd, #acacac 50%, #929292 51%, #848484);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #bdbdbd), color-stop(0.5, #acacac), color-stop(0.51, #929292), to(#848484));
}

a.actionButton:hover {
    text-decoration: none;
    background-color: #b5a462;
    background: -moz-linear-gradient(top, #d1bf7b, #c2ae61 50%, #b09531 51%, #9e872d);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #d1bf7b), color-stop(0.5, #c2ae61), color-stop(0.51, #b09531), to(#9e872d));
}

/* Gold */
a.actionButton {
    /* Background gradients */
    background-color: #ab9b5d;
    background: -moz-linear-gradient(top, #c7b675, #b8a55c 50%, #a68d2e 51%, #947e2a);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #c7b675), color-stop(0.5, #b8a55c), color-stop(0.51, #a68d2e), to(#947e2a));

    border: 1px solid #ab9b5d;
    border-top: 1px solid #ebd78a;

    /* Text shadow */
    text-shadow: -1px -1px 0px #ab9b5d, 2px 2px 0px #6b5b1e; 
}

a.actionButton:hover {
    text-decoration: none;
    background-color: #b5a462;
    background: -moz-linear-gradient(top, #d1bf7b, #c2ae61 50%, #b09531 51%, #9e872d);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #d1bf7b), color-stop(0.5, #c2ae61), color-stop(0.51, #b09531), to(#9e872d));
}


a.small { width: 60px; height: 20px; line-height: 20px; font-size: 13px; }
a.large { height: 40px; line-height: 40px; }


/* Delete icons */
span.delete a {
	display: block; float: left;
	width: 20px; height: 20px;
	margin: 5px;
	cursor: pointer;
	background: url('/images/iconDelete.png') 0 0 no-repeat;
}
span.delete a:hover { background-position: -20px 0px; }


/******************************************************************************
* MAIN LAYOUT
******************************************************************************/
/* Full layout that everything fits into */
div#layout {
	/*  So elements inside with absolute position are relative to the full 
	 *  layout 	*/
	position: relative; width: 990px; margin: 0 auto;
}
body.maximize div#layout { width: 100%; min-width: 990px; }


/******************************************************************************
* DIALOG BOXES
******************************************************************************/
div.dialog {
	position: fixed; left: 0px; top: 0px; 
	background-image: url(/images/overlay.png);
	width: 100%; height: 100%;
	z-index: 10;
}
div.dialog span.dialogBox {
	position: absolute; left: 50%; top: 50%;
	margin-left: -82px; margin-top: -70px; 
	width: 140px; height: 70px; padding: 10px;
	font-size: 16px; line-height: 1;
	background-color: white;
	border: 2px solid #777;
}
div.dialog img {
	float: left; padding: 5px 10px 5px 0px; margin-top: 5px;
	width: 131px; height: 23px;
}


/******************************************************************************
* BACKGROUND & BANNER TEXT
******************************************************************************/
body { background: #111417 url("/images/background_gradient.jpg") repeat-x; }
div#background {
	margin: 0 auto; width: 100%; height: 1100px; 
	background: url("/images/background.jpg") no-repeat top center;
}
body.no-banner div#background { background: none; }

div#bannerText a:hover { text-decoration: none; color: white; }
div#bannerText h1, div#bannerText h3 { 
	color: white; text-shadow: -1px -1px 0px #26758a, 2px 2px 0px #164450; 
}
div#bannerText h1 { 
	position: absolute; top: 127px; left: 5px; 
	font-weight: bold; 
}
div#bannerText h3 { position: absolute; top: 180px; left: 10px; }

div#bannerText i { 
	position: absolute; 
	font-family: Lucida Sans Unicode, Arial; color: #e0f2f7;
}
div#bannerText i.L-band { top: 70px; right: 160px; }
div#bannerText i.P-band { top: 90px; right: 55px; }
div#bannerText i.Ka-band { top: 110px; right: 5px; }


/******************************************************************************
* JPL HEADER
******************************************************************************/
div#jplHeader {
	position: relative; top: 0px; left: 0px; width: 990px; height: 60px;
	background-color: #164450;
}
body.maximize div#jplHeader { width: 100%; }

div#jplHeader a {
	position: absolute;
	font-family: Helvetica, Arial, Verdana, sans-serif; 
	font-size: 19px; color: #e0f2f7; text-decoration: none;
}

div#jplHeader a#nasaLogo {	top: 7px; left: 8px; }
div#jplHeader a#nasaLogo img {	width: 55px; height: 45px; border-style: none;}
div#jplHeader a#linkJPL { top: 12px; left: 68px; }
div#jplHeader a#linkCaltech { top: 37px; left: 68px; font-size: 14px; }

div#jplHeader ul#jplLinks {
	position: absolute; top: 7px; right: 0px; 
	width: 505px; height: 20px;
	padding: 0; margin: 0;
	display: inline; list-style: none;
}
div#jplHeader ul#jplLinks li {	display: inline; margin-left: 12px; }
div#jplHeader ul#jplLinks a { 
	position: relative; font-size: 11px; color:#84a6be; 
}
div#jplHeader ul#jplLinks a:hover { color: white; }
div#jplHeader a#linkHome { top: 33px; right: 15px; font-size: 16px; }

div#jplHeader span#jplSocial { 
	position: absolute; top: 33px; right: 15px; font-size: 12px;
	color: white; width: 450px;
}
div#jplHeader span#jplSocial a { 
	position: relative; font-size: 12px; color: #ccc; 
}
div#jplHeader span#jplSocial a:hover { color: white; }


/******************************************************************************
* NAVIGATION
******************************************************************************/
div#navigationBkgd {
	position: absolute; top: 210px; left: 0px;
	width: 990px; height: 40px;
	background-color: #164450;
	opacity: 0.7;
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* IE */
    filter: alpha(opacity=70);  /* IE */

	border-top-left-radius: 20px;
    -webkit-border-top-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
	border-top-right-radius: 20px;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topright: 20px;
}

ul#navigation { 
	position: relative; top: 150px; left: 0px;
	width: 990px; height: 40px;
}
ul#navigation li { display: inline; }
ul#navigation li a {
	float: left; display: inline;
	color: white;
	padding: 8px 10px; width: 225.5px; height: 22px; line-height: 22px;
	font-family: Arial; font-size: 18px; text-align: center;
	border: 1px solid #0d2930;
	border-top: 1px solid #26758a;
	border-left: 1px solid #26758a;
}
ul#navigation li a.leftmost { 
	border-top-left-radius: 20px;
    -webkit-border-top-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
}
ul#navigation li a.rightmost { 
	border-top-right-radius: 20px;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topright: 20px;
}
ul#navigation li a:hover { 
	text-decoration: none; color: white; background-color: #164450; 
}


/******************************************************************************
* MY ACCOUNT NAVIGATION
******************************************************************************/
div#accountNav {
	position: relative; 
	width: 100%; height: 20px; padding: 7px 0px;
	line-height: 20px; 
	background-color: #9dc8d4;
}
div#accountNav span.left { position: absolute; top:7px; left:10px; z-index:5; }
div#accountNav span.right { position:absolute; top:7px; right:10px; z-index:5;}
div#accountNav span.right b { color: #666; }
div#accountNav span.center { 
	position: absolute; top: 7px; left: 0px; width: 100%; 
	text-align: center; 
	z-index: 1; 
}


/******************************************************************************
* MAIN CONTENT
******************************************************************************/
/* Whole interface, excluding the JPL banner, UAVSAR banner, and footer */
div#mainContent {
	position: relative; top: 50px; padding: 20px 25px; 
	width: 938px; min-height: 450px; 
	line-height: 1.5;
	background: url("/images/background_mainContent.png");
	border: 1px solid white;
}
body.no-banner div#mainContent { top: 0px; padding-top: 10px; }
body.maximize div#mainContent { 
	top: 0px; width: 100%; padding: 0; 
	border-left: none; border-right: none; 
}

div#mainContent div#breadcrumbs { margin-bottom: 20px; }
div#mainContent h2 { margin-bottom: 7px; color: #2a8c86; }
body.maximize div#mainContent h2 { margin: 10px 0px 0px 20px; }
div#mainContent h3 { margin-bottom: 5px; color: #847848; }
div#mainContent div#myAccount { position: absolute; top: 20px; right: 25px; }
body.no-banner div#mainContent div#myAccount { top: 10px; }
div#mainContent div#myAccount span { color: #777; font-weight: bold; }
div#mainContent div#myAccount b { color: #666; }

div#mainContent p { margin-bottom: 20px; }
div#mainContent a img { border: none; }

div#mainContent img.rounded-corners { 
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div#mainContent .float-left { float: left; }
div#mainContent .float-right { float: right; }

div#mainContent div.error {
	display: block; min-width: 100px; margin-bottom: 10px; 
	color: #c70000; font-weight: bold; 
	background-color: #fff1ba;
	border: 3px double #c70000;
}
div#mainContent div.error img {
	float: left; width: 45px; height; 38px; margin: 5px; 
}
div#mainContent div.error span { float: left; width: 850px; }
div#mainContent div.error span.center { height: 45px; line-height: 45px; }

div#mainContent .align-left { float: left; margin: 5px 15px 10px 0px; }
div#mainContent .align-right { float: right; margin: 5px 0px 10px 15px;}
div.figure span.caption { 
	display: block; width: 100%; padding: 5px 0px 5px 0px; margin: 0 auto;
	font-size: 13px; color: #555; 
	text-align: center; line-height: 1.4;
}

div#mainContent div.scroll-box { overflow: auto; }

div#mainContent table th { 
	padding: 3px 10px 0px 10px; font-weight: bold; font-size: 16px; 
}
div#mainContent table.form th { 
	width: 150px; padding: 0px 3px; 
	font-weight: normal; text-align: right; color: #555;
}
div#mainContent table.form th.short-width { width: 70px; }
div#mainContent td { 
	padding: 3px 10px; text-align: center; border: 1px solid #aaa; 
}
div#mainContent table.form td { 
	text-align: left; padding: 7px 3px; border: none; 
}
div#mainContent table.form input[type=text], 
div#mainContent table.form input[type=password] { 
	width: 200px; height: 25px; padding: 0px 3px;
	border: 1px solid #aaa; 
}

div#mainContent ul.bullets { margin-left: 20px; list-style-type: disc; }

/* Used on news and related links pages */
div#mainContent div.story { 
	height: 130px; padding: 15px 10px 25px 10px; 
	border-top: 1px solid #aaa; 
}
div#mainContent div.story img { 
	float: left; width: 200px; height: 140px; margin-right: 10px; 
	border: 1px solid white;
}
div#mainContent div.story h3 { margin-top: 15px; color: #365492; }
div#mainContent div.story a:hover h3 { color: #2e8da6; }


/* TILES *********************************************************************/
.tile {
	float: left; padding: 10px;	font-size: 16px;
	background-color: #f8f8f8;
	border: 1px solid white;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.tile small.description { font-size: 14px; }
.tile img {
	margin: 5px 5px 0px 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}


/* SCIENCE & APPLICATIONS ****************************************************/
body#science div#news { width: 500px; height: 268px; margin-right: 20px; }
body#science div#calendar { width: 370px; height: 268px; }
body#science div#articles { 
	width: 250px; height: 268px; margin: 20px 20px 0 0; 
}
body#science div#campaigns { 
	width: 300px; height: 268px; margin: 20px 20px 0 0; 
}
body#science div#applications { 
	width: 280px; height: 268px; margin: 20px 0 20px 0;
}
body#science div#publications { 
	width: 210px; height: 358px; margin: 0 20px 20px 0;
}
body#science div#workshops { 
	width: 300px; height: 358px; margin: 0 20px 20px 0;
}
body#science div#team { width: 320px; height: 358px; margin-bottom: 20px;}
body#science div#flight-requests { 
	width: 400px; height: 300px; margin-right: 20px; 
}
body#science div#documents { width: 240px; }

/* TECHNOLOGY ****************************************************************/
body#technology div#leftTiles {	float: left; width: 503px; margin-right: 20px;}
body#technology div#leftTiles div.tile { width: 480px; }
body#technology div#antenna { width: 480px; margin: 20px 0px 20px 0px; }
body#technology div#calibration { width: 390px; margin-bottom: 20px; }
body#technology div#processing { width: 390px; }

/* EDUCATION *****************************************************************/
body#education div#what-is-uavsar { width: 450px; height: 390px; }
body#education div#flight-planning { 
	width: 420px; height: 390px; margin: 0px 0px 20px 20px; 
}
body#education div#lessons { width: 390px; margin-right: 20px; }
body#education div#radar-scientist { width: 480px; margin-bottom: 20px; }
body#education div#images { width: 480px; }

/* TOOLS *********************************************************************/
body#tools div#leftTiles { float: left; width: 393px; margin-right: 20px; }
body#tools div#flight-planning { width: 370px; height: 355px; }
body#tools div#search { width: 500px; height: 425px; margin-bottom: 20px; }
body#tools div#track { width: 370px; height: 515px; margin-top: 20px; }
body#tools div#flights { width: 500px; height: 445px; margin-bottom: 20px; }
body#tools div#links { width: 500px; margin: 0px 20px 20px 0px; }
body#tools div#contact { width: 370px; margin-bottom: 20px; }


/* WHAT IS UAVSAR? ***********************************************************/
body#what-is-uavsar img { margin-bottom: 15px; }

/* TRACK NASA G3 *************************************************************/
body#track-G3 div.float-left { text-align: center; }
body#track-G3 div#dryden-G3 { margin-right: 30px; }


/* CONTACT US ****************************************************************/
body#contact table th#label-message { padding-top: 10px; vertical-align: top; }
body#contact textarea {
	width: 500px; height: 150px; padding: 3px;
	color: #555; resize: none; 
	border: 1px solid #aaa; 
}


/* LOGIN *********************************************************************/
body#login div#mainContent div.float-left { height: 170px; padding-left: 40px;}

body#login div#mainContent div#loginArea { width: 180px; }
body#login div#mainContent div#or { width: 25px; line-height: 170px; }
body#login div#mainContent div#guest { width: 240px; text-align: center; }
body#login div#mainContent div#guest a.button { width: 120px; }
body#login div#mainContent div#footnote { 
	width: 720px; height: 120px; padding: 0; clear: left; 
}
body#login input[type=text], body#login input[type=password], { 
	height: 20px; width: 150px; 
}


/* ACCOUNT *******************************************************************/
body#account div#mainContent div.category {
	width: 850px; margin: 20px 0px; 
	overflow: auto;
	border: 1px solid #999;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
    -webkit-border-radius: 10px;
}
body#account div#mainContent div.category h3 {
	float: left; width: 170px; height: 60px; padding: 10px; margin: 0;
	color: #847848;
	border-right: 1px solid #999;
}
body#account div#mainContent div#flightPlanning h3 { height: 160px; }
body#account div#mainContent div#flightPlanner h3 { height: 292px; }
body#account div#mainContent div#admin h3 { height: 92px; }
body#account div#mainContent div.category ul {
	float: left; margin: 5px 5px 5px 15px; width: 275px;
}
body#account div#mainContent div.category li { 
	padding: 5px; font-size: 16px; color: #777;
}


/* CAMPAIGNS *****************************************************************/
body#campaigns div.campaign {
	padding-top: 20px; margin: 20px 0px 10px 0px;
	overflow: hidden; 
	border-top: 1px solid #aaa;
}
body#campaigns div.campaign h3 { margin-bottom: -20px; }
body#campaigns div.campaign img {
	float: left; width: 300px; height: 200px; margin: 5px 20px 5px 0px;
	border: 1px solid white;
}


/* WORKSHOP & REGISTRATION ***************************************************/
body#workshop a.actionButton { width: 250px; }
body#workshop table td { text-align: left; }

body#workshop table.agenda { display: block; margin-left: 50px; }
body#workshop table.agenda th { width: 170px; text-align: right; color: #555; }
body#workshop table.agenda td { width: 350px; }

body#workshop-registration input#title { width: 450px; }
body#workshop-registration input#organization { width: 280px; }
body#workshop-registration span#non-JPL-info {
	display: block; margin: 25px 0px 0px 30px;
}
body#workshop-registration span#non-JPL-info.disabled {	color: #777; }


/******************************************************************************
* FOOTER
******************************************************************************/
div#footer {
	position: relative; top: 70px; 
	width: 990px; height: 28px; 
	font-family: Arial, Helvetica; font-size: 12px; color: #e0f2f7;
	background-color: #164450;
}
body.no-banner div#footer { top: 0px; }
body.maximize div#footer { width: 100%; top: 0px; }

div#footer a {
	font-family: Arial, Helvetica; color: #e0f2f7;
	text-decoration: none;
}
div#footer a:hover { color: white; }

div#footer span { position: absolute; }
div#footer span#updateDate { position: absolute; top: 8px; left: 10px; }
div#footer span#footerLinks { 
	top: 8px; width: 100%;
	text-align: center;
}
div#footer span#clearanceNum { position: absolute; top: 8px; right: 10px; }





