/*
Theme Name: Willa Decjusza
Author: paramika.pl
Author URI: http://paramika.pl
Version: 1.0
*/

/*
* 
font-family: 'Open Sans', sans-serif;
*
*/

/*
* przydatne klasy
*/

.clear {
    clear: both;
    float: none !important;
}

.left {
    float: left;
}

.right {
    float: right;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.align-center {
	text-align: center;
}

.no-padding {
    padding: 0 !important;
}

.last-in-row {
    margin-right: 0 !important;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
    display:block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin:0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}


/*
* struktura dokumentu

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	background-color: #f4f4f4;
}
*/

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	background-color: #f4f4f4;
}

a {
	text-decoration: none;
}

.more {
	display: block;
}

header {
	background: url(images/header-bg.jpg) no-repeat top center;
	height: 382px;
}

.wrapper {
	width: 959px;
	margin: 0 auto;
}

#logo {
    float: left;
    margin: 16px 0 0 42px;
}

#logo a {
	display: block;
	width: 136px;
	height: 127px;
	background: url(images/logo.png) no-repeat;
}

#top-links {
	float: right;
	margin-top: 28px;
	margin-bottom: 30px;
}

#top-links > div {
    color: #FFFFFF;
    float: left;
    font-weight: bold;
    margin: 0 5px;
    font-size: 14px;
}

#top-links > div:first-child {
	padding-right: 10px;
}

#search {
	float: right;
	clear: right;
	margin-bottom: 31px;
}

#search input[type="text"] {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    font: normal 11px Arial;
    color: #fff;
    padding: 5px;
}

#search input[type="submit"] {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: url("images/icon-search.png") no-repeat scroll left center transparent;
    border-color: -moz-use-text-color #072B45 -moz-use-text-color -moz-use-text-color;
    border-image: none;
    border-style: none solid none none;
    border-width: 0 1px 0 0;
    color: #FFFFFF;
    font-size: 14px;
    padding-left: 19px;
}

nav {
	clear: right;
	float: right;
	background-color: #015ca5;
	width: 729px;
	height: 38px;
}

nav a {
	color: #fff;
}

nav ul li {
	display: inline-block;
}

nav > ul > li > a,
nav > ul > li > span {
    /*border-right: 1px solid #072B45;*/
    background: url(images/menu-separator.jpg) no-repeat center right;
    color: #FFFFFF;
    display: block;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 19px;
    text-transform: uppercase;
}

nav > ul > li > span {
	cursor: pointer;
}

nav ul > li:last-child > a {
	background: none !important;
}

nav ul li a:hover,
nav ul li a.current {
	color: #549be7;
}

/* menu dropdown */

nav {
    position: relative;
}

nav li {
    position: relative;
}

nav ul ul {   
    display: none;
    float: left;
    margin: 0;
    position: absolute;
    top: 38px; /* was 3.333em */
    left: 0;
    z-index: 99999;
    background: #072b45;
    width: 220px;
    padding: 10px 3px;
}

nav ul ul ul {
    left: 96%;
    top: -400%;
}

nav ul ul li {
    background: none !important;
    border: none !important;
    padding-right: 10px;
    display: block;
}

nav ul ul a {
    height: auto;
    line-height: 1.4em;
    padding: 5px 9px !important;
    width: 100%;
    background: none !important;
    font-weight: normal;
    font-size: 14px;
}

nav ul ul a:hover {
    background: none !important;
}

nav li:hover > a,
nav ul ul :hover > a,
nav a:focus {

}
nav li:hover > a,
nav a:focus {
    /*color: #484848;*/
}
nav ul li:hover > ul {
    display: block;
}
nav .current-menu-item > a,
nav .current-menu-ancestor > a,
nav .current_page_item > a,
nav .current_page_ancestor > a {

}

nav ul {
    /*margin-left: 45px; */
    text-align: center;
}

nav ul li {
    /*float: left;
    display: inline;*/
}

nav ul li a,
nav ul li span {
    display: inline-block;
}

nav ul ul li a {
    text-align: left;
}

nav ul li a:hover {
    color: #549be7;
    opacity: 1;
}

/* menu dropdown */

#slogan {
	float: left;
	clear: left;
	height: 219px;
	width: 231px;
	background-color: #015ca5;
	color: #fff;
	text-align: center;
}

#slogan h1 {
	font-size: 24px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 24px;
	margin-top: 68px;
	margin-bottom: 13px;
}

