a {
	text-decoration: none!important;
}
h6.ti {
	margin-bottom: 0.1rem;
}
div.ti {
	margin-bottom: 10px;
}
input.ti {
	width: 465px;
}
input, select {
    max-width: 500px;
}
.std-w {
	max-width: 1550px;
}
.col-12 {
	/* margin-top: 0px; */
}
/* Visa extra data endast om `data-extra` inte är tomt */
@media (max-width: 768px) {
    #transactionTable td:nth-child(2),
    #transactionTable th:nth-child(2),
	table.resultReport th:nth-child(3),
	table.resultReport td:nth-child(3),
	table.resultReport th:nth-child(4),
	table.resultReport td:nth-child(4){
        display: none !important; /* Använd !important för att säkerställa att regeln tillämpas */
    }
	#transactionTable td:first-child::after {
        content: attr(data-extra);
        display: block;
        font-size: 0.9em;
        color: gray;
        margin-top: 5px;
    }

    /* Dölj `::after` helt om `data-extra` är tomt */
    #transactionTable td:first-child[data-extra=""]::after {
        content: none;
    }
}

.truncate, .mon, .nq {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 350px; /* Justera bredden efter behov */
	
}
td.he, .he .ah, .fir {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100px; /* Justera bredden efter behov */
	
}
.responsive-label {
    display: none;
}
.transFormRow {
	padding-bottom: 6px;
}
/* Visa etiketterna när layouten staplas (vid mindre skärmar) */
@media (max-width: 767.98px) {
    .responsive-label {
        display: block;
        margin-top: 0.5rem; /* Ger lite mellanrum mellan etikett och input */
    }
	.transFormRow {
        border-bottom: 1px solid #ddd; /* Tunnt ljusgrått streck */
		margin-top: 1rem;
		padding-bottom: 1rem; /* Ge raderna lite extra luft */

    }
}

@media (max-width: 768px) { /* För mindre skärmar */
    .truncate, .al .fir {
        min-width: 50px;   /* Minska minsta bredd för små skärmar */
        max-width: 100px;  /* Anpassa maxbredden */
		
	}
	#transactionTable, .ledgerHead, .resultReport, .led, .balanceHead {
		font-size: smaller;
	}
	th.hf .ah, .he .ah, td.he {
		max-width: 110px;
	}
	
}
@media (max-width: 991px) {
	.mon {
		max-width: 70px;
	}
}

.modal-dialog {
	font-size: smaller;
}
.invinsible {
	display: none;
}
#transactionTable {
    
    width: 100%;         /* För att säkerställa att tabellen fyller sitt utrymme */
}
#transactionTable tr td:nth-child(1) {
    /*width: 80px;*/
}

#transactionTable tr td:nth-child(4) {
    text-align: right;
	white-space: nowrap;
	/*min-width: 150px;*/
}
#newTransactionTable {
	border-collapse: separate; /* Gör att border-spacing fungerar */
    border-spacing: 10px; /* Avstånd mellan cellerna */
}

#newTransactionTable tr td:nth-child(1) {
    /*width: 90px;*/
	padding-right: 20px;
}
#newTransactionTable tfoot {
	margin-top: 10px;
    border-top: 1px gray;
}
.fat {
	font-weight: 600 !important;
}
.sm-text{
	font-size: 12px;
	padding-top: 6px;
	margin: 0 0 4px;
	color: #5c6b78;
}
#led {
	background-color: #fff;
    margin-top: 24px;
}

.ledgerHead {
	border-collapse: collapse;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
	/*display: block;*/
}
.ledgerRows {
	width: 100%;
	font-size: 14px;
	border-left: 1px solid #e1e5e8;
	border-right: 1px solid #e1e5e8;
	border-bottom: 1px solid #e1e5e8;
	
}
.ledgerRows td, .ledgerRows th {
	padding: 4px 12px;
    border-bottom: 1px solid #e1e5e8;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
}

