/*
 * General
 */

/* resetting styles */
*							{ outline: none; }
html, body						{ margin: 0; padding: 0; /* required for footer */ height: 100%; }

/* body is used to set the default font size, has to be redefined in some cases though */
body							{ background: #FFF url("/data/static/images/www.care.nl/header_bg.png") repeat-x; font: 10pt/1.5em Arial, Helvetica, sans-serif; color: #66746C; }

/* main container div, will be centered */
#container						{ margin: 0 auto -120px auto; width: 950px; /* required for footer */ min-height: 100%; height: auto !important; height: 100%; /* allow absolute positioning within the container */ position: relative; background: transparent url("/data/images/6/1/5/blank.jpg") no-repeat 0 110px; }


/*
 * Basic styles
 */

/* headings */
h1							{ margin: 15px 0; font: 24px "Trebuchet MS", Arial, Helvetica, sans-serif; color: #66746C; }
h2							{ margin: 15px 0 5px 0; font: 18px "Trebuchet MS", Arial, Helvetica, sans-serif; color: #EF4338; }
h2 a							{ color: #EF4338; }
h3							{ margin: 10px 0 0 0; font-size: 10pt; line-height: 1.5em; }

/* content elements */
p							{ margin: 0 0 10px 0; }
p.info							{ margin-bottom: 0; }
p.other_care						{ margin-right: 30px; padding: 15px 20px; font-weight: bold; font-size: 11pt; line-height: 2em; background: #F3F5F4; border: 1px solid #C8CECB; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; }
ul							{ margin: 0 0 10px 0; padding: 0; }
ul li							{ list-style-type: none; padding-left: 18px; background: url("/data/static/images/www.care.nl/bullet.gif") no-repeat 5px 7px; }
ul ul							{ margin-bottom: 0; }

/* list with references (images), which will be floated into a grid */
ul.references						{ margin-top: 10px; }
ul.references li					{ float: left; margin: 0 15px 15px 0; padding: 0; background: none; border: 1px solid #C8CECB; /* removes extra space */ font-size: 0; line-height: 0; }
ul.references img					{ margin: 6px; /* border moved to li */ border: none; }

/* tables */
table							{ margin: 0 0 10px 0; width: 100%; border-collapse: collapse; /* tables don't always inherit from body */ font: 10pt/1.5em Arial, Helvetica, sans-serif; }
table th,
table td						{ padding: 0; }
table th						{ text-align: left; }

/* tables */
table.overview th,
table.overview td					{ padding: 2px 4px; border-bottom: 1px solid #E1E5E5; }
table.overview th					{ background: #E1E5E5; }
table.overview tr td					{ border-left: 1px solid #E1E5E5; text-align: center; }
table.overview tr td:first-child			{ border-left: none; text-align: left; }
table.overview tr.even td				{ background: #F3F5F4; }
table.overview thead td					{ font-weight: bold; background: #66746C; color: #FFF; }
table.overview img					{ border: none; }

/* address is used on the contact page */
div.address-container					{ width: 200px; float: left; margin-bottom: 15px; }
address							{ /* opera has padding */ padding: 0; /* is italics by default */ font-style: normal; }

/* labels in-text for "Tel", "Fax" and "Email" */
span.label-telfax					{ /* does not work in Firefox 2 */ display: inline-block; width: 28px; }
span.label-email					{ /* does not work in Firefox 2 */ display: inline-block; width: 60px; }

/* horizonal rule is placed before H2 tags (NOTE: Not only within #content) */
hr							{ background: #E1E5E5; border: none; border-bottom: 1px solid #E1E5E5; margin: 15px 0; height: 0; font-size: 0; }
hr+h2							{ /* place closer to hr */ margin-top: 5px !important; }

/* base link styles */
a							{ color: #4478DB; text-decoration: none; }
a:hover							{ text-decoration: underline; }
a.more							{ padding-left: 18px; background: url("/data/static/images/www.care.nl/link_icon_more.png") no-repeat 0 2px; }
a.feed							{ padding-left: 18px; background: url("/data/static/images/www.care.nl/link_icon_feed.png") no-repeat 0 2px; }

/* images */
img							{ border: 1px solid #C8CECB; }
img.no-border						{ border: none; }
img.left						{ float: left; clear: left; margin: 2px 15px 15px 0; }
img.right						{ float: right; clear: right; margin: 2px 0 15px 15px; }

/* other inline styles */
abbr,
acronym							{ border-bottom: none; }

/* elements with an class */
.error							{ color: #EF4338; }
.date							{ font-size: 7pt; text-transform: lowercase; } 

/* clearer div, should be as high at the footer, not te be applied for clearers within the content */
div.clear						{ clear: both; font-size: 0; height: 120px; }
#content div.clear					{ height: 0; }



/*
 * Header
 */

/* header div */
#header							{ height: 109px; border-bottom: 1px solid #233; }

/* h1 contains the CARE logo */
#header h1						{ margin: 12px 0 0 15px; float: left; height: 91px; }
#header h1 img						{ border: none; }


/*
 * Search
 */

/* search box */
#search							{ position: absolute; right: 0; top: 40px; margin: 0; background: url("/data/static/images/www.care.nl/search_bg.png") no-repeat right center; }
#search label						{ display: none; }
#search label.overlabel					{ display: block; position: absolute; left: 6px; top: 1px; color: #A0ACA5; cursor: text; }
#search input.text					{ vertical-align: middle; width: 150px; border: 1px solid #A0ACA5; border-right: none; margin: 0; padding: 2px 4px; height: 16px; background: #FFF; font: 10pt/1.5em Arial, Helvetica, sans-serif; color: #66746C; }
#search input.button					{ vertical-align: middle; height: 16px; margin: 3px 4px; }


/*
 * Menu
 */

/* menu is placed after the main content, so bring it back to top */
#menu							{ position: absolute; left: 250px; top: 80px; margin: 0; padding: 0 15px; width: /* 950 - 250 - 2*15 = */ 670px; height: 30px; background: transparent url("/data/static/images/www.care.nl/menu_bg.png") no-repeat left top; }

/* first level */
#menu li						{ float: left; margin-left: 15px; padding: 0; background: none; }
#menu li a						{ display: block; float: left; height: 29px; line-height: 29px; padding: 0 10px; color: #FFF; text-decoration: none; font-weight: bold; }
#menu li a.submenu					{ cursor: default; height: 30px; }
#menu li:hover,
#menu li.menu_open					{ background: #FFF url("/data/static/images/www.care.nl/menu_tab_bg_right.png") no-repeat right top; }
#menu li a:hover					{ background: url("/data/static/images/www.care.nl/menu_tab_bg_left.png") no-repeat left top; /*color: #3C545B;*/ color: #66746C; }
#menu li a.menu_open					{ background: url("/data/static/images/www.care.nl/menu_tab_bg_left.png") no-repeat left top !important; /*color: #3C545B;*/ color: #66746C; }
#menu li a:visited:hover,
#menu li a:link:hover					{ text-decoration: underline; cursor: pointer; /*color: #E32;*/ color: #EF4338; }

/* second level */
#menu ul						{ visibility: hidden; z-index: 100; margin: 0; padding: 0 5px 5px 5px; position: absolute; top: 30px; background: transparent url("/data/static/images/www.care.nl/menu_sub_bg.png") no-repeat left bottom; }
#menu ul li						{ float: none; margin-left: 0; border-top: 1px solid #E1E5E5; }
#menu ul li:hover					{ background: none; }
#menu ul li:first-child					{ border-top: none; }
#menu ul li a						{ float: none; width: 160px; height: auto; line-height: 1.2em; padding: 4px 5px; font-weight: normal; /*color: #3C545B;*/ color: #66746C; }
#menu ul li a:hover					{ background: none; }


/*
 * Crumbtrail precedes main content
 */

#crumbtrail						{ height: 20px; margin: 62px 0 -82px 280px; font-size: 8pt; color: #A0ACA5; cursor: default; }
#crumbtrail a						{ margin: 0 2px; color: #A0ACA5; text-decoration: underline; }
#crumbtrail a:hover					{ color: #4478DB; }


/*
 * Main content
 */

/* margin-top is to clear space for the teaser image and crumbtrail */
#content						{ width: 670px; float: right; margin-top: 75px; /* 30px from footer, 10px is part of footer height, 10px is handled by margin-bottom */ margin-bottom: 10px; }

/* prevent floats killig our layout */
#content h1,
#content h2,
#content hr						{ clear: both; }
/* h3 can have floating images on its right (not uses sIFR) */
#content h3						{ clear: left; }

/* forms within the content */
#content form						{ margin: 15px 0 10px 0; padding: 0; }
#content form label					{ display: block; width: 130px; float: left; clear: left; margin-top: 1px; margin-right: 10px; text-align: right; font-style: italic; }
#content form input,
#content form textarea					{ /* float to remove extra space */ float: left; margin: 0 0 10px 0; font: 10pt/1.5em Arial, Helvetica, sans-serif; color: #66746C; border: 1px solid #E1E5E5; border-bottom: 2px solid #C8CECB; padding: 2px 4px; }
#content form input					{ width: 220px; }
#content form textarea					{ width: 300px; height: 200px; }
#content form input.button				{ width: auto; float: none; margin: 0 0 0 140px; padding: 3px 5px; font-weight: bold; /*border-color: #3C545B; background: #7B959F;*/ color: #4478DB; background: #F3F5F4; border-color: #C8CECB; }
#content form input.checkbox				{ width: auto; margin: 4px 5px 10px 140px; padding: 0; border: none; }
#content form input.radio				{ width: auto; margin: 4px 5px 10px 140px; padding: 0; border: none; }
#content form label.inline				{ /* inline-block does not work in Firefox 2, so first use inline */ display: inline; display: inline-block; width: 280px; float: none; clear: none; margin: 0 0 10px 0; text-align: left; font-style: normal; }
#content form br					{ clear: both; }
#content form label.error				{ color: #EF4338; }

/* spam-filter field, hide from valid users */
#content form #website					{ display: none; }


/*
 * On-page navigation
 */

/* page navigation, will expand using Javascript */
#navigation						{ float: left; margin: 60px 0 -20px 0; position: relative; }
#navigation h2						{ position: absolute; left: 14px; top: 20px; }

/* first level */
#navigation ul						{ margin: 70px 0 10px 0; }
#navigation ul li					{ padding: 0; background: none; border-top: 1px solid #E1E5E5; }
#navigation ul a					{ display: block; line-height: 1.3em; color: #66746C; text-decoration: none; padding: 4px 14px; }
#navigation ul a:hover					{ color: #EF4338; text-decoration: underline; }
#navigation ul a.active					{ color: #EF4338; }

/* second level */
#navigation ul ul					{ margin: 0 0 5px 14px; }
#navigation ul ul li					{ font-weight: normal; border-top: none; }
#navigation ul ul li a					{ padding: 3px 10px; }


/*
 * Styles for both sidebar and navigation
 */

#sidebar,
#navigation						{ width: 248px; margin-bottom: 0; background: #F3F5F4 url("/data/static/images/www.care.nl/sidebar_fingerprint_bg.png") no-repeat right bottom; border: 1px solid #C8CECB; /*zero-width, not "none" because of IE8 */ border-top-width: 0; border-bottom-width: 4px; }


/*
 * News
 */

#content ul.news li					{ padding-left: 0; background: none; clear: both; }
#content ul.news .date					{ display: block; float: left; width: 65px; margin-top: 1px; margin-bottom: -1px; }


/*
 * Google Maps
 */

/* container div */
#google-maps						{ margin: 15px 0 10px 0; width: 100%; height: 400px; border: 1px solid #C8CECB; /* background same as Google Maps plan background */ background: #E5E3DF; }

/* balloon */
div.google-maps-balloon					{ margin-bottom: -5px; }
#content div.google-maps-balloon form			{ margin: -5px 0 0 0; }
#content div.google-maps-balloon form input		{ width: auto; margin: 0 5px 0 0; padding: 1px 2px; }
#content div.google-maps-balloon form input.button	{ padding: 0 5px; }


/*
 * Footer
 */

#footer							{ position: relative; z-index: 5; margin-top: 10px; width: auto; height: 110px; background: url("/data/static/images/www.care.nl/footer_bg.png") repeat-x; }
#footer ul						{ width: 950px; margin: 0 auto; }
#footer ul li						{ float: left; margin-top: 16px; padding: 0; background: none; }
#footer img						{ border-color: #A0ACA5; margin: 1px 15px 0 0; }
#footer a:hover img					{ border-color: #66746C; }
#footer h3						{ width: 195px; margin: 0; color: #EF4338; }
#footer p						{ width: 195px; margin: 0; }