html, body, h1, h2, h3, h4, h5, h6, form, fieldset {
	margin: 0;
	padding: 0;
}
fieldset, a img {
	border: none;
}


html {
	min-height: 100%;
	background: url(images/bg.png) center 185px no-repeat #efefef;
}



#page-container{
	display:block;
	width: 960px;
	margin:0 auto;
}

body {
	margin: 0 auto;
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 12px;
	color: #516E8A;
	background: url(images/top-bg.png) repeat-x top left;

}

body.bg1{
		background: url(images/bg-1.png) repeat-x top center;
}
body.bg2{
		background: url(images/bg-2.png) no-repeat top center;
}
body.bg3{
		background: url(images/bg-3.png) no-repeat top center;
}

body.bg1 #logo,
body.bg2 #logo,
body.bg3 #logo{
	background: none;
}



ul.clear, ol.clear {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
	color: #71aade;
}
a:hover {
	text-decoration: underline;
}

#top {
	height: 35px;
	background-color: #1f5383;
	text-align: right;
	font-size: 11px;
	color: #dedede;
}
#top a {
	color: #dedede;
}
#top ul {
	list-style-type: none;
	display: inline-block;
	margin: 0 11px 0 0;
	padding: 0;
	vertical-align: middle;
}
#top ul li {
	display: inline;
}
#top ul.borders li {
	padding: 0 8px;
	border-left: 1px solid #dedede;
}
#top ul.borders li:first-child {
	border-left: none;
}
#top ul.light {
	padding: 0 1px 0 2px; 
	height: 17px;
	line-height: 17px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: #5d83a6;
	vertical-align: middle;
}
#top ul.light a {
	margin: 0 4px 0 3px;
}
#top ul.light a img {
	vertical-align: middle;
}
#top ul.dark {
	/* TODO: font-family: */
}
#top ul.dark li:first-child {
	margin-left: 0;
}
#top ul.dark li a {
	display: inline-block;
	margin-left: 2px;
	padding: 0 5px;
	height: 18px;
	line-height: 18px;
	background: #16436c;
	color: white;
}
#top ul.dark li:first-child a {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}
#top ul.dark li:last-child a {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
}

#logo {
	/*
	padding-top: 17px;
	height: 116px;
	line-height: 116px;
	*/
	position: relative;
	height: 133px;
	line-height: 133px;
	background: url(images/logo.bg.png) 0 center no-repeat;
	font-size: 32px;
}
#logo:before {
	position: absolute;
	top: 0;
	/* left: -235px; */
	left: 50%;
	margin-left: -715px;
	width: 102px;
	height: 150px;
	background: url(images/logo.line.png);
	content: "";
}
#logo a {
	margin-left: 17px;
	font-family: 'HelveticaNeueLTPro77BdCn';
	text-shadow: #bbb 1px 1px;
	color: white;
}
#logo a:hover {
	text-decoration: none;
}
#logo a img {
	vertical-align: middle;
}
#logo form {
	position: absolute;
	right: 0;
	bottom: 0;
	line-height: 100%;
}
#logo fieldset {
	padding: 7px 10px;
	background: rgba(0, 0, 0, 0.03);
}
#logo form input {
	height: 21px;
	border: none;
	border-radius: 5px;
	-moz-border-radius: 5px;
	vertical-align: middle;
}
#logo form input:first-child {
	width: 155px;
	padding: 0 7px;
	font-size: 11px;
	color: #98b0c6;
}
#logo form input:first-child + input {
	margin-left: 5px;
	font-family: 'HelveticaNeueLTPro45Light';
	font-size: 14px;
}

#menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 33px;
	line-height: 33px;
	border-bottom: 1px solid #7291ae;
	background: #1f5383;
	font-family: 'HelveticaNeueLTPro45Light';
	font-size: 14px;
}
#menu li {
	display: inline-block;
	height: 33px;
	background: url(images/top-menu-bg-separator.png) top right no-repeat;
}
#menu li:first-child {
	padding-left: 15px;
	border-left: none;
}
#menu a {
	color: white;
	height:33px;
	padding-right:27px;

}

#main {
	padding-top: 8px;
}