#slogan h2 {
	font-size: 18px;
	font-weight: normal;
	line-height: 22px;
}

#slider {
	width: 100%;
	height: 219px;
	float: right;
	background-color: #539be7;
}

aside {
	width: 231px;
	float: left;
	background-color: #015ca5;
	color: #fff;
	margin-bottom: 200px;
}

#side-wrapper {
	padding: 0 15px 6px;
	width: 201px;
}

aside a {
	color: #fff;
}

aside h3 {
	background-color: #072b45;
	text-align: center;
	text-transform: uppercase;
	font-style: 16px;
	font-weight: bold;
	padding: 28px 0;
	margin-bottom: 22px;
	font-size: 16px;
}

#nasze_publikacje {
	background-color: #072b45;
	text-align: center;
	text-transform: uppercase;
	font-style: 16px;
	font-weight: bold;
	padding: 28px 0;
	font-size: 16px;
}

#stypendysci {
	background-color: #015ca5;
	text-align: center;
	text-transform: uppercase;
	font-style: 16px;
	font-weight: bold;
	padding: 28px 0;
	font-size: 16px;
}

#side-wrapper > ul > li > a {
	font-size: 14px;
	font-weight: bold;
	display: block;
	margin-bottom: 9px;
	text-transform: uppercase;
	line-height: 16px;
}

#side-wrapper ul li li {
	padding-left: 15px;
	background: url(images/bullet-list.png) no-repeat 0 6px;
	display: block;
}

#side-wrapper ul li li a {
	font-size: 14px;
	line-height: 19px;
}

#side-wrapper ul ul {
    border-bottom: 1px solid #4E8DC0;
    margin-bottom: 17px;
    padding-bottom: 11px;
    display: none;
}

#newsletter {
	background: url(images/newsletter-bg.jpg) no-repeat;
	height: 180px;
	padding: 0 11px;
}

#newsletter h1,
#newsletter label {
	display: none !important;
}

#newsletter h3 {
	background: none !important;
	font-size: 24px;
	margin-bottom: 0;
	padding: 19px 0;
}

#newsletter input[type="text"] {
	width: 168px;
	padding: 7px 15px;
	margin-bottom: 14px;
	color: gray;
}

#newsletter input[type="submit"] {
	background: url(images/newsletter-submit.png) no-repeat;
	height: 14px;
	width: 52px;
	border: 0;
	cursor: pointer;
}

#services {
	width: 225px;
	margin: 0 auto;
}

#services h1 {
	display: none;
}

#services ul li {
	position: relative;
}

#services ul li h3 {
    bottom: 0;
    font-size: 16px;
    margin: 0;
    opacity: 0.7;
    padding: 21px 0;
    position: absolute;
    text-shadow: 1px 2px 2px black;
    width: 100%;
}

#our-services {
	background: #072b45;
	text-align: center;
	padding: 31px 0;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: bold;
}

#reklama {
	background: #f4f4f4;
	padding-top: 10px;
}

#reklama img {
    display: block;
    margin: 0 auto;
}

footer {
	color: #fff;
	background: #072b45 url(images/footer-bottom.jpg) no-repeat bottom;
	min-height: 276px;
}

footer a {
	color: #fff;
}

footer .wrapper {
    background: #072B45;
    position: relative;
}

#triangle-logo {
	position: absolute;
	width: 233px;
	height: 388px;
	background: url(images/triangle-logo.png) no-repeat;
	top: -194px;
	left: -2px;
	z-index: 0;
}

#social {
    border-right: 1px solid #3481D4;
    float: left;
    margin-right: 38px;
    margin-top: 136px;
    padding-right: 117px;
    position: relative;
    z-index: 2;
}

#social li {
    margin-bottom: 21px;
}

#social ul li a {
	display: block;
	width: 113px;
}

#social-icon-1 {
	background: url(images/footer-facebook.png) no-repeat;
	height: 24px;
}

#social-icon-2 {
	background: url(images/footer-pinterest.png) no-repeat;
	height: 29px;
}

#social-icon-3 {
	background: url(images/footer-twitter.png) no-repeat;
	height: 23px;
}

#programy,
#navi {
	float: left;
	margin-top: 42px;
}

#programy h3,
#navi h3 {
	color: #3481d4;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 10px;
}

#programy li,
#navi li {
	margin-bottom: 10px;
}

#programy {
	width: 272px;
}

