body {
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    min-width: 350px;
    line-height: 1.7em;
    color: #575757;
    padding-top: 138px;
}

.lh-1 {
    line-height: 1;
}

blockquote {
    border-left: 4px solid rgba(80, 53, 29, 0.5);
    padding-left: 1em;
    margin-left: 1em;
}

.bgTop-container {
    height: 331px;
    max-height: 35vw;
    position: relative;
    margin-top: -38px;
    overflow: hidden;
}

.bgTop-container.post-bg {
    height: 500px;
    max-height: 45vw;
}

.bgTop {
    height: 100%;
    max-height: 35vw;
    /*position: absolute;*/
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    backface-visibility: hidden;
    transform: translate3d(0px, 0, 0px);
    visibility: inherit;
    opacity: 1;
    overflow: hidden;
}

.bgTop-container.post-bg .bgTop {
    max-height: 45vw;
}

.bgTop .bg {
    background: transparent url('../img/zespol-full.jpg') 50% 50% no-repeat;
    background-size: cover;
    height: 100%;
}

.bgTop .bg.onas {
    background: transparent url('../img/bg-onas.jpg') 50% 50% no-repeat;
}

.bgTop .bg.publikacje {
    background: transparent url('../img/bg-publikacje.jpg') 50% 50% no-repeat;
}

.bgTop .bg.zakresuslug {
    background: transparent url('../img/bg-zakres-uslug.jpg') 50% 50% no-repeat;
    background-size: cover;
}

.bgTop .bg.sprawyodszkodowawcze {
    background: transparent url('../img/bg-sprawy-odszkodowawcze.jpg') 50% 50% no-repeat;
    background-size: cover;
}

.bgTop .bg.upadlosci {
    background: transparent url('../img/bg-upadlosci.jpg') 50% 75% no-repeat;
    background-size: cover;
}

.bgTop .bg.pytania {
    background: transparent url('../img/bg-pytania.jpg') 50% 50% no-repeat;
    background-size: cover;
}

.bgTop .bg.kontakt {
    background: transparent url('../img/bg-kontakt.jpg') 50% 50% no-repeat;
    background-size: cover;
}

header {
    padding-bottom: 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 12;
    background: white;
    transition: all 0.3s;
}

header .info {
    background: #50351d;
    font-size: 14px;
    line-height: 19px;
    padding: 5px 0;
    margin-bottom: 30px;
}

header .info a, header .info a:hover {
    color: white;
    text-decoration: none;
}

header .info a:last-of-type {
    margin-left: 10%;
}

header .infoCovid {
    margin: 10px 0 0;
    padding: 5px 10px;
    text-align: center;
}

header .nav {
    transition: all 0.3s;
}
header .nav > li {
    /*padding: 5px 8px;*/
    padding: 0;
    font-size: 16px;
    border-bottom: 2px solid rgba(80, 53, 29, 0.5);
    position: relative;
    transition: .3s border-bottom-color;
}

header nav li:hover ul.sub-nav {
    opacity: 1;
    visibility: visible;
}

header nav li a {
    color: #50351d;
    font-weight: 300;
    text-decoration: none;
    padding: 5px 8px;
    transition: .3s color, .3s background;
}

header nav li a {
    padding: 5px 15px;
}

header nav li:last-of-type a {
    padding-right: 0 !important;
}

header nav li.active > a, header nav li:not(:last-of-type):hover > a {
    color: white;
    background: #50351d;
    text-decoration: none;
}

header nav li.active, header nav li:hover {
    border-color: #50351d;
}

ul.sub-nav {
    position: absolute;
    top: 29px;
    z-index: 100;
    padding: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    border-top: 0;
    transition: .3s all;
}

ul.sub-nav li {
    line-height: 20px;
    padding: 0;
    font-size: 16px;
}

ul.sub-nav li a {
    color: white;
    padding: 10px 15px !important;
    display: block;
    background: #50351d;
}

ul.sub-nav li:hover a {
    background: #a7998d !important;
}

ul.sub-nav li a:hover {
    text-decoration: none;
}

header .mobile {
    display: none;
}

header .logo {
    max-width: 20%;
}

header.fixed {
    margin: 0;
    padding: 0;
    border-bottom: 2px solid rgba(80, 53, 29, 0.5);
}

header.fixed .info {
    margin-bottom: 0;
}

header.fixed .logo {
    padding: 10px 0;
}

header.fixed .logo img {
    max-height: 30px;
    transition: all 0.3s;
}

/*header.fixed nav:not([style*="block"]) {*/
/*    height: 35px;*/
/*}*/

header.fixed .nav > li {
    /*height: 37px;*/
    border-bottom: none;
}

/*header.fixed .nav > li.active, header.fixed .nav > li:hover {*/
/*    border-bottom: 2px solid #50351d;*/
/*}*/

header.fixed nav li a {
    padding: 3px 13px;
    display: block;
}

header.fixed nav li a:hover {
    text-decoration: none;
}

header.fixed ul.sub-nav {
    top: 33px;
}

.form-check-input {
    margin-top: 6px;
}

