html{
/*     overflow: -moz-scrollbars-vertical;*/
     overflow: scroll;
}

/** skaerm CSS**/

/*****************
Initializing padding and margin, overriding malicious default settings.
******************/
body {
	background-color:#ffffff;
	background-image:url(https://dan.ocs.dk/images/bg.png);
	background-repeat:repeat-x;
	color: #333333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
    text-align: left;
	top:0px;
	left:0px;
	width:100%;
}
ul {
	margin-left: 30px;
	padding-left: 0px;
	list-style: none;
}
li{
	padding: 0;
	margin: 0;
}
img{border:0;}
a img {border: 0;}
a, 
a:visited, 
a:active {
	text-decoration: none;
	color:#666;
}
a:hover {
	text-decoration: underline;
	color:#CC0000;
}
h1{
	margin-top:0px;
	font-size:35px;
	font-weight:normal;
}
h2{font-size:15px;}
h3{
	font-size:13px;
	font-weight:bold;
}
h4{font-size:12px;}

/*****************
Document div structure
******************/

#toptopplaceholder{
	background-image:url("https://dan.ocs.dk/images/logo.png");
    background-position: left center;
    background-repeat: no-repeat;
    height: 275px;
    left: -180px;
    margin: 0 auto;
    position: relative;
    width: 985px;
}
#con_body  {
	position:relative;
	width:100%;
	margin:auto;
}
#frame_left{
    background-color: #fff;
    border: 1px solid #ccc;
    margin-right: -490px;
    position: absolute;
    right: 50%;
    top: 78px;
    width: 980px;
}
#con_content {
    float: left;
    margin-left: 2%;
    margin-top: 75px;
    position: relative;
    width: 98%;
    z-index: 5;
}
.forside{
	display:block;
	height: 200px;
}
#con_content_forside {
	float:left;
	width:360px;
	margin-left:220px;
	margin-top:200px;
}
#faux{
	position:relative;
	z-index:5;
	float:left;
	width:100%;
	background-color:#FFFFFF;
	margin:auto;
}
#frame_right{
	position:relative;
	width:100%;
	margin:auto;
	margin-top:0px;
}
.content_left {
	float:left;
	width:360px;
	margin-right:20px;
}
.content_right {
	float:left;
	width:360px;
}
#content_text{
	position: relative;
	background-color:#FFFFFF;
	width:100%;
	float: left;
	margin-left:0px;
	text-align:left;
	background-image:none;
	color: #000000;
	z-index:1;
	font-size:14px;
}
#content_text h2{height: 36px;}
#top_con,
#top_con_forside {
    height: 250px;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 50px;
    width: 65%;
}
#banner_toppic {
	position:absolute;
	left:0px;
	top:10px;
	width:189px;
	height:50px;
	z-index:20;
}
#top_billede {
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
	z-index:0;
}
#top_billede img, 
#top_billede_2 img {
	min-height:100%;
	width:100%;
}
#top_billede_2{
	position:absolute;
	width:100%;
	float:left;
	margin-bottom:20px;
	height:200px;	
	overflow:hidden;
	z-index:0;
	top: 61px;
}
#top_billede_2 img{display: block!important;}
.forside_medarbejder{
	padding:10px;
	position:relative;
	float:right;
	width:315px;
	margin-right: -30px;
}
.forside_contxt{
	width:580px;
	float:left;
}
.forside_medarbejder_con{
	width:335px;
	float:right;
	padding-right:20px;
}
.forside_medarbejder_billede{
	position:relative;
	float:left;
	overflow:hidden;
	width:80px;
}
.forside_medarbejder_billede img{
    height: 106px;
    width: 82px;
	height:auto;
}
.forside_medarbejder_txt{
    border-bottom: 1px solid #bbb;
    border-top: 1px solid #bbb;
    float: right;
    height: 94px;
    padding-left: 10px;
    padding-top: 10px;
    position: relative;
    width: 225px;
}
#til_forsiden_img {
	width:180px;
	padding-left: 10px;
}
#bund_indhold {
    float: right;
    height: 230px;
    margin-top: 50px;
    position: relative;
    width: 100%;
	background-color:#f0f1f1;
}
#bund_left {
    float: right;
    font-size: 10px;
    margin-top: 8px;
    width: 13%;
}
#bund_left img{
    height: auto;
    max-width: 50%;
}
#shadow_bottom_con {
    float: right;
    font-size: 11px;
    width: 16%;
}
#bund_social{
    float: left;
    padding-left: 2%;
    padding-top: 20px;
    width: 19%;
}
.bund1{
	width:76%;
	float: left;
}
/***************************
broedkrummer
***************************/

