a {text-decoration: none;}

.bf-status-area {
    position:fixed;
    top:0;
    right:0;
    z-index:1024;
    background-color: rgb(248,249,250);
}
.bf-status-area div {
    padding: 12px;
}
td.bf-col-first {
    max-width: 100px;
}
tr.bf-row-savings .bf-col {
    max-width: 50%;
}
th.bf-col {
    text-align: right;
}
th {
    vertical-align: middle;
}
td.bf-col:not(:empty), td.bf-col-additional:not(:empty), .bf-table-month-label {
    cursor: pointer;
}
tr.bf-row-savings td.bf-col {
    cursor: default;
}
td.bf-col, td.bf-col-additional {
    text-align: right;
    white-space: nowrap;
    vertical-align: middle;
}
.accordion .accordion-button {
    background-color: rgba(33,37,41, 0.03);
    color: black;
    font-weight: bold;;
}
.bf-account-budget{
    display: block;
    font-size: 0.7em;
}
td.bf-col-additional{
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 0;
    font-size: 0.7em;
    line-height: 1.7em;
}
.bf-month-navigation-button {
    cursor: pointer;
    padding: 0 5px;
}
.bf-negative-color {
    color: red !important;
}
.bf-positive-color {
    color: green !important;
}
.bf-dot {
    position: absolute;
    right: 5px;
    top: -8px;
    font-size: 1.2em;
    color: blue;
    animation: pulse 2s infinite;
}
@-webkit-keyframes pulse {
    0% {color: #DDDDFF;}
    50% {color: blue;}
    100% {color: #DDDDFF;}
}
@keyframes pulse {
    0% {color: #DDDDFF;}
    50% {color: blue;}
    100% {color: #DDDDFF;}
}
.bf-dot.bf-dot-green {
    color: green;
    animation: none;
}
.bf-dot.bf-dot-hidden {
    display: none;
}
.bf-negative-color-background {
    background-color: rgba(128,0,0,.3) !important;
}
.bf-positive-color-background {
    background-color: rgba(0,128,0,.3) !important;
}
.bf-status-error {
    color: darkred;
}
.bf-error-border {
    border-color: red !important;
}
.bf-form-error li{
    list-style-type: none;
}
ul.bf-form-error {
    padding-left: 0;
}
.bf-alert{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
}
#bf-page-info {
    display: none;;
}
#sidebarTransactions .card-body div span:first-of-type {
    font-weight: 500;
}
#sidebarTransactionsBody .card {
    cursor: pointer;
}
.bf-account-savings-div,
.bf-account-group-trash .bf-account-edit-button
{
    display: none;
}
.bf-account-group-cost .bf-account-savings-div {
    display: block;
}
.bf-currency {
    position: relative;
}
.bf-currency-input {
    text-align: right;
    padding-right: 22px;
}
.bf-currency:before {
    position: absolute;
    top: 7px;
    content:"kr";
    right: 5px;
}

.bf-account-account-label {
    font-weight: 600;
}
.bf-account-edit-button, .bf-account-add-button {
    cursor: pointer;
}
.card-header {
    font-weight: bold;
}
.bf-drag-handle {
    cursor:all-scroll;
    padding-right: 0!important;
    font-weight: 800;
    font-size: 1.5em;
}

.bf-transaction-step2 select {
    max-width: 300px;
}

.bf-transaction-remove-row-button,
.bf-transaction-readd-row-button  {
    font-family: monospace;
}
tr.bf-transaction-row.disabled .bf-transaction-remove-row-button {
    display: none;
}
tr.bf-transaction-row:not(.disabled) .bf-transaction-readd-row-button {
    display: none;
}
.bf-transaction-readd-row-button,
.bf-transaction-remove-row-button {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.2em;
    font-size: 1.8em;
}
tr.bf-transaction-row.disabled input {
    opacity: 0.5 !important;
    text-decoration: line-through;
}
@media (min-width: 1400px) {
    .bf-col-1, .bf-col-2, .bf-col-3, .bf-col-4 {
        display: table-cell;
    }
    .bf-col-1 .bf-month-navigation-button-next,
    .bf-col-2 .bf-month-navigation-button,
    .bf-col-3 .bf-month-navigation-button,
    .bf-col-4 .bf-month-navigation-button-prev{
        display: none;
    }
    .bf-col-padding {
        width: 50%;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .bf-col-1,
    .bf-col-2 .bf-month-navigation-button-next,
    .bf-col-3 .bf-month-navigation-button,
    .bf-col-4 .bf-month-navigation-button-prev{

        display: none;
    }
    .bf-col-2, .bf-col-3, .bf-col-4 {
        display: table-cell;
    }
    .bf-col-padding {
        width: 50%;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .bf-col-1, .bf-col-2,
    .bf-col-3 .bf-month-navigation-button-next,
    .bf-col-4 .bf-month-navigation-button-prev{
        display: none;
    }
    .bf-col-3, .bf-col-4 {
        display: table-cell;
    }
    .bf-col-padding {
        width: 50%;
    }
}
@media (max-width: 991px) {
    .bf-col-1, .bf-col-2, .bf-col-3 {
        display: none;
    }
    .bf-col-4 {
        display: table-cell;
    }
}

/* Drag accounts */
  .list-item {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
  }

  .flex {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
  }

  .list-row .list-item {
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-align: center;
    align-items: center;
    min-height: 40px;
  }

  .list-item {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
  }

  .list-row .list-item > * {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }

  .drag-location {
    border: 2px dashed #999;
    background: #ede8e8;
  }

/* Autofill selects */
  .select {
	position: relative;
}

.select > input {
	width: 100%;
	box-sizing: border-box;
}

.select__dropdown {
	position: absolute;
	z-index: 1;
	list-style: none;
	margin: 0;
	padding: 1px;
	background: Field;
	color: FieldText;
	border: 1px solid ThreeDShadow;
	border-top: 0;
	left: 0;
	right: 0;
	max-height: 10em;
	overflow-y: auto;
}
.select__dropdown:empty {
	display: none;
}

.select__dropdown [role="option"],
.select__dropdown strong {
	padding: 0.2em 0.4em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: default;
}
.select__dropdown [role="option"].select--selected,
.select__dropdown [role="option"]:hover {
	background: rgba(128,128,128,.2);
	color: inherit;
}
.select__dropdown [role="option"].select--has-focus {
	background: Highlight;
	color: HighlightText;
}
.select__dropdown [role="option"][aria-disabled="true"] {
	background: transparent;
	color: GrayText;
}
.select__dropdown ul {
	margin: 0;
	padding: 0;
}
.select__dropdown ul [role="option"] {
	padding-left: 2em;
}

.select__values {
	display: inline;
	padding: 0;
	margin: 0;
}
.select__values li {
	display: inline-block;
	margin: 0.1em 0.2em;
	margin-inline-start: 0;
	cursor: default;
}
.select__value {
	padding: 0 0.2em;
	background: rgba(128,128,128,.2);
	color: inherit;
	border: 1px solid ThreeDShadow;
	border-radius: 0.3em;
}