img {
    max-width: 100%;
}

.heightAuto {
    height: auto !important;
}

.fb-top img {
    height: 26px;
    margin-top: -4px;
}

.scrollup {
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    opacity: 0.7;
    position: fixed;
    bottom: 50px;
    right: 50px;
    display: none;
    background: url('../img/icon_top.png') no-repeat;
    background-size: 100%;
    cursor: pointer;
}

.needhelp {
    width: 300px;
    height: 40px;
    padding: 5px 10px;
    background-color: red;
    color: white !important;
    display: inline-block;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 9999999;
    text-align: center;
    font-size: 1.1em;
}

.small-contact {
    background: #50351d;
    color: white;
}

.small-contact h3 {
    color: white !important;
    border-left: 5px solid white !important;
}

.small-contact a {
    color: white !important;
}

.small-contact .btn-primary {
    color: #4f3d2c;
    background-color: white;
    border-color: white;
}

body.strona-glowna header.fixed + main.main-glowna {
    margin-top: -23px;
}

.main-glowna, .main-glowna div, .main-glowna a {
    width: 100vw;
    height: 100vh;
    height: calc(100vh - 100px);
    max-height: 400px;
    display: block;
}

.main-glowna, .main-glowna > div, .main-glowna a {
    width: 100%;
}

.main-glowna span:not(.text) {
    background: white;
    position: absolute;
    top: 40%;
    width: 100%;
    height: 32%;
    max-height: 126px;
    z-index: 1;
    opacity: 0.7;
    transition: all 1s;
}

.main-glowna .b {
    right: 0;
}

.main-glowna .a {
    left: 0;
    margin-left: 27%;
}

.main-glowna .text {
    position: absolute;
    bottom: 15%;
    left: 5%;
    line-height: 1.1;
    font-size: 2.2vw;
    color: white;
    z-index: 2;
    margin-top: 15px;
    padding: 10px 20px;
    background: #c4a65b;
    opacity: 0.7;
    font-weight: 300;
    text-transform: uppercase;
    max-height: initial !important;
    height: initial !important;
    width: auto;
    transform: translateX(-120%);
    animation: slideInFromLeft 0.6s ease-out 0.5s forwards;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.main-glowna .a.text {
    padding-left: 5%;
}

.main-glowna .b.text {
    padding-right: 5%;
    text-align: right;
    font-size: 30px;
}
.main-glowna .b.text small{
    font-size: 0.5em;
    position: relative;
    top: -10px;
}

.glowna {
    background-image: url('/img/resti-zespol-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    position: relative;
    border-bottom: 16px solid white;
}

.glowna:hover .top {
    width: 70%;
}

.glowna .top {
    position: absolute !important;
    top: 0;
    overflow: hidden;
    margin-left: -28%;
    left: 0;
    width: 80%;
    transform: skew(-30deg);
    height: 100%;
    border-right: 16px solid white;
    transition: width 1s;
    z-index: 11;
}

.glowna .top:hover {
    width: 90%;
}

.glowna > a:not(.top):hover span:not(.text),
.glowna .top:hover span:not(.text) {
    opacity: 1;
}

.glowna .top div {
    background-image: url('/img/img-left.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transform: skew(30deg);
    height: 100%;
}

.header {
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.footer {
    margin-top: 20px;
    padding-top: 19px;
    color: #777;
    border-top: 1px solid #e5e5e5;
}

.header h1 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 40px;
    font-size: 2em !important;
}

#ciekawostkiContainer {
    background: transparent url('/img/bg_ciekawostki.jpg') center no-repeat;
    background-size: cover;
    transition: all 0.5s;
}

#ciekawostkiLoader {
    height: 3px;
    width: 0%;
    transition: all 0.2s;
    background-color: #7a6d60;
}

.ciekawostkiBox {
    background-color: rgba(78, 61, 43, 0.6);
    /*flex-basis: calc(50% - 20px);*/
    flex-basis: 100%;
    margin: 0 10px;
    color: white;
    font-size: 2.6rem;
    line-height: 1.5em;
    font-weight: 300;
    transition: all 0.5s;
}

.ciekawostkiBox span{
    font-weight: 400;
    font-size: 1.1em;
    margin: 15px 0;
    display: inline-block;
}

#mapa {
    height: 400px;
    width: 100%;
    left: 0;
}

.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img {
    display: block;
    width: 100%;
    height: auto;
}

.gallery.masonry {
    margin: 0 auto;
}

.masonry-brick.gallery-item {
    margin-bottom: 10px;
}

.img-respons {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 10px;
}

img[style*="left"] {
    margin:0 15px 0 0;
}

img[style*="right"] {
    margin:0 0 0 15px;
}

.catalog:first-child {
    margin-top: 0 !important;
}

.catalogs-image img {
    margin-bottom: 20px;
}

.text-links .btn {
    margin-bottom: 5px;
}

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

.margin-top-20px {
    margin-top: 20px;
}

.margin-top-50px {
    margin-top: 50px !important;
}

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

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

body.cke_editable {
    padding-top: 0 !important;
}