#navi {
	border-left: 1px solid #3481d4;
	padding-left: 84px;
}

#top {
	float: right;
	width: 94px;
	height: 54px;
	background: url(images/totop-bg.png) no-repeat;
}

#top a {
	background: url(images/totop-arrow.png) no-repeat center;
	display: block;
	width: 24px;
	height: 19px;
	margin: 10px auto 0;
}

#copy {
	background-color: #072b45;
}

#copyright {
  background: none repeat scroll 0 0 #FFFFFF;
  clear: right;
  color: #000000;
  float: right;
  margin-top: 52px;
  padding: 0 39px 0 0;
}

#copyright > div {
    color: #DBD6D0;
    float: left;
    font-size: 12px;
    padding: 14px 27px 15px 0;
}

#design {
    background: url("images/footer-skos.jpg") no-repeat scroll left center #fff;
    color: #072B45 !important;
    padding-left: 33px !important;
}

#design a {
	color: #3481d4;
	text-decoration: underline;
}

#container {
	float: left;
	width: 698px;
	padding: 23px 15px;
	background-color: #fff;
	position: relative;
}

#container h1 {
	color: #0f4469;
	font-size: 24px;
	border-bottom: 1px solid #0f4469;
	text-transform: uppercase;
	text-align: center;
	padding-bottom: 15px;
	margin-bottom: 27px;
}

#container article {
    line-height: 1.4em;
}

#news h2 {
	color: #0f4469 !important;
	font-size: 16px !important;
	margin-bottom: 20px !important;
	font-weight: normal !important;
}

#news a {
    display: block;
    color: inherit;
}

#news h2, .opis-programu-prawa-czlowieka h2 {
    color: #0F4469 !important;
    font-size: 18px !important;
    font-weight: normal !important;
    text-align: left;
}

.opis-programu-prawa-czlowieka h2 {
	text-align: center;
}

#news h2 {
	/*text-align: left !important;*/
}

.opis-programu-prawa-czlowieka h2 {
	margin-bottom: 35px !important;
}

#container p {
	line-height: 1.4em;
}

#news img {
    clear: left;
    float: left;
    margin-right: 20px;
}

#news time {
	float: left;
	margin-bottom: 15px;
	font-size: 12px;
	color: #868686;
}

#news .content {
    border-bottom: 1px solid #0f4469;
    clear: both;
    overflow: hidden;
    padding-bottom: 23px;
    margin-bottom: 23px;
}

#news p {
	line-height: 18px;
	margin-bottom: 4px;
}

#pagination {
	background: url(images/pagination-bg.png) no-repeat center;
}

#pagination .wrapper {
	min-height: 11px;
	background-color: #015CA5;
	position: relative;
	left: 42px;
}

#pagination .wrapper div {
    background-color: #015CA5;
    display: block;
    margin-left: 190px;
    padding: 12px 0 12px 16px;
}

.static-pagination {
	background-color: #015CA5;
    display: block;
    margin-left: 190px;
    padding: 12px 0 12px 16px;
}

#pagination ul li {
	display: inline-block;
	font-size: 14px;
	font-weight: bold;
	margin-right: 10px;
}

#pagination a {
	color: #fff;
}

#pagination .active {
	color: #072b45;
}

/* strona Aktualności artykuł */

#h1-single {
	text-transform: none !important;
}

#time-single {
	display: block;
	text-align: center;
	margin-bottom: 22px;
	color: #868686;
}

#hr-single {
	border: 0;
	border-bottom: 1px solid #0f4469;
	background: none;
	height: 1px;
	margin-bottom: 22px;
}

#container article figure img {
	float: left;
	margin: 0 20px 20px 0;
}

#container article p {
	/*margin-bottom: 22px;*/
}

#container .author {
	margin-top: 20px;
}

/* strona Fundatorzy */

#container h2,
#laureaci h3 {
	font-size: 13px;
	font-weight: bold;
	color: #000;
	margin-bottom: 20px;
}

#container h3 {
	color: #0f4469;
	font-weight: normal;
	font-size: 18px;
}

.fundatorzy {
    background: url("images/bullet-list.png") no-repeat scroll left 4px transparent;
    color: #000000;
    display: block;
    margin-bottom: 5px;
    padding-left: 14px;
}

/* strona Kontakt */

#contact hr {
	border: 0;
	border-bottom: 1px solid #0f4469;
	background: none;
	height: 1px;
	margin: 22px 0;
}