#breadcrumb {
	margin-bottom: 8px;
	padding: 0 10px;
	font-size: 12px;
	color: #1f5383;
}
#breadcrumb a {
	color: #7da1c3;
}
#breadcrumb ul {
	float: right;
	margin: 0;
	padding: 0;
}
#breadcrumb ul li {
	display: inline;
}
#breadcrumb ol {
	display: inline;
	list-style-type: none;
	margin: 0 0 0 3px;
	padding: 0;
}
#breadcrumb ol li {
	display: inline;
	margin-right: 4px;
	padding-left: 11px;
	background: url(images/breadcrumb.arrow.png) left center no-repeat;
}
#breadcrumb ol li:first-child {
	padding-left: 0;
	background: none;
}

#events + #content {
	float: right;
	width: 720px;
}

#footer {
	clear: both;
	margin-top: 14px;
	padding-left: 11px;
	height: 36px;
	line-height: 36px;
	border-top: 5px solid #95abc0;
	background: #e1e8ef;
	font-size: 11px;
	color: #8e8a89;
}
#footer a {
	color: #8e8a89;
}
#footer ul {
	list-style-type: none;
	float: right;
	margin: 0;
	padding: 0;
}
ul#footer-menu {
    float: none;
}
#footer ul li {
	display: inline;
	padding: 0 8px;
	border-left: 1px solid #8e8a89;
}
#footer ul li:first-child {
	border-left: none;
}
#footer ul li:last-child {
	padding-right: 11px;
}


div.hr {
	clear: both;
	margin: 5px 0;
	height: 1px;
	background: #b0bac3;
}

.box div.hr {
	margin: 10px 0;
	border-top: 1px solid #f4f7f9;
	border-bottom: 1px solid #eef2f6;
	background: #e4eaf0;
}


#content>div.hr:last-child{
	display:none;
}

.box {
	margin: 10px 0;
	padding: 1px 10px;
	border: 1px solid #f5f5f5;
	border-width: 1px 0;
	background: white;
	overflow: auto;
}
.boxblog {
	margin: 10px 0;
	padding: 0px 0px;
	border: 1px solid #f5f5f5;
	border-width: 1px 0;
	background: white;
	overflow: auto;
}

#content .box{
	padding:10px;
	overflow: visible;
}

#content .box.single-board-member,
#content .box.column-container {
	/* This one doesn't contain .more so:
	 * 1) auto is safe
	 * 2) needed because of floated content
	 */
	overflow: auto;
}

#content > .box:first-child,
#content > .post-navigation:first-child + .box {
	margin-top: 0;
}
h1 + .box {
	margin-top: 5px;
}
.box.links {
	list-style-type: none;
	font-size: 18px;
}
.box.links li {
	border-bottom: 1px solid #efefef;
}
.box.links li a {
	display: block;
	padding-left: 9px;
	height: 42px;
	line-height: 42px;
	color: #1f5383;
}
.box.links li a:hover {
	background-color: #1f5383;
	text-decoration: none;
	color: white;
}
.box.links li a span {
	border-left: 2px solid #8fa9c1;
	margin-left: 11px;
	padding-left: 11px;
	font-size: 14px;
}
p {
	margin: 10px 0;
	padding: 0;
}

.box p,
.box .text-content{
	text-align: justify;
}
#homeleft .box p,
.box .text-content{

	margin:10px;
}

h2 + br + p {
	margin-top: 0;
}
h2 + br + img {
	margin-top: 0 !important;
}
h2 + br + img + p {
	margin-top: 0;
}
h1,
.page-template-single-kariera-php h2,
#team-contact-data h2,
#program-board h2,
.press-releases h2.year{
	padding: 8px 10px;
	border: 1px solid #eff2f5;
	border-width: 1px 0;
	background: #dee5eb;
	text-align: center;
	font-family: 'HelveticaNeueLTPro35Thin';
	font-weight: normal;
	font-size: 24px;
	color: #1f5383;
}
.no-logo-partner-description-container h1,
.no-logo-partner-description-container h3{
	border:none;
	font-size:15px;
}


.page-template-single-kariera-php h2{
	background-color:#c6d3db;
	font-size:20px;
	color:#31638b;
	display: block;
	width: 700px;
	padding: 8px 10px ;
	margin: 2px 0 -8px 0 ;
	text-align: left;
	
}

