body.kontrast,
body.kontrast #accessKeys {
    color: #fff;
    margin: 0;
    padding: 0;
    background: #000;
    background-color: #000;
}

body.kontrast .menu-top,
body.kontrast header,
body.kontrast header .row,
body.kontrast #wstecz_drukuj > div {
    background-color: #333;
    background: #333;
    color: #fff;
    padding: 0
}

body.kontrast *:focus {
    outline: 2px solid yellow !important;
    overflow: hidden;
}

body.kontrast #tresc p,
body.kontrast .kolor,
body.kontrast h1,
body.kontrast h2,
body.kontrast h3,
body.kontrast h4,
body.kontrast h5 {
    color: #fff !important;
}

body.kontrast h1, body.kontrast h1.tresc-tytul {background: #333}

body.kontrast .tresc {background-color: #000 !important; color: #fff !important;}
body.kontrast a, body.contrast #tresc a, body.kontrast .logo p.title a {color: yellow !important}

body.kontrast #wstecz_drukuj > div a:hover, body.kontrast #wstecz_drukuj > div a:focus {background: #000}

body.kontrast .slider-link li, body.kontrast section .br,  body.kontrast #stopka-bannery-kontener {background: #333;}
body.kontrast .slider-link li a span {color: #fff;}
body.kontrast .br-b::after {background: #666;}

body.kontrast .publikacje p, body.kontrast .aktualnosc-glowna p {color: #fff;}
body.kontrast .aktualnosc-glowna li a.aktualnosc-glowna-wiecej, body.kontrast .akt-wiecej {color: yellow !important;}
body.kontrast .aktualnosc-glowna li:hover {background: #000;}
body.kontrast .aktualnosc-glowna li:hover a {color: black !important;}
body.kontrast .publiacje-tytul  {color: yellow;}
body.kontrast figure.publikacje-s a:hover + figcaption, body.kontrast figure.publikacje-s a:focus + figcaption  {background: #000;}

/* naglowek */
body.kontrast #slider-naglowek:before {
    background: url('../pics/_naglowki/maska_top-k.png') no-repeat}

/* formularze */
body.kontrast form input[type="text"], body.kontrast form select {background: #000 !important; color: #fff !important; border: 1px solid #fff !important}
body.kontrast #tresc .formularz-wyszukaj ul {background: #555}

/* nav */
body.kontrast #nav ul li a:hover,
body.kontrast #nav ul li a:focus {color: #000 !important; background: yellow}

/* strona glowna */
body.kontrast #mapka,
body.kontrast #slider-glowna .slider-inner,
body.kontrast #tresc .aktualnosc-glowna-dodatkowe li,
body.kontrast #tresc .aktualnosc-glowna li,
body.kontrast .aktualnosc-glowna p,
body.kontrast #tresc .aktualnosc-data,
body.kontrast #publikacje,
body.kontrast .publikacje-pozostale,
body.kontrast #newsletter,
body.kontrast #galeria-glowna,
body.kontrast .dyzury-aptek {
    background: #333333;
    color: #fff !important
}


/*mapa*/
body.kontrast #tresc .mapa {background: #333}
body.kontrast #mapka ul li {background: #292929}
body.kontrast #mapka svg {background-color: yellow}

/* galerie */
body.kontrast #tresc .galeria ul a strong,
body.kontrast .publikacja figure figcaption
{background: #000}

body.kontrast .galeria {
    color: #fff;
    background: #000;
    background-color: #000;
}

body.kontrast #publikacje p,
body.kontrast #slider-glowna .slider-inner p,
body.kontrast #slider-glowna .slider-inner span,
body.kontrast .publikacje-pozostale figure figcaption,
body.kontrast #newsletter p {color: #fff}

/* menu boczne */
body.kontrast #menu-lewa ul li,
body.kontrast #menu-lewa h2 {
    background: #333
}

body.kontrast #menu-lewa ul li a:hover,
body.kontrast #menu-lewa ul li a:focus
{
    background: yellow;
    color: #000 !important
}

body.kontrast .menu_aktywny {
    background: #000 !important;
    color: #fff !important
}

body.kontrast #menu-lewa ul li .menu_aktywny:hover,
body.kontrast #menu-lewa ul li .menu_aktywny:focus {
    color: yellow !important
}

/* stopka */
body.kontrast footer,
body.kontrast .stopka-dane,
body.kontrast .stopka-mapa .adres,
body.kontrast .bgkolor,
body.kontrast .banery  {
    background: #333333; color: #fff
}


/* banery */
body.kontrast #banery-kontener img {opacity: 1}


body.kontrast .czcionka a, body.kontrast .jezyk {background-image: url("../pics/sprite_kontrast.png");}
body.kontrast .i36 {border: 1px solid yellow;}
body.kontrast .menu-szukaj form input[type="text"] {border: 1px solid yellow;background-color: #fff;}
body.kontrast #FormSzukaj_szukaj {background-color: yellow;border: 1px solid yellow;color: #000;}

/* klawisze dostepnosci */
body.kontrast #accessKeysC {background: #000;}
body.kontrast .key {border-color: yellow; background: #000; font-size: 10px;color: yellow;}


/* kalendarium */
body.kontrast .kalendarium-box, body.kontrast .clndr-bg, body.kontrast .kalendarium-legenda, body.kontrast .clndr-table td  {background: #333 !important; color: #fff;}
body.kontrast .clndr-bg:before, body.kontrast .header-day,body.kontrast #head:after,
body.kontrast #tresc .kalendarz th {background: #333!important; color: #fff; font-weight: 700}
body.kontrast .clndr-table td.day:nth-child(6), body.kontrast .clndr-table td.day:nth-child(7) {color: #fff}
body.kontrast .day-events-count {background: yellow; color: #000}
body.kontrast .clndr-tooltip div {
    background: #000 !important
}

body.kontrast .clndr-tooltip a,
body.kontrast .clndr-tooltip a:hover {
    color: yellow !important
}

body.kontrast #lokalizer,
body.kontrast .clndr-kategorie li,
body.kontrast .clndr-kategorie li span:before,
body.kontrast .clndr-tooltip span:before,
body.kontrast .kalendarium-box .kalendarium-bo-today {
    color: #fff !important
}

body.kontrast #tresc .kalendarz td a {color: #000 !important}
body.kontrast .DatePickerClndr td {color: #fff !important}

/* przyciski, linki */
body.kontrast #tresc .formularz-wyszukaj input[type="submit"],
body.kontrast #slider-glowna .slider-controls > a,
body.kontrast .dyzury-aptek > a,
body.kontrast .aktualnosc-glowna li:hover a,
body.kontrast .down:hover:before,
body.kontrast .down:focus:before,
body.kontrast .down:hover:after,
body.kontrast .down:focus:after,
body.kontrast .gal-wszystkie a,
body.kontrast span.gal-wiecej,
body.kontrast a.gal-wiecej,
body.kontrast .buton,
body.kontrast .bannery-buton,
body.kontrast .slider-inner a,
body.kontrast #publikacje a.buton,
body.kontrast #publikacje #yt-container a.buton,
body.kontrast .powrot {
    background: yellow;
    color: #000 !important;
}

/* pasek stron */
body.kontrast .pasek-stron li {background: #000; border: 1px solid #fff} 
body.kontrast .pasek-stron li strong {background: #333; color: #fff}
body.kontrast .pasek-stron li a:hover, body.kontrast .pasek-stron li a:focus {background: yellow !important; color: #000 !important}

body.kontrast  .tos-close {background: yellow !important; color: #000 !important}
body.kontrast .tos-close span:before,
body.kontrast .tos-close span:after
{
    border-color: #000 !important
}

body.kontrast #tresc ul li:before, body.kontrast ul.mapa_dzialu li:before, body.kontrast ul.lista1 li:before {
    border-color: #fff}

body.kontrast table.tabela_pobierz th, body.kontrast  table.pobierz thead td {background: #333; border: 1px solid #fff}
body.kontrast table.tabela_pobierz td {background: #000; color: #fff; border: 1px solid #fff}

body.kontrast .do-gory {
    background: yellow;
    color: #000 !important;
}
.tabela_pobierz th {
    width: 10%
}

.tabela_pobierz th+th {
    width: 60%
}

.tabela_pobierz th+th+th {
    width: 15%
}

.tabela_pobierz th+th+th+th {
    width: 10%
}

.tabela_pobierz [class^="ikon-"] {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 20px;
    text-align: center;
    font-size: 22px;
    margin: 0 auto;
    padding: 0;
    color: #004A1C;
    overflow: hidden
}

.tabela_pobierz tr:hover [class^="ikon-"] {
    color: #fff;
}

[class^="ikon-format_"]:before {
    content: "\e615"
}

.ikon-pobierz {
    position: relative;
    text-align: center;
    color: #4ac7da;
    border: 0!important;
    margin-top: -4px!important;
    overflow: visible!important
}

.ikon-pobierz strong {
    text-indent: 0;
    font-size: 11px;
    font-family: 'PT Sans', sans-serif;
    position: absolute;
    bottom: -12px;
    left: -6px;
    width: auto
}

.ikon-format_pdf:before {
    content: "\e616"
}

.ikon-format_doc:before,
.ikon-format_docx:before,
.ikon-format_odt:before,
.ikon-format_rtf:before {
    content: "\e611"
}

.ikon-format_jpg:before,
.ikon-format_jpeg:before,
.ikon-format_gif:before,
.ikon-format_bmp:before,
.ikon-format_psd:before,
.ikon-format_png:before,
.ikon-format_cdr:before {
    content: "\e60f"
}

.ikon-format_avi:before,
.ikon-format_mp4:before,
.ikon-format_mpg:before,
.ikon-format_mpeg:before,
.ikon-format_wmv:before {
    content: "\e60d"
}

.ikon-format_xls:before,
.ikon-format_xlsx:before,
.ikon-format_pps:before,
.ikon-format_ppt:before,
.ikon-format_pptx:before {
    content: "\e610"
}

.ikon-format_zip:before,
.ikon-format_rar:before,
.ikon-format_z7:before,
.ikon-format_gzip:before {
    content: "\e612"
}
/* accessKeys i głuchoniemi */
#przejdz-do-tresci {
    position: fixed;
    top: 40px;
    left: 10px;
    display: block;
    padding: 5px 15px;
    color: #000;
    font-weight: bold;
    opacity: 0;
    /*filter:alpha(opacity=0);*/
    background: #FFF;
    border: 1px solid #D01111;
    z-index: 2;
}
#accessKeys {
    position: absolute;
    top: 54px;
    right: 380px;
    width: 300px;
    font-size: 11px;
    z-index: 999999;
}
#accessKeysC {
    float: right;
    width: 100%;
    height: 220px;
    border: 1px solid gray;
    background: #F8FAFB;
    padding: 0 10px !important;
}
#keyIco {
    float: right;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    background: no-repeat;
    border: 0;
    display: none;
}
#accessKeys p {
    font-weight: bold;
    font-size: 12px;
    border: 0;
    margin: 0;
    padding: 0;
}

#accessKeys dl {padding: 0;margin: 0;}

.accessKeys-info {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 9px !important;
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
}
#accessKeys ul {
    margin: 0 0 0 25px;
    list-style: disc;
}
#accessKeys ul li {
    margin: 0 0 5px 0;
    padding: 4px 0;
    background: none;
}
.key {
    display: inline-block;
    padding: 3px 6px;
    line-height: 1;
    border-width: 1px 2px 2px 1px;
    border-style: solid;
    border-color: #D01111;
    background: #fff;
    font-size: 10px;
    color: #D01111;
    /*border-radius:3px;*/
}
#accessKeys_wai {
    position: absolute;
    right: 10px;
    top: 10px;
    margin: 0;
    font-size: 12px;
    color: #FFF;
    text-align: center;
    font-weight: bold;
}
#accessKeys_wai li {
    display: block;
    margin: 0 0 10px 0;
    text-align: right;
}
#accessKeys_wai .accessKeys-info {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 11px !important;
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
}
#accessKeys_wai .key {
    background: yellow;
    color: #000;
    padding: 2px 4px;
}

#accessKeysC dl dt {float: left; width: 150px; overflow: hidden; clear: left; text-align: right; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; padding-top: 0.3em; height: 28px;}
#accessKeysC dd {margin-left: 160px;height: 28px;padding-top: 0.3em;}

#accessKeysC a {margin-right: 40px;}
/**
* AKTUALNOŚCI
* 
*/

/* aktualnosci glowne */
.aktualnosc-glowna li {
  width: 100%;
  float: none;
  display: block;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-left: 1px solid #ebeae0;
  min-height:inherit;
  padding: 0;
  margin: 0 !important;
  background: #fafffb;
  overflow: hidden;
  padding-bottom: 60px !important
}

.aktualnosc-glowna li:first-child {
  border-left: 0
}

  .aktualnosc-glowna p {
    margin: 0;
    padding: 10px !important;
    font-size: 12px;
    line-height: 1.5;
    color: #000
  }

  .aktualnosc-glowna .aktualnosc-data {
    display: block;
    margin: 0 10px;
    padding-top: 5px;
    font-size: 12px;
    color: #767676;
    border-top: 1px solid #ebeae0;     
  }

  .a-gl-3 h3 {
    margin: 0;
    padding: 10px;
    line-height: 1.2;
    border: 0
  }

    .a-gl-3 h3 a {
      font-size: 15px;
      color: #006f2a;
      display: block;
      text-decoration: none !important;
      font-weight: 400
    }



.aktualnosc-glowna li a.aktualnosc-glowna-wiecej,
.akt-wiecej {
  display: block;
  width: 100%;
  height: 44px;
  position: absolute;
  bottom: 0;
  right: 0;
  line-height: 44px;
  text-decoration: none !important;
  text-align: right;
  padding-right: 16px;
  color: #004519;
  font-size: 12px
}

.aktualnosc-glowna li a.aktualnosc-glowna-wiecej {margin: 2px; width: 98%}

.aktualnosc-glowna li a.aktualnosc-glowna-wiecej:hover,
.aktualnosc-glowna li a.aktualnosc-glowna-wiecej:focus,
.aktualnosc-glowna-wiecej:focus,
.akt-wiecej:hover,
.akt-wiecej:focus {
  background: #8bbc60;
  color: #000
}

.aktualnosc-glowna-wiecej:before,
.akt-wiecej:before {
  content: "...";
  padding-right: .5em
}


.aktualnosc-glowna-dodatkowe  {clear: both}
#tresc .aktualnosc-glowna-dodatkowe li {
  position: relative;
  padding: 10px 10px 20px 40px;
  border-top: 1px solid #ebeae0;
  background: #fbfbff;
  min-height:inherit;
  height: auto;
}

.aktualnosc-glowna-dodatkowe li:nth-child(3n+1) {border-left: 0}

#tresc .aktualnosc-glowna > li:nth-child(14),
#tresc .aktualnosc-glowna > li:nth-child(13),
#tresc .aktualnosc-glowna > li:nth-child(12),
#tresc .aktualnosc-glowna > li:nth-child(11),
#tresc .aktualnosc-glowna > li:nth-child(10),
#tresc .aktualnosc-glowna > li:nth-child(9) {display: none}

.aktualnosc-glowna-dodatkowe .dodatkowe-wiecej {
  color: #737373;
  font-size: 11px;
  display: block;
  position: absolute;
  right: 10px;
  bottom: 5px
}

#tresc .aktualnosc-glowna-dodatkowe .aktualnosc-data {
    position: absolute;
    text-align: right;
    top: 10px;
    left: 0;
    display: block;
    width: 40px;
    height: 70px;
    margin: 0;
    padding: 0 10px;
    font-size: 10px !important;
    line-height: 1;
    color: #767676;
    border: 0;
    border-right: 1px solid #8b8a8a
}

.aktualnosc-glowna-dodatkowe .aktualnosc-data strong {font-size: 17px; font-weight: 400}
.aktualnosc-glowna-dodatkowe h3 {
  border: 0;
  font-weight: 400;
  font-size: 12px;
  margin: 0;
  padding: 0 10px;
  line-height: 1.1
}

.aktualnosc-glowna-dodatkowe h3 a {
  display: block;
  color: #006F2A
}

#tresc .aktualnosc-glowna-dodatkowe .buton-link {
  background: #dcebcf;
  padding: 0 !important;
  display: table
}

.aktualnosc-glowna-dodatkowe .buton-link a {
  position: relative;
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  text-align: center;
  text-transform: uppercase
}


.aktualnosc-glowna-dodatkowe .buton:after {font-size: 30px; display: inline-block; width: 30px;height: 30px; float: right; margin-right: 20px; margin-top: -6px}


#tresc .aktualnosc-glowna-dodatkowe .aktualnosc-foto .aktualnosc-data {
  top: 0;
  padding: 10px;
  left: 80px;
  background: #767676;
  color: #fff;
  height: 100%;
}

.aktualnosc-foto > div {
  width: 120px;
  position: absolute;
  top: 0;
  left: 0
}





/* wyszukiwarka */
#aktualnosci-wyszukiwarka fieldset {border: 0; padding: 0;margin: 0}
#aktualnosci-wyszukiwarka ul li {width: 39.5%; margin: 0 .5% 5px 0; }
#aktualnosci-wyszukiwarka ul li + li {width: 29.5%;}
#aktualnosci-wyszukiwarka ul li + li + li + li {width: 39.5%;}
#aktualnosci-wyszukiwarka ul li + li + li + li + li {width: 59.5%;}
#aktualnosci-wyszukiwarka ul li + li + li + li + li + li {width: 100%;}
#tresc .wyszukaj-info p {font-size: 12px !important}
#tresc .wyszukaj-info p::before {
  content: "\f04b";
  font-size: 6px;
  color:#004519;
  padding-right: 10px;
  vertical-align: middle
}

/* aktualnosc lista */
#tresc .aktualnosc li {padding: 0 0 10px !important; overflow: visible;position: relative}
.aktualnosc h2 {padding: 5px 0; font-size: 14px; font-weight: 400; border-bottom: 1px solid #a3a3a3;}
.aktualnosc h2 a {color: #006f2a}
#tresc .aktualnosc .aktualnosc-data {display: block; text-transform: uppercase; font-size: 11px !important; color: #8b8b8b; margin: 0;padding: 0; white-space: nowrap}
.aktualnosc .aktualnosc-naglowek {position: relative}
.aktualnosc .aktualnosc-kat {display: none}
.aktualnosc p {padding: 0; margin: 0; color: #000; font-size: 13px; line-height: 1.6}
.aktualnosc .buton {position: absolute; bottom: 0; right: 0; color: #004519; padding: 4px 10px}
.aktualnosc .buton:after {content: none; display: none}
.aktualnosc .buton:hover,
.aktualnosc .buton:focus {background: #b4091d;; color: #fff !important}

#tresc .aktualnosc .aktualnosc-foto {padding-left: 0}
#tresc .aktualnosc .aktualnosc-img {position: relative; top: auto;left: auto; width: 200px; height: 150px; display: block; margin: 0 auto; background-repeat: no-repeat; background-size: contain}
#tresc .aktualnosc .aktualnosc-img img {padding: 0;margin: 0}

/* aktualnosc */
#tresc #akt-tresc .aktualnosc-img {position: relative; float: left; margin: 10px 15px 10px 0; top: auto; left: auto;width: 150px; height: 100px}
#tresc #akt-tresc .aktualnosc-naglowek {margin: 20px 0; font-size: 16px; height: 70px}

/**
* MQ
* 
*/

@media (min-width: 640px) {
  .aktualnosc-glowna li {
    width: 33.33333%;
    float: left;
    min-height: 520px;
  }
  
  #tresc .aktualnosc-glowna-dodatkowe li {
    min-height: 140px;
    height: 140px;
  }
}
  
  
  @media (min-width: 768px) {

    #tresc #aktualnosci-wyszukiwarka ul li {width: 95.5%}
    #tresc #aktualnosci-wyszukiwarka ul .kalendarz {width: 22.5%}
    #tresc #aktualnosci-wyszukiwarka ul .kalendarz + .kalendarz + li {width: 47.5%}

    #tresc .aktualnosc li {padding: 0}
    #tresc .aktualnosc li.aktualnosc-foto {padding-left: 215px !important; min-height: 240px}
    #tresc .aktualnosc .aktualnosc-img {position: absolute; top: 0;left: 0;}
    #tresc .aktualnosc .aktualnosc-foto .aktualnosc-naglowek .buton {right: 260px}

  }

@media (min-width: 992px) {
  
  #tresc .aktualnosc-glowna > li:nth-child(14),
  #tresc .aktualnosc-glowna > li:nth-child(13),
  #tresc .aktualnosc-glowna > li:nth-child(12),
  #tresc .aktualnosc-glowna > li:nth-child(11),
  #tresc .aktualnosc-glowna > li:nth-child(10),
  #tresc .aktualnosc-glowna > li:nth-child(9) {display: block}  
  
  #tresc .aktualnosc-glowna-dodatkowe li {
    min-height: 90px;
    height: 90px}
  }


  @media (min-width: 1200px) {
    #tresc #aktualnosci-wyszukiwarka ul li {width: 30%}
    #tresc #aktualnosci-wyszukiwarka ul .kalendarz {width: 12%}
    #tresc #aktualnosci-wyszukiwarka ul .kalendarz + .kalendarz + li {width:  25%}
    #tresc #aktualnosci-wyszukiwarka ul .submit {width: 9%}
  }






/* DYZURY APTEK */

.dyzury-aptek {background: #003b73; color: #fff; padding: 0}
.dyzury-aptek h2 {color: #fff; padding: 10px 10px 0 66px; font-size: 20px; overflow: hidden}
#tresc .dyzury-aptek ul li {position: relative; margin: 16px 0; padding: 0 10px 0 50px}
#tresc .dyzury-aptek ul li:before {content: ""; display: block; position: absolute; top: 0; left:40px;  width: 1px; height: 100%; background: #fff; -webkit-transform: rotate(0);
    transform: rotate(0); border: 0}
    #tresc .dyzury-aptek ul li h3 {font-size: 12px;color: #fff; border: 0;  padding: 0;margin: 0}
    #tresc .dyzury-aptek ul li p {color: #fff; padding: 5px 0 0; margin: 0; line-height: 1.2}
    #tresc .dyzury-aptek ul li a {color: #fff; text-decoration: none !important; border-bottom: 1px solid #fff; padding-bottom: 2px}
    #tresc .dyzury-aptek ul li > span {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 30px;
        text-align: right;
        line-height: 1.2;
        font-size: 10px !important
    }
        .dyzury-aptek ul li > span strong {font-size: 17px; font-weight: 400}

        .dyzury-aptek > a {display: block; background-color: #b5d5ea; text-align: right; padding: 1.5em}


/* ikona */
.dyzury-aptek h2:before {
    font-size: 25px;
    margin: 0 10px 0 -50px;
    content: "\e91b"
}


/* publikacje */
.publikacja {
  padding: 0 15px; overflow: hidden
}

.publikacja h3 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 13px;
  text-transform: uppercase;
  color: #64594b;
  border: 0;
  font-weight: 400
}

#publikacje p {padding: 15px; text-align: justify}

.publikacja figure, .publikacje-lista figure {
  display: block;
  position: relative;
  overflow: hidden;
  float: none;
  padding: 0;
  margin: 0;
  width: 100%;
  margin-right: auto;
  height: 100%;
  max-width: 210px;
  margin: 0 auto;
}

.publikacja figure a,
.publikacja figure img {
  display: block;
  overflow: hidden;
}

.publikacja figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px;
  font-size: 16px;
  color: #fff;
  background: #004a1c;
  background: rgba(0, 74, 28, 0.9)
}

.publikacja .publikacja-s {
  width: 24%;
  margin: 0 1% 1% 0;
  float: left;
}

.publikacja figure figcaption .nr:before {
  content: "nr";
  font-size: 9px;
  padding-right: 4px
}

.publikacja figure figcaption .nr:after {
  content: "|";
  padding: 0 6px 0 8px
}

.publikacja figure a .publikacje-info,
.publikacje-lista figure a .publikacje-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 5px;
  line-height: 1.2;
  color: #fff;
  display: none;
  font-size: 12px;
  text-align: left
}
.publikacja-s .publikacje-info {display: none !important}
.publikacja figure a:focus .publikacje-info,
.publikacje-lista figure a:focus .publikacje-info {
  display: block;
  z-index: 100
}



/* publikacja link */
.down:before {content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* css3 */
  -webkit-transition: all 0.4s linear 0s;
  -moz-transition: all 0.4s linear 0s;
  -ms-transition: all 0.4s linear 0s;
  -o-transition: all 0.4s linear 0s;
  transition: all 0.4s linear 0s}

.down:hover:before,
.down:focus:before {
  background: #004a1c}

.down:after {
  content: "\f019";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -24px 0 0 -16px;
  color: #fff;
  line-height: 36px;
  text-align: center;
  font-size: 30px;
  /* css3 */
  opacity: 0;
  -webkit-transition: all 0.4s linear 0s;
  -moz-transition: all 0.4s linear 0s;
  -ms-transition: all 0.4s linear 0s;
  -o-transition: all 0.4s linear 0s;
  transition: all 0.4s linear 0s}

.down:focus:after,
.down:hover:after {opacity: 1}


/* publikacje pozostale */
.publikacje-pozostale {background: #f2f4f8; overflow: hidden}
.publikacje-pozostale figure {
  display: block;
  position: relative;
  text-align: center;
  overflow: hidden;
  float: left;
  padding: 10px 10px 0;
  margin: 20px 0 0 0;
  width: 50%;
  border-left: 1px solid #dbdde1;
}

.publikacje-pozostale figure:first-child {border:0}

.publikacje-pozostale figure figcaption {text-transform: uppercase; font-size: 12px; color: #64594b; padding-bottom: 20px; line-height: 1.1}

.strona-glowna .publikacje-pozostale figure figcaption {text-transform: uppercase; font-size: 12px; color: #64594b; padding-bottom:0; line-height: 1.1; height: 5em; overflow: hidden}
.publikacje-pozostale figure img {width: 60%}

#publikacje .buton-link {width: 50%; height: 60px; clear: both}

.publikacje-lista {clear: both;}
.publikacje-lista figure {display: block; width: 24%; margin: 1% 1% 1% 0; float: left}
#tresc .publikacje-lata {margin: 10px 0; padding: 0; overflow: hidden}
#tresc .publikacje-lata li {display: inline-block; float: left; background-image: none !important; margin: 0 10px 0 0 ;padding: 0;}
#tresc .publikacje-lata li a {display: block; padding: 10px 20px;border: 5px solid #C3E7F6;text-align: center; font-size: 16px; font-weight: 600; margin: 2px;}
#tresc .publikacje-lata li a:hover,
#tresc .publikacje-lata li a:focus {
  text-decoration: none;
  background: #ffcf4c;
  border: 5px solid #edba30;
  color: #21396c;
}



/**
* MQ
* 
*/

@media (min-width: 320px) {

}

@media (min-width: 460px) {

}

@media (min-width: 560px) {

}

@media (min-width: 640px) {
  .publikacja figure {
    float: left;
    width: 46%;
    margin-right: 2%;
    height: 100%;
    max-width: 210px;
   
  }
  
  .publikacja .publikacja-s {
    width: 16%;
    margin: 0 1% 1% 0
  }

}

@media (min-width: 768px) {

}

@media (min-width: 992px) {
  
  .publikacja figure {
    margin-right: 4%;
  }
  
  .publikacja .publikacja-s {
    width: 22%;
    margin: 0 0 2.5% 3%
  }

}

@media (min-width: 1200px) {

}

@media (min-width: 1440px) {


}



/* galerie */
#tresc .galeria ul {
    margin: 0;
    padding: 0
}

#tresc .galeria ul li {
    width: 49%;
    margin: .5%;
    padding: 0;
    display: inline-block;
    float: left;
    position: relative;
    overflow: hidden
}
#tresc .galeria ul li:not(.galeria-midi) {max-width: 200px}
#tresc .galeria ul .galeria-midi {width: 99%}

#tresc .galeria img {display: block}

#tresc .galeria ul a strong {
    display: block;
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    background: #004a1c;
    background: rgba(0, 74, 28, 0.9);
    padding: 10px;
    font-weight: 400;
    line-height: 1.1;
    text-indent: 0;
    white-space: normal;
    text-align: left;
    color: #fff;
    /* css3 */
    -webkit-transition: all 0.4s linear 0s;
    -moz-transition: all 0.4s linear 0s;
    -ms-transition: all 0.4s linear 0s;
    -o-transition: all 0.4s linear 0s;
    transition: all 0.4s linear 0s
}

#tresc .galeria ul a:hover strong,
#tresc .galeria ul a:focus strong {
    bottom: 0
}

#tresc .galeria-lista a:before,
#tresc .galeria-lista a:before {
    content: "\e905";
    position: absolute;
    display: block;
    top: 0;left: 0;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 48px;
    padding-top: 18%;
    background: #004a1c;
    background: rgba(0, 74, 28, 0.65);
    /* css3 */
    -webkit-transition: all 0.4s linear 0s;
    -moz-transition: all 0.4s linear 0s;
    -ms-transition: all 0.4s linear 0s;
    -o-transition: all 0.4s linear 0s;
    transition: all 0.4s linear 0s;
    opacity: 0
}

#tresc .galeria ul a:hover:before,
#tresc .galeria ul a:focus:before {
    opacity: 1;
    background: #004a1c;
    background: rgba(0, 74, 28, 0.65)
}

