@media only screen and (max-width: 721px) {
    .error-text {
        margin: 0 11px;
    }
}

@media only screen and (min-width: 721px) {

    .keypress,
    .submit-form {
        width: 100% !important;
        max-width: 330px !important;
    }
}

[id^="phone_error"] {
    margin-top: 8px;
    margin-bottom: -2px;
}

.text-base-text {
    color: #303030 !important;
}

.bg-gray {
    background-color: #535353 !important
}

.text-20 {
    font-size: 20px !important;
}

/* Modal */
#overlay {
    position: fixed;
    z-index: 40;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #333333;
    opacity: 0.7;
}

#dialog {
    transition: transform 300ms ease-in-out;
    position: fixed;
    z-index: 50;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90% !important;
    max-width: 500px !important;
    background-color: white;
    border-radius: 10px;
    padding: 2px 8px 6px;
    margin-bottom: 5px;
}

#dialog .title {
    display: flex;
    justify-content: center;
}

#dialog .title p {
    font-weight: bold;
}

#modal_content {
    padding: 5px;
    text-align: center;
}

#modal_button_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    max-width: 300px;
    padding: 0 2px;
    margin: auto;
}

.hidden {
    display: none;
}

.relative {
    position: relative;
}

.text-primary {
    color: #309DFF;
}

.cursor-pointer {
    cursor: pointer;
}

.modal-button {
    font-weight: bold;
    height: 50px;
    transition: color 300ms ease-in-out;
    cursor: pointer;
    width: 100%;
    background-color: #309dff;
    color: white;
}

.modal-button:hover {
    background-color: white;
    color: #309dff;
}

#close_modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 8px;
    top: 8px;
    width: 15px;
    height: 15px;
    opacity: 0.7;
    cursor: pointer;
}

.error-text {
    margin-top: -4px;
    margin-bottom: 4px;
    font-size: 13px !important;
    color: #FF0000 !important;
    text-align: start;
}

[id^="toggle_password"] {
    cursor: pointer;
    position: absolute;
    right: 22px;
    bottom: 26px;
}

[id^="form_content"] {
    margin: 0 auto 0;
    width: 100% !important;
    max-width: 330px !important;
}

.keypress {
    width: 100% !important;
    max-width: 330px !important;
    padding: 14px 10px 14px;
    margin: 11px 0;
    font-size: 14px;
    box-sizing: border-box;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.submit-form {
    width: 100% !important;
    max-width: 330px !important;
    display: block;
    padding: 10px 0 10px;
    margin: 10px auto;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    background-color: #309DFF;
    color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
}

.submit-form:hover {
    text-decoration: none;
    background-color: #fff;
    color: #309DFF;
}

[id^="suggestion_list"] {
    margin-top: -7px;
    z-index: 10;
    padding: 0.75rem;
    position: absolute;
    background-color: #fff;
    border-radius: 4px;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #fff;
    top: 72px;
}

.suggestion-item:hover,
.suggestion-item:focus {
    color: #309DFF;
}