html, body {
    background-color: #EFEFEF;
}

body {
    font-size: 14px;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
    color: #313131;
}

a {
    color: #08C;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.strong {
    font-weight: bold;
}

.small {
    font-size: 80%;
}

em {
    font-style: italic;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #404040;
}

h1 {
    font-size: 45px;
    padding-bottom: 30px;
}

h2 {
    font-weight: bold;
    font-style: italic;    
    margin-bottom: 10px;
}

h3 {
    margin-bottom: 10px;
}

p {
    line-height: 20px;
    padding-bottom: 20px;
}

ul, ol {
    padding-left: 20px;
}

li {
    padding-bottom: 18px;
}

ol li {
    list-style-type: decimal;
}

ul li {
    list-style-type: none;
}

.flash-message {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #ffe;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    display: inline-block;
}

.error {
    color: red;
}

.flash-message ul {
    margin-top: 10px;
}

.flash-message ul li {
    padding: 0;
}

.small-font {
    font-size: 85%;
}

#login label, #contact_form label {
    display: block;
    float: left;
    width: 90px;
}

#menu {
    position: fixed;
    height: 30px;
    width: 100%;
    background: #FAFAFA;
    margin-top: -50px;
    -webkit-box-shadow: 0 3px 2px -1px #999;
    box-shadow: 0 3px 2px -1px #999;
    z-index: 100;
}

#menu ul {
    padding: 0;
}

#menu ul li {
    padding: 6px;
    display: inline-block;
    position: relative;
}

#menu ul li a {
    text-decoration: none;
    white-space: nowrap;
}

#menu ul li span {
    cursor: pointer;
}

#menu > ul > li.first {
    padding-left: 20px;
}

#menu > ul > li.last {
    padding-right: 20px;
}

#menu ul > li.right {
    float: right;
    white-space: nowrap;
}

#menu ul ul {
    display: none;
    position: absolute;
    top: 25px;
    background: #FAFAFA;
    min-width: 100%;
    padding: 0;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    -webkit-box-shadow: 0 3px 2px -1px #999;
    box-shadow: 0 3px 2px -1px #999;    
}

#menu ul ul li {
    display: block;
    margin: 10px;
    padding: 0;
}

#menu ul ul li.first {
    margin-top: 5px;    
}

#menu ul li.current > a,
#menu ul li.current_ancestor span {
    font-weight: bold;
}

#menu ul li:hover ul {
    display: block;
}

#menu ul ul ul {
    position: relative;
    top: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 90%;
}

#menu ul ul ul li {
    margin-bottom: -3px;
}

#menu ul ul ul li a {
    font-style: italic;
}

#body-wrapper {
    margin-top: 50px;
	margin-left: 20px;
	margin-right: 20px;
}

#content > form > div {
    display: inline-block;
    background: #FAFAFA;
    padding: 10px;
    border-radius: 10px;
}

form div div {
	margin-top: 7px;
	margin-bottom: 7px;
}

form div p {
    padding: 0;
}

form div div label {
    display: inline-block;
    width: 200px;
    vertical-align: top;
}

form div div label + *,
form div div label + ul + * {
	display: inline-block;
	text-align: left;
}

form div div textarea {
    width: 300px;
    height: 100px;
}

form div div label + ul {
    font-size: 80%;
    padding: 0;
    /*color: red;*/
    display: inline-block;
    margin-right: 5px;
}

form div > ul {
    font-size: 80%;
    padding: 0;
    /*color: red;*/
}

form div > ul li {
    padding-bottom: 5px;
}

form div div label + ul li {
    padding: 0;
    margin-bottom: 5px;
}

form div div div > div {
	display: inline;
}

table.records_list,
table.record_properties {
	border-collapse: collapse;
	margin-bottom: 20px;
	table-layout: fixed;
	max-width: 100%;
}

table.records_list th,
table.record_properties th {
	font-weight: bold;
	padding: 5px;
    font-size: smaller;
	border: 1px solid #aaa;
	white-space: nowrap;
	vertical-align: top;
}

table.records_list th {
    background: #DFDFDF;
}

table.records_list th.header-sort-asc:after {
    content: " ∆";
}

table.records_list th.header-sort-desc:after {
    content: " ∇";
}

table.records_list td,
table.record_properties td {
	padding: 5px;
	font-size: smaller;
	border: 1px solid #aaa;
	vertical-align: top;
}

table.record_properties tr:nth-child(even),
table.records_list tr:nth-child(even) {
    background: #FAFAFA;
}

table.records_list tr:hover {
    background: #FDFDDD;    
}

table.records_list td ul {
	padding: 0;
	white-space: nowrap;
}

table.records_list td ul li {
	display: inline-block;
	padding: 0;
	margin-left: 2px;
	margin-right: 2px;
}

table.record_properties th {
    text-align: right;
}

ul.record_actions {
    margin-top: 20px;    
}

ul.record_actions button,
ul.record_actions a {
    cursor: pointer;
    padding: 5px 10px;
    appearance: push-button;
    -webkit-appearance: button;
    -moz-appearance: button;
    text-decoration: none;
    color: #313131;
    white-space: nowrap;
}

table.records_list + ul,
ul.record_actions {
    padding: 0;
}

table.records_list + ul li,
ul.record_actions li {
	display: inline-block;
	margin-right: 10px;	
}

.fixed-font {
    white-space: pre-wrap;
    font-family: monospace;
}

div.filter_form {
    margin-bottom: 1em;
}

div.filter_form div {
    display: inline-block;
}

div.filter_form div div {
    margin-right: 10px;
}

div.filter_form div div > label {
    display: none;
}

/*div.filter_form div div label + *,*/
/*div.filter_form div div label + ul + * {*/
    /*display: inline;*/
    /*margin-left: auto;*/
/*}*/

div.filter_form div div select {
    width: 150px;
}

div.filter_form div div input[type=text] {
    width: 100px;
}

div.warning {
    padding: 10px;
    margin-bottom: 20px;
    background: #DFDFDF;
    border: 1px solid black;
    border-radius: 5px;
}

.ui-datepicker {
    font-size: 80% !important;
}

ul.actions {}

ul.actions img {
    max-width: 16px;
}

.inline-block-50 {
    display: inline-block;
    width: 48%;
    margin: 10px 10px 20px;
}

span.locked {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-size: 12px;
    background-image: url(../images/icons/lock_48.png);
    background-repeat: no-repeat;
}

.csv-download {
    background: #FAFAFA;
    padding: 10px;
    border-radius: 10px;
    /*float: right;*/
    font-size: smaller;
    margin-bottom: 20px;
    display:inline-block;
   
}

.csv-download img {
    max-width: 16px;
    display: inline-block;
    margin-right: 5px;
}
div.navigation {
    display: block !important;
    background: none !important;
    padding: 0 !important;
}
div.navigation.bottom {
    margin-top: -10px;
}

.clearfix:after
{
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}
select
{
    font-size: 11px;
    line-height: 13px;
}
input[type=text]
{
    font-size: 11px;
    line-height: 18px;
    padding: 0px 5px;
    border-radius: 3px;
    border: 1px solid #D0D0D0;
    /*width: 300px;*/
}

.label-green {
    background: green;
    color: white;
    font-weight: bold;
    padding: 2px;
    border-radius: 5px;
}