@font-face {
    font-family: 'KontrapunktBobBold';
    src: url('/Content/fonts/kontrapunkt_bob_bold-webfont.woff') format('woff'), url('/Content/fonts/kontrapunkt_bob_bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KontrapunktBobLightRegular';
    src: url('/Content/fonts/kontrapunkt_bob_light-webfont.woff') format('woff'), url('/Content/fonts/kontrapunkt_bob_light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.h2frontpage {
    font-family: 'KontrapunktBobLightRegular';
    font-size: 10.5pt;
    font-weight: bold;
}

.message-container, .error-container {
    min-height: 300px;
    display: block;
}

.message-container h1, .error-container h1 {
    font-size: 24px;
}

.message-container h1 + *,
.error-container h1 + * {
    margin-top: 0;
}

.message-container p, .error-container p {
    font-size: 14px;
}

h3 {
    font-family: 'KontrapunktBobLightRegular';
}

h4 {
    font-size: 11pt;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

    table thead th {
        background-repeat: no-repeat;
        background-position: center right;
        cursor: pointer;
    }

/* The page is at least as wide as its 960 px content. The header, the middle and the footer are as
   wide as the page, so in a window narrower than the content they still reach its right edge when it
   is scrolled sideways. The background is the middle's grey, which shows wherever nothing covers the
   page, for a moment between two pages among others. */
body {
    min-width: 960px;
    background: #f8f8f8;
    color: #61625d;
    font-family: Arial, Verdana;
    font-size: 9pt;
    margin: 0;
    padding: 0;
}

/* Links in a darker shade of the portal's green, with 5:1 against white and 4.7:1 against the page's
   grey; the green itself has only 3.2:1. The footer's link has its own, lighter green on the black. */
a {
    color: #557a12;
    text-decoration: none;
}

    a:hover {
        color: #557a12;
        text-decoration: underline;
    }

/* A link in running text is underlined, so it is told from the text around it by more than its
   colour, whose contrast with the body text's grey is far under 3:1. */
main p a {
    text-decoration: underline;
}


/* The set's green icons, the RSS logo and the info icon, are drawn in the green buttons' gradient,
   as are the upload box's file icon and the front page's building. The info icon has at least 3:1
   against the white form. */
.iconset {
    background-image: url('/Content/images/iconset.png');
    display: inline-block;
}




.icpdf, table tbody tr td i.icpdf {
    background-position: -43px -10px;
    height: 22px;
    width: 21px;
}

tbody tr td i.iconset {
    background-position: 0 -31px;
    height: 22px;
    width: 21px;
}

.icxlsx, table tbody tr td i.icxlsx {
    background-position: -21px -10px;
    height: 22px;
    width: 21px;
}

.icdocx, table tbody tr td i.icdocx {
    background-position: 0px -10px;
    height: 22px;
    width: 21px;
}

.rssFeedLogo {
    background-position: 0 -52px;
    height: 29px;
    width: 29px;
}

h2.h3 .rssFeedLogo {
    margin: 0 10px 0 0;
    vertical-align: middle;
}

td a .iconset {
    margin: 5px 10px;
    vertical-align: middle;
}

.hearing {
    background-position: -143px 0;
    height: 48px;
    width: 57px;
}

.rssfeed {
    background-position: -93px 0;
    height: 48px;
    width: 48px;
}

.search {
    background-position: -152px -48px;
    height: 48px;
    width: 48px;
}


.information {
    background-position: -28px 0;
    height: 10px;
    width: 10px;
}


.mainLayout {
    background-color: #F8F8F8;
    width: 100%
}

:root {
    --header-height: 190px;
    --footer-height: 60px;
}

/* The middle fills the screen: its minimum height is the screen less the header, the footer and its
   own 20 px bottom padding. It is its own block formatting context, so the first box's margin stays
   inside it. */
.mainContentContainer {
    display: flow-root;
    background-color: #f8f8f8;
    min-height: calc(100vh - var(--header-height) - var(--footer-height) - 20px);
    padding: 0 0 20px;
    width: 100%;
}

/*
 * The header and the footer are drawn without bitmaps. The header's green is lighter at the top
 * behind the logo and darker at the bottom behind the menu, where the white menu text has at least
 * 4.5:1. Both torn edges are the same row of semicircles, one every 19 px from the left edge, so the
 * scallops at the top and the bottom of the page stand over each other: the page's paper rising into
 * the header's green, with a soft shadow, and the footer's black rising into the page.
 */
header {
    background:
        url('/Content/images/header.edge.svg') left bottom / 19px 8px repeat-x,
        linear-gradient(#9bb651, #627335 180px, #627335);
    height: var(--header-height);
    width: 100%;
}

/* The logo and the quick search over the menu. */
.headerContentContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    height: 250px;
    margin: 0 auto;
    width: 960px;
}

footer {
    background:
        url('/Content/images/footer.edge.svg') left top / 19px 5px repeat-x,
        #000;
    height: var(--footer-height);
    width: 100%;
}

/* The band below the footer's 5 px scalloped edge, with the copyright left and the statement right,
   both centred on the same line. They line up with what is above them: the copyright with the
   headings and boxes on the left, the statement with the boxes' right edge and with the menu's last
   entry, whose 20 px padding ends there too - not with the 960 px container itself. */
.footerContentContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    height: 100%;
    margin: 0 auto;
    padding: 5px 20px 0 0;
    width: 960px;
}

.footerContentContainer p {
    margin: 0;
}

/* The grey is well past the 4.5:1 small text needs on the black. */
.footerContentWrapper {
    color: #b3b3b3;
    margin: 0;
}

.footerContentWrapper2 {
    margin: 0;
}

/* The header's lightest green, 9.2:1 on the black, where the links' darker green has only 4.2:1. */
.footerContentWrapper2 a,
.footerContentWrapper2 a:hover {
    color: #9bb651;
}

.headerContentContainer .logo {
    background: url('/Content/images/header.logo.png') no-repeat center;
    display: block;
    height: 100px;
    margin: 40px 0 0;
    width: 370px;
}



.headerContentContainer .searchCriteriaContainer {
    height: 120px;
    margin: 0 0 0 0;
    overflow: hidden;
    width: 450px;
}


.searchCriteriaBox .searchFieldsContainer {
    flex: none;
    height: 162px;
    width: 100%;
}

/* The quick search: the label, the field and the button on one line under the box's empty top. The
   box is as wide as that line and keeps its right edge where the 440 px box had it. */
.searchCriteriaContainer .searchCriteriaBox {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: none repeat scroll 0 0 #f8f8f8;
    border: 1px solid #000000;
    border-radius: 7px 7px 7px 7px;
    box-shadow: 0 0 3px #FFFFFF;
    height: 200px;
    margin: -165px 8px 0 auto;
    width: fit-content;
}

    /* The field and the button are equally high, so they line up at the bottom as well as the top. */
    .searchCriteriaContainer .searchCriteriaBox :is(input, button) {
        box-sizing: border-box;
        height: 28px;
    }

    .searchCriteriaContainer .searchCriteriaBox input {
        margin: 6px 0 0;
        width: 188px;
    }

    /* 4 px from the field, the space the line's white space gave it, and as far from the box's right
       edge as the label's text is from its left. */
    .searchCriteriaContainer .searchCriteriaBox button {
        line-height: 14px;
        margin: 6px 9px 0 4px;
        padding: 5px 20px;
        vertical-align: top;
    }

/* A darker shade of the portal's green, which has only 3.1:1 against the box; bold text counts as
   large only from 18.7 px, so the label's 16 px needs 4.5:1. */
.searchCriteriaBox label {
    color: #557a12;
    font-family: 'KontrapunktBobBold';
    font-size: 12pt;
    margin: 0;
    padding: 10px 9px 9px 9px;
    text-transform: uppercase;
}

.searchCriteriaBox h3 i {
    float: right;
    margin: 5px 5px 0 0;
}


.headlineArea {
    height: 50px;
    margin: 0 auto;
    width: 960px;
}

    .headlineArea h1 {
        color: #61625d;
        font-family: 'KontrapunktBobBold';
        font-size: 24pt;
        margin: 20px 0 8px;
        text-transform: uppercase;
    }

.documentArea .windowContainer {
    margin: 5px 10px;
}

    .documentArea .windowContainer table {
        margin: 5px 0;
        width: 596px;
    }


        .documentArea .windowContainer table tbody tr * {
            text-align: left;
        }

        /* The column headings, in a thead of their own: to the left like the rows, and without the
           pointer `table thead th` gives the search page's sortable headings, since these do not
           sort. */
        .documentArea .windowContainer table thead th {
            text-align: left;
            cursor: auto;
        }

        .documentArea .windowContainer table tbody tr a {
            display: inline-block;
            max-height: 26px;
            overflow: hidden;
        }


        .documentArea .windowContainer table tbody tr td:first-child {
            max-height: 25px;
            overflow: hidden;
            width: 310px;
        }


h5 {
    width: 960px;
    font-size: 12pt;
}

/* Dark text on the grey bar, for 4.5:1; the body text's grey had 3.8:1. */
.documentArea h3, .documentUpload h3,
.documentArea h2.h3, .documentUpload h2.h3 {
    background-color: #ccc;
    border-radius: 5px 5px 0 0;
    color: #333333;
    font-family: 'KontrapunktBobBold';
    font-size: 12pt;
    line-height: 25px;
    margin: 0 0 5px 0;
    padding: 5px 10px;
    text-transform: uppercase;
}

/* A document under embargo, in the inactive rows' grey and struck through; only its icon is faded,
   since a faded title fell to 1.5:1. */
.hideDocument {
    color: #767676;
    text-decoration: line-through;
}

.hideDocument .iconset {
    opacity: 0.4;
}

/* Under the pointer it stays grey and struck through, underlined as a link besides. */
.hideDocument:hover {
    color: #767676;
    text-decoration-line: line-through underline;
}

.contentArea {
    clear: both;
    margin: 0 auto;
    width: 960px;
}


/* The front page's illustration and its two info boxes in a row, and in each box the icon and the
   heading on one line, the text under them and the button at the right. */
.frontInfoBoxes {
    display: flex;
    align-items: flex-start;
    margin: 0 auto 20px;
    width: 960px;
}

    .frontInfoBoxes .illustrationBox {
        flex: none;
        margin: 20px 0 20px 0;
        width: 199px;
    }

        /* The building in the illustration is drawn in the green buttons' gradient over its height,
           from the roof to the steps, so it matches them. */
        .frontInfoBoxes .illustrationBox .illustrationLaw {
            background: url('/Content/images/frontpage.illustration.png') no-repeat;
            display: block;
            height: 212px;
            width: 199px;
        }


    .frontInfoBoxes .infoBox {
        display: flex;
        flex: none;
        flex-wrap: wrap;
        align-items: flex-start;
        background-color: #fff;
        border: solid 8px #bcbcbc;
        border-radius: 25px;
        margin: 20px 20px 20px;
        padding: 20px;
        width: 280px;
    }

        .frontInfoBoxes .infoBox .heading {
            color: #61625D;
            font-family: 'KontrapunktBobBold';
            font-size: 20px;
            line-height: 48px;
            margin: 0;
            max-height: 48px;
        }

        .frontInfoBoxes .infoBox .icon {
            margin: 0 10px 0 0;
        }


        .frontInfoBoxes .infoBox p {
            display: block;
            flex: 0 0 100%;
            font-size: 9pt;
            height: 50px;
        }

        .frontInfoBoxes .infoBox a {
            margin-left: auto;
            margin-right: 0;
            width: 100px;
        }



nav {
    flex: 0 0 100%;
    width: 960px;
}

    nav ul {
        margin: 0;
        padding: 0;
        text-align: right;
    }

        nav ul li {
            display: inline-block;
            height: 39px;
            list-style: none;
        }

            nav ul li a {
                border-radius: 5px;
                color: #fff;
                display: block;
                padding: 11px 20px;
                position: relative;
                text-decoration: none;
            }


            nav ul li span {
                border-radius: 5px 5px 5px 5px;
                color: #FFFFFF;
                display: inline-block;
                padding: 11px 20px;
                text-decoration: none;
            }

fieldset h3,
fieldset h2.h3 {
    padding: 10px 0;
    margin: 0 10px;
    border-bottom: 1px dashed #CCCCCC;
}

fieldset > p {
    margin: 10px;
}

/* The name of a document type over its documents. It is as wide as the documents' first cells
   (td:first-child in the document area), so the name sets the width of the title column. Its grey
   has the 4.5:1 against white that the old light grey did not. */
.documentGroup th {
    color: #707070;
    font-weight: bold;
    padding: 3px 0 3px 10px;
    width: 310px;
}

/* The same heading on the edit page, which has always drawn the name as a plain first cell: not
   grey, not bold, and as wide as the cells below it. */
.documentTypeRow th {
    font-weight: normal;
    width: 310px;
}

/* A validation message stands with its own field: it moves up into the field's 9 px bottom margin,
   which put it further from its field than from the next field's label, and keeps the space a field
   without an error has to the next label. Its red has 4.5:1 against white, which pure red has not. */
span.field-validation-error {
    display: block;
    color: #cc0000;
    margin: -5px 0 14px;
}

/* The search page's filters have no space under their fields to take back. */
.filters span.field-validation-error {
    margin: 0;
}

.input-validation-error {
    border: 1px solid #ff0000 !important;
    background-color: #ffd6d6 !important;
}

nav ul li a:hover {
    color: #fff;
    text-decoration: none;
}

/* The menu entry of the page's section: a white line under its text, which aria-current also gives a
   screen reader. Under the pointer an entry - Log ud's button too - shows the same line, half as
   strong; with the keyboard it has a white outline. The line is a border, not a background, so it is
   still drawn in Windows' high contrast mode. */
header nav ul li a[aria-current]::after,
header nav ul li a:hover::after,
header nav .logout-form button:hover::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 6px;
    height: 0;
    border-bottom: 3px solid #fff;
    border-radius: 2px;
}

header nav ul li a:not([aria-current]):hover::after,
header nav .logout-form button:hover::after {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

header nav ul li a:focus-visible,
header nav .logout-form button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
    border-radius: 6px;
}

.dateField {
    max-width: 55px;
    overflow: hidden;
}

.textField {
    max-width: 90px;
    overflow: hidden;
}


fieldset div:last-child {
    border-bottom: none;
}

/* The search page's filters, three to a row. A filter is as high as its content. */
.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0;
    width: 960px;
}

    .filters .filterContainer {
        flex: none;
        margin: 10px 18px 0 0;
        width: 300px;
    }

        .filters .filterContainer label {
            display: block;
        }



        .filters .filterContainer select {
            max-height: 52px;
            width: 300px;
        }

