body {
    overflow-x: hidden;
}

.wrapper {
    min-height: 100vh;
}

.toolbar {
    padding-top: 32px;
    padding-bottom: 32px;
}

.health_service {
    background-image: url(../images/health_service.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 190px;
    height: 51px;
    margin-left: 50px;
}

a {
    font-weight: 600;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    text-decoration: none;
}

/*---------------------search-box------------*/
.search-box {
    /* margin-left: 215px; */
}

.search-box,
.search-box form,
.search-box form input,
.search-box .awesomplete {
    width: 470px;
}

.search-box form input {
    width: 100%;
    border: 1px solid var(--bs-border-color);
    background-image: url(../images/search.png);
    background-size: 20px 20px;
    background-position: 18px 50%;
    background-repeat: no-repeat;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    padding-left: 85px;
    border-radius: var(--bs-border-radius);
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 18px;
    line-height: 1;
}

.awesomplete {
    color: var(--bs-border-radius-sm);
    font-size: 14px;
}

.awesomplete>ul {
    background: #ffffff !important;
    border-radius: var(--bs-border-radius-sm) !important;
}

.awesomplete mark {
    background: var(--bs-highlight-bg) !important;
    color: #ffffff;
}

/*---------------------mod-socialnetwork------------*/
.mod-socialnetwork {
    font-size: 38px;
    height: 100%;
    padding-left: 10px;
    line-height: 38px;
}

/*---------------------Contrast btn------------*/
#contrast {
    display: flex;
    margin: 0 50px;
    color: #000000;
    align-items: center;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    margin: 0px 40px 0px auto;
    background: none;
    border: 0px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

#contrast i {
    margin-right: 15px;
    font-size: 24px;
}

#contrast:active,
#contrast:focus,
#contrast:hover {
    color: var(--bs-primary);
}

/*---------------------header------------*/
header {}

.header-block {
    padding-top: 25px;
    padding-bottom: 50px;
    position: relative;
}

.header-block::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: #f1f1f1;
    background-image: url(../images/header.svg);
    background-size: cover;
    border-radius: var(--bs-border-radius-2xl);
    z-index: -1;
}

.sitelogo {
    background: url(../images/logo.png) no-repeat 50%;
    background-size: 100% auto;
    height: 100%;
    min-height: 171px;
    width: 154px;
    margin-left: 50px;
    margin-right: 18px;
}

#title {
    text-transform: uppercase;
}

#title>div p {
    margin-bottom: 0px;
    font-weight: 400;
    font-size: 25px;
    line-height: 60px;
}

#title h1,
#title h2,
#title h3 {
    /* margin-bottom: 15px; */
    margin-bottom: 0px;
    font-weight: 700;
    font-size: 51px;
    /* line-height: 37px; */
}

#contact-info {
    padding-left: 235px;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 30px;
}

#contact-info p {
    margin-bottom: 0;
}

#contact-info>div {
    --bs-link-color: var(--bs-body-color);
    --bs-link-hover-color: var(--bs-primary);
}

#contact-info>div:last-child {
    color: var(--bs-primary);
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: #055a40;
}

#contact {
    padding-left: 55px;
    background: url(../images/marker.svg) no-repeat 0 50%;
}

#hotline {
    padding-left: 55px;
    background: url(../images/phone.svg) no-repeat 0 50%;
}

/*---------------------menu------------*/
#menu-block {
    margin-top: 50px;
    position: relative;
    background-color: var(--bs-primary);
    --bs-link-color: var(--bs-body-bg);
    --bs-link-hover-color: var(--bs-yellow);
    box-shadow: 2px 4px 12px 0px rgba(0, 0, 0, 0.25);
    margin-left: calc(-50vw + 50%);
    width: 100vw;
    padding-top: 10px;
    padding-bottom: 10px;
}

.toggle-menu {
    background: url(../images/icon-menu.svg) no-repeat 50%;
    height: 54px;
    width: 54px;
    display: block;
}

#menu-ql .mod-menu {
    height: 100%;
    flex-wrap: nowrap;
}

#menu-ql .mod-menu>li {
    display: flex;
}

#menu-ql .mod-menu>li a {
    display: flex;
    align-items: center;
    padding: 0 15px;
    -webkit-transition: none;
    transition: none;
}

