:root {
    --wcpit-orange: #ef6700;
    --wcpit-violet: #410856;
    --wcpit-red: #d21113;
}
input:active, input:focus,
textarea:active, textarea:focus,
select:active, select:focus,
button:active, button:focus,
a:active, a:focus,
.page-link:focus, .page-link:active {
    outline: 3px dashed #0000ff;
    outline-offset: 3px;
}

.page-link:focus, .page-link:active {
    box-shadow: none;
}
a:hover {
    color: #092ebd;
}
html {
    font-size: 16px;
}
html.font-medium {
    font-size: 24px;
}
html.font-large {
    font-size: 32px;
}
body {
    color: #222222;
    background: #ffffff;
    font-family: Montserrat, sans-serif;
    overflow-wrap: break-word;
}
#main_content img {
    max-width: 100%;
}
/* skip links */

#skip_links {

    padding-left: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}
#skip_links ul {
    list-style: none;
}

#skip_links a {
    position: absolute;
    top: 6px;
    left: -9000em;
    display: inline-block;
    z-index: 99;
    width: 280px;
    background: var(--wcpit-red);
    padding: 15px;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
}
#skip_links a:hover, #skip_links a:active, #skip_links a:focus {
    left: 6px;
}

    /* naglowek i menu */
#top_bar {
    background: #f8f8f8;
    color: #000000;
    min-height: 40px;
    padding: 6px 0;
}
#top_bar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
}
#top_bar li {
    margin-right: 8px;
    display: flex;
    justify-content: center;
}
#top_bar #menu_related li {
    margin-right: 10px;
    display: flex;
    justify-content: center;
}
#top_bar  #menu_related li:last-of-type {
    margin-right: 0;
}
#top_bar a {
    border: 0;
    min-height: 40px;
    min-width: 40px;
    display: block;
    text-align: center;
    text-decoration: none;
}
#top_bar  a.noicon {
    font-weight: 600;
}
#top_bar a.noicon:hover, #top_bar a.noicon:focus  {
    background: #bababa;
}
#top_bar a img {
    max-height: 40px;
}
#top_bar a.noicon {
    padding: 8px;
    color: black;
}
#top_bar a#high-contrast {
    background: #3b3b3b;
    color: #ffff43;
    padding: 8px;
}
#top_bar a#high-contrast img {
    width: 20px;
    height: 20px;
}
#top_bar a#high-contrast img#ico-hc {
    display: none;
}

#top_bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#top_bar li a {
    display: flex;
    align-items: center;
    justify-content: center;
}
#header__logo_and_search {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#header__logo, #erejestracja, #search_form {
    display: flex;
    align-items: center;
    justify-content: left;
    min-height: 160px;
    padding-left: 30px;
}
#erejestracja, #search_form {
    padding-left: 10px;
}
#erejestracja {
    padding-right: 7px;
}
.high-contrast-logo, .high-contrast-btn-search {
    display: none;
}
#header__logo {
    flex: 1;
}
#header__logo img {
    height: 83px;
    width: 363px;
}
#mobile-menu-toggle, #mobile-a11y-menu-toggle {
    display: none;
}
#erejestracja a{
    background: var(--wcpit-red);
    color: #ffffff;
    padding: 10px 20px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
}


#main_menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;

}
#main_menu ul li {
    text-align: center;
    margin-right: 20px;
    margin-left: 20px;
    padding-bottom: 10px;
    padding-top: 15px;
}

#main_menu ul li:last-of-type {
    margin-right: 0;
}
#main_menu ul li a{
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    display: block;
    line-height: 1;
    background-color: #ffffff;
    color: var(--wcpit-violet);
    padding: 5px 10px;
    border-bottom: 2px solid #ffffff;
}
#main_menu ul li a:hover, #main_menu ul li a:focus,  #main_menu ul li.current a {
    border-bottom: 2px solid var(--wcpit-orange);
}

/* wyszukiwarka */
#sf_submit {
    background: white;
    border: 0;
}
#sf_keyword {
    border: 1px solid var(--wcpit-violet);
    padding: 9px;
    border-radius: 3px;
}

/* wyniki wyszukiwania */

section.search-results article {
    margin-bottom: 45px;
}
section.search-results article h2 {
    margin: 1rem 0 0.5rem;
}

