/*** Template 6 styles ***/
.sdm_sf_tpl_6_container {
    margin-bottom: 16px;
}

.sdm_sf_tpl_6_container * {
    box-sizing: border-box;
}

.sdm_sf_tpl_6_input_fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: start;

    border: none;
    margin: 0;
    padding: 0;
    min-width: 0; /* Removes the default min-width */
}

.sdm_sf_tpl_6_name_input_section {
    order: 1;
    flex: 1;
}

.sdm_sf_tpl_6_email_input_section {
    order: 2;
    flex: 1;
}

.sdm_sf_tpl_6_submit_input_section {
    order: 3;
    /*flex: 1;*/
}

.sdm-termscond-checkbox {
    order: 4;
    flex: 1;
    flex-basis: 100%;
}

.sdm_sf_tpl_6_name_input_section,
.sdm_sf_tpl_6_email_input_section {
    margin-right: 6px;
}

.sdm_sf_tpl_6_name_input_section input,
.sdm_sf_tpl_6_email_input_section input {
    width: 100%;
    border: 1px solid #DDDDDD;
    border-radius: 3px 3px 3px 3px;
    padding: 10px 6px;
    color: #333;
}

.sdm_sf_tpl_6_submit_input_section input {
    width: 100%;
    padding: 10px 12px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    background-color: #14B2CF;
    background-image: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 -3px 0 rgba(0, 0, 0, 0.1) inset;
    text-shadow: 1px 1px 1px rgba(151, 71, 0, 0.35);
    border: medium none !important;
    border-radius: 3px 3px 3px 3px;
    cursor: pointer;
}

.sdm_sf_tpl_6_input_error input {
    border-color: #cc0000 !important;
}

.sdm_sf_tpl_6_input_desc {
    font-size: small;
}

.sdm_sf_tpl_6_input_error {
    color: #cc0000 !important;
}

@media screen and (max-width: 560px) {
    .sdm_sf_tpl_6_input_fieldset {
        flex-direction: column;
        align-items: center;
    }

    .sdm_sf_tpl_6_name_input_section,
    .sdm_sf_tpl_6_email_input_section,
    .sdm_sf_tpl_6_submit_input_section,
    .sdm-termscond-checkbox {
        width: 100%;
        margin: 6px 0;
    }

    .sdm_sf_tpl_6_submit_input_section {
        order: 4;
    }

    .sdm_sf_tpl_6_submit_input_section input {
        width: 100%;
    }

    .sdm-termscond-checkbox {
        order: 3;
    }
}

