
.mobile-menu {
	background: #ffffff none repeat scroll 0 0;
	height: 100%;
	width:277px;
	min-width:277px !important;
	left: 100%;
	position: fixed;
	overflow-y: scroll;
	top: 0;
	z-index: 999;

	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}


@media screen and (max-width: 960px) {
	.page-section,
	body {
		min-width:100%;
	}

	.facebook-box {
		display:none;
	}

	body.mobile-menu-active .page-whole-wrapper {
		opacity:0.4;
	}

	.nfz-box,
	.page-top {
		display:none;
	}

	.mobile-bar {
		display:block;
		width:100%;
		height:50px;
		position:fixed;
		left:0;
		top:0;
		background: url("../images/dropdown_burger.png") no-repeat scroll right 15px center #1f3161;
		z-index:888;
		box-shadow:0px 0px 15px rgba(0,0,0,0.2);
		cursor:pointer;
		-webkit-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}

	.mobile-bar .register {
		float: left;
		background: #da241b;
		color: #ffffff;
		padding-left: 15px;
		padding-right: 15px;
		margin-left: 15px;
		font-weight: bold;
		text-transform: uppercase;
		font-size: 12px;
		line-height: 50px;
	}

	body.mobile-menu-active .mobile-bar {
		background-position: right 275px center;
	}


	.mobile-info-box {
		border:1px solid rgba(0, 0, 0, 0.2);
		background:rgba(255, 255, 255, 0.95) none repeat scroll 0 0;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;
		height: 100px;
		padding-top:20px;
		padding-bottom:20px;
		left: 50%;
		margin-left: -140px;
		margin-top: -170px;
		position: absolute;
		width: 280px;
		z-index: 666;
	}

	.mobile-info-box a {
		width:100%;
		margin-bottom:12px;
		padding:0px;
		text-align:center;
	}

	.mobile-info-box span {
		color:#333333;
		font-size:16px;
	}

	.mobile-menu.active {
		margin-left:-260px;
		box-shadow:0px 0px 15px rgba(0,0,0,0.35);
	}

	.mobile-menu ul {
		padding:0px;
		margin:0px;
	}

	.mobile-menu li {
		margin:0px;
		padding:0px;
	}

	.mobile-menu .no-link.menu-item-19,
	.mobile-menu .no-link .menu-item-has-children {
		max-height:0px;
		-webkit-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
		overflow:hidden;
	}

	.mobile-menu .no-link.menu-item-19 {
		max-height:50px;
	}

	.mobile-menu .no-link.active.menu-item-19,
	.mobile-menu .no-link.active .menu-item-has-children {
		max-height:1000px;
	}

	.mobile-menu a {
		line-height:20px;
		padding-top:15px;
		padding-left:20px;
		padding-right:10px;
		padding-bottom:15px;
		border-top:1px solid #cccccc;
		display:block;
		width:230px;
		color: #1f3161;
		font-size:15px;
		cursor:pointer !important;
	}

	.mobile-menu a:hover {
		color:#da241b !important;
		cursor:pointer !important;
	}

	.mobile-menu .sub-menu a {
		font-size:13px;
		padding-left:30px;
		width:220px;
		border-top:1px solid #eeeeee;
	}

	.mobile-menu .container {
		display: block;
		float:left;
		height: 100%;
		width: 260px;
	}

	.page-header {
		position:relative;
		top:0px;
		height:auto;
	}

	.page-header .row-tight {
		margin:0px;
	}

	.page-header .span7 {
		display:none;
	}

	.page-header .span5 {
		width:100%;
		margin:0px;
	}

	.page-header .span5 a {
		display:block;
		margin:11px auto;
	}

	body {
		padding-top:50px;
	}

	.container {
		width: 750px;
	}

	.bind-slider ul,
	.page-slogan,
	.bind-slider {
		height:200px;
	}

	.page-slogan .textwidget {
		margin:0px;
	}

	.bind-slider-navigation,
	.page-whole-wrapper .menu-main-menu-container {
		display:none;
	}

	.slide-content {
		margin-left:-186px;
	}

	.deklaracja a {
		letter-spacing:-0.5px;
		padding-left:0px;
		padding-right:0px;
	}

	.deklaracja p,
	.deklaracja a {
		width:auto;
	}

	.deklaracja {
		height:auto;
		padding-bottom:10px;
		padding-right:10px;
	}

	.img-box img,
	.img-box {
		width:150px;
		height:auto;
	}

	.img-box {
		margin-bottom:20px;
	}

	.partner-logo {
		max-width:320px;
		padding:5px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		margin:0 auto;
	}

	.partner-logo img {
		width:100%;
	}

	.page-header-logo-link {
		float:none;
	}

	.bind-slider li img {
		margin-left:0px;
		left:-35%;
	}

	.page-id-13 .sub-wrap .span3,
	.page-id-13 .sub-wrap .span9 {
		width:100%;
		margin:0px;
	}

	.page-id-13 .sub-wrap .span3 {
		margin-bottom:30px;
	}

	.side-showcase b {
		font-size:16px;
	}

	.side-showcase span {
		font-size:16px;
	}

}

