/**
 * Copyright (c)2009, CSD
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @filesource
 * @copyright       		Copyright (c) 2009, CSD	
 * @frontedndeveloper		Krzysztof Safjanowski
 * @license         		http://www.opensource.org/licenses/mit-license.php The MIT License
 */



/* wyzerowanie domyslnych wartosci */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, img, ins, kbd, q, s, samp, small, strike, strong, 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;}
fieldset {border: 0;}
object {display: block;}
table {border-collapse: collapse; border-spacing: 0;}


/* clear */
.clearfix:after {display: block; visibility: hidden; clear: both; height: 0; content: ".";}


/* dostepnosc */
#quick-navigation, .accessibility, .hidden, hr {position: absolute; left: -666em; top: 0; margin-left: -666em; overflow: hidden;}


/* linki */
a {text-decoration: none; color: #795151;}
	a:hover {text-decoration: underline;}
	a:focus {}


/* body */
body {font: 0.625em/1em tahoma, arial, helvetica, sans-serif; background: #f5f5f6 url(../img/site/body.jpg) repeat-x; color: #000;}


/* uniwersytet im. Jana Pawla II */
#uniwersytet {display: table; width: 100%; background: url(../img/site/uniwersytet.jpg) 50% 0 no-repeat;}

/* logo */
img.logo { margin: 15px 0px 0px 0px; }

/* naglowek */
#header {position: relative; margin: 0 auto; height: 125px; width: 938px;z-index: 99}


	#header-menu {position: absolute; top: 0; right: 0; padding: 0 0 0 56px; width: 544px; height: 75px; background: url(../img/site/header-menu.png) no-repeat;}
		#header-menu ul {position: absolute; top: -999em; padding: 22px 0; width: 192px; background: url(../img/site/header-menu.ul.png) 0 0 no-repeat;} /* left offset of submenus need to match */
			#header-menu ul li {width: 100%;}

		#header-menu li {float: left; position: relative;}
			#header-menu li:hover {visibility: inherit;}
			#header-menu li a {display: block; position: relative;}
				#header-menu li:hover ul, #header-menu li.sfHover ul {left: 0; top: 87px; z-index: 99;} /* top */
					#header-menu li:hover li ul, #header-menu li.sfHover li ul {top: -999em;}
						#header-menu li li:hover ul, #header-menu li li.sfHover ul {left: 201px; top: 0;}
								#header-menu li li li:hover ul,	#header-menu li li li.sfHover ul {left: 201px; top: 0;} /* left - match ul width */

		#header-menu a, #header-menu a:visited {font-size: 1.1em; color: #800000;} /* visited pseudo selector so IE6 applies text color */
			#header-menu li a, #header-menu li a:visited {}
				#header-menu li li a, #header-menu li li  a:visited {padding: 11px 0 11px 28px; font-size: 1.1em; color: #800000;} /* visited pseudo selector so IE6 applies text color */
		#header-menu li {}
			#header-menu li li {}
				#header-menu li li li {}
			#header-menu li:hover, #header-menu li.sfHover, #header-menu a:focus, #header-menu a:hover, #header-menu a:active {}
		
		#header-menu #header-menu-aktualnosci {width: 113px; height: 75px; text-indent: -666em; background: url(../img/site/header-menu.li.a.png) no-repeat;}
			#header-menu #header-menu-aktualnosci:hover {background-position: 0 -75px;}
			#header-menu .sfHover #header-menu-aktualnosci {background-position: 0 -75px;}

		#header-menu #header-menu-uczelnia {width: 87px; height: 75px; text-indent: -666em; background: url(../img/site/header-menu.li.a.png) -113px 0 no-repeat;}
			#header-menu #header-menu-uczelnia:hover {background-position: -113px -75px;}
			#header-menu .sfHover #header-menu-uczelnia {background-position: -113px -75px;}

		#header-menu #header-menu-studia {width: 72px; height: 75px; text-indent: -666em; background: url(../img/site/header-menu.li.a.png) -200px 0 no-repeat;}
			#header-menu #header-menu-studia:hover {background-position: -200px -75px;}
			#header-menu .sfHover #header-menu-studia {background-position: -200px -75px;}

		#header-menu #header-menu-studenci {width: 87px; height: 75px; text-indent: -666em; background: url(../img/site/header-menu.li.a.png) -272px 0 no-repeat;}
			#header-menu #header-menu-studenci:hover {background-position: -272px -75px;}
			#header-menu .sfHover #header-menu-studenci {background-position: -272px -75px;}

		#header-menu #header-menu-biblioteka {width: 99px; height: 75px; text-indent: -666em; background: url(../img/site/header-menu.li.a.png) -359px 0 no-repeat;}
			#header-menu #header-menu-biblioteka:hover {background-position: -359px -75px;}
			#header-menu .sfHover #header-menu-biblioteka {background-position: -359px -75px;}


/* prezentacja */
#presentation {height: 188px; background: url(../img/site/presentation.jpg) 50% 0 no-repeat; width: 938px; margin: 0 auto; padding-top: 20px; }

#presentation img{
	margin: auto;
	display: block;
	/*padding: 20px;*/
}


#presentation object {
	display: block;
    margin: auto;
}

