label {
    display: block;
    margin: 0 0 6px 0;
    color: #535353;
    font-size: 10pt;
    cursor: pointer;
}

label.normal {
    font-size: 12pt;
    display: inline-block;
    margin: 0;
}

/*****************************************************
 *                    text inputs                    *
 *****************************************************/
input[type=checkbox]{
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    outline: none;
    width: 20px;
    height: 20px;
    margin-top: 20px;
    color: #626262;
    position: relative;
    vertical-align: bottom;

/*    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;*/
}

input[type=checkbox]:checked{
    background: url("../img/icon/icon-checkbox.png") no-repeat 0 0;
    padding: 2px;
}


/*****************************************************
 *                    text inputs                    *
 *****************************************************/
input[type=text],
input[type=email],
input[type=date],
select{
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    outline: none;
    padding: 6px;
    width: 280px;
    color: #626262;
    background-color: #ffffff;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type=text].short,
input[type=email].short,
input[type=date].short,
select.short{
    width: 100px;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=date]:focus,
select:focus{
    border-color: #87b8df;
}

input[type=text].error,
input[type=email].error,
input[type=date].error,
input[type=checkbox].error,
select.error{
    border: 1px solid #e99e8b;
    background: rgba(249, 174, 155, 0.04);
}

input[type=text].error:focus,
input[type=email].error:focus,
input[type=date].error:focus,
input[type=checkbox].error:focus,
select.error:focus{
    border-color: #e99e8b;
    background: #ffffff;
}

input[type=text]:read-only,
input[type=email]:read-only,
input[type=date]:read-only,
input[type=checkbox]:read-only,
textarea:read-only{
    border-color: #d7d7d7;
    background: #f9f9f9;
}

input[type=text]:disabled,
input[type=email]:disabled,
input[type=date]:disabled,
input[type=checkbox]:disabled,
textarea:disabled,
select:disabled{
    border-color: #d7d7d7;
    background: #f9f9f9;
}


/*****************************************************
 *                    text area                      *
 *****************************************************/
textarea {
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    outline: none;
    color: #626262;

    width: 100%;
    max-width: 600px;
    padding: 6px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    resize: none;
}

textarea:focus {
    border-color: #87b8df;
}

textarea.error{
    border: 1px solid #e99e8b;
    background: rgba(249, 174, 155, 0.04);
}

textarea.error:focus {
    border-color: #e99e8b;
    background: #ffffff;
}



/*****************************************************
 *                    button inputs                    *
 *****************************************************/
input[type=submit],
input[type=button] {
    border: 1px solid #87b8df;
    border-radius: 3px;
    outline: none;
    background: #309ce1;
    color: #ffffff;
    cursor: pointer;
    font-size: larger;
    display: block;
    margin: 20px 0 10px 0;
    padding: 4px 20px 8px 20px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type=submit]:hover,
input[type=button]:hover {
    background: #317ec3;
}

input[type=submit]:disabled,
input[type=button]:disabled {
    background: #86b2d9;
}


/*****************************************************
 *                    field block                    *
 *****************************************************/

div.field-block {
    display: block;
    margin-top: 10px;
}

div.field-block.inline {
    display: inline-block;
    /*margin-right: 30px;*/
}

div.field-block-separator {
    display: inline-block;
    width: 30px;
}

/*****************************************************
 *                  input form                    *
 *****************************************************/
div.input-form{
    display: block;
}

div.input-form > div.header{
    /*background: url('../img/icon/icon-arrow-down.png') no-repeat left;*/
    margin-top: 20px;
    /*margin-bottom: 10px;*/
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
    /*padding-left: 24px;*/

    font-size: 15pt;
    color: #3085c9;
}

div.input-form.unfolded > div.header {
    /*background: url('../img/icon/icon-arrow-up.png') no-repeat left;*/
    width: auto;
}

div.input-form > div.handle{
    margin-bottom: 10px;
}

div.input-form.unfolded > div.handle {
    /*background: url('../img/icon/icon-arrow-up.png') no-repeat left;*/
    display: none;
}


div.input-form > div.content {
    height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-top: 0;
    transition: 0.5s;
    text-align: left;
}

div.input-form.unfolded > div.content {
    height: auto;
}

div.input-form > hr,
div.input-form > div.message-container {
    display: none;
}

div.input-form.unfolded > hr,
div.input-form.unfolded  > div.message-container {
    display: block;
}


/*****************************************************
 *                    field group                    *
 *****************************************************/
div.field-group {
    display: block;
}

div.field-group > div.header {
    /*background: url('../img/icon-arrow-down-grey.png') no-repeat left;*/
    font-size: 10pt;
    font-weight: bold;
    display: inline-block;
    /*white-space: nowrap;*/
    /*padding-left: 24px;*/
    margin-top: 30px;
    color: #636262;
    cursor: pointer;
}

div.field-group > div.content {
    display: none;
    transition: 0.5s;
    height: 0;
}

div.field-group.unfolded > div.header {
    /*background: url('../img/icon-arrow-up-grey.png') no-repeat left;*/
    width: auto;
}

div.field-group.unfolded > div.content {
    display: block;
    height: auto;
}