#tresc .galeria ul .buton-link {
    background: #dcebcf;
    padding: 0;
    display: table}

#tresc .galeria ul .buton-link a {
    position: relative;
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: right
}



/*galeria*/
/* galeria lista */
.galeria {
    margin: 16px 0 40px;
    position: relative;
    background: #fff;
    padding: 0 0 20px 0;
    overflow: hidden
}

#tresc ul.galeria-lista {margin-top: 10px; text-align: center}

#tresc ul.galeria-lista li {
    margin: 0 auto;
    padding: 0;
    float: none;
    width: 99.5%;
    text-align: center;
    height: 100%;
    overflow: hidden;
    position: relative
}


.galeria a {display: block; overflow: hidden}

.mod-naglowek {
    padding: 10px 95px;
    position: relative;
    min-height: 70px;
    overflow: hidden
}


#tresc .mod-naglowek h2, #tresc .mod-naglowek h3 {
    width: 75%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #000;
    line-height: 1;
    position: absolute;
    bottom: 4px;
    border: 0
}

#tresc .mod-naglowek h2 a {color: #000}


.gal-data {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: right;
    width: 85px; margin: 0;
    padding: 4px 8px 4px 0;
    font-size: 14px;
    color: #767676;
    line-height: 1.2;
    border-right: 1px solid #8b8a8a;
}

