input[type='checkbox'] {
    width: initial;
    height: initial;
}

xforms-input, xforms-secret, xforms-output, xforms-select1, xforms-textarea, xforms-range, xforms-trigger, xforms-upload {
    display: block !important;
    margin-bottom: 1em;
}

xforms-help, xforms-hint {
    background-color: #eee;
    border: 1px solid #666;
    padding: 2px;
}

xforms-output > xforms-body > img {
    height: 42px;
}

xforms-input[xf-required][xf-invalid] > xforms-body > input {
    /*background-color: #fff;*/
    /*border: 1px solid deeppink;*/
}

xforms-input[xf-valid] > xforms-alert {
    display: none;
}

xforms-input[xf-invalid] > xforms-alert {
    display: inline;
    color: red;
    background-color: #fff;
    border: none;
}

xforms-input:not([xf-required]) > xforms-body > input {
    /*border: 1px dashed #999;*/
}

div.tabs {
    margin: 2em 0 1.2em 0;
    border-bottom: 1px solid #000;
}

span.tab {
    border-bottom: 2px solid #fff;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-top: 1px solid #000;
    padding: 4px 4px 0 4px;"
    display: inline-block;
    /*border-radius: 5px 5px 0 0;*/
    
}

xforms-trigger.tab {
    display: inline-block !important;
    margin-bottom: 0;
}
xforms-trigger.tab > xforms-body > button {
    font-size: initial;
    background-color: #eee;
    border: none;
}
xforms-trigger.tab > xforms-body > button > xforms-label {
    font-weight: normal;
}


xforms-trigger.simple-link {
    display: inline-block !important;
    margin-bottom: 0;
}
xforms-trigger.simple-link > xforms-body > button {
    font-size: initial;
    background-color: #fff;
    border: none;
    padding: 0;
}
xforms-trigger.simple-link > xforms-body > button > xforms-label {
    font-weight: normal;
    text-decoration: underline;
}


xforms-help-mark {
    font-size: 14px;
}

textarea {
    width: 24em;
    height: 16em;
}

.hours textarea {
    width: 18em;
    height: 5em;
}

xforms-label {
    font-weight: bold;
}

xforms-submit {
    display: block !important;
    margin-top: 1em;
}

xforms-label::after {
    content: ':';
}

xforms-group {
    border-bottom: 1px solid #aaa;
    padding: 0.5em 0;
    margin-bottom: 0.5em;
}

button > xforms-label::after {
    content: '';
}

.message {
    border: 1px solid #ccc;
}

.success {
    border: 1px solid limegreen;
    background-color: rgba(50, 205, 50, 0.2);
}

.warning {
    border: 1px solid deeppink;
    background-color: rgba(205, 50, 50, 0.2);
}

.message xforms-output {
    margin-bottom: 0;
    padding: 6px;
}

.save {
    display: inline-block !important;
}

p.view {
    display: inline-block;
    margin-left: 1em;
}

p.delete {
    display: inline-block;
    float: right;
    margin-right: 6px;
}

span.disabled {
    color: #aaa;
    text-decoration: underline;
}
