html, body {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 12px;
    background: #fff;
    color: #000;
    margin: 0;
    padding: 0;
}
img {
    border: none;
    margin: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: underline;
}

#container1 {
    width: 960px;
    margin: 0 auto;
    background: #f9f9f9;
}
#topheader {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 13px;
    color: #999;
    background: #f2f2f2;
    line-height: 30px;
    position: relative;
}
#topheader #data {
    float: left;
    margin: 0 20px 0 0;
}
#topheader #imieniny {
    text-align: right;
    margin: 0 0 0 20px;
}
#header {
    position: relative;
    height: 159px;
    background: url(/images/homepage-header.png) left bottom repeat-x;
}
#header-anchor {
    position: absolute;
    left: 160px;
    top: 15px;
}
#topmenu {
    position: absolute;
    left: 0;
    bottom: 0;
}
#nav {
    margin: 0;
    padding: 0 20px 2px 10px;
    list-style: none;
    font-family: Georgia, serif;
    font-size: 18px;
    color: #000;
}
#nav li {
    float: left;
    margin: 0;
}
#nav li.last {
    margin: 0;
}
#nav li a {
    display: block;
    color: #808184;
    padding: 8px 10px;
    border-top: solid 1px transparent;
    border-left: solid 1px transparent;
    border-right: solid 1px transparent;
}
#nav li a:hover {
    text-decoration: none;
    color: #ff7f00;
}
#nav li a.current {
    color: #ff7f00;
    background: #fff;
    border-top: solid 1px #bbb;
    border-left: solid 1px #bbb;
    border-right: solid 1px #bbb;
}
#nav li a#nav-ksiegarnia-anchor {
    color: #7cc576;
}

#container2 {
    height: auto;
    padding: 20px 0;
    position: relative;
}

#topnews {
    height: 264px;
    position: relative;
    padding: 0 20px;
	margin-bottom: 6px;
}
#most-important {
    float: left;
    width: 685px;
    height: 264px;
    position: relative;
    overflow: hidden;
}
#most-important-placeholder {
    width: 685px;
    height: 264px;
    line-height: 264px;
    text-align: center;
    background: #ccc;
}
#most-important .element {
    float: left;
    width: 685px;
    height: 264px;
    position: relative;
}
#most-important .element img,
#most-important .element .image-placeholder {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 470px;
    height: 264px;
}
#most-important .element .image-placeholder {
    background: #ccc;
    line-height: 264px;
    text-align: center;
}
#most-important .element div {
    position: absolute;
    left: 470px;
    top: 0;
    width: 215px;
    height: 264px;
    color: #fff;
    background: #333;
    font-family: Tahoma, sans-serif;
}
#most-important .element div.superimportant {
    /*background: #e00000;*/
    background: #ffd800;
    color: #000;
}
#most-important .element div.mostsuperimportant {
    background: #e00000;
}

#most-important .element div.superimportant a {
    color: #000;
}
#most-important .element h2 {
    margin: 0;
    padding: 16px;
    font-size: 20px;
    font-weight: normal;
    overflow: hidden;
}
#most-important .element div.superimportant h2 {
    /*text-transform: capitalize;*/
}
#most-important .element p {
    position: absolute;
    left: 16px;
    bottom: 10px;
    width: 175px;
    font-size: 14px;
}
#most-important .element p span{
	color: red;
}
#most-important .element span {
    display: block;
    position: absolute;
    left: -470px;
    bottom: 0;
    width: 470px;
    height: 29px;
    line-height: 29px;
    background: #000;
    color: #ccc;
    opacity: 0.7;
    text-align: right;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 17px;
    font-weight: bold;
}
#most-important .element span a {
    margin-right: 20px;
}
#most-important ul {
    position: absolute;
    left: 3px;
    bottom: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#most-important ul li {
    float: left;
    margin: 0 4px 0 0;
    padding: 0;
    border: solid 1px #fff;
    color: #fff;
    background: #000;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 12px;
    font-weight: bold;
}
#most-important ul li.current {
    border: solid 1px #ED1C24;
    background: #ED1C24;
}
#most-important ul a {
    display: block;
    padding: 2px 7px;
}
#latest-news {
    margin-left: 685px;
}
#latest-news ul {
	height: 205px;
	position: absolute;
	width: 240px;
	z-index: 10;
       margin: 0;
       padding: 0;
       list-style: none;
    overflow: hidden;   
}
#latest-news ul li {
	display: block;
/*	float: left;*/
	width: 230px;
	z-index: 9;
    position: relative;
    margin: 2px 0px 8px 6px;
}
#latest-news ul li .time {
    position: absolute;
    top: 0px;
    left: 0px;
    font-family: "Arial Narrow", sans-serif;
    font-size: 10px;
    line-height: 150%;
    color: #d35051;
}
#latest-news ul li a {
    display: block;
    margin-left: 2.5em;
}
#latest-news ul li a.first {
    font-weight: bold;
}

