
/*  Старый нужный для Млайна*/
.change-location {
    cursor: pointer;
    margin: 0 20px;
    -webkit-transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 4px solid #fff;
    font-weight: 500
}
/*
Линейный градиент для выхода тарифа
.tarif_card{
    position: relative;
}
.tarif_card::beforыe{
    content: '';
    position: absolute;
    width: 125px;
    height: 100%;
    background: -webkit-gradient(linear,right top,left top,color-stop(48.41%,#fff),to(rgba(255,255,255,0)));
    background: -webkit-linear-gradient(right,#fff 48.41%,rgba(255,255,255,0) 100%);
    background: -o-linear-gradient(right,#fff 48.41%,rgba(255,255,255,0) 100%);
    background: linear-gradient(270deg,#fff 48.41%,rgba(255,255,255,0) 100%);
    -webkit-transform: matrix(-1,0,0,1,0,0);
    -ms-transform: matrix(-1,0,0,1,0,0);
    transform: matrix(-1,0,0,1,0,0);
    left: -15px;
    top: 0;
    z-index: 4;
    opacity: 1;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    pointer-events: none;
}
.tarif_card::afte2r{
    content: '';
    position: absolute;
    width: 125px;
    height: 100%;
    background: -webkit-gradient(linear,right top,left top,color-stop(48.41%,#fff),to(rgba(255,255,255,0)));
    background: -webkit-linear-gradient(right,#fff 48.41%,rgba(255,255,255,0) 100%);
    background: -o-linear-gradient(right,#fff 48.41%,rgba(255,255,255,0) 100%);
    background: linear-gradient(270deg,#fff 48.41%,rgba(255,255,255,0) 100%);
    right: -15px;
    top: 0;
    z-index: 4;
    opacity: 1;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    pointer-events: none;
}
*/

.SucessContainer .w3-modal-icon {
    border-radius: 50%;
    border: 4px solid gray;
    box-sizing: content-box;
    height: 80px;
    padding: 0;
    position: relative;
    width: 80px;
}
.SucessContainer .w3-modal-icon.w3-modal-success, .SucessContainer .w3-modal-icon.f-modal-error {
    border-color: #A5DC86;
    margin: 0 auto;
}
.SucessContainer .w3-modal-icon.w3-modal-success .w3-modal-placeholder, .SucessContainer .w3-modal-icon.f-modal-error .w3-modal-placeholder {
    border-radius: 50%;
    border: 4px solid rgba(165, 220, 134, 0.2);
    box-sizing: content-box;
    height: 80px;
    left: -4px;
    position: absolute;
    top: -4px;
    width: 80px;
    z-index: 2;
}
.SucessContainer .w3-modal-icon.w3-modal-success .w3-modal-fix, .SucessContainer .w3-modal-icon.f-modal-error .w3-modal-fix {
    background-color: #fff;
    height: 90px;
    left: 28px;
    position: absolute;
    top: 8px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 5px;
    z-index: 1;
}
.SucessContainer .w3-modal-icon.w3-modal-success .w3-modal-line, .SucessContainer .w3-modal-icon.f-modal-error .w3-modal-line {
    background-color: #A5DC86;
    border-radius: 2px;
    display: block;
    height: 5px;
    position: absolute;
    z-index: 2;
}
.SucessContainer .w3-modal-icon.w3-modal-success .w3-modal-line.w3-modal-tip, .SucessContainer .w3-modal-icon.f-modal-error .w3-modal-line.w3-modal-tip {
    left: 14px;
    top: 46px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 25px;
}
.SucessContainer .w3-modal-icon.w3-modal-success .w3-modal-line.w3-modal-long, .SucessContainer .w3-modal-icon.f-modal-error .w3-modal-line.w3-modal-long {
    right: 8px;
    top: 38px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 47px;
}


.SucessContainer .w3-modal-icon + .w3-modal-icon {
    margin-top: 50px;
}

.animateSuccessTip {
    -webkit-animation: animateSuccessTip .75s;
    animation: animateSuccessTip .75s;
}

.animateSuccessLong {
    -webkit-animation: animateSuccessLong .75s;
    animation: animateSuccessLong .75s;
}