#menu-ql .mod-menu>li img {
    margin-right: 15px;
    width: 35px;
    height: 35px;
}

#menu-ql .active>a {
    --bs-link-color: var(--bs-yellow);
}

#menu-ql .mod-menu>li:active img,
#menu-ql .mod-menu>li:focus img,
#menu-ql .mod-menu>li:hover img,
#menu-ql .active img {
    filter: brightness(0) saturate(100%) invert(88%) sepia(89%) saturate(5263%) hue-rotate(343deg) brightness(98%) contrast(96%);
}

#mainmenu {
    --bs-link-color: var(--bs-body-color);
    --bs-link-hover-color: var(--bs-primary);
}

#mainmenu nav {
    height: 100%;
}

#mainmenu .active>a {
    --bs-link-color: var(--bs-primary);
}

#mainmenu .offcanvas .mod-menu ul {
    padding-left: 25px;
    border-left: 2px solid var(--bs-primary);
}

#mainmenu .mod-socialnetwork {
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: var(--bs-green);
    margin-top: 15px;
    padding: 0;
}

#mainmenu .offcanvas .sitelogo {
    height: 100%;
    min-height: 65px;
    width: 45px;
    background-size: 100% auto;
    background-position: 50%;
}

#mainmenu .offcanvas .title {
    height: 100%;
    display: flex;
    align-items: center;
}

#mainmenu .offcanvas .title>div p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 0px;
}

#mainmenu .offcanvas .title h1,
#mainmenu .offcanvas .title h2,
#mainmenu .offcanvas .title h3 {
    margin-bottom: 0px;
    font-weight: 700;
    font-size: 17px;
}

#mainmenu .offcanvas .collapse-toggle {
    position: relative;
}

#mainmenu .offcanvas .collapse-toggle::after {
    display: inline-block;
    content: "";
    border-right: 0.4em solid transparent;
    border-left: 0.4em solid transparent;
    border-bottom: 0.6em solid;
    border-top: 0;
    margin-left: 10px;
}

#mainmenu .offcanvas .collapsed.collapse-toggle::after {
    border-top: 0.6em solid;
    border-bottom: 0;
}

#mainmenu .offcanvas .mod-menu>li>a {
    font-weight: 500;
    font-size: 22px;
    line-height: 27px;
    padding: 13px 0;
    display: block;
}

#mainmenu .offcanvas .mod-menu ul a {
    font-size: 18px;
    margin-bottom: 8px;
    display: block;
}

.menu-info {
    padding: 70px 0 35px;
}

.menu-info ul {
    display: none;
}

.menu-info li {
    flex: 1 0 20%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.menu-info li a {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    --bs-link-color: var(--bs-body-color);
    --bs-link-hover-color: var(--bs-primary);
}

.menu-info .image-menu img {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.menu-info .image-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 183px;
    height: 183px;
    border-radius: var(--bs-border-radius-sm);
    box-shadow: 0px 0px 25px 0px rgba(0, 87, 149, 0.13);
    background-color: var(--bs-body-bg);
    margin-bottom: 40px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.menu-info li:active .image-menu,
.menu-info li:focus .image-menu,
.menu-info li:hover .image-menu {
    background-color: var(--bs-yellow);
    box-shadow: 0px 0px 25px 0px rgb(199, 199, 199);
    transform: scale(1.1);
}

.menu-info li:active .image-menu img,
.menu-info li:focus .image-menu img,
.menu-info li:hover .image-menu img {
    filter: brightness(0) invert(1);
}

.menu-info .image-menu {
    font-family: Oswald;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}


#zapis-btn {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
}

#zapis-btn .image-title {
    max-width: 130px;
}

/*-------------------content--------------*/
#content {
    border-top-right-radius: var(--bs-border-radius-2xl);
    border-top-left-radius: var(--bs-border-radius-2xl);
    overflow: hidden;
    background: rgba(213, 213, 213, 0.22);
    padding: 0px 70px;
    border: 1px solid rgba(213, 213, 213, 0.22);
}

.about img {
    float: left;
    margin-right: 15px;
    max-width: 40%;
    height: auto;
}

.about p {
    margin-bottom: 3px;
}

