body {
	margin: 10px;
}

.messagebox {
	min-height: 100px;
	box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

#create-btn,#archive-btn,#back-btn,#date-filter,#create-order-btn {
  float:left;
}

#from_date, #to_date, #from_date_arrow, #archive-btn {
  margin-right:10px;
}

#profile_img {
  margin-bottom: 10px;
}

#profile_select {
  display:none;
}

.btn-container {
  display:inline-block;
}

/* DataTable styling */


table.table thead .sorting { background: url('../tools/DataTables-1.9.4/images/sort_both.png') no-repeat center right; }
table.table thead .sorting_asc { background: url('../tools/DataTables-1.9.4/images/sort_asc.png') no-repeat center right; }
table.table thead .sorting_desc { background: url('../tools/DataTables-1.9.4/images/sort_desc.png') no-repeat center right; }

table.table thead .sorting_asc_disabled { background: url('../tools/DataTables-1.9.4/images/sort_asc_disabled.png') no-repeat center right; }
table.table thead .sorting_desc_disabled { background: url('../tools/DataTables-1.9.4/images/sort_desc_disabled.png') no-repeat center right; }

.pagination {
	margin-top:0px;
}

.pagination li a {
	color: #555;
	font-size: 14px;
	padding: 3px 12px;
}

div.dataTables_length label {
        float: right;
        text-align: left;
}

div.dataTables_length select {
        float: right;
        width: 75px;
}

div.dataTables_filter label {
        float:left;
        margin-right:10px;
}

div.dataTables_info {
        padding-top: 0px;
}

div.dataTables_paginate {
        float: right;
        margin: 0;
}

table.table {
        clear: both;
        margin-bottom: 6px !important;
        max-width: none !important;
}

table.table thead .sorting,
table.table thead .sorting_asc,
table.table thead .sorting_desc,
table.table thead .sorting_asc_disabled,
table.table thead .sorting_desc_disabled {
        cursor: pointer;
        *cursor: hand;
}

.table tr {
	background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#f8f8f8));
  background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
  background-image: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
  background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
  background-repeat: repeat-x;
  border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
}

.table .btn-xs {
  height:23px;
  width:23px;
  font-size: 14px;
  padding: 1px 4px;
}

.table .btn-warning {
  margin-right: 5px;
}

.table .btn-primary {
  margin-right: 5px;
}

.table .btn-info {
  margin-right: 5px;
}

.table #buttons{
  min-width: 63px;
}


.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 999px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.required {
    font-weight: bold;
    color: red;
}
