/* 
 * Custom stuff
 */
 
 body {
    margin-top: 50px;
 }
 
.flashes {
    max-width: 500px;
    margin: 0 auto;
    padding-top: 15px;
}

.input-xs {
    height: 22px;
    padding: 2px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.editable {
	cursor: pointer;
}

.csstable {
	display: table;
}

.thead {
	display: table-header-group;
}

.tbody {
    display: table-row-group;
}

.trow {
    display: table-row; 
}

.tcell {
    display: table-cell;
    border-top: 1px solid #ddd;
    padding: 5px;
}

.tablecell .form-group {
	padding-bottom: 0px;
	margin-bottom: -5px;
}

.tablecell .form-group .form-control {
    width: auto;
    font-family: 'Droid Sans Mono';
}

/*
 * Definition List
 */

.dl-horizontal dt {
    text-align: left;
    width: 23%;
}

.dl-horizontal dd {
    margin-left: 23%;
}

/*
 * Table
 */

.table-header {
    align = "right"
}

.table-entry {
    align = "right"
}

/* 
 * Typography
 */
 
.text-mono {
 	font-family: 'Droid Sans Mono';
}

.text-danger {
    color: #d9534f;
}

.xsmall {
	font-size:0.7em;
}

.sidebar {
	background-color: #eee;
}

.fixed-top-right {
	position: fixed;
	top: 50px;
	right: 0px;
	padding-left: 15px;
	padding-right: 15px;
}

.table tfoot tr th {
	border-top: 2px solid #DDD;
}

.right {
	text-align: right;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right-sorted {
    text-align: right !important;
    padding-right: 21px !important;
}

/* 
 * Forms
 */
 

.form-signin, .form-custom {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-custom .sub-header {
	margin-bottom: 20px;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.input-error {
    border-color: #A94442;
}

td .form-group {
	margin-bottom: 0px;
}

/*
 * DatePicker
 */
 
.datepicker {
	margin-top: 50px;
}

input[type="date"]::-webkit-datetime-edit, input[type="date"]::-webkit-inner-spin-button, input[type="date"]::-webkit-clear-button {
  color: #fff;
  position: relative;
}

input[type="date"]::-webkit-datetime-edit-year-field{
  position: absolute !important;
  border-left:1px solid #8c8c8c;
  padding: 2px;
  color:#000;
  left: 56px;
}

input[type="date"]::-webkit-datetime-edit-month-field{
  position: absolute !important;
  border-left:1px solid #8c8c8c;
  padding: 2px;
  color:#000;
  left: 26px;
}


input[type="date"]::-webkit-datetime-edit-day-field{
  position: absolute !important;
  color:#000;
  padding: 2px;
  left: 4px;

}

/*
 * Modals
 */

.modal-header {
    cursor: move;
}

/*
 * Scrolling Sidebar-menu
 */

.own-col {
    padding-top:30px;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;

}

@media (max-width:991px) {
.scrolling-menu{
    position:relative;
    width:100%;
}
.own-col{
    width:100%;

}}
@media (min-width:992px){
.scrolling-menu{
    position:fixed;
    width:237px;
}
.own-col{
    width:25%;
    float:left;
}}

