body {
    margin: 0;
    padding: 0;
}

body, input, td, select {
    font-family: Arial,Helvetica,Verdana,sans-serif;
    font-size: 10pt;
}

.aek {
    color: #0270BB;
}

.mid, .mid * {
    vertical-align: middle;
}

#header {
    width: 100%;
    height: 200px;
    background: url(/img/aekktn.jpg);
    background-size: cover;

    border-bottom: 3px #2796E5 solid;
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.7);
}

#content {
    position: relative;
    top: 0; left: 0;
    padding: 1em 4em;
}

h1 {
    display: inline-block;
    margin: 100px 0 50px 0;
    padding: 0.5em 0.5em 0.5em 4em;
    background-color: #fff;
    color: #000;
    opacity: 0.5;
}

.ui-draggable-handle {
    cursor: move;
}

.error {
    background-color: #FAA;
    color: #500;
    border: 2px #801515 solid;
    padding: 2ex;
}


.window, .window_error {
    border: 1px #888 solid;
    border-radius: 2px;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.5);
    background-color: white;
}

.window_title {
    border-bottom: 1px #2796E5 solid;
    padding-bottom: 0.3em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    font-family: 'Trebuchet MS';
    font-size: 1.7em;
    color: #445;
}

.window_error {
    background-color: #FFC1C1;
    color: #550000;
}

.window_error a {
    color: #A00;
}

.window_error .window_title {
    border-bottom: 1px #BF0808 solid;
    color: #290000;
}


.window_caption {
    padding-left: 1ex;
    display: inline-block;
}

.close_button {
    padding-right: 0.5em;
    color: #0270BB;
    cursor: pointer;
}
.close_button:hover {
    color: #2796E5;
}

.window_content {
    padding: 1em;
}

input.submit {
    border: 0;
    border-bottom: 1px #003153 solid;
    background-color: #0270BB;
    color: white;
    padding: 0.5em 1em;
    cursor: pointer;
}
input.submit:hover {
    border: 0;
    border-bottom: 1px #003153 solid;
    background-color: #2796E5;
    color: white;
    padding: 0.5em 1em;
}
input.submit.disabled {
    border-bottom: 1px #202B32 solid;
    background-color: #91989E;
    cursor: default;
    outline: none;
}

input.submit.busy {
    cursor: progress;
}


input.cancel {
    border: 0;
    border-bottom: 1px #446074 solid;
    background-color: #627A8A;
    color: white;
    padding: 0.5em 1em;
    cursor: pointer;
}
input.cancel:hover {
    border: 0;
    border-bottom: 1px #627A8A solid;
    background-color: #8697A2;
    color: white;
    padding: 0.5em 1em;
}


#login_bar {
    padding: 1ex 1ex 0 0;
    text-align: right;
}


.folder_entry {
    cursor: pointer;
}

.folder_entry, .folder_entry * {
    vertical-align: middle;
}

.folder_entry img {
    margin-right: 0.5ex;
}

.folder_entry .folder_caption {
    display: inline-block;
    border-radius: 4px;
    padding: 0.5ex;
}

.folder_entry:hover .folder_caption {
    background-color: #A5D5F7;
}

.folder_entry.selected .folder_caption {
    background-color: #2796E5;
    color: #eee;
}
.folder_entry.selected:hover .folder_caption {
    background-color: #4EA9E9;
    color: #fff;
}

.subfolder_entry {
    margin-left: 2ex;
}

.button_bar {
    background-color: #d5d5d5;
    border-bottom: 1px #ccc solid;
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.7);
}
.button_bar .button_bar_button {
    cursor: pointer;
    background-color: #ddd;
    display: inline-block;
    border-left: 1px #eee solid;
    border-right: 1px #ccc solid;
    padding: 1ex;
}

.button_bar .button_bar_button:hover {
    background-color: #e5e5e5;
}

.button_bar .button_bar_button.disabled {
    cursor: default;
    background-color: #ddd;
    color: #999;
}
.button_bar .button_bar_button.disabled img {
    filter: saturate(10%);
    opacity: 0.5;
}

.button_bar_button img {
    margin-right: 1ex;
}

.small {
    font-size: 0.8em;
}

table.liste {
    width: 100%
}
table.liste td {
    padding: 1ex 0;
}
table.liste tr:hover td {
    background-color: #79BEEE;
}
table.liste a, a.button_link {
    text-decoration: none;
    background-color: #03375B;
    color: #DDF0FE;
    padding: 0.5ex 1ex;
    border-radius: 1ex;
}
table.liste tr.downloaded a {
    background-color: transparent;
    color: #5DA651;
}
table.liste tr.expired a {
    background-color: #C98662;
    color: #FFE8DC;
}
table.liste a:hover {
    background-color: #8E3300;
    color: #FFF1A7;
}
table.liste tr.downloaded a:hover, table.liste tr.expired a:hover {
    background-color: #8E4000;
    color: #FFF1A7;
}
.window_error table.liste a, .window_error a.button_link {
    background-color: #510000;
    color: #FF9E9E;
}
.window_error table.liste a:hover, .window_error a.button_link:hover {
    background-color: #781212;
    color: #FEE;
}

table tr.title th {
    font-size: 1.4em;
    font-weight: normal;
    text-align: left;
    border-bottom: 1px #2796E5 solid;
}
table tr.even td {
    background-color: #DDF0FE;
}
table tr.odd td {
    background-color: #A5D5F7;
}
table tr.even.deleted td {
    background-color: #E8ECEE;
    color: #8CA6B9;
}
table tr.odd.deleted td {
    background-color: #DFDFDF;
    color: #8CA6B9;
}
table tr.even.downloaded td {
    background-color: #EEFCD2;
    color: #2E4500;
}
table tr.odd.downloaded td {
    background-color: #D4F88E;
    color: #2E4500;
}
table tr.even.expired td {
    background-color: #FFE8DC;
    color: #301100;
}
table tr.odd.expired td {
    background-color: #FFB892;
    color: #301100;
}