.cke h1, .cke h2, .cke h3, .cke h4, .cke h5, .cke h6 {
    display: inline-block;
    /*padding-bottom: 5px;*/
    margin-bottom: 15px;
    font-weight: 300;
}

.cke li {
    font-weight: 300;
    font-size: 18px;
    padding-bottom: 5px;
}

.cke h1 {
    font-size: 2em;
    margin-top: 20px;
    position: relative;
    color: #4b3b1f;
    margin-bottom: 20px;
    margin-left: -50px;
    padding-top: 5px;
    padding-left: 50px;
    border-top: 2px solid rgba(191, 175, 161, 0.5);
    text-transform: uppercase;
    position: relative;
}

.cke h1::after{
    transition: all 0.5s;
    background-color: #4b3b1f;
    width: 50px;
    content: "";
    position: absolute;
    top: -2px;
    left: 0px;
    height: 2px;
}
.cke div:hover > h1::after{
    width: 100%;
}

.cke h2, .cke .likeH2 {
    font-size: 1.8em;
    margin-top: 18px;
    color: #4b3b1f;
    margin-bottom: 20px;
    margin-left: -50px;
    padding-top: 5px;
    padding-left: 50px;
    border-top: 2px solid rgba(191, 175, 161, 0.5); /*#4b3b1f;*/
    text-transform: uppercase;
    position: relative;
}
.cke h2::after, .cke .likeH2::after{
    transition: all 0.5s;
    background-color: #4b3b1f;
    width: 50px;
    content: "";
    position: absolute;
    top: -2px;
    left: 0px;
    height: 2px;
}
.cke div:hover > h2::after, .cke div:hover > likeH2::after{
    width: 100%;
}


.cke h3 {
    font-size: 1.6em;
    margin-top: 16px;
    font-weight: 400;
    color: #4b3b1f;
    margin-bottom: 20px;
}

h3.bordered {
    border-left: 5px solid #4b3b1f;
    padding-left: 25px;
    margin-right: 30px;
}

h3.w300 {
    max-width: 300px;
}

.cke h4 {
    font-size: 1.2em;
    color: #4b3b1f;
    margin-top: 16px;
    font-weight: 400;
}

.cke h5 {
    font-size: 0.85em;
    margin-top: 14px;
}

.cke h6 {
    font-size: 0.7em;
    margin-top: 12px;
}

.cke p {
    font-size: 18px;
    font-weight: 300;
}

.form-control {
    font-size: 0.88rem;
    border-radius: 0;
    padding: .375rem .75rem .375rem;
    height: 35px;
}

.btn-primary {
    background-color: #4f3d2c;
    border-color: #4f3d2c;
    border-radius: 0;
    color: white;
    transition: .3s all;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #a7998d !important;
    border-color: #a7998d !important;
}

.btn-primary.btn-inverse {
    background-color: #a7998d;
    border-color: #a7998d;
    border-radius: 0;
    color: white;
    transition: .3s all;
}

.btn-xl {
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    line-height: 2;
}

.btn-primary.btn-inverse:hover, .btn-primary.btn-inverse:focus, .btn-primary.btn-inverse:active {
    background-color: #4f3d2c !important;
    border-color: #4f3d2c !important;
}

a, a:hover, a:focus {
    color: #4b3b1f;
}

.btn-primary, .pagination li {
    background-color: #4f3d2c;
    border-color: #4f3d2c;
    border-radius: 0;
    color: white;
    transition: .3s all;
}

.btn-primary, .pagination li > * {
    color: white;
    transition: .3s all;
}

.pagination {
    justify-content: center;
}

.pagination li {
    margin: 0 5px;
}

.pagination li > * {
    display: block;
    padding: 5px 15px;
}

.pagination li.disabled {
    display: none;
}

.pagination li:not(.active) > span,
.pagination li:not(.active) > a[rel=next] {
    top: -2px;
    position: relative;
}

.pagination li.active, .pagination li:hover {
    background-color: #a7998d !important;
    border-color: #a7998d !important;
}

.pagination li > *:hover {
    text-decoration: none;
}

h2 a, h2 a:hover, h2 a:focus {
    text-decoration: none;
}

ul {
    padding-left: 18px;
}

input, input::placeholder, select {
    color: #50351d !important;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-border-radius: 0px;
    background-image: url('https://image.flaticon.com/icons/svg/60/60781.svg');
    background-position: 97% 50%;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 25px !important;
}

.form-control {
    border: 1px solid #4b4b4b !important;
}

.home-more {
    overflow: hidden;
    height: 175px;
}

.home.more-btn {
    top: -33px;
    height: 50px;
    position: relative;
    width: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 75%, rgba(255,255,255,0) 100%);
    border: none;
}

.home.more-btn:focus {
    outline:0;
}

.blog-more {
    height: 700px;
    overflow: hidden;
}

.more-tags {
    top: -33px;
    height: 50px;
    position: relative;
    width: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 75%, rgba(255,255,255,0) 100%);
    border: none;
}

.more-tags:focus {
    outline:0;
}


div.images {
    margin-top: 20px;
}

