html {
	background-color: #71bae5;
	font-family: Arial Unicode MS, Arial, sans-serif;
	font-size: small;
}

h1 {
	font-size: 1.3em;
	font-weight: bold;
	margin: 0 0 5px 0;
}

h2 {
	font-size: 1.1em;
	font-weight: bold;
	/* t r b l*/
	margin: 12px 0 0 0;
}

h3 {
	font-size: 1.0em;
	font-weight: normal;
	margin: 10px 0 0 0;
}

p {
	line-height: 19px;
	margin: 0 0 15px 0;
}

li, ul {
	line-height: 19px;
}

/* Vooral voor die plus min buttons let op button met height 26 pix is even hoog als textbox met 14 px!!!*/
/* # : id selector = for 1 unique element */
/* . : class selector = for multiple elements */
button {
	border: 1px solid #888;
	border-radius: 2px;
	padding:2px 2px 2px 5px;
	width:105px;
	float:left;
	cursor: pointer; 
	font-family: Arial Unicode MS, Arial, sans-serif;
	font-size: small;	
}

/*used in dialog need to declare height because of image in it*/
.buttonSmall {
    width:  60px;
}

/* Toevoegen button in  rentewijzingen ed*/
.buttonHypoBerek {
	width: 100px;
	margin-top: 5px;
}

input  {
	height: 18px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}

td {
	vertical-align: middle;
}

/* om de clean.css te overschrijven */
#bodyoverwrite {
	background: none repeat scroll 0 0 transparent;
	margin: 0px;
}

.container {
    display: table;
    width: 100%; /* mandatory to set so that containerElem occupy full div */
}

/* show containerElem next to each other */
.containerElem, .containerElemNarrow, .containerElemWide {
    display: table-cell;
	height: 100%;
	padding: 5px;
	background-color: #F3F4E9;
	border: 1px solid #DFDFDF;
	border-radius: 3px;
	vertical-align: top;
}

.containerElem {
	width: 50%;
}

.containerElemNarrow {
	width: 40%;
}

.containerElemWide {
	width: 60%;
}

#tableChart {
	border: 1px solid #DFDFDF;
	border-radius: 3px 3px 3px 3px;		
	background-color: #F3F4E9;
	color: #333333;
	padding: 10px;
}

#content {
	padding: 10px;
}

.mobileOnlyContainerElem {
	display: none;
	width: 100%;
}

.desktopOnlyContainerElem {
	display: block;
	overflow: hidden;
	width: 100%;	
}

@media screen and (max-width: 650px) {
	/* show containerElem below each other */
	.container, .mobileOnlyContainerElem {
		display: block;
		overflow: hidden;
		width: 100%;
	}
	
	.desktopOnlyContainerElem {
		display: none;
		width: 100%;
	}
	
    .containerElem, .containerElemNarrow, .containerElemWide {
		display: block;
		overflow:hidden;
        float: none;
        width: 95%; /* with 100% the right side border is not shown, maybe because of scroll bar that pops up */
		padding: 5px;
		background-color: #F3F4E9;
		border: 1px solid #DFDFDF;
		border-radius: 3px;	
		margin-bottom: 20px;		
    }
	
	#tableChart {
		border: 1px solid #DFDFDF;
		border-radius: 3px 3px 3px 3px;		
		background-color: #F3F4E9;
		color: #333333;
		padding: 5px;
	}
	
	#content {
		padding: 5px;
	}	
}

/*result page in hypotheek-berekenenweb*/
.resultPageText {
	border: 1px solid #DFDFDF;
	border-radius: 3px 3px 3px 3px;	
	padding: 10px 5px 5px 5px;
	background-color:#fafaf6;
	overflow: auto; /* to show scollbar for all result text*/
}

.tableFillIn {
	color: #333333;
	width: 100%;
	height: 100%;
}

.tableFillInFirstColumn {
	width: 190px;
}

.tableResult {
	color: #333333;
	width: 100%;
	height: 100%;
}

.tableHeader {
	padding: 5px 0;
	font-weight: bold;
}

.tableResult td {
	min-width: 50px;
	/** t r b l*/
	padding: 0 5px 0 0;
}

/* for hypotheekberekenenresult */
.tableResultTab {
	color: #333333;
	width: 100%;
	height: 100%;
}

.tableResultTab td {
	min-width: 40px;
}

.adCenter {
	text-align: center;
	width:100%;	
}

.ad_responsive { width: 320px; height: 50px; margin-top: 15px; margin-bottom: 15px;}
@media(min-width: 500px) { .ad_responsive { width: 468px; height: 60px; margin-top: 20px; margin-bottom: 20px;} }
@media(min-width: 800px) { .ad_responsive { width: 728px; height: 90px; margin-top: 20px; margin-bottom: 20px;} }

#nav {
	width: 100%;
	float: left;
	list-style: none;
	background-color: #f2f2f2;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	padding: 0;
}

#nav li {
	line-height: 13px;
	float: left;
}

