/* get rid of unused right side bar - maximise horizontal space */
#b3k-content-sidebar {
    display: none;
}
#b3k-content #b3k-content-main {
    width: 100%;
}

#qrform {
    margin-bottom: 2em;
}

table.simple {
    border-spacing: 0;
    border-top: 1px solid #CCC;
    margin-top: 1em;
    width: 100%;
    table-layout:fixed;
    border-collapse:collapse;
}

table.simple td, table.simple th {
    vertical-align: top;
    text-align: left;
    padding: .5em;
    border-bottom: 1px solid #CCC;
    word-wrap: break-word;
}

table.simple.sortable th {
    background-color: red;
    background-color: #DDD;
}

/* key.html template css */
div.shorturl {
    margin-top: 2em;
}

div.shorturl a {
    font-size:1.2em;
    text-decoration:none;
}

div.shorturl a.long {
    word-wrap: break-word;
}

div.spacer {
  margin-top: 2em;
  margin-bottom: 1em;
}

#click-stats {
    margin-top: 5em;
}

.badge {
    background-color: #5bc0de;
    color: #FFF;
    padding: .2em .5em;
    margin-right: .5em;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.badge:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.badge_link {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1em;
}

#filter_msg {
    padding-top: 1em;
}

#filter_msg span {
  background-color: rgba(0, 0, 0, 0.1);
  background-color: #FFFFBB;
  border: 1px #CCC solid;
  color: #555;
  padding: .25em;
  margin-left: 1em;
}

#filter_msg span.counter {
  color: red;
}

/* Admin edit record, user edit record */
#admin_update #id_target_url, #su_edit #id_target_url {
    width: 100%;
}

#id_target_url, #id_category {
    margin-top: .25em;
    margin-bottom: 1em;
}

/* Entry form on shorturl home page, not edit pages */
form#qrform p.shorturl input#id_target_url, 
form#qrform p.shorturl input#id_key {
    width: 300px;
}

#id_expires_at {
  margin-top: .25em;
}
#id_expires_at + span.help-inline {
    display: block;
    margin-top: .2em;
    margin-bottom: 1em;
}

.control-label {
    font-weight: bold;
}

p#edit_short_url, p#edit_return_nav {
    margin-top: 1em;
    margin-bottom: 1em;
}

.my-well {
    background-color: #D7E7EF;
    color: #006699;
    padding: .5em 1em 1em 1em;
    border: 1px solid #2F5597;
}

.space-above {
    margin-top: 1em;
}

.ok_ajax {
    position: absolute;
    background-color: #DFF2BF;
    color: #4F8A10;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 2px;
    width: 60px;
}

/* Present django form errors appropriately */
ul.errorlist {
    background-color: #E00;
    color: white;
    list-style: none;
    margin-left: 0;
    padding: 1px 5px;
}

/* Transfer short url tool css */
#usu_form label.checkbox {
    font-style: italic;
}


/* Give shorturl.label field more horiz. space on edit */
#su_edit #id_label, #label_text {
    width: 100%;
}