.gal-data span {display: block}

.aktualnosc-tresc .mod-naglowek:after {content: none; display: none;}


.gal-ifoto {
    position: absolute;
    top: 0;
    right: 4%;
    overflow: hidden;
    font-style: italic;
    font-size: 18px;
}

.gal-ifoto:after {
    content: "\f030";
    height: 60px;
}





/**
* MQ
* 
*/

@media (min-width: 460px) {
    #tresc ul.galeria-lista li {
        margin: 0 .25% .5% .25%;
        float: left;
        width: 49.5%}
}


@media (min-width: 560px) {

}

@media (min-width: 768px) {
    
    #tresc ul.galeria-lista li  {
        width: 32.77%;
    }
    
}

@media (min-width: 1200px) {
    
    #tresc ul.galeria-lista li  {
        width: 24.5%;
    }

    .gal-ifoto {
        top: 0
    }


}



/* kalendarium */

#tresc .kalendarz {
  width: 100%;
  border: 0;
  table-layout: fixed;
}

#tresc .kalendarz caption {
  padding: 0 0 1em;
}

#tresc .kalendarz th {
  padding: 4px 0;
  background: #003F18;
  font-size: 16px;
  text-align: center;
  color: #fff;
  text-transform: lowercase;
  font-weight: 700
}

