.hidden {
    display: none
}

.jp3-wrap {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 24px;
    margin-top: 12px
}

.div_r4er {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
#jp3-child-card.hidden {
    display: none
}
#jp3-child-card select{
    border: unset;
}
#jp3-child-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
        background: rgba(233, 233, 233, 1);
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
}

.jp3-col {
    border-radius: 12px;
    padding: 16px
}

.jp3-col h2 {
       color: rgba(40, 67, 137, 1) !important;
    font-size: 23px !important;
}
.jp3-grid h5{
        color: rgba(40, 67, 137, 1) !important;
    font-size: 18px !important;
    margin: 0;
    border-bottom: 1px solid rgba(40, 67, 137, 0.24);
    padding-bottom: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
}
#jp3-child-card input{
        padding: 13px 10px !important;
    border: 1px solid rgba(234, 234, 234, 1) !important;
    border-radius: 8px !important;
    margin: 20px 0 6px 0;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    margin: 0;
    width: 100%;
}
.div_r4er select{
    margin: 0;
}
.jp3-card h3{
        color: rgba(40, 67, 137, 1);
    font-size: 18px;
    border-bottom: 1px solid rgba(40, 67, 137, 0.24);
    padding-bottom: 6px;
    margin: 0 0 20px;
}
.jp3-card {
      border-radius: 12px;
    padding: 0px 20px 20px 20px;
}
.jp3-input {
    padding: 13px 10px !important;
    border: 1px solid rgba(234, 234, 234, 1) !important;
    border-radius: 8px !important;
    margin: 20px 0 6px 0;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    margin: 0;
    width: 100%;
}
#jp3-pay-btn{
        background: linear-gradient(90deg, #D89E32 0%, #FFDA94 100%);
    color: rgba(0, 0, 0, 1);
    justify-content: center;
    width: 100%;
    padding: 11px 0 !important;
}
body .jp3-btn {
    border: 0 !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    cursor: pointer;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    background: #244589;
    color: white;
    font-size: 12px !important;
    font-weight: 400 !important;
}
.jp3-btn:hover {
    opacity: .9
}


/* Info block (right card) */
.jp3-info {
    margin-top: 14px
}

.jp3-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    line-height: 1.2;
}

.jp3-info-ico {
    flex: 0 0 24px;
    opacity: .9
}

.jp3-info-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 2px
}

.jp3-info-value {
       font-weight: 500;
    color: #fff;
    line-height: 1.35;
    font-size: 15px;
}
#jp3-sum-payment{
        font-family: inherit;
    font-size: 20px;
    text-align: center;
    color: white;
}
.paymentNote{
    font-size: 14px;
    line-height: 1.3;
}
#jp3-summary .jp3-sum-card {
    background: #1e3b86;
    border: 0;
    color: #fff;
     background-repeat:no-repeat;
       background-position: right -126px bottom 100px;
       background-size: contain;
}

#jp3-summary .jp3-sum-card h4 {
    margin: 0;
    font-size: 15px;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.55);
    padding-bottom: 15px;
}

/* Address block text inside the value */
#jp3-sum-address .jp3-loc {
    color: #fff
}

#jp3-sum-address .jp3-loc strong {
    display: block;
    margin-bottom: 2px;
    color: #E5EDFF
}

#jp3-sum-address .jp3-loc span {
    opacity: .9
}



.jp3-hint {
       display: block;
    color: rgba(195, 127, 31, 1);
    font-size: 12px;
    line-height: 1.4;
}

#jp3-summary .jp3-svc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.jp3-sum-block{
        background: rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 10px 10px 15px 10px;
}
#jp3-summary .jp3-svc-title {
    font-weight: 700;
    color: #FFFFFF;
}

#jp3-summary .jp3-svc-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #BFD0FF;
    font-weight: 600;
    font-size: 13px;
}

#jp3-summary .jp3-svc-duration svg {
        flex: 0 0 18px;
    fill: #ffe4c400;
}

#jp3-summary .jp3-svc-sub {
     margin-top: 16px;
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
    font-size: 13px;
}

.jp3-info{
        margin-top: 50px;
    width: 252px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}
.jp3-msg {
    color: #b33;
    margin-top: 8px
}

.jp3-dob {
    display: grid;
    grid-template-columns: 60px 60px 1fr;
    gap: 8px
}

.jp3-radio,
.jp3-check {
    display: block;
    margin: 6px 0
}

.jp3-summary .jp3-sum-card {
    background: rgba(40, 67, 137, 1);
    border-radius: 12px;
    padding: 40px;
}

.jp3-sum-block {
    margin-bottom: 12px
}

.jp3-pay {
    margin: 16px 0
}

.jp3-err {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px
}

.jp3-input.is-invalid {
    border-color: #c0392b
}

@media(max-width:760px) {
    .jp3-wrap {
        grid-template-columns: 1fr
    }
}