section.search-results article h2::after {
    display: none;

}
/*bradcrumbs */
#breadcrumbs {
    list-style: none;
    margin: 0 0 5px 0;
    padding: 0;
    display: block;
}
#breadcrumbs li {
    margin: 0 5px;
    float: left;
    overflow-wrap: normal;
}
#breadcrumbs li:last-of-type {
    float: none;
}
#breadcrumbs li:after {
    content: '/';
    display: inline-block;
    margin-left: 5px;
}
#breadcrumbs li:first-of-type {
    margin-left: 0;
}
#breadcrumbs li:last-of-type:after {
    display: none;
}
#breadcrumbs a {
    color: #555;
    text-decoration: none;
}
#breadcrumbs a:hover {
    text-decoration: underline;
}
/* elementy strona glowna */

#home_page__banner {
    background: url("../gfx/home-szpital-w-poznaniu.avif");
    background-repeat: no-repeat;
    background-position: center center;
    height: 550px;
    background-size: cover;
}
#hospital-links {
    padding: 64px 0;
}
#hospital-links h2 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 180px;
}
#hospital-links .hospital-box {
    color: #ffffff;
    min-height: 290px;
    text-align: center;
    padding-top: 30px;
    font-weight: bold;
    text-transform: uppercase;
}
#hospital-links .hospital-box p {
    text-align: right;
}

#hospital-links .hospital-box p a.read-more {
    color: #6c6c6c;
    background-image: url("../gfx/ico-read-more-grey.png");
    background-size: 28px;
    background-repeat: no-repeat;
    background-position: right 0.625rem center;
    margin: 0 10px 10px 0;
    border: 0;
}
#hospital-links .hospital-box p a.read-more:hover, #hospital-links .hospital-box p a.read-more:focus {
    background-color: #6c6c6c;
    background-image: url("../gfx/ico-read-more-white.png");
    color: #ffffff;
}

#hospital-links .poznan {
    background: var(--wcpit-red);
    background-image: url("../gfx/ico-poznan.png");
    background-size: 222px 149px;
    background-position: top 4rem center;
    background-repeat: no-repeat;
}
#hospital-links .ludwikowo {
    background: var(--wcpit-violet);
    background-image: url("../gfx/ico-ludwikowo.png");
    background-size: 249px 150px;
    background-position: top 4rem center;
    background-repeat: no-repeat;
}
#hospital-links .chodziez {
    background: var(--wcpit-orange);
    background-image: url("../gfx/ico-chodziez.png");
    background-size: 232px 150px;
    background-position: top 4rem center;
    background-repeat: no-repeat;
}

#highlighted-pages-links {
    background: #ebebeb;
    padding: 60px 0;
}
#highlighted-hopsital-links {
    background: #ebebeb;
    padding: 0 0 60px 0;
}
#link__about-pulmonology, #link__conference-centre, #link__public-contracts,
#link__poznan, #link__ludwikowo, #link__chodziez {
    display: inline-block;
    width: 100%;
    min-height: 100px;
    padding: 100px 0 20px 0;
    border-style: solid;
    border-width: 4px;
    background-color: #ffffff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    background-size: 85px;
    background-position: center 15px;
    background-repeat: no-repeat;
}

#link__conference-centre, #link__poznan {
    border-color: var(--wcpit-red);
    color: var(--wcpit-red);
    background-color: #ffffff;
    background-image: url("../gfx/ico-centrum-konferencyjne.png");
}
#link__poznan {
    background-image: url("../gfx/ico-poznan-small.png");
    background-size: 93px;
}
#link__conference-centre:hover, #link__conference-centre:focus, #link__poznan:hover, #link__poznan:active  {
    background-color: var(--wcpit-red);
    background-image: url("../gfx/ico-centrum-konferencyjne-white.png");
    color: #ffffff;
}
#link__poznan:hover, #link__poznan:active  {
    background-image: url("../gfx/ico-poznan-small-white.png");
}

#link__public-contracts, #link__ludwikowo{
    border-color: var(--wcpit-violet);
    color: var(--wcpit-violet);
    background-image: url("../gfx/ico-zamowienia-publiczne.png");
}
#link__ludwikowo {
    background-image: url("../gfx/ico-ludwikowo-small.png");
    background-size: 111px;
}
#link__public-contracts:hover, #link__public-contracts:focus, #link__ludwikowo:hover, #link__ludwikowo:active {
    background-color: var(--wcpit-violet);
    background-image: url("../gfx/ico-zamowienia-publiczne-white.png");
    color: #ffffff;
}
#link__ludwikowo:hover, #link__ludwikowo:active {
    background-image: url("../gfx/ico-ludwikowo-small-white.png");
}

