/*
	Main color: #bf0000;
	Darker main color: #900000;
	Dark color: #393c47;
	Light text: #999;
	Normal text: #555;
	Light text: #AAA;
	Active blue: #00a0f0;
*/

  /*************************/
 /***   GLOBAL STYLES   ***/
/*************************/

	body {
		font-family:'Noto Sans', sans-serif;
		line-height: 1.5;
		font-size: 14px;
		background: #f7f7f7;
		color: #555;
		margin: 0;
		padding: 50px 0;
		min-width: 1200px;
		min-height: 100vh;
		position: relative;
	}

	*, :before, :after {box-sizing: border-box;}

	a {
		text-decoration: none;
		transition: color 200ms, background-color 200ms;
		color: #bf0000;
	}
	a:hover {
		color: #900000;
	}

	a img {border: none;}

	h1, h2, h3 {
		color: #393c47;
		margin: 0.25em 0;
		line-height: 1;
	}
	h1 {font-size: 24px;}
	h2 {font-size: 18px;}
	h3 {font-size: 16px;}
	.lighter {
		color: #AAA;
	}
	p {
		margin: 0;
		padding: 4px 0;
	}

	/* Staging flag */
	body.staging:before {
		content: "";
		display: block;
		position: absolute;
		left: 220px;
		top: 15px;
		width: 92px;
		height: 20px;
		z-index: 99;
		background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAAAUBAMAAADyykdqAAAAG1BMVEUAAAD5n/8AAAD70p6eAGqpqan0AKX4paT9/f1moQFkAAAAAXRSTlMAQObYZgAAAQ5JREFUKM+NklGKhDAQRMUb9Cj5zkT6ALueQMgJGsLur4dY9n9OPlWJZhACpohGzeuiKXugQpf8UDSuXfo+8GWVDk2rP/AvKXJC7SfweXHcK46XKySuZV/xWz2esk8+FLy4zXGTGCN3Xlyb8BPO1OAekkeIpztA3Lhifmah5BInmp4yKXA1X3Go4pLxjTikyUJIdE9hyb3wsOAR+ByJ54biRhwiPqotZ2DxdK8NAaf/IxXZAPulxLY18PnEf+H/Ij4GuF+aKV1zSUkGuGnSABz8cvlJeyv2n78E/VsZgv3AnDTLiKslBd4aMXd9cEwGE8zc2XzH8B7BQKjslM+4ebXhRmpjyjSnBnU3GgFhewPURm8hRTrhRQAAAABJRU5ErkJggg==');
		image-rendering: pixelated;
		animation: 12s infinite alternate nyan;
	}
	@keyframes nyan {
		from {
			transform: translateX(0px);
		}

		to {
			transform: translateX(160px);
		}
	}

	/* Things are a bit different if we're in a popup */
	body.popup-content {
		min-width: 0;
		min-height: 0;
		background: white;
		padding: 16px 32px;
	}

  /**************************/
 /***   NAVIGATION BAR   ***/