#tresc .kalendarz th a {
  text-decoration: none !important;
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #ffba00;
  font-size: 30px;
  overflow: hidden;
  margin: 10px;
}

#tresc .kalendarz th.dayname {
  font-size: 12px;
  font-weight: 600;
}

#tresc .kalendarz td {
  border: 1px solid #e5dad8;
  color: #555;
  background: #f3f3f3;
  overflow: hidden;
  vertical-align: top;
}

#tresc .kalendarz td a {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  text-decoration: none !important;
}

.highlight {
  font-weight: 700;
  color: #ff6900;
}

.kalendarium-tytul span {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 18px;
  height: 18px;
}

.kalendarium-wydarzenie {
  margin: 0 0 7px 0;
  padding: 0 20px 20px 45px;
  color: #000;
  background: #f9f9f9;
  overflow: hidden;
}

.kalendarium-wydarzenie dl {
  margin: 20px 0;
  padding: 0;
  overflow: hidden;
}

.kalendarium-wydarzenie dt {
  clear: both;
  float: left;
  margin-right: 10px;
  color: #838383;
  font-size: 16px;
  height: 30px;
  line-height: 30px;
  text-align: right;
  width: 30px;
}

.kalendarium-wydarzenie dd {
  font-size: 16px;
  color: #353535;
  height: 30px;
  line-height: 30px;
}