@media screen and (max-width: 790px) {

	.bind-slider li img {
		margin-left:0px;
		left:-45%;
	}

	.container {
		width: 90%;
	}

	.row .span4,
	.row .span8 {
		width:100%;
		margin:0px;
	}

	.row .span8 {
		margin-bottom:50px;
	}

	.deklaracja a {
		width:220px;
		margin:0 auto 20px;
	}

	.side-showcase-wrap .span4 {
		width:33%;
	}

}


@media screen and (max-width: 690px) {


	.bind-slider li img {
		margin-left:0px;
		left:-58%;
	}

	.page-header {
		height:auto;
	}

	.page-header .span4 a {
		display:block;
		margin:10px auto;
		max-width:100%;
		height:auto;
	}

	.page-header .row-tight {
		margin:0px;
	}

	.page-header .span4 a img {
		max-width:100%;
	}

}

@media screen and (max-width: 490px) {

	.slide-content {
		width:260px;
		top:42px;
		margin-left:-150px;
	}

	.bind-slider li img {
		margin-left:0px;
		left:-100%;
	}

	.page-header-logo-link {
		width:300px;
		height:auto;
	}

	.page-header-logo-link img {
		width:300px;
		margin:0px;
	}

	body {
		min-width:320px;
	}

	.img-box {
		display: block;
		float: none;
		height: 165px;
		margin: 0 auto 20px;
		width: 265px;
	}

	.img-box img {
		width:265px;
		height:165px;
	}

}

/* ZPS-MOBILE-LANGUAGE-FIX-20261102
   Oddzielne rozmiary przyciskow PL/EN w menu mobilnym.
   Nie zmienia menu desktopowego ani podmenu.
*/
@media screen and (max-width: 960px) {

    .mobile-menu .language-selection {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 8px 12px;
        background: #ffffff;
    }

    .mobile-menu .language-selection > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        flex: 0 0 auto;
        width: auto;
        min-width: 48px;
        height: auto;

        box-sizing: border-box;
        margin: 0;
        padding: 12px 10px;

        border: 0;
        border-radius: 4px;
        background: transparent;

        font-size: 17px;
        line-height: 24px;
        font-weight: 700;

        color: #1f3161;
        text-decoration: underline;
    }

    .mobile-menu .language-selection > a[aria-current="page"] {
        color: #da241b;
        text-decoration: none;
    }

    .mobile-menu .language-selection > a:focus-visible {
        outline: 3px solid #da241b;
        outline-offset: 2px;
    }
}

/* ZPS-DIAGNOSTICS-SPACING-167
   Odstepy miedzy poradniami na stronach Diagnostyka PL/EN.
*/
body.page-id-58 h5[style*="text-align: center"],
body.page-id-3342 h5[style*="text-align: center"] {
    margin-top: 44px;
    margin-bottom: 22px;
}

/* ZPS-DIAGNOSTICS-SPACING-168
   Mniejszy odstep pomiedzy nazwa poradni
   a pierwszym opisem badania.
*/
body.page-id-58 h5[style*="text-align: center"],
body.page-id-3342 h5[style*="text-align: center"] {
    margin-top: 44px;
    margin-bottom: 8px;
}

