/* BASIC, GENERIC STYLING */

body {
  background: white;
/*  font-family: "Slabo 27px", "Trebuchet MS";*/
  font-family: "Source Sans Pro", sans-serif, "Trebuchet MS";
  width: 100%;
  margin: 0px;
  
  font-size: 14px;
  color: #656666;
}

div#page_wrapper, div#page_wrapper_login {
  /*width: 500px;*/
  width: 100%;
  margin: 0;
/*  margin: 50px 0px;*/

  /*text-align: center;*/
      
  /*border: 1px gray solid;*/
  border: 0px gray solid;
  /*border-radius: 5px;*/
  box-shadow: 0 0 15px 1px gray	;
      
/*  padding: 30px;*/
  /*position: relative;    */

  box-sizing: border-box;
  
}

div#header, header {
  border: 0 solid gray;
  box-shadow: 0 0 15px 1px silver;
  box-sizing: border-box;
  width: 100%;	

  /*margin: 50px 0;*/
  margin-bottom: 30px;
  /*padding: 20px;*/
  padding: 10px 20px;

  /*height: 100px;*/

  display: block; /*table   needed to vertically align the logo and other buttons nicely */
  
position: fixed; 
top: 0;
left: 0;
z-index: 100;
background-color: #f7f5f5; /*f4*/
}


div#page_icon {
	float: left; 
	margin-right: 15px; 
	display: block;	
	height: 32px;
}

div#page_menu_nav {
	float: left; 
	padding: 0px; 
	display: block; 
/*	min-height: 51px;*/
	/*min-height: 31px;*/
	
	padding-top: 8px;
}


div#content_wrapper {
  width: 100%;
  /*width: 500px;*/
  /*margin: 50px auto;*/

/*  margin: 91px auto 50px auto;
  margin: 71px auto 50px auto;*/
  
  margin: 51px auto 20px auto; /* NB: margin-top done bij JS */
  /*margin: 50px auto;*/
  /*margin: 50px 0px;*/

  /*padding: 30px;*/
  /*padding: 100px 20px 30px 20px;*/
  /*padding: 60px 20px 30px 20px;*/
  padding: 30px 20px 20px 20px;

  box-sizing: border-box;
}

h1, fieldset h2 {
  margin-top: 0px;
  margin-bottom: 0px;
  
  
}

h1 {
  /*color: #336699;*/
  color: #0262ac;
  
	font-size: 1.7em;
  font-weight: 700; /* 400 */
  
	line-height: 0.7em;
/*padding: 0px;*/
	margin-top: 0px;
	-webkit-margin-before: 0em;
	
	float: left;
}

.page_subtitle {
	font-size: 14px;
	font-weight: normal;
}



/* LOGIN STUFF */
div#page_wrapper_login {
  max-width: 420px;
  margin: 50px auto;
  border-radius: 5px;
  padding: 30px;
}

div#page_wrapper_login h1 {
	font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 30px;
  
  line-height: 1em;
}

div#page_wrapper_login div#content_wrapper {
  margin: 0;
	padding: 0;
}

label.login {
	display: inline-block;
	width: 120px;
}



/* END LOGIN STUFF */




/* MENU */

ul#menu {
	padding: 0px;
	/*margin-top: 5px;*/
	float: left;
	
	margin: 0px;
}
ul#menu li {
	list-style-type: none;
	display: block;
	float: left;
	width: 100px;
	position: relative;

	text-transform: uppercase;
	font-size: 0.9em;
  font-weight: 400;
}

ul#menu li a:link, ul#menu li a:visited, ul#menu li a:hover, ul#menu li a:active {
	text-decoration: none;
	color: gray;
}
ul#menu li a:hover {
	text-decoration: underline;
	color: gray;
}



ul#menu li.login {
    display: block;
    float: left;
    font-size: 0.9em;
    font-weight: 400;
    list-style-type: none;
    position: relative;
    text-transform: none;
    width: 250px;
}

/* MESSAGE BOXES */

