/**
 * ===================================
 * Add local styles to this stylesheet
 * ===================================
 *
 * (they may be applied to this theme without affecting other sub-themes)
 **/


/**
 * NOC Responsive theme uses Bootstrap v3.0.2
 * 
 * see http://bootstrapdocs.com/v3.0.2/docs/css
 **/




/* Custom background */
/* ================= */

/*
body {
	background: url("../images/bkgBottom.jpg") no-repeat fixed center bottom #125f83;
}	*/			/* Default in NOC7R-main */


/*
body {
	background: url("../../NOC7R-main/images/water-bkg.jpg") no-repeat scroll center -300px #070a0c;	*/	/* was #101419 */
/*	background-size: cover;		*/	/* For very large screens bigger than the image, stretch to cover entire width of browser */
/*	margin: 0 auto;
	max-width: 1920px;
}
*/

/*
#header-img2 {
	display: none;
}	*/	/* Default in NOC7R-main */


/*
@media (min-width: 1200px) {	*/	/* For large enough screen width, show the transparent background */	/*	#bkgTop {
		background: url("../images/bkgTop.png") no-repeat fixed center top rgba(0, 0, 0, 0);	*/	/* Radial gradient background image */
/*		background: none;
	}	*/		/* Default in NOC7R-main */
/*
}
*/


.maintenance-page .nav_trans.navbar-fixed-top #navbar a.logo img {
	background: url('../logo.png') 0 0 no-repeat;
	padding: 0;
}

.maintenance-page .trans {
	padding-top: 72px;
}


@media (max-width: 1023px) {	/* For SCREENS BELOW 1024px width - Use with navbar1023.css (default was 767px) */

/* Replace logo with NTSLF logo */
/* ---------------------------- */

	.navbar .logo {
		margin-top: 12px;
		margin-bottom: 5px;
		margin-right: -15px;
		padding-left: 8px;
		padding-right: 8px;
	}

	#navbar a.logo img {
		background: url("../logo.png") 0 0 no-repeat;
		background-size: auto 45px;
/*		background-position: 0 0;	*/
		height: 0;
		margin-top: 5px;
		margin-left: 4px;	/* Manually adjust to align logo with main page margin */
		overflow: hidden;
		padding: 0 174px 45px 0;
		width: 0;
	}

	#header-img {
/*		background: url("../images/banners/rotate.php") 67% 8% no-repeat;
 */
		background-image: none;
	}				/* Override main theme's banners with LOCAL ones */



}



@media (min-width: 1024px) {	/* For SCREENS of 1024px width and ABOVE - Use with navbar1023.css (default was 768px) */

	#header-img {
/*		background: url("../images/banners/rotate.php") 50% 0 no-repeat scroll #003;
 */
		background-image: none;
	}				/* Override main theme's banners with LOCAL ones */

/*
	#navbar {
		min-height: 150px;
	}
*/


/* Fine tune position of secondary menu */
/* ------------------------------------ */

	.secondary {
		margin-left: 800px !important;
		width: 90px !important;
	}


/* Restore default NTSLF site logo             */
/* (was overwritten in NOC7R-main style sheet) */
/* ------------------------------------------- */

	#navbar a.logo {
		padding-right: 0;
	}

	#navbar a.logo img {
		background: none 0;
		height: auto;
		margin-left: -4px;	/* Manually adjust to align logo with main page margin */
		margin-top: 10px;
		padding: 0;
		width: auto;
	}


	#navbar a.logo:hover img {
		background-position: 0 0;
	}				/* Don't shift logo position on hover */


	/* Put back logo overridden in fullscreenwidth.css */
	.nav_trans.navbar-fixed-top #home-fixed {
		background-image: url("../logo.png");
		background-position: 0;
		background-size: auto 60px;
		margin-bottom: 4px;
		margin-top: 10px;
		padding: 0 230px 60px 0;
	}

	/* Override logo in fullscreenwidth.css */
	.nav_trans.navbar-fixed-top.slim-navbar #home-fixed {
		background-size: auto 38px; 
		background-position: 0;
		padding: 0 148px 38px 0;
	}

	.nav_trans.navbar-fixed-top.slim-navbar #default-nav > ul:first-child > li:first-child,
	.nav_trans.navbar-fixed-top.slim-navbar #megamenu-nav ul#main-menu > li:first-child {
		margin-left: 175px;
	}

	.nav_trans.navbar-fixed-top #default-nav > ul:first-child > li:first-child,
	.nav_trans.navbar-fixed-top #megamenu-nav ul#main-menu > li:first-child {
		margin-left: 290px;			/* Shift menu to right of larger logo */
}
}



/* Reveal NOC website link and add logo for screens of 1100px width and ABOVE */
/* ------------------------------------------------------------------------- */

@media (min-width: 1100px) {		/* was 900px */

	#navbar .navbar-header {
		width: 73%;		/* Manually adjust so that NOC logo is right justified on same line as the site logo */
	}

	#main-website {
/*		display: block;		/* Hidden in NOC7R-main style sheet */
 */
		display: none;
	}

	#main-website {
		background: url("../images/logo-full.png") 0 0 no-repeat;
		height: 0;
		float: right;
		margin-top: 10px;
		padding: 0 315px 85px 0; /* Set to accommodate new image size */
		text-indent: -9999px;
		width: 0;
		position: relative;
/* 		left: -288px;
		top: -44px;	*/
	}

	#main-website:hover {
		background-position: 0 -85px;
	}				/* Shift logo position on hover */

}




#noc a:first-child img {
	margin-bottom: 0;
}
