@import url("reset-min-clear.css");

HTML, BODY { height: 100%; }
HTML { background: url(img/ydf_bodybg.png) repeat-x; }
BODY { font-size: 62.5%; font-family: Georgia, Times, 'Times New Roman', serif; }

.container { width: 750px; margin: 0 auto; }
HR { display: none; }
* A { outline: none; }

#header { position: relative; z-index: 15; }
	#topsearch { height: 37px; }
		#searchform { float: right; margin: 5px 0 0; }
			#searchform LABEL { display: none; }
			#searchform #s { padding: 2px; }
			#searchsubmit { }
	#header-inner { border: 1px solid #4c3724; border-bottom: none; overflow: hidden; }
	
	#homeslide { height: 188px; width: 560px; position: relative; z-index: 1; margin-left: 188px; overflow: hidden; }
	
	H1, .h1 { display: block; width: 188px; height: 188px; float: left; }
	H1 A, .h1 A { display: block; width: 188px; height: 187px; background: url(img/ydf_logo.png) no-repeat; }
	H1 A SPAN, .h1 A SPAN { display: none; }
	
	#header IMG { float: left; }
	
	#menu { font-size: 1.5em; float: left; background: #4c3724; width: 100%; } 
	#menu LI { float: left; text-align: center; }
	#menu A { display: block; padding: 6px 12px 7px 12px; }
	#menu A:link, #menu A:visited { color: #fff; text-decoration: none; }
	#menu LI:hover A, #menu LI.current_page_item A, #menu LI.current_page_parent A { text-decoration: underline; color: #ffecb8; }
	
	
	
	/*  Submenus  */
	#menu UL A:hover, #menu UL LI.current_page_item A { background: #dbd7d3; color: #4c3724 !important; } 
	#menu LI:hover UL A { text-decoration: none; color: #fff; } 
	#menu LI UL { display: none; position: absolute; z-index: 1000; }
	#menu LI UL LI { clear: left; text-align: left; background: #4c3724; }
	#menu LI UL LI A { width: 190px !important; border-top: 1px solid #847b74; padding: 6px 10px 6px 16px; }
		/*  'Donate' submenu smaller than 190px; */
		#menu LI.page-item-59 UL LI A { width: 140px !important; }
		/*  'Our Work' submenu  */
		#menu LI.page-item-32 UL LI A { width: 250px !important; }
	#menu LI:hover UL { display: block; }
	
.navigation { font-size: 1.1em; margin-bottom: 10px; }

#content { margin-top: 25px; position: relative; z-index: 10; }