#link__about-pulmonology, #link__chodziez {
    border-color: var(--wcpit-orange);
    color: var(--wcpit-orange);
    background-image: url("../gfx/ico-o-pulmonologii.png");
}
#link__chodziez {
    background-image: url("../gfx/ico-chodziez-small.png");
    background-size: 104px;
}
#link__about-pulmonology:hover, #link__about-pulmonology:focus, #link__chodziez:hover, #link__chodziez:focus   {
    background-color: var(--wcpit-orange);
    background-image: url("../gfx/ico-o-pulmonologii-white.png");
    color: #ffffff;
}
#link__chodziez:hover, #link__chodziez:focus {
    background-image: url("../gfx/ico-chodziez-small-white.png");
}

/* strona glowna szpitali */

.hospital_home__banner {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    height: 620px;
}
.hospital_page__banner {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    height: 360px;
}
.szpital-w-poznaniu .hospital_home__banner, .szpital-w-poznaniu .hospital_page__banner {
    background-image: url("../gfx/hospital-home-szpital-w-poznaniu.jpg");
}
.szpital-w-ludwikowie .hospital_home__banner, .szpital-w-ludwikowie .hospital_page__banner {
    background-image: url("../gfx/hospital-home-szpital-w-ludwikowie.jpg");
}
.szpital-w-chodziezy .hospital_home__banner, .szpital-w-chodziezy .hospital_page__banner {
    background-image: url("../gfx/hospital-home-szpital-w-chodziezy.jpg");
}

#hospital-departments-list h2, #aside__links h2 {
    background: var(--wcpit-red);
    color: #ffffff;
    padding: 1rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}
#aside__links h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.szpital-w-chodziezy #hospital-departments-list h2 {
    background: var(--wcpit-orange);
}
.szpital-w-ludwikowie #hospital-departments-list h2 {
    background: var(--wcpit-violet);
}

#hospital-departments-list ul,  #aside-menu ul {
    list-style: none;
    padding-left: 0;
}
#hospital-departments-list li::before, #aside-menu li::before  {
    content: '';
    display: inline-block;
    height: 1rem;
    width: 1rem;
    background-image: url("../gfx/ico-read-more.png");
    background-size: 1rem 1rem;
    background-repeat: no-repeat;
    position: relative;
    top: 1px;
    margin-right: 8px;

}
#hospital-departments-list ul a, #aside-menu ul a {
    color: var(--wcpit-red);
    text-decoration: none;
}
#hospital-departments-list ul a:hover, #hospital-departments-list ul a:focus, #hospital-departments-list ul li.current-page a,
#aside-menu ul a:hover, #aside-menu ul a:focus, #aside-menu ul li.current-page a{
    text-decoration: underline;
}
#hospital-departments-list ul li, #aside-menu ul li {
    font-size: 1.125em;
    margin-bottom: 14px;
    font-weight: 500;
    text-transform: uppercase   ;
}
    /* strona kategorii */
#kafelki-kategorie .row li a {
    background: var(--wcpit-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    min-height: 130px;
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

#kafelki-kategorie .row {
    text-align: center;
    list-style: none;
    padding-left: 0;
}
#kafelki-kategorie .row li:nth-of-type(3n+1) a {
    background: var(--wcpit-orange);
    border: 3px solid var(--wcpit-orange);
}
#kafelki-kategorie .row li:nth-of-type(3n+1) a:hover, #kafelki-kategorie .row li:nth-of-type(3n+1) a:focus  {
    color: var(--wcpit-orange);
    background: #ffffff;
}

#kafelki-kategorie .row li:nth-of-type(3n+2) a {
    background: var(--wcpit-violet);
    border: 3px solid var(--wcpit-violet);
}
#kafelki-kategorie .row li:nth-of-type(3n+2) a:hover, #kafelki-kategorie .row li:nth-of-type(3n+2) a:focus {
    color: var(--wcpit-violet);
    background: #ffffff;
}

#kafelki-kategorie .row li:nth-of-type(3n) a {
    background: var(--wcpit-red);
    border: 3px solid var(--wcpit-red);
}
#kafelki-kategorie .row li:nth-of-type(3n) a:hover, #kafelki-kategorie .row li:nth-of-type(3n) a:focus {
    color: var(--wcpit-red);
    background: #ffffff;
}

/* wspolne */
#breadcrumbs-container {
    padding-top: 30px;
}
#main_content {
    padding-bottom: 30px;
}
.home-page #main_content {
    padding-top: 30px;
}