#latest-news-more {
	background-color: #f9f9f9;
	bottom: 42px;
	display: block;
	padding-top: 2px;
	position: absolute;
	right: 20px;
	width: 115px;
	z-index: 11;
}

#ad-box-news {
	display: block;
	float: right;
	height: 40px;
	margin: 0;
	padding: 0;
}

#important-container {
    position: relative;
    height: 334px;
    padding: 20px;
    background: url(/images/section-second-row.png) left bottom repeat-x;
}
#important-container .important,
#important-container .comment-right,
#important-container .comment-left {
    position: relative;
    width: 215px;
    height: 304px;
    margin: 0 20px 0 0;
}
#important-container .comment-left {
    position: relative;
    width: 205px;
    height: 304px;
    margin: 20px 20px 20px 20px;
}
#important-container .comment-right {
    width: 195px;
    margin: 0 0 0 20px;
}
#sidebar .comment-right {
    position: relative;
    width: 195px;
    height: auto;
    margin: 0 0 40px 0;
}
#important-container .important h4 {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 213px;
    height: 29px;
    margin: 0;
    padding: 0;
    border-left: solid 1px #ccc;
    border-top: solid 1px #ccc;
    border-right: solid 1px #ccc;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    line-height: 29px;
    color: #404041;
}
#important-container .comment-right h4,
#important-container .comment-left h4,
#sidebar .comment-right h4 {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 195px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: none;
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: normal;
    text-align: right;
    color: #4A461F;
}
#important-container .comment-left h4 {
    left: 0;
    right: auto;
    text-align: left;
    color: #F15A24;
}
#important-container .important img,
#important-container .important div.image-placeholder {
    position: absolute;
    left: 0;
    top: 30px;
    width: 215px;
    height: 121px;
    margin: 0;
    overflow: hidden;
}
#important-container .important div.image-placeholder {
    background: #ccc;
    text-align: center;
    line-height: 121px;
}
#important-container .comment-right img,
#important-container .comment-right div.image-placeholder,
#important-container .comment-left img,
#important-container .comment-left div.image-placeholder,
#sidebar .comment-right img,
#sidebar .comment-right div.image-placeholder {
    position: absolute;
    left: 0;
    top: 60px;
    width: 100px;
    height: 100px;
    margin: 0;
    overflow: hidden;
}
#sidebar .comment-right img,
#sidebar .comment-right div.image-placeholder {
    top: 40px;
}
#important-conatiner .comment-right div.image-placeholder,
#important-conatiner .comment-left div.image-placeholder,
#sidebar .comment-right div.image-placeholder {
    background: #ccc;
    text-align: center;
    line-height: 100px;
}
#important-container .important span {
    display: block;
    position: absolute;
    left: 0;
    top: 161px;
    width: 215px;
    height: 14px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 10px;
    font-weight: normal;
    color: #231f20;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
#important-container .comment-right div.author,
#important-container .comment-left div.author,
#sidebar .comment-right div.author {
    position: absolute;
    left: 100px;
    top: 60px;
    width: 75px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 14px;
    line-height: 110%;
    color: #777;
}
#important-container .comment-left div.author {
    width: 110px;
}
#sidebar .comment-right div.author {
    top: 40px;
}
#important-container .important h2 {
    position: absolute;
    left: 0;
    top: 181px;
    width: 215px;
    height: 49px;
    font-size: 18px;
    font-weight: normal;
    color: #0d5e7b;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
#important-container .comment-right h2,
#important-container .comment-left h2 {
    position: absolute;
    left: 0;
    top: 181px;
    width: 195px;
    height: 153px;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 110%;
    color: #6D6E70;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
#sidebar .comment-right h2 {
    display: block;
    margin: 0;
    padding: 160px 0 0 0;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 110%;
    color: #6D6E70;
}
#important-container .important p {
    position: absolute;
    left: 0;
    top: 230px;
    width: 215px;
    height: 104px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: left;
    color: #231f20;
    line-height: 140%;
}
#important-container .important-placeholder {
    width: 215px;
    height: 304px;
    margin: 0 20px 0 0;
    line-height: 304px;
    text-align: center;
    background: #ccc;
}
#important-container .last {
    margin: 0;
}

#main-container {
    position: relative;
    padding: 0 20px;
}



#footer-container {
    position: relative;
    margin: 0;
    padding: 0;
    background: #292728;
}
#footer {
    position: relative;
    width: 960px;
    margin: 0 auto;
    padding: 24px;
    color: #bbbdbf;
    background: url(/images/footer.png) repeat-y;
}