#contact h2 {
	color: #0f4469;
	font-weight: normal;
	font-size: 18px;
}

#contact p {
	margin-bottom: 2px !important;
}

#contact a {
	color: #000;
}

/* strona Media o nas */

.etabs {
	display: block;
	width: 100%;
	margin-bottom: 30px;
	text-align: center;
}

.tab-years {
	display: block;
	width: 100%;
	text-align: center;
	margin-bottom: 35px;
}

.tabs a {
	font-size: 16px;
	color: #0f4469;
	font-weight: bold;
}

.tabs .active {
	color: #539be7;
}

.tabs:first-child {
	border-left: 1px solid #015ca5;
}

.tabs {
	border-right: 1px solid #015ca5;
	padding: 3px 10px;
	display: inline-block;
}

.media-year h2 {
	margin-top: 31px;
}

.media-year p {
	margin-bottom: 0 !important;
}

.media-year a {
	/*background: url("images/bullet-list.png") no-repeat scroll right 5px transparent;*/
    color: #000000;
    /*display: inline-block;*/
    padding-right: 14px;
    font-weight: bold;
}

.page-media-o-nas #container {
	text-align: center;
}

/* strona Nagrody i wyróżnienia */


#nagrody img {
    display: block;
    float: none !important;
    margin-bottom: 15px;
}

#nagrody li {
	margin-bottom: 30px;
}

/* strona Nasze publikacje */

#publikacje li,
.laureaci li {
    margin-bottom: 44px;
    overflow: hidden;
}

.laureaci li {
	margin-bottom: 44px !important;
}

#publikacje figure {
	float: left;
	margin-right: 20px;
}

#publikacje figure img {
	display: block;
	border: 1px solid #ccc;
}

#publikacje a {
	background: url("images/bullet-list.png") no-repeat scroll right 4px transparent;
    color: #000000;
    display: inline-block;
    padding-right: 14px;
}

.publikacje-art {
	width: 490px;
	float: left;
}

/* strona Opis programów */

#opis-programu a[href$=".pdf"],
#zobacz-takze a {
	background: url("images/bullet-list.png") no-repeat scroll right 4px transparent;
    color: #000000;
    display: inline-block;
    padding-right: 14px;
}

#zobacz-takze {
    margin: 100px auto 0;
    width: 95%;
}

#zobacz-takze a {
	padding-left: 15px;
	background: url(images/bullet-list.png) no-repeat 0 6px;
	font-size: 14px;
	color: #0f4469;
	font-weight: normal !important;
	display: inline;
}

#opis-programu a {
	font-weight: bold;
}

#opis-programu {
	margin-bottom: 22px;
}

article.desc {
	margin-bottom: 50px;
}

#opis-programu > section {
    margin-bottom: 50px;
}

#opis-programu h2 {
	font-weight: normal;
}

#zobacz-takze h3 {
    background-color: white;
    display: block;
    margin: 0 auto;
    padding: 5px 20px;
    position: relative;
    text-align: center;
    width: 170px;
    z-index: 1;
    font-size: 24px;
    color: #072b45;
    text-transform: uppercase;
}

#zobacz-takze hr {
    position: relative;
    top: -22px;
    z-index: 0;
}

#zobacz-takze li {
	text-align: center;
	margin-bottom: 6px;
}

/* strona Prawa człowieka */

.no-upper {
	text-transform: none !important;
}

/* style galerii */

.ngg-gallery-thumbnail img {
    border: 0 !important;
    padding: 0 !important;
}

.partners {
	margin-bottom: 40px;
}

.partners li {
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px;
}

.partners > ul {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.partners > h3 {
    margin-bottom: 20px;
    text-align: center;
}

/* slider */

.royalSlider .royalCaption {
    color: #FFFFFF;
    display: block;
    left: 0;
    position: absolute;
    text-align: center;
    top: 10px;
    width: 231px;
    z-index: 20;
}

.royalCaptionItem {
	font-size: 18px;
    font-weight: normal;
    line-height: 22px;
}

.caption-big-title {
	font-size: 24px !important;
    font-weight: bold !important;
    line-height: 24px !important;
    margin-bottom: 13px !important;
    margin-top: 68px !important;
    text-transform: uppercase !important;
}

.tab-container {
	text-align: center;
	margin-bottom: 44px;
}

.page-sprawozdania #tab-container,
.page-sprawozdania #tab-container2 {
    min-height: 140px;
}

