/*modal--calc-results*/
.xxx-modal.xxx-modal--calc-results.xxx-modal-default__body {
    padding-bottom: 0;
    height: auto;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.xxx-modal.xxx-modal--calc-results.xxx-modal-default__body .xxx-modal-default__content {
    overflow: auto;
}

.xxx-modal.xxx-modal--calc-results .xxx-modal-default__wrapp-bottom {
    padding: 0;
}

.xxx-modal.xxx-modal--calc-results .xxx-calculation-results__wrapper {
    padding-left: 0;
    padding-right: 0;
}

.xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell {
    padding-left: 10px;
    padding-right: 10px;
}

.xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell {
    margin-right: 0;
}

.xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell:nth-child(1) {
    width: 20.1%;
    padding-left: 20px;
}

.xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell:nth-child(2) {
    width: 30.5%;
}
.xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell:nth-child(3) {
    width: 22.15%;
}
.xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell:nth-child(4) {
    width: 27.25%;
    padding-right: 20px;
}

@media screen and (max-width: 740px) {
    .xxx-modal.xxx-modal--calc-results .xxx-calculation-results__title {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cells {
        width: 100%;
    }
    .xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell {
        padding-left: 15px;
        padding-right: 15px;
    }
    .xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell:nth-child(1),
    .xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell:nth-child(2),
    .xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell:nth-child(3),
    .xxx-modal.xxx-modal--calc-results .xxx-calculation-results__cell:nth-child(4) {
        width: 100%;
    }
    .xxx-modal.xxx-modal--calc-results {
        border-top: 0;
    }
}
/*modal--calc-results end*/

/*xxx-modal--scrolled-content*/
.xxx-modal.xxx-modal--scrolled-content {
    height: 80vh;
}

.xxx-modal.xxx-modal--scrolled-content .xxx-modal__thead {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid #e9edf0;
    max-width: 100%;
}
.xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__wrapper{
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    position: relative;
    overflow: hidden;
    padding-right: 18px;
}
.xxx-modal.xxx-modal--scrolled-content .xxx-modal__thead-cell {
    padding: 20px 10px;
    white-space: nowrap;
    font-size: 14px;
    color: #adb4bf;
}

.xxx-modal.xxx-modal--scrolled-content .xxx-modal__thead-cell:nth-child(1),
.xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(1),
.xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(1){
    width: 13%;
}
.xxx-modal.xxx-modal--scrolled-content .xxx-modal__thead-cell:nth-child(2),
.xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(2),
.xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(2) {
    width: 27%;
}
.xxx-modal.xxx-modal--scrolled-content .xxx-modal__thead-cell:nth-child(3),
.xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(3),
.xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(3) {
    width: 20%;
}
.xxx-modal.xxx-modal--scrolled-content .xxx-modal__thead-cell:nth-child(4),
.xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(4),
.xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(4){
    width: 20%;
}

.xxx-modal.xxx-modal--scrolled-content .xxx-modal__thead-cell:nth-child(5),
.xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(5),
.xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(5){
    width: 20%;
}

.xxx-modal-default__content {
    height: 100%;
}
.xxx-modal.xxx-modal--scrolled-content .xxx-modal-default__content-table{
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    height: 50%;
    -webkit-box-flex: 2;
    -ms-flex-positive: 2;
    flex-grow: 2;
}

.xxx-modal.xxx-modal--scrolled-content .xxx-modal-default__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

@media screen and (max-width: 740px) {
    .xxx-modal.xxx-modal--scrolled-content .xxx-modal__thead {
        display: none;
    }
    .xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results {
        border-top: 1px solid #e9edf0;
    }
    .xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(1),
    .xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(1),
    .xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(2),
    .xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(2),
    .xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(3),
    .xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(3),
    .xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(4),
    .xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(4),
    .xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__cell:nth-child(5),
    .xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(5) {
        width: 100%;
        padding: 5px 15px;
    }

    .xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:nth-child(1) {
        padding-bottom: 15px;
    }

    .xxx-modal.xxx-modal--scrolled-content .xxx-table-default td:last-of-type {
        padding-bottom: 15px;
    }

    .xxx-modal.xxx-modal--scrolled-content .xxx-calculation-results__wrapper {
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .xxx-modal.xxx-modal--calc-results.xxx-modal-default__body.mob\:xxx-modal--full-screen {
        max-height: unset;
    }
}
/*xxx-modal--scrolled-content end*/

.xxx-tab-list-wrap.xxx-tab-list-wrap--two-tabs::after {
    bottom: 2px;
}

.xxx-tab__list.xxx-tab__list--no-paddings {
    padding: 0
}


.xxx-tab__list.xxx-tab__list--two-tabs .xxx-tab__item {
    width: 50%;
}

.xxx-tab__list.xxx-tab__list--two-tabs .xxx-tab__item span {
    width: 100%;
    text-align: center;
}

.xxx-tab__list.xxx-tab__list--two-tabs .xxx-tab__item:last-child {
    padding-right: 0;
}

[data-js="show-hidden-blocks"] {
    cursor: pointer;
}

.slider_wrapper.input-slider-calc {
    margin-bottom: 0;
}

.field-creditcalculatorform-date, .field-mortgagecalculatorform-date {
    width: 100%;
}

@media screen and (max-width: 740px) {
    .xxx-table-default--mob-rating td:nth-child(4) {
        padding-top: 10px;
        padding-bottom: 0;
    }

    .xxx-table-default--mob-rating td:nth-child(5) {
        padding-top: 10px;
        padding-bottom: 20px;
    }
}

.xxx-g-error-block {
    width: 100%;
}

.xxx-copy-link-wrap {
    margin-top: 30px;
    position: relative;
}

.copy-link {
    cursor: pointer;
}

.xxx-link-copy-btn__message {
    -webkit-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    color: #000;
    top: -37px;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    transform: translate(-50%,0);
    font-size: 14px;
    padding: 6px 12px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.3);
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    background: #fff;
    border-radius: 2px;
    white-space: nowrap;
}

.xxx-link-copy-btn__message.active {
    opacity: 1;
}

.xxx-link-copy-btn__message:before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-style: solid;
    border-width: 7px 7px 0 7px;
    border-color: #fff transparent transparent transparent;
}

@media screen and (max-width: 740px) {
    .xxx-table-list--mob-credit-selection td:nth-child(6) a {
        position: static;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        text-align: center;
        font-size: 16px;
    }

    .xxx-copy-link-wrap {
        margin-top: 15px;
    }
}

.xxx-full-width {
    width: 100%;
}

@media screen and (max-width: 740px){
    .xxx-left-info {
        left: -200px
    }

    .xxx-left-info::before {
        content: none;
    }
}

.xxx-relative-block {
    position: relative;
}

.xxx-btn-generate-link {
    position: absolute;
    top: 25px;
    right: 75px;
    cursor: pointer;
}

.xxx-btn-generate-link.xxx-copy-link-wrap {
    margin-top: unset;
}

.btn-generate-pdf.btn-generate-pdf--icon{
    width: auto;
}

.xxx-btn-generate-link .copy-link > i,
.btn-generate-pdf.btn-generate-pdf--icon > i {
    color: #333e50;
    transition: color 0.3s ease;
}

.xxx-btn-generate-link .copy-link:hover > i,
.btn-generate-pdf.btn-generate-pdf--icon:hover > i {
    color: #95ce5a;
}

.btn-generate-pdf {
    width: 30px;
    position: absolute;
    top: 25px;
    right: 30px;
    cursor: pointer;
}

.btn-generate-pdf.btn-generate-pdf--text {
    position: relative;
    width: auto;
    top: auto;
    right: auto;
}

@media screen and (max-width: 740px) {
    .btn-generate-pdf {
        top: 20px;
        right: 15px;
    }
    .xxx-btn-generate-link {
        top: 20px;
        right: 65px;
    }
}

.xxx-modal-default__top .btn-generate-pdf {
    right: 100px;
}
