#container {
	width:993px;
	margin:6px auto;
}

#left {
	display: block;
	float:left;
	width:186px;
}

#main {
	float:left;
	width:795px;
	margin-left: 12px;
}

#content {
	padding: 10px;
	border-top: 2px solid rgb(41, 100, 136);
}

#logo, #search, #payserver, #menu {
	width:182px;
	background-color: #D8E6EE;
	border: 2px solid rgb(41, 100, 136);
	text-align: center;
	font-size: 0.75em;
	padding: 0px 0px 5px 0px;
	margin: 0px 0px 15px 0px;
}

#menu {text-align: left;}
#navdiv {height: 283px;}
/* 24px erbij/eraf per menuitem */

#search, #payserver, #logo, #social {display:block;}
#header, #payserver-bottom {display: none;}
#logo #logoimage {margin-top: 8px;}
#search {padding-top: 5px;}
.payserver-image {margin-bottom: 10px;}
.menukopje {color: rgb(41, 100, 136); background-color: transparent; font-family: Arial, Verdana, Helvetica, sans-serif; margin-top: 3px; text-align: center; font-size: 1.4em; font-weight: 800; margin-bottom: 0px;}

#nl, #en, #no, #se, #da {
	background: url('//www.binaries4all.nl/layout/flags.png') no-repeat top left;
	display: block;
	overflow:hidden;
    text-indent:100%; white-space:nowrap;
    width: 28px;
    height: 16px;
	float:left; margin-right: 5px;
}
#nl{background-position: 0 -21px;} 
#en{background-position: 0 -42px;} 
#no{background-position: 0 -63px;} 
#se{background-position: 0 -84px;}
#da{background-position: 0 0;}

#social table {width: 100%; border: 0;}
#social td {border: 0; background: none; height: 21px;}
#social td.country {padding-top: 5px; border: 0; border-right: 1px solid #296488; background: none; width: 28px;}

/* Menu */
/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}

.sf-menu {
	float: left;
	margin-bottom: 0;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 250px; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu a {
	color: black;
	border-left: none;
	border-right: none;
	border-top: 1px solid rgb(41, 100, 136);
	/*padding: .40em 0.40em;*/
	padding-left: 5px;
	padding-top: 3px;
	padding-bottom: 0px;
	height: 20px;
	text-decoration: none;
	zoom: 1; /* IE7 */
}

.sf-menu li {
	z-index: 1000;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .1s;
	transition: background .1s;
}

.sf-menu li a {
	width: auto;
	padding-right: 5px;
}
.sf-menu ul li {
	background: rgb(79, 142, 182); /* submenu */ 
}

.sf-menu ul a {
	color:white;	
}

.sf-menu ul ul li {
	/*background: #9AAEDB; /* uitzondering voor nog lagere submenus */
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	background: white;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

.sf-menu ul li:hover > a,
.sf-menu ul li.sfHover > a {
	color: black;
}

.sf-menu ul li:hover ul a:hover,
.sf-menu ul li.sfHover ul a:hover {
	color: black;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	cursor:default;
	padding-right: 1.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}

/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: black; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}

/* adding sf-vertical class in addition to sf-menu creates a vertical menu */
/* eg. <ul class="sf-menu sf-vertical"> ... */
.sf-vertical {
  width: 100%;
  /* If you want the width of the closed menu to expand to its
  widest top-level menu item (like its "Supersubs" submenus do),
  replace the width rule above with the following two rules. */

  /*
  min-width: 12em;
  *width: 12em;
  */
}
.sf-vertical ul {
	left:	100%;
	top: 0;
}
.sf-vertical > li {
  float: none;
}
.sf-vertical li {
  width: 100%;
}

/*** alter arrow directions ***/
.sf-vertical.sf-arrows li .sf-with-ul:after {
  margin-top: -5px;
  margin-right: -10px;
  border-color: transparent;
  border-left-color: black; /* edit this to suit design (no rgba in IE8) */
  border-left-color: rgba(0,0,0,.5);
}
.sf-vertical.sf-arrows li > .sf-with-ul:focus:after,
.sf-vertical.sf-arrows li:hover > .sf-with-ul:after,
.sf-vertical.sf-arrows .sfHover > .sf-with-ul:after {
  border-left-color: black;
}