.kalendarium-wydarzenie-opis {
  margin: 0 !important;
}

h3.ikon-event {
  position: relative;
  margin: 20px 0 3px 0 !important;
  padding: 10px 16px 10px 60px !important;
  background: #F4F4F4 none;
  color: #0450A4 !important;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.2 !important;
}

h3.ikon-event:before {
  font-family: "icomoon";
  color: #FFF;
  display: block;
  width: 40px;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 999;
  text-align: center;
  line-height: 40px;
  font-size: 24px;
  font-weight: 400 !important;
}

h3.ikon-event:after {
  content: "";
  display: block;
  background: #ffba00;
  width: 40px;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
}

#kalendarium > div {
  padding-right: 0;
}

.clndr-bg {
  clear: both;
  background: #96C270;
  position: relative;
  z-index: 1;
}

.clndr-bg:before {
  content: "";
  display: block;
  background: #96C270;
  width: 100%;
  height: 44px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

aside .kalendarium-box {display: none}

.kalendarium-box {
  background: #96C270 !important;
  overflow: visible;
  font-size: 13px;
  margin: 16px 0;
}

.kalendarium-box h3 {
  color: #003f18;
  padding: 15px 20px;
  font-size: 20px;
  font-weight: 600;
  margin-top: 0;
  border: 0
}

.kalendarium-box .kalendarium-bo-today:before {
  content: "dziś:";
  position: absolute;
  top: -2px;
  left: 20px;
  font-size: 11px;
}

.kalendarium-box .kalendarium-bo-today {
  color: #003f18;
  font-weight: 600;
  text-align: center;
  position: relative;
}

.kalendarium-box .kalendarium-bo-today > span {
  display: inline-block;
  font-size: 15px;
  text-align: left;
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  padding-left: 40px
}

.kalendarium-box .kalendarium-bo-today .t-day {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  text-align: center;
  font-size: 26px
}

.kalendarium-box .kalendarium-bo-today > span span {
  font-size: 11px;
  text-align: left;
}


/* kontrolki */

.clndr-controls {
  display: block;
  color: #003f18;
  margin: 0 !important;
  padding: 0;
}

.clndr-controls li {
  display: inline-block;
  float: left;
}

.clndr-controls .month {
  width: 80%;
  text-align: center;
  font-weight: 700
}

.clndr-controls .month a {
  color: #003f18;
  text-decoration: none !important;
  padding-bottom: 2px;
  border-bottom: 1px solid #003f18
}

.clndr-control-button {
  width: 10%;
  overflow: hidden;
}

.clndr-control-button a {
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  background: url('../themes/default/pics/sprite.png') no-repeat;
}

.clndr-control-button .clndr-previous-button {
  background-position: -44px 0;
  float: left;
}

.clndr-control-button .clndr-next-button {
  background-position: -64px 0;
  float: right;
}

.clndr {
  position: relative;
}


/* kalendarzyk */

.clndr-table {
  border-collapse: collapse;
  border: 0;
  background: #96C270;
  width: 100%;
  margin: 0 5%;
  width: 90%;
  overflow: visible
}

.clndr-table thead {
  border-bottom: 1px solid #fff;
}

.clndr-table td,
.clndr-table th {
  margin: 0;
  border: 0;
  text-align: center;
}

.clndr-table td {
  padding: 5px 1px 10px;
  background: #96C270;
}

.clndr-table th {
  padding-bottom: 0
}

.day-contents {
  padding: 8px 0
}

.header-day {
  background: #96C270;
  color: #003f18;
  padding: 0 !important;
  text-transform: lowercase;
  font-size: 12px;
  text-align: center;
  height: 44px
}

.clndr-table .day {
  position: relative;
  color: #003f18;
  font-size: 12px;
}

.clndr-table .today .day-contents {
  position: relative;
  color: #003f18;
  z-index: 3;
  margin-right: 2px
}

.clndr-table .today .day-contents:before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  background: #fff;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  margin: -13px 0 0 -13px
}

