.sy_register {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.sy_register p.error_msg {
    display: none;
    font-size: 14px;
    color: red;
}

.sy_register--head {
    display: flex;
    margin-top: 30px;
}
.sy_register--head--item { 
    padding: 20px 60px;
    border: 1px solid #164194;
    border-right: 0;
    border-bottom: 0;
    color: #164194;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}
.sy_register--head--item:last-child { 
    border-right: 1px solid #164194;
}
.sy_register--head--item.active { 
    background-color: #164194;
    color: white;
}

.sy_register--body {
    border: 1px solid #164194;
    padding: 20px;
}

.sy_register--body--item {
    display: none;
}
.sy_register--body--item.active {
    display: block;
}

.sy_register--form--block {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.sy_register--form--block.invoiceaddress {
    display: none;
}

.sy_register--form--block--item {
    width: 32%;
    flex-grow: 0;
    flex-shrink: 0;
}
.sy_register--form--block--item.sy_half {
    width: 49%;
}
.sy_register--form--block--item.sy_full {
    width: 100%;
}
.sy_register--form--block--item label {
    display: block;
    font-size: 14px;
} 
.sy_register--form--block--item select,
.sy_register--form--block--item input,
.sy_register--form--block--item textarea {
    border: 0;
    font-size: 16px;
    padding: 10px;
    background-color: rgb(227, 227, 227);
    width: 100%;
}

.sy_register--form--block--item select.has-error,
.sy_register--form--block--item input.has-error,
.sy_register--form--block--item textarea.has-error {
    border: 1px solid red;
}

.sy_register--form--block--item label.has-error {
    color: red;
}

.sy_register--form--block--item select.sy_smallselect {
    display: inline-block;
    width: auto;
}
.sy_register--form--block--item input:focus {
    border: 0;
    outline: none;
}

.sy_register--form--block--item input[type="radio"],
.sy_register--form--block--item input[type="checkbox"] {
    width: auto;
}

.sy_register--form--block--item input[type="submit"] {
    width: auto;
    background-color: #164194;
    border: 1px solid #164194;
    color: white;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 2px;
    transition: 0.2s all ease-in-out;
    cursor: pointer;
}
.sy_register--form--block--item input[type="submit"]:hover {
    background-color: #164194;
    border: 1px solid #164194;
}

.sy_register--form--block--item input[type="text"]:read-only, 
.sy_register--form--block--item input[type="email"]:read-only {
    background-color: #faebd7;
}

.members_block {
    padding-bottom: 25px;
    border-bottom: 1px solid #dadada;
    padding-top: 25px;
}



.sy_register .alert-success {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border-radius: .25rem;
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}


.survey_form_table td, .tx-sy-register .contenttable td {
    text-align: center;
}

.survey_form_table td:first-child,  .tx-sy-register .contenttable td:first-child {
    text-align: left;
}

.survey_form_table tr:nth-child(even) td, .survey_form_table tr:nth-child(even) td input {
    background-color: #f9f9f9;
}
.tx-sy-register .contenttable  tr:nth-child(even) {
        background-color: #f9f9f9;
    }

.tx-sy-register .back-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: #164194;
    color: white;
    text-decoration: none;
    border-radius: 2px;
}
@media screen and (max-width: 800px) {

    .sy_register--head {
        flex-direction: column;
    }
    .sy_register--head--item { 
        width: 100%;
        border-right: 1px solid #164194;
        padding: 20px;
    }
    
    .sy_register--form--block--item,
    .sy_register--form--block--item.sy_half {
        width: 100%;
        margin-bottom: 20px;
    }
}


.tx-sy-register .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #3498db; /* You can change this color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.tx-sy-register .blue-button {
    background-color: #164194;
    color: white;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 2px;
    transition: 0.2s all ease-in-out;
    cursor: pointer;
    border: none;
    width: fit-content;
    margin-top: 30px;
    display: inline-block;
}

.tx-sy-register .blue-button.orange-button {
    width: fit-content;    
    background-color: #E73B2D;
}