.second-page .container-component {
    min-height: 400px;
}

#structure {
    margin-bottom: 45px;
}

#structure .categories-module {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bs-primary);
    border-radius: var(--bs-border-radius-xl);
    padding: 30px 30px 35px 50px;
}

#structure .cat-item {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 400;
    line-height: 41px;
    --bs-link-color: var(--bs-body-bg);
    --bs-link-hover-color: var(--bs-yellow);
}

#structure .cat-item:last-child {
    margin-bottom: 0px;
}

#structure .cat-item a {
    display: flex;
    font-weight: 400;
}

#structure .cat-icon {
    display: flex;
    width: 60px;
    height: 40px;
    align-items: center;
}

#structure .cat-icon img {
    height: 100%;
    width: auto;
}

#structure .zhym-map-default {
    margin: 0 !important;
    border-radius: var(--bs-border-radius-xl);
    overflow: hidden;
    margin: 0 !important;
    height: 100% !important;
}

.mod_contact {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
}

.mod_contact .thumbnail {
    overflow: hidden;
    border-radius: var(--bs-border-radius);
    margin-bottom: 16px;
    box-shadow: 0px 0px 25px 0px rgb(186, 185, 185);
}

.mod_contact .surname {
    display: block;
    text-transform: uppercase;
}

/*-----------------Footer--------------------*/
footer {
    border-top-right-radius: var(--bs-border-radius-2xl);
    border-top-left-radius: var(--bs-border-radius-2xl);
    --bs-link-color: var(--bs-white);
    --bs-link-hover-color: var(--bs-yellow);
    color: var(--bs-white) !important;
    padding-top: 35px;
    padding-bottom: 35px;
    margin: 25px -70px 0;
}

.copyright {
    font-size: 18px;
    line-height: 27px;
}

.license {
    font-size: 18px;
    line-height: 27px;
}

.logo_miac {
    height: 54px;
    display: block;
    padding-top: 0px;
    color: #ffffff;
    margin: 0 auto;
}

.logo_miac img {
    height: 100%;
    filter: invert(1) grayscale(100%) brightness(200%);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    margin: -5px 0 0;
}

.logo_miac img:hover,
.logo_miac img:active,
.logo_miac img:focus {
    filter: invert(0) grayscale(50%) brightness(185%);
}

#social-footer-box .mod-socialnetwork {
    font-size: 36px;
    padding: 0px;
}

#social-footer-box .mod-socialnetwork a {
    --bs-link-color: var(--bs-white);
    --bs-link-hover-color: var(--bs-yellow);
}

#social-footer-box .soc-icon {
    padding-right: 15px !important;
}

.nav-footer .mod-list {
    flex-direction: column;
    margin: 10px 0;
}

footer .nav-footer li {
    margin: 0px;
    display: flex;
    padding: 2px 0;
}

footer .nav-footer a {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

footer .text-muted {
    color: #dddddd !important;
}

/*-----------------moduletop--------------------*/
#moduletop>* {
    margin-bottom: 45px;
}

/*-----------------modulecenter--------------------*/
#modulecenter>* {
    margin-bottom: 45px;
}

/*-----------------modulebottom--------------------*/
#modulebottom>* {
    margin-bottom: 45px;
}

/*-----------------Template--------------------*/
.second-page main {
    min-height: 400px;
    padding-bottom: 40px;
}

.container-component img {
    max-width: 100%;
    height: auto;
}

.container-component .category-desc {
    margin-bottom: 35px;
}

.article-info.text-muted {
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
}

.container-component .blog-item {
    margin-bottom: 50px;
}

#to-top {
    display: block;
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 15;
    cursor: pointer;
    background: var(--bs-primary);
    color: #fff;
    padding: 20px 20px 15px;
    border-radius: 10px;
    font-size: 30px;
    -webkit-transition: all 0.4s cubic-bezier(.68, -0.55, .27, 1.55);
    transition: all 0.4s cubic-bezier(.68, -0.55, .27, 1.55);
    line-height: 1
}

#to-top.in {
    z-index: 15;
    margin-left: 0px;
    opacity: .8;

}

#to-top.out {
    z-index: -15;
    margin-left: -30px;
    opacity: 0;
}

