@media (min-width: 200px) {
    .posts {
        margin-top:40px
    }

    .posts .posts__wrapper {
        display: flex;
        flex-wrap: wrap
    }

    .posts .post_item {
        flex-basis: calc(50% - 20px);
        margin: 0 20px 20px 0;
        box-shadow: 4px 4px 8px 1px #eee;
        padding: 10px;
        min-height: 300px;
        position: relative
    }

    .posts .post_item .post__image {
        width: 100%;
        height: 150px
    }

    .posts .post_item .post__image .post__img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border: 1px solid #ddd
    }

    .posts .post_item h2 {
        font-size: 1.4rem;
        margin: 10px 0
    }

    .posts .post_item .post__intro {
        margin-bottom: 70px;
        padding-bottom: 10px
    }

    .posts .post_item .post__footer {
        position: absolute;
        left: 20px;
        bottom: 20px;
        width: calc(100% - 40px)
    }

    .posts .post_item .post__footer .post__link {
        margin: 0 auto;
        width: 60%;
        display: block;
        /*background-color: #189fa2;*/
        color: #fff;
        padding: 8px 16px;
        cursor: pointer;
        text-align: center
    }

    .posts .post_item .post__footer .post__link:hover {
        background-color: #5e5e5e
    }

    .posts .post_item.one {
        flex-basis: calc(100% - 20px);
        box-shadow: inherit;
        margin: 0 0 20px;
        padding: 0
    }

    .posts .post_item.one .post__intro {
        margin-bottom: 0;
        padding-bottom: 20px
    }

    .posts .post_item.one .post__footer {
        position: static
    }

    .posts .post_item.one .post__footer .post__link {
        margin: initial;
        width: 200px
    }
}

@media (min-width: 1200px) {
    .posts .posts__wrapper {
        display:flex;
        flex-wrap: wrap
    }

    .posts .post_item {
        flex-basis: calc(33.33333% - 20px)
    }

    .posts .post_item.one {
        flex-basis: calc(100% - 20px);
        box-shadow: inherit
    }

    .posts .post_item.one h2 {
        font-size: 1.8rem;
        margin-top: 40px
    }

    .posts .post_item.one .post__image {
        width: 100%;
        height: 250px
    }

    .posts .post_item.one .post__image .post__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 0 solid #ddd
    }
}

.posts {
    margin-top: 40px
}

.posts .posts__wrapper {
    display: flex;
    flex-wrap: wrap
}

.posts .post_item {
    flex-basis: calc(100% - 20px);
    width: 100%
}

@media (min-width: 1025px) {
    .posts .post_item {
        flex-basis:calc(33% - 20px)
    }
}

.posts .post_item .post__footer .post__link {
    /*background-color: #189fa2;*/
    border: none;
    border-radius: 10px;
    padding: 10px;
    width: 80%;
    color: #fff;
    font-weight: 700;
    cursor: pointer
}

.posts .post_item .post__footer .post__link:hover {
    background-color: #5e5e5e
}


/*------------------*/


/*darkmode*/

:root {
    --base-color: white;
    --base-variant: #e8e9ed;
    --text-color: #111528;
    --secondary-color: #232738;
    --primary-color: #3a435d;
    --accent-color: #0071ff;
    --text-color-1: #212529;
}

.darkmode {
    --base-color: #333333;
    --base-variant: yellow;
    --text-color: #ffffff;
    --secondary-color: #a4a5b8;
    --primary-color: #3a435d;
    --accent-color: #0071ff;
    --text-color-1: #ffffff;
}

#theme-switch {
    height: 50px;
    width: 50px;
    padding: 0;
    border-radius: 50%;
    background-color: var(--base-variant);
    display: flex;
    justify-content: center;
    align-items: center;
    /*position: fixed;*/
    /*top: 20px;*/
    /*right: 20px;*/
}

body {
    background-color: var(--base-color);
    color: var(--text-color);
}

.timeline ul li h3 {
    color: var(--text-color-1);
}
header {
    background-color: var(--base-color);
}
.header .header__wrap {
    background-color: var(--base-color);
    width: 1400px;
}
header .top .top__wrap {
    /*width: 1120px;*/
    width: 1380px;
}
.content-column-boxes homesection
{
    background-color: var(--base-color);
}
.content-column-boxes .content-column-boxes__container {
    background-color: var(--base-color);
}
section.homesection .content-column-boxes__container div:last-child {
    background-color: var(--base-color);
    color: var(--text-color);
}
section.homesection .content-column-boxes__container div.lev1 {
    background-color: var(--base-color);
}

.heroorderform {
    background-color: var(--base-color);
}
.form-steps img {
    display: none;
}
.nav__items li a {
    color: var(--text-color-1);
}