* html #breadcrumbs {
	position: relative; /*** IE needs this  ***/
}
#breadcrumbs_con a{color:#fff;}
#breadcrumbs_con{
    background-color: #333;
    color: #fff;
    float: left;
    padding: 2px 1%;
    position: absolute;
    top: 41px;
    width: 98%;
    z-index: 1;
	font-style:italic;
}
.bread_seperator {
	padding-left:5px;
	padding-right:5px;
}
#breadcrumbs_text{
	float:left;
	color:#ddd;
}
#breadcrumbs ul {
	list-style: none;
	padding:0px;
	padding-left:10px;
	margin:0px;
	float: left;
}
#breadcrumbs li {
	float:left;
	display: block;
	margin-right:0px;
	text-align: center;
}
#breadcrumbs li a{
	text-decoration:none;
	font-style: none;
}
#breadcrumbs li a:hover{text-decoration:underline;}
#Produktmenucontainer{
	position:absolute;
	height:0px;
	top:0px;
	width:100%;
	z-index:9;
}
#menucontainer{
    position: absolute;
    right: 0;
    top: -79px;
    width: 50%;
    z-index: 9;
}
#menugroup1_con {
    float: left;
    height: 30px;
    overflow: hidden;
    position: relative;
    top: 0;
    width: 100%;
}
#menu_teaser, #Produktmenu_teaser {
	position:absolute;
	bottom:-40px;
	height:40px;
	background-color:#FFFFFF;
	width:100%;
	display:none;
	z-index:9;
	text-align:right;
}
#menu_close,
#Produktmenu_close {
	position:absolute;
	top:9px;
	right:5px;
}
#menu_open,
#Produktmenu_open {
	position:absolute;
	top:9px;
	right:5px;
}
#menu_open:hover,
#Produktmenu_open:hover, 
#menu_close:hover, 
#Produktmenu_close:hover {
	cursor:pointer;
}
/********************/
/*   menu Level 1   */
/********************/

#mainmenu1_ul{
	float:left;
	width: 100%;
	list-style: none;
	margin:0px;
}
#mainmenu1_ul li a{
    color: #ffffff;
    float: left;
    font-size: 14px;
    margin-bottom: 2px;
    padding: 5px;
    width: auto;
}
#mainmenu1_ul li a:hover{
	background-color:#af0e23;
	display:bloack;
	color:#FFFFFF;
	text-decoration:none;
}
#mainmenu1_ul li{
    float: left;
    width: auto;
}
#mainmenu1_ul li.firstElement{}
#mainmenu1_ul li a.firstElementAndMenuChosen, #mainmenu1_ul li a.menuChosen {background-color:#af0e23;}
#mainmenu1_ul li a.firstElementAndMenuChosen:hover, #mainmenu1_ul li a.menuChosen:hover{}

/********************/
/*   menu Level 2   */
/********************/

#mainmenu1_ul li ul{
    background-color: transparent;
    background-image: url("/images/bg_pmenu.png");
    background-position: left bottom;
    left: 0;
    list-style: none outside none;
    margin-bottom: 0;
    margin-left: 0;
    padding-bottom: 13px;
    position: absolute;
    top: 28px;
    width: 194px;
    z-index: 9999;
}
#mainmenu1_ul li ul li{
    background-color: transparent;
    border: medium none;
    clear: both;
    float: left;
    height: auto;
    margin: 0;
    padding: 0;
    width: 100%;
}
#mainmenu1_ul li ul li a{
    color: #fff;
    display: block;
    float: left;
    font-size: 14px;
    font-weight: normal;
    height: 100%;
    padding: 5px 2%;
    width: 96%;
}
#mainmenu1_ul li ul li a:hover{}
#mainmenu1_ul li ul li a.firstElementAndMenuChosen, 
#mainmenu1_ul li ul li a.menuChosen {
	color:#FFFFFF;
	background-color:#555555;
}
#mainmenu1_ul li ul li a.firstElementAndMenuChosen:hover, 
#mainmenu1_ul li ul li a.menuChosen:hover{
	background-color:#333333;
	color:#FFFFFF;
	text-decoration:none;
}
/********************/
/*   menu Level 3   */
/********************/

#mainmenu1_ul li ul li ul {}
* html #mainmenu1_ul li ul li ul {}
#mainmenu1_ul li ul li ul li{}
#mainmenu1_ul li ul li ul li a{
	float:left;
	width:100%;
	background:transparent;
	font-size:13px;
	padding:3px;
	padding-left:16px;
	padding-right:0px;
	border-radius:0px;
	font-weight:normal;
}
#mainmenu1_ul li ul li ul li a.firstElementAndMenuChosen, 
#mainmenu1_ul li ul li ul li a.menuChosen {
	color:#333333;
	font-weight:bold;
	background:transparent;
}
#mainmenu1_ul li ul li ul li a.firstElementAndMenuChosen:hover, #mainmenu1_ul li ul li ul li a.menuChosen:hover{}
/********************************/
/*   menu Level specificities   */
/********************************/
#menugroup1_con ul ul, 
#menugroup1_con li:hover ul ul, 
#menugroup1_con li:hover li:hover ul ul {
    display: none;
}
#menugroup1_con li:hover ul, 
#menugroup1_con li:hover li:hover ul, 
#menugroup1_con li:hover li:hover ul li:hover ul {
    display: block;
}
#contactinfo {
	float:left;
	padding-top:3px;
	margin-top:5px;
	width:100%;
}
#bundstatement {
	width:3%;
	padding-top:10px;
	float:right;
	text-align:center;
	height:100px;
}

/*** dynamicit logo ***/
#madebyruler{
	width:100%;
	height:100px;
}
#madebyruler img{
    -ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    transform: rotate(270deg);
	margin-top: 43px;
	margin-left:-15px;
}