#to-top.in:hover {
    opacity: 1;
}

#slider {
    margin: 0 -70px 40px;
    position: relative;
    border-radius: var(--bs-border-radius-2xl);
    overflow: hidden;
}

.carousel-content {
    display: flex;
    align-content: center;
    align-items: center;
}

#slider .carousel-caption {
    right: auto;
    left: auto;
    padding: 25px 50px 25px 140px;
    text-align: left;
    max-width: 55%;
    line-height: 1;
    bottom: auto;
}

#slider .content_bg .carousel-caption {
    background: rgba(255, 255, 255, .5);
}

#slider .carousel-caption h5 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1;

}

#slider .carousel-caption p {
    margin-bottom: .5rem;
    font-size: 18px;
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 100px;
    z-index: 2;
    display: flex;
    justify-content: start;
    padding: 0;
    margin-right: 0;
    margin-bottom: 30px;
    margin-left: 0;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #b7b7b7;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 1;
    transition: opacity .6s ease;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--bs-primary);
}

.carousel-control-next-icon {
    background-image: url(../images/right.svg);
}

.carousel-control-prev-icon {
    background-image: url(../images/left.svg);
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 100%;
    height: 100%;
}

.carousel-control-next,
.carousel-control-prev {
    top: calc(50% - 30px);
    bottom: auto;
    width: 60px;
    height: 60px;
}

.carousel-control-prev {
    left: calc(1rem + 27px);
}

.carousel-control-next {
    right: calc(1rem + 27px);
}

.container-component .blog-items .item-title a,
.container-component .com-content-category h1 a,
.container-component main h1 a,
.container-component main h2 a,
#phocaguestbook h4.pgb_font a,
.page-header h1 a,
.pd-category>h1 a,
.blog h1 a,
.cat-children h3 a {
    font-weight: 500;
}

.container-component .blog-items .item-title,
.container-component .com-content-category h1,
.container-component main h1,
.container-component main h2,
#phocaguestbook h4.pgb_font,
.page-header h1,
.pd-category>h1,
.blog h1,
.cat-children h3,
#phoca-dl-category-box .pd-category h3.pd-ctitle,
#phoca-dl-file-box .pd-file h3.pd-ctitle,
#phoca-dl-download-box .pd-file h3.pd-ctitle  {
    margin-bottom: 40px;
    font-weight: 500;
    font-size: 42px;
    line-height: 46px;
    color: var(--bs-primary);
}
#phoca-dl-category-box .pd-category h3.pd-ctitle,
#phoca-dl-file-box .pd-file h3.pd-ctitle,
#phoca-dl-download-box .pd-file h3.pd-ctitle {
    margin-bottom: 40px !important;
}

.container-component .blog-item .h1,
.container-component .blog-item .h2,
.container-component .blog-item h1,
.container-component .blog-item h2 {
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 32px;
    line-height: 36px;
    color: var(--bs-primary);
}

.first-page .container-component .blog-items .item-title {
    margin-bottom: 25px;
    font-weight: 400;
    font-size: 30px;
    line-height: 44px;
}

.moduletable h3,
.h3-mod {
    margin-bottom: 25px;
    font-weight: 400;
    font-size: 30px;
    line-height: 44px;
    color: var(--bs-primary);
    text-transform: uppercase;
}

.uk-scope .uk-overlay-primary {
    background: rgba(var(--bs-primary-rgb), 0.45) !important;
}

/*-----------------NEWS--------------------*/
.news .mod-slider {
    border-radius: var(--bs-border-radius);
    box-shadow: 0px 0px 25px 0px rgba(0, 87, 149, 0.13);
    background-color: var(--bs-body-bg);
    padding: 44px 44px 25px;
}

.mod-slider {
    /*    margin-top: -20px;
        margin-left: -20px;
        margin-right: -20px;*/
}

.mod-slider .thumbnail>* {
    background-color: #f1f1f1;
}

.mod-slider .owl-item .item {
    padding: 0 40px !important;
}

.mod-slider .owl-item.active .item::after {
    content: '';
    display: block;
    width: 1px;
    position: absolute;
    background-color: #BAB9B9;
    top: 24px;
    bottom: 24px;
    left: -1px;
}