/*  Link styles  */
	#content A:link, #content A:visited { color: #084; /* 063 too light */ font-weight: bold; text-decoration: none; }
	#content A:hover, #content A:active { color: #063; text-decoration: underline; }

	P.postmetadata A { font-weight: normal !important; }

	P { font-size: 1.2em; color: #555; /* #666 in design */ margin: 0 0 1.5em; line-height: 1.5em; }
	SMALL.post-date { font: 11px "Lucida Grande", Tahoma, Arial, sans-serif !important; color: #777; display: block; margin-bottom: 1em; }
	
	H1, H2, H3, H4 { letter-spacing: -0.01em; }
	H2 { font-size: 1.6em; font-style: italic; margin: 0 0 1.4em; line-height: 1.5em; }
	H3 { font-weight: bold; font-size: 1.4em; font-style: italic; margin: 0 0 1em; line-height: 1.5em; }
	H4 { font-size: 1.2em; margin: 0 0 1em; line-height: 1.5em; }
	
	.post-title { margin-bottom: 2px; }
	.post-in-list { border-bottom: 1px solid #ddd; margin-bottom: 15px; }
	
	STRONG { font-weight: bold; }
	EM { font-style: italic; }
	
	#content UL { list-style: disc; margin-left: 3em; margin-bottom: 1.8em; color: #555; }
	#content UL UL { margin-bottom: 0; }
	#content UL LI { font-size: 12px; line-height: 1.5em; margin-bottom: 0.2em; }

	#content .quote:before { content: open-quote; }
	#content .quote:after { content: close-quote; }
	
	.rightlink { position: relative; margin-top: -0.5em; text-align: right; }
	
	#content #breadcrumbs A, #content #breadcrumbs STRONG { font-weight: normal; }

/*  Template A  */
	
	.post-left { float: left; width: 474px; overflow: hidden; padding: 0 20px 0 0; border-right: 1px solid #cfcfcf; }
	.post-right { float: left; width: 235px; padding: 0 0 0 20px; }
	
	#sidebar-prezimg IMG { margin-right: 14px; float: left; }
	#sidebar-prezimg SPAN { display: block; float: left; color: #493523; position: relative; margin-top: 30px; }

	.home-panel { margin-bottom: 20px; width: 218px; }
	.home-panel H3 { color: #fff; font-size: 1.2em; font-weight: normal; font-style: italic; padding: 0 0 0 10px; margin: 0; height: 18px; background: url(img/ydf_homepanel_h3bg.png) no-repeat; }
	.home-panel IMG { margin-bottom: 15px; }
	
	#social-fb { display: block; background: url(img/social/facebook.gif) no-repeat; padding: 10px 0 10px 48px; }

/*  Template B2  */
	
	#b2_sidesponsor { width: 188px; border: 1px solid #cfcfcf; margin: 0 auto; background: #fff; }
	#b2_sidesponsor IMG { margin-bottom: 15px; }
	#b2_sidesponsor P { margin-left: 10px; margin-right: 10px; }

/*  Template B1  */

	.b1_photobox { float: left; width: 280px; margin: 0 15px 15px 0; }
	.b1_photobox IMG { display: inline; padding: 3px; border: 1px solid #c8c1bb; margin-bottom: 10px; } 
	.b1_photobox SMALL { display: block; clear: both; font-size: 1.1em; color: #999; }

/*  Template D1  */

	#d1_donate { border: 1px solid #cfcfcf; background: #fff; width: 231px; margin: 0 auto 15px; }
	#d1_donate IMG { margin-bottom: 15px; }
	#d1_donate H3 { text-align: center; }
	
	#d1_donate UL { list-style: none; margin-left: 0; font-size: 1em; margin-bottom: 0; }
	#d1_donate UL LI { float: left; margin-bottom: 10px; }
	#d1_donate UL LI B { float: left; display: inline-block; width: 60px; padding-right: 10px; text-align: right; font-weight: normal !important; letter-spacing: -0.02em; line-height: 1em; font-size: 1.8em; color: #063; }
	#d1_donate UL LI SPAN { float: left; display: inline-block; width: 150px; color: #666; }
	
/*  Template D2  */

	.d2_h3 { background: #063; color: #fff; font-weight: normal; padding: 1px 10px; }
	
	.d2_dl { font-size: 1.2em; color: #666; margin: 15px 0; }
	.d2_dl DT, .d2_dl DD { float: left; margin-bottom: 15px; }
	.d2_dl DT { font-weight: bold; clear: left; width: 150px; padding: 0 20px 0 0; text-align: right; }
	.d2_dl DD { padding-left: 20px; }

/*  Template E1  */
	
	/* see also style.css */
	.program-box { width: 100%; }

/*  Content Items  */

	.donatenow { position: relative; margin-top: -14px; }
	
/*  YDF FORM items  */
	
	.yf-donate { font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
	.yf-donate-make { color: #e59700; }
	#content .yf-donate UL { margin-left: 0; }
	.yf-donate UL, .yf-donate LI { list-style: none; }
	.yf-donate LI { float: left; margin-right: 10px; font-size: 1.2em; }
	.yf-donate .yf-otherval { position: relative; margin-top: -2px; }
	
	.button-green-out { float: left; display: block; padding: 1px; border: 1px solid #00c562; }
	.button-green-out A { background: url(img/ydf_gbuttonbg.png) repeat-x; padding: 6px 12px; display: block; font: 14px 'Lucida Grande', 'Lucida Sans Unicode', Lucida, Arial, sans-serif; }
	.button-green-out A:link, .button-green-out A:visited { color: #fff !important; }
	
	.ppdonate { display: block; padding-bottom: 15px; }
	.ppdonate SELECT#programsdd { position: absolute; margin: 8px 0 0 10px; }
	
	.ppdonate.recurring { margin: 0 20px 0 0; float: left; }
	.ppdonate.recurring.last { margin-right: 0; }


#footer { z-index: 0; position: relative; margin: -255px -90px 0; padding: 275px 90px 25px; background: url(img/ydf_norbu.png) top right no-repeat; }
	#footermenu { font-size: 1.3em; text-align: center; float: left; width: 100%; padding: 10px 0 30px; border-bottom: 1px solid #d5d5d5; margin: 0 0 16px; }
	#footermenu LI { display: inline; border-right: 1px solid #999; }
	#footermenu A { padding: 3px 11px 3px 10px; }
	#footermenu A:link, #footermenu A:visited { color: #4a3624; text-decoration: none; }
	#footermenu A:hover { text-decoration: underline; }
	#footermenu LI:last-child { border-right: none; }
	
	#footer P { text-align: center; color: #818181; font-size: 1.2em; line-height: 1.5em; letter-spacing: -0.01em; }