/**************************/

	#sfe-app-bar {
		background: #393c47;
		display: flex;
		justify-content: space-between;
		height: 50px;
		position: fixed;
		z-index: 10;
		top: 0;
		width: 100%;
		min-width: 1200px;
	}
	#sfe-app-bar .sfe-app-brand {
		margin: 6px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 787.9 200' fill='%23FFF'%3E%3Cpath d='M68 93c0 3.5-.9 6.8-2.5 9.6 6.4 7.6 13.3 15 20.5 22 2.7-1.3 5.7-2.1 8.9-2.1h.7a226.8 226.8 0 0 0 15.1-58.8 17 17 0 0 1-3.9-2.7A311.2 311.2 0 0 0 67 86.9c.7 2 1 4 1 6.1zM125.1 26.6c3.6.9 6.8 2.8 9.3 5.4 10-3.7 20.1-6.6 30-8.6a99 99 0 0 0-47.3-22 85.7 85.7 0 0 1 8 25.2zM140 46c0 1.7-.2 3.4-.6 5a149.2 149.2 0 0 1 57.1 75.2 99.2 99.2 0 0 0-19.3-89.7A160.4 160.4 0 0 0 140 46c0-.1 0-.1 0 0zM75 142.5c0-2.3.4-4.6 1.1-6.6a312.5 312.5 0 0 1-22.2-23.8 19.6 19.6 0 0 1-14.6-1.1l-5.8 5.9A213.7 213.7 0 0 0 10.8 145a100 100 0 0 0 41.8 42.9 164 164 0 0 0 26.8-33.1 18.9 18.9 0 0 1-4.4-12.3zM43.9 73.4a20.3 20.3 0 0 1 13.6 2 307.9 307.9 0 0 1 42.6-27.7L100 46c0-7.5 4.1-14 10.2-17.4l-.1-.7A53.5 53.5 0 0 0 97.8 0a99.8 99.8 0 0 0-73.4 34.5c4.5 12.5 11 25.6 19.5 38.9zM124.9 156.5a186.8 186.8 0 0 0 38.5 20.8c9.2-7.6 17.1-16.8 23.1-27.2a110 110 0 0 0-11.9-37.7A134.6 134.6 0 0 0 130.4 63c-1.5.9-3 1.6-4.7 2.1a236.7 236.7 0 0 1-16.3 63.5 19.8 19.8 0 0 1 4.6 20.1c3.6 2.7 7.2 5.3 10.9 7.8zM116.4 168.9c-4-2.7-8-5.7-12-8.7-2.8 1.5-6 2.3-9.4 2.3l-2.7-.2v.1c-7.6 12.2-16 23-25 32.1a100 100 0 0 0 81.4-7.1 224.6 224.6 0 0 1-32.3-18.5zM22.6 106.6l6.6-6.7a20 20 0 0 1 2.2-18.1A231.6 231.6 0 0 1 14 48.9a99.6 99.6 0 0 0-9.9 79.5c5.4-7.2 11.6-14.6 18.5-21.8z'/%3E%3Cpath d='M375.8 110.1a32.9 32.9 0 0 1 6.5 20.1c0 14.9-4.9 25.9-14.7 32.9s-22 10.5-36.7 10.5h-49V26.4h43.2c15.6 0 27.9 3.2 36.8 9.5a31.7 31.7 0 0 1 13.4 27.5c0 7.3-1.5 13.8-4.6 19.3-3.1 5.5-7.4 10-13 13.3a46.5 46.5 0 0 1 18.1 14.1zm-64.9-23.5h17.6c5.3 0 9.5-1.6 12.4-4.9 2.9-3.3 4.4-7.3 4.4-12.1 0-4.9-1.7-8.7-5-11.3a21.8 21.8 0 0 0-13.8-3.9h-15.6v32.2zm35.1 55.9c4.2-2.7 6.3-6.8 6.3-12.3 0-10.4-8.3-15.6-24.8-15.6h-16.6v32h18.6a30 30 0 0 0 16.5-4.1zM412.4 62.8a76.6 76.6 0 0 1 27.4-27.7 71.5 71.5 0 0 1 37.5-10.3c13.5 0 26 3.4 37.5 10.3a78.7 78.7 0 0 1 27.6 27.7 72 72 0 0 1 10.3 37.4c0 13.6-3.4 26.1-10.3 37.6a76.8 76.8 0 0 1-65.1 37.4 74.5 74.5 0 0 1-75-75c0-13.3 3.3-25.8 10.1-37.4zm26 61a44.5 44.5 0 0 0 78.5.1c3.9-7.1 5.8-15 5.8-23.7 0-8.8-2-16.8-6-24-4-7.2-9.4-12.9-16.3-17.1a43.1 43.1 0 0 0-22.9-6.3c-8.4 0-16 2.1-22.9 6.3a45.4 45.4 0 0 0-16.3 17.1c-4 7.2-6 15.2-6 24a47 47 0 0 0 6.1 23.6zM626.9 51.4c-6.4 0-11.4 1.3-14.9 3.8s-5.3 6.3-5.3 11.4c0 4.7 2.6 8.8 7.7 12.3s12 6.9 20.5 10.1a82 82 0 0 1 17.8 8.7c4.9 3.3 9 7.8 12.3 13.5 3.3 5.7 4.9 13 4.9 21.8a40.2 40.2 0 0 1-23.2 36.5 60.3 60.3 0 0 1-27.2 5.7 91 91 0 0 1-26.2-3.9 82.7 82.7 0 0 1-24.2-11.9l12.8-22.6a71.9 71.9 0 0 0 17.4 9.2 51.6 51.6 0 0 0 17.6 3.6c6.1 0 11.5-1.3 16-3.9 4.5-2.6 6.8-6.8 6.8-12.7 0-7.6-7.1-14.2-21.4-19.8-8.4-3.3-15.4-6.5-21-9.6a44.2 44.2 0 0 1-14.5-13.2 36 36 0 0 1-6.1-21.6c0-12.7 4.2-22.9 12.5-30.6a51 51 0 0 1 33.3-12.6 86 86 0 0 1 27.4 3.7c7.3 2.5 14.5 6 21.4 10.5l-11 22.2a71.5 71.5 0 0 0-33.4-10.6zM743.5 51.4c-6.4 0-11.4 1.3-14.9 3.8s-5.3 6.3-5.3 11.4c0 4.7 2.6 8.8 7.7 12.3s12 6.9 20.5 10.1a82 82 0 0 1 17.8 8.7c4.9 3.3 9 7.8 12.3 13.5 3.3 5.7 4.9 13 4.9 21.8a40.2 40.2 0 0 1-23.2 36.5 60.3 60.3 0 0 1-27.2 5.7 91 91 0 0 1-26.2-3.9 82.7 82.7 0 0 1-24.2-11.9l12.8-22.6a71.9 71.9 0 0 0 17.4 9.2 51.6 51.6 0 0 0 17.6 3.6c6.1 0 11.5-1.3 16-3.9 4.5-2.6 6.8-6.8 6.8-12.7 0-7.6-7.1-14.2-21.4-19.8-8.4-3.3-15.4-6.5-21-9.6a44.2 44.2 0 0 1-14.5-13.2 36 36 0 0 1-6.1-21.6c0-12.7 4.2-22.9 12.5-30.6a51 51 0 0 1 33.3-12.6 86 86 0 0 1 27.4 3.7c7.3 2.5 14.5 6 21.4 10.5l-11 22.2a71.5 71.5 0 0 0-33.4-10.6z'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-size: contain;
		background-position: left;
		
		min-width: 194px;
	}
	#sfe-app-bar .sfe-app-brand img {
		display: none;
	}
	#sfe-app-bar #main-navigation {
		align-self: flex-end;
		flex-grow: 1;
	}
	#sfe-app-bar #main-navigation ul {
		margin: 0;
		padding: 0;
		display: flex;
		list-style-type: none;
		align-items: flex-end;
		min-width: 720px;
	}
	#sfe-app-bar #main-navigation a {
		display: inline-block;
		color: white;
		padding: 10px 20px;
		margin: 0 10px;
		font-weight: bold;
		font-size: 20px;
		line-height: 1;
		opacity: .5;
		border-radius: 8px 8px 0 0;
	}
	#sfe-app-bar #main-navigation a:hover {
		opacity: 1;
		background: rgba(255,255,255,.25);
	}
	#sfe-app-bar #main-navigation a.current {
		background: #f7f7f7;
		color: #393c47;
		opacity: 1;
	}

	#sfe-app-bar .meta-navigation {
		align-self: start;
		padding: 0 10px;
		color: #999;
		display: flex;
		line-height: 1;
		font-size: 10px;
		/*min-width: 530px;*/
		justify-content: flex-end;	
	}
	@media (min-width: 1300px) {
		#sfe-app-bar .meta-navigation {
			font-size: 14px;
			/*min-width: 530px;*/
		}
	}
	#sfe-app-bar .meta-navigation .customer-name,
	#sfe-app-bar .meta-navigation .login-name,
	#sfe-app-bar .meta-navigation .contact-info {
		color: white;
		margin: .5em 0;
		padding: 0 .5em;
		cursor: default;
	}
	#sfe-app-bar .meta-navigation .manual-link,
	#sfe-app-bar .meta-navigation .contact-link {
		color: rgba(255,255,255,.75);
		margin: .5em 0;
		padding: 0 .5em;
	}
	#sfe-app-bar .meta-navigation .manual-link:hover,
	#sfe-app-bar .meta-navigation .contact-link:hover {
		color: rgba(255,255,255,1);
	}
	#sfe-app-bar .meta-navigation .contact-link {
		border-right: 1px solid rgba(255,255,255,.25);
	}
	#sfe-app-bar .meta-navigation .logout-link {
		background: #bf0000;
    	color: white;
    	padding: .5em;
    	margin-left: .5em;
	}
	#sfe-app-bar .meta-navigation .logout-link:hover {
		background: #900000;
	}

	#sfe-app-bar .meta-navigation>*:first-child,
	#sfe-app-bar .meta-navigation>*:nth-child(2) {
		border-right: 1px solid rgba(255,255,255,.25); 
	}

  /******************/
 /***   FOOTER   ***/