.cke .testimonials {
    color: white;
}
.cke .testimonials h2, .cke #ciekawostkiContainer h2 {
    color: white;
    border-color: white !important;
}
.cke .testimonials h2:after, .cke #ciekawostkiContainer h2:after {
    background-color: white;
    height: 0;
}

.testimonials {
    background-image: url('../img/testimonials_bg.jpg');
    background-size: cover;
    padding: 20px 0 40px;
    color: #29221c;
    font-size: 16px;
}

.testimonials .bx-viewport > div > div {
    text-align: justify;
    line-height: 26px;
    padding: 0 0 40px 0;
}

.testimonials .bx-wrapper {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.testimonials .bx-viewport > div > div > * {
    padding: 0 0px;
}

.testimonials .bx-controls-direction {
    width: 95px;
    position: relative;
    margin: 0 auto;
}

.testimonials .bx-controls-direction a {
    cursor: pointer;
}

.testimonials .bx-wrapper .bx-prev {
    left: 10px;
    background: url('../img/controls_light.png') no-repeat 0 -32px;
    transition: all 0.2s;
}
.testimonials .bx-wrapper .bx-prev:hover {
    transform: scale(1.1);
}

.testimonials .bx-wrapper .bx-next {
    right: 10px;
    background: url('../img/controls_light.png') no-repeat -43px -32px;
    transition: all 0.2s;
}
.testimonials .bx-wrapper .bx-next:hover {
    transform: scale(1.1);
}

.map {
    border-top: 10px solid #ddd9d7;
}

.page-breadcrumb {
    opacity: 0.8;
}

.sr-fade, .text:not(.no-fade) p, .text:not(.no-fade) ul, .text:not(.no-fade) h1, .text:not(.no-fade) h3 {
    visibility: hidden;
}

.page-id-el {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

.spis-tresci {
    border: 1px solid #50351d;
    padding: 10px 30px;
    margin-bottom: 50px;
}

.spis-tresci ol {
    padding-left: 20px;
}

.spis-tresci li {
    font-weight: bold;
}

.spis-tresci li a {
    font-weight: 300;
}

.position-right {
    right: 0;
}

.box-contact {
    width: 333px;
    background: url(../img/footer.png);
    position: sticky;
    top: 100px;
    z-index: 1;
    border: 1px solid #50351d;
}

.box-contact > div {
    padding: 30px;
    border: 1px solid white;
}

.box-contact a {
    font-size: 20px;
}

@media (max-width: 1199px) {
    .box-contact {
        display: none;
    }
}

.related-posts {
    margin-top: 80px;
    background: #eaeaea;
}

.related-posts .posts {
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 50px;
    padding: 0 0 50px;
    grid-template-columns: 1fr;
}

.related-posts .post {
    background: white;
    padding: 15px 15px;
}

footer {
    background: url('../img/footer.png');
    height: 356px;
    position: relative;
    font-size: 16px;
    overflow: hidden;
}

footer div.white {
    width: 100%;
    height: 100%;
    background: white;
    transform: skew(30deg);
    margin-left: -60%;
}

footer .border {
    background: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 10px;
    border: none !important;
    position: absolute;
    top: 0;
}

footer .container {
    position: absolute;
    padding-top: 10px;
    top: 0;
    left: 0;
    right: 0;
}

footer .f-logo {
    padding-left: 50px;
}

footer .menu p {
    margin-bottom: 5px;
    text-align: center;
}

footer .menu b {
    font-size: 18px;
}

footer .menu a, footer .menu b {
    color: #50351d;
}

footer .info {
    color: #50351d;
    text-align: right;
    padding-right: 50px;
}

footer .info .name {
    font-weight: bold;
    font-size: 18px;
    border-bottom: 2px solid #4b3b1f;
    margin-right: -50px;
    margin-left: 79px;
    padding-right: 50px;
}

footer .info div {
    line-height: 22px;
    margin-bottom: 20px;
}

footer .info a {
    color: #50351d;
    text-decoration: none;
    font-size: 18px;
}

footer .info a img {
    margin-right: 7px;
    margin-top: -3px;
}

#absoluteFooter {
    background-color: #50351d;
    font-size: 12px;
    line-height: 19px;
    padding: 5px 0;
    color: white;
    text-align: center;
}

#absoluteFooter a {
    color: white !important; 
    font-weight: 300;
    line-height: 1.4em;
}

#phoneNr {
    position: fixed;
    top: 110px;
    right: 0px;
    width: 260px;
    background: #f3f4f6 top left no-repeat;
    height: 48px;
    color: white;
    font-weight: 400;
    padding: 5px 5px 5px 20px;
    font-size: 1.88em;
    z-index: 10;
    line-height: 38px;
    border-bottom: 2px solid rgba(80, 53, 29, 0.5);
}

#phoneNr a {
    text-decoration: none !important;
    color: #5f4928;
    background: transparent url(/img/img-ico-phone.png) center left no-repeat;
    padding-left: 35px;
}

.sprawy-icons {
    display: flex;
    flex-wrap: wrap;
}

