@import url('forms.css');

@font-face {
    font-family: 'ClearSans-Medium';
    src: url('../fonts/ClearSans-Medium-webfont.eot');
    src: url('../fonts/ClearSans-Medium-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ClearSans-Medium-webfont.woff') format('woff'),
    url('../fonts/ClearSans-Medium-webfont.ttf') format('truetype'),
    url('../fonts/ClearSans-Medium-webfont.svg#clear_sans_mediumregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ClearSans-Light';
    src: url('../fonts/ClearSans-Light-webfont.eot');
    src: url('../fonts/ClearSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ClearSans-Light-webfont.woff') format('woff'),
         url('../fonts/ClearSans-Light-webfont.ttf') format('truetype'),
         url('../fonts/ClearSans-Light-webfont.svg#clear_sans_lightregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font-size: 12px;
    color: #333;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.picker-popup {
    background: white;
}

fieldset ul.inline > li > div.field.picker input, fieldset li.inline > div.field.picker input {
    left: -1px;
}

.page.hidden {
    display: none;
}

a {
    text-decoration: none;
    color: #5ca941;
}

a.disabled, a[disabled] {
    pointer-events: none;
}

.clearfix {
    clear: both;
}

dialog {
    min-width: 400px;
    max-width: 980px;
    padding: 1em;
    left: 0;
    right: 0;
    z-index: 100;
    margin: auto;
    background-color: white;
}

dialog:not([open]) {
    display: none;
}

dialog[open] {
    border: solid;
}

.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: baseline;
    -moz-box-align: baseline;
    -ms-flex-align: baseline;
    -webkit-flex-align: baseline;
    align-items: baseline;
}

.panel > table.idlist {
    border: 0;
    margin: 0;
}

.flex .grow {
    -moz-box-flex: 1;
    -ms-flex: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.flex.buttons {
    margin: 2em 0 1em;
}

.flex.buttons .right {
    justify-content: flex-end;
}

.flex.buttons *{
    margin-left: 10px;
}

.bottomnav {
    width: auto;
    max-width: none;
    background-color: #f7f7f7;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.container > nav, .wrapper > nav {
    text-transform: uppercase;
    line-height: 1.5;
    font-size: 15px;
    font-family: 'ClearSans-Medium', 'Arial', sans-serif;
}

nav a, .hnav a, .vnav a {
    color: inherit;
}

nav.hnav > ul, ul.hnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav.hnav > ul > li, ul.hnav > li {
    display: inline-block;
}

nav.hnav > ul > li > a, ul.hnav > li > a {
    display: inline-block;
    margin: 1px 0 0 0;
    padding: 5px 10px;
}

nav.hnav > ul > li > a.disabled, ul.hnav > li > a.disabled {
    cursor: default;
}

nav.pager {
    margin: 1em 0;
}

nav.pager a, nav.pager span {
    display: inline-block;
    border: 1px solid #d8dee2;
    padding: 0.5em 0.75em;
    color: #333;
    text-shadow: 0 1px 0 rgba(255,255,255,0.9);
    background-color: #eee;
    background-image: -webkit-linear-gradient(#fcfcfc, #eee);
    background-image: linear-gradient(#fcfcfc, #eee);
    text-align: center;
    min-width: 1.5em;
}

nav.pager a:hover, nav.pager .current, nav.pager .status {
    background-color: #ddd;
    background-image: -webkit-linear-gradient(#eee, #ddd);
    background-image: linear-gradient(#eee, #ddd);
    background-repeat: repeat-x;
    border-color: #ccc;
}

nav.pager .ellipsis {
    background: #fafafa;
    min-width: 0;
}

footer {
    margin-top: 1em;
    font-size: 8pt;
    color: #777;
}

fieldset > header h1, fieldset > legend h1, fieldset > header h3, fieldset > legend h3 {
    margin: 0;
    font-size: 15pt;
    font-weight: normal;
    font-family: 'ClearSans-Medium', 'Arial', sans-serif;
}

fieldset > header h3, fieldset > legend h3 {
    font-size: 10pt;
}

fieldset > header > ul.hnav, fieldset > legend > ul.hnav {
    margin-top: 0.5em; /* 5px */
    margin-bottom: calc(-0.7em - 1px); /* -11px */
}

fieldset > header > ul.hnav a, fieldset > legend > ul.hnav a {
    border-radius: 0.3em 0.3em 0 0; /* 3px 3px 0 0 */
    border: 1px solid transparent;
    border-bottom: 0;
    padding: 1em 1em 0.7em;
    color: #666;
    cursor: pointer;
}

fieldset > header > ul.hnav a.selected, fieldset > legend > ul.hnav a.selected {
    background-color: #fff;
    border-color: #ddd;
    padding: 1em 2em 0.7em;
    color: #333;
    font-weight: bold;
}

fieldset > header > ul.hnav a.error, fieldset > legend > ul.hnav a.error {
    color: red !important;
}

fieldset > header > ul.hnav a.disabled, fieldset > legend > ul.hnav a.disabled {
    color: #777 !important;
}

fieldset > header > ul.hnav a:hover {
    color: #444;
}

fieldset > header a[rel="prev"] {
    top: -2px;
    margin-right: 1em; /* 10px */
}

dl {
    margin: 0;
}

dt, dd {
    display: inline;
    margin: 0;
}

dt {
    font-weight: bold;
}

dd:after {
    display: block;
    content: '';
    margin: 0.5em;
}

hr {
    border: 0;
    border-bottom: 1px solid #ddd;
}

ul.tabs > li {
    display: none;
}

ul.tabs > li.active {
    display: block;
}

table.idlist {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #d8dee2;
    table-layout: fixed;
    margin: 10px 0
}

table.idlist.border td {
    border-right: 1px solid #d8dee2;
}

table.idlist tr[data-id] {
    cursor: pointer;
}

table.idlist thead {
    background-color: #f7f7f7;
    font-family: 'ClearSans-Medium', 'Arial', sans-serif;
    text-transform: uppercase;
}

table.idlist thead td {
    padding: 0.5em 0.3em;
    border-bottom: 1px solid #d8dee2;
}

table.idlist tbody tr:hover, table.idlist tbody tr:nth-child(even):hover, table.idlist tbody tr.active, table.idlist tr:nth-child(even).active {
    background-color: #f0f7f0;
}

table.idlist tr:nth-child(even) {
    background-color: #fafafa;
}

table.idlist td {
    padding: 0.5em 0.3em;
}

.toolbar {
    margin-bottom: 1em;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

@media only screen and (max-device-width: 1024px) {
    dialog {
        position: fixed;
        border: 0 !important;
        margin: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0;
        width: 100%;
        right: 0;
        overflow-y: auto;
    }
}