#menu-item-598 a {
    padding: 0;
    height: 43px;
    overflow: hidden;
}

#menu-item-598 a {
    vertical-align: top;
}

#menu-item-598 a:hover {
    background: none;
}

.menu-item-active {
    display: block !important;
    left: 0 !important;
}

iframe {
    max-width: 100%;
}

#menu-item-598 a:hover img {
    margin-top: -43px;
}

#main-page-content {
    padding-bottom: 20px;
}

#orl-oferta li {
    border: 0px;
    background-color: #ffffff;
    padding: 1px 15px;
    background-position: 5px 5px;
}

.orl-1 {
    float: right;
    padding: 1px;
    border: solid 1px #efefef;
}

button.close {
    right: 10px;
    top: 10px;
    font-size: 40px;
    position: absolute;
}

.hasDatepicker {
    border: 1px solid #000;
}

#modal-title-visit {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
}

.modalInnerBox {
    font-size: 24px;
}

.orl-2 {
    float: right;
    padding: 1px;
    border: solid 1px #efefef;
}

#menu-galeria-przedszkole li {
    text-align: center;
    background-color: #2E6AB0;
}

#menu-galeria-przedszkole li a {
    text-decoration: none;
    color: white;
}

#menu-galeria-szkola li {
    text-align: center;
    background-color: #2E6AB0;
}

#menu-galeria-szkola li a {
    text-decoration: none;
    color: white;
}

#menu-aktualnosci-przedszkole li {
    text-align: center;
    background-color: #2E6AB0;
}

#menu-aktualnosci-przedszkole li a {
    text-decoration: none;
    color: white;
}

#menu-aktualnosci-szkola li {
    text-align: center;
    background-color: #2E6AB0;
}

#menu-aktualnosci-szkola li a {
    text-decoration: none;
    color: white;
}

/*    BOOTSTRAP Styling      */

body {
    background-color: transparent !important;
    max-width: 100%;
}

#menu-main-navigation {
    flex-wrap: wrap;
    margin: 0;
}

.navbar-collapse.collapse {
    padding-left: 49px;
}

#home-ico {
    margin-top: -1px;
}

.navbar-brand {
    height: 43px;
}

.navbar-toggle {
    margin-top: 0px !important;
    font-weight: bold;
    color: white;
}

#top #slogan {
    height: 64px;
    line-height: 64px;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(images/slogan.png) repeat;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    padding: 0 0 0 20px;
}


#topic {
    margin-right: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#home section img {
    border: solid 3px #e1e1e1;
    border-radius: 5px;
}

#home section hr {
    border-bottom: solid 2px #e1e1e1;
    width: 195px;
}

#home #box_1 b {
    color: #f2560c;
}

#home #box_2 b {
    color: #5a29c0;
}

#home #box_3 b {
    color: #0d72e6;
}

#home #box_4 b {
    color: #6ecf03;
}

#footer img {
    margin-left: 2px;
    border: solid 2px #b8f56c;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#footer #sec-footer {
    height: auto;
    width: auto;
    /*    background: url(images/footer_2.png) repeat-x;*/
    background-color: #009933;
    padding: 10px 30px 20px 30px;
}

#footer #sec-footer hr {
    border-bottom: solid 1px #b8f56c;
    margin-top: 13px;
    max-width: 196px;
}

#footer #box_1 b {
    color: #00ff00;
}

#footer #box_2 b {
    color: #2a00ff;
}

#footer #box_3 b {
    color: #e6e600;
}

#footer #box_4 b {
    color: #ff1a1a;
}

#footer #box_5 b {
    color: #cccccc;
}

#footer #box_6 b {
    color: #8533ff;
}

#footer #box_7 b {
    color: #00ccff;
}

#footer #box_8 b {
    color: #B41414;
}

#top .desc h2 {
    font-size: 15px !important;
}

#side {
    padding: 25px 43px 30px 33px !important;
}