ul#footer-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "Arial Narrow", sans-serif;
    font-size: 12px;
}
ul#footer-nav li {
    float: left;
    margin: 20px;
    padding: 0;
    color: #ED1C24;
}

ul#footer-nav ul {
    margin: 0;
    padding: 10px 0 0 0;
    list-style: none;
}
ul#footer-nav ul li {
    float: none;
    margin: 0;
    padding: 0;
    color: #999;
}

p#footer-links {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}
p#footer-copyright {
    text-align: center;
    font-size: 10px;
    color: #85999A;
}
#footer a.stale {
    font-weight: bold;
}



.topheader-ad {
    width: 960px;
    margin: 0 auto;
    background: #f2f2f2;
    /*padding: 10px 0;*/
    text-align: center;
}

.topheader-ad div {
    padding: 10px 0;
}

.topheader-ad object {
    padding: 0;
}

.bottom-ad {
    width: 960px;
    margin: 0 auto;
    padding: 10px 0;
}
.middle-ad {
    /*width: 960px;*/
    display: block;
    margin: 0 auto;
    padding: 10px 0;
    text-align: center;
}
.topheader-ad span,
.bottom-ad span,
.middle-ad span {
    display: block;
    font-size: 10px;
    color: #ccc;
    text-align: center;
}
.topheader-ad img,
.bottom-ad img,
.middle-ad img {
    display: block;
    margin: 0 auto;
}

.header-ad {
    display: block;
    position: absolute;
    right: 70px;
    top: 20px;
}

.latest-ad {
	background-color: transparent;
	/*bottom: -16px;*/
        bottom: -6px;
	height: 43px;
	padding-bottom: 15px;
        /*padding-top: 10px;*/
        padding-top: 0px;
       
	position: absolute;
	right: 20px;
	width: 230px;
	z-index: 12;
}
.latest-ad span {
    display: block;
    font-size: 9px;
    color: #ccc;
    text-align: center;
}
.latest-ad img {
    display: block;
    margin: 0 auto;
}

.rightedge-ad {
    display: block;
    position: absolute;
    left: 962px;
    top: 0;
    width: 200px;
}






.fleft {
    float: left;
}
.fright {
    float: right;
}
.clear {
    clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0;
}


/*Style zgodności IE*/

#latest-news a {
    color: #000;
}
#important-container h4 a {
    color: #404041;
}
#important-container h2 a {
    color: #0D5E7B;
}

.article h2 a {
    color: #3B6363;
}

#most-important a {
    color: #fff;
}
#most-important div span a {
    color: #ccc;
}
.section ul li a {
    color:#000;
}

ul.subsections li a, .sec-title h3 a {
    color:#808080;
}

#sidebar .comments h2 a {
    color: #6D6E70;
}

#footer ul li a {
    color: #ED1C24;
}

#footer ul li ul.subsections li a {
    color: #808080;
}
#footer-links a {
    color: #BBBDBF;
}


#latest-news ul li a {
    width: 88%;
}


/*Style newsowe dodane*/

#inside-news {
    height: 205px;
}
#inside-news-more {
    width: 200px;
    display: block;
    font-size: 11px; 
    text-align: right;
    margin:0px 0px 10px 0px;
    color: #0047AF !important;
}


#header-ekspiacja {
    position: absolute;
    left: 835px;
    bottom: 3px;
}

#header-abdykacja {
    width: 182px;
	height: 71px;
    position: absolute;
    left: 768px;
    bottom: 3px;
	background: url('../uploads/Benedictus_XVI_v2.jpg') no-repeat;
}

#header-abdykacja #flagi {
	width: 100px;
	height: 50px;
	margin-top: 5px;
	margin-left: 10px;
	padding:0;
    list-style: none;

}

#header-abdykacja #flagi li {
	width: 24px;
	height: 24px;
	float: left;
	margin-right: 5px;
	opacity: 0.5;
	margin-bottom: -5px
}

#header-abdykacja #flagi li a img {
	width: 20px;
	height: 20px;
}

#header-abdykacja #flagi li:hover {
	opacity: 1;
	
}


#container2 #left-title {
	width: 200px;
	font-size: 50px;
	line-height: 54px;
	color: #ccc;
	float: left;
 	margin: -10px 0 0 20px;
	font-family: 'Domine',serif;
}

#kontener-ekspiacja-baner {
	width: 960px; 
margin-top: 18px;
}

#ekspiacja-baner {
	width: 451px;
	height: 30px;
	margin-left: 27px;
}
#benedictus-baner {
	background: url("../images/uploads/benedictus_xvi_d.jpg") no-repeat scroll 0 0 transparent;
	float: right;
	margin-right: 27px;
	width: 451px;
}
#benedictus-baner #flagi {
	width: 200px;
	height: 30px;
	margin-top: 5px;
	margin-left: 180px;
	padding:0;
    list-style: none;

}