.filterContainer .ui-widget {
    cursor: pointer;
    margin: 5px 0 0 0;
    padding: 0 5px;
}


    .filterContainer .ui-widget span {
        display: block;
        font-size: 10pt;
        margin: 0;
    }


.editor-label {
    margin: 5px 10px;
}

/* A form's first label stands 15 px below the box's title and its dashed line, about as far as the
   fields stand from each other, rather than against the line. */
fieldset > h2.h3 + .editor-label {
    margin-top: 15px;
}

.editor-field {
    margin: 0 10px;
}

.filterContainer .ui-widget .ui-icon {
    height: 16px;
    margin: 0;
}

ul.ui-helper-reset li a {
    font-size: 7pt;
}

    ul.ui-helper-reset li a .ui-icon {
        margin: 2px 4px;
    }

ul.ui-multiselect-checkboxes li label.ui-corner-all span {
    font-size: 9pt;
    margin: 0 0 0 10px;
}


/* The free-text field is as wide and as high as the lists beside and above it. */
.filters .filterContainer input {
    box-sizing: border-box;
    height: 26px;
    margin: 5px 0 0 0;
    width: 300px;
}

/* The lightest grey with 4.5:1 against white; struck through, it still reads as set aside. */
.inactiveRow {
    color: #767676;
    text-decoration: line-through;
}