.sprawy-icons > a {
    line-height: 17px;
    text-transform: uppercase;
    flex: 1;
    text-align: center;
    margin: 0 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    max-height: 190px;
}

.sprawy-icons > a img {
    max-width: 110px;
    margin-bottom: 10px;
    transform: scale(1);
    transition: .3s transform;
}

.sprawy-icons > a:hover img {
    transform: scale(1.1);
}

.sprawy-icons > a span {
    font-size: 16px;
    font-weight: 400;
    color: #50351d;
    margin: auto 0;
}

.sprawy-icons > a:hover {
    text-decoration: none;
}

.capitalize {
    text-transform: capitalize;
    font-variant: small-caps;
    font-size: 16px;
}

footer .info .name .capitalize {
    font-size: 18px;
}

.post-categories, .post-tags {
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.post-tags li {
    margin: 0 5px 5px 0;
}

.post-categories > li > a, .post-tags a {
    padding: 1px 10px;
    margin-bottom: 3px;
    transition: all .3s;
    display: block;
    color: #50351d;
    border: 1px solid #a7998d;
    background: transparent;
}

.post-tags a {
    display: inline-block;
}

.post-categories > li > a:hover, .post-categories > li.active > a,
.post-tags a:hover, .post-tags li.active a {
    color: white;
    background: #a7998d;
    text-decoration: none;
}

#zespolImg {
    background-image: url('/img/zespol-full.jpg'); 
    background-attachment: fixed; 
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: right 82px;
}

.post-min-image {
    display: block;
    height: 78%;
    height: calc(100% - 75px);
    margin-top: 22px;
    background-size: cover !important;
}

.bottomTxt {
    font-weight: 500 !important;
    line-height: 1.8em;
    color: #50351d;
}

.p-fs-19 p,
.p-fs-19 li {
    font-size: 19px;
}

.upadlosc-table-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.upadlosc-table-1 p {
    margin-bottom: 0;
}

.upadlosc-table-1 p:first-of-type {
    font-size: 24px;
    background: #50351d;
    color: white;
    padding: 15px 20px 17px 20px;
    line-height: 1.2;
    width: 100%;
    min-height: 70px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upadlosc-table-1 p:last-of-type {
    border-top: 1px solid #a7998e;
    padding-top: 5px;
    margin-top: 14px;
    display: flex;
    align-items: center;
}

.upadlosc-table-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.upadlosc-table-2 p {
    margin-bottom: 0;
    position: relative;
}

.upadlosc-table-2 ul {
    margin-bottom: 0;
}

.upadlosc-table-2 div {
    margin-bottom: 0;
    position: relative;
    font-weight: 300;
}

.upadlosc-table-2 > div:first-of-type {
    font-size: 24px;
    background: #50351d;
    color: white;
    padding: 15px 20px 17px 20px;
    line-height: 1.2;
    width: 100%;
    min-height: 120px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upadlosc-table-2 > div:last-of-type {
    padding-top: 5px;
    margin-top: 14px;
    display: flex;
    align-items: center;
}

.upadlosc-table-2 > div:first-of-type {
    background-size: cover;
}

.upadlosc-table-2.img-1 > div:first-of-type {
    background: transparent url('/img/upadlosc-1.jpg') center no-repeat;
}

.upadlosc-table-2.img-2 > div:first-of-type {
    background: transparent url('/img/upadlosc-2.jpg') center no-repeat;
}

.upadlosc-table-2.img-3 > div:first-of-type {
    background: transparent url('/img/upadlosc-3.jpg') center no-repeat;
}

.upadlosc-table-2.img-4 > div:first-of-type {
    background: transparent url('/img/upadlosc-4.jpg') center no-repeat;
}

.upadlosc-table-2.img-5 > div:first-of-type {
    background: transparent url('/img/upadlosc-5.jpg') center no-repeat;
}

.upadlosc-table-2.img-6 > div:first-of-type {
    background: transparent url('/img/upadlosc-6.jpg') center no-repeat;
}

.upadlosc-table-2.img-7 > div:first-of-type {
    background: transparent url('/img/upadlosc-7.jpg') center no-repeat;
}

.upadlosc-table-2.img-8 > div:first-of-type {
    background: transparent url('/img/upadlosc-8.jpg') center no-repeat;
}

.upadlosc-table-2.img-9 > div:first-of-type {
    background: transparent url('/img/upadlosc-9.jpg') center no-repeat;
}

.upadlosc-table-2.img-10 > div:first-of-type {
    background: transparent url('/img/upadlosc-10.jpg') center no-repeat;
}

.upadlosc-table-2.img-12 > div:first-of-type {
    background: transparent url('/img/upadlosc-12.jpg') center no-repeat;
}

.upadlosc-table-2.img-13 > div:first-of-type {
    background: transparent url('/img/upadlosc-13.jpg') center no-repeat;
}

.upadlosc-table-2.img-14 > div:first-of-type {
    background: transparent url('/img/upadlosc-14.jpg') center no-repeat;
}

.upadlosc-table-2 > div:first-of-type strong {
    position: relative;
    z-index: 1;
    max-width: 85%;
    width: 100%;
}

.upadlosc-table-2 > div:first-of-type strong:before {
    content: "";
    width: 110%;
    height: calc(100% + 40px);
    position: absolute;
    background: #50351dcf;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    z-index: -1;
}

.upadlosc-table-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.upadlosc-table-3 div {
    margin-bottom: 0;
    position: relative;
    font-weight: 300;
}

.upadlosc-table-3 > div:first-of-type {
    font-size: 24px;
    background: #50351d;
    color: white;
    padding: 45px 20px 45px 20px;
    line-height: 1.2;
    width: 100%;
    min-height: 250px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upadlosc-table-3:nth-of-type(1) > div:first-of-type {
    background-size: cover;
}

.upadlosc-table-3.img-1 > div:first-of-type {
    background: transparent url('/img/ogloszenia-upadlosci.jpg') center no-repeat;
}

.upadlosc-table-3.img-2 > div:first-of-type {
    background: transparent url('/img/upadlosc-11.jpg') center no-repeat;
}

.upadlosc-table-3.img-3 > div:first-of-type {
    background: transparent url('/img/upadlosc-15.jpg') center no-repeat;
}

.upadlosc-table-3 > div:first-of-type h3 {
    position: relative;
    z-index: 1;
    max-width: 85%;
    width: 100%;
    color: white;
    font-weight: 300;
}

.upadlosc-table-3 > div:first-of-type h3:before {
    content: "";
    width: 110%;
    height: calc(100% + 40px);
    position: absolute;
    background: #50351dcf;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    z-index: -1;
}

#upadlosc-fancybox {
    background-color: #dedad2;
    background-image: url("../img/bg-oglos-upadlosc.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    padding: 15px;
    /*min-width:500px;*/
    max-width:90%;
    min-height: 400px;
}

#upadlosc-fancybox .content {
    margin-top: 130px;
}

#upadlosc-fancybox .content .content-header {
    text-align: center;
    font-size: 22px;
    line-height: 1.3;
}

#upadlosc-fancybox .content .body input {
    max-width: 70%;
    margin: 0 auto;
    height: 40px;
}