/* (sub) menu elements */
#nav li a,#nav li p,#nav li ul li a{
	display: block;
	padding: 8px 10px;
	text-decoration: none;
	font-weight: bold;
	color: #069;
	border-right: 1px solid #ccc;
}

/*  extra thing to set specifically for sub menu elememts #nav li ul li a */
#nav li ul li a{
	border-bottom: 1px solid #ccc;
}

/*  #nav li p does not need to turn into other color, cause there is no hyperlink behind it */
#nav li a:hover, #nav li ul li a:hover{
	color: #f2f2f2;
	background-color: #069;
}

/*  hides the display of the nested navigation, it will only show when the user hovers over the parent link. */
#nav li ul {
	position: absolute;
	display: none;
}

/*  Let op
-het sub menu verdwijnt zodra er de muis pointer over het sub menu komt waaronder ook een adsense ligt
-ipad en iphone supporten niet het hover event*/
#nav li:hover ul {
	display: block; /* When the user hovers over the parent LI tag, the nested menu will now display.  */
	list-style: none;
	background-color: #f2f2f2;
	border: 1px solid #ccc;
	margin: 0;
	padding: 0;
}

#nav li:hover li {
	float: none;
}

#hyporesultnav {
	display: none;
	width: 100%;
	float: left;
	list-style: none;
	color: #333333;
	margin-top: 0px;
	margin-bottom: -3px;
	padding: 0;	
}

#hyporesultnav li {
	float: left;
	display: none;
	background-color: #fafaf6;
	border: 1px solid #DFDFDF;
	border-radius: 3px 3px 0px 0px;
	padding: 6px 7px 4px 7px;
	font-weight: bold;
	margin-bottom: -3px;
	color: #000;
}

#hyporesultnav li:hover {
	color: #f2f2f2;
	background-color: #069;
}

#wrap {
	background-color: #FFFFFF;
	margin-left: auto;
	margin-right: auto;
	vertical-align: top;
	max-width: 960px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.articleref {
	margin: 0px;
	clear: both;
	font-size: 0.8em;
}

#footer {
	clear: both;
	display: block;
	padding: 10px;
	font-size: 80%;
	text-align: center;
}

.normalSelect
{
	border: 1px solid #888;
	border-radius: 2px;
	padding: 2px 2px 2px 1px;
	width: 105px;
	float:left;
}

.resultCell {
	padding:3px 2px 4px 5px;
	float:left;
}

.inputPrefix {
	float:left;
	border: 1px solid #888;
	border-radius: 2px;
	padding: 2px 0px 2px 6px; /* t r b l*/
	background-color: white;
	display:inline-block;
	min-width: 98px; /* to disallow that euro sign and input are shown below each other */	
}

.inputPrefix input {
	border: 0;
    width: 82px;
	padding:0px 2px 2px;
	/* disable the default spinner buttons */
	-moz-appearance: textfield;
	-webkit-inner-spin-button { -webkit-appearance: none;}
	-webkit-outer-spin-button { -webkit-appearance: none;}
}

/* only used in aflossen-lening */
.valuewidget {
	border: 1px solid #888;
	border-radius: 2px;
	padding:2px 2px 2px 5px;
	width: 96px;
	float:left;
}

.inputPostfix {
	float:left;
	border: 1px solid #888;
	border-radius:2px;
	padding:2px 6px 2px 2px; /* t r b l*/
	background-color: white;	
	display:inline-block;
	min-width: 96px; /* to disallow that input and % are shown below each other */
}

.inputPostfix input {
	border: 0;
    width: 76px;
	padding-left:3px; 
	/* disable the default spinner buttons */
	-moz-appearance: textfield;
	-webkit-inner-spin-button { -webkit-appearance: none;}
	-webkit-outer-spin-button { -webkit-appearance: none;}
}

.ng-dirty.ng-invalid {
  background-color: #ff6666; /*red*/
}

input.ng-invalid {
  background-color: #ff6666; /*red*/
}

.buttonDialog {
	width:88px;
	margin-left:5px;
	float:right;
}

.noscript {
	width: 22em;
	position: absolute;
	left: 50%;
	margin-left: -11em;
	color: red;
	background-color: white;
	border: 1px solid red;
	padding: 4px;
}

.accordionPanel {
	border: 1px solid #DFDFDF;
	border-radius: 3px;	
	max-width: 300px;
	margin: 5px 0px 5px 0px;
	padding: 1px; /*otherwise border is not nicely drawn */
	overflow: auto; /* to make the div height as large as its contents when clicking*/
}
 
button.accordion {
	color: #333333;
	padding-top: 4px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
}

button.accordion:after {
    content: '\02BC6'; /* Unicode character for triangle down  */
    float: right;
    margin-left: 5px;
}

button.accordion.triangleUpBtn:after {
    content: "\02BC5"; /* Unicode character for triangle up*/
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.accordion:hover {
    background-color: #ddd;
}

/* Style the accordion panel. Note: hidden by default */
div.subpanel {
    padding: 8px 8px;
	overflow: auto; /* to make the div height as large as its contents when clicking*/
}