/*#presentation div.flash_intro object { margin: auto;
	display: block;
	padding: 20px;
}*/

#presentation div.flash_intro embed { margin: auto;
	display: block;
	padding: 20px;
}

#presentation img.flag { margin: 3px 3px 3px 10px; display: block; padding: 0px; float: right;  vertical-align: middle; padding-top: 20px; }

#presentation p.english_version { text-align: right; display: block; margin-top: 5px; margin-right: 10px; padding-top: 20px; }

/* tresc */
#content {margin: 38px auto 58px; width: 938px; background: url(../img/site/content.gif) 338px 0 no-repeat;}
	#content:after {display: block; visibility: hidden; clear: both; height: 0; content: ".";}

	#content-main {float: right; padding: 0 45px; width: 509px;}

		#content-main-introduction {position: relative; margin: 90px -154px 0 0; padding: 0 109px 82px 0; background: url(../img/site/content-main-introduction.png) 100% 100% no-repeat;}
			#content-main-introduction .introduction-header {font-size: 1.9em; line-height: 1.05em; color: #800000; }
			#content-main-introduction .introduction-content {margin: 30px 0 0; font-size: 1.2em; line-height: 1.66em; color: #333;}
				#content-main-introduction .introduction-content p {margin: 1em 0 0; text-indent: 1em;}
				#content-main-introduction .introduction-content strong {color: #800000;}

		#content-main-article {position: relative; left: 24px; margin: 100px 0 0;}
			#content-main-article .article-header {font-size: 1.4em; line-height: 1.43em; color: #040404;}
			#content-main-article .article-content {font-size: 1.2em; line-height: 1.66em; color: #333;}
				#content-main-article .article-content ol {padding: 0 0 0 3em; list-style: decimal;}
				#content-main-article .article-content ul {padding: 0 0 0 3em;}
				#content-main-article .article-content p {margin: 1.66em 0;}
					#content-main-article .article-content p + ol, #content-main-article .article-content p + ul {margin: 0 0 1.66em}

			#content-main-article #content-main-article-toolbar {float: right; margin: 0; padding: 0;}
				#content-main-article #content-main-article-toolbar li {float: left; margin: 0 0 0 9px;}
					#content-main-article #content-main-article-toolbar li a {float: left;}
                #content-main-article #content-main-article-toolbar p.aktualizacja { font-size: 10px; color: #808080; margin-right: 50px; }

		#content-main-news {margin: 100px 0 0;}
			#content-main-news li {}
				#content-main-news li .news-header {margin: 20px 0 30px;}
					#content-main-news li .news-header h2 {font-size: 1.4em; line-height: 1.43em;}
						#content-main-news li .news-header h2 a {color: #040404;}
					#content-main-news li .news-header dl {overflow: hidden; font-size: 1.1em; line-height: 1.81em;}
						#content-main-news li .news-header dl dt {float: left; margin: 0 6px 0 0;}
					#content-main-news li .news-content {margin: 30px 0 10px; font-size: 1.2em; line-height: 1.66em;}
						
						#content-main-news li .news-content .news-content-read {margin: 10px 0; text-align: right;}

		#content-main-buttons {position: relative; overflow: hidden; margin: 58px 0 58px -48px; width: 600px;}
			#content-main-buttons li {float: left; margin: 0 0 50px 48px; padding: 0 0 0 17px; width: 235px; font-size: 1.2em; line-height: 1.16em; background: url(../img/site/content-main-buttons.li.gif) 0 100% no-repeat;}
				#content-main-buttons li .buttons-image {margin: 0 0 32px;}
					#content-main-buttons li .buttons-image img {display: block;}
				#content-main-buttons li .buttons-content {margin: 32px 0 0;}
					#content-main-buttons li .buttons-content .buttons-content-read {margin: 18px 0 0; text-align: right;}


		#content-main-search { margin: 100px 0 0; }
			#content-main-search .search-header { margin: 20px 0 30px; }
				#content-main-search h2 { font-size: 1.4em; line-height: 1.43em; }
			#content-main-search .search-list li { font-size: 1.4em; line-height: 1.43em; margin: 10px; }
		
	#content-aside {float: left; width: 339px;}

		#content-aside-menu { width: 310px;  margin: 0 0 96px; font-size: 1.2em; line-height: 1.66em;}
			#content-aside-menu li {margin: 8px 0;}
				#content-aside-menu li a {padding: 0 0 0 16px; background: url(../img/site/content-aside-menu.li.a.gif) 0 0.5em no-repeat; color: #333;}
				#content-aside-menu.article li ul li a {
					display: block;
				}
					#content-aside-menu li:first-child a {font-weight: bold;}
					#content-aside-menu li a img {float: left; margin: 0 16px 0 0; padding: 3px; width: 75px;  height: 75px; background: url(../img/site/content-aside-menu.li.a.img.png) no-repeat;}

			#content-aside-menu.article {}
				#content-aside-menu.article li {}
					#content-aside-menu.article li a {background: none; color: #800000;}
						#content-aside-menu.article li:first-child a {font-weight: normal;}
					#content-aside-menu.article li ul {margin: 0 0 0 38px;}

		#content-aside-buttons {}
			#content-aside-buttons li {margin: 45px 0;}
				#content-aside-buttons li a {}
					#content-aside-buttons li a img {display: block;}