/**** LOGO sprite ****/
.logosprite {
	float:left;
	height:22px;
	width:60px;
	background-image:url(https://dan.ocs.dk/images/sprite.jpg);
	background-position:0px 0px;
}
.logosprite:hover {background-position:0px 25px;}

/*##### PRODUKTMENU ###########*/
#productmenu_con {
    float: left;
    height: auto;
    position: relative;
    top: 0;
    width: 100%;
}
#productmenu_con a {
    color: #ddd;
    font-weight: bold;
    text-decoration: none;
}
#productmenu_con a:hover {color: #000;}
#productmenu_con a:active, a:visited {text-decoration: none;}
#productmenu_con ul {
    float: left;
    list-style: none outside none;
    margin: 0;
    width: 100%;
}
#productmenu_con ul li {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    float: left;
    height: 40px;
    width: auto;
}
#productmenu_con ul li a {
    color: #333333;
    float: left;
    font-size: 12px;
    height: 20px;
    margin-bottom: 2px;
    padding: 10px 9px;
    width: auto;
	font-weight:normal;
}
#productmenu_con ul li ul {
    background-image: url("/images/bg_pmenu.png");
	background-color:transparent;
    background-position: left bottom;
    margin-bottom: 0;
    margin-left: 0;
    padding-bottom: 13px;
    position: absolute;
    top: 41px;
    width: 194px;
    z-index: 9999;
}
#productmenu_con ul li ul li a {
    color: #fff;
    display: block;
    float: left;
    font-size: 14px;
    font-weight: normal;
    padding: 5px 10px;
    height: 100%;
    width: 100%;
}
#productmenu_con ul li ul li a:hover {
    color: #fff;
	font-weight:bold;
}
#productmenu_con ul li ul li {
	background-color:transparent;
    border: medium none;
    clear: both;
    float: left;
    height: auto;
    margin: 0;
    padding: 0;
    width: 100%;
}
#productmenu_con ul li ul li ul {
    left: 130px;
    position: absolute;
    top: 0;
}
#productmenu_con a.menuChosen, 
#productmenu_con a.firstElementAndMenuChosen {
    color: #333;
    font-weight: bold;
} 
#productmenu_con ul li ul li a.menuChosen, 
#productmenu_con ul li ul li  a.firstElementAndMenuChosen {
    color: #fff;
    font-weight: bold;
} 
#productmenu_con ul ul, 
#productmenu_con li:hover ul ul, 
#productmenu_con li:hover li:hover ul ul {
    display: none;
}
#productmenu_con li:hover ul, 
#productmenu_con li:hover li:hover ul, 
#productmenu_con li:hover li:hover ul li:hover ul {
    display: block;
}
#productMenu {
    position: absolute;
    top: 0;
    z-index: 9999;
}
/************************/
/*** produktoversigt ***/


/******/

#produktliste{clear:both;}
.produkt_oversigt_spacer {display: none;}
#produkt_grp_grupper{
	padding-top: 20px;
	float: left;
	width: 100%;
}
.produkt_grp_element {
    width: 24%;
    float: left;
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 15px;
    position: relative;
	min-height: 320px;
	text-align:center;
}
.produkt_grp_element img{
	object-fit: cover;
  	width:100%;
  	height:228px;
}
.produkt_oversigt_element {
    width: 19%;
    float: left;
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 15px;
    position: relative;
	min-height: 210px;
	text-align:center;
}
.produkt_oversigt_element h2{
	font-size:120%;
	font-weight:normal;
	text-align:center;
	height:60px !important;
}
.produkt_oversigt_element span{padding-left: 20px;}
.produkt_oversigt_billede,
.productRelatedImage01{
	 height:180px;
}
.produkt_oversigt_billede img{
	object-fit: cover;
  	width:100%;
  	height:180px;
}
.produkt_oversigt_spacer, .productrelated_spacer{display: none;}
#relateredeprodukter{
	width:98%;
	float:right;
	width: 100%;
	float: right;
	margin-top: 10px;
	border-top: 3px dotted #bbb;
}
.productRelatedWrapper_clear01,
.productRelatedWrapper01{
	width:24%;
	float:left;  
	height:320px;
	margin-bottom:5px;
	margin-right:5px;
}
.productRelatedImage01 img{	
	object-fit: cover;
  	width:100%;
  	height:180px;
}

/************************************************************************************
PRODUKTER
*************************************************************************************/

#produkter{}
.stortproduktbillede{
	width:100%;
	height:400px;
	max-height:400px;
	overflow:hidden;
}
#bigpic{
	max-height:100%;
	max-width:100%;
}
#produkt_enkelt_tilbage{
	margin-top: 10px;
	margin-bottom: 10px;
	float:left;
}
#billedecontainer{
	right: auto;
	top: 128px;
	width: 30%;
}
#produkter h1{
	font-size:200%;
	font-weight:normal;
}
#produkt_enkelt_right{
	width: 68%;
	float: right;
	padding-right:1%;
}
#productminipic{
	float:left;
	width: 31%;
	margin-top: 15px;
}
.enkelt_pic {
	width:93px;
	float:left;
	margin-right:5px;
}
.enkelt_pic img{object-fit: cover;
	width:100%;
	height:100px;
}
.productskema{width:100%;}	
	