#upadlosc-fancybox .content .body input::placeholder {
    color: #9b9086 !important
}

#upadlosc-fancybox .content .body button {
    width: 70%;
    height: 60px;
    background: white;
    color: black;
    font-size: 24px;
    letter-spacing: 5px;
    border-width: 2px;
}

#upadlosc-fancybox .content .body button:hover {
    color: white;
}

@media (max-width: 500px) {
    #upadlosc-fancybox .margin-top-50px {
        margin-top: 25px !important;
    }
    #upadlosc-fancybox .content {
        margin-top: 90px;
    }

    #upadlosc-fancybox .content .content-header {
        font-size: 18px;
        line-height: 1.3;
    }

    #upadlosc-fancybox .content .body input {
        max-width: 80%;
    }

    #upadlosc-fancybox .content .body button {
        width: 80%;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    #upadlosc-fancybox .margin-top-50px {
        margin-top: 25px !important;
    }
    #upadlosc-fancybox .content {
        margin-top: 70px;
    }

    #upadlosc-fancybox .content .content-header {
        font-size: 16px;
        line-height: 1.3;
    }
}

@media (min-width: 650px) {
    .upadlosc-table-1 {
        flex-direction: row;
        align-items: normal;
    }

    .upadlosc-table-1 p:first-of-type {
        flex: 1 1 40%;
    }

    .upadlosc-table-1 p:last-of-type {
        border-top: 0;
        padding-top: 0;
        margin-top: 0;
        border-left: 1px solid #a7998e;
        padding-left: 15px;
        margin-left: 15px;
        flex: 1 1 60%;
    }
}

@media (min-width: 800px) {
    .upadlosc-table-2 {
        flex-direction: row;
        align-items: normal;
        margin-bottom: 0;
    }

    .upadlosc-table-2 > div:first-of-type {
        flex: 1 1 50%;
        min-height: 200px;
    }

    .upadlosc-table-2 > div:last-of-type {
        padding: 20px 20px 40px 40px;
        flex: 1 1 50%;
        font-size: 19px;
        margin-top: 0;
    }

    .upadlosc-table-2 > div:first-of-type strong:before {
        width: 120%;
    }

    .upadlosc-table-2:nth-of-type(2) > div:first-of-type {
        order: 2;
    }

    .upadlosc-table-2:nth-of-type(2) > div:last-of-type {
        order: 1;
        padding: 20px 40px 40px 20px;
    }

    .upadlosc-table-2:nth-of-type(4) > div:first-of-type {
        order: 2;
    }

    .upadlosc-table-2:nth-of-type(4) > div:last-of-type {
        order: 1;
        padding: 20px 40px 40px 20px;
    }
}

@media (max-width: 1400px) {
    footer div.white {
        margin-left: -65%;
    }
}

@media (max-width: 1199px) {
    body {
        padding-top: 130px;
    }

    body.strona-glowna header.fixed + main.main-glowna {
        margin-top: -15px;
    }

    header .logo {
        max-width: 20%;
    }

    header .nav {
        font-size: 16px;
    }

    header nav li a {
        padding: 5px 10px;
    }

    ul.sub-nav li a {
        padding: 10px 10px !important;
    }

}