#page__banner {
    background: url("../gfx/page-baner.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    height: 360px;
    background-size: cover;
}
h1#page_title {
    font-size: 2.0rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 500;
}
.main_content__page article h2, section.contact-form h2{
    font-size: 1.5rem;
    margin: 1.5rem 0;
    font-weight: 500;
}
.main_content__page article h3 {
    font-size: 1.25rem;
    margin: 1.25rem 0;
    font-weight: 500;
}
.main_content__page article h2:after, .main_content__page article h3:after  {
    display: block;
    content: '';
    max-width: 240px;
    height: 1px;
    background: var(--wcpit-orange);
    margin-top: 2px;
}
.main_content__page article h3:after {
    max-width: 120px;
}
h1#page_title:after {
    display: block;
    content: '';
    max-width: 240px;
    height: 1px;
    background: var(--wcpit-orange);
    margin-top: 2px;
}
article iframe {
    max-width: 100%;
}
#latest_news h2  {
    text-transform: uppercase;
    margin-bottom: 20px;
}
#latest_news h2:after {
    display: block;
    content: '';
    max-width: 280px;
    height: 1px;
    margin-top: 5px;
    background: var(--wcpit-orange);
}
time.news_published {
    margin-bottom: 1rem;
    display: inline-block;
}
.page-link, .page-link:hover {
    color: var(--wcpit-red);
}

/* aktualnosci */
#latest_news .news-title {
    border-bottom: 1px solid var(--wcpit-orange);
    padding-bottom: 10px;
    font-size: 1.25rem;
}
h1.news-title {
    border-bottom: 1px solid var(--wcpit-orange);
    padding-bottom: 10px;
    font-size: 2rem;
}
section.news-list h2.news-title {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--wcpit-orange);
    font-size: 1.5rem;
    font-weight: 500;
}
section.news-list article {
    margin-bottom: 75px;
}


/* bannery */
.home_page__aside_baner {
    margin-top: 40px;
}
.home_page__aside_baner a {
    display: inline-block;
}
.home_page__aside_baner img {
    max-width: 100%;
}
a.read-more {
    color: var(--wcpit-red);
    border: solid 3px var(--wcpit-red);
    background-color: #ffffff;
    font-size: 1.120rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 70px 10px 40px;
    display: inline-block;
    background-image: url("../gfx/ico-read-more.png");
    background-size: 28px;
    background-repeat: no-repeat;
    background-position: right 0.625rem center;
}
a.read-more:hover, a.read-more:focus {
    background-color: var(--wcpit-red);
    background-image: url("../gfx/ico-read-more-white.png");
    color: #ffffff;
}

/* logotypy w stopce */
#footer-logotypes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}
#footer-logotypes a {
	display: inline-block;
}
body.home-page #footer-logotypes,
body.category-listing #footer-logotypes,
body.hospital-category-listing #footer-logotypes,
body.contact-page #footer-logotypes,
body.sitemap #footer-logotypes,
body.search-results #footer-logotypes  {
    border-top: 1px solid var(--wcpit-orange);
}


/* formularz kontaktowy */
#map iframe {
    width: 100%;
}
.contact__p_with_icon {
    font-weight: 600;
    font-size: 1.4rem;
}
.contact__p_with_icon img {
    margin-right: 20px;
}

.required_mark {
    font-size: 1.2rem;
    font-weight: 600;
    color: #dd0000;
}
.contact-form label {
    width: 100%;
    margin: 5px 0;
}
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], textarea, select {
    background: #ebebeb;
    border: 0;
    width: 100%;
    padding: 8px;
}
.contact-form textarea {
    min-height: 200px;
}
.contact-form .error input[type=text], .contact-form .error input[type=email],
.contact-form .error input[type=tel], .error textarea, .error select {
    border: 2px solid #dd0000;
}