/*****/
#knap {
	padding:8px;
	background-color:#999999;
	-moz-border-radius:6px;
	border-radius:6px;
	color:#333333;
	font-size:15px;
}
#knap a{
	padding:8px;
	background-color:#999999;
	-moz-border-radius:6px;
	border-radius:6px;
	color:#333333;
	font-size:15px;
}
#knap a:hover{
	background-color:#333333;
	-moz-border-radius:6px;
	border-radius:6px;
	color:#FFFFFF;
	text-decoration:none;
}
.knap {
	float:left;
	width:100%;
	margin-top:2px;
}
.knap a{
	float:left;
	width:96%;
	padding:2%;
	background-color:#999999;
	-moz-border-radius:6px;
	border-radius:6px;
	color:#333333;
	font-size:15px;
}
.knap a:hover{
	background-color:#333333;
	-moz-border-radius:6px;
	border-radius:6px;
	color:#FFFFFF;
	text-decoration:none;
}
.produktbillede {
	text-align: center;
	margin-right: 2%;
	width:25%;
	float:left;
	overflow:hidden;
	margin-bottom:10px;
}
.produkt-billede {
	float:left;
	width:100%;
}
/************************/
/*** kontaktinfo i bunden ***/

#bottomcontact {}
#bottomcontact ul {
	margin: 0 auto;
    position: relative;
    width: 80%;
}
#bottomcontact ul li {
	list-style: none;
	float:left;
}
/*****************/
/***Referencer***/
.lejlighed_by_liste, .referenceliste_reference {
	position:relative;
	float:left;
	width:95%;
	padding:2%;
	color:#555555;
	margin-bottom:10px;
	border:1px solid #999999;
	-moz-border-radius:6px;border-radius:6px;
}
.lejlighed_by_liste:hover, .referenceliste_reference:hover {
	border:1px solid #333333;
	color:#333333;
	text-decoration:none;
}
.lejlighedby_gaatil_con {
	position:relative;
	bottom:5px;
	right:5px;
}
#lejlighedliste_toplinie {
	float:right;
	width:380px;
}
.lejlighedliste_punkt {
	width:70px;
	text-align:center;
}
.lejlighedliste_lejlighed, 
.referenceliste_reference {
	position:relative;
	float:left;
	width:95%;
	height:auto;
	max-height:20%;
	padding:2%;
	color:#555555;
	margin-bottom:10px;
	border:1px solid #999999;
	-moz-border-radius:6px;border-radius:6px;
}
.lejlighedliste_billede, 
.newsliste_billede {
	float:left;
	position:relative;
	height:100%;
	width:28%;
	overflow:hidden;
	text-align:center;
	-moz-border-radius:6px;border-radius:6px;
}
.newsDate{
	float:right;
	margin-top:-20px;
	margin-right:10px;
	font-style:italic;
}
.newsdetail_billede{
	float:left;
	position:relative;
	height:100%;
	width:48%;
	overflow:hidden;
	text-align:center;
	-moz-border-radius:6px;border-radius:6px;
	margin-right:20px;
	margin-bottom:20px;
}
.newsdetail_billede img{max-width: 100%;}
.newsindhold{margin-right:10px;}
.lejlighed_billede, 
.newsliste_billedet {
	float:left;
	width:100%;
}
.lejlighedliste_tekst_con, 
.newsliste_tekst_con {
	float:left;
	padding-left:2%;
	padding-top:5px;
	width:70%;
}
.lejlighedliste_checks {
	float:left;
	width:150px;
	padding-left:10px;
}
.lejlighed_gaatil_con {
	position:absolute;
	bottom:5px;
	right:5px;
}
.lejlighedliste_punkter {width:100%;}
.lejlighedliste_resume {
	float:left;
	padding-left:2%;
	padding-top:5px;
	width:70%;
}
.lejlighedliste_checkpunkt {
	padding-left:20px;
	background-image:url(https://dan.ocs.dk/images/check.png);
	background-repeat:no-repeat;
	background-position:center left;
}
.punktudbytte{
	background-color:#E0E0E0;
	border:1px solid #E0E0E0;
	font-size:20px;
	font-color:#000;
	padding:20px;
	text-align:center;
	margin-bottom:10px;
}
.punktudbyttepre{color:red;}
.punktudbytte ul ul{margin: 0;}
.punktudbytte ul{
	list-style-type:none;
	padding: 0;
	width: 100%;
	margin: 20px auto;
}

/* enkeltvisning */
#lejlighed_billede_con {float:left;}
#lejlighed_punkter {float:left;}
#lejlighedindhold {
	float:left;
	width:100%;
}
#lejlighed_checks {float:left;}
#lejlighed_billede {
	float:left;
	padding:5px;
}
#lejlighederteaser_con_forside {
	position:absolute;
	margin-top:20px;
	top:380px;
	right:0px;
	width:337px;
	padding:10px;
	border:1px solid #333333;
	-moz-border-radius:6px;
	border-radius:6px;
	display:none;
}
#lejlighederteaser_con_step1 {
	position:relative;
	clear:both;
	margin-top:20px;
	width:175px;;
	padding:10px;
	float:left;
	border:1px solid #999999;
	-moz-border-radius:6px;
	border-radius:6px;
	display:none;
}
#lejlighedteaser_laesmere_forside, #lejlighedteaser_laesmere_step1 {display:none;}
.lejlighedteaser_header a, 
.lejlighedteaser_header a:visited {
	color:#555555;
	font-weight:bold;
}
.lejlighedteaserlaesmerelink {color:#999999;}
#lejlighedteaser_overskrift_step1, #lejlighedteaser_overskrift_step2 {padding-bottom:20px;}
#lejlighedteaser_overskrift_forside a, 
#lejlighedteaser_overskrift_forside a:visited {
	font-weight:bold;
	color:#333333;
}
#lejlighedteaser_overskrift_step1 a, 
#lejlighedteaser_overskrift_step1 a:visited {
	font-weight:bold;
	color:#999999;
}
#lejlighedteaser_laesmere_step1, #lejlighedteaser_laesmere_step2 {padding-top:20px;}
.lejlighedteaser_laesmere a, .lejlighedteaser_laesmere a:visited {color:#555555}
.lejlighedteaser_teasercon_step1,.lejlighedteaser_teasercon_forside {padding-bottom:10px;}
.billede_mobile {display:none;}
.billede_teaser_con {
	display:block;
	float:left;
	width:19%;
	margin-right:1%;
}
.billede_teaser_con img {
    float: left;
    max-height: 105px;
    overflow: hidden;
    width: 100%;
}
#lejlighed_billede_teaser {}
#lejlighed_billede_teaser img {}
.tilbage_til_oversigten {
	float:left;
	width:100%;
	padding-left:5px;
	padding-top:5px;
}
.tilbage_link {
	padding-left:25px;
    background-image:url(https://dan.ocs.dk/images/tilbage_pil.png);
	background-position:left;
	background-repeat:no-repeat;
}
/***************/
/*** Nyheder ***/
.newsTeaserItem01{margin-bottom:10px;}
#news_module_con_forside {
	position:absolute;
	right:0px;
	top:0px;
	width:360px;
}
#news_module_con {
    position: absolute;
    right: 0;
    top: 50px;
    width: 35%;
	height: 250px;
	overflow:hidden;
}
#newsteaser_con {
    background-color: #cc0000;
    color: #ffffff;
    float: left;
    height: 100%;
    padding: 10px;
}
.bottom_arrow {
    background-image: url("https://dan.ocs.dk/images/bottom_arrow.png");
    background-position: -21px top;
    background-repeat: no-repeat;
    height: 22px;
    position: absolute;
    top: 278px;
    width: 21px;
}
.newsteaserGenerelMere01 {margin-top:10px;}
#newsteaser_con h2, #newsteaser_con h3, #newsteaser_con p {margin-bottom:0px;}
#newsteaser_con h2, #newsteaser_con p {margin-top:0px;}
#newsteaser_con h3 {margin-top:5px;}
#newsteaser_con a, #newsteaser_con a:visited {color:#FFFFFF;}
.formular_send {
	float:right;
	border:1px solid #999999;
	font-size:15px;
	width:100px;
	color:#333333;
	background-color:#99cccc;
}
.formular_sletalt {
	float:left;
	border:none;
	font-size:11px;
	color:#999999;
	background:none;
}
.formular:focus, 
.formular_post:focus, 
.formular_by:focus, 
.formular_tekst:focus {
	color:#000000;
	border:1px solid #000000;
}
.formular, 
.formular_post, 
.formular_by, 
.formular_tekst {
	color:#333333;
	font-size:11px;
}
.formular {
	width:202px;
	border:1px solid #999999;
	margin-bottom:2px;
}
.formular_post {
	width:50px;
	border:1px solid #999999;
	margin-bottom:2px;
	margin-right:2px;
}
.formular_by {
	width:148px;
	border:1px solid #999999;
	margin-bottom:2px;
}
.formular_tekst {
	width:360px;
	height:150px;
	border:1px solid #999999;
	margin-bottom:2px;
}