.clndr-table .event .day-contents {
  border: 1px solid #fff !important;
  background-color: transparent !important
}

.clndr-table .event {
  z-index: 1;
}

.day-events-count {
  position: absolute;
  top: -4px;
  right: 0;
  display: block;
  background: #003f18;
  color: #fff;
  border: 0;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  font-size: 9px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  z-index: 9
}


/* tooltip */

.clndr-tooltip {
  background: #ffcd00;
  font-size: 13px;
  color: #000;
  z-index: 99;
  height: auto;
  position: absolute;
  top: 0;
  left: 0
}

.day-events-count.active:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: #ffcd00;
  position: absolute;
  bottom: -16px;
  left: 4px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg)
}

.clndr-tooltip > div {
  border-bottom: 1px solid #ffda40;
  overflow: hidden;
}

.clndr-tooltip > div:last-child {
  border-bottom: 0;
}

.clndr-tooltip > div a {
  display: block;
  padding: 7px 10px 7px 44px;
  color: #224C8C;
  text-decoration: none !important;
  line-height: 1;
  min-height: 50px;
}

.clndr-tooltip > div a:hover,
.clndr-tooltip > div a:focus {
  color: #000 !important;
}


/* legenda */

.kalendarium-legenda {
  background: #e0edd4;
  padding: 20px 15px;
  border-top: 1px solid #e3e6ef;
}

