body {
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    color: #666;
    background: #f5f7fa;
}

a {
    text-decoration: none;
    color: inherit;
}

hr {
    margin: 10px 0;
}

.container {
    width: 970px !important;
}

a:hover,
a:focus {
    color: #48c;
    text-decoration: none;
}

.bottom {
    margin-bottom: 0;
    padding-bottom: 0;
}

.navigation {
    background: #111;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
}

#tabmenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

#tabmenu li {
    float: left;
}

#tabmenu a {
    background: #252525;
    margin-right: 5px;
    padding: 5px 10px;
    display: block;
}

#tabmenu a:hover {
    color: #fff;
    background: #3b3b3b;
    text-decoration: none;
}

.current-login {
    font-size: 11px;
}

.current-login a {
    color: #fff;
    text-decoration: none;
}

.current-login a:hover {
    text-decoration: underline;
}

.total-box {
    padding: 7px;
    margin-right: 10px;
    color: #ffffff;
    background-color: #07ab1e;
    text-align: center;
    width: 190px;
    float: left;
    margin-top: 10px;
}

.total-box p {
    font-size: 14px;
}

.total-box h1 {
    color: #fff;
    font-weight: normal;
    margin: 0px 0;
}

.total-box-footer {
    background: #666;
    margin: 10px -5px -5px -5px;
    border-top: 1px solid #fff;
}


.pagination {
    float: right;
    margin-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
}

.pagination div {
  float:left;
  padding-left:15px;
  padding-right:15px;
}
.pagination a {
    display:block;
    float:left;
    color: #111111;
    border: 1px solid #cccccc;
    background: #fff;
    padding: 2px 10px;
    margin-left: 3px;
    text-decoration: none;
    font-size: 14px;
}

.pagination a:hover {
    background-color: #e6e6e6;
}

.pagination .current{
    float:left;
    font-weight: bold;
    padding: 3px 10px;
    font-size: 14px;
    color: #fff;
    display: block;
    margin-left: 3px;
    background: #428BCD;
}

.pagination  .disabled {
    display: none;
}

.content-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0px;
    margin-top: 10px;
    padding: 16px;
}

.content-box .title {
    font-size: 18px;
    color: #666;
    margin-top: 0px;
    line-height: 18px;
}

.content-box .body {
    margin-top: 8px;
    font-size: 14px;
}

.content-box .group {
    float: left;
    border-right: 1px solid #ddd;
}

.content-box .group:first-of-type ul {
    padding-left: 0;
}

.content-box .group:nth-last-of-type(2) {
    border-right: none;
}

.content-box .group ul,
.content-box .group li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.content-box .group ul {
    padding: 0 16px;
}

.content-box .group li {
    line-height: 23px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 11.5px;
}

.col-1.group {
    width: 906px;
}

.col-2.group {
    width: 453px;
}

.col-3.group {
    width: 302px;
}

.col-4.group {
    width: 226px;
}

.col-5.group {
    width: 181px;
}

.col-6.group {
    width: 151px;
}

.total-box-small {
    background-color: #eee;
    padding: 4px 8px;
    color: #333;
    font-size: 0.85em;
    margin-right: 5px;
}


.sub-header {
    background: #fff;
}

.title-with-buttons {
    margin-top:8px !important;
}

.sub-header hr:first-of-type {
    margin-top: 16px;
    margin-bottom: 16px;
}

hr.title-line {
    margin-top: 16px;
    margin-bottom: 16px;
}

#statistics .sub-nav {
    font-size: 14px;
}

#statistics .sub-nav > li {
    text-align: right;
    border-right: 1px solid #ddd;
    padding: 0 15px;
    margin: 0;
    line-height: 20px;
}

#statistics .sub-nav > li:last-of-type {
    border: none;
    padding-right: 0;
}

#statistics .sub-header hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.search-form input[type=text] {
    width: 170px;
    padding: 4px 5px;
}

.date-range {
    cursor: pointer;
}

.add-button {
    border-radius: 5px;
    position:relative;
    behavior: url(/media/css/PIE.htc);
    background: #ddd url(/media/images/button_bg.gif) repeat-x;
    padding: 6px 15px;
    border: 1px solid #c0c0c0;
    width: 140px;
}


.add-button a {
    background: transparent url(/media/images/plus.gif) no-repeat left;
    color: #222;
    display: block;
    padding-left: 20px;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
}

/*
.errorlist {
    margin-bottom: 0;
}

ul.errorlist {
    list-style-type: none;
    border: 2px solid #FBC2C4;
    background: #FBE3E4;
    color: #8a1f11;
    margin: 0 0 0 0;
    padding: 5px;
    width: auto;
}
*/

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

.alert {
    padding: 8px;
    margin-bottom: 10px;
}

.messages .alert {
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 0;
}

.email-form .errorlist {
    margin: 0 0 10px;
    width: auto;
    padding: 10px;
}

.errored-field input, .errored-field select, .errored-field textarea {
    background:#FBE3E4;
    color:#8a1f11;
    border: 1px solid #8a1f11;
}

.no-border {
    border: 0;
}

/*

.list-table {
    padding: 0;
    border: 0;
}

.list-table tbody td {
    padding: 10px;
}

.list-table tbody tr:nth-child(odd) td {
    background-color: #fff;
}

.list-table tbody tr:nth-child(even) td {
    background-color: #f6f6f6;
}

.list-table th {
    border-bottom: 1px solid #eee;
    background-color: #fff;
    padding-left: 10px;
}

*/