div#inlineMsg {
  padding: 15px;
	border-radius: 3px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.15);
	display: none;
	margin-bottom: 30px;
	
	max-width: 500px;
}
div#inlineMsg h2, div#new_cal_item h2 {
  margin: 0px;
  font-size: 20px;
}
div#inlineMsg p, div#new_cal_item p {
	/*margin-top: 5px;*/
  margin-bottom: 0px;
  /*font-weight: bold;*/
}
div#new_cal_item h2 {
  margin-bottom: 20px;
}

div.errorMsg {
  color: #e63232;
  /*background-color: rgba(255, 0, 0, 0.2);*/
  background-color: #ffd9d9;
  border: 1px solid red;
}
div.confirmMsg {
  /*border: 1px solid red;*/
  
  color: #328714;
  background-color: #ebffe4;
}
div.infoMsg {
  /*border: 1px solid red;*/
  
/*  color: #328714;*/
  background-color: #fffcdb;
}



/* *********** 
div.errorMsg {
  color: #e63232;
  padding: 15px;
  background-color: #ffd9d9;
  border: 1px solid red;
	border-radius: 3px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.15);
	display: none;
}
div.errorMsg h2 {
  margin: 0px;
  font-size: 20px;
}
div.errorMsg p {
  margin-bottom: 0px;
}
 
*/


div#calendar {
	/*display: none;*/
	/*max-width: 1050px;*/
}

div#credits, footer {
	display: block;
	margin-top: 20px;
}
 
div#credits p, footer p {
	font-size: 10px;
	margin-bottom: 0px;
	color: gray;
	font-style: italic;
}
 
div#credits p a:link, div#credits p a:visited, div#credits p a:hover, div#credits p a:active,
footer p a:link, footer p a:visited, footer p a:hover, footer p a:active {
	text-decoration: none;
	color: gray;
}
 

div#new_cal_item {
	max-width: 650px;
	
  /*margin: auto;*/

	margin-bottom: 50px;
	
	padding: 15px;

  /*border: 1px solid #336699;*/
	border-radius: 3px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.15);  
/*  color: #328714;*/

  background-color: #f3f9ff;
 
	display: none;
}

div#linked_prods p {
  font-style: italic;
}
 
/* FORM */

div#form_wrapper {
  display: inline-block;
/*  background-color: red;*/
  overflow: visible;
}


label.fixed {
	display: inline-block;
	width: 80px;
}


input {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 10px;
  
  margin-right: 30px;
}

input.wide {
	width: 220px;
}
input.middle {
	width: 120px;
}
input.narrow {
	width: 60px;
}

input[type="radio"] {
	border: 0px;
	margin-bottom: 0px;
}

input.errHighlight {
/*	box-shadow: 0 0 10px 1px red;*/
	box-shadow: 0 0 10px 1px rgba(255, 0, 0, 0.5);
}

div.button-bar {
  margin-top: 50px;
  text-align: center;
  border-top: 2px solid lightgrey;
  padding-top: 15px;
}

.action-button {
  width: 100px;
  background-color: #336699;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  
  margin-top: 25px;
}


input[type="button"].left {
	margin-right: 10px;
}


/* POPUP */
div.popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 400px;
  margin: 20px auto;
  
  border: 0 solid gray;
  border-radius: 5px;  
}

div.popup h2 {
  margin: 0px;
  font-size: 20px;
}

div.popup p {
	/*margin-top: 5px;*/
  margin-bottom: 0px;
  /*font-weight: bold;*/
}

div.popupNeg {
  color: #e63232;
  background: #ffd9d9;
}

div.popupPos {
  color: #328714;
  background: #ebffe4;
}

div.popupInline {
  border-radius: 5px;
  margin: 20px 0;	
  padding: 20px;
}

/* POPUP - prices */
span.priceTblLeft {
  width: 110px; 
  display: block; 
  float: left;	
}
span.priceTblMiddle {
  width: 110px; 
  display: block; 
  float: left;	
}
span.priceTblRight {
  width: 150px; 
  display: block; 
  float: left;	
  text-align: right;
}

div#msgs {
	padding-bottom: 10px;
	font-style: italic;
}

div#msgs p {
	margin-bottom: 10px;
	margin-top: 0px;
}