.slam-easyform .modal {
    text-align: center;
}
@media screen and (min-width: 768px) {
    .slam-easyform  .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}
.slam-easyform  .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
.slam-easyform .modal .modal-header .title {
    margin: 0;
    font-size: 22px;
    display: inline-block;
}
.hide-formvalidation small.help-block{
    display: none!important;
}

@keyframes spinner {
    to {
        transform: rotate(360deg)
    }
}

.slam-easyform .spinner,.slam-easyform .spinner:hover {
    position: relative;
    color: transparent
}

.slam-easyform .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: spinner .6s linear infinite
}

.slam-easyform__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 11px;
}

.form-checkboxes {
    width: 80%;
}

.form-checkbox:not(:last-child) {
    margin-bottom: 11px;
}

.slam-easyform .form-group.form-checkbox:last-child {
    margin-bottom: 0;
}

.form-checkbox {
    position: relative;
}

.form-checkbox__label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.form-checkbox__icon {
    --size: 16px;

    display: inline-block;
    width: var(--size);
    height: var(--size);
    border-radius: 3px;
    border: 1px solid #CCC;
    flex: none;
    position: relative;
    margin-top: -2px;
}

.form-checkbox__icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M8.51562 1.62109C8.61979 1.51693 8.73047 1.51693 8.84766 1.62109L9.39453 2.1875C9.51172 2.29167 9.51172 2.40234 9.39453 2.51953L3.53516 8.37891C3.43099 8.48307 3.32031 8.48307 3.20312 8.37891L0.605469 5.76172C0.488281 5.65755 0.488281 5.54688 0.605469 5.42969L1.15234 4.88281C1.26953 4.76562 1.38021 4.76562 1.48438 4.88281L3.37891 6.77734L8.51562 1.62109Z' fill='%23157FC4'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.form-checkbox__input:checked ~ .form-checkbox__label .form-checkbox__icon::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.form-checkbox__text {
    color: #828282;
    font-size: 13px;
    line-height: 20px;
}

.form-checkbox__text a {
    color: #157FC4;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .slam-easyform__footer {
        flex-direction: column;
        gap: 15px;
    }

    .form-checkboxes {
        width: 100%;
        align-self: stretch;
    }

    .form-checkbox:not(:last-child) {
        margin-bottom: 9px;
    }

    .form-checkbox__label {
        gap: 5px;
    }

    .form-checkbox__text {
        font-size: 12px;
        line-height: normal;
    }
}