/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}
#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('fancybox.png');
}
#fancybox-overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: none;
}
#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}
#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 9999999;
	outline: none;
	display: none;
    height:auto;
}
#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
    padding-bottom: 10px;
}
#fancybox-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
}
#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}
#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background: transparent url('fancybox.png') -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}
#fancybox-error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 14px;
	margin: 0;
}
#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}
#fancybox-frame {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}
#fancybox-left, 
#fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url('blank.gif');
	z-index: 1102;
	display: none;
}
#fancybox-left {left: 0px;}
#fancybox-right {right: 0px;}
#fancybox-left-ico, 
#fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}
#fancybox-left-ico {
	background-image: url('fancybox.png');
	background-position: -40px -30px;
}
#fancybox-right-ico {
	background-image: url('fancybox.png');
	background-position: -40px -60px;
}
#fancybox-left:hover, #fancybox-right:hover {visibility: visible; /* IE6 */}
#fancybox-left:hover span {left: 20px;}
#fancybox-right:hover span {
	left: auto;
	right: 20px;
}
.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}
#fancybox-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url('fancybox-x.png');
}
#fancybox-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('fancybox.png');
	background-position: -40px -162px;
}
#fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('fancybox-y.png');
	background-position: -20px 0px;
}
#fancybox-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('fancybox.png');
	background-position: -40px -182px; 
}
#fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('fancybox-x.png');
	background-position: 0px -20px;
}
#fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('fancybox.png');
	background-position: -40px -142px;
}
#fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('fancybox-y.png');
}
#fancybox-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('fancybox.png');
	background-position: -40px -122px;
}
#fancybox-title {
	font-family: Helvetica;
	font-size: 12px;
	z-index: 1102;
    padding-bottom: 10px;
}
.fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #333;
	background: #fff;
	position: relative;
}
.fancybox-title-outside {
	padding-top: 10px;
	color: #fff;
}
.fancybox-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
}
#fancybox-title-over {
	padding: 10px;
	background-image: url('fancy_title_over.png');
	display: block;
}
.fancybox-title-float {
	position: absolute;
	left: 0;
	bottom: -20px;
	height: 32px;
}
#fancybox-title-float-wrap {
	border: none;
	border-collapse: collapse;
	width: auto;
}
#fancybox-title-float-wrap td {
	border: none;
	white-space: nowrap;
}
#fancybox-title-float-left {
	padding: 0 0 0 15px;
	background: url('fancybox.png') -40px -90px no-repeat;
}
#fancybox-title-float-main {
	color: #FFF;
	line-height: 29px;
	font-weight: bold;
	padding: 0 0 3px 0;
	background: url('fancybox-x.png') 0px -40px;
}
#fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url('fancybox.png') -55px -90px no-repeat;
}

