.custom-radio {
    display: none !important;
}

.custom-radio+label .icon {
    background-color: #F4F4F4;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid var(--icon-checked-color, #F4F4F4);
    cursor: pointer;
}

.custom-radio[value="5"]+label .icon:before {
    mask: var(--custom-radio-icon-5m3) no-repeat center;
    mask-size: cover;
    -webkit-mask: var(--custom-radio-icon-5m3) no-repeat center;
    -webkit-mask-size: cover;
}

.custom-radio[value="10"]+label .icon:before {
    mask: var(--custom-radio-icon-10m3) no-repeat center;
    mask-size: cover;
    -webkit-mask: var(--custom-radio-icon-10m3) no-repeat center;
    -webkit-mask-size: cover;
}

.custom-radio[value="15"]+label .icon:before {
    mask: var(--custom-radio-icon-15m3) no-repeat center;
    mask-size: cover;
    -webkit-mask: var(--custom-radio-icon-15m3) no-repeat center;
    -webkit-mask-size: cover;
}

.custom-radio+label .icon:before {
    content: '';
    display: block;
    width: 110px;
    height: 110px;
    max-width: 100%;
    background-color: #aaaaaa;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.single-post .custom-radio+label .icon:before {
    width: 80px;
    height: 80px;
    mask-size: contain !important;
}


span.wpcf7-not-valid-tip+label, span.wpcf7-not-valid-tip+p label {
    display: none !important;
}

.field-wrapper .wpcf7-not-valid-tip {
    font-size: 14px;
}

.wpcf7-not-valid-tip+p input, .wpcf7-not-valid-tip+input {
    border: 1px solid #dc3232 !important;
}

.wpcf7 form .form-response .wpcf7-response-output {
    margin: 0;
}

.form-response .custom-success strong {
    color: #078B18;
    font-weight: 400;
}
.form-response .custom-error strong {
    color: #FF0026;
    font-weight: 400;
}
.form-response .custom-success,.form-response .custom-error {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
    font-family: var(--wp--preset--font-family--plus-jakarta-sans);
    font-weight: 400;
    
}

.tpgb-contact-form-7 form.wpcf7-form input:focus, .contact-radio-wrapper .custom-radio-2:checked+span:hover {
    border: 1px solid #003F88 !important;
}

.localities-empty-button{
    top : -10px;
}

.tpgb-contact-form-7 form.wpcf7-form input+.wpcf7-not-valid-tip {
    display: none !important;
}

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

.space-wrapper>div {
    flex: 0 0;
    position: relative;
    max-width: 33%;
}

.space-wrapper>div span {
    text-align: center;
    display: block;
    color: #003F88;
}