.btnHeadlineContainer {
    margin: 20px 0 0 0;
    text-align: right;
}

.contentBottomContainer {
    margin: 20px 0 0 0;
    width: 960px;
}

.btnContainer {
    margin: 0 0 10px 0;
    text-align: right;
    width: 960px;
}



    .btnContainer .btn, .btnContainer input {
        margin: 0 0 0 10px;
    }

.document-list {
    padding: 10px;
}

    .document-list p {
        padding: 0 10px;
    }

.clr {
    clear: both;
}

/* The upload box beside a hearing's documents. */
.dualContainers {
    display: flex;
    align-items: flex-start;
}

    .dualContainers > * {
        flex: none;
    }

    .dualContainers div {
        margin: 0 0 0 0;
    }

        .dualContainers div:first-child {
            margin: 0 20px 0 0;
        }

.documentUploadNoHeight {
    min-height: 0 !important;
}

.documentUpload fieldset {
    border: 0;
    margin: 0;
    width: 298px;
}

.documentUpload form .fileDropBox, .documentUpload .fileDropBox {
    background: url("/Content/images/filedrop.icon.png") no-repeat scroll 45px 22px transparent;
    border: 1px solid #8a8a8a;
    border-radius: 5px 5px 5px 5px;
    height: 100px;
    margin: 0 10px;
    width: 294px;
}

