/* Webfont: Lato-Regular */ 
@font-face {
    font-family: 'LatoWeb';
    src: url('fonts/Lato-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/Lato-Regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/Lato-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
/* Webfont: Lato-Light */ 
@font-face {
    font-family: 'LatoWebLight';
    src: url('fonts/Lato-Light.eot'); /* IE9 Compat Modes */
    src: url('fonts/Lato-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/Lato-Light.woff2') format('woff2'), /* Modern Browsers */
         url('fonts/Lato-Light.woff') format('woff'), /* Modern Browsers */
         url('fonts/Lato-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
@media (max-width: 999px) {
	html
	{
		background-image: url(./../images/Background.png);
		background-repeat: repeat-x;
		background-color: #d1dedf;
	}
	body {
		font-family: "LatoWeb", Georgia, "Times New Roman", Times, serif;	
		font-size: 1rem;
		line-height: 1.6rem;
		/* min-width: 0px; */
		margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
		padding: 0;
		text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
		color: #000000;
	}
	#container {
		margin: 0; /* the auto margins (in conjunction with a width) center the page */
		padding-top: 1rem;
		text-align: left; /* this overrides the text-align: center on the body element. */
	}
}
@media (min-width: 1000px) {
	html
	{
		background-image:url(./../images/Background.png);
		background-repeat: repeat-x;
		background-color: #d1dedf;
	}
	body {
		font-family: "LatoWeb", Georgia, "Times New Roman", Times, serif;	
		font-size: 1rem;	
		margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
		padding: 0;
		text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
		color: #000000;
	}
	#container {
		width: 1000px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
		margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
		text-align: left; /* this overrides the text-align: center on the body element. */
	}
	#veryTop
	{
		background-image:url(../images/VeryTop.png);
		background-repeat:no-repeat;
		width: 980px;
		height: 1.2rem;
		text-align: left;
		padding-left: 20px;
		padding-right: 20px;
		font: normal normal normal 0.76em/normal "Lucida Sans Unicode", sans-serif;
	}

	#veryTop a
	{
		text-decoration: none;
		border-bottom: 1px solid #999;
	}
	#skip a
	{
		display: inline;
		position: relative;
		clear: left;
		float: left;
	}
	#skip a:focus {	visibility: visible;}
	#skip a:active{	visibility: visible;}
	#skip a:hover {	visibility: visible;}
	
	.rightFixedBox, .rightFixedBoxDocument {
		border:1px solid #000;
		background-color:#d90215;
		width:190px;
		position:fixed;
		top:30px;
		left: 1000px;
		line-height: 140%;
		z-index:0;
		border-radius: 4px 4px 4px 4px; 
		  border: 1px solid rgb(0,0,0);	
		  box-shadow:         3px 3px 5px 6px rgba(127,127,127,0.3);
	}
	#sourcefeedEditFrm {
		font-size: 1rem;
	}
	#sourcefeedEditFrm input[type="reset"],#sourcefeedEditFrm input[type="submit"] {
		padding: 0.5em 1em !important;
		font-size: 1rem;
	}
	.rightFixedBoxDocument {background-color:#0066CC !important; font-size: 0.9rem;}
	.rightFixedBox3 {
		max-width: calc(100vw - 1030px);
		width: 100%;
		height:calc(100vh - 415px);
		overflow:scroll;
		border-radius: 4px 4px 4px 4px; 
	    border: 1px solid rgb(0,0,0);	
	}
	.rightFixedBox a, .rightFixedBox a:active, .rightFixedBox a:link {color:#fff !important;}
	.rightFixedBoxDocument a, .rightFixedBoxDocument a:active, .rightFixedBoxDocument a:link {color:#fff !important;}
	.rightFixedBox a:hover {color:#ffda74 !important;}
	.rightFixedBoxDocument a:hover {color:#ffda74 !important;}
	.rightFixedBoxTop2 {
		border:0px solid #000;
		max-width: calc(100vw - 1260px);
		width: 100%;
		overflow: scroll;
		position: fixed;
		top:30px;
		z-index:0;
		left: 1200px;
		padding: 1em;
		background-color: #fff;
		border-radius: 4px 4px 4px 4px; 
		border: 1px solid rgb(0,0,0);	
		box-shadow: 3px 3px 5px 6px rgba(127,127,127,0.3);
	}
	.rightFixedBox2 {
		border:0px solid #000;
		width: calc(100vw - 1015px);
		position: fixed;
		top:380px;
		left:15px;
		z-index:0;
		left: 1000px;
	}
	aside {
		 margin-left: 0.5em; 
		 float:right; 
		 max-width:33%;
	}
}
/* normal with independent stuff*/
html #cke_Content, body #cke_Content {
	background-image: #fff;
}
input[type="button"], input[type="submit"], input[type="reset"], input[type="file"], button {
	color: #000000;
	background-color: #ccc;
	font: normal normal normal 1.0rem/normal "LatoWeb","Lucida Sans Unicode", sans-serif;
    font-size: 1rem;
	padding: 0.5rem 1.5rem 0.5rem 1.5rem;
	border-radius: 0.35rem;
	border-width: 1px;
	border-style: solid;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
	outline-style: none;
}

a {
	color:#333;
}
a.active, a:hover {
	color:#d90215;
	text-decoration: none;
}
a.OpenLinkNewWindowBlue { background: url('../images/iconNewWindowBlue.png'); background-repeat:no-repeat; background-position-x:right; background-size:auto; background-position-y:center; 	padding-right: 22px; background-color: transparent; border-bottom-width: 0px !important;}
a.OpenLinkNewWindowRed {background: url('../images/iconNewWindowRed.png'); background-repeat:no-repeat; background-position-x:right; background-size:auto; background-position-y:center; 	padding-right: 22px; background-color: transparent; border-bottom-width: 0px !important;}
a.OpenLinkNewWindowBlue:hover, a.OpenLinkNewWindowRed:hover {border-bottom-width: 1px !important;}
textarea { 
	font: 100% "LatoWeb", Georgia, "Times New Roman", Times, serif;
}
aside, figure { 	
	background-color: rgba(225, 225, 225, 0.25);
	box-sizing: border-box;
	border-radius: 0.5em 0.5em 0.5em 0.5em; 
		-moz-border-radius: 0.5em 0.5em 0.5em 0.5em; 
		-webkit-border-radius: 0.5em 0.5em 0.5em 0.5em;  
	 padding: 0.5em; 
	 text-align:left;
	 font-family:  "Lucida Sans Unicode", sans-serif;
	 color:#333;
}
img {max-width:100%;height:auto;}
figure img, aside img {max-width:100%;height:auto;}
.hidden {
	display: none;
}
.right { text-align:right; }
.left {	text-align:left;}
.center {text-align:center;}
.alignleft { float:left;}
.floatRight {display: block;	float: right;}
.floatLeft {display: block;float: left;}
.floatCenter{
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	width:33%;
}
.inlinefloatleft
{
	display:inline-flexbox;
	float:left;
}
.clearLeft
{
	clear: left;
}
.clearRight
{
	clear: right;
}
.clearBoth
{
	clear: both;
}
.nowrap {white-space:nowrap;}
.error {color: #d90215;}
.yellowEdit { background-color: #FFFF5A;}
.greenEdit { background-color: #4EFF00 ;}
.cyanEdit { background-color: #3FFFFF ;}
.blueEdit {	background-color: #BFECFF ;}
.pinkEdit {	background-color: #FFD2FF ;}
.redEdit {	background-color: #d90215 ;	color: #fff;}
.orangeEdit {	background-color: #fdaf1e ;	color: #fff;}
.purpleEdit {	background-color: #ff5ee4 ;	color: #fff;}

.textBold { font-weight:bolder;}
.dimmedField { background-color: #eee }
.kolonner2 {
	-webkit-column-count:2; /* Chrome, Safari, Opera */
	-moz-column-count:2; /* Firefox */
	column-count:2;
	-webkit-column-gap:0.5em; /* Chrome, Safari, Opera */
	-moz-column-gap:0.5em; /* Firefox */
	column-gap:0.5em;	
}
.kolonner3 {
	-webkit-column-count:3; /* Chrome, Safari, Opera */
	-moz-column-count:3; /* Firefox */
	column-count:3;
	-webkit-column-gap:0.5em; /* Chrome, Safari, Opera */
	-moz-column-gap:0.5em; /* Firefox */
	column-gap:0.5em;	
}
.kolonner4 {
	-webkit-column-count:4; /* Chrome, Safari, Opera */
	-moz-column-count:4; /* Firefox */
	column-count:4;
	-webkit-column-gap:0.5em; /* Chrome, Safari, Opera */
	-moz-column-gap:0.5em; /* Firefox */
	column-gap:0.5em;	
}
.kolonner5 {
	-webkit-column-count:5; /* Chrome, Safari, Opera */
	-moz-column-count:5; /* Firefox */
	column-count:5;
	-webkit-column-gap:0.3em; /* Chrome, Safari, Opera */
	-moz-column-gap:0.3em; /* Firefox */
	column-gap:0.3em;	
}
.kolonner6 {
	-webkit-column-count:6; /* Chrome, Safari, Opera */
	-moz-column-count:6; /* Firefox */
	column-count:6;
	-webkit-column-gap:0.3em; /* Chrome, Safari, Opera */
	-moz-column-gap:0.3em; /* Firefox */
	column-gap:0.3em;	
}
#mainContentStartsHere
{
	display:inline-block; color: transparent; width:1px;height:1px; overflow:hidden;
}
.cookiesAreAllowed , .cookiesNotAllowed {
	display:block;
	font-size: 1.1em;
	font-family: "LatoWebLight","Lucida Sans Unicode", sans-serif;
	font-weight: 700;	
	text-shadow: #999 1px 0px 1px;	
	background-color: #eac53e;
	color: #000;
	text-align: center;
	padding: 1em;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-right: 10px;  
	box-shadow: 2px 2px 5px rgba(0,0,0,.3);
}
.cookiesNotAllowed { background-color: #d90215; color: #fff;}
.cookieNOTAllowedSomeTextDoesNotWork {font-size: 0.8em;}
div.cookiesNotAllowed a {color: #fff !important; border-bottom: 1px solid #fff !important;}
div.cookiesNotAllowed a:hover {color: #000 !important; border-bottom: 1px solid #000 !important;}
div.cookiesAreAllowed a {color: #000 !important; border-bottom: 1px solid #000 !important;}
div.cookiesAreAllowed a:hover {color: #fff !important; border-bottom: 1px solid #fff !important;}
