/*your custom style goes in this file*/
/*if you're overriding style blocks from genstyle.css, you only need to include the attributes you're overriding, not the whole block*/


/* column container */
#homepage.content  {
	-moz-border-radius:10px;
	-moz-box-shadow:1px 1px 2px 1px #333;
	-webkit-border-radius:10px;
	-webkit-box-shadow:1px 1px 2px 1px #333;
	background:#FFF6F0;
	border-radius:10px;
	bottom:0;
	box-shadow:1px 1px 2px 1px #333;
	font:11pt Verdana, Geneva, Arial, Helvetica, sans-serif;
	position:relative;	/* This fixes the IE7 overflow hidden bug */
	clear:both;
	float:left;
	border: 0px solid #999;
	left:0px;
	padding-left:10px;
	padding-right:0px;
	width:99%;		/* width of whole page */
	height:auto;
}


.forside {
	-moz-border-radius:10px;
	-moz-box-shadow:1px 1px 2px 1px #333;
	-webkit-border-radius:10px;
	-webkit-box-shadow:1px 1px 2px 1px #333;
	background:#FFF6F0;
	border-radius:10px;
	bottom:0;
	box-shadow:1px 1px 2px 1px #333;
	font:11pt Verdana, Geneva, Arial, Helvetica, sans-serif;
	left:0px;
	padding-left:10px;
	padding-right:10px;
	position:relative;
	right:0;
	top:10px;
	width:83vw;
	border:#00F solid 0;
	text-align:justify;
	height:auto;
}

.t20leftmenu .venstre{

	right:83vw;			/* 87 86% right column width - was 75% in holy grail 2-column */
	background:#E32227;	/* left column background colour */
	background-image:url(../img/kant.png);
	background-size: 230px;
	height:100%;
	background-repeat:repeat-y;
}
.rightphoto {     /* kolonne med link til slotte, portrætter, heraldik og gravsten */
	border-left: 1px solid #ccc;
	right: 0px;
	top: 40px;
	margin-right: 10px;
	margin-top: 0px;
	margin-bottom: 10px;
	max-width: 275px;
	position:absolute;
	height:auto;
	z-index: 10;

} 
ul.categoryitems {
/*	border:1px solid #ccc;*/
	border-top:none;
	font-size:0;
	list-style:none;
	margin:0;
	padding:0px;
	position:relative;
	}
	
li.categoryitems a {
/*	border-top:1px solid #ccc;*/
	color:#FFF;
	font:normal 12px Arial;
	padding-left:5px;
	text-decoration:none;
}
	
/* Remove background-image from footer 
.footer {
    background-image: none;
    background-color: #B6D1E4;
	color: #000099;
	background-size: 17%;
}
 */

.leftfooter {
	background:#E32227;	/* left column background colour */
	background-image:url(../img/kant.png);
	height:100%;
	background-repeat:repeat-y;
}

.midtfooter {
	background:white;
	width:60vw;
	margin-left: 30vw;
}

.rightfooter {

}

.CDRsearch {
	left:10px;
	top: 475px;
	background:transparent;
	color:#000;
	padding:0px;
	position:relative;
	text-align:left;
	z-index:99;
	border:black solid 0px;
	max-width: 15vw;
	height: 500px;
	
}

.historie a, .forside a {
	color:blue;
	text-decoration:none;
}

.historie {
	background:#FFFFFF;
	border-collapse:collapse;
	border-spacing:0;
	font-size:13px;
	font:9pt Verdana, Geneva, Arial, Helvetica, sans-serif;
	height:80vh;
	margin-top:50px;
	margin-left:-5px;
	overflow-y:auto;
	padding:0px;
	text-align:justify;
	vertical-align:top;
	width:95vw;
}



/* START menu css - slutter i linje 355 */

.navigation {
  padding: 0;
  margin: 0;
  border: 0;
  line-height: 0.7;
  top: 225px;
  left:12px;
  position: absolute;
  z-index:10;
  width: 230px;
  background: #E32227;
  font-family: 'roboto', Tahoma, Arial, sans-serif;
  zoom: 1;
}

.navigation ul,
.navigation ul li,
.navigation ul ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation ul {
  position: relative;
  z-index: 500;
  float: left;
}

.navigation ul li {
  float: left;
  min-height: 0.05em;
  line-height: 0.9em;
  vertical-align: middle;
  position: relative;
}

.navigation ul li.hover,
.navigation ul li:hover {
  position: relative;
  z-index: 510;
  cursor: default;
}

.navigation ul ul {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0px;
  z-index: 520;
  width: 100%;
}

.navigation ul ul li { float: none; }

.navigation ul ul ul {
  top: 0;
  right: 0;
}

.navigation ul li:hover > ul { visibility: visible; }