#submit_contact_form,
#submit_survey_form {
    background: var(--wcpit-red);
    color: #ffffff;
    border: 0;
    padding: 10px 30px;
    text-transform: uppercase;
}
.contact-form input[type=submit]:hover {
    background: #C51113;
}
span.error {
    color: #dd0000;
}
.contact_form_errors {
    background: #dd0000;
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.contact_form_sent {
    background: darkgreen;
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.contact_form_errors p, .contact_form_sent p{
    margin: 0;
}

/* ankieta */
.survey_form label {
    width: 100%;
    margin: 5px 0;
    padding: 4px;
}

.survey_form .answers_container {
    display: flex;
}

.survey_form fieldset {
    margin: 25px 0 10px 0;
}

.survey_form .survey_input {
    margin-top: 8px;
}

.survey_form select {
    margin-top: 10px;
}

.radio_question_container {
    display: flex;
    gap: 10px;
}

.radio_question_container input[type=radio] {
    opacity: 0;
    position: absolute;
}

.survey_form fieldset input[type=radio] + label,
.radio_question_container > label {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    text-align: center;
}

.high-contrast .survey_form fieldset input[type=radio] + label,
.high-contrast .radio_question_container > label,
.high-contrast .survey_form textarea {
    border: 1px solid #ffff00;
}

.survey_form fieldset.error input[type=radio] + label {
    border: 2px solid var(--wcpit-red);
}

.survey_form fieldset input[type=radio] + label:hover,
.radio_question_container > label {
    cursor: pointer;
}

.survey_form fieldset legend,
.survey_form .question_text{
    font-size: 1rem;
    font-weight: 500;
}

.survey_form fieldset input[type=radio]:focus + label,
.radio_question_container label:has(> input[type=radio]:focus) {
    outline: 3px dashed #0000ff;
    outline-offset: 3px;
}

.survey_form fieldset input[type=radio]:checked + label,
.radio_question_container label:has(> input[type=radio]:checked) {
    background: var(--wcpit-violet);
    color: white;
}

.high-contrast .survey_form fieldset input[type=radio]:checked + label,
.high-contrast .radio_question_container label:has(> input[type=radio]:checked) {
    background: #ffff43 !important;
    color: black !important;
}

.survey_form .visually-hidden {
    opacity: 0;
}

.survey_form .vertical_radio_question_container {
    margin-left: 15px;
}

.survey_form input[type=text], .survey_form input[type=email], .survey_form input[type=tel], textarea, select {
    background: #ebebeb;
    border: 0;
    width: 100%;
    padding: 8px;
}
.survey_form textarea {
    min-height: 200px;
}
.survey_form .error input[type=text], .survey_form .error input[type=email],
.survey_form .error input[type=tel], .error textarea, .error select {
    border: 2px solid #dd0000;
}

#submit_contact_form,
#submit_survey_form {
    background: var(--wcpit-red);
    color: #ffffff;
    border: 0;
    padding: 10px 30px;
    text-transform: uppercase;
}
.survey_form input[type=submit]:hover {
    background: #C51113;
}
span.error {
    color: #dd0000;
}
.survey_form_errors {
    background: #dd0000;
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.survey_form_sent {
    background: darkgreen;
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.survey_form_errors p, .survey_form_sent p{
    margin: 0;
}

#surveyForm > span:last-of-type{
    display: block;
    margin-bottom: 10px;
}
    /* stopka */

#footer__content{
    background: var(--wcpit-violet);
    color: #ffffff;
    min-height: 350px;
    padding: 45px 0;
}
#footer__content h2 {
    text-transform: uppercase;
    margin-bottom: 20px;
}
#footer__content h2:after {
    display: block;
    content: '';
    max-width: 280px;
    height: 1px;
    margin-top: 5px;
    background: var(--wcpit-orange);
}
#footer__content strong {
    font-weight: 500;
}
#footer__adressess .row p {
    font-size: 0.9rem;
}

#footer__navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#footer__navigation ul li {
    margin-bottom: 12px;

}
#footer__navigation ul a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
}
#footer__navigation ul a:hover {
    border-bottom: 1px solid var(--wcpit-orange);
}
#footer__copyright-info {
    background: #000;
    color: #ffffff;
    font-size: 0.875rem;
    padding: 8px 0;
}
/* z edytora */
#page_content img[align="left"] {
    margin:  0 .8rem .8rem 0;
}
#page_content ul li, #page_content ol li {
    margin-bottom: 0.5rem;
}


/* dobry posilek w szpitalu */

.main_content__page article .weekly-menu__week h3, .main_content__page article .weekly-menu__week h2 {
    margin: 0;
}
.main_content__page article .weekly-menu__week h3 button, .main_content__page article .weekly-menu__week h2 button  {
    font-size: 1.25rem;
}
.main_content__page article .weekly-menu__week h3::after, .main_content__page article .weekly-menu__week h2::after  {
    display: none;
}
.weekly-menu__day_name, h3.weekly-menu__day_name {
    font-weight: bold;
    font-size: 1.25rem;
    margin-top: 1em;
}
.weekly-menu__meal_name {
    font-size: 1.125rem;
    font-weight: 500;
}
.weekly-menu__meal_photo {
    margin: 1rem 0;
}
.weekly-menu__day {
    padding: 1.875rem;
    border: 1px solid #bbb;
    margin-bottom: 1rem;
}
.weekly-menu__day_name+.weekly-menu__day+.weekly-menu__day,
.weekly-menu__day_name+.weekly-menu__day+.weekly-menu__day+.weekly-menu__day+.weekly-menu__day  {
    border-left: 0;
}


