.route_cards {
    overflow: hidden;
    padding: 50px 0;
}
.rc-cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    margin: 0 -11px;
}
.rc-card {
    background: #FFFFFF;
    box-shadow: 0px 4px 50px rgba(48, 52, 59, 0.15);
    -webkit-box-shadow: 0px 4px 50px rgba(48, 52, 59, 0.15);
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    margin: 0 11px 22px;
    padding: 15px 20px 40px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    position: relative;
}
.route-text {
    font-style: italic;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: #838383;
    margin-bottom: 5px;
}
.route-title {
    font-style: normal;
    font-weight: bold;
    font-size: 22px;
    line-height: 20px;
    color: #262A36;
    margin-bottom: 25px;
}
.rc-card table {
    border-collapse: collapse;
    width: 100%; 
}
.rc-card table td {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    color: #1C1C1C;
    border-bottom: 2px solid #F2F2F2;
    vertical-align: middle;
    padding: 2px;
}
.rc-card table tr td:last-child {
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
    text-align: right;
    color: #262A36;
}

.rc-cards-table {
    position: relative;
    box-shadow: 0px 4px 50px rgb(48 52 59 / 15%);
    -webkit-box-shadow: 0px 4px 50px rgb(48 52 59 / 15%);
    -webkit-box-flex: 1;
}
.rc-cards-table table {
    width: 100%;
    border-collapse: collapse;  
}
.rc-cards-table table td, .rc-cards-table table th {
    vertical-align: middle;
    padding: 15px 15px 15px 20px;
}
.rc-cards-table table td:not([class]), .rc-cards-table table th:not([class]) {
    text-align: center;
}
.rc-cards-table table td {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
}
.rc-cards-table table th {
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: #FFFFFF;
}
.rc-cards-table table tr td:first-child:not([class]), .rc-cards-table table tr th:first-child:not([class]) {
    text-align: left;
}
.rc-cards-table table tbody tr td:not(:last-child) {
    border-right: 2px solid #f7f7f7;
}
.rc-cards-table table tbody tr:nth-child(even) {
    background-color: #f3f4f5;
}
.rc-cards-table table thead tr {
    background-color: #000;
}
.rc-cards-table:not(.new_table_content) table tbody tr:hover td {
    color: #fff;
    background-color: gray;
}
.rc-cards-table table tbody tr td:last-child {
    white-space: nowrap;
}
.show-all-bg {
    display: block;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 120px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(81.25%, #fff));
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #fff 81.25%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 81.25%);
}
.show-all {
    color: #fff;
    display: inline-block;
    padding: 15px;
    background-color: #000;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
    line-height: 1;
    z-index: 1;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.show-all:hover {
    background-color: gray;
}

.rc-container-fluid, .rc-container{
    max-width:100%;
    padding:0 15px;margin:0 auto;display:-webkit-box;
    display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;
    -webkit-justify-content:start;-ms-flex-pack:start;justify-content:start;-webkit-box-sizing:border-box;box-sizing:border-box
}
.order-route {
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    cursor: pointer;
    position: absolute;
    bottom: -18px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
    line-height: 1;
    z-index: 1;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

.rc-cards-table figcaption {
    background: #f1f1f1;
    color: #000;
    text-align: right;
    padding: 5px 40px 5px 5px;
    font-size: 14px;
    letter-spacing: 0.1em;
    font-style: italic;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.route_card__form-wrap, .route_card__form-overlay {
    display: none;
}
.route_card__form-overlay {
    background-color: rgb(119, 119, 119);
    opacity: 0.7;
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 111111;
}
.route_card__form-wrap {
    width: 100%;
    max-width: 500px;
    background: #fff;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 111112;
    padding: 30px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.route_card__form-wrap input:not([type="submit"]){
    margin-bottom: 15px;
}
.route_card__form-wrap input[type="submit"]{
    color: #fff;
    display: inline-block;
    padding: 10px;
    background-color: #000;
    cursor: pointer;
    text-align: center;
    line-height: 1;
    z-index: 1;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 0px;
    margin-bottom: 15px;
}
.route_card__form-wrap input[type="submit"]:hover, .order-route:hover {
    background-color: gray;
    color: #fff;
}
.route_card__form-close {
    position: absolute;
    right: 0px;
    top: 0px;
    display: block;
    width: 25px;
    height: 25px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    cursor: pointer;
    font-size: 42px;
    line-height: 25px;
}

.route_cards_from_to .route-title {
    margin-bottom: 0;
    text-align: center;
}
.route_cards_from_to .rc-card {
    background: #fff;
}

body .rc-card-new .route-title{
    margin-bottom: 15px;
}

body .rc-card-new .route-title span{
    font-weight: 600;
    margin-bottom: 0;
}

.rc-card.rc-card-new{
    width: calc((100% - 90px) / 4);
    margin-left: 0;
    margin-right: 0;
    filter: none;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: calc((100% - 90px) / 4);
}

.rc-cards.rc-cards-new{
    column-gap: 30px;
    justify-content: left;
}

body .rc-card.rc-card-new .order-route{
    background: url('/wp-content/uploads/2024/11/button.svg');
    width: 100%;
    height: 44px;
    background-size: contain;
    left: 0;
    background-repeat: no-repeat;
    padding: 0;
    background-position: center;
}

.price-days{
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-days .price{
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: -0.03em;
    color: #20294D;
}

.price-days .date{
    font-size: 15px;
    font-weight: 600;
    line-height: 22.5px;
    letter-spacing: -0.03em;
    color: #20294D;
}

.rc-card-new .characteristic ul{
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

/*.rc-card-new .characteristic ul li{
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    border-bottom: 2px solid #ECDFD1;
    margin-bottom: 10px;
}*/

.rc-card-new .characteristic ul li:last-child{
    margin-bottom: 0;
}

.rc-card-new .characteristic ul li:before{
    display: none !important;
}

.entry-content .rc-card-new .characteristic ul:not(.blocks-gallery-grid):not(.list-decor):not(.big-list-decor):not(.dedicated-item) li{
    padding-left: 0 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    border-bottom: 2px solid #ECDFD1;
    margin-bottom: 10px;
}

@media (max-width: 1280px){
    .rc-card.rc-card-new{
        width: calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 640px){
    .rc-card.rc-card-new{
        width: 100%;
        max-width: 100%;
    }
}

#rc-cards-slider .swiper-wrapper{
    width: max-content;
}

.swiper-scrollbar{
    height: 4px;
    background: #DFDFDF;
    margin-top: 0;
    width: 100%;
}

.swiper-scrollbar-drag{
    background: #B3814E;
    cursor: pointer;
}