.msc-form input:focus,
.msc-form select:focus,
.msc-form textarea:focus {
    outline: 5px solid #2e8540 !important;
}

.msc-form .amount input[type="radio"]:focus + label,
.msc-form .amount input[type="radio"]:focus-visible + label {
    outline: 4px solid #2e8540 !important;
}

.msc-form .new-btn:focus {
    outline-color: #006717 !important;
    border-color: #006717 !important;
    outline-offset: -4px;
}

.msc-form .msc-black-btn:focus {
    outline-color: #000000 !important;
    border-color: #000000 !important;
    outline-offset: -4px;
}

.msc-form a.msc-black-btn:focus {
    color: #444444 !important;
}

.msc-form a.msc-black-btn:hover {
    color: #FFFFFF !important;
}

.msc-form .red-btn:focus {
    outline-color: #610606 !important;
    border-color: #610606 !important;
    outline-offset: -4px;
}

.msc-form input,
.msc-form select,
.msc-form textarea {
    width: 100%;
    font-size: 16px;
    color: #4D4D4D;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    border-radius: 4px;
}

@media only screen and (max-width: 768px) {
    .msc-form .checkbox-div {
        justify-content: center;
    }
}

.msc-form .main-sub-title {
    font-size: 18px;
    font-weight: 700;
    color: #4D4D4D;
    text-transform: uppercase;
    padding: 0px 0px 25px;
    text-align: center;
}

.msc-form .main-description {
    font-size: 18px;
    color: #4D4D4D;
    text-align: left;
}

.msc-form span.error {
    display: flex;
    justify-content: center;
    color: #8F1F21;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 0;
    background-color: unset;
    margin: 0;
    border: unset;
    width: 100%;
}

.msc-form span.error::before {
    content: "";
    display: inline-block;
    background: url(icons/error-icon.png) no-repeat center center;
    background-size: contain;
    height: 34px;
    width: 34px;
}

.msc-form input.input-error,
.msc-form select.input-error {
    outline: 5px solid #8F1F21 !important;
}

.msc-form .choices.input-error {
    outline: 5px solid #8F1F21 !important;
    border-radius: 5px;
}

.msc-form .main-title {
    font-size: 24px;
    font-weight: 700;
    color: #2e8540;
    text-transform: uppercase;
}

.msc-form .form-section label {
    color: #4D4D4D;
    font-weight: 500;
    font-size: 18px;
}

.msc-form .form-section .label-text {
    color: #4D4D4D;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase !important;
    margin-bottom: 5px;
    padding-right: 10px;
}

.msc-form .form-section select.icw-input {
    height: auto;
    padding: 18px;
    font-size: 16px;
    color: #4D4D4D;
}

.msc-form .form-section .required {
    color: #4D4D4D;
}

.msc-form .red-btn,
.msc-form .new-btn,
.msc-form .grey-btn,
.msc-greyed-out-btn,
.msc-form .black-btn,
.msc-form .msc-black-btn {
    border-radius: 30px;
    padding: 16px 16px;
    font-weight: 600;
    cursor: pointer;
    min-width: 205px;
}

.msc-form .large-button {
    min-width: 225px !important;
}

.msc-form .grey-btn {
    background-color: #605F5FFF;
    color: #ffffff;
}

.msc-form .grey-btn:hover {
    border-color: #777777;
    background-color: #777777;
    color: #ffffff;
}

.msc-form .new-btn {
    background-color: #2e8540;
    color: #ffffff;
}

.msc-form .new-btn:hover {
    border-color: #51B24C;
    background-color: #51B24C;
    color: #ffffff;
}

.msc-form .red-btn {
    background-color: #8F1F21;
    color: #ffffff;
}

.msc-form .red-btn:hover {
    border-color: #C02C2D;
    background-color: #C02C2D;
    color: #ffffff;
}

.msc-form.section-hr {display: inline-block; border-bottom: 1px solid #f2f2f2; width: 100%; padding-top: 30px; margin-bottom: 60px;}

.msc-form .form-section .error-icon {
    background: url(icons/error-icon.png) no-repeat; height: 34px; min-width: 34px;
}

.msc-form .form-section .success-icon {
    background: url(icons/success-icon.png) no-repeat; height: 34px; min-width: 34px;
}

.msc-form .radio-text,
.msc-form .form-section .legend-label-text {
    font-size: 18px !important;
}

.msc-form .text-danger {
    color: #8F1F21 !important;
}

.msc-form .icon {
    height: 34px;
    width: 34px;
    display: inline-flex;
    cursor: help;
}

.msc-form .info-icon {
    background: url(icons/info-icon.png) no-repeat;
}

.msc-form .red-info-icon {
    background: url(icons/red-info-icon.png) no-repeat;
}

@media only screen and (max-width: 768px) {
    .msc-form {
        padding: 0px 15px 20px !important;
    }

    .msc-form input:focus,
    .msc-form select:focus,
    .msc-form textarea:focus {
        outline-offset: -4px !important;
    }

    .msc-form input[type="radio"]:focus {
        outline-offset: unset !important;
    }

    .msc-form input.input-error, .msc-form select.input-error {
        outline-offset: -4px !important;
    }

    .msc-form input[type="radio"].input-error {
        box-shadow: none !important;
    }

    .msc-form .main-title {
        padding: 20px 0px 20px;
    }

    .msc-form .form-section label {
        font-size: 16px !important;
    }

    .msc-form .radio .radio-text,
    .msc-form .form-section .legend-label-text {
        font-size: 16px !important;
    }
}

/* Choices JS Styles */
.choices__placeholder {
    opacity: 1 !important;
}

.choices__list[aria-expanded] {
    z-index: 10;
    border: unset;
}

/* Adds outline when focus on the selectbox */
.choices__list[aria-expanded] .choices__list {
    max-height: 280px;
    height: auto;
    text-align: left;
}

.choices__list[aria-expanded] .choices__item {
    padding: 10px 15px;
    font-size: 16px;
}

.choices_container-inner {
    padding: 14px 10px;
    background-color: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 4px !important;
    color: #444444 !important;
    text-align: left;
}

.choices__list[aria-expanded] {
    color: #444444;
    white-space: normal;
    font-weight: 700;
}

.choices__list[aria-expanded="false"],
.choices__list:not([aria-expanded="true"]) {
    outline: none !important;
}

.choices__list[aria-expanded="true"] {
    outline: none !important;
    box-shadow: 0 0 0 5px #2e8540 !important;
}

.choices__list[aria-expanded="false"],
.choices__list:not([aria-expanded="true"]) {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.choices.is-open {
    outline: none !important;
    border: 1px solid #2e8540 !important;
}

.choices_highlightedState {
    background-color: #2E8540;
    color: #FFFFFF;
}

/* Hide the selected item for the mobile */
@media only screen and (min-width: 769px) {
    .choices__item--selectable.is-highlighted {
        background-color: transparent !important;
        color: inherit !important;
    }
    .choices__item--selectable.is-highlighted:hover,
    .choices__item--selectable:hover {
        background-color: #f2f2f2 !important;
        color: #333 !important;
    }
}

.choices_itemSelectable {
    border-top: 2px solid #EFF3F0 !important;
}

/* do not add border-top to first element of the list */
.choices__list[aria-expanded] .choices__item:first-child {
    border-top: none !important;
}

.choices__list--single .choices_itemSelectable{
    border: unset !important;
}
/* End Choices JS Styles */