@media (max-width: 1100px) {
    .main-glowna .b.text {
        font-size: 25px;
    }
}
@media (max-width: 1000px) {
    .main-glowna .text {
        font-size: 4vw;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 130px;
    }

    body.strona-glowna {
        padding-top: 120px;
    }

    body.strona-glowna header.fixed + main.main-glowna {
        margin-top: -5px;
    }

    .container {
        max-width: 100%;
    }

    header .logo {
        max-width: 20%;
    }

    header .nav {
        font-size: 14px;
    }

    header nav li a {
        padding: 5px 10px !important;
    }

    header.fixed .nav > li > a {
        padding: 3px 12px !important;
    }

    ul.sub-nav li a {
        padding: 10px 13px !important;
    }

    .testimonials .bx-viewport > div > div > * {
        padding: 0 15px;
    }

    footer .menu {
        line-height: 20px;
    }

    footer, footer .info a {
        font-size: 15px;
    }

    footer .info a img {
        max-width: 22px;
    }
    header .infoCovid {
        font-size: 14px;
        line-height: 1.3em;
    }
}

@media (max-width: 920px) {
    footer .info .name {
        margin-left: 0;
    }
    .main-glowna .b.text {
        font-size: 22px;
    }
}

@media (min-width: 768px) and (max-width: 860px) {
    header nav li a {
        padding: 5px 6px !important;
        font-size: 13px;
        position: relative;
        top: 1px;
    }
    .main-glowna .b.text {
        font-size: 20px;
    }
}

@media (max-width: 860px) {
    header.fixed .nav > li > a {
        padding: 0 6px !important;
    }

    header.fixed ul.sub-nav {
        top: 26px;
    }

    ul.sub-nav li a {
        padding: 10px 6px !important;
    }
}

@media (max-width: 797px) {
    .ciekawostkiBox {
        flex-basis: 100%;
        max-width: 100%;
        margin: 10px 0;
        font-size: 2.0em;
        line-height: 1.2em;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 80px;
    }

    body.strona-glowna {
        padding-top: 49px;
    }

    .bgTop-container {
        margin-top: 0;
    }

    header .info a {
        margin-right: 10px;
    }

    .container {
        max-width: 100%;
    }

    h3.w300 {
        max-width: 100%;
    }

    h3.w300 + div {
        width: 100%;
    }

    #phoneNr {
        top: 82px;
    }

    header .d-flex:not(.container) {
        /*flex-direction: column;*/
        /*align-items: center !important;*/
        min-height: 50px;
    }

    header nav.ml-auto {
        margin-left: 0 !important;
        position: absolute;
        top: 50px;
        right: 0;
        z-index: 1000;
        background: white;
        width: 100%;
        padding: 0 20px 20px;
        display: none;
        border-bottom: 2px solid rgba(80, 53, 29, 0.5);
        overflow: auto;
    }

    header .nav {
        align-items: flex-start !important;
        flex-direction: column;
        margin-top: 10px;
    }

    header.fixed nav li {
        border-bottom: none;
        padding: 5px 0 0 0;
        height: initial !important;
    }

    header.fixed nav li.active, header.fixed nav li:hover {
        border: none !important;
    }

    header nav li.active > a, header nav li:hover > a {
        color: #50351d;
        background: transparent;
        text-decoration: none;
        top: 0;
        font-weight: bold;
    }

    ul.sub-nav li a {
        padding: 0 10px !important;
    }

    ul.sub-nav {
        position: initial;
        top:0;
        display: block;
        opacity: 1;
        visibility: visible;
        border: 0;
        padding: 0 20px;
    }

    ul.sub-nav li {
        margin-bottom: 5px;
        margin-top: 0;
    }

    ul.sub-nav li a, header li:hover a {
        color: #50351d !important;
        background: transparent !important;
    }

    header .mobile {
        display: block;
    }

    header .iks {
        width: 40px;
        height: 50px;
        padding: 3px 0;
        margin: 0 10px 0 0;
        cursor: pointer;
    }

    header .iks span {
        height: 4px;
        background-color: #50351d;
        width: 100%;
        display: block;
        margin: 8px 0 0 0;
        border-radius: 2px;
        -moz-transition: all .4s;
        -o-transition: all .4s;
        -webkit-transition: all .4s;
        transition: all .4s;
        position: relative;
        top: 0;
    }

    header .iks span.active:nth-child(1){
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 13px;
    }

    header .iks span.active:nth-child(2){
        opacity: 0;
    }

    header .iks span.active:nth-child(3){
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: -11px;
    }

    header.fixed + main.main-glowna {
        margin-top: 32px;
    }

    header .mobile-phone {
        font-size: 18px;
    }

    header .mobile-phone img {
        margin-right: 5px;
    }

    .main-glowna .text {
        font-size: 22px;
    }

    .main-glowna span:not(.text) {
        height: 34%;
    }

    .small-contact {
        flex-wrap: wrap;
    }

    .testimonials .bx-viewport > div > div br {
        display: none;
    }

    footer .menu p {
        text-align: left;
    }

    header .logo {
        max-width: 25%;
    }

    .zespol-img {
        text-align: center;
    }

    .zespol-img img {
        max-width: 300px;
    }

    .home.more-btn {
        display: none;
    }

    .home-more {
        height: initial;
    }

    footer div.white {
        display: none;
    }

    footer .menu {
        line-height: 20px;
    }

    footer, footer .info a {
        font-size: 15px;
    }

    footer .info a img {
        max-width: 22px;
    }

    footer .info {
        padding-right: 15px;
    }
}

