/*FAM Media Queries to be responsive to multiple device categories*/


/*Style Overrides for small devices */

@media all and (max-width: 1024px){ 

	body {
		width: 100%;
		height: 100vh;
		margin: 0;
	}

	.productHeader {
		position: fixed;
		height: 60px;
	}

	.contentWrapper {
		margin-top: 60px;
		-ms-flex-direction: row;
		-webkit-flex-direction: row;
		flex-direction: row;
	}

	#mainContent {
		margin-top: 40px;
	}

	.sidebar {
		max-height: 85%;
	}

	.sidebar_navList_li {

		padding: 12px;

	}

	#logo {
		
		height: 2.5em;
	}

	#helpNav {
		margin: -1.5em 1em 0 -2em;
	}

	#productTitle {
		font-size: 1.8em;
		margin-top: 0.1em;
		/*margin: -2em 0 0.5em 28%;*/
	}

	#productTagline {
		font-size: 0.8em;
	}

	.productBannerImage {
		height: 60px;
	
	}

	#modalPopup {
		top: 60px;
		max-height: 360px;
	}

	#modalPopupHeader {
		font-size: 1.1em;
	}

	.chapterNav_li  {
		font-size: 0.8em;
		justify-content: flex-start;
		-webkit-flex-direction: column;
		flex-direction: column;
	}

	.subNavItem a{

		font-size: 0.7em;
		border: none;
	}

	.subNavItem a:focus, .subNavItem a:hover, .subNavItem a:active {
		color: #000;
		/*border: none;*/
	}

	.floatNone img{
		width: 95%;
		margin: 0px auto;
	}

	
	#nav_intra_1 {
		width: 100%;
		display: flex;
		float: none;
	}

	#drop_down{
		width: 100%;
	}
	#topNavigation {
		float: left;
		width: 100%;
		margin-bottom: 0.8em;
	}

	.arrowNavBtn{
		height: 15px;
		padding: 6px;

	}

}

@media all and (max-width: 480px){ 

	.contentWrapper {
		box-sizing: border-box;
		margin: 0;
		padding: 0;
		width: 100%;
		height: 100vh;
		max-height: 95vh;
		overflow: hidden;
		-ms-flex-flow: column;
		-webkit-flex-flow: column;
		flex-flow: column;
		justify-content: space-between;
	}

	.productHeader {
		position: fixed;
		height: 60px;
		width: 100%;
		margin-bottom: 5px;
	}

	.subNav {
		position: relative;
		margin-top: 60px;
	}

	#productTitle {
		font-size: 1.5em;
		margin-top: 6px;
	}

	#productTagline {
		font-size: 0.6em;
	/*	margin: -0.1em 0 0 36px;*/
	}	

	.productBannerImage {
		height: 60px;
		/*width: 60px;*/
		/*margin-top: -50px;*/
		border: none;
	}

	#logo{
		margin-top: 12px;
		/*height: 60%;*/
		width: 30px;
		background-image: url(../img/DLI_crest_color.png);

	}
	.sidebar {
		/*position: fixed;*/
		margin: 0;
		width: 100%;
		height: 60%;
		-ms-flex-order: 2;
		order: 2;
	}

	.sidebarListView {
		
	}

	.navListContents {
		margin-bottom: 100px;
	}

	.tabBar {
		border-top: 1px solid #888;
		height: 45px;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		/*-ms-flex-pack: distribute;*/
		justify-content: space-between;
	}

	.tabButton {
		box-sizing: border-box;
		padding: 0 0;
		height: 45px;
	}

	#mainContent {
		/*position: relative;*/
		width: 100%;
		top: 20px;
		margin: 60px 0 0 0;  
		-ms-flex-order: 1;
		order: 1;
		clear: both;
	}

	.videoPlayer {
		width: 100%;
		margin: 0;
	}

	.footerLinks { 

		margin: 12px;

	}

	#modalPopup {
		max-height: 200px;
		top: 60px;
	}

}

/* IE10+ CSS styles go here. IE >9 found in ms-styles linked in index.html conditional comment */

@media all and (min-width: 481px) and (-ms-high-contrast: none), (min-width: 481px) and (-ms-high-contrast: active) {
	
	/*.sidebar {

		position: relative;
		margin-top: 24px;
	}	
*/
}

@media all and (max-width: 480px) and (-ms-high-contrast: none), (-ms-high-contrast: active) and (max-width: 480px){

	/*Need to fix responsive styles for width < 480px */
	/*.sidebar {

		position: fixed;
		margin-top: 325px;
	}	*/

}