.documentUpload form .fileProgressBar, .documentUpload .fileProgressBar {
    border: 1px solid #CCCCCC;
    border-radius: 5px 5px 5px 5px;
    height: 10px;
    margin: 10px 10px;
    width: 294px;
}

.documentUpload form .fileDropboxSelected, .documentUpload .fileDropboxSelected {
    border: 3px dashed #8a8a8a;
}

.documentUpload form .fileDropBox span, .documentUpload .fileDropBox span {
    color: #CCCCCC;
    float: left;
    margin: 40px 0 0 100px;
}

/* The boxes are ordinary blocks, so their margins collapse with their neighbours' and two boxes, or a
   box and the heading after it, are 20 px apart. */
.contentList, .contentContainer, fieldset, .document-list, .contentWindow {
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 5px;
    margin: 20px 0;
    width: 940px;
}


/* The text pages' boxes are as wide as the portal's other boxes: 928 px, their 15 px padding on each
   side and their border make 960. */
.contentWindow {
    padding: 0 15px 15px 15px;
    width: 928px;
}

.documentArea {
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 5px;
    margin: 20px 0;
    min-height: 310px;
    width: 618px;
}

.documentUpload {
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 5px;
    margin: 20px 0;
    min-height: 310px;
    width: 318px;
}

#hearingTable tbody tr td {
    overflow: hidden;
}