/* stopka */
#footer {margin: 0 auto; width: 938px;}

	#footer-box {padding: 23px 0 0; background: #222020 url(../img/site/footer-boxes.png) 50% 0 no-repeat;}
		#footer-box #footer-box-inner {overflow: hidden; padding: 0 0 23px 38px; width: 900px; background: url(../img/site/footer-boxes.footer-boxes-inner.png) 50% 100% no-repeat; color: #fff; font-size: 1.1em; line-height: 1.27em;}
		#footer-box .footer-box {float: left; width: 300px;}
			#footer-box .footer-box dl {}
				#footer-box .footer-box dl dt {font-weight: bold; color: #f4e1c0;}
			#footer-box .footer-box ul {}
				#footer-box .footer-box ul li {overflow: hidden; width: 274px;}
					#footer-box .footer-box ul li a {text-decoration: none; color: #fff;}
		
		#footer-box  #footer-boxes-inner-link {padding: 0 0 0 26px; width: 274px;}
			#footer-box  #footer-boxes-inner-link p {margin: 11px 0 0;}
				#footer-box  #footer-boxes-inner-link p a {text-decoration: none; color: #f4e1c0;}
			#footer-box  #footer-boxes-inner-link ul {margin: 0 0 15px;}

		#footer-box #footer-boxes-inner-details {padding: 0 0 0 26px; width: 274px;}
			#footer-box #footer-boxes-inner-details ul {}
				#footer-box #footer-boxes-inner-details ul li {margin: 11px 0 0;}
					#footer-box #footer-boxes-inner-details ul li:first-child {margin: 0;}
					#footer-box #footer-boxes-inner-details ul li dl {overflow: hidden;}
					#footer-box #footer-boxes-inner-details ul li dl + dl {margin: 0 0 0 6px;}
						#footer-box #footer-boxes-inner-details ul li dl dt {float: left; margin: 0 6px 0 0;}
						#footer-box #footer-boxes-inner-details ul li dl dd {float: left;}

		#footer-box #footer-boxes-inner-newsletter {padding: 0 0 0 62px; width: 238px;}
			#footer-box #footer-boxes-inner-newsletter form {width: 182px;}
				#footer-box #footer-boxes-inner-newsletter form p {overflow: hidden; margin: 11px 0 0;}
				#footer-box #footer-boxes-inner-newsletter form label {display: none;}
				#footer-box #footer-boxes-inner-newsletter form input {}
					#footer-box #footer-boxes-inner-newsletter form input[type="text"] {border-color: #d4d3d3 #979696 #d3d2d2 #8e8e8e; border-style: solid; border-width: 1px; padding: 2px 0; width: 176px;}
					#footer-box #footer-boxes-inner-newsletter form input[type="submit"] {float: right; border: 0; background: none; color: #f4e1c0;} 

	#footer-language {float: left; margin: 0 0 0 22px; font-size: 1.1em; line-height: 4.09em;}
		#footer-language a {}
			#footer-language a:hover {text-decoration: none;}
			#footer-language a span {margin: 0 0 0 8px;}
				#footer-language a:hover span {text-decoration: underline;}
			#footer-language a img {vertical-align: middle;}

	#footer-copyright {float: right; font-size: 1.1em; line-height: 4.09em; color: #a3a2a2;}
	
.pagination {
				font-size: 1.2em;
				text-align: right;
}
	
/* BBcode - EDYTOR */

p.p_left { text-align: left; }
p.p_center { text-align: center; }
p.p_right { text-align: right; }

._italic { font-style: italic; }
._underline { text-decoration: underline; }

p.article-path { color: #800000; margin: 5px 0px 10px 0px; }
span.begin-path { color: #000000; }

div.article-content img.icon { margin: 0px 20px 0px 0px;  vertical-align: middle; float: left;  clear: both; padding: 0px 0px 0px 0px; display: inline; }
div.article-content p img { display: block; margin: 0 auto; }
div.article-content p strong img { display: inline; margin: 0px; padding: 5px 5px 5px 5px; float: none; !important; } 


#content-aside {overflow-x: hidden; }


