/**
 * @file
 * Page Background Styling
 *
 * The default layout method of Zen doesn't give themers equal-height columns.
 * However, equal-height columns are difficult to achieve and totally
 * unnecessary. Instead, use the Faux Columns method described in the following
 * ALA article:
 *   http://www.alistapart.com/articles/fauxcolumns/
 */



body.front,
body.not-front{
 
 /*background:url(/sites/all/themes/pmm_zen/images/background/background_realisticSpace_3.jpg) no-repeat center top, url(/sites/all/themes/pmm_zen/images/background/background1_black_to_blue.jpg) repeat-x top, #0d3560 ;*/
 
 /*background:url(/sites/all/themes/pmm_zen/images/background/PMM_background_v13.jpg) no-repeat center top, url(/sites/all/themes/pmm_zen/images/background/background_gradient_v12.jpg) repeat-x top, #24508c;
 */
 
background:url(/sites/all/themes/pmm_zen/images/background/PMM_background_v14.jpg) no-repeat center top, url(/sites/all/themes/pmm_zen/images/background/background_gradient_v14.jpg) repeat-x top, #255391;
}

body.front #page_background,
body.not-front #page_background{
	background:transparent;
}

#page-wrapper {
	background-color:rgba(0,0,0,.4);	
	border:solid #AAA 1px;	
}

#background_switch{
	position:absolute;
	top:20px;
	left:0;
	border: solid 1px #CCC;
	padding:10px;
	margin:10px;
	background:transparent;
	color:white;
	
	font-size:.5em;
	display:none;
}

#page {
}

#content{
	/*background:#f1f2f2; off- white */
	background:white;
}

#header {
}

#header .section {
}

#main-wrapper {
}

#main {
}

#footer {
}

#footer .section {
}


/* IE 8 Fixes */

html.lt-ie9 body.front,
html.lt-ie9 body.not-front{
 /*background:#0d3560 url(/sites/all/themes/pmm_zen/images/background/background1_black_to_blue.jpg) repeat-x top;*/
 
 background:#255391 url(/sites/all/themes/pmm_zen/images/background/background_gradient_v14.jpg) repeat-x top;
  
}

html.lt-ie9 body.front #page_background,
html.lt-ie9 body.not-front #page_background{
 background:url(/sites/all/themes/pmm_zen/images/background/PMM_background_v14.jpg) no-repeat center top;
 height:1160px;/* set equal to height of background image */

}


html.lt-ie9 #page-wrapper{
	background:#000;
	-ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=40)”;
	filter: alpha(opacity=40);
	
}


/* Front Page Fixes */

body.pc #what_is_GPM, body.pc #what_is_TRMM{
	font-size:.71em;
}


html.lt-ie9 #pmm_home_panels div.pane-featured-articles-frontpage div.views-field-title{
	background:#1C232B;
	/*-ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=70)”;
	filter:alpha(opacity=70);
	opacity:.7;*/

}

html.lt-ie9 #pmm_home_panels div.pane-featured-articles-frontpage div.sliding_title{
	position:relative;
	color:white;
	font-size:2em;

}

html.lt-ie9 #pmm_home_panels div.pane-featured-articles-frontpage div.views-field-body,
html.lt-ie9 #pmm_home_panels div.pane-featured-articles-frontpage div.views-field-field-summary-value
{
	padding-top:2px;
	background:#1C232B;
	-ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=70)”;
	filter:alpha(opacity=70);
	opacity:.7;
}

html.lt-ie9 #pmm_home_panels div.pane-featured-articles-frontpage div.views-field-body .field-content,
html.lt-ie9 #pmm_home_panels div.pane-featured-articles-frontpage div.views-field-field-summary-value .field-content,
html.lt-ie9 #pmm_home_panels div.pane-featured-articles-frontpage div.views-field-title .field-content{
	
	position:relative;
	display:block;
}


html.lt-ie9 body.pc #pmm_home_panels div.pane-featured-articles-frontpage  .views-slideshow-controls-bottom{
	top:350px;
}



html.lt-ie9 #pmm_home_panels div.pane-views-mission-updates-block-1 h2{
	background:url(/sites/all/themes/pmm_zen/images/front_page/mission_updates_blue.gif) repeat-x;
}


