.table {
    margin-top: 32px;
    border-bottom: 1px solid #D0D9DF;
}

.table__row {
    display: flex;
    padding: 35px 0;
    border-top: 1px solid #D0D9DF;
    border-bottom: 0 solid transparent;
    cursor: pointer;
    transition: border-bottom 0s ease-in 0.25s;
}

.table__info-all {
    display: none;
}

.table__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 70px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.table__img img {
    height: auto;
}

.table__row--open {
    border-bottom: 1px solid #D0D9DF;
    transition: border-bottom 0s ease-in 0s;
}

.table__start, .table__center, .table__end {
    display: flex;
}

.table__start {
    width: 23%;
    padding-left: 25px;
}

.table__center {
    width: 35%;
}

.table__end {
    margin-left: auto;
}

.table__center {
    justify-content: space-between;
}

.table__col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    transition: color 0.15s ease-in;
}

.table__col--arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
}

.table__col--arrow::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #0C54A0;
    transition: border 0.25s ease-in;
}

.table__col--arrow-open::before {
    border-top-width: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #0C54A0;
}

.table__col--ml {
    margin-left: auto;
}

.table__bottom {
    display: none;
}

.table__row--contract {
    overflow: hidden;
    height: 0;
    max-width: 950px;
    margin: 0 auto;
    padding: 0;
    flex-direction: column;
    border-top-width: 0;
    border-bottom-width: 0;
    cursor: default;
    transition: height 0.25s ease-in;
}

.table__contract {
	width: 85%;
    display: flex;
    padding: 10px 0;
    justify-content: space-between;
    border-bottom: 1px solid #D0D9DF;
    text-decoration: none;
    color: #737373;
    transition: background 0.15s ease-in;
}

.table__contract:not(.table__contract--subtitle):hover {
    background: #F2F6F9;
}

.table__contract:not(.table__contract--subtitle):hover .table__col--hover-red {
    color: #E31E24;
}

.table__contract:last-child {
    border-bottom-width: 0;
}

.table__contract--subtitle {
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #737373;
    border-bottom: 1px solid #D0D9DF;
}

.table__contract .table__col {
    width: calc(100%/5);
}

@media (max-width: 1023px) {
    .table {
        margin: 0 -24px;
    }

    .table__center {
        width: 45%;
    }

    .table__row--contract {
        max-width: 715px;
    }
}

@media (max-width: 767px) {
    .table {
        margin-top: 22px;
        margin-left: -20px;
        margin-right: -20px;
    }

    .table__row {
        padding: 10px 0;
    }

    .table__row--contract {
        padding: 0 15px;
    }

    .table__block {
        font-size: 14px;
        font-weight: 500;
        line-height: 26px;
        text-align: left;
    }

    .table__start, .table__end {
        align-items: center;
    }

    .table__start {
        width: 60%;
        padding-left: 15px;
    }

    .table__start .table__col {
        justify-content: flex-start;
        text-align: left;
    }

    .table__end {
        width: 40%;
    }

    .table__center {
        display: none;
    }

    .table__col--arrow {
        width: 45px;
    }

    .table__bottom {
        display: block;
        width: 100%;
        font-size: 14px;
        line-height: 26px;
        color: #737373;
    }

    .table__contract--subtitle {
        display: none;
    }

    .table__info-all {
        display: flex;
        width: 100%;
    }

    .table__img {
        width: 100%;
        height: 100%;
        padding-right: 20px;
    }

    .table__half {
        width: 50%;
        font-size: 14px;
        line-height: 20px;
        color: #737373;
    }

    .table__contract {
        padding: 15px 0;
    }

    .table__contract .table__col:not(:first-child) {
        display: none;
    }

    .table__img img {
        height: auto;
    }
}

@media (max-width: 479px) {
    .table {
        margin-left: -15px;
        margin-right: -15px;
    }

    .table__row--contract {
        max-width: 290px;
        padding: 0;
    }

    .table__img {
        padding-right: 0;
    }

    .table__info-all {
        display: flex;
        width: calc(90% - 100%/5);
    }
}

.modal {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    opacity: 0;
    z-index: 999999;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    font-size: 0;
    background: rgba(136, 136, 136, 0.6);
    border-width: 0;
}

.modal::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.modal[open] {
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
}

.modal-container {
    display: inline-block;
    width: 100%;
    white-space: normal;
    vertical-align: middle;
    text-align: left;
}

.modal-container-active {
    overflow: hidden;
}

.show-element {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
    max-width: 748px;
    max-height: 648px;
}

.show-element__img {
    max-width: 700px;
    max-height: 600px;
    background: #FFFFFF;
    text-align: center;
    padding: 50px;
}

.show-element > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.show-element__closed {
    position: absolute;
    right: 0;
    top: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.show-element__closed > svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .show-element {
        padding: 20px;
        max-width: 740px;
        max-height: 740px;
    }

    .show-element__img {
        padding: 10px;
    }

    .show-element__closed {
        width: 20px;
        height: 20px;
    }
}

.reservation{
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid #0C54A0;
    background-color: #0C54A0;
    height: 33px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.36px;
    cursor: pointer;
    -webkit-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
    position: absolute;
    top: 26px;
    right: 7px;
}

.pos-button{
    position: relative;

}

#podlogka {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.6;
    z-index: 100;
}

.pop-up-reserv{
    width: 100%;
    position: fixed;
    top: 40%;
    z-index: 999999;
}

@media (max-width: 1024px) {

    .reservation {
        font-size: 9px;
        right: 2px;
    }

    .table__col{
        font-size: 13px;
    }
}
.icon-reserv{
    display: none;
}

@media (max-width: 480px) {
    .icon-reserv{
        display: block;
        width: 231px;
        padding: 0 10px;
        height: 33px;
        color: #ffffff;
        letter-spacing: 0.36px;
        cursor: pointer;
        position: absolute;
        top: 42px;
        right: 50px;
        z-index: 9999999;
    }
    .icon-reserv > svg > path{
        fill: #0C54A0;
    }
    .reservation{
        display: none;
    }
}