.custom-radio+label:hover .icon {
    border: 1px solid var(--icon-checked-color, #003F88) !important;
}

.custom-radio+label .icon:before {
    background-color: var(--icon-checked-color, #003F88) !important;
}

.custom-radio:checked+label .icon:before {
    background-color: var(--icon-checked-color, #fff) !important;
}

.space-wrapper>div .custom-radio:checked+label span {
    background: #003F88;
}

.contact-radio-wrapper {
    display: flex;
    gap: 20px;
    margin: auto;
    flex-direction: row;
    align-items: center;
    padding: 5px;
    margin-top: 15px;
    background-color: #D9D9D9;
    border-radius: 6px;
}

.contact-radio-wrapper > div {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-radio-wrapper > div * {
    width: 100%;
    text-align: center !important;
}

.contact-radio-wrapper .custom-radio-2 {
    display: none;
}

.contact-radio-wrapper .custom-radio-2+span {
    padding: 7px;
    cursor: pointer;
    border: 1px solid #D9D9D9 !important;
}

.contact-radio-wrapper .custom-radio-2:checked+span {
    background: #F4F4F4;
    display: block;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(255, 255, 255, 0.25);
}
.form-response span {
    color: #5E5D5D;
    font-size: 15px;
}
.single-post .form-response span {
    font-size: 12px;
}
.single-post .form-response .custom-success,.single-post .form-response .custom-error {
    font-size: 13px;
    gap: 12px;
    margin-top: 12px;
}
.single-post .localities-empty-button {
    top: -6px;
    width: 25px;
    height: 25px;
    padding: 0 !important;
    background-size: contain !important;
    background-position: 1px 1px !important;
}

.localities-container {
    z-index: 999999 !important;
}

.tool-tip-container {
    display: flex;
    align-items: center;
    z-index: 1;
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding-top: 8px;
}

.tool-tip-container .icon {
    position: relative;
    display: flex;
    width: 18px;
    height: 18px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
}

.tool-tip-container .icon .fa-info {
    font-size: 9px;
    color: #486fa6;
    padding: 8px;
}

.tool-tip-container .icon p {
    height: 18px;
}

.tool-tip-container .icon i.icon-info {
    background-image: url('../images/icon-info.svg');
    background-size: contain;
    width: 18px;
    display: inline-block;
    height: 18px;
}

.single-post .tool-tip-container .icon i.icon-info {
    width: 12px;
    height: 12px;
}

.tool-tip-container .icon span {
    position: absolute;
    padding: 0.55rem 1rem;
    font-size: 13px;
    font-weight: 400;
    white-space: normal;
    color: #000;
    border-radius: 15px;
    background-color: #F4F4F4;
    box-shadow: 0 0 0 1px rgba(50, 50, 93, 0.77), 0 5px 15px 10px rgba(0, 0, 0, 0.07);
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    width: 190px;
    text-align: left;
    z-index: 1;
}

.tool-tip-container .icon:hover .top-left {
    top: 100%;
    left: 100%;
    opacity: 1;
}

.tool-tip-container .icon .bottom-center {
    left: -150%;
}

.tool-tip-container .icon:hover .bottom-center {
    top: 100%;
    opacity: 1;
}

.tool-tip-container .icon:hover .top-right {
    top: 100%;
    right: 100%;
    opacity: 1;
}

.tool-tip-container .icon .top-left {
    top: 60%;
    left: 100%;
    margin-top: 10px;
}

.tool-tip-container .icon .bottom-center {
    top: 140%;
    margin-top: 10px;
}

.tool-tip-container .icon .top-right {
    top: 60%;
    right: 100%;
    margin-top: 10px;
}

span.cal-link {
    padding: 10px 0;
    display: inline-block;
}
span.cal-link , span.cal-link a{
    color: #AAAAAA;
    font-size: 18px;
    font-family: var(--wp--preset--font-family--plus-jakarta-sans);
    font-weight: 500;
    line-height: 28px;
}
span.cal-link a{
    text-decoration: underline;
}

span.cal-link a .icon-link {
    background-image: url('../images/icon-link.svg');
    background-size: contain;
    width: 12px;
    display: inline-block;
    height: 15px;
    background-repeat: no-repeat;
    background-position: top center;
}

.single-post span.cal-link, .single-post span.cal-link a {
    font-size: 13px;
    line-height: 15px;
}
.single-post span.cal-link {
    padding: 12px 0;
}
.single-post span.cal-link a .icon-link {
    width: 10px;
    height: 16px;
}


svg.truck {
    position: absolute;
    margin: auto;
    left: -6em;
    top: 0;
    bottom: 0;
    display: none;
    width: 7em;
    opacity: 1;
    /* Initial opacity */
    transition: opacity 1s ease-in-out;
    /* Smooth fade effect */
}


span.wpcf7-spinner {
    display: none !important;
}

.wpcf7-form.submitting .wpcf7-submit {
    opacity: 0.2;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
    text-align: center;
}

.tpgb-contact-form-7 span.wpcf7-form-control-wrap .wpcf7-not-valid-tip, .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
    color: #FF0026;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #1d6c24;
    text-align: center;
}

.wpcf7-form.submitting .truck {
    --dur: 3s;
    display: block;
    height: auto;
    animation: truck-move 30s linear infinite,
        truck-body var(--dur) linear infinite,
        truck-wheel-spin var(--dur) linear infinite,
        truck-line var(--dur) linear infinite,
        truck-outside1 var(--dur) linear infinite,
        truck-outside2 var(--dur) linear infinite,
        truck-outside3 var(--dur) linear infinite,
        truck-wheel var(--dur) linear infinite,
        truck-window1 var(--dur) linear infinite,
        truck-window2 var(--dur) linear infinite;
}

.sub-help {
    color: #5E5D5D;
    font-size: 15px;
    font-family: var(--wp--preset--font-family--plus-jakarta-sans);
    font-weight: 500;
    line-height: 28px;
    display:block;
}
.single-post .sub-help {
    font-size: 10px;
    line-height: 18px;
}
@keyframes truck-move {
    from {
        left: -6em;
        /* Start the truck off-screen on the left */
    }

    to {
        left: 100%;
        /* Move to the right edge of the viewport */
    }
}

/* Keep other animations for the truck body, wheels, etc. */
@keyframes truck-body {
    from, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, to {
        animation-timing-function: cubic-bezier(0.33, 0, 0.67, 0);
        transform: translate(0, 0) rotate(0);
    }

    6.25%, 18.75%, 31.25%, 43.75%, 56.25%, 68.75%, 81.25%, 93.75% {
        animation-timing-function: cubic-bezier(0.33, 1, 0.67, 1);
        transform: translate(0, 1px) rotate(-0.75deg);
    }
}

@keyframes truck-line {
    from {
        stroke-dashoffset: -18;
    }

    to {
        stroke-dashoffset: 78;
    }
}

@keyframes truck-outside1 {
    from {
        stroke-dashoffset: 105;
    }

    to {
        stroke-dashoffset: -105;
    }
}

@keyframes truck-outside2 {
    from {
        stroke-dashoffset: 168;
    }

    to {
        stroke-dashoffset: -42;
    }
}

@keyframes truck-outside3 {
    from {
        stroke-dashoffset: 192;
    }

    to {
        stroke-dashoffset: -18;
    }
}

@keyframes truck-wheel {
    from, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, to {
        animation-timing-function: cubic-bezier(0.33, 0, 0.67, 0);
        transform: translate(0, 0);
    }

    6.25%, 18.75%, 31.25%, 43.75%, 56.25%, 68.75%, 81.25%, 93.75% {
        animation-timing-function: cubic-bezier(0.33, 1, 0.67, 1);
        transform: translate(0, -1px);
    }
}

@keyframes truck-wheel-spin {
    from {
        stroke-dashoffset: -15.71;
        transform: rotate(0);
    }

    to {
        stroke-dashoffset: 15.71;
        transform: rotate(-4turn);
    }
}

@keyframes truck-window1 {
    from {
        stroke-dashoffset: -21;
    }

    to {
        stroke-dashoffset: 189;
    }
}

@keyframes truck-window2 {
    from {
        stroke-dashoffset: -39;
    }

    to {
        stroke-dashoffset: 171;
    }
}

@media screen and (max-width: 767px) {
    .custom-radio+label .icon {
        width: 80px;
        height: 80px;
    }

    .custom-radio+label .icon:before {
        width: 80px;
        height: 80px;
        mask-size: contain !important;
    }


    .contact-radio-wrapper label {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .tool-tip-container .icon span {
        width: 170px;
    }
    .field-wrapper.volume label {
        line-height: 16px !important;
    }
    .sub-help {
        font-size: 10px;
        line-height: 18px;
    }
    .tool-tip-container {
        gap: 5px;
        padding-top: 0px;
    }
    .tool-tip-container .icon i.icon-info {
        width: 12px;
        height: 12px;
    }
    span.cal-link, span.cal-link a {
        font-size: 13px;
        line-height: 15px;
    }
    span.cal-link {
        padding: 12px 0;
    }
    span.cal-link a .icon-link {
        width: 10px;
        height: 16px;
    }
    .contact-radio-wrapper {
        padding: 1px;
        margin-top: 12px;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    .contact-radio-wrapper .custom-radio-2:checked+span {
        border-radius: 6px;
    }
    .form-response span {
        font-size: 12px;
    }
    .form-response .custom-success, .form-response .custom-error {
        font-size: 13px;
        gap: 12px;
        margin-top: 12px;
    }
    .localities-empty-button {
        top: -6px;
        width: 25px;
        height: 25px;
        padding: 0 !important;
        background-size: contain !important;
        background-position: 1px 1px !important;
    }

}