.clndr-kategorie {
  overflow: hidden;
}

.clndr-kategorie li {
  width: 50%;
  float: left;
  position: relative;
  padding: 2px 10px 0 40px !important;
  margin: 4px 0;
  height: 30px;
  line-height: 1;
  font-size: 11px;
  color: #000
}

aside .clndr-kategorie li {
  width: 96%;
  margin: 4% 2%
}

.clndr-kategorie li span,
.clndr-tooltip span {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0;
  left: 0;
  line-height: 30px;
  text-align: center;
  background-color: transparent !important
}

.clndr-kategorie li span:before {
  font-size: 24px !important;
}

.clndr-tooltip span {
  top: 10px;
  left: 5px;
}


/**
* LISTA KALENDARZ
* 
*/


/* Wyszukiwarka Kalendarium */

#kalendarium-wyszukiwarka ul {
  margin: 0;
  padding: 0
}

#kalendarium-wyszukiwarka ul li {
  width: 48% !important;
  margin: 0 1%;
  padding: 0;
  text-align: right;
  float: left;
}

#kalendarium-wyszukiwarka ul li + li {
  text-align: left;
}

#kalendarium-wyszukiwarka label {
  display: inline-block !important;
  padding-right: 1em;
  font-size: 12px;
  text-transform: lowercase;
}