#id_event {
    padding: 5px;
    font-size: 14px;
}

#graph {
    width: 100%;
    height: 400px;
}

#tooltip {
    position: absolute;
    display: none;
    color: #000;
    border: 1px solid #999999;
    font-weight: bold;
    padding: 5px;
    background-color: #fdfad0;
}

.vertical-text {
    writing-mode:tb-rl;
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -o-transform: rotate(90deg);
    white-space:nowrap;
    display:block;
    bottom:0;
    width:20px;
    height:20px;
    text-align: center;
    margin-top: 100px;
    font-size: 14px;
}

/*
.stats-table th {
    font-weight: bold;
    background: none;
}

.stats-table td {
    padding: 8px;
    border-top: 1px solid #e7eaec;
    background: #fff;
}

.stats-table tr.even td,
.stats-table tr:nth-child(even) td {
    background-color: #f5f7fa;
}
*/

input.go-button {
    background-color: #000;
    padding: 5px;
    border: none;
    color: #fff;
}

a.subnav-button {
    padding: 8px 10px;
    background: #f1f1f1;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ccc;
}

.home-button {
    border: 1px solid #aaa;
    background: #f5f5f5 url(/static/images/home.png) center no-repeat;
    width: 30px;
    height: 30px;
    display: block;
    text-align: right;
}

.home-button:hover {
    background: #fff url(/static/images/home.png) center no-repeat;
}

.login_box {
    padding: 20px;
    background: #fff;
    text-align: left;
    width: 400px;
    margin: 100px auto;
    font-size: 12px;
    border: 5px solid #aaa;

}

.login_box table {
border: 0;
}

.login_box td {
border:0;
padding:5px;
}

.login_box input{
padding:5px;
font-size: 14px;
color: #252525;
margin-top:8px;

}

.login_box label {
    font-weight: bold;
    padding-left: 2px;
}

#union-select, #labor-council-select, #member-select {
    display: none;
}

#summary-table {
    width: 100%;
    border: 1px solid #ccc;
}

#summary-table th {
    padding: 10px;
}

#summary-table tr:nth-child(even) td {
    background: #f1f1f1;
}

#summary-table td {
    border-top: 1px solid #ccc;
    padding: 10px;
    font-size: 14px;
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    vertical-align: middle;
}

.table>thead>tr>th:first-of-type,
.table>tbody>tr>th:first-of-type,
.table>tfoot>tr>th:first-of-type,
.table>thead>tr>td:first-of-type,
.table>tbody>tr>td:first-of-type,
.table>tfoot>tr>td:first-of-type {
    padding-left: 0;
}

.download-button {
    background: #444;
    border-radius: 10px;
    padding: 5px 20px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
}

.download-button:hover {
    color: #fff;
}

#id_event_date {
    padding: 5px;
    font-size: 14px;

}

#export-excel {
    margin-top: 10px;
    margin-right: 0;
    float: right;
    font-size: 14px;
    background: transparent url(/static/images/excel.png) left no-repeat;
    padding-left: 10px;
    height: 20px;
    width: 120px;
    line-height: 20px;
}


.green-button:hover, .green-button:visited, .black-button:hover, .black-button:visited {
    color: #ffffff;
    cursor: pointer;
}

.green-button {
    background: #07ab1e;
    border: 1px solid #027813;
    font-size: 16px;
    color: #ffffff;
    padding: 7px 15px;
    text-decoration: none;
}

button.green-button {
    padding: 4px 10px;
    width: 200px;
}

input.green-button {
    border: none;
}

.black-button {
    background: #000;
    border: 1px solid #888;
    font-size: 12px;
    color: #ffffff;
    font-weight: normal;
    padding: 7px 20px;
    text-decoration: none;
}

.gray-box {
    background: #f5f5f5;
    border: 1px solid #cccccc;
    padding: 10px 20px;
}

.email-form .box {
    background: #f5f5f5;
}

.email-form select,
.email-form input[type=text],
.email-form textarea {
    padding: 10px;
    margin: 0;
    width: 100%;
}

.email-form textarea {
    height: 300px;
}

.form-horizontal .control-label {
    padding-top: 0;
    text-align: left;
    display: table;
    height: 34px;
}

.form-horizontal .control-label div {
    display: table-cell;
    vertical-align: middle;
}

body > div > div.sub-header:first-of-type {
    height: 52px;
}
body > div > div.sub-header:first-of-type h3 {
    font-size: 20px;
}

body > div > div.sub-header:first-of-type h3,
body > div > div.sub-header:first-of-type .sub-nav > li {
    line-height: 52px;
    margin: 0 0 0 10px;
}

.sub-header h2 {
    margin-bottom: .25em;
}

.content-box h3.title {
    margin-bottom: 0px;
}

.content-box .title small {
    float: right;
    font-size: 70%;
    margin-top: -6px;
}

#statistics .sub-header {
    height: inherit;
}

.user-list .btn {
    font-size: 12px;
}

.sub-nav > li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 12px;
}

.sub-nav ul {
    float: right;
}

.sub-nav > li {
    float: left;
    margin-right: 10px;
}

.transfer-option {
    cursor: pointer;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
}

.breadcrumb>li+li:before {
    content: "|";
    color: #ddd;
}

.breadcrumb li:last-of-type {
    color: #222;
}

.content-box .title .breadcrumb {
    font-size: 14px;
}