@media (max-width: 991px) {
    .weekly-menu__days {
        flex-direction: column;
    }

    .weekly-menu__day_name+.weekly-menu__day+.weekly-menu__day,
    .weekly-menu__day_name+.weekly-menu__day+.weekly-menu__day+.weekly-menu__day+.weekly-menu__day {
        border-left: 1px solid #999;
    }
}
.accordion-body {
    padding: 0;
}

#accordion-weekly-menu .accordion-button:focus {
    box-shadow: none;
    outline: 3px dashed #0000ff;
    outline-offset: 3px;
}
#accordion-weekly-menu button:focus:not(:focus-visible) {
    outline: 3px dashed #0000ff;
    outline-offset: 3px;
}
.accordion-button.collapsed {
    background-color: #E6E6E6   ;
}
.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: var(--wcpit-red);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.high-contrast .accordion-button.collapsed {
    border: 3px solid #ffff00;
}
.high-contrast .accordion-button:not(.collapsed) {
    border: 3px solid #ffff00;
    background: #ffff00 !important;
    color: #000000 !important;
}
.high-contrast .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.high-contrast .accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffff00'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.high-contrast .weekly-menu__day {
    border-color: #222222;
}
/* high contrast */

.high-contrast * {
    background-color: black !important;
    color: #ffff00 !important;
}
.high-contrast #latest_news .news-title, .high-contrast h1.news-title, .high-contrast section.news-list h2.news-title {
    border-color: #000000;
}
.high-contrast .high-contrast-logo  {
    display: block;
}
.high-contrast .high-contrast-btn-search {
    display: inline-block;
}
.high-contrast .normal-logo, .high-contrast .normal-btn-search {
    display: none;
}
.high-contrast a:hover, .high-contrast a:focus  {
    color: #ffffff !important;
}
.high-contrast #erejestracja a{
    background: #ffff00 !important;
    color: #000000 !important;
}

.high-contrast h1::after, .high-contrast h2::after, .high-contrast h3::after {
    display: none !important;
}
.high-contrast #sf_keyword {
    border-color: #ffff00;
}
.high-contrast #main_menu ul li a {
    border-color: #000000;
}
.high-contrast #main_menu ul li a:hover, .high-contrast #main_menu ul li a:focus, .high-contrast #main_menu ul li.current a {
    border-color: #ffff00;
}
.high-contrast #kafelki-kategorie .row li a {
    border-color: #ffff00 !important;
}
.high-contrast #kafelki-kategorie .row li a:hover, .high-contrast #kafelki-kategorie .row li a:focus {
    border-color: white !important;
}
.high-contrast #footer-logotypes {
    border-top: 0 !important;
    background: #ffffff !important;
}
.high-contrast #top_bar #menu_related ,
.high-contrast #top_bar #menu_related li,
.high-contrast #top_bar #menu_related li a,
.high-contrast #top_bar #menu_related li a img{
    background-color: #ffffff !important;
}
.high-contrast #top_bar #menu_related {
    padding: 0 10px;
}

.high-contrast .hospital-box {
    background-color: #ffff00 !important;
}
.high-contrast #hospital-links h2, .high-contrast #hospital-links .hospital-box p {
    background-color: #ffff00 !important;
    color: #000 !important;
}
.high-contrast #hospital-links .poznan {
    background-image: url("../gfx/ico-poznan-black.png");
}
.high-contrast #hospital-links .chodziez {
    background-image: url("../gfx/ico-chodziez-black.png");
}
.high-contrast #hospital-links .ludwikowo {
    background-image: url("../gfx/ico-ludwikowo-black.png");
}
.high-contrast #hospital-links .hospital-box p a.read-more {
    background-image: url("../gfx/ico-read-more-hc.png");
}
.high-contrast #hospital-links .hospital-box p a.read-more:hover, .high-contrast #hospital-links .hospital-box p a.read-more:focus {
    background-image: url("../gfx/ico-read-more-white.png");
}

