﻿body {
    /*font-size: 75%;*/
    font-family: Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, Sans-Serif;
    color: #232323;
    margin: 20px;
    background-color: #fff;
}

/* Styles for basic forms
-----------------------------------------------------------*/

fieldset {
    max-width: 420px;
    word-wrap: break-word;
    /*margin: 0 0 1.5em;*/
    margin-bottom: 5px;
    border: 1px solid #ddd;
    padding: 1em 2em 1.2em;
}

legend {
    color: #000000;
    font-size: 1em;
    font-weight: bold;
    border: none;
    padding: 5px 7px 10px;
    margin-bottom: 0;
    width: auto;
    line-height: 20px;
}

.form-control{
    display: inline-block;
}

.checkbox-row{
    margin-bottom: 5px;
}

textarea {
    min-height: 75px;
}

label, input, button, select, textarea {
    font-size: small;
    font-weight: normal;
    line-height: 20px;
}

.editor-label {
    float: left;
    margin: 0.5em 1em 0 0;
}

.editor-field {
    margin: 0.5em 0 0 0;
}

.submit-button {
    clear: left;
    float: left;
    /*margin: 0.5em 0 0 0;*/
    margin-top: 1em;
}

form {
    margin: 0px;
}

button {
    margin-bottom: 1em;
}

#inputFields {
    max-width: 420px;
    min-width: 350px;
    float: left;
    margin-right: 20px;
}

#resultField {
    min-width: 250px;
    float: left;
}

#empty-results-button {
    margin-bottom: 10px;
}

.resultformatting {
    margin-left: 5px;
    padding-bottom: 15px;
}

#webAPI {
    max-width: 420px;
    word-wrap: break-word;
}

.api-links {
    line-height: 15px;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

input[type="text"] {
    width: 200px;
    border: 1px solid #CCC;
}

input[type="checkbox"] {
    margin-right: 10px;
}

@media only screen and (max-width: 400px) {
    legend {
        font-size: 1.0em;
        display: table;
        white-space: normal;
        padding: 5px 5px 0px;
        line-height: 15px;
    }

    fieldset {
        max-width: 400px;
        padding: 0.5em 1em 1em 1em;
    }

    #inputFields {
        max-width: 280px;
        min-width: 280px;
    }

    #resultField {
        max-width: 280px;
        min-width: 280px;
    }

    .narrowinfo:after {
        display: block;
        margin-left: 10px;
        margin-top: 5px;
        content: "Tulokset sivun lopussa";
    }
}