#side li.current_page_item a {
    color: #202427;
    background: #c8e548 url(images/nav_li_selected.png) repeat-y !important;
    text-shadow: -1px -1px 0px #fff9cf;
}

#side li.current_page_ancestor.menu-item-has-children a {
    color: #202427;
    background: #c8e548 url(images/nav_li_selected.png) repeat-y !important;
    text-shadow: -1px -1px 0px #fff9cf;
}

#side li.menu-item-has-children li.menu-item-object-page.current-menu-item.page_item a {
    background: #c8e548 url(images/nav_li_selected.png) -175px -8px repeat-y !important;
}

#side li.menu-item-has-children li.menu-item-object-page a {
    background: url(images/nav_li.png) -175px -8px repeat-x !important;
}

#side.col-md-4.col-sm-4.col-xs-4 {
    width: 32.33333333% !important;
}

#content {
    padding: 0 !important;
}

#dla_rodzicow ul.boksy li {
    width: 173px !important;
    margin: 9px 15px;
}

.entry h1 {
    padding: 0 0 12px !important;
}

.info {
    margin-top: 12px !important;
}

ul.boksy li {
    margin: 10px 15px !important;
}

.menu-aktualnosci-szkola-container {
    padding-left: 40px;
}

#menu-aktualnosci-szkola li {
    width: 244px;
}

.menu-aktualnosci-przedszkole-container {
    padding-left: 40px;
}

#menu-aktualnosci-przedszkole li {
    width: 244px;
}

#menu-galeria-szkola li {
    width: 244px;
}

#menu-galeria-przedszkole li {
    width: 244px;
}

#contact-data {
    font-size: 13px !important;
}

#bs-example-navbar-collapse-1.navbar-collapse.collapse.in li {
    background: url(images/header_menu.png) repeat-x;
    font-size: 16px;
}

.k_left p {
    font-size: 12px;
}

.navbar-toggle {
    float: none !important;
}

#pointer-left {
    color: white;
    float: left;
    margin-top: 123px;
    margin-left: 12px;
    position: absolute;
}

#banner-first-part__wrapper {
    width: 100%;
    position: relative;
    display: flex;
}

#pointer-left a {
    color: white;
    margin-top: 123px;
    font-size: 18px;
}

#pointer-right {
    float: right;
    margin-top: 123px;
    margin-right: 14px;
    /* position: absolute; */
}

#pointer-right a {
    color: white;
    float: right;
    font-size: 18px;
}

#top .col-lg-9 {
    padding-right: 0;
}

#banner-second__wrapper {
    background: #ed5e01;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

#banner-second__wrapper .desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#banner-first-part__wrapper img {
    width: 100%;
}

@media only screen and (max-width: 767px) and (min-width: 0px) {
    .navbar-collapse.collapse {
        padding-left: 5px;
    }

    #bs-example-navbar-collapse-1.navbar-collapse.collapse.in li {
        padding: 1px 40px 1px 40px;
        border-radius: 5px;
    }

    #bs-example-navbar-collapse-1.navbar-collapse.collapse.in li:hover a {
        background: url(images/nav_a_bg.png) repeat-x;
    }

    #bs-example-navbar-collapse-1.navbar-collapse.collapse.in a:hover {
        background: url(images/nav_a_bg.png) repeat-x;

    }

    #bs-example-navbar-collapse-1.navbar-collapse.collapse.in li:hover li a {
        background: none;
    }


    #bs-example-navbar-collapse-1.navbar-collapse.collapse.in .active a {
        background: url(images/nav_a_bg.png) repeat-x;
        /*        padding: 1px 45px 1px 45px !important;*/
        border-radius: 5px;
        padding-bottom: 1px !important;
    }

    #bs-example-navbar-collapse-1.navbar-collapse.collapse.in .active li a {
        background: none;
    }

    #bs-example-navbar-collapse-1.navbar-collapse.collapse.in .active li a:hover {
        background: none;
    }

    #bs-example-navbar-collapse-1.navbar-collapse.collapse.in ul ul a:hover {
        background: none;
    }


}