#kalendarium-wyszukiwarka input[type=text] {
  width: 135px !important;
}

#kalendarium-wyszukiwarka input[type=button] {
  background: #224c8c;
  color: #fff;
  border: 0;
  height: 35px;
  padding: 0 2em
}


/* DatePicker */

.DatePickerClndr {
  display: block;
  z-index: 99;
  border: 1px solid #224c8c;
  background: #fff;
  padding: 10px 5px;
}

.DatePickerClndr.kalendarium-legenda,
.DatePickerClndr .clndr-tooltip {
  display: none;
}

#tresc .DatePickerClndr .day {
  height: 20px;
  cursor: pointer;
}

#tresc .DatePickerClndr .day-contents {
  padding: 3px;
  margin: 0;
}

#tresc .DatePickerClndr .header-day {
  padding: 0;
  margin: 0;
  background: #fff;
  color: #224c8c;
  font-size: 11px;
  text-align: center;
  height: 18px;
}

#tresc .DatePickerClndr .today {
  font-weight: 700;
}

#tresc .clndr-table {
  clear: both;
}

#tresc .DatePickerClndr .clndr-controls {
  color: #000;
  font-size: 11px;
}

#tresc .DatePickerClndr .clndr-controls div {
  display: inline-block;
  float: left;
  margin: 0;
  padding: 0;
}

#tresc .DatePickerClndr .clndr-control-button {
  width: 15%;
  cursor: pointer;
}

#tresc .DatePickerClndr .month {
  width: 70%;
}


/**
* MQ
* 
*/

@media (min-width: 768px) {
  aside .kalendarium-box {display: block}
}
/* NEWSLETTER */
#newsletter {
    background: #b5d5ea;
    overflow: hidden;
    padding: 10px 20px
}

#newsletter p,
#newsletter form {
    padding: 10px 0; margin: 0; line-height: 1.3;
}

#newsletter h2 {
    color: #003b73; margin: 0; padding: 0
}


.newsletter input {
    border: 0;
    background-color: transparent;
    height: 40px;
    line-height: 40px;
    text-align: center;
    padding: 0 10px
}

.newsletter input[type="text"] {
    border: 1px solid #fff;
    color: #fff;
    width: 100%;
    border: 1px solid #eeeff1;
    margin-bottom: 20px
}

.newsletter input[type="text"]:focus {
    outline: 0;
    border: 1px solid red
}

.newsletter input[type="submit"] {
    width: 90px;
    float: left;
    background: #fff;
    font-size: 11px;
    text-transform: uppercase;
    color: #767676
}

.newsletter input[type="submit"] + input[type="submit"] {
    float: right;
    background: #003b73;
    color: #fff
}
/* PASEK POWIADOMIEŃ */

.marquee-container {overflow: hidden; margin: 10px auto;background: #000;}
.marquee { color: #ffba00 !important;height: 50px; font-weight: 700;}
.marquee a { color: #ffba00; border-bottom: 1px solid #ffba00; text-decoration: none !important;}

.marquee a:hover, marquee a:focus {border-bottom: 1px solid yellow; color: yellow;}

.js-marquee img {vertical-align: middle; margin: 4px 10px 4px 1em;}
/* TOPBANER */

.topbaner {
    background-color: rgba(39, 84, 130, 0.5)  !important;
}

.topbaner .tos-image img {
    border: 2px solid #ffba00;
    padding: 4px;
    cursor: pointer;
}

.topbaner .tos-close {
    background: red;
}

