/* ---------------------Icons--------------------- */
.small_round_info {    
    background: url(../img/icons/green_round_i_ico.svg) no-repeat;
    background-position: center;
    display: inline-block;
    width: 18px;
    height: 18px;
    position: absolute;
    right: 20px;
}
/* ---------------------Icons--------------------- */

.footer_wrapper,
.footer_wrapper_highlight {
    width: 100%;
    position: fixed;
    bottom: 0;
    margin-top: auto;
    z-index: 200;
    height: 88px;
    transition: 0.3s ease-in-out;
    overflow: hidden;
}
.footer_wrapper.active,
.footer_wrapper_highlight.active {
    bottom: 0;
}
/*Подвал  помощи с регистрацией*/
.footer_wrapper.footer_ticket_reg {
    height: 93%;
    bottom: calc(-93% + 94px);
}
.footer_wrapper.footer_ticket_reg.active {
    bottom: 0;
}
.footer_wrapper.footer_ticket_reg .footer_h_row {
    padding-bottom: 12px;
}
.footer_wrapper.footer_ticket_reg .footer_text_row {
    margin-top: 0;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_reg_way > div {
    margin-top: 16px;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_reg_way > div:first-child {
    margin-top: 0px;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_text_row_exp {
    font-size: 16px;
    line-height: 19px;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .h_row {
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .descr_row {
    font-size: 14px;
    line-height: 16px;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_btn {
    padding: 8px;
    display: inline-block;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .price_row {
    text-align: right;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .price {
    font-weight: bold;
    font-size: 20px;
    line-height: 23px;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_passport_reg .tel_row {
    margin-top: 16px;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_passport_reg .tel_row > div {
    flex-basis: 47%;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_passport_reg .send_btn {
    text-align: center;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_passport_reg .files_and_btn_row  {
    display: none;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_passport_reg .files_and_btn_row .files_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_passport_reg .files_and_btn_row .files_row .files_wrapper {
    display: flex;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_passport_reg .files_and_btn_row .files_row .files_wrapper .green_document_ico {
    margin-right: 32px;
}
.footer_wrapper.footer_ticket_reg .footer_text_row .footer_passport_reg .files_and_btn_row .upload_more_photos_btn {
    width: fit-content;
    padding: 8px;
    margin-top: 16px;
}
/*Подвал  помощи с регистрацией*/


.footer_wrapper .footer_h_row,
.footer_wrapper .footer_h_row .footer_ico_h {
    display: flex;
}
.footer_wrapper .footer_h_row {
    justify-content: space-between;
    align-items: center;
}
.footer_wrapper .dark_layer {
    display: none;
}


/* Подвал на странице поездов */
.footer_wrapper_highlight.popup {
    bottom: 0;
    height: unset;
    max-height: 100%;
    overflow: auto;
    z-index: 600;
}
.footer_wrapper_highlight.popup footer {
    padding: 10px 10px 16px 10px;
}
footer .footer_text_row .x-input input {
    margin-top: 2px;
    color: #000;
}
.footer_wrapper_highlight.popup .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
    width: 100%;
    margin-top: 14px;
}
.footer_wrapper_highlight.popup .buttons > * {
    cursor: pointer;
}
.footer_wrapper_highlight.popup .footer_text_row {
    max-width: 60%;
    margin: 0 auto;
}
.footer_wrapper_highlight.popup .footer_h_row > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.footer_wrapper_highlight.popup .buttons a {
    border: 1px solid #fff;
    padding: 6px;
    text-align: center;
    width: auto;
    min-width: 80px;
    font-size: 10px;
}
.footer_wrapper_highlight.popup .buttons a .title {
    font-size: 14px;
}

.footer_wrapper_highlight.popup .footer_text_row .meal_check_container + .meal_check_container {
    margin-top: 14px;
}
.footer_wrapper_highlight.popup .footer_text_row .meal_check_container label {
    margin-left: 12px;
}
.footer_wrapper_highlight.popup .footer_text_row .meal_check_container span > span {
    display: block;
    line-height: 20px;
    margin-left: 26px;
}
/* Подвал на странице поездов */


/* Подвал на странице пассажиров */
.footer_wrapper_highlight.popup .footer_text_row {
    
}
.footer_wrapper_highlight.popup .footer_text_row .xaat-err-cont .xaat-err-tbl,
.footer_wrapper_highlight.popup .footer_text_row .xaat-err-cont .xaat-err-title {
    margin-bottom: 8px;
    width: 100%;
}
.footer_wrapper_highlight.popup .footer_text_row .xaat-err-cont .xaat-err-title {
    text-align: center;
}
.footer_wrapper_highlight.popup .footer_text_row .xaat-err-tbl tr {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.footer_wrapper_highlight.popup .footer_text_row .xaat-err-tbl td {     
    padding: 4px;
    width: 100%;    
    align-items: center;
    text-align: center;
    word-break: break-word;
    font-size: 14px;
}
.footer_wrapper_highlight.popup .footer_text_row .xaat-err-tbl td.title {
    font-weight: bold;
}
/* .footer_wrapper_highlight.popup .footer_text_row .xaat-err-tbl td.val {
    width: 35%;
}
.footer_wrapper_highlight.popup .footer_text_row .xaat-err-tbl td.rec {
    width: 40%;
} */
/* Подвал на странице пассажиров */


footer {
    background: #53565B;
    border-top: 4px solid var(--secondary-color);
    padding: 17px 16px;
    z-index: 1;
    height: 100%;
    overflow-y: scroll;
    width: 1100px;
    margin: 0 auto;
    position: relative;
}
footer.error {
    border-top: 4px solid #FF777F;
}
footer .footer_text_row {
    line-height: 120%;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.94);
    width: fit-content;
    max-width: 600px;
    margin: 0 auto;
}
footer .footer_text_row > p + p {
    margin-top: 20px;
}

footer .footer_btn {
    margin-top: 24px;
}

.footer_error {
    border-top: 4px solid #FF777F;
}

.footer_wrapper.error {
    border-top: 4px solid #FF777F !important;
}
.footer_wrapper .dark_layer,
.footer_wrapper_highlight .dark_layer {
    display: none;
}

.bottom_app_block.open {
    z-index: 300;
}
.footer_wrapper.active .dark_layer,
.footer_wrapper_highlight .dark_layer,
.bottom_app_block.open .dark_layer {
    background: #000;
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 25%;
    top: 0;
    left: 0;
    z-index: -1;
}


/*синий футер*/
.footer_wrapper_highlight .white_round_info_ico {
    display: inline-block;
}
.footer_wrapper_highlight footer {
    background: var(--secondary-color);
}
.footer_wrapper_highlight.popup .buttons a {
    background: #53565B;
    border-radius: 4px;
}
.white_cross_ico {
    background: url('../img/icons/white_cross_ico.svg');
    background-size: cover;
    display: block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    cursor: pointer;
  }

/*синий футер*/