/*
Theme Name: ILNM
Theme URI: http://www.infertility.pl

*/


/* 1. BASE
-----------------------------------------------------------------------------------------------
===============================================================================================*/	



/* 1.1	Reset
-----------------------------------------------------------------------------------------------*/	


	html, body, div, span, applet, object, iframe,
	h1, h2, h3, h4, h5, h6, p, blockquote, pre,
	a, abbr, acronym, address, big, cite, code,
	del, dfn, em, font, img, ins, kbd, q, s, samp,
	small, strike, strong, sub, sup, tt, var,
	b, u, i, center,
	dl, dt, dd, ol, ul, li,
	fieldset, form, label, legend,
	table, caption, tbody, tfoot, thead, tr, th, td {
		margin: 0;
		padding: 0;
		border: 0;
		outline: 0;
		font-size: 100%;
		vertical-align: baseline;
		background: transparent;
	}
	
	body {
		line-height: 1;
	}
	
	ol, ul {
		list-style: none;
	}
	
	blockquote, q {
		quotes: none;
	}
	
	blockquote:before, 
	blockquote:after,
	q:before, q:after {
		content: '';
		content: none;
	}
	
	:focus {
		outline: 0;
	}
	
	ins {
		text-decoration: none;
	}
	
	del {
		text-decoration: line-through;
	}
	
	table {
		border-collapse: collapse;
		border-spacing: 0;
	}


/* 1.2	Default styles
-----------------------------------------------------------------------------------------------*/	

	body {
		background: #fff url(images/bg.png) repeat;
		font: 11px Arial, sans-serif;
		text-align: center;
		color: #3a3a3a;
	}

	hr { 
		display: none;
	}
			
	strong {
		font-weight: bold;
	}
			
em { font-style: italic; }
	