#benedictus-baner #flagi li {
	width: 24px;
	height: 24px;
	float: left;
	margin-right: 5px;
	opacity: 0.5;
	margin-bottom: -5px
}

#benedictus-baner #flagi li a img {
	width: 20px;
	height: 20px;
}

#benedictus-baner #flagi li:hover {
	opacity: 1;
	
}

#header-raport {
    width: 182px;
    height: 71px;
    position: absolute;
    left: 768px;
    bottom: 3px;
    background: url('/images/baner-archeolodzy.jpg') no-repeat;
}
#header-guz {
    width: 182px;
    height: 71px;
    position: absolute;
    left: 768px;
    bottom: 3px;
    background: url('/images/baner-ks-guz.png') no-repeat;
}
#header-sklep {
    width: 182px;
    height: 55px;
    position: absolute;
    left: 740px;
    bottom: 60px;
    background: url('/images/banner-sklep3.png') 0px 0px no-repeat;
}
#header-sklep:hover {
    background: url('/images/banner-sklep3.png') -282px 0px no-repeat;
}
#header-franciscum {
    width: 182px;
    height: 71px;
    position: absolute;
    left: 768px;
    bottom: 3px;
    background: url('/images/papiez-franciszek.png') no-repeat;
}
#franciszek-tekst {
    position: absolute;
    display: block;
    left: 55px;
    top: 57px;
    width: 44px;
    height: 14px;
}
#franciszek-wideo {
    position: absolute;
    display: block;
    left: 105px;
    top: 57px;
    width: 44px;
    height: 14px;
}
#cookie_info {
    background: #808080;
    color: #eee;
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}
#menuboczne {
    position: absolute;
    top: 215px;
    left: 840px;
    width: 48px;
    height: 210px;
}
.mb-przycisk {
    height: 48px;
    width: 48px;
    display: block;
    position: relative;
    float: left;   
}
#mb-obrona {
    background: url(/images/m-button-obrona.png) 0 0 no-repeat;    
}
#mb-obrona:hover {
    background: url(/images/m-button-obrona.png) -96px 0 no-repeat;    
} 
#mb-domowa {
    background: url(/images/m-button-domowa.png) 0 0 no-repeat;    
}
#mb-domowa:hover {
    background: url(/images/m-button-domowa.png) -96px 0 no-repeat;    
}
#mb-misje {
    background: url(/images/m-button-misje.png) 0 0 no-repeat;
    margin-top: 5px;
}
#mb-misje:hover {
    background: url(/images/m-button-misje.png) -96px 0 no-repeat;    
} 
#mb-guz {
    background: url(/images/m-button-guz.png) 0 0 no-repeat;
    margin-top: 8px;
}
#mb-guz:hover {
    background: url(/images/m-button-guz.png) -96px 0 no-repeat;
}
#menuboczne-h {
    position: absolute;
    top: 136px;
    left: 765px;
    width: 210px;
    height: 48px;
    z-index: 100;
}
#menuboczne-h #mb-misje {
    margin-top: 0px;
}
#menuboczne-h #mb-guz {
    margin-top: 0px;
}
#mb2-obrona {
    background: url(/images/m2-button-obrona.png) 0 0 no-repeat;    
}
#mb2-obrona:hover {
    background: url(/images/m2-button-obrona.png) -96px 0 no-repeat;    
} 
#mb2-domowa {
    background: url(/images/m2-button-domowa.png) 0 0 no-repeat;    
}
#mb2-domowa:hover {
    background: url(/images/m2-button-domowa.png) -96px 0 no-repeat;    
}
#mb2-misje {
    background: url(/images/m2-button-misje.png) 0 0 no-repeat;
    margin-top: 5px;
}
#mb2-misje:hover {
    background: url(/images/m2-button-misje.png) -96px 0 no-repeat;    
} 
#mb2-guz {
    background: url(/images/m2-button-guz.png) 0 0 no-repeat;
    margin-top: 8px;
}
#mb2-guz:hover {
    background: url(/images/m2-button-guz.png) -96px 0 no-repeat;
}
#menuboczne-h #mb2-misje {
    margin-top: 0px;
}
#menuboczne-h #mb2-guz {
    margin-top: 0px;
}

/* cookie */
.cookie_content {
    width: 960px;
    margin: 0 auto;
    color: #eee; 
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 12px;
}
.cookie_header {
    margin: 10px 20px;
}
.cookie_text {
    margin: 10px 20px;
    height: 50px;
    overflow-y: scroll;  
}
.cookie_buttons {
    margin: 10px 20px;
}



.button {
    color: white;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}
.button_pref {
    color: white;
    background-color: #2E7BE8;
}