.zapis-table {
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.zapis-table .zapis-row {
    flex: 1 1 45%; /*grow | shrink | basis */
    height: 100px;
    padding: 10px;
}
.zapis-table > .error {
    background: #ff0000 !important;
}

.trevoga-block {
    margin-bottom: 70px;
}

.trevoga-block__title {
    text-align: center;
}
.trevoga-block__content {
    margin-bottom: 35px;
}
.trevoga-block__image {
    position: relative;
    max-width: 400px;
}
.trevoga-block__image:before {
    content: "";
    display: block;
    padding-top: 71%;
}
.trevoga-block__image img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.trevoga-form__desc {
    font-family: Montserrat, serif;
    font-size: 14px;
    line-height: 1.5;
    color: #4d5d73;
    letter-spacing: 0.02em;
    font-weight: normal;
    margin-bottom: 25px;
    text-align:center;
}
.trevoga-form__price {
    text-align: center;
    padding: 20px;
    display: flex;
}
.trevoga-form__price .price-cross-line{
    display: block;
    font-family: Montserrat, serif;
    font-size: 16px;
    line-height: 1.5;
    color: #999999;
    letter-spacing: 0.02em;
    font-weight: bold;
    text-decoration: line-through;
}

.trevoga-form__price .price-urgent{
    display: block;
    font-family: Montserrat, serif;
    font-size: 30px;
    font-weight: 500;
    color: #4d5d73;
    line-height: 1.2;
    text-align: center;
}
.trevoga-form__price .info {
    margin-bottom: 36px;
    display: inline-flex;
    width: 75%;
    text-align: right;
    padding-right: 30px;
    padding-top:15px;
}
.trevoga-form__price .prices {
   /* display: inline-flex;*/
    width: 35%;
}
.trevoga-form {
    background: #f4f4f4;
    padding-top: 50px;
    padding-bottom: 60px;
}
.trevoga-form--noBg {
    background: none;
    padding-top: 0;
}
.trevoga-form__title {
    font-family: Montserrat, serif;
    font-size: 20px;
    line-height: 1.5;
    color: #4d5d73;
    letter-spacing: 0.02em;
    font-weight: bold;
    margin-bottom: 35px;
}
.trevoga-form__form {
    margin-bottom: 55px;
}
.trevoga-form__form-item {
    display: block;
    margin: 0 0 40px;
}
.trevoga-form__form-item--button {
    margin-top: 20px;
    margin-bottom: 20px;
    flex: 0 0 100%;
    text-align: center;
}
.trevoga-form__form-item .site-btn {
    width: 100%;
    padding: 17px 20px;
}
.trevoga-form__form-item-title {
    display: block;
    font-family: Montserrat, serif;
    color: #444150;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
}


.trevoga-form__form {
    margin-bottom: 55px;
}
.trevoga-form__form-item {
    display: block;
    margin: 0 0 40px;
}
.trevoga-form__form-item--button {
    margin-bottom: 0;
}
.trevoga-form__form-item .site-btn {
    width: 100%;
    padding: 17px 20px;
}
.trevoga-form__form-item-title {
    display: block;
    font-family: Montserrat, serif;
    color: #444150;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
}
.trevoga-form__form__ok {
    display:none;
    width: 100%;
    padding: 0px 60px 60px 60px;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
}

.trevoga-form__body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    border-style: solid;
    padding: 20px;
    border-color: #DDD;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .zapis-table .zapis-row {
        flex: 1 1 20%; /*grow | shrink | basis */
        height: 100px;
        padding: 10px;
    }

    .trevoga-block__inner {
        display: -ms-flexbox;
        display: flex;
    }
    .trevoga-block__content {
        -ms-flex: 1 1;
        flex: 1 1;
        margin: 0;
    }
    .trevoga-block__image-wr {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        margin-left: 40px;
    }
    .trevoga-block__image {
        max-width: 100%;
    }
    .trevoga-block__image:before {
        padding-top: 65%;
    }
    .trevoga-form__form {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-bottom: 45px;
    }
    .trevoga-form__form-item {
        -ms-flex: 0 0 28%;
        flex: 0 0 28%;
        margin-right: 3.5%;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: end;
        justify-content: flex-end;
        margin-bottom: 0;
    }
    .trevoga-form__form-item:nth-child(3n) {
        margin-right: 0;
    }
    .trevoga-form__price {
        max-width: 600px;
    }
    .trevoga-form__price .price-urgent{
        font-size: 50px;
    }
    .trevoga-form__price .price-cross-line{
        font-size: 30px;
    }
    .trevoga-form__desc {
        font-size: 18px;
    }
}

.active-zapis {
    position: relative;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border: none;
    box-shadow: none;
    background: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
    padding: 22px 20px;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.02em;


    background-color: #33B111;
    border: 1px solid #88B188;
}

.active-zapis:hover {
    background: #4ba8b7;
}

.inactive-zapis {
    position: relative;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border: none;
    box-shadow: none;
    background: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
    padding: 22px 20px;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.02em;

    background-color: #EEEEEE;
    border: 1px solid #999999;
}
/*
.inactive-zapis:hover {
    background-color: #ff0000;
    border: 1px solid #DD0000;
}
 */

.choosen-zapis {
    position: relative;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border: none;
    box-shadow: none;
    background: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
    padding: 22px 20px;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.02em;

    background-color: #eacb6b;
    border: 1px solid #eacb6b;
}