.ui-helper-reset li a {
    display: inline-block;
    padding: 2px 5px;
}

.ui-widget-header .ui-helper-reset li a .ui-icon {
    margin: 0 5px 0 0;
}

.ui-helper-reset li a span:nth-child(2) {
    display: inline-block;
    line-height: 16px;
}

.ui-helper-reset li a.ui-multiselect-close {
    display: none;
}

/* A word with nowhere to break, such as an address, breaks anywhere rather than being cut off at
   the side by the cell's overflow: hidden. */
#hearingTable * tr .titleCol {
    min-width: 100px;
    max-width: 200px;
    overflow-wrap: anywhere;
}

/* The title in the list is cut after three lines with an ellipsis. The whole of it is still in the
   page, and in the cell's title when it is cut. */
#hearingTable .titleText {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* A row reached by keyboard shows its whole title, since the cell's title is shown only on hover.
   :focus-visible, so a row clicked with the mouse keeps its three lines. */
#hearingTable tr:focus-visible .titleText {
    -webkit-line-clamp: unset;
}

#hearingTable * tr .authCol {
    max-width: 140px;
    min-width: 140px;
}

#hearingTable * tr .typeCol {
    max-width: 90px;
    min-width: 90px;
}

#hearingTable * tr .deadlineCol {
    max-width: 85px;
    min-width: 85px;
}

#hearingTable * tr .areaCol {
    max-width: 110px;
    min-width: 110px;
}

#hearingTable * tr .statusCol {
    max-width: 60px;
    min-width: 60px;
}

#hearingTable * tr .pubCol {
    max-width: 75px;
    min-width: 75px;
}

fieldset legend {
    display: none;
}