.gallery {
	margin-bottom: 40px;
}

.slide-content {
	/*height: 145px;*/
	overflow: hidden;
	margin-top: 50px;
}

.slide-content h2 {
	text-align: center;
}

.slide-more {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 100px;
    font-weight: normal !important;
	color: #0F4469 !important;
}

.logotypes {
    margin: 50px auto 0;
    width: 540px;
}

.logotypes li {
    display: inline-block;
    vertical-align: middle;
	width: 130px;
	text-align: center;
}

.current-cat .children,
.current-cat-parent .children {
    display: block !important;
}

#cat-curr {
	/*visibility: hidden;
	height: 0;*/
	display: block;
}

.royalSlider .caption-big-title {
    margin-top: 40px !important;
}

.fb-button {
    display: block;
    position: absolute;
    right: 28px;
    top: 16px;
}

#container > #art {
    margin-bottom: 170px;
}

#container article li {
    color: #000000;
    list-style-image: url("images/bullet-list.png");
    margin-bottom: 5px;
    list-style-position: inside;
}

h1 time {
    display: block;
    color: #868686;
    font-size: 12px;
    margin-bottom: 15px;
    margin-top: 7px;
}

#lang ul li a {
	color: #fff;
}

#lang ul li {
	display: block;
}

#lang ul li.current-menu-item,
#lang .active {
	display: none !important;
}

#see-willa-gallery {
	margin-bottom: 55px;
}

#see-willa-gallery > li {
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
	min-height: 170px;
	width: 164px;
}

#see-willa-gallery li:last-child {
	margin-right: 0 !important;
}

#see-willa-gallery > li p {
    color: #000000;
    line-height: 1.4em;
    text-align: center;
}

#see-willa-gallery img {
    display: block;
    margin-bottom: 8px;
}

#qtrans_textarea_content_ifr {
	min-height: 400px !important;
}

.dc-social-float .dc-social-float-content {
    background: none repeat scroll 0 0 #539BE7 !important;
    border: 0 !important;
    padding: 10px;
}

/* jPages */


#pagination .wrapper div a {
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	margin: 0 5px;
	color: #fff;
}

#pagination .wrapper div a:hover {
	color: #072b45;
}

#pagination .wrapper div a.jp-previous { margin-right: 15px; }
#pagination .wrapper div a.jp-next { margin-left: 15px; }

#pagination .wrapper div a.jp-current, a.jp-current:hover { 
	color: #072b45;
	font-weight: bold;
}

#pagination .wrapper div a.jp-disabled, a.jp-disabled:hover {
	color: #bbb;
}

#pagination .wrapper div a.jp-current, a.jp-current:hover,
#pagination .wrapper div a.jp-disabled, a.jp-disabled:hover {
	cursor: default; 
	background: none;
}

#pagination .wrapper div span { margin: 0 5px; }

/* glowny div z like box'em */
#like-box {
	position: fixed;
	z-index: 99;
	top: 350px;  /* jego polozenie od gory */
	left: -296px; /* szerokosc wygenerowanego boxa + 4px obramowania */
	-webkit-transition: left 0.5s ease-out;
	-moz-transition: left 0.5s ease-out;
	-o-transition: left 0.5s ease-out;
	transition: left 0.5s ease-out;
}
 
/* wysuniecie like box'a */
#like-box:hover {
	left: 0px;
}
 
/* zewnetrzna ramka boxa */
#like-box .outside {
	position: relative;
	z-index: 1;
	background: #539be7;
	padding: 2px;
	min-width: 1px;
	float: left;
}
 
/* wewnetrzne tlo boxa */
#like-box .inside {
	position: relative;
	z-index: 2;
	background: #fff;
}
 
/* pasek z logo FB */
#like-box .belt {
	position: relative;
	z-index: 0;
	transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg); 
	-o-transform: rotate(90deg); 
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); 
	float: left;
	width: 100px; 
	height: 40px;
	padding: 7px 0px 0px 20px;
	margin: 50px 0px 0px -55px;
	background: #539be7;
	color: #fff;
	font-weight: bold;
	font-family: Verdana;
	font-size: 16px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.royalSlider .royalSlide, .royalSlider .royalWrapper {
    background: transparent !important;
}

#lightbox a, #lightbox a:link, #lightbox a:visited, #lightbox a:hover {
  text-decoration: none !important;
}