/******************/

	#sfe-app-footer {
		background: #393c47;
		padding: 10px;
		color: white;
		position: absolute;
		width: 100%;
		bottom: 0;
		left: 0;
	}


  /**************************/
 /***   PAGE STRUCTURE   ***/
/**************************/

	#sfe-app-content {
		display: flex;
	}
	#sfe-app-content #section-navigation {
		padding: 16px;
		flex: 0 0 200px;
	}
	#sfe-app-content #screen-content {
		padding: 16px;
		flex: 0 0 1000px;
		max-width: 1000px;
	}
	#sfe-app-content #screen-content.wider {
		flex: 0 1 1200px;
		max-width: 1200px;
	}
	#sfe-app-content #screen-content.full-width {
		flex: 1 0 1000px;
		max-width: calc(100vw - 210px);
	}


  /******************************/
 /***   SECTION NAVIGATION   ***/
/******************************/

	#section-navigation {
		text-align: right;
	}
	#section-navigation ul {
		list-style-type: none;
		padding: 0 0 50px 0;
		margin: 0;
	}
	#section-navigation ul a,
	#section-navigation ul strong {
		display: block;
		line-height: 1.2;
	}
	#section-navigation ul strong {
		font-size: 16px;
		font-weight: bold;
		padding: 0 0 8px 0;
		color: #393c47;
	}
	#section-navigation ul li:not(:first-child) strong {
		margin-top: 32px;
	}
	#section-navigation ul a {
		color: #999;
		font-size: 14px;
		padding: 8px 0;
		font-weight: normal;
	}
	#section-navigation ul a:hover {
		color: #555;
	}
	#section-navigation ul a.current {
		color: #555;
		font-weight: bold;
		position: relative;
	}

	#section-navigation ul a.current:after {
		content: "";
		position: absolute;
		display: block;
		right: -12px;
		top: calc(50% - 4px);
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 4px 0 4px 6px;
		border-color: transparent transparent transparent #888;
	}