#theme-switch svg {
    fill: var(--primary-color);
}
#theme-switch svg:last-child {
    display: none;
}
.darkmode #theme-switch svg:first-child {
    display: none;
}
.darkmode #theme-switch svg:last-child {
    display: block;
}

.sizeToggle .fontSize {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sizeToggle .fontSize a {
    padding: 10px;
}
.sizeToggle .fontSize a:first-child {
    margin-left: 15px;
}
.sizeToggle .fontSize a:last-child {
    margin-right: 15px;
}
/*.fontSize { margin: 7px 10px 0 0; color:#a5a5a5; }*/
.fontSize a { text-decoration:none; color:#b9b9b9; }
.fontSize a:hover { color:#23527c;}
.fontSize .normal { font-size:15px;}
.fontSize .large { font-size:20px;}
.fontSize .xlarge { font-size:25px;}


.darkmode .form-horizontal .form-group input {

    /*border: 1px solid #fd8f13;*/
    border: 2px solid #ffffff;
    background-color: #000000;
    color: #ffffff;
    padding: 20px 10px;
    border-radius: 15px;
    font-size: 1rem;
}

.darkmode .form-horizontal ::placeholder {
    color: white;
}

.form-group.buttons {
    width: 100%;
    display: flex;
    justify-content: right;
}

.darkmode .card-flip .card-flip__back,
.darkmode .card-flip .card-flip__front {
    background-color: #000000;
    /*width: 100%;*/
    /*height: 100%;*/
    /*overflow: hidden;*/
    /*backface-visibility: hidden;*/
    /*position: absolute;*/
    /*transition: transform .5s linear;*/
}

/*.darkmode .card-flip .card-flip__back {*/
/*    background-color: #000000;*/
/*    transform: rotateY(180deg);*/
/*}*/



.darkmode section.formcontact,
.darkmode section.formcontact .container {
    background-color: #333333;
}
.darkmode section.formcontact ::placeholder {
    color: white;
}
.darkmode section.formcontact h2 {
    color: #ffffff;
}
section.formcontact form {
    /* margin-top: 30px */
}
section.formcontact .form-row .form-group {
    margin-bottom: 20px
}
/*section.formcontact .btn-project {*/
/*    width: 200px;*/
/*    height: 46px;*/
/*    background-color: #fd8701;*/
/*    border: 0;*/
/*    color: #fff;*/
/*    font-weight: 300;*/
/*    text-transform: uppercase;*/
/*    margin-top: 30px;*/
/*    cursor: pointer;*/
/*    border-radius: 20px;*/
/*    font-weight: bold;*/
/*    text-align: center;*/
/*}*/
.section3.formcontact .form-group {
    width: 100%;
}
.section3.formcontact .form-control {
    border: none;
    background-color: #eeeeee;
    padding: 20px;
    border-radius: 20px;
}
.formcontact .container h2 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.8rem;
}
.form-horizontal-contact .form-group {
    display: block;
}



.form-horizontal-contact label {
    display: block;
}
.darkmode .form-horizontal-contact input {
    border-radius: 20px;
    border: solid 2px #ffffff;
    background-color: #000000;
    padding: 30px;
}
.darkmode .form-horizontal-contact textarea,
.darkmode textarea.form-control {
    border-radius: 20px;
    border: solid 2px #ffffff;
    background-color: #000000;
    height: 200px
}
.form-horizontal-contact .form-group p {
    text-align: center;
    margin: 0;
    padding: 0;
}



/* FAQ */
.darkmode .faq__content ul li a.faq__content-link {
    color: #fff;
}

.darkmode .faq__content ul li a.faq__content-link:hover {
    background-color: #000000;
}


#drobnica-logo {
    width: 220px;
}

.darkmode .cls-1 {
    fill: #fff;
}

.content-column-boxes {
    background-color: var(--base-color);
}

.darkmode .calc {
    background-color: var(--base-color);
}

.darkmode section.numbers,
.darkmode .banner,
.darkmode .video-youtube {
    background-color: var(--base-color);
}

.darkmode .infographic {
    /*background: transparent url(/build/images/wave.d39b5afd.png);*/
    background: none;
    background-size: cover;
    height: 700px;
    padding: 0;
}

.container-box .container-box__container div figure img {
    /*filter: grayscale(1);*/
    /*transition: .3s ease-in-out;*/
    /*max-width: 100%;*/
    /*filter: grayscale(0.6) brightness(0.5);*/
}

.darkmode section.mapcalc .mapcalc__wrapper .calc {
    width: 300px;
    height: 521px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 300;
    /*background-color: rgba(243, 243, 243, 0.9);*/
    background-color: var(--base-color);
    position: relative;
}


.darkmode .form-group input,
.darkmode section.mapcalc .mapcalc__wrapper .calc .select-css {

    border: 2px solid #ffffff;
    background-color: #000000;
    color: #ffffff;
    padding: 20px 10px;
    border-radius: 15px;
    font-size: 1rem;
}

.darkmode section.mapcalc .mapcalc__wrapper .calc .form-group.loading label,
.darkmode section.mapcalc .mapcalc__wrapper .calc .form-group.unloading label,
.darkmode section.mapcalc .mapcalc__wrapper .calc .form-group.form-group-left label,
.darkmode section.mapcalc .mapcalc__wrapper .calc .form-group.form-group-right label
{
    color: #fff;
}


.darkmode section.mapcalc .mapcalc__wrapper .calc #order_container input[type=radio]#order_container_4 ~ label.a,
.darkmode section.mapcalc .mapcalc__wrapper .calc #order_container input[type=radio]#order_container_6 ~ label.a {
    background-color: #64a6c5;
    color: #ffffff;
    font-weight: bold;
}