body.page-id-58 h5[style*="text-align: center"] + h5,
body.page-id-3342 h5[style*="text-align: center"] + h5,
body.page-id-58 h5[style*="text-align: center"] + p,
body.page-id-3342 h5[style*="text-align: center"] + p {
    margin-top: 8px;
}


/* ZPS MOBILE ACCESSIBILITY - STEP 209 */
@media screen and (max-width: 960px) {
    .mobile-menu .accessibility-controls {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 8px 12px 12px;
        background: #ffffff;
    }

    .mobile-menu .accessibility-controls button {
        float: none;
        display: block;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        margin: 0;
        padding: 8px 5px;
        border: 2px solid #1f3161;
        border-radius: 4px;
        background: #1f3161;
        color: #ffffff;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
        text-align: center;
        cursor: pointer;
    }

    .mobile-menu .accessibility-controls button[aria-pressed="true"] {
        border-color: #da241b;
        box-shadow: inset 0 0 0 2px #da241b;
    }

    .mobile-menu .accessibility-controls button:focus-visible {
        outline: 3px solid #da241b;
        outline-offset: 2px;
    }

    body.contrast .mobile-menu .accessibility-controls button {
        font-size: 16px;
    }

    body.yellow .mobile-menu .accessibility-controls button {
        background: #000000;
        color: #ffff00;
        border-color: #ffff00;
    }
}


/* ZPS MOBILE MENU BUTTON - STEP 212 */
@media screen and (max-width: 960px) {
    button.mobile-bar {
        -webkit-appearance: none;
        appearance: none;
        box-sizing: border-box;
        border: 0;
        padding: 0;
        margin: 0;
        font: inherit;
        text-align: left;
    }

    button.mobile-bar:focus-visible {
        outline: 3px solid #ffffff;
        outline-offset: -5px;
    }
}