@media (min-width: 670px) and (max-width: 767px) {
    .main-glowna span:not(.text) {
        height: 38%;
    }
}

@media (max-width: 575px) {
    .post-min-image {
        height: auto;
    }
    .main-glowna {
        max-height: none;
    }
    .glowna .top {
        position: relative !important;
    }
    .main-glowna {
        height: 300px;
    }
    .main-glowna div, .main-glowna a {
        height: 300px;
    }

    .glowna .top {
        transform: none;
        transition: none;
        margin: 0;
        width: 100%;
        border: 0;
    }
    .main-glowna .a {
        margin-left: 0;
    }
    .glowna .top div{
        transform: none;
    }
    .glowna .top div a{
        margin: 0;
    }
    .glowna:hover .top {
        width: 100%;
    }
    header .infoCovid {
        font-size: 12px;
        line-height: 1.1em;
    }
}

@media (max-width: 510px) {
    .ciekawostkiBox {
        font-size: 1.2em;
        line-height: 1.1em;
    }
    .main-glowna span:not(.text) {
        height: 31%;
    }

    footer, footer .info a {
        font-size: 14px;
    }

    footer .info a img {
        max-width: 20px;
    }

    footer .col-6, footer .info {
        padding-left: 0;
        padding-right: 0 !important;
    }
}

@media (max-width: 456px) {
    body {
        padding-top: 81px;
    }
}

@media (max-width: 450px) {
    header .logo {
        max-width: 40%;
    }
}

@media (max-width: 420px) {
    #phoneNr, header .mobile-phone {
        display: none;
    }
}

@media (min-width: 500px) {
    .related-posts .posts {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 768px) {
    .header,
    .marketing,
    .footer {
        padding-right: 0;
        padding-left: 0;
    }

    .header {
        margin-bottom: 30px;
    }	
}

@media (min-width: 768px) {
    div.images {
        margin-top: 20px;
    }

    .cke h1 {
        margin-bottom: 15px;
    }

    .catalog {
        margin-top: 15px;
    }

    .testimonials .bx-viewport > div > div > div {
        border-right: 0px solid rgba(46, 46, 46, .35);
        border-left: 0px solid rgba(46, 46, 46, .35);
    }

    .testimonials .bx-viewport > div > div:last-of-type > div {
        border-right: none;
    }

    .home-min-h-75 {
        min-height: 75px;
    }
}

@media (min-width: 992px) {
    .related-posts .posts {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    div.images {
        margin-top: 30px;
    }

    .cke h1 {
        margin-bottom: 20px;
    }

    .catalog {
        margin-top: 30px;
    }

    header:not(.fixed) nav li a {
        position: relative;
        top: -1px;
    }
}

@media (min-width: 1200px) {
    div.images {
        margin-top: 50px;
    }

    .cke h1 {
        margin-bottom: 30px;
    }

    .catalog {
        margin-top: 50px;
    }
}

@media (min-width: 1500px) {
    .box-contact {
        margin-right: 20px;
    }
}

@media (min-width: 1950px) {
    .main-glowna span:not(.text) {
        max-height: 150px;
    }

    .main-glowna .text {
        font-size: 55px;
    }
    .main-glowna .b.text {
        font-size: 40px;
    }
}

.w100 {
    width: 100%;
}

.nohover:hover {
    text-decoration: none;
}

.arrowDown{
    position: absolute;
    top: 37px;
    left: calc(50% - 73px);
    transform: translate(-50%,-50%);
    height: 13px;

}
.arrowDown span{
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #A7998D;
    border-right: 2px solid #A7998D;
    transform: rotate(45deg);
    margin: -8px;
    animation: animateDown 2s infinite;
}
.arrowDown span:nth-child(2){
    animation-delay: -0.2s;
}
@keyframes animateDown {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-8px,-8px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(2px,2px);
    }
}
.arrowUp{
    position: absolute;
    top: 42px;
    left: calc(50% - 65px);
    transform: translate(-50%,-50%);
    height: 13px;

}
.arrowUp span{
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #A7998D;
    border-right: 2px solid #A7998D;
    transform: rotate(225deg);
    margin: -12px;
    animation: animateUp 2s infinite;
}
.arrowUp span:nth-child(2){
    animation-delay: -0.2s;
}
@keyframes animateUp {
    0%{
        opacity: 0;
        transform: rotate(225deg) translate(-4px,-4px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(225deg) translate(4px,4px);
    }
}