/* redefine */
.personal-menu a {
    display: inline-block;
    position: relative;
    margin: 5px 0;
    text-decoration: none;
}
/*.personal-menu a.this {opacity: 0.5;}*/
.personal-menu a span {
    position: absolute;
    top: 0;
    font-size: 7px;
    margin: 5px;
}
.personal-menu a span:first-child {left: -17px;}
.personal-menu a:not(.this):hover span::before {
    content: '';
    display: inline-block;
    border: 1px solid;
    width: 3px;
    height: 3px;
    margin: 4px 0 0 2px;
    border-radius: 50%;
    opacity: 0.5;
}
.personal-menu a {
    width: 100%;
    margin: 0;
    padding: 5px 0;
}
.personal-menu a:hover {
    color: #717171;
    text-decoration: none;
}
.personal-menu a span {
    display: none;
}

.personal-ruspost{
    max-width: 500px;
    width: 100%;
}
/* --- */

#vue-app {
    display: flex;
    justify-content: center;
    width: 100%;
}
.cursor-default {
    cursor: default !important;
}
.certificate {
    max-width: 1920px;
    width: 100%;
    display: flex;
    padding: 20px;
    justify-content: space-between;
    flex-grow: 1;
}
.certificate.centered {
    max-width: 100%;
    width: 100%;
    justify-content: center;
    background: #f7f7f7;
}
.cert-options {
    display: grid;
    grid-gap: 20px;
    grid-template-areas:
        'a a'
        'b b'
        'c d';
    grid-template-columns: repeat(2, 1fr);
    width: 1060px;
}
.cert-options .swiper-arrow-next {
    right: -20px;
}
.cert-payment {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 640px;
}
.cert-option-block {
    background: #f7f7f7;
    padding: 40px;
}
.cert-option-title {
    font-size: 20px;
    font-weight: 500;
}
.cert-button {
    position: relative;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eeeeee;
    border-radius: 6px;
    user-select: none;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    width: 186px;
    cursor: pointer;
}
.cert-button.selected {
    color: #fff;
    background: #272725;
    cursor: default;
}
.cert-button-wide {
    width: 197px;
}
.cert-button-black {
    background: #272725;
    color: #fff;
}
.cert-button-cap {
    text-transform: none;
}
.cert-button span {
    font-size: 10px;
    margin-top: 5px;
}
.cert-option-price {
    grid-area: a;
}
.cert-option-design {
    grid-area: b;
}
.cert-option-recipient {
    grid-area: c;
}
.cert-option-date {
    grid-area: d;
}
.swiper-wrap {
    position: relative;
}
.swiper-arrow {
    position: absolute;
    top: 24px;
    width: 17px;
    height: 11px;
    background-position: -382px -178px;
    cursor: pointer;
}
.swiper-arrow-prev {
    left: -27px;
    transform: rotate(90deg);
}
.swiper-arrow-next {
    right: -27px;
    transform: rotate(-90deg);
}
.cert-option-design .swiper-arrow {
    top: 85px;
}
.price-container {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    overflow: hidden;
}
.price-container .cert-button {
    margin-right: 12px;
    flex-shrink: 0;
    width: 186px !important;
}
.price-container .cert-button:last-child {
    margin-right: 0;
}
.design-container {
    display: flex;
    gap: 25px;
    overflow: hidden;
}
.design-item {
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 4px;
    position: relative;
    border: 1px solid transparent;
    padding: 4px;
    margin-top: 20px;
    cursor: pointer;
    width: 218px !important;
    margin-right: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.design-item:last-child {
    margin-right: 0;
}
.design-item img {
    height: 130px;
    width: auto;
    border-radius: 4px;
}
.design-item.selected {
    border: 1px solid #272725;
    cursor: default;
}
.recipient-container,
.date-container {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 90px;
}
.recipient-container {
    margin-bottom: 87px;
}
.recipient-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-title {
    width: fit-content;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    font-size: 20px;
    font-weight: 500;
    user-select: none;
}
.form-title > span {
    color: #848484;
}
.form-input {
    border: 0;
    border-bottom: 1px solid #272725;
    padding: 12px 0 4px;
    font-size: 12px;
    line-height: 20px;
    background: transparent;
}
.form-input::placeholder {
    opacity: 40%;
}
.form-input.-error {
    border-color: #f20;
    color: #ca1b00;
}
.phone-repeat-error {
    position: absolute;
    bottom: -20px;
    right: calc(50% - 160px);
    font-size: 12px;
    color: #ca1b00;
}
.form-input-wrap {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;
    position: relative;
}
.form-input-wrap > input {
    flex-grow: 1;
}
.form-code {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
}
.form-code span {
    font-size: 12px;
    line-height: 16px;
    color: #717171;
    width: 180px;
}
.form-code.-loading::after {
    content: '';
    background: #27272511 url(/upload/images/icons/await.gif) no-repeat center;
    display: block;
    width: 160px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.form-code-resend {
    text-decoration: underline;
    cursor: pointer;
    display: block;
}
.form-code input {
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #eaeaea;
    width: 160px;
}
.form-code input::placeholder {
    opacity: 0.4;
}
.form-text {
    margin: 10px 0 0;
    font-size: 14px;
}
.form-text-lesser {
    font-size: 12px;
    line-height: 12px;
    opacity: 0.4;
    margin-top: 5px;
}
.form-phone-button {
    font-size: 12px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 14px 20px;
    background: #eaeaea;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    margin-top: 10px;
}
.form-button {
    width: 105px;
    height: 38px;
    background: #272725;
    cursor: pointer;
    user-select: none;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 12px;
    align-self: flex-end;
}
.form-checkbox {
    font-size: 14px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    width: fit-content;
}
.form-checkbox::before {
    content: '';
    width: 20px;
    height: 20px;
    font-size: 0;
    border: 1px solid #696969;
    border-radius: 4px;
    flex-grow: 0;
    flex-shrink: 0;
    line-height: 0;
    box-sizing: border-box;
}
.form-checkbox.checked::before {
    border: 0;
    background: url('https://cdn.finnflare.com/upload/local/templates/adaptive/sprite.svg') no-repeat -448px -36px;
    width: 20px;
    height: 20px;
}
.form-textarea {
    position: relative;
    margin-bottom: 10px;
}
.form-textarea textarea {
    border: 0;
    padding: 0 0 0 20px;
    font-size: 12px;
    line-height: 20px;
    background: transparent;
    width: 100%;
    min-height: 20px;
    height: 20px;
}
.form-textarea textarea::placeholder {
    font-size: 12px;
    color: #7a7a79;
    opacity: 1;
 }
.form-textarea.unset::before {
    content: '';
    position: absolute;
    border-bottom: 1px solid #7a7a79;
    top: 16px;
    left: 1px;
    width: 14px;
    height: 11px;
    background-image: url('https://cdn.finnflare.com/upload/local/templates/adaptive/sprite.svg');
    background-repeat: no-repeat;
    background-position-x: -489px;
    background-position-y: -89px;
    background-size: 600px;
    opacity: 0.6;
}
.date-selector-wrap {
    display: grid;
    grid-template-areas:
        'a a a a a a a'
        'b c c c c c c';
    grid-column-gap: 20px;
    grid-row-gap: 15px;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
}
.date-selector-wrap > div {
    width: auto !important;
}
.date-selector-wrap .el-input__prefix {
    display: none !important;
}
.cert-option-date.selecting .date-container {
    margin: 60px 0 30px;
}
.cert-option-block.selecting {
    padding-bottom: 32px;
}
.cert-datepicker input,
.cert-timeselect input,
.cert-timezone input {
    padding: 0 0 4px !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 0;
    letter-spacing: 0;
    font-family: 'Manrope';
    height: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #a5a5a5;
    color: #272725;
    cursor: pointer;
}
.cert-datepicker input {
    position: relative;
    z-index: 1;
}
.cert-datepicker::after,
.cert-timezone::after {
    content: '>';
    position: absolute;
    right: 0;
    top: -11px;
    font-size: 32px;
    font-weight: 100;
    transform: rotate(90deg);
}
.cert-datepicker {

}
.cert-timeselect {

}
.cert-timezone {

}
.cert-timezone .el-select__caret {
    display: none !important;
}
.el-picker-panel.time-select {
    min-width: 75px;
}
.el-picker-panel.time-select .el-scrollbar__bar.is-horizontal {
    display: none !important;
}

.cert-payment {
    margin-right: 60px;
}
.cert-preview {
    width: 640px;
    height: 400px;
    margin-bottom: 40px;
    /*background: #021aed;*/
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    user-select: none;
}
.cert-peview img {
    height: 100%;
    width: auto;
}
.cert-preview-logo {
    position: absolute;
    z-index: 1;
    top: 40px;
    left: 40px;
    right: 40px;
    height: 50%;
    background: url('/upload/images/certificate/logo-white.svg') no-repeat center top / contain;
    display: none;
}
.cert-preview-price {
    font-size: 80px;
    font-weight: 400;
    color: #fff;
    position: absolute;
    bottom: 45px;
    left: 0;
    width: 100%;
    text-align: center;
    letter-spacing: 0;
    line-height: 64px;
}
.cert-payment-button {
    width: 300px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    text-transform: uppercase;
    background: #eeeeee;
    user-select: none;
}
.cert-payment-button.active {
    justify-content: space-between;
    background: #272725;
    color: #fff;
    cursor: pointer;
    padding: 0 21px;
}
.cert-payment-icons {
    margin: 20px 0;
    display: flex;
    gap: 12px;
    justify-content: center;
}
.payment-icon {
    background-image: url('https://cdn.finnflare.com/upload/local/templates/adaptive/sprite.svg');
    background-repeat: no-repeat;
    background-position-y: -209px;
}
.payment-icon-sbp {
    background-position-x: -501px;
    height: 20px;
    width: 16px;
}
.payment-icon-visa {
    background-position-x: -278px;
    height: 20px;
    width: 34px;
}
.payment-icon-master {
    background-position-x: -326px;
    height: 20px;
    width: 25px;
}
.payment-icon-mir {
    background-position-x: -367px;
    height: 20px;
    width: 38px;
}
.payment-icon-yapay {
    background-position-x: -610px;
    height: 20px;
    width: 47px;
}
.cert-payment-details,
.cert-payment-offer {
    font-size: 14px;
    letter-spacing: 0;
    align-self: flex-start;
}
.cert-payment-offer span {
    display: block;
    letter-spacing: 0;
}
.cert-payment-offer span > span {
    display: inline;
    cursor: pointer;
    position: relative;
}
.cert-payment-offer span > span::after {
    content: '';
    width: 100%;
    border-bottom: 1px solid #272725;
    bottom: 2px;
    left: 0;
    position: absolute;
    height: 0;
    opacity: 0.4;
}
.cert-payment-offer + .cert-payment-offer {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #515151;
}
.cert-payment-details {
    cursor: pointer;
    margin-top: 20px;
    position: relative;
}
.cert-payment-details::after {
    content: '';
    width: 100%;
    border-bottom: 1px solid #272725;
    bottom: 2px;
    left: 0;
    position: absolute;
    height: 0;
    opacity: 0.4;
}

/* --- elements redefine --- */
.el-input.is-active .el-input__inner,
.el-input__inner:focus {
    border-color: #272725;
}
.el-range-editor.is-active,
.el-range-editor.is-active:hover,
.el-select .el-input.is-focus .el-input__inner {
    border-color: #272725;
}

/* -- calendar redefine -- */
.el-date-picker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.el-date-picker__header .el-icon-d-arrow-left,
.el-date-picker__header .el-icon-d-arrow-right {
    display: none;
}
.el-date-picker__header .el-date-picker__header-label {
    order: 1;
    color: #272725;
}
.el-date-picker__header .el-date-picker__header-label + .el-date-picker__header-label {
    order: 2;
    color: #272725;
    flex-grow: 1;
    text-align: left;
}
.el-date-picker__header .el-icon-arrow-left {
    order: 3;
    margin-top: 0;
    margin-right: 5px;
}
.el-date-picker__header .el-icon-arrow-right {
    order: 4;
    margin-top: 0;
}
.el-date-picker__header .el-icon-arrow-left::before,
.el-date-picker__header .el-icon-arrow-right::before {
    content: '';
    width: 22px;
    height: 10px;
    background: url('https://cdn.finnflare.com/upload/local/templates/adaptive/sprite.svg') no-repeat -340px -94px / 500px;
    display: inline-block;
}
.el-date-picker__header .el-icon-arrow-left::before {
    transform: rotate(180deg) translateY(-0.5px);
}
.el-picker-panel__content {
    margin-top: 0;
}

.el-date-table th {
    border-bottom: 0;
    padding: 0 4px;
    line-height: 18px;
    text-transform: uppercase;
    text-align: left;
    color: #272725;
}
.el-date-table__row td {
    border-top: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
    text-align: left;
    padding: 0 0 0 4px;
    font-size: 12px;
}
.el-date-table__row td:last-child {
    border-right: 1px solid #e2e2e2;
}
.el-date-table__row:last-child td {
    border-bottom: 1px solid #e2e2e2;
}
.el-date-table td div {
    padding: 0;
}
.el-date-table td span {
    position: relative;
    left: unset;
    -webkit-transform: none;
    transform: none;
    margin: 0;
    line-height: 18px;
}

.el-date-table td.available:hover {
    color: #272725cc;
    box-shadow: inset 0 0 1px 2px #27272544;
}

td.available.current {
    background: #272725;
    color: #fff;
}
.el-date-table td.current:not(.disabled) span {
    color: #fff;
    font-weight: 500;
    background-color: transparent;
}
.el-date-table td.today {
    box-shadow: inset 0 0 1px 1px #27272544;
}
.el-date-table td.today span {
    color: #272725;
}

/* -- select redefine -- */
.el-select-dropdown__item {
    color: #272725dd;
}
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
    background-color: #2727250a;
}
.el-select-dropdown__item.selected {
    color: #272725;
}

/* -- timeselect redefine -- */
.time-select-item.selected:not(.disabled) {
    color: #272725;
}
.time-select-item:hover {
    background-color: #2727250a;
    font-weight: 400;
}

@media (max-width: 1400px) and (min-width: 1025px) {
    .cert-options {
        width: 100%;
        margin-right: 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .cert-option-price,
    .cert-option-design {
        width: 100%;
        position: relative;
    }
    .cert-option-price::after,
    .cert-option-design::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 20px;
        background: #f7f7f7;
    }
    .cert-payment {
        margin-right: 0;
        width: auto;
        flex-shrink: 1;
    }
    .cert-preview {
        width: 100%;
        height: auto;
        background-color: transparent;
    }
    .cert-preview img {
        width: 100%;
    }
}
@media (max-width: 1024px) {
    .certificate {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 60px;
    }
    .cert-options {
        width: 100%;
        overflow: hidden;
    }
    .cert-option-design .swiper-arrow {
        top: 75px;
    }
    .cert-options .swiper-arrow-next {
        right: -23px;
    }
    .cert-option-price,
    .cert-option-design {
        width: 100%;
        position: relative;
    }
    .cert-option-price::after,
    .cert-option-design::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 20px;
        background: #f7f7f7;
    }
    .price-container .cert-button {
        width: 173px !important;
    }
    .design-item {
        width: 181px !important;
        margin-right: 25px;
    }
    .design-item img {
        height: 106px;
    }
    .cert-button-wide {
        width: 183px;
        height: 56px;
    }
}
@media (max-width: 768px) {
    .cert-options {
        display: flex;
        flex-direction: column;
    }
    .cert-preview-price {
        font-size: 60px;
        bottom: calc(20% - 35px);
    }
}
@media (max-width: 540px) {
    .cert-payment {
        width: 100%;
        margin-right: 0;
    }
    .cert-preview {
        width: 100%;
        height: auto;
    }
    .cert-preview img {
        width: 100%;
    }
    .cert-payment-offer span {
        white-space: normal !important;
    }
    .cert-payment-offer span a {
        white-space: nowrap !important;
    }
    .cert-preview-price {
        font-size: 48px;
        bottom: calc(20% - 30px);
    }
}
@media (max-width: 450px) {
    .certificate {
        padding: 20px 0 60px;
    }
    .cert-options {
        gap: 0;
    }
    .cert-option-block {
        border-bottom: 1px solid #a0a0a0;
        background: #fff;
        padding: 40px 16px;
    }
    .cert-option-price::after,
    .cert-option-design::after {
        width: 16px;
        background: #fff;
    }
    .swiper-arrow {
        display: none;
    }
    .form-input-wrap {
        flex-direction: column;
    }
    .form-input-wrap > input {
        width: 100%;
    }
    .date-container {
        justify-content: center;
    }
    .date-selector-wrap {
        display: flex;
        flex-direction: column;
    }
    .cert-option-block.selecting {
        padding-bottom :40px;
    }
    .cert-payment {
        width: 100%;
        margin-right: 0;
        padding: 0 16px;
    }
    .cert-preview {
        width: 100%;
        height: fit-content;
        margin-bottom: 20px;
    }
    .cert-preview img {
        width: 100%;
    }
    .cert-preview-price {
        font-size: 32px;
        bottom: calc(20% - 29px);
    }
    .cert-payment-offer span {
        white-space: normal;
    }
    .phone-repeat-error {
        right: 0;
    }
}
@media (max-width: 360px) {

}