.high-contrast #hospital-departments-list h2, .high-contrast #aside__links h2 {
    background-color: #ffff00 !important;
    color: #000000 !important;
}

.high-contrast #link__conference-centre, .high-contrast #link__poznan,
.high-contrast #link__public-contracts,  .high-contrast #link__ludwikowo,
.high-contrast #link__about-pulmonology,  .high-contrast #link__chodziez {
    border-color: #ffff00;

}
.high-contrast a.read-more {
    border-color: #ffff00;
    background-image: url("../gfx/ico-read-more-hc.png");
}
.high-contrast a.read-more:hover, .high-contrast a.read-more:focus {
    background-image: url("../gfx/ico-read-more-white.png");
    border-color: #ffffff;
}
.high-contrast #link__conference-centre {
    background-image: url("../gfx/ico-centrum-konferencyjne-hc.png");
}
.high-contrast #link__conference-centre:hover, .high-contrast #link__conference-centre:focus {
    background-image: url("../gfx/ico-centrum-konferencyjne-white.png");
    border-color: #ffffff;
}
.high-contrast #link__public-contracts {
    background-image: url("../gfx/ico-zamowienia-publiczne-hc.png");
}
.high-contrast #link__public-contracts:hover, .high-contrast #link__public-contracts:focus {
    background-image: url("../gfx/ico-zamowienia-publiczne-white.png");
    border-color: #ffffff;
}
.high-contrast #link__about-pulmonology {
    background-image: url("../gfx/ico-o-pulmonologii-hc.png");
}
.high-contrast #link__about-pulmonology:hover, .high-contrast #link__about-pulmonology:focus {
    background-image: url("../gfx/ico-o-pulmonologii-white.png");
    border-color: #ffffff;
}
.high-contrast #link__poznan {
    background-image: url("../gfx/ico-poznan-small-hc.png");
}
.high-contrast #link__poznan:hover, .high-contrast #link__poznan:focus {
    background-image: url("../gfx/ico-poznan-small-white.png");
    border-color: #ffffff;
}
.high-contrast #link__ludwikowo {
    background-image: url("../gfx/ico-ludwikowo-small-hc.png");
}
.high-contrast #link__ludwikowo:hover, .high-contrast #link__ludwikowo:focus {
    background-image: url("../gfx/ico-ludwikowo-small-white.png");
    border-color: #ffffff;
}
.high-contrast #link__chodziez {
    background-image: url("../gfx/ico-chodziez-small-hc.png");
}
.high-contrast #link__chodziez:hover, .high-contrast #link__chodziez:focus {
    background-image: url("../gfx/ico-chodziez-small-white.png");
    border-color: #ffffff;
}
.high-contrast #hospital-departments-list li::before, .high-contrast #aside-menu li::before {
    background-image: url("../gfx/ico-read-more-hc.png");
}

.high-contrast #top_bar a#high-contrast {
     color: #3b3b3b !important;
     background: #ffffff !important;
 }
.high-contrast #top_bar a#high-contrast img#ico-hc-hc {
    display: none;
}
.high-contrast #top_bar a#high-contrast img#ico-hc {
    display: block;
    background-color: #ffffff !important;
}


#accept_cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #dddddd;
    border-top: 1px solid #888;
    z-index: 10;
}
#accept_cookies p {
    width: 980px;
    margin: 0 auto;
    padding: 15px 0;
    line-height: 160%;
}
#accept_cookies a {
    color: #0048d7;
}

/* responsive * /

// X-Small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) { ... }

// Small devices (landscape phones, less than 768px)
@media (max-width: 767.98px) { ... }

// Medium devices (tablets, less than 992px)
@media (max-width: 991.98px) { ... }

// Large devices (desktops, less than 1200px)
@media (max-width: 1199.98px) { ... }

// X-Large devices (large desktops, less than 1400px)
@media (max-width: 1399.98px) { ... }

*/
/* font large  */
@media (min-width: 768px) {
    .font-large #latest_news article {
        width: 100%;
        margin-bottom: 50px;
    }

    .font-large #footer__adressess div.row div, .font-medium #footer__adressess div.row div {
        width: 50%;
    }

    .font-large #kafelki-kategorie .row li {
        width: 50%;
    }
    .font-large #kafelki-kategorie .row li a {
        display: block;
    }
}
@media (max-width: 767.98px) {
    .font-large #kafelki-kategorie .row li {
        width: 100%;
    }
}
.font-large #kafelki-kategorie .row li a {
    display: block;
}