.darkmode .form-group input::placeholder {
    color: white;
}

.darkmode section.mapcalc .mapcalc__wrapper .calc .select-css ::placeholder {
    color: white;
}

.darkmode section.banner {
    background-image: linear-gradient(0deg, #000000 20%, #000000 100%);
}

.darkmode .container.for_persons {
    background-color: var(--base-color);
}

.darkmode section.persons div {
    background-color: var(--base-color);
}

.darkmode .content-column-boxes
{
    background-image: linear-gradient(0deg, #000000 0%, #000000 100%);

}

.darkmode section.content-column-boxes div h3 {
    color: #fff;
}

.darkmode section.content-column-boxes div p {
    font-size: 16px;
    font-weight: 300;
    line-height: 28px;
    color: #fff;
}
.darkmode section.content-column-boxes div:last-child {
    /*color: #ffffff;*/
    background-image: linear-gradient(0deg, #000000 0%, #000000 100%);
}

.video-slider {
    /*width: 100%;*/
    /*height: 520px;*/
    /*opacity: 1;*/
    /*display: inline;*/
    /*position: absolute;*/
    /*top: 125px;*/
    /*left: 0;*/
    /*box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.6);*/
}

.video-slider .webinar {
    display: none;
}

.darkmode section.profits ul li span {
    color: #000000;
}

.darkmode section.profits ul li p {
    font-size: 16px;
    /*font-weight: 700;*/
    line-height: 120%;
    color: #fff;
    /*background-color: rgba(255, 255, 255, 0.8);*/
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 5px;
}

.darkmode section.numbers ul li strong {
    color: #fff;
}

.darkmode section.infos ul li {
    color: #ffffff;
}

.darkmode section.infos ul li a {
    color: #fff;
}


.darkmode .circle-diagram .circle-box p {
    color: #ffffff;
}

.darkmode  section.persons div p strong {
    color: #ffffff;
}

.darkmode section.formcontact .btn-project {
    width: 200px;
    height: 46px;
    background-color: #000000;
    border: 0;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 30px;
    border-radius: 5px;
    cursor: pointer;
}

#logo_kolejchiny {
    width: 180px;
}

#logo_kolejchiny .st0 {
    /*fill: #de2910;*/
    fill: #000000;
}

.darkmode #logo_kolejchiny .st0 {
    fill: white;
}

@media (max-width: 768px) {
    .darkmode #logo_kolejchiny .st0 {
        fill: #de2910;
    }
}


/*-----------------------------------------------------------------------*/
/*  ---*/
/*-----------------------------------------------------------------------*/

.no-scale {
    font-size: 14px !important; /* fallback */
    text-decoration: none;
    cursor: pointer;
}

.small-link {
    font-size: 14px !important;
}

.medium-link {
    font-size: 16px !important;
}

.large-link {
    font-size: 18px !important;
}



.darkmode section.persons div p {
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
    text-align: center;
}

section.profits ul li {
    display: block;
    height: 500px;
}
section.profits ul li span {
    width: 118px;
    height: 118px;
    margin: 0 auto 22px;
    border-radius: 118px;
    font-size: 72px;
    font-weight: 800;
    color: #fff;
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    background-color: #fff;
    color: #64a6c5;
}
section.profits ul li strong {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 800;
    display: block;
    height: 120px;
    color: #ffffff;
    text-shadow: 1px 1px 12px rgba(0, 0, 0, 0.9);
}
section.profits ul li p {
    font-size: 14px;
    font-weight: 700;
    line-height: 120%;
    min-height: 150px;
    color: #000;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center
}

.darkmode .info-box--gray {
    background-color: #000000;
}

.darkmode .variant ul li  {
    color: #ffffff;
}

ul.steps li a {
    margin-top: -200px;
}