.contentList table {
    width: 100%;
}

    .contentList table thead tr {
        border-radius: 5px 5px 0 0;
    }

        .contentList table thead tr th {
            cursor: pointer;
            font-size: 9pt;
            padding: 10px;
            text-align: left;
            background: #f1f1f1;
        }

            .contentList table thead tr th:first-child {
                border-radius: 5px 0 0 0;
            }

            .contentList table thead tr th:last-child {
                border-radius: 0 5px 0 0;
            }

            .contentList table thead tr th:hover {
                text-decoration: underline;
            }

            /* The sort in each heading is a button, so it can be reached and is announced as one,
               drawn as the heading's own text. The underline on hover is set again, because it does
               not reach into a button. */
            .contentList table thead tr th button {
                background: none;
                border: 0;
                color: inherit;
                cursor: pointer;
                font: inherit;
                line-height: inherit;
                margin: 0;
                padding: 0;
                text-align: inherit;
            }

            .contentList table thead tr th:hover button {
                text-decoration: underline;
            }

            /* The arrow on the heading the list is sorted by, drawn from the heading's aria-sort,
               which also tells a screen reader the order. The arrow itself says nothing more, so it
               has no text; a browser without that syntax keeps the declaration before it. */
            .contentList table thead tr th[aria-sort="ascending"]::after {
                content: url('/Content/images/sortorder.asc.icon.png');
                content: url('/Content/images/sortorder.asc.icon.png') / "";
                margin-left: 5px;
            }

            .contentList table thead tr th[aria-sort="descending"]::after {
                content: url('/Content/images/sortorder.desc.icon.png');
                content: url('/Content/images/sortorder.desc.icon.png') / "";
                margin-left: 5px;
            }

/* A row of the hearing list under the pointer or with focus. */
#hearingTable tbody tr:hover,
#hearingTable tbody tr:focus {
    background-color: #f1f1f1;
    outline: #000000; /*in order to avoid default focus which creates a border line in some browsers*/
}

/* An inactive row's grey a shade darker on the row's grey, to keep 4.5:1 there too. */
#hearingTable tbody tr.inactiveRow:hover,
#hearingTable tbody tr.inactiveRow:focus {
    color: #6e6e6e;
}

.contentList table tbody tr td {
    cursor: pointer;
    font-size: 10pt;
    margin: 0;
    padding: 10px;
}

/* The overviews' narrow columns and their actions. */
th.small {
    width: 50px;
}

.editFunctions a {
    display: inline-block;
}

.createFunctions {
    margin: 20px 0 0 0;
}

    .btn, input[type="submit"], .createFunctions a {
        background-color: #f5f5f5;
        background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
        background-repeat: repeat-x;
        border: 1px solid;
        border-color: #e6e6e6 #e6e6e6 #bfbfbf;
        border-radius: 4px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
        color: #333333;
        cursor: pointer;
        display: inline-block;
        font-size: 13px;
        margin-bottom: 0;
        margin-right: 20px;
        padding: 9px 25px;
        text-align: center;
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
        vertical-align: middle;
    }

        .btn:hover,
        .createFunctions a:hover,
        .btn:active,
        .btn.active,
        .btn.disabled,
        .btn[disabled], input[type="submit"]:hover {
            background-color: #e6e6e6;
        }

        .btn:hover,
        .createFunctions a:hover, input[type="submit"]:hover {
            background-color: #e6e6e6;
            background-position: 0 -15px;
            color: #333333;
            text-decoration: none;
            transition: background-position 0.1s linear;
        }

        .btn:focus,
        .createFunctions a:focus {
            outline: thin dotted #333;
            outline: 5px auto -webkit-focus-ring-color;
            outline-offset: -2px;
        }

        .btn.active,
        .btn:active,
        .createFunctions a:active {
            background-color: #e6e6e6;
            background-image: none;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
            outline: 0;
        }

        .btn.disabled,
        .createFunctions a[disabled],
        .btn[disabled] {
            background-color: #e6e6e6;
            background-image: none;
            box-shadow: none;
            cursor: default;
            opacity: 0.65;
        }


input[type="submit"] {
    color: #fff;
}