#team-contact-data h2,
#program-board h2,
.press-releases h2.year{
	padding:5px 0px;
	width: 100%;
	display: block;
	margin: 10px 0 0 0;
		
}


#team-contact-data .box{
	margin-top: 0;
	padding-top: 5px;
}


.box h1 {
	margin-left: -10px;
	width: 100%;
}
h1 span {
	font-size: 14px;
}
h2 {
	position: relative;
	display: inline-block;
	margin: 15px 0 5px;
	padding: 7px 14px 7px 7px;
	width: 460px; /* 480 - 14 - 7 */
	background-color: white;
	font-family: 'HelveticaNeueLTPro35Thin';
	font-weight: normal;
	font-size: 17px;
	color: #1f5383;
}

h2 a {
	color: #1f5383;
}
.box h2 {
	margin: 7px 0 15px -10px;
	background-color: #e1e6ea;
}
h2 span {
	margin-left: 15px;
	padding-left: 12px;
	border-left: 1px solid #87a1b9;
	font-size: 13px;
}
h2 .more {
	position: absolute;
	top: 0;
	left: 100%;
	display: inline;
	margin: 6px 0 0 4px;
}
h3 {
	font-family: 'HelveticaNeueLTPro45Light';
	font-weight: normal;
	font-size: 18px;
}
.box > h3:first-child { /* this should be h2 probably */
	margin-top: 5px;
}
h3 + h3 {
	margin-top: 5px;
}
img.l,
img.alignleft {
	float: left;
	margin: 0 10px 0px;
}
.box img.l,
.box img.alignleft {
	margin-left: 0;
}
img.r,
img.alignright {
	float: right;
	margin: 10px;
}
.box img.r,
.box img.alignright {
	margin-right: 0;
}
.wp-post-image {
	border: 1px solid #90acc6;
	box-shadow: #90acc6 0 0 5px;
	-moz-box-shadow: #90acc6 0 0 5px;
	-webkit-box-shadow: #90acc6 0 0 5px;
}
#constpartners .wp-post-image,
#homeright .inpress .wp-post-image {
	border: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	vertical-align: middle;
}


.l {
	text-align: left;
}
.c {
	text-align: center;
}
.r {
	text-align: right;
}