#Produktmenu_slider_con{display:block;}
.medarbejder_medarbejder_txt{
	border-bottom: 1px solid #bbb;
	border-top: 1px solid #bbb;
	float: right;
	height: 130px;
	padding-left: 10px;
	padding-top: 10px;
	position: relative;
	width: 225px;
}
.forside_produkt{
	width: 32%;
    float: left;
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 15px;
    position: relative;
    min-height: 180px;
    text-align: center;
}
/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#toptopplaceholder{	width:100%;}
	.content_left, 
	.content_right {
		float:left;
		width:100%;
		margin:0px;
	}
	#news_module_con_forside, #news_module_con {
		position:relative;
		float:left;
		width:100%;
	}
	#kontakt_formular {width:360px;}
	#lejlighederteaser_con_step1, 
	#lejlighederteaser_con_forside {
		position:relative;
		clear:both;
		top:auto;
		right:auto;
		margin:1%;
		width:23%;
		padding:2%;
		float:left;
	}
	#mainmenu1_ul {
		width:90%;
		margin:auto;
	}
	#mainmenu1_ul li ul{
		width:100%;
		margin:auto;
	}
	#mainmenu1_ul li a, #mainmenu1_ul li ul li a {width:100%;}
	#banner_toppic {left:1%;}
	#menugroup1_con {
		width:28%;
		margin-left:1%;
	}
	#frame_left{
		width:100%;
		margin-left:0;
		margin-right:0;
		left:0;
	}
	#top_billede {
		width:100%;
		height:250px;
	}
	#top_con_forside, #top_con {
		width:100%;
		height:250px;
	}
	#con_content_forside, #con_content {
		float:left;
		width:100%;
	}
	#frame_right {width:100%;}
	#bund_indhold {height:265px;}
	.content_text_padding {padding:5px;}
	.linkertest {display:none;}
	.forside_contxt{width:60%;}
	.forside_medarbejder_con{width: 39%;}
	.forside_medarbejder{margin-right:0;}
	#menugroup1_con{width:100%;}
	.produkt_grp_element{width:23%;}
	#content_text a{font-size: 12px;}
	#mainmenu1_ul{width:100%;}
}

/* for 919px or less */
@media screen and (max-width: 919px){
	#productmenu_con ul li a{font-size: 11px;}
}

/* 854px or less */
@media screen and (max-width: 854px){
	#productmenu_con ul li a{font-size: 10px;}
	#mainmenu1_ul li a{font-size:12px;}
}

/* for 820px or less */
@media screen and (max-width: 820px) {
	.forside_medarbejder_con {width: 100%;}
}

/* for 788px or less */
@media screen and (max-width: 788px){
	#productmenu_con ul li a{font-size: 9px;}
}

/* for 768px or less */
@media screen and (max-width: 768px){
	html{overflow-x: hidden;}
	#madebyruler img{
		position:fixed;
		bottom: 0px;
		left: 80%;
		-webkit-transform: none;
		transform: none;
	}
	.boksheadProductmenuTextWrapper{display: none;}
	.produkt_grp_element{width: 31%;}
	.produkt_oversigt_element > .produkt_oversigt_laesmere_con {padding-top: 10px;}
	.produkt_enkelt_beskrivelse{}
	li{padding-bottom: 20px;}
	#breadcrumbs_con{top: -1px;}
	#top_billede_2{top: 39px;}
	#toptopplaceholder a{
		width: 60%;
		left: 0;
		height: 100%;
	}
	#toptopplaceholder a:hover{
		text-decoration: none;
	}
	/*MENU*/
	#menucontainer{
		min-height:none;
		width:98%;
	}
	#menugroup1_con {
		position:relative;
		float:left;
		margin:0px;
		width:100%;
		padding: 0%;
		padding-top:78px;
		background-color:transparent;
		height:auto;
    }
    #menu_slider_con {
	    display:none;
	    float:left;
	    width:100%;
	    background-color:transparent;
	}
    #menu_teaser{
	    display:block;
	    top:0px;
	    background-color:transparent;
	    width: 20%;
	    right: 5px;
	}
    #menu_closer{float:left;}
	#mainmenu1_ul {
		width:100%;
		margin:auto;
	}
	#mainmenu1_ul li ul li{
		background-color:#ddd;
		border-bottom: 1px solid #ccc;
	}
	#mainmenu1_ul li ul{
		width:100%;
		margin:auto;
		display:block;
		position:relative;
		top: 0;
		background-image:none;
	}
	#mainmenu1_ul li {
		width: 99%;
		border: 1px solid #ccc;
		background-color:#fff;
	}
	#mainmenu1_ul li a, 
	#mainmenu1_ul li ul li a,
	#mainmenu1_ul li ul li ul li a  {
		width:96%;
		margin:auto;
		margin-bottom:2px;
		padding:2%;
		color:#000;
    }
    #productmenu_con ul li{
		width:100%;
		top:auto;
		border:1px solid #ccc;
		height: auto;
	}
	#productmenu_con ul li a{
		margin-bottom: 0;
		padding: 2%;
		display: block;
		width: 98%;
		text-align: left;
	}
	#productMenu{width: 98%;}
	#productmenu_con ul li ul{
		width:100%;
		margin:auto;
		display:block;
		position:relative;
		top: 0;
		background-image:none;
		padding-bottom: 0px;
	}
	#productmenu_con ul li ul li {
		background-color: #ddd;
		border-bottom: 1px solid #ccc;
	}
	#productmenu_con ul li ul li a:hover{color:#333;}
	#productmenu_con ul li ul li a{
		color: #333;
		display: block;
		float: left;
		font-size: 14px;
		font-weight: normal;
		padding: 10px;
		height: 100%;
		width: 100%;
	}
	#Produktmenu_slider_con{display:none;}
    #Produktmenu_teaser{
		display:block;
		top:auto;
		background-color:transparent;
		padding: 0%;
	}
	#menu_close,#menu_open{padding-top:20px;}
	#content_text{width:99%;}
	#con_content{width: 100%;margin-left:0;}
	.lejlighedliste_punkter td{width: 0%;}
	.punktudbytte ul{
		list-style-type: none;
		padding:0;
		margin:0;
	}
	.punktudbytte li{padding-top: 3%;}
	.forside_produkt{width:48%}
	.forside_contxt{width:100%;}
	#content_text{width: 100%;}

}