abbr, acronym { border-bottom: 1px dotted #999; cursor: help; }
	
a { text-decoration: none; color: #8c0000; }

h2, h3, h4 { font-weight: normal; }
	

/* 1.3	Basic styles
-----------------------------------------------------------------------------------------------*/	

.hidden, .hide, .divider { display: none; }
	
.left { float: left; }

img.left { margin: 0 15px 10px 0; }

#container { width: 100%; text-align: left; background: url(images/bg_ver.png) repeat-x; }
	
#container:after, 
#boxes:after { display: block; visibility: hidden; clear: both; height: 0; content: "."; }


/* 2.1	Header
-----------------------------------------------------------------------------------------------*/

#header { margin: 0 auto; width: 996px; height: 229px; background: url(images/header.jpg) no-repeat; position: relative; }
#header h1 a { width: 290px; height: 90px; display: block; float: left; margin: 37px 0 0 18px; }

#header ul#flags { float: right; margin: 35px 0 0 0; }
#header ul#flags li { float: left; }
#header ul#flags li.pl a.active, 
#header ul#flags li.pl a:hover { background: url(images/pl.png) no-repeat; color: #3a3a3a; }
#header ul#flags li.pl a { background: url(images/pl_down.png) no-repeat; }
#header ul#flags li.en a.active, #header ul#flags li.en a:hover { background: url(images/uk.png) no-repeat; color: #3a3a3a; }
#header ul#flags li.en a { background: url(images/uk_down.png) no-repeat; }
#header ul#flags li.ru a.active, 
#header ul#flags li.ru a:hover { background: url(images/ru.png) no-repeat; color: #3a3a3a; }
#header ul#flags li.ru a { background: url(images/ru_down.png) no-repeat; }
#header ul#flags li a { display: block; float: left; color: #bfbfbf; padding: 0 0 0 22px; height: 14px; margin: 0 12px 0 0; }        

#header ul#nav { position: absolute; top: 199px; left: 0; padding: 0 0 0 10px; font-family: Georgia, serif; font-size: 1.4em; }
#header ul#nav li { float: left; background: url(images/nav-li.png) no-repeat right center; padding: 0 8px 0 8px; }
#header ul#nav li.last { background: none; }
#header ul#nav li a { color: #e6797b; }
#header ul#nav li.current a, #header ul#nav li a:hover { color: #fff; }
	
#icons { margin: 0 auto; width: 980px; height: 100px; background: #e5e5e5; position: relative; padding: 0 0 0 16px; overflow: hidden; }
#icons dt { display: block; float: left; font-family: Georgia, serif; font-size: 1.3em; color: #841618; text-transform: uppercase; height: 5em; width: 182px; background: url(images/ico_fundacja.png) no-repeat 0 25px; padding: 2.2em 0 0 58px; }
#icons dt.leczenie { background-image: url(images/ico_leczenie.png);  }
#icons dt.etyka { background-image: url(images/ico_kns.png); padding-top: 2.1em; }
#icons dt.poradnia { background-image: url(images/ico_poradnia.png); padding-top: 1.9em; padding-right: 10px; }
#icons dd { display: block; position: absolute; width: 175px; height: 2em; }
#icons dd.fundacja { top: 55px; left: 74px; } 
#icons dd.poradnia { top: 55px; left: 314px; } 
#icons dd.etyka { top: 55px; left: 564px; } 
#icons dd.leczenie { top: 55px; left: 804px; } 

	
/* 2.2	Content
-----------------------------------------------------------------------------------------------*/

#boxes { margin: 0 auto; width: 956px; padding: 0 20px 13px 20px; background: #fff; }
#boxes h3 { margin: 22px 0 6px 0; float: left; width: 225px; font-family: Georgia, serif; font-size: 1.4em; color: #841618; }
#boxes a:hover { text-decoration: underline; } 
#boxes a.more { float: left; margin: 3px 0 0 0; display: block; font-size: 12px; }
#boxes p, #boxes ul, #boxes dl { line-height: 1.5em; clear: both; }
#boxes li a, #boxes dd a { color: #3a3a3a; }
#boxes h4 { font-weight: bold; }
#boxes h4 a.see-program { display:block; background:#cc0000; color:#fff; margin-bottom: 10px; padding: 10px; float: left; text-decoration: none; }

#boxes .left.single { width: 225px; margin: 0 20px 0 0; }

#boxes .left.double { width: 480px; margin: 0 5px 0 0; }
#boxes .left.double h3 { width: 480px; }

#boxes .row1, #boxes .row2 { padding: 0 15px 0 0; width: 225px; font-size: 12px;  }
#boxes .row1 a.more, #boxes .row2 a.more { margin: 3px 0 0px 0; }
#boxes .row2 { padding-top: 13px; }

#boxes .news li { background: url(images/ico_li.png) no-repeat 0 3px; padding: 0 0 0 14px; font-size: 12px; }
#boxes .conferences dt { float: left; width: 51px; }
#boxes .conferences dd { width: 170px; display: block; float: left; }

#boxes #banner { width: 220px; height: auto; float: left; margin: 22px 0 0 0; background: #f5f5f5;}

#boxes #links { width: 943px; clear: both; float: left; margin: 13px 0 0 0; padding: 15px 0 0 0; border-top: 1px solid #ccc;}
#boxes #links h3 { width: auto; margin: -4px 15px 0 0; }
#boxes #links .links { font-size: 12px; } 

#boxes .menu { width: 200px; margin: 0 20px 0 0; }
#boxes .menu h3 { width: 200px; }
#boxes .menu ul { width: 200px; border-top: 1px solid #c9c9c9; font-size: 1.1em; }
#boxes .menu li { border-bottom: 1px solid #c9c9c9; padding: 4px 0 3px 25px; background: url(images/ico_menu.png) no-repeat 13px 10px; font-weight: bold; }
#boxes .menu li ul { width: 175px; border: none; font-size: 12px; }
#boxes .menu li ul li { border-bottom: none; }
		
#boxes .post { padding: .5em 0 1em 0; margin: 0 0 1em 0; border-bottom: 2px solid #ccc; } 
#boxes .text { width: 496px; margin: 0 20px 0 0; }
#boxes .category { width: 716px; margin: 0 20px 0 0; }
#boxes .text .content, #boxes .category .content { line-height: 1.35em; clear: both; }
#boxes .text .content p, #boxes .category .content p { font-size: 13px; text-align: justify; margin: .5em 0 .5em 0; line-height: 1.75em; }
#boxes .text .content a { text-decoration: underline; }
#boxes .text .content a:hover { text-decoration: none; color: #666; } 
#boxes .text .content ul { margin: .5em 0 .5em 0; }
#boxes .text .content li, #boxes .category li { margin: 0 0 0 2em; list-style: circle; font-size: 13px; }
#boxes .text h2, #boxes .category h2 { font-family: Georgia, serif; font-size: 1.4em; padding: 22px 0 10px 0; }
#boxes .text h3, #boxes .category h3 { font-family: Arial, sans-serif; font-size: 1.3em; margin: 0; float: left; width: auto; }
#boxes .category h3 { padding: 0 0 .25em 0; }
#boxes .text h4 { clear: left; font-size: 13px; margin: 1.5em 0 .5em 0; }
#boxes .text p.date, #boxes .category p.date { float: right; width: auto; clear: none; color: #666; }

#boxes .text .content .zdjecia a { display: block; float: left; margin: 0 10px 10px 0; }
#boxes .text .content .gallery li { list-style: none; }
#boxes .text .content .gallery li a { text-decoration: none; }

#boxes .text .content .wp-caption img { display: block; padding: 3px; border: 1px solid #ccc; background: #eee; }
#boxes .text .content .wp-caption p.wp-caption-text { margin: 0; padding: 2px 5px 10px 5px; font-style: italic; }

#boxes .text .content ul.partners li { padding: .25em 0 1em 0; } 

#boxes table { font-size: 12px; display: block; margin: .5em 0 .5em 0; }
#boxes th { background: #ccc; }
#boxes td, #boxes th { border: 1px solid #ccc; padding: 3px 7px 3px 4px; }
#boxes .strong { background: #eee; }


.contact { padding: 1em 0 1em 0; }
.contact h4 { font-family: Georgia, serif; font-size: 1.3em; color: #841618; padding: 0 0 .75em 0; }
#boxes .contact p.line { clear: both; padding: 0; }
.contact input, .contact textarea { width: 250px; margin: 0 0 .75em 0; background: #ffeff0; border: 1px solid #a95b5d; color: #a95758; padding: 2px 3px; float: left; clear: left; font-family: Verdana, sans-serif; font-size: 1em; }
.contact textarea { overflow: hidden; }
.contact #send { border: 1px solid #360003; background: #841618; color: #dababa; width: auto; }
.contact .req { display: block; float: left; padding: 3px 0 0 5px; font-size: 1.5em; color: #841618; }
.contact .disclaimer { color: #841618;  }


/* 2.1	Footer
-----------------------------------------------------------------------------------------------*/
	
#footer { text-align: left; width: 100%; background: #841618 url(images/bg_footer.png) repeat-x; color: #ccc; font-size: 11px; }
#footer .inner { margin: 0 auto; width: 996px; height: 170px; background: url(images/bg_foot.png) no-repeat; }
#footer #foot-logo { text-transform: uppercase; float: left; padding: 21px 40px 0 53px; font-size: 10px; }
#footer #creatio { margin: 30px 0 0 0; float: left; }
#footer a { color: #ccc; }
#footer .center a:hover, #footer #creatio a:hover { text-decoration: underline; }	
#footer .center { width: 640px; float: left; padding: 30px 0 0 0; line-height: 1.35em; }