.route_cards {
    overflow: hidden;
/*    padding: 0 0 50px;*/
}
.rc-cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
/*    flex-direction: column;*/
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: left; 
        gap: 20px;
/*    margin: 0 -11px;*/
}
.rc-card {
    border-radius: 5px;
    background: #FFF url(/wp-content/themes/sky-logistic-2023/images/eath.svg) right bottom no-repeat;
    box-shadow: 0px 8px 16px 0px rgba(68, 68, 68, 0.16), 0px 2px 4px 0px rgba(68, 68, 68, 0.04);
    margin: 0 11px 22px;
    padding: 30px 17px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    position: relative;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #1136401A;
}
.route-text {
    font-style: italic;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: #838383;
    margin-bottom: 5px;
}
.route-title {
    color: var(--dark_blue, #001766);
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
}
.rc-card table {
    border-collapse: collapse;
    width: 100%; 
    margin-bottom: 20px;
}
.rc-card table td {
    color: var(--dark_grey, #303444);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    vertical-align: middle;
    padding: 2px;
    display: block;
}
.rc-card table tr td:last-child {
    color: var(--dark_grey, #303444);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
    border-top: 1px solid rgba(131, 129, 153, 0.20);
    padding-top: 20px;
}
.rc-card table tr td:last-child svg {
    position: relative;
    top: 4px;
    margin-right: 8px;
}
.rc-card table .list-disk {
    padding-left: 0 !important;
}

.rc-cards-table {
    position: relative;
    overflow: hidden;
}
.rc-cards-table table {
    width: 100%;
    border-collapse: collapse;  
}
.rc-cards-table table td, .rc-cards-table table th {
    vertical-align: middle;
}
.show-all-bg {
    display: block;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 59px;
    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: -22px;
    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 {
    border-radius: 4px;
    background: var(--blue, #2D5BB3);
    padding: 10px 15px;
    color: #FFF;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    width: 100%;
    text-decoration: none !important;
    display: block;
}

.rc-cards-table figcaption {
    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: #FBB701;
    color: #fff;
    text-decoration: none !important;
}
.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;
}

.rc-cards .tarif-box{
    width: calc((100% - 60px) / 4);
    border: 1px solid #1136401A;
/*    border-image-source: linear-gradient(41.52deg, rgba(17, 54, 64, 0.1) 0%, rgba(17, 54, 64, 0.03) 53.04%);
    border-image-slice: 1;*/
    padding: 30px;
    border-radius: 5px;
        box-sizing: border-box;
        position: relative;
}

.wp-block-columns-is-layout-flex .rc-cards .tarif-box{
    width: calc((100% - 20px) / 2);
}

.rc-cards .tarif-box > div{
    display: flex;
    column-gap: 24px;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.rc-cards .tarif-box > div > div:first-child{
/*    width: calc((100% - 24px) / 12 * 5);*/
}

.rc-cards .tarif-box > div > div:last-child{
/*    width: calc((100% - 24px) / 12 * 7);*/
    flex-direction: column;
    display: flex;
}

.tarif-box__footer {
    margin-top: auto;
}

/*.rc-cards .tarif-box:hover{
    background: #FAFBFB;
    border-image-source: linear-gradient(41.52deg, #EDBC07 0%, #FAFBFB 53.04%);
    border-image-slice: 1;
}*/

/*.rc-cards .tarif-box:hover .tarif-box__body:before{
    content: '';
    width: 176px;
    height: 176px;
    background: url('/wp-content/uploads/2024/05/logo-fon.svg');
    background-size: contain;
    display: block;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translate(0, -50%);
}*/

.rc-cards .tarif-box .btn-blue{
    position: relative;
}

.rc-cards .tarif-box:hover .btn-blue{
    background: #1D3D76;

}

.tarif-box__header{
    font-size: 18px;
    font-weight: 500;
    line-height: 19px;
    margin-bottom: 20px;
    min-height: 38px;
}

.tarif-box__header span{
    font-weight: 600;
}

.tarif-box__price{
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
}

.tarif-box__date{
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
}

.heading-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.heading-card ul{
    padding-left: 16px;
    min-height: 100px;
}

.tarif-box__body ul{
    padding-left: 0;   
    margin-bottom: 30px;
    position: relative;
}

.tarif-box__body ul li{
    display: flex;
    column-gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.tarif-box__body ul li:last-child{
    margin-bottom: 0;
}

.tarif-box__body ul li:before{
    content: '';
    background: url('/wp-content/uploads/2024/05/list-point.svg') top no-repeat;
    display: block;
    width: 4px;
    min-width: 4px;
    height: 6px;
    background-size: contain;
}

.tarif-box__body .btn-blue{
    width: 100%;
    box-sizing: border-box;
}

.rc-cards.rc-cards-cols-2 {
    flex-direction: initial;
}

.rc-cards.rc-cards-cols-2 .tarif-box {
    width: calc(100% / 2 - 15px);
}

.tarif-box__body-content {
    margin-bottom: 30px;
}

.price-date{
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

@media (max-width: 992px){
    .rc-cards .tarif-box, .wp-block-columns-is-layout-flex .rc-cards .tarif-box {
    width: 100%;
}
.rc-cards{
/*    row-gap: 30px;*/
}

}

@media (max-width: 781px){
    .rc-cards.rc-cards-cols-2 .tarif-box {
        width: 100%;
    }
}