/* for 700px or less */
@media screen and (max-width: 700px) {
	#toptopplaceholder{width:130%;}
	#bund_social{width:98%;}
	.bund1{
		width:100%;
		float: none;
	}
	.forside_contxt{width:100%;}
	.forside_medarbejder_con{width:100%;}
	#shadow_bottom_con {
		float: left;
		margin-left: 2%;
		width: 45%;
	}
	#bund_left {
		text-align: center;
		width: 41%;
	}
	#bundstatement {
		width: 10%;
		overflow:hidden;
	}
	#bund_left img {width: 70px;}
	#bund_left p {text-align: left;}
	.billede_mobile {
		display:block;
		width:100%;
		float:left;
		margin-bottom:2%;
	}
	.billede_mobile img {
		width:100%;
		float:left;
	}
	.billede_teaser_con {display:none;}
	h1 {font-size:200%;}
	h2 {font-size:150%;}
	h3 {font-size:125%;}
	body {font-size:100%;background:none;}
	#menucontainer{
		min-height:none;
		width:98%;
	}
	#menugroup1_con {
		position:relative;
		float:left;
		margin:0px;
		width:98%;
		padding:1% 1% 0% 1%;
		padding-top:78px;
		background-color:transparent;
		height:auto;
	}
	#bottomcontact ul li {
		width:100%;
		text-align:center;
		clear:both;
	}
	#kontakt_formular {
		width:100%;
		float:left;
	}
	.formular_sletalt {
		clear:both;
		width:98%;
	}
	.formular_send{
		float:left;
		margin-top:1%;
		margin-bottom:1%;
		padding-top:1%;
		font-size:100%;
		padding-bottom:1%;
		width:98%;
	}
	.formular, 
	.formular_post, 
	.formular_by, 
	.formular_tekst {
		color:#333333;
		font-size:100%;
		float:left;
	}
	.formular {
		width:80%;
		border:1px solid #999999;
		margin-bottom:1%;
	}
	.formular_post {
		width:19%;
		border:1px solid #999999;
		margin-bottom:2px;
		margin-right:1%;
	}
	.formular_by {
		width:60%;
		border:1px solid #999999;
		margin-bottom:2px;
	}
	.formular_tekst {
		width:98%;
		height:150px;
		border:1px solid #999999;
		margin-bottom:2px;
		padding:0px;
	}
	.show_hide{display:none;}
	.lejlighedliste_billede, .newsliste_billede {display:none;}
	#menu_slider_con {
		display:none;
		float:left;
		width:100%;
		background-color:transparent;
	}
	#faux, #frame_right {margin-top:0px;}
	#top_billede img, 
	#top_billede_2 img {
		height:auto;
		min-height:100%;
		min-width:320px;
		width:100%!important;
	}
	#Produktmenu_slider_con{display:none;}
	#menu_teaser{
		display:block;
		top:0px;
		background-color:transparent;
	}
	#Produktmenu_teaser{
		display:block;
		top:auto;
		background-color:transparent;
		padding: 0 1%;
	}
	#menu_closer{float:left;}
	#mainmenu1_ul {
		width:100%;
		margin:auto;
	}
	#mainmenu1_ul li ul li{
		background-color:#ddd;
		border-bottom: 1px solid #ccc;
	}
	#mainmenu1_ul li ul{
		width:100%;
		margin:auto;
		display:block;
		position:relative;
		top: 0;
		background-image:none;
	}
	#mainmenu1_ul li {
		width: 99%;
		border: 1px solid #ccc;
		background-color:#fff;
	}
	#mainmenu1_ul li a, 
	#mainmenu1_ul li ul li a,
	#mainmenu1_ul li ul li ul li a  {
		width:96%;
		margin:auto;
		margin-bottom:2px;
		padding:2%;
		color:#000;
	}
	#productmenu_con ul li{
		width:99%;
		top:auto;
		border:1px solid #ccc;
		height: auto;
	}
	#productmenu_con ul li a{
		margin-bottom: 0;
		padding: 2%;
		display: block;
		width: 98%;
		text-align: left;
	}
	#productMenu{width: 98%;}
	#productmenu_con ul li ul{
		width:100%;
		margin:auto;
		display:block;
		position:relative;
		top: 0;
		background-image:none;
		padding-bottom: 0px;
	}
	#productmenu_con ul li ul li {
		background-color: #ddd;
		border-bottom: 1px solid #ccc;
	}
	#productmenu_con ul li ul li a:hover{color:#333;}
	#productmenu_con ul li ul li a{
		color: #333;
		display: block;
		float: left;
		font-size: 14px;
		font-weight: normal;
		padding: 10px;
		height: 100%;
		width: 100%;
	}
	#top_con_forside, 
	#top_con {
		left:0px;
		width:100%;
		top:40px;
	}
	#top_billede {
		width:100%;
		height:200px;
	}
	#banner_toppic img {
		height:30px;
		width:113px;
		padding-top:4px;
	}
	#banner_toppic {
		height:40px;
		top:0px;
	}
	#con_content_forside, #con_content {
		float:left;
		width:100%;
		margin-left:0px;
	
	}
	#newsteaser_con {height:auto;}
	#breadcrumbs_con{height: 25px;}
	#lejlighederteaser_con_step1, #lejlighederteaser_con_forside {width:93%;}
	.produkt_grp_element a{font-size: 12px;}
	#content_text{font-size:12px;}
	#content_text h2{font-size:145%;}
	#top_billede_2{top: 28px;}
}