.input {
	height: 21px;
	border: none;
	border-radius: 5px;
	-moz-border-radius: 5px;
	vertical-align: middle;
	font-size: 12px;
}
.input.blue {
	background: -moz-linear-gradient(top, #2696eb 0, #2481d2 50%, #2063a5 100%);
	background: -o-linear-gradient(top, #2696eb 0, #2481d2 50%, #2063a5 100%);
	background: -webkit-linear-gradient(top, #2696eb 0, #2481d2 50%, #2063a5 100%);
	background-color: #2484d5;
	color: white;
}

.more {
	display: inline-block;
	padding: 0 10px 0 3px;
	height: 19px;
	line-height: 19px;
	border: 1px solid white;
	border-left: none;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	background: url(images/more.bg.blue.png) center center repeat-x;
	font-family: 'HelveticaNeueLTPro45Light';
	font-size: 12px;
	color: white;
}
.more:before {
	position: absolute;
	margin: -1px 0 0 -14px;
	width: 12px;
	height: 21px;
	background: url(images/more.before.blue.png);
	content: ""
}

.huge {
	font-size: 22px;
}

.widebox {
	padding: 2px;
	background: #dee5eb;
}
.box > .widebox {
	margin-left: -10px;
	width: 716px;
}
.widebox > div {
	padding: 11px 0 11px 45px;
	border: 1px solid #f6f8f9;
}
.widebox a {
	color: #1f5383;
}
.widebox a img {
	margin-right: 15px;
	vertical-align: middle;
}



.box.withmore {
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 15px;
	overflow: visible;
}
.box.withmore:after {
	display: block;
	clear: both;
	content: "";
}
.box.withmore .more {
	position: absolute;
	right: 10px;
	bottom: -10px;
}
.box.withmore h2 .more {
	right: auto;
}


.ngggallery {
	display: inline-block;
	margin: 20px 18px 15px 15px;
	padding-bottom: 15px;
	width: 295px;
	vertical-align: bottom;
	overflow: hidden;
}
.ngggallery .more {
	margin-top: 5px;
	float: right;
	display: none;
}
.ngg-gallery-thumbnail-box {
	margin: 5px 0;
}


.contacttop {
	background: white url("data:image/bmp,BM%3A%00%00%00%00%00%00%006%00%00%00(%00%00%00%01%00%00%00%01%00%00%00%01%00%18%00%00%00%00%00%04%00%00%00%13%0B%00%00%13%0B%00%00%00%00%00%00%00%00%00%00%EF%EF%EF%00") 357px top repeat-y;
	overflow: auto;
	padding-top: 10px;
}
.contacttop .right {
	float: right;
	padding-top: 10px;
	margin-left: 30px;
	width: 340px;
}
.contacttop .right h3 {
	font-size: 18px;
}
.contacttop .right p {
	-moz-column-count: 2;
	-o-column-count: 2;
	-webkit-column-count: 2;
}


ul.contact {
	margin-top: 3px;
}

ul.contact li {
	display: inline-block;
	width: 49%;
/*  overflow: auto;*/
	vertical-align: top;
	min-height: 150px;
	margin:5px 0 10px 0;
	line-height: 160%;
}
ul.contact li h3 {
	margin-bottom: 5px;
	margin-top:10px;
}
ul.contact li img.l {
	margin-left: 10px;
}




.post-navigation {
	overflow: auto;
}
.post-navigation a[rel="next"] {
	float: right;
}

.galleryfilter {
	padding: 0 10px;
	height: 40px;
	line-height: 40px;
	background: #1f5383;
	color: white;
}
.galleryfilter > div {
	display: inline-block;
}
.galleryfilter > div select,
.galleryfilter > div input[type="text"] {
	margin: 0 5px;
	width: 140px;
	border: 1px solid #50492f;
	font-size: 11px;
}
.galleryfilter > div input[type="text"] {
	width: 72px;
}
.galleryfilter .more {
	margin-left: 25px;
	vertical-align: middle;
	box-shadow: rgba(255, 255, 255, 0.4) 0 0 0 1px;
	-moz-box-shadow: rgba(255, 255, 255, 0.4) 0 0 0 1px;
	-webkit-box-shadow: rgba(255, 255, 255, 0.4) 0 0 0 1px;
}


h3.career {
	margin-left: -10px;
	padding: 0 10px;
	width: 100%;
	height: 44px;
	line-height: 44px;
	border-top: 3px solid #efefef;
	border-bottom: 1px solid #c6d3dc;
	font-weight: bold;
	font-size: 12px;
}
ul.career {
	margin-top: 0;
	padding: 10px 0 0 15px;
	border-top: 1px solid #e8edf1;
}


.single-about {
	margin: 10px 0 0;
	padding: 0;
	font-family: 'HelveticaNeueLTPro45Light';
	font-size: 14px;
}
.single-about li {
	display: inline-block;
	padding: 0 10px;
	height: 23px;
	line-height: 23px;
	background: white;
}


.mediapartners {
	padding-top: 10px !important;
}
.mediapartners .wp-post-image {
	border: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}


.rada-programowa .wp-post-image {
	border: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

#team-contact-data .box{
}

#team-contact-data span{
	background: none;
	padding: 0;
	display: block;
	line-height: 16px;

}


#team-contact-data span:before{
	content:'';
	visibility: hidden;
	padding: 0;	
}

#team-contact-data .photo-container{
	display: block;
	float:left;
	width:170px;
	height: 150px;
}

#team-contact-data .box{
	padding:0;
	
}


#team-contact-data strong{
	color:#597b9f;
}

#team-contact-data span.tel,
#team-contact-data span.email{
	padding-top:10px;
}

.column-container{
	overflow:hidden;
}

.column-container .column{
	float:left;
	display: block;
	width:340px;
}

.column-container .column + .column {
	margin-left: 20px;
}


.single-partner{
	overflow: hidden;
}


.single-board-member{
	overflow: hidden;
}


.board-member-photo,
.board-member-description{
	float: left;
}

.board-member-photo{
	width:130px;
	margin-right: 10px;
}

.board-member-description{
	width:540px;
	margin-right:20px;
}