.navigation ul ul {
  top: 0;
  left: 99%;
}

.navigation ul li { float: none; }

.navigation ul ul { margin-top: 0.05em; }


.navigation:before {
  content: '';
  display: block;
}

.navigation:after {
  content: '';
  display: table;
  clear: both;
}

.navigation a {
  display: block;
  padding: 0.5em 0.5em;
  color: #ffffff;
  text-decoration: none;
}

.navigation > ul { width: 15.9vw; }

.navigation ul ul { width: 25em; }

.navigation > ul > li > a {
  color: #ffffff;
}

.navigation > ul > li > a:hover { color: #ffffff; }

.navigation > ul > li a:hover,
.navigation > ul > li:hover a { background: #E32227; }

.navigation li { position: relative; }

.navigation ul li.has-sub > a:after {
  content: '»';
  position: absolute;
  right: 0.5em;
}

.navigation ul ul li.first {
  -webkit-border-radius: 0 3px 0 0;
  -moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}

.navigation ul ul li.last {
  -webkit-border-radius: 0 0 3px 0;
  -moz-border-radius: 0 0 3px 0;
  border-radius: 0 0 3px 0;
  border-bottom: 0;
}

.navigation ul ul {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}

.navigation li { border: 0.9px groove #ffffff; }

.navigation ul { border: 0.9px groove #ffffff; }

.navigation ul a { color: #ffffff; }

.navigation ul a:hover { color: #ffffff; }

.navigation ul li:hover > a {
  background: #4eb1ff;
  color: #ffffff;

.navigation ul ul { border: 1px solid #ffffff; }

.navigation ul ul a { color: #ffffff; }

.navigation ul ul a:hover { color: #ffffff; }

.navigation ul ul li { border-bottom: 1px solid #ffffff; }

.navigation ul ul li:hover > a {
  background: #4eb1ff;
  color: #ffffff;
}

.navigation.align-right > ul > li > a {
  border-left: 0.2em solid #ffffff;
  border-right: none;
}

.navigation.align-right { float: right; }

.navigation.align-right li { text-align: right; }

.navigation.align-right ul li.has-sub > a:before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 10px;
  margin-top: -6px;
}

.navigation.align-right ul li.has-sub > a:after { content: none; }

.navigation.align-right ul ul {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: -100%;
  z-index: 598;
  width: 100%;
}

.navigation.align-right ul ul li.first {
  -webkit-border-radius: 3px 0 0 0;
  -moz-border-radius: 3px 0 0 0;
  border-radius: 3px 0 0 0;
}

.navigation.align-right ul ul li.last {
  -webkit-border-radius: 0 0 0 3px;
  -moz-border-radius: 0 0 0 3px;
  border-radius: 0 0 0 3px;
}

.navigation.align-right ul ul {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
/* SLUT menu css - starter i linje 150 */

/*************** css for tab-menu på forsiden ****************/

/*************** css for tab-menu på forsiden ****************/
@media screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 1) { 

		#cdr_topmenu ul {
		  width: 800px;
		  text-align: left;
		}		
		#cdr_topmenu li {
		  display: inline;
		  list-style-type: none;
		  line-height: 44px;
		}
		#cdr_topmenu li a {
		  color: #574621;
		  text-decoration: none;
		  margin: 0 10px;
		}
		#cdr_topmenu li a:visited {
		  text-decoration: none
		}
		#cdr_topmenu li a:hover {
		color: blue;
		  text-decoration: underline
		}

}

.tabs input[type=radio]{
	position: absolute;
	top: -9999px;
	left: -9999px;
}

#cdr_topmenu ul.tabs{
	width: 75vw;
	float: left;
	list-style: none;
	position: relative;
	padding: 0;
	margin: 1px auto;
}

.tabs li {
	float: left;
}

.tabs label {
	display: block;
	padding: 0px 20px;
	border-radius: 2px 2px 0 0;
	font-size: 12px;
	font-weight: normal;
	font-family: 'Roboto', helveti;
	cursor: pointer;
	position: relative;
	top: 1px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.tabs label:hover {
	background: rgba(255,255,255,0.5);
	border-bottom:1px solid #999;
	top: 0;
}

[id^=tab]:checked + label {
	border-bottom:1px solid #999;
	top: 0;
}

[id^=tab]:checked ~ [id^=tab-content] {
	display: block;
}

.tab-content{
	z-index: 2;
	display: none;
	text-align:justify;
	width: 100%;
	font-size: 12px;
	line-height: 120%;
	padding-top: 1px;
	padding: 15px;
	position: absolute;
	left: 0;
	box-sizing: border-box;
	-webkit-animation-duration: 0.5s;
	-o-animation-duration: 0.5s;
	-moz-animation-duration: 0.5s;
	animation-duration: 0.5s;
}