/* ZPS MOBILE SUBMENU - STEP 216 */
@media screen and (max-width: 960px) {
    .mobile-menu li.menu-item-has-children {
        position: relative;
    }

    .mobile-menu li.menu-item-has-children > a {
        box-sizing: border-box;
        width: 100%;
        padding-right: 54px;
    }

    .mobile-menu .zps-submenu-toggle {
        position: absolute;
        top: 2px;
        right: 7px;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 1px solid #1f3161;
        border-radius: 4px;
        background: #ffffff;
        color: #1f3161;
        font-family: inherit;
        font-size: 22px;
        font-weight: bold;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-menu .zps-submenu-toggle:focus-visible {
        outline: 3px solid #da241b;
        outline-offset: 2px;
    }

    .mobile-menu ul.sub-menu[hidden] {
        display: none !important;
    }

    .mobile-menu li.zps-submenu-open > ul.sub-menu {
        display: block !important;
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body.contrast .mobile-menu .zps-submenu-toggle {
        font-size: 24px;
    }

    body.yellow .mobile-menu .zps-submenu-toggle {
        background: #000000;
        color: #ffff00;
        border-color: #ffff00;
    }
}

/* ZPS-MOBILE-CONTRAST-264A */
@media (max-width: 960px) {
    body.yellow .mobile-menu {
        background: #000 !important;
        color: #fff !important;
        border-left: 1px solid #ff0 !important;
    }

    body.yellow .mobile-menu .language-selection,
    body.yellow .mobile-menu .accessibility-controls,
    body.yellow .mobile-menu li,
    body.yellow .mobile-menu .sub-menu {
        border-color: #ff0 !important;
    }

    body.yellow .mobile-menu a,
    body.yellow .mobile-menu .menu a,
    body.yellow .mobile-menu .sub-menu a,
    body.yellow .mobile-menu .language-selection a {
        color: #fff !important;
    }

    body.yellow .mobile-menu a:hover,
    body.yellow .mobile-menu a:focus,
    body.yellow .mobile-menu .menu a:hover,
    body.yellow .mobile-menu .menu a:focus,
    body.yellow .mobile-menu .sub-menu a:hover,
    body.yellow .mobile-menu .sub-menu a:focus,
    body.yellow .mobile-menu .language-selection a:hover,
    body.yellow .mobile-menu .language-selection a:focus,
    body.yellow .mobile-menu .current-menu-item > a,
    body.yellow .mobile-menu .current_page_item > a {
        color: #ff0 !important;
    }

    body.yellow .mobile-menu button,
    body.yellow .mobile-menu .accessibility-controls button {
        background: #000 !important;
        color: #ff0 !important;
        border: 2px solid #ff0 !important;
        box-shadow: none !important;
    }

    body.yellow .mobile-menu button:hover,
    body.yellow .mobile-menu button:focus,
    body.yellow .mobile-menu .accessibility-controls button:hover,
    body.yellow .mobile-menu .accessibility-controls button:focus {
        background: #ff0 !important;
        color: #000 !important;
        outline: none !important;
    }

    body.yellow .mobile-menu button[aria-expanded="true"],
    body.yellow .mobile-menu button[aria-pressed="true"],
    body.yellow .mobile-menu .accessibility-controls button[aria-pressed="true"] {
        background: #ff0 !important;
        color: #000 !important;
    }

    body.yellow .mobile-menu a:focus,
    body.yellow .mobile-menu button:focus {
        outline: 2px solid #ff0 !important;
        outline-offset: 2px !important;
    }

    /* ZPS-MOBILE-LANGUAGE-264Q
       Aktywny jezyk wg aria-current="page".
       Dotyczy tylko mobilnego wysokiego kontrastu.
    */

    body.yellow #zps-mobile-menu .language-selection {
        color: #000000 !important;
        background-color: #ffffff !important;
    }

    /* Oba jezyki: jednakowa baza wygladu. */
    body.yellow #zps-mobile-menu .language-selection > a {
        color: #000000 !important;
        background: #ffffff !important;
        border: 2px solid transparent !important;
        box-shadow: none !important;
        outline: none !important;
        text-decoration: underline !important;
    }

    /* Tylko aktualny jezyk otrzymuje zolte pole. */
    body.yellow #zps-mobile-menu
    .language-selection > a[aria-current="page"] {
        color: #000000 !important;
        background: #ffff00 !important;
        border-color: #ffff00 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    /* Podswietlenie drugiego jezyka po najechaniu. */
    body.yellow #zps-mobile-menu
    .language-selection > a:not([aria-current="page"]):hover {
        color: #000000 !important;
        background: #ffff00 !important;
        border-color: #000000 !important;
    }

    /* Widoczny fokus przy obsludze klawiatura. */
    body.yellow #zps-mobile-menu
    .language-selection > a:focus-visible {
        outline: 3px solid #000000 !important;
        outline-offset: 2px !important;
    }
}


/* ZPS-MOBILE-BAR-264N
   Wspolny mechanizm ikon mobile.
   Bez dodatkowego odstepu nad panelem.
*/
@media screen and (max-width: 960px) {

    button.mobile-bar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 50px;
        box-sizing: border-box;
        z-index: 888;
        background-color: #1f3161 !important;
        background-image: none !important;
        color: #ffffff !important;
        border: 0;
        border-radius: 0;
    }

    body.yellow button.mobile-bar {
        background-color: #000000 !important;
        color: #ffff00 !important;
        border-bottom: 2px solid #ffff00 !important;
        box-shadow: none !important;
    }

    button.mobile-bar::before,
    button.mobile-bar::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 16px;
        width: 26px;
        height: 3px;
        background-color: currentColor;
        pointer-events: none;
    }

    /* Menu zamkniete - hamburger. */
    button.mobile-bar::before {
        transform: translateY(-50%);
        box-shadow:
            0 -8px 0 currentColor,
            0 8px 0 currentColor;
    }

    button.mobile-bar::after {
        display: none;
    }

    /* Menu otwarte - jeden znak X. */
    body.mobile-menu-active button.mobile-bar::before,
    body.mobile-menu-active button.mobile-bar::after {
        right: 275px;
        box-shadow: none;
    }

    body.mobile-menu-active button.mobile-bar::before {
        transform: translateY(-50%) rotate(45deg);
    }

    body.mobile-menu-active button.mobile-bar::after {
        display: block;
        transform: translateY(-50%) rotate(-45deg);
    }

    button.mobile-bar:focus-visible {
        outline: 3px solid #ffffff !important;
        outline-offset: -5px !important;
    }

    body.yellow button.mobile-bar:focus-visible {
        outline-color: #ffff00 !important;
    }
}