.mod-slider .owl-item .item>* {
    overflow: hidden;
}

.mod-slider .thumbnail {
    background-color: var(--bs-pink);
    color: var(--bs-primary);
    overflow: hidden;
}

.mod-slider .owl-stage {
    display: flex;
}

.mod-slider .item {
    height: 100%;
}

.mod-slider h5.item-title {
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: var(--bs-dark);
}

.mod-slider h5.item-title a {
    font-weight: 400;
}

.mod-slider .item-text {
    font-weight: 400;
}


.mod-slider .item-body a {
    --bs-link-color: var(--bs-dark);
    --bs-link-hover-color: var(--bs-primary);
}

.mod-slider .item-date {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
}

.owl-theme .owl-dots .owl-dot span {
    width: 15px !important;
    height: 15px !important;
    border-radius: 15px !important;
    margin: 5px !important;
    -webkit-transition: all 0.4s ease !important;
    transition: all 0.4s ease !important;
}

.owl-prev,
.owl-next {
    width: 17px !important;
    margin: -15px 0 0 !important;
}

.owl-theme .owl-dots .owl-dot span {
    background: var(--bs-blue) !important;
    opacity: 0.8;
}

.owl-theme .owl-dots .owl-dot.active span {
    width: 35px !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--bs-blue) !important;
    opacity: 1;
}

.owl-nav .slidenav-prev,
.owl-nav .slidenav-next {
    width: 17px !important;
    height: 35px !important;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
    background-size: 17px 35px !important;
}

.owl-nav .slidenav-prev:hover,
.owl-nav .slidenav-next:hover {
    opacity: 0.7;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
    background: none !important;
}

.owl-dots {
    margin-bottom: 15px;
}

/*------------------banner------------------*/

#bannerbox .mod-banners {
    margin-bottom: 25px;
}

.mod-banners .banneritem {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 25px;
}

.mod-banners .banneritem>a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mod-banners .banneritem img {
    width: 100%;
    height: auto;
}

.mod-banners .owl-item .item {
    overflow: hidden;
}

.mod-banners .owl-item .item>* {
    max-height: 115px;
    background-color: var(--bs-pink);
    overflow: hidden;
    display: flex;
    height: 100%;
}

.mod-banners .owl-item .item iframe {
    margin-left: -25px !important;
}

.mod-banners .owl-stage {
    display: flex;
}

.mod-banners .owl-item .item {
    height: 100%;
}

.owl-dots {
    position: relative;
    z-index: 3;
    margin-top: 10px;
    margin-bottom: 15px;
}

.owl-nav .slidenav-prev {
    background-image: url(../images/sm_left.svg);
    background-position: 0 50%;
}

.owl-nav .slidenav-next {
    background-image: url(../images/sm_right.svg);
    background-position: 100% 50%;
}

.mod-slider.view-contacts {
    border: 1px solid var(--bs-pink);
    border-radius: 2rem;
    padding: 40px;
}

.mod-slider.view-contacts .owl-dots {
    margin-bottom: 0px;
}

.mod-slider.view-contacts .thumbnail {
    margin-bottom: 20px;
}

.mod-slider.view-contacts .item-title {
    font-size: 22px;
    margin-bottom: 20px;
}

.mod-slider.view-contacts .desc-pos {
    color: var(--bs-primary)
}

.blog-item .item-content {
    margin-top: auto;
    text-align: justify;
}

.zhym-map-default {
    border-radius: var(--bs-border-radius-xl);
    margin: 25px 0 30px !important;
}

footer .zhym-map-default {
    box-shadow: 0px 4px 37px -10px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 0 !important;
    height: 100% !important;
}

/*-----cookie-----*/
.cookie-card {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: calc(100vw - 3rem);
    max-width: 700px;
    --bs-card-spacer-y: 1.5rem;
    color: var(--bs-body-color);
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: var(--bs-green);
    z-index: 5;
    box-shadow: var(--bs-box-shadow);
}

.cookie-card p {
    margin: 0px;
}

.cookie-card>div>div {
    display: flex;
    align-items: center;
}

#js-show-iframe-wrapper {
    border-radius: var(--bs-border-radius);
}

.com-content-categories__item,
.com-content-categories__children {
    border: 0px;
}