/* Fix widths of front-page regions, for some reason the Panels module sets them to 99% */
html.lt-ie9 body.front .panels-flexible-region-three_regions_stacked-middle_region,
html.lt-ie9 body.front .panels-flexible-region-three_regions_stacked-bottom_region{
	width:100%;
}

html.lt-ie9 #pmm_home_panels div.pane-mission-updates {
	width:400px;
	margin-right:7px;
}	

html.lt-ie9 #pmm_home_panels div.middle_region div.pane-custom {
    margin-left: 0px;
    position: relative;
    width:520px;
    float:right; 
    margin-right:0px;
    padding-right:0px;

}

html.lt-ie9 #pmm_home_panels div.middle_region div.pane-custom img{
	margin-bottom:0px;
	*margin-bottom:3px; /* * = Only IE7 (hack) */
	margin-right:3px;
	width:514px;
}

html.lt-ie9 #pmm_home_panels #latest_rainfall_label{
	background:#1C232B;
	-ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=70)”;
	filter:alpha(opacity=70);
	opacity:.7;
}


/* Fix Blue and Orange headers to not use multiple background images */
html.lt-ie9 #pmm_home_panels div.bottom_region .pane-1{
	background:   #FFFFFF url(/sites/all/themes/pmm_zen/images/front_page/panel_gray_grad.gif) repeat-x bottom;
	width:935px;
	margin-top:0px;
}

html.lt-ie9 #pmm_home_panels .section_box{
	float:left;
	width:25%;	
	background: url(/sites/all/themes/pmm_zen/images/front_page/sections_blue.gif) repeat-x top;
}

html.lt-ie9 #pmm_home_panels #data_access_box{
	width:24.9%;
}

html.lt-ie9 #pmm_home_panels div.bottom_region .pane-2{
	background:#FFFFFF url(/sites/all/themes/pmm_zen/images/front_page/panel_gray_grad.gif) repeat-x bottom;
	width:935px;
	margin-top:18px;
}

html.lt-ie9 #pmm_home_panels div.bottom_region div.bottom_box{
	float:left;
	width:25%;
	background:url(/sites/all/themes/pmm_zen/images/front_page/bottom_gold.gif) repeat-x top;
}

html.lt-ie9 #pmm_home_panels div.bottom_region #connect_box{
	width:24.9%;
}

/* Left Connect Box */
html.lt-ie9 #connect_box ul li div {
	*padding-top:0px; /* * = Only IE7 (hack) */
}

/* Top Nav -fix overlapping bug */

/*
html.lt-ie9 #main-wrapper #content{
	z-index:-100;
}*/

html.lt-ie9 ul#topnav li{
	z-index:12000 !important;
}

html.lt-ie9 ul#topnav li .sub{
	z-index:10000 !important;
	padding-bottom:0px;
	*padding-bottom:8px; /* * = Only IE7 (hack) */
}

/* Left Nav */

/* LeftNav header styles */
html.lt-ie9 .region-sidebar-first .block h2{
	padding-left:5px;
	padding-top:6px;
	
	background:url(/sites/all/themes/pmm_zen/images/sidebar_blue_grad.png) repeat-x;
	height:32px;
	color:white;
	font-size:2em;
	
}

html.lt-ie9 .region-sidebar-first .block ul.menu li,
html.lt-ie9 .region-sidebar-first .block ul.menu li a{
	list-style:none;
	list-style-image:none;
}

html.lt-ie9 div.service-links li{
	list-style-type:none;
	list-style-image:none;
}

html.lt-ie9 #need_help_box ul{
	margin-left:7px;
}


/* Right sidebar */
html.lt-ie9 .pane-node-terms ul.links li {
    display: block;
    list-style: none;
    list-style-image:none;
}

/* Image Gallery */

html.lt-ie9 table.views-view-grid td {
	*padding-right:6px; 
}

/* Footer */

html.lt-ie9 body.front #footer .block{
	padding-left:12px;

}

html.lt-ie9 body.front #footer .block #footBox2{
	margin-left:10px;
	width:460px;
}

html.lt-ie9 body.not-front #footer .block{
	padding-left:10px;

}

html.lt-ie9 body.not-front #footer .block #footBox2{
	margin-left:10px;
	width:465px;
}


html.lt-ie9 #footer #footBox1,
html.lt-ie9 #footer #footBox2{
	position:relative;
	*margin-bottom:0px; /* * = Only IE7 (hack) */
}


