/*<meta conditions="globalCond.MigrationGlobal" />*/

html,
body
{
	background: #F2F6FA;
	height: 100%;
	/* spans entire viewport */
	margin: 0;
	/* removes default margin */
	display: flex;
	flex-direction: column;
	/* Arranges header, content, and footer in a column */
}

body
{
	min-height: 100vh;
	position: relative;
	/* background-color: #FFFFFF; this change didn't fix it...*/
	font-size: 12pt;
	font-family: Lato, "Segoe UI", Calibri, Verdana, "Times New Roman", "Times New Roman Baltic";
	/* Leave multiple fonts for failsafe and other devices */
	line-height: 1.2;
}

.main-section	/*This style applies the blue background. This HTML element is not on a master page, it is used at compile time. Can't add flex-direction here - breaks width*/
{
	background-color: #F2F6FA;
	/* flex: 1;  /*allows main content to grow and fill the available space  - doesn't break to remove this*/
	padding: 20px;
	/* add padding as needed for content */
}

/*Div used to create padding around the body proxy used in the standard master page. */

div.sidenav_content,
.HomePg_integrations,
.menu-proxy
{
	flex-basis: 16em;
	/* Min width of items in container */
	flex-grow: 1;
	/* Child divs grow to fill avail. width within container */
	flex-direction: column;
	margin: 1em;
	padding: 1em;
	/* box-shadow: 0 5px 10px rgba(0,0,0,0.25); */
	/* border: solid 1px; */
	background-color: #fff;
}

div.sidenav_content,
.HomePg_integrations
{
	min-height: 200px;
	max-height: 700px;
	overflow-y: auto;
}

.menu-proxy
{
	min-height: 200px;
	max-height: 550px;
	width: 80%;
	overflow-y: auto;
}

#SrchPage
{
	display: block;
	min-height: 200px;
	max-height: 700px;
	overflow: visible !important;
}

.topic-only	/* add this class to a topic added to micro content when some sections should not be included */
{
	
}

.micro-content-only	/* add this class to a topic added to micro content when it shouldn't be in topic otherwise. */
{
	display: none;
}

.footer
{
	display: flex;
	width: 100%;
	padding: 10px 56px;
	justify-content: space-between;
	/*space between items in the footer */
	align-items: center;
	background: #F2F6FA;
	/* should add this as a default background if we get the blue background working in all */
	flex-shrink: 0;
	/* prevent footer from shrinking */
	position: absolute;
	bottom: 0;
	left: 0;
}

.knowledge-proxy:empty,
.promotion-proxy:empty,
.faq-proxy:empty
{
	display: none;
}

.knowledge-proxy:empty ~ .main-content,
.promotion-proxy:empty ~ .main-content,
.faq-proxy:empty ~ .main-content
{
	width: 100%;
}

@media only screen and (max-width: 1279px)
{
	div.sidenav_content
	{
		margin-left: 2em;
		/* was 4em for both margins */
		margin-right: 2em;
		padding: 1em;
		/* was 2em */
		min-height: 200px;
		max-height: 800px;
		/* was 960; common table heights: 962-800, chrome has 1024-1368 took smallest - 40px*/
	}

	.footer
	{
		width: 100%;
		justify-content: space-between;
		padding: 10px 10px;
	}

	img.BigImagesSmallThumbnail	/* Resize small thumbnails  - for responsive outputs */
	{
		max-width: 500px;
		mc-thumbnail: popup;
		mc-thumbnail-max-width: 100px;
		mc-thumbnail-max-height: auto;
		mc-popup-height: auto;
		mc-popup-width: 100vw;
	}

	div.Topic-KNproxy > div:nth-child(1)
	{
		width: 66.66667%;
		margin-left: 0%;
	}

	div.Topic-KNproxy > div:nth-child(2)
	{
		width: 33.33333%;
		margin-left: 0%;
	}
}

@media only screen and (max-width: 767px)
{
	.main-section
	{
		padding-top: 5px;
		/* was 20px add padding as needed for content */
	}

	div.sidenav_content
	{
		margin-left: 1em;
		margin-right: 1em;
		height: auto;
		min-height: 200px;
		max-height: 600px;
		/* common mobile device heights 640-896, chrome has 640-896 */
	}

	.footer
	{
		width: 100%;
		justify-content: space-between;
		padding: 2px 2px;
		/* was 10px 56px; */
	}

	.main-section > .outer-row	/* Removes the padding around the topic container in mobile */
	{
		padding: 0;
	}

	div.home-master-page-footer > div	/* Adds separators to the footer items when in mobile layout */
	{
		border-bottom: 1px solid #828282;
	}

	img.BigImagesSmallThumbnail	/* Resize small thumbnails  - for responsive outputs */
	{
		mc-thumbnail-max-width: 50px;
	}

	/*Hides or shows online content in mobile only or all other online content */

	p.mobileonly	/*Hides p.mobileonly paragraphs in all but mobile media - to accommodate note about rotating screen for large tables */
	{
		display: block;
	}

	p.notmobile	/*Hides p.notmobile in mobile media only - for simplified footer in small screens */
	{
		display: none;
	}

	div.mobileonly	/*Hides p.mobileonly paragraphs in all but mobile media - for online footer */
	{
		display: block;
	}

	div.notmobile	/*Shows p.notmobile paragraphs in all but mobile media - for online footer */
	{
		display: none;
	}

	/*END Hides or shows online content in mobile only or all other online content */
}