@media only screen and (max-width: 767px) and (min-width: 512px) {
    ul.boksy li {
        /*	 margin: 15px 35px 15px 40px !important; */
    }
}

@media only screen and (max-width: 767px) and (min-width: 0) {
    #dla_rodzicow ul li {
        margin-left: 65px !important;
    }
}


@media only screen and (max-width: 767px) and (min-width: 654px) {
    #home section {
        width: 50%;
    }
}

@media only screen and (max-width: 721px) and (min-width: 669px) {
    ul.boksy li {
        margin: 0px;
    }
}

@media only screen and (max-width: 653px) and (min-width: 590px) {
    #content {
        margin-bottom: 25px;
    }

    #dla_rodzicow {
        margin-bottom: 15px !important;
    }

    /*#sec-footer div {
        max-width: 40%;
        margin-right: 35px;
    }*/
    #home section {
        width: 40%;
        margin-right: 35px;
    }
}

@media only screen and (max-width: 800px) and (min-width: 780px) {
    ul.boksy li {
        margin: 10px 75px 10px 39px !important;
    }

    .menu-aktualnosci-szkola-container, .menu-aktualnosci-przedszkole-container {
        margin-left: 50px;
    }
}

@media only screen and (max-width: 512px) {
    ul.boksy li {
        margin: 15px 35px 15px 2px !important;
    }
}


@media only screen and (max-width: 979px) and (min-width: 0px) {
    #header .tel {
        display: none;
    }
}

@media only screen and (max-width: 991px) {
    .boksy .mini {
        padding-left: 50px !important;
    }
}

@media only screen and (max-width: 649px) {
    #kontakt_form section textarea {
        width: 260px !important;
    }
}

@media only screen and (max-width: 767px) {
    .navbar-nav {
        margin: 0px !important;
        width: 290px;
    }
}


@media only screen and (min-width: 0px) and (max-width: 979px) {
    html {
        background: url(images/sky-mobile.jpg) !important;
    }

    #slogan {
        display: none;
    }

    .godlo_rp {
        display: none;
    }

    .desc {
        display: none;
        background: none;
    }

    #przewodnik {
        display: none;
    }

    #header {
        max-width: 1024px;
    }

    #cookie_acc {
        width: 256px !important;
        height: auto;
    }

    #main {
        max-width: 100vw;
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    #jak_dojechac {
        display: none !important;
    }

    #s_b {
        display: none !important;
    }

    #menu-main-navigation li a {
        max-height: none;
    }

    #nav {
        height: auto;
    }

    #widget_facebook {
        display: none !important;
    }

    #footer {
        margin-right: 0px !important;
        margin-left: 0px !important;
        padding-left: 0px !important;
    }

    .boksy {
        padding-left: 0px !important;
    }

    #menu-aktualnosci-szkola li {
        margin-left: -3px !important;
    }

    .orl-1 {
        position: absolute;
    }

    .orl-2 {
        position: relative;
    }

    .wp-image-245 {
        display: none;
    }

    .entry p iframe {
        position: relative;
        padding-right: 30px;
        max-width: 100%;
        height: auto;
        overflow: hidden;
    }

    #side li a {
        background: url(images/nav_li_mobile.png) repeat-x !important;
        text-align: left;
    }

}

@media only screen and (min-width: 520px) and (max-width: 992px) {
    /*#footer div {
        text-align: center;
        padding: 0;
    }*/
    #footer section hr {
        margin-left: auto;
        margin-right: auto;
    }


    /*#footer #box_2 {
        margin-top: -138px;
    }

     #footer #box_6 {
        margin-top: -138px;
    }*/
}

@media only screen and (min-width: 0px) and (max-width: 520px) {
    /*#footer section {
        margin-top: -138px;
    }*/
}

img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

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

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

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

.entry {
    margin-top: 20px;
}

#menu-main-navigation {
    display: flex;
}
