html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}



.home #sp-main-body {
    background: url("../../../images/template/box-4.jpg") no-repeat center top;
    display: flex;
    justify-content: center;
    padding-top: 188px !important;
    padding-bottom: 104px;
    margin: 0px 15px 15px 15px;
}

.custom.main {
    display: flex;
    padding: 0px 15px 15px 15px;
}

.custom.main div:first-child {
    padding-right: 15px;
}

.custom.main div:first-child img:first-child {
    padding-bottom: 15px;
}

.sp-megamenu-parent>li>a {
    padding: 0 30px;
}

#sp-section-1 .row {
    height: 125px;
}

#sp-top1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

#sp-top2 .sp-column {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

ul.social-icons {
    margin-left: 50px;
}

ul.lang-inline a {
    font-weight: bold;
    font-size: 1.1rem;
}

li.lang-active a {
    color: #696f01 !important;
}

.sp-module-content .mod-languages ul.lang-inline li.lang-active a {
    border: 1px solid #dfdfdf;
    border-radius: 33px;
}

.sp-module-content .mod-languages ul.lang-inline li a {
    padding: 17px !important;
}

ul.social-icons>li {
    font-size: 1.1rem;
}

#sp-menu .sp-column {
    height: 100%;
}

#sp-menu .sp-megamenu-wrapper,
#sp-menu .sp-module._menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#sp-menu ul.menu {
    margin: 0
}

#sp-menu ul.menu>li {
    display: inline-block;
    position: relative;
    padding: 0;
}

#sp-menu ul.menu>li>a {
    padding: 0 30px;
    font: normal 500 18px 'Inter', sans-serif;
    color: #252525;
}

#sp-menu ul.menu>li:hover>a,
#sp-menu ul.menu>li.active>a,
#sp-menu ul.menu>li.active:hover>a {
    color: #696f01;
}

#sp-component {
    max-width: 1140px;
    background: white;
}

#sp-main-body .article-body {
    display: flex;
}

.article-body .article-header h2,
.article-body .article-header h2 {
    /*font-size: 2.25rem !important;*/
    font-weight: 900;
    text-transform: uppercase;
    padding: 20px 0px;
    background: url("../../../images/template/divider-green.png") no-repeat center right;
}
.article-details .article-header {
	clear: both;
}
.article-introtext {
    padding: 20px 0 20px 20px;
}

.article-introtext {
    padding: 34px 0 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

#sp-footer1 {
    text-align: center;
}

#sp-main-body {
    padding: 0px 0;
}

.home .article-list .article {
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
    margin-bottom: 0;
}

.sp-copyright {
    width: 100%;
    border-bottom: 1px solid #3e3e3e;
    display: block;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.article-details .article-header h1 {
    /*font-size: 2.25rem !important;*/
    font-weight: 900;
    text-transform: uppercase;
    padding: 34px 30px;
    background: url("../../../images/template/divider-green.png") no-repeat center left;
    /*width: 32%;*/
    line-height: 2.3rem;
}

.article-details ol {
    list-style: none;
    /*counter-reset: my-awesome-counter;*/
    counter-reset: li;
}

.article-details ol li {
    /*counter-increment: my-awesome-counter;*/
    counter-increment: li;
    display: flex;
    align-items: center;
}

.article-details ol li::before {
    /*content: counter(my-awesome-counter) ". ";*/
    content: ""counter(li) ". ";
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../../../images/template/circle.png") no-repeat center;
    margin: 8px 18px 8px 0;
}

.aktualnosci #sp-main-body .article-body {
    flex-direction: column;
}

body.aktualnosci .articles-leading .article-body .article-header h2,
.article-details .article-header h2 {
    font-size: 2.25rem !important;
    font-weight: 900;
    text-transform: uppercase;
    padding: 34px 30px;
    background: url("../../../images/template/divider-green.png") no-repeat center left;
}

.article-list .article {
    border-bottom: 1px solid #c7d301;
    border-top: none;
    border-left: none;
    border-right: none;
}

.aktualnosci .article-list .article-body .article-header h2 {
    /*font-size: 1.8rem !important;*/
    padding: 30px 0px 30px 30px;
    background: url("../../../images/template/divider-green.png") no-repeat center left;
}

#sp-main-body hr {
    border-top: 1px solid #c8d200;
}

.body-innerwrapper {
    display: flex;
    flex-direction: column;
    /*min-height: 100vh;*/
}

#sp-main-body {
    flex: 1;
}


/* R W D */

@media only screen and (min-device-width: 320px) and (max-device-width: 767px) {
    img {
        max-width: 100% !important;
        height: auto;
        width: auto;
    }

    #sp-menu .sp-module._menu {
        display: none !important;
    }

    #sp-section-1 {
        padding-bottom: 30px;
    }

    .custom.main {
        padding: 0;
    }

    .custom.main div:first-child {
        padding-right: 0;
    }

    .custom.main div:first-child img:first-child {
        padding-bottom: 2px;
    }

    .home #sp-main-body {
        background: url("../../../images/template/box-4.jpg") no-repeat center top / contain;
        display: flex;
        justify-content: center;
        padding-top: 100px !important;
        padding-bottom: 0;
        margin: 0;
    }

    .article-body .article-header h2,
    .article-body .article-header h2 {
        font-size: 1.5rem !important;
    }
    

    .article-list .article {
        padding: initial;
    }

    #sp-main-body .article-body {
        flex-direction: column;
    }

    /* podstrony */
    body.aktualnosci .articles-leading .article-body .article-header h2, .article-details .article-header h2 {
	font-size: 1.7rem !important;
	}
    .article-details .article-header h1 {
        font-size: 1.15rem !important;
        padding: 10px 30px;
        width: 90%;
        margin: 10px 0;
    }

    .article-details ol {
        margin: 0 0 20px 0;
        padding: 0;
    }


}

/*--- Tablets ---*/

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

    #sp-menu .sp-module._menu {
        display: none !important;
    }

    #sp-section-1 {
        padding-bottom: 30px;
    }

    #sp-main-body .article-body {
        flex-direction: column;
    }

    .article-list .article {
        padding: initial;
    }


}

/*--- Other ---*/

@media only screen and (min-device-width: 481px) and (max-device-width: 767px) {
    /* Styles */
}

/*--- PC small ---*/

@media only screen and (min-device-width: 1025px) and (max-device-width: 1450px) {

    .sp-megamenu-parent>li>a {
        padding: 0 12px;
    }

    .sp-megamenu-parent>li>a,
    .sp-megamenu-parent>li>span,
    .sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
        font-size: 14px !important;

    }

    ul.lang-inline a {
        font-weight: bold;
        font-size: .8rem;
    }

    .sp-module-content .mod-languages ul.lang-inline li a {
        padding: 8px !important;
    }

    .article-body .article-header h2 {
        font-size: 1.55rem !important;

    }

}

/*--- PC big ---*/

@media only screen and (min-device-width: 1171px) {
    /* Styles */
}