body {
    padding-bottom: 100px;
}

.container {
	position: relative;
}

.navbar{
	margin-bottom: 2rem;
}

.container > .navbar-collapse {
	width: 100%;
}

.container > .navbar-collapse > .navbar-right {
	position: absolute;
    top: 30px;
    right: 0;
}

.container > .navbar-collapse > ul {
	list-style: none;
}

.container > .navbar-collapse > ul > li {
	margin-bottom: 10px;
}

#content{
	width: 1170px;
	padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.navbar >.container{
	display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
	width: 1170px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.navbar-right{
	display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-right > .btn-default {
	height: 34px;
}

.navbar-right {
    float: right !important;
    margin-right: -15px;
}

.navbar-collapse > .navbar-right > .navbar-text {
	margin-right: 1rem;
}

.navbar-collapse > .navbar-right > .navbar-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 20px;
}

#ms_pick_unit_send {
	height: 32px;
}

.modal-footer > .btn-default {
	height: 34px;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #e7e7e7;
}

.form-group {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.sr-only {
	margin-right: 1rem;
}

#username{
	margin-right: 1rem;
	height: 20px;
}

#password{
	margin-right: 1rem;
	height: 20px;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc !important;
    height: 48px;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#select_all, #deselect_all, #invert{
	margin-right: 2rem;
    margin-top: 2rem;
}

#ms_pick_unit_send{
	margin-top: 2rem;	
}

/*.navbar-right > .form-group{
	margin-right: 2rem;
}

.navbar-right > .btn{
	border-color: black;
    height: 38px;
    align-self: end;
    margin-left: 2rem;
}*/

/*.navbar-collapse{
	display: block !important;
}*/

.collapse:not(.show) {
    display: block !important;
}

#ms_pick_unit label {
    text-align: left;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.1em 0.25em;
}

table, th, td {
    border: 1px solid lightgrey;
}

table.report td:nth-child(4),
table.report td:nth-child(5),
table.report td:nth-child(6),
table.report td:nth-child(7),
table.report td:nth-child(8),
table.report td:nth-child(9),
table.report td:nth-child(10){
    text-align: right;
}

thead tr th {
    border-bottom: 2px solid black;
}

tfoot tr td {
    border-top: 3px double black;
    background-color: #767676;
}

tbody tr.sum_category td {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    background-color: lightgrey;
}

tfoot tr.sum_category td {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    background-color: darkgrey;
}

tbody tr.sum_unit td {
    border-top: 3px double black;
    border-bottom: 3px double black;
    background-color: darkgrey;
}

#units_wrapper {
    margin-top: 25px;
    margin-bottom: 25px;
}

#units_select {
    margin-top: 35px !important;
    margin-bottom: 5px !important;
    font-weight: bold;
}

#ms_pick_unit_customer, #ms_pick_unit_template {
    width: 30em;
}

#ms_pick_unit > .row {
	margin: 1rem 0 2rem 0;
}

#ms_pick_unit > .row > .col-sm-6 {
	margin-top: 1rem;
}

#ms_pick_unit > .row > .col-sm-6 > .col-sm-4 {
	margin-top: 10px;
}

#units_table, #units_file {
    margin-top: -3px;
}

.navbar-brand {
    padding: 5px 30px;
}

.navbar #username {
    width: 300px;
}

#top-link-block.affix-top {
    position: absolute; /* allows it to "slide" up into view */
    bottom: -82px;
    left: 10px;
}
#top-link-block.affix {
    position: fixed; /* keeps it on the bottom once in view */
    bottom: 18px;
    left: 10px;
}

div.toolbox {
    float: right;
    margin-top: 25px;
    margin-bottom: 25px
}

div.messages {
    margin: 25px auto;
}

p.bg-danger, p.bg-warning, p.bg-info {
    padding: 15px;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
    display: inline-block;
    text-decoration: inherit;
}

a [class^="icon-"], a [class*=" icon-"] {
    display: inline;
}

[class^="icon-"], [class*=" icon-"] {
    background-image: none;
    background-position: 0 0;
    background-repeat: repeat;
    display: inline;
    height: auto;
    line-height: normal;
    margin-top: 0;
    vertical-align: baseline;
    width: auto;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

#units_file, #units_table {
    width: 14px;
}