.w3-modal-icon.w3-modal-success.animate:after {
    -webkit-animation: rotatePlaceholder 4.25s ease-in;
    animation: rotatePlaceholder 4.25s ease-in;
}



@-webkit-keyframes animateSuccessTip {
    0%,54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes animateSuccessTip {
    0%,54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes animateSuccessLong {
    0%,65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}
@keyframes rotatePlaceholder {
    0%,5% {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    100%,12% {
        -webkit-transform: rotate(-405deg);
        transform: rotate(-405deg);
    }
}
.change-location:hover, .change-location-act {
    border-bottom: 4px solid #CA6166
}

/* Модный переключатель */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 19px;
}

.switch input {
    display: none;
}

@keyframes open {
    0% {
        display: block;
        opacity: 0;
        visibility: hidden;
    }
    100% {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #BD3737;
}

input:focus + .slider {
    box-shadow: 0 0 1px #BD3737;
}

input:checked + .slider:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(19px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* +Кнопки слайдера*/
.sbb_back, .sbb_next {
    width: 30px;
    height: 30px;
    border: 2px solid #3f8194;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sbb_back:hover:not(.swiper-button-disabled), .sbb_next:hover:not(.swiper-button-disabled) {
    background-color: #78adbc;
    transition: background-color 300ms linear;
}

.sbb_back:not(.swiper-button-disabled) .sbb_icon, .sbb_next:not(.swiper-button-disabled) .sbb_icon {
    fill: #3f8194;
}

.sbb_back:hover:not(.swiper-button-disabled) .sbb_icon, .sbb_next:hover:not(.swiper-button-disabled) .sbb_icon {
    fill: white;
}

.sbb_icon {
    fill: gray;
}

.swiper-button-disabled {
    border: 2px solid grey;
    cursor: auto;
}

/* Дропдаун */
.dropdown_list_tarif {
    padding: 6px;
    margin: 0;
    border: 2px solid #4b8ca0;
    outline: none;
    display: inline-block;
    cursor: pointer;
    font-size: 12pt;
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    color: black;
}

.dropdown_labes_tarif {
    position: relative
}

.dropdown_labes_tarif:after {
    content: '>';
    font: 21px \"Consolas\", monospace;
    color: #fff;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    right: 7px;
    top: 5px;
    position: absolute;
    pointer-events: none;
}

.dropdown_labes_tarif:before {
    content: '';
    right: 2px;
    top: 2px;
    width: 28px;
    height: 29px;
    background: #4b8ca0;
    position: absolute;
    pointer-events: none;
    display: block;
}

/*Основные*/
.header_swiper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swiper-button_block {
    display: flex
}

.tarif-plan-block_item {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    margin-right: 10px;;
    cursor: default;
}

.tpi_name {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tpi_add_close, .tpi_add_back {
    cursor: pointer;
}

.tarif-plan-block_item-name {
    margin: 0;
    font-weight: 700;
    font-size: 22pt;
}

.tpi_basic-infotext {
    margin: 0;
    color: rgba(189, 55, 55, 1);
    font-weight: 600;
    font-size: 15pt;
}

.additional_option {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 2px solid #A6A6A6;
    padding-bottom: 2px;
    margin-bottom: 20px
}
.tpi_basic, .tpi_additional, .tpi_send_request{
    animation-name: open;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-delay: 0s;
}

.tpi_basic-additional {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #A6A6A6;
    padding-bottom: 2px;
    margin-bottom: 20px;
}

.basic-additional_button {
    background-color: #CCCCCC;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.basic-additional_button:hover {
    background-color: #e6bdbd;
}

.tpi_block-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tpi_block-price_current {
    margin: 0;
    font-size: 20pt;
    font-weight: 900;
}

.component-checkbox {
    width: 27px;
    height: 27px;
    border-radius: 4px;
    border: 2px solid #4B8D9D;
    vertical-align: middle;
    box-sizing: border-box;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.component-checkbox .component-mark {
    opacity: 0;
    margin: 0;
    width: 18px;
    height: 18px;
}

.component-checkbox-input{
    display: none;
}

.component-checkbox-input:checked + .component-checkbox .component-mark {
    opacity: 1;
}

@media screen and (max-width: 700px) {
    .header_swiper {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .swiper-button_block {
        width: 100%;
        justify-content: space-between;
    }
    .sbb_back, .sbb_next {
        margin-left: 0;
    }
}

@media screen and (max-width: 640px) {
    .tarif-plan-block_item {
        min-height: 390px;
        margin: 10px;
    }
}

.gift-4 {
    position: absolute;
    left: 250px;
    top: 0px;
    filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.5));
    z-index: 100;
}

.gift-4 img {
    display: block;
    font-size: 16px;
    text-align: center;
    width: 50px;
    line-height: 56px;
}

.ribbon-4 {
    position: absolute;
    left: 250px;
    top: 0px;
    filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.5));
    z-index: 100;
}
.ribbon-4 span {
    display: block;
    color: #fff;
    font-size: 16px;
    text-align: center;
    background: linear-gradient(93.69deg, #0b7190b8 -18.24%,#c96065 103.4%);
    width: 50px;
    line-height: 56px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
}
.strikethrough {
    position: relative;
    font-size: 20px;
}

.strikethrough:before {
    border-bottom: 2px solid #d0d0d0;
    position: absolute;
    content: '';
    width: 100%;
    height: 50%;
    transform: rotate(-10deg);

}
.component-router-block-wrapper {
    display: flex;
    justify-content: space-between;
}

.component-router-block {
    width: 49%;
    position: relative;
    min-height: 100px;
    background-color: #4A8A9E;
    color: white;
    padding: 1em;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: 200px;
    background-position: 94% 86%;
    border-radius: 10px;
}

.component-router-block-image img {
    width: 200px;
}

.component-router-block-image {
    width: 200px;
    position: absolute;
    right: 1em;
    bottom: 1em;
}

.component-router-block:hover {
    box-shadow: 0 0 12px 0 rgba(74, 138, 158, 0.48);
}

.component-router-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.component-router-block-label {
    background-color: white;
    color: #CE7075;
    padding: 0.25em 1em;
    margin-left: -1em;
    font-size: 1.5em;
    white-space: nowrap;
    font-weight: 500;
    box-shadow: 0 0 12px 0 rgba(74, 138, 158, 0.48);
    z-index: 1;
    border-radius: 5px;
}

.component-router-block-slogan {
    font-size: 1.25em;
    padding-left: 0.5em;
}

.component-router-block-spec {
    padding: 1em 0;
}

.component-router-block-price-old {
    text-decoration: line-through;
    color: #A9C8D1;
    user-select: none;
}

.component-router-block-price {
    font-size: 2.5em;
}

.component-router-block-ps {
    display: inline-block;
    background-color: white;
    color: #CE7075;
    margin: 0 0 1em 0;
    padding: 0 0.5em;
    font-weight: 500;
}

.component-router-block-button-tooltip {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #4A8A9E;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 1em;
    flex-direction: column;
    transition: all ease-in-out 0.1s;
}

.component-router-block-button-tooltip ul {
    max-width: 100%;
}

.component-router-block-button-tooltip li {
    margin: 0.5em 0;
}

.component-router-block-button-tooltip-close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 35pt;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

@media (max-width: 820px) {
    .component-router-block-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .component-router-block {
        width: 500px;
        margin: 0.5em 0;
    }

}

@media (max-width: 530px) {
    .component-router-block {
        width: 100%;
    }
}

@media (max-width: 470px) {
    .component-router-block-wrapper {
        font-size: 0.8em;
    }

    .component-router-block {
        background-size: 40%;
    }

    .component-router-block-slogan {
        text-align: right;
    }

    .component-router-block-image, .component-router-block-image img {
        width: 150px;
    }
}
.component-button-sales {
    font-family: Roboto Condensed, sans-serif;
    font-weight: 100;
    background-color: #CE7075;
    padding: 0.25em 1.5em;
    color: white;
    font-size: 1.25em;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 0 0 rgba(173, 54, 60, 1);
    border-radius: 5px;
    text-transform: uppercase;
}

.component-button-sales:hover {
    background-color: #C96065;
}

.component-button-sales:active {
    background-color: #C96065;
    box-shadow: none;
    position: relative;
    top: 2px;
}
