.stf-form * {
    font-size: 1em;
}
.stf-form table {
    border-collapse: collapse;
    width: 800px;
}
.stf-form table tr td, .stf-form table tr th {
    padding: 0.5em;
}
.stf-form table tr th {
    font-weight: bold;
    text-align: center;
    width: 25%;
}
.stf-form table tr td.stf-message{
    width: 45%;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    position:relative;
}
.stf-form table tr td.stf-message div.stf-error{
    padding: 2px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
    position:absolute;
    top:3px;
}

.stf-form table tr td.stf-buttons{
    text-align:center;
}

.stf-form th span.warning {
    color: #e00;
    font-size: 0.8em;
    margin-left: 0.3em;
}
.stf-form span.example {
    font-size: 0.9em;
    margin-left: 0.5em;
}
.stf-form input[type="text"], .stf-form input[type="email"], .stf-form textarea {
    border: 1px solid #aaa;
}
.stf-form textarea {
    height: 100px;
    width: 100%;
}
.stf-form input[type="text"], .stf-form input[type="email"] {
    line-height: 1.5;
    width: 100%;
}
.stf-form input.full[type="text"], .stf-form input.full[type="email"] {
    width: 100%;
}
.stf-form input[type="radio"], .stf-form input[type="checkbox"] {
    cursor: pointer;
    margin-right: 0.3em;
}
.stf-form label {
    cursor: pointer;
    margin-right: 0.8em;
}

.stf-form td, .stf-form th {
    border: 1px solid #aaa;
}
.stf-form th {
    background-color: #eee;
}
.stf-form span.example {
    color: #36c;
}
div.stf-message.success{
    padding: 2px;
    margin: 0.5em 0;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #a94442;
    color: #468847;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
@media screen and (max-width: 799px) {
    .stf-form table {
        width: 100%;
    }
    .stf-form table tr th ,
    .stf-form table tr td.stf-message {
        width: auto;
    }
    .stf-form table tr,
    .stf-form table tr td, .stf-form table tr th,
    .stf-form table tr td.stf-message {
        display:block;
    }
    .stf-form table tr td.stf-message{
        border-left:none;
    }
    .stf-form table tr td.stf-message div.stf-error {
        position: static;
        top: 0;
    }
    .stf-form table tr td.stf-buttons{
        border:none;
    }    
    .stf-form input[type="text"], .stf-form input[type="email"] {
        margin:0;
        padding:0;
        display:block;
        width: 100%;
    }
}