/* for 622px or less */
@media screen and (max-width: 622px){
	.produkt_oversigt_element{
		width: 32%;
		font-size: 12px;
	}
}

/* for 480px or less */
@media screen and (max-width: 480px) {
	html{overflow-x:hidden;}
	#menu_close,
	#menu_open,
	#produktmenu_close,
	#produktmenu_open {
		position:absolute;
		top:8px; 
		display:block;
	}
	.produktbillede {
		width:40%;
		margin-right:5%;
	}
	#medarbejder_tabel td{
		float: left;
		clear: both;
	}
	.produkt_grp_element{width: 98%;}
	.produkt_grp_header > h2{font-size: 15px;}
	.produkt_grp_link > a{font-size: 14px;}
	.produkt_oversigt_element{width: 98%;}
	#produkt_enkelt_right{
		width: 80%;
		float: left;
		padding-left: 10px;
	}
	.stortproduktbillede{height: 100px;}
	.productRelatedWrapper_clear01{width: 98%;}
	.productRelatedWrapper01{width: 98%;}
	.punktudbytte ul li{padding: 2%;}
	#menugroup1_con{width:100%;}
	#menucontainer{
		width:100%;
		padding: 0%;
	}
	#menugroup1_con{
		padding:0px;
		padding-top:24%;
	}
	#Produktmenu_teaser{padding:0px;}
	#productmenu_con ul{width:102%;}
	.forside_produkt{width:100%;}
	
}
/* for 461px or less */
@media screen and (max-width: 461px){
	#produkt_enkelt_right{width: 81%;}
}

/* for 452px or less */
@media screen and (max-width: 452px){
	#produkt_enkelt_right{width: 82%;}
}

/* for 360px or less */
@media screen and (max-width: 360px){
	.forside_medarbejder{margin-right: -37px;}
}

/* for 340px or less */

@media screen and (max-width: 340px){
	#toptopplaceholder{
		background-image: url("http://www.dmsupply.dk/images/dm-logo-cut.png");
		height: 83px;
		left: 0px;
		background-size: 50% 70%;
		width: 100%;
	}
	#toptopplaceholder a{padding: 0%!important;}
}

/* for 320px or less */
@media screen and (max-width: 320px) {
	#indledning > h1{font-size: 25px;}
	.produkt_grp_header > h2{font-size: 16px;}
	.produkt_grp_link > a{font-size: 14px;}
	.produkt_grp_element{width: 98%;}
	.produkt_oversigt_element{width: 98%;}
	.stortproduktbillede > #bigpic{clear: right;}
	#produkt_enkelt_right{
		width: 80%;
		float: left;
		padding-left: 10px;
	}
	.punktudbytte{font-size: 17px;}
	h2{font-size: 15px;}
	.punktudbytte > ul > li{font-size: 14px;}
	.punktudbytte > ul > ul > li{font-size: 14px;}
	.punktudbytte > ul > ul > ul> li{font-size: 14px;}
	.stortproduktbillede{height: 100px;}
	.productRelatedName01 > a > h3{font-size: 12px;}
	.productRelatedWrapper_clear01{width: 98%;}
	#menugroup1_con{width:100%;}
	#menucontainer{
		width:100%;
		padding: 0%;
	}
	#menugroup1_con{
		padding:0px;
		padding-top:24%;
	}
	#Produktmenu_teaser{padding:0px;}
	#productmenu_con ul{width:102%;}
}