tr.expander {
	cursor: pointer;
	/*font-size: 12px;
	border-left: 1px solid #e1e5e8;
	border-right: 1px solid #e1e5e8;*/
}

tr.expander:hover {
	background-color: rgb(250,250,250)
}

td.nq, th.nq {
	width: 140px;
	white-space: nowrap;
    text-align: right;
}
th.hf {
	text-align: left;
	/*width: 45%;*/
}
th.not {
	width: 23%;
}
th.he, th.sr  {
	text-align: right;
	white-space: nowrap;
}
.ah {
	color: #5c6b78;
    font-size: 12px;
    line-height: normal;
    font-weight: 400;
}
	
.sh {
	border-left: 1px solid #e1e5e8;
}
.sr {
	border-right: 1px solid #e1e5e8;
}
.togg {
	text-align: left;
	/*width: 60%;*/

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 120px; /* Justera bredden efter behov */
}
.al, .ah {
    font-weight: 400;
    padding: 8px 12px;
    border-top: 1px solid #e1e5e8;
}
.a1 {
	width: 60%;
}

th.he, td.he{
	text-align: right;
	white-space: nowrap;
	max-width: 50px;
}
table.transsum th.he, table.transsum td.he {
	min-width: none!important;
}

td.tdsm{
	width: 100px;
	white-space: nowrap;
}

.oq {
    background-color: #f5f7f9;
    font-weight: 700;
    height: 34px;
}
header.mh  {
	display: flex;
	flex-direction: column;
	/*margin-bottom: 6px;*/
}
.modal-footer {
	border-top: none !important;
}
header.mh  .hd{
	font-weight: 600;
	margin-bottom: 4px;
}
table.transsum {
	width: 100%;
}
table.transsum td, table.transsum th {
	border-bottom: 1px solid #e1e5e8;
	/*text-align: right;*/
	padding: 12px;
	border-top: none;
}

table.transsum td.mon, table.transsum th.mon {
	text-align: left;
}
table.transsum td.ah {
	text-align: right;
}
table.transsum td.fot {
    border-bottom: none;
    font-size: 12px;
    line-height: normal;
    color: #5c6b78;
    text-align: left;
}
.ah {
	text-align: right;
	padding: 12px;
	border-top: none;
}
td.zl {
	padding: 0;
}

.resultReport {
	margin-bottom: 16px;
	width: 100%;
}
.resultReport thead td, .resultReport tfoot td{
	padding: 8px 12px;
}
.resultReport tfoot, .resultReport thead, .resultReport td.ac{
	font-weight: 600;
}

.balanceHead{
	margin-bottom: 16px;
	width: 100%;
}

.balanceHead td.fir {
	/*min-width: 67%;*/
	padding-left: 8px;
}
td.sec {
	text-align: right;
	width: 130px;
	padding-left: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.balanceHead tfoot, .balanceHead thead{
	font-weight: bold;
}

.balanceHead tr.account,.balanceHead tr.naccount, .balanceHead tr.trans,.resultReport tr.account,.resultReport tr.trans {
	display: none;
	background-color: #F8F8F8;
}
.balanceHead tr.trans, .resultReport tr.trans {
	background-color: #FEF5E7;
}
.balanceHead tr.trans:hover,.resultReport tr.trans:hover {
	background-color: #F8E9D3;
	cursor: pointer;
}

.balanceHead tr.account:hover,.resultReport tr.account:hover {
	background-color: #F5F5F5;
	cursor: pointer;
}
.balanceHead tfoot tr td {
	border-top: 1px solid #e1e5e8;
	padding: 8px 12px 8px 0px;
}
.resultReport tfoot tr td {
	border-top: 1px solid #e1e5e8;
}

.subscription {
	margin-top: 25px;
	background-color: #f5faff;
	width: 310px;
	height: 120px;
	border-radius: 6px;
	border: 1px solid #259cf7;
}

.subscription h2 {
	font-size: 18px;
	font-weight: bold;
	padding: 10px;
}