/* The green buttons are drawn in the header's green: the top is where the header's gradient reaches
   4.5:1 against white, the middle is the flat green behind the menu, and the bottom a shade darker,
   so the gradient shows only at the edges. The top is the lightest point and holds the 4.5:1 the
   white text needs; under the pointer the button takes the bottom's green. The link dialog's
   Bekræft in app.css has the same colours. */
.btn-primary, input[type="submit"] {
    background-color: #627335;
    background-image: linear-gradient(to bottom, #6b7d39 0%, #627335 30%, #627335 70%, #55642e 100%);
    background-repeat: repeat-x;
    border-color: #55642e #55642e #003580;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
}

    .btn-primary:hover, input[type="submit"]:hover,
    .btn-primary:active,
    .btn-primary.active,
    .btn-primary.disabled,
    .btn-primary[disabled] {
        background-color: #55642e;
        color: #fff;
    }

.btn-warning {
    background-color: #faa732;
    background-image: linear-gradient(to bottom, #fbb450, #f89406);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

    .btn-warning:hover,
    .btn-warning:active,
    .btn-warning.active,
    .btn-warning.disabled,
    .btn-warning[disabled] {
        background-color: #f89406;
    }




select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    color: #555555;
    display: inline-block;
    font-size: 13px;
    height: 18px;
    line-height: 18px;
    margin-bottom: 9px;
    padding: 4px;
}

input,
textarea {
    width: 90%;
}

textarea {
    height: auto;
}

/* A field's border is what shows where the field is, so it has at least 3:1 against what is around
   it: #8a8a8a has 3.25:1 on the page's #f8f8f8 and 3.45:1 on a white box. The lists, the search
   page's filters, the editor and the upload box use the same grey. */
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    background-color: #ffffff;
    border: 1px solid #8a8a8a;
    border-radius: 3px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

    textarea:focus,
    input[type="text"]:focus,
    input[type="password"]:focus,
    input[type="datetime"]:focus,
    input[type="datetime-local"]:focus,
    input[type="date"]:focus,
    input[type="month"]:focus,
    input[type="time"]:focus,
    input[type="week"]:focus,
    input[type="number"]:focus,
    input[type="email"]:focus,
    input[type="url"]:focus,
    input[type="search"]:focus,
    input[type="tel"]:focus,
    input[type="color"]:focus,
    .uneditable-input:focus {

        border-color: rgba(82, 168, 236, 0.8);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
        outline: 0;
    }

input[type="radio"],
input[type="checkbox"] {
    cursor: pointer;

    line-height: normal;
    margin: 3px 0;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
    width: auto;
}

.uneditable-textarea {
    height: auto;
    width: auto;
}

select,
input[type="file"] {
    height: 28px;

    line-height: 28px;

}

select {
    border: 1px solid #8a8a8a;
}

    select[multiple],
    select[size] {
        height: auto;
    }

    select:focus,
    input[type="file"]:focus,
    input[type="radio"]:focus,
    input[type="checkbox"]:focus {
        outline: thin dotted #333;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

.radio,
.checkbox {
    min-height: 18px;
    padding-left: 18px;
}

    .radio input[type="radio"],
    .checkbox input[type="checkbox"] {
        float: left;
        margin-left: -18px;
    }

.controls > .radio:first-child,
.controls > .checkbox:first-child {
    padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
    display: inline-block;
    margin-bottom: 0;
    padding-top: 5px;
    vertical-align: middle;
}

    .radio.inline + .radio.inline,
    .checkbox.inline + .checkbox.inline {
        margin-left: 10px;
    }

.errorMessage {
    margin: 0 auto;
    text-align: center;
}

/* No height of its own: the top spinner lies over the list's first rows, centred, and takes no
   room from them. */
.toploader {
    height: 0;
    position: relative;
}

    .toploader img {
        display: none;
        height: 31px;
        left: 50%;
        margin-left: -15px;
        position: absolute;
        top: 60px;
        width: 31px;
        z-index: 1;
    }

.bottomloader {
    margin: 0 auto;
    text-align: center;
}

/* The spinners show while the list fetches: the top one for a search or a sort, the bottom one for
   the next page. */
.bottomloader img {
    display: none;
}

.toploader.is-loading img {
    display: block;
}

.bottomloader.is-loading img {
    display: inline;
}