@media (max-width: 991.98px) {
    #top_bar a#high-contrast {
        background: #3b3b3b;
        color: #ffff43;
        padding: 8px 10px;
        font-size: .825rem;
    }

    #header__logo, #erejestracja {
        min-height: 120px;
        margin-top: 20px;
    }
    #search_form {
        margin-left: auto;
        min-height: 40px;
        margin-bottom: 20px;
        margin-top: 0;
    }

    #home_page__banner {
        height: 550px;
    }

    .hospital_home__banner {
        height: 520px;
    }
    .hospital_page__banner, #page__banner {
        height: 260px;
    }
}

@media (max-width: 767.98px) {
    #top_bar .container {
        justify-content: flex-end;
        padding: 0;
    }
    #menu_related, #menu_accessibility {
        flex: 1;
        justify-content: center;
    }
    #top_bar #menu_accessibility {
        display: flex;
        margin-bottom: 0px;
        padding: 8px 0 12px;
        border-bottom: 1px solid #DDDDDD;
    }
    #top_bar #menu_related li {
        margin-right: 15px;
    }

    #header__logo {
        padding-left: 0;
        flex: 100%;
        justify-content: left;
        min-height: 100px;
        display: flex;
    }
    #erejestracja, #search_form {
        min-height: auto;
        flex: 100%;

    }
    #header__logo img {
        height: 58px;
        width: 254px;
    }


    #header__logo {
        padding-left: 20px;
        padding-right: 20px;
        display: flex;
        justify-content: space-between;
    }
    #mobile-menu-toggle, #mobile-a11y-menu-toggle {
        display: block;
        background: none;
        border: none;
    }

    #mobile-menu-toggle {
        display: block;
        width: 46px;
        height: 46px;
        padding: 6px;
        cursor: pointer;
        margin-left: 30px;

    }
    #mobile-menu-toggle span{
        height: 3px;
        width: 30px;
        margin: 4px 0;
        display: block;
        background: var(--wcpit-violet);
        float: left;
    }
    #mobile-menu-toggle.opened span:nth-of-type(1), #mobile-menu-toggle.opened span:nth-of-type(3) {
        background: #fff;
    }
    #main_menu, #search_form, #erejestracja {
        display: none;
    }
    .menu-opened #main_menu{
        display: flex;

    }
    .menu-opened #search_form, .menu-opened #erejestracja {
        display: flex;
    }
    .menu-opened #erejestracja {
        padding-top: 20px;
        border-top: 1px solid #DDDDDD;
    }

    .menu-opened #erejestracja a {
        margin-left: 21px;
    }
    .menu-opened #search_form {
        margin-top: 20px;
    }
    .menu-opened #main_menu ul {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }

    #sf_keyword {
        margin-left: 20px;
    }

    #top_bar #menu_accessibility {
        display: none;
    }
    .accessibility-menu-opened #top_bar #menu_accessibility {
        display: flex;
    }
    #mobile-a11y-menu-toggle {
        padding: 6px;
    }
    #header__logo  img.high-contrast-a11y, img.a11y {
        width: 34px !important;
        height: 34px !important;

    }
    #header__logo  img.high-contrast-a11y {
        display: none;
    }
    .high-contrast #header__logo  img.high-contrast-a11y {
        display: block;
    }
    .high-contrast #header__logo  img.a11y {
        display: none;
    }

    .high-contrast #mobile-menu-toggle span {
        background: #ffff00 !important;
    }
    #skip_links {
        top: -30px;
    }
    #top_bar {
        padding: 0;
    }
    #top_bar #menu_related, .high-contrast #top_bar #menu_related {
        padding: 10px;
    }

    #hospital-departments-list h2 {
        margin-top: 30px;
        margin-bottom: 15px;
    }
    #home_page__banner {
        height: 450px;
    }
    .hospital_home__banner {
        height: 420px;
    }
    .hospital_page__banner, #page__banner{
        height: 200px;
    }
}

@media (max-width: 575.98px) {

    #header__logo img {
        height: 45px;
        width: 197px;
    }

    #home_page__banner {
         height: 300px;
    }
    .hospital_home__banner {
        height: 280px;
    }
    .hospital_page__banner, #page__banner {
        height: 180px;
    }
    #footer-logotypes img {
        width: auto;
		max-height: 40px;
    }
	#footer-logotypes  {
		padding-top: 10px;
	}
	#footer-logotypes  div {
		flex: 0;
		
	}

}