@font-face {
    font-family: "ITV Display Serif";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/itv-display-serif/ITVDisplaySerif-Bold.woff2") format("woff2"), url("../fonts/itv-display-serif/ITVDisplaySerif-Bold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "ITV Display Serif";
    font-style: italic;
    font-weight: 400;
    src: url("../fonts/itv-display-serif/ITVDisplaySerif-BoldItalic.woff2") format("woff2"), url("../fonts/itv-display-serif/ITVDisplaySerif-BoldItalic.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "ITV Display Sans Condensed";
    font-weight: 400;
    src: url("../fonts/itv-display-sans-condensed/ITVDisplaySans-BoldCondensed.woff2") format("woff2"), url("../fonts/itv-display-sans-condensed/ITVDisplaySans-BoldCondensed.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "ITV Text Sans";
    font-weight: 100;
    src: url("../fonts/itv-text-sans/ITVTextSans-Light.woff2") format("woff2"), url("../fonts/itv-text-sans/ITVTextSans-Light.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "ITV Text Sans";
    font-weight: 400;
    src: url("../fonts/itv-text-sans/ITVTextSans-Regular.woff2") format("woff2"), url("../fonts/itv-text-sans/ITVTextSans-Regular.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "ITV Text Sans";
    font-weight: 700;
    src: url("../fonts/itv-text-sans/ITVTextSans-Bold.woff2") format("woff2"), url("../fonts/itv-text-sans/ITVTextSans-Bold.woff") format("woff");
    font-display: swap;
}

#next-and-prev-btn-container {
    display: block !important;
}

.firstSec.d-none ~ #next-and-prev-btn-container .backC {
    display: none;
}

.firstSec ~ #next-and-prev-btn-container #btn-form-section-next {
    display: block !important;
}

.firstSec.d-none ~ #next-and-prev-btn-container .backC {
    display: none;
}

.finalStep.d-none ~ #next-and-prev-btn-container .subBtn,
.finalStep ~ #next-and-prev-btn-container #btn-form-section-next {
    display: none !important;
}

.finalStep ~ #next-and-prev-btn-container .subBtn,
.finalStep.d-none ~ #next-and-prev-btn-container #btn-form-section-next {
    display: block !important;
}

.error,
.field-validation-error {
    color: #ff0000;
    font-size: 12px;
    font-weight: normal;
    clear: both;
    width: 100%;
    margin-top: 5px;
}

.datepicker.dropdown-menu {
    padding: 15px;
    min-width: 200px;
}

    .datepicker.dropdown-menu td, .datepicker.dropdown-menu th {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .datepicker.dropdown-menu table tr td.active {
        background: #2F86F1 !important;
        /*background-image: linear-gradient(to bottom, #138E96, #138E96) !important;*/
    }

#Dateofbirth, #StopPayingDate, #RegularPaymentDate, #OneOffPaymentDate, #PEC_PaymentDate {
    background-image: url(../img/calendar-icon.svg);
    background-position: calc(100% - 12px) center;
    background-repeat: no-repeat;
    background-size: 19px auto;
}

.datepicker.dropdown-menu .table-condensed {
    width: 100%;
}


#contribute[type=number]::-webkit-inner-spin-button,
#contribute[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


.form-control:focus {
    border-color: transparent;
    box-shadow: none;
}


.form-radio-card-indicator,
.form-radio-card.form-radio-container,
.opcity05,
.transitionPhase,
.growthPhase.opcity05 {
    opacity: 0.5;
}

    .form-radio-card-indicator.active,
    .opcity1,
    .form-radio-card.form-radio-container.opcity1,
    .transitionPhase .opcity1 {
        opacity: 1;
    }

.form-radio-card.form-radio-container {
    pointer-events: none;
}

    .form-radio-card.form-radio-container.pointer {
        pointer-events: initial;
    }

#Topping-error {
    position: absolute;
    bottom: -20px;
    left: 0;
}

#ContribureVal-error {
    padding-top: 18px;
    font-size: 12px;
}

#TotalVal, #TotalValf, #coreTotalVal, #coreTotalValf, #regularTotalVal, #regularTotalValf, #oneoffTotalVal, #transferTotalVal, #backdatedTotalVal {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    justify-content: center;
}


#choose-hands-off-option-to-invest-in .form-group .col-form-label + div > label.error {
    display: none !important;
}

#choose-hands-off-option-to-invest-in .form-group .col-form-label + div > .form-control.error {
    height: calc(1.5em + 0.75rem + 8px);
}


#contribute.error {
    font-size: 48px;
    width: 100px;
}

/*.form-radio-container-input:checked + .form-radio-container-label:after {
    background-color: #138E96 !important;
    border-color: #138E96 !important;
}

[id^="choose-hands-off-option-to-invest-in"] .form-radio-container-input:checked + .form-radio-container-label:after {
    content: '';
    background-color: #ffaa00 !important;
    border-color: #fff !important;
}*/

/*.contribution-choice .form-radio-container-label:before {
    content: '';
    width: 5px;
    height: 10px;
    top: 9px;
    left: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    position: absolute;
    z-index: 2;
}*/

.Contributealert {
    font-size: 18px;
    width: 100%;
    color: #ff0000;
    font-weight: normal;
    clear: both;
    margin-top: 20px;
}

.boldlable {
    font-size: 19px;
    font-weight: 700 !important;
}

label#Total-error, label#Totalf-error, label#TotalFinal-error, label#coreTotal-error, label#coreTotalf-error, label#coreTotalFinal-error, label#regularTotal-error, label#regularTotalf-error, label#regularTotalFinal-error, label#oneoffTotal-error, label#transferTotal-error, label#backdatedTotal-error {
    font-size: 18px;
}

.joinformImg {
    max-width: initial;
}

.mainArea {
    overflow: hidden;
}

label#contribute-error {
    position: absolute;
    bottom: 24px;
    left: 0;
    font-size: 16px;
    width: 100%;
    padding: 0 48px;
}

#PEC_ChangetheAmount-error {
    position: absolute;
    bottom: -22px;
    left: 0;
    color: #ff0000;
    font-size: 12px;
    font-weight: normal;
    clear: both;
    width: 100%;
}
#investment-table-footer-text br{
    display: none;
}
.text-itv-blue {
    color: #138e96 !important;
}

/*.form-radio-container-input:checked + .form-radio-container-label:after,
.form-radio-container-input:checked ~ .form-radio-container-label:after {
    content: '';
    background-color: #ffaa00;
}*/

.block-navigations {
    display: block !important;
}

.margin-top-error label.error {
    margin-top: 4px;
}

.weight-bold-error label.error {
    font-weight: 600;
    margin-top: 6px;
    font-size: 14px;
}

.text-itv-blue {
    color: #2F86F1 !important;
}
.set-error-message-bottom {
    position: relative;
    padding-bottom: 20px;
}

.set-error-message-bottom .error {
    position: absolute;
    left: 0;
    bottom: -15px;
}

@media (max-width: 1199px) {
    .joinformImg {
        max-width: 115%;
    }
}

@media (max-width: 991px) {

    .joinformImg {
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {

    .form-radio-card-indicator h6 br {
        display: none;
    }

    label#contribute-error {
        padding: 0 19px;
        bottom: 14px;
    }
}


label#RegularPaymentAmount-error {
    position: absolute;
    bottom: -19px;
    left: 0;
    margin: 0;
}

.bottomboderline hr {
    margin-bottom: 0 !important;
}

.custom-checkbox-container.checkbox-end {
    padding-left: 0;
}

.custom-checkbox-container.checkbox-end .custom-checkbox {
    position: static;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    position: relative;
}

@media (min-width: 992px) {
    #RetirementAge.error {
        font-size: 3rem;
        font-weight: bold;
        text-align: center;
    }
}
