div.fcp_container {
    display: block;
    position: relative;
}

div.fcp_container .fcp_header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

div.fcp_container .fcp_header .welcome {
    flex-basis: 100%;
    display: block;
    text-align: left;
}

div.fcp_container .fcp_header .balance {
    flex-basis: 100%;
    display: block;
    text-align: left;
}

@media (min-width: 968px) {
    div.fcp_container .fcp_header {
        flex-direction: row;
    }
    
    div.fcp_container .fcp_header .welcome {
        flex-basis: 60%;
        display: block;
        text-align: left;
    }
    
    div.fcp_container .fcp_header .balance {
        flex-basis: 40%;
        display: block;
        text-align: right;
    }
}

/* Table Styles */
.fcp_body table {
	border-collapse: collapse;
	width: 100%;
	text-align: left;
	vertical-align: middle;
	table-layout: auto;
}

.fcp_body table th,
.fcp_body table td {
	height: 40px;
	padding: 4px 8px;
}

.fcp_body table thead {
	/* background: #0d83dd; */
	background: #006AC4;
	color: #fff;
}
.fcp_body table thead th {
	font-weight: 400;
}

.fcp_body table tbody {
	background: #fff;
	color: #111;
}

.fcp_body table tbody > tr:nth-of-type(odd) { background: #fff; transition: all 0.2s; }
.fcp_body table tbody > tr:nth-of-type(odd):hover { background: #f0f0f0; transition: all 0.2s; }

.fcp_body table tbody > tr:nth-of-type(even) { background: #f7f7f7; transition: all 0.2s; }
.fcp_body table tbody > tr:nth-of-type(even):hover { background: #ececec; transition: all 0.2s; }

.fcp_body table tbody tr td[data-label="Status"] { display: table; width:100%; padding: 0; height: auto; }
.fcp_body table tbody tr td[data-label="Status"] a { display: table-cell; vertical-align: middle; width: 100%; height: 40px; padding: 4px 8px; }

.fcp_body table tbody tr td[data-label="Invoice Number"] { display: table; width:100%; padding: 0; height: auto; }
.fcp_body table tbody tr td[data-label="Invoice Number"] a { display: table-cell; vertical-align: middle; width: 100%; height: 40px; padding: 4px 8px; color: #000; text-decoration: none; font-weight: 700; }

.fcp_body table tbody tr td a.number {
	font-weight: 600;
	text-decoration: none;
	color: rgba(0,0,0,0.7);
	transition: all 0.2s;
}

.fcp_body table tbody tr td a.number:hover {
	color: rgba(0,0,0,1);
	transition: all 0.2s;
}

.fcp_body table tbody tr td a.status {
	font-weight: 400;
	font-size: 0.75em;
	text-decoration: none;
	text-transform: uppercase;
	color: rgba(0,0,0,0.7);
	transition: color 0.2s;
}

.fcp_body table tbody tr td a.status:hover {
	color: rgba(0,0,0,1);
	transition: color 0.2s;
}

.fcp_body table tbody tr td a.status:before {
	display: block;
	content: "";
	margin-bottom: 5px;
	width: 50%;
	height: 3px;
	background: #000;
	border-radius: 2px;
	transition: all 0.2s;
}

.fcp_body table td a.status.disputed:before { background-color: #cacbcc; transition: all 0.2s; }
.fcp_body table td a.status.draft:before { background-color: #cacbcc; transition: all 0.2s; }
.fcp_body table td a.status.sent:before { background-color: #0066eb; transition: all 0.2s; }
.fcp_body table td a.status.viewed:before { background-color: #0066eb; transition: all 0.2s; }
.fcp_body table td a.status.paid:before { background-color: #4BB543; transition: all 0.2s; }
.fcp_body table td a.status.autopaid:before { background-color: #4BB543; transition: all 0.2s; }
.fcp_body table td a.status.retry:before { background-color: #eb1400; transition: all 0.2s; }
.fcp_body table td a.status.overdue:before { background-color: #eb1400; transition: all 0.2s; }
.fcp_body table td a.status.failed:before { background-color: #eb1400; transition: all 0.2s; }
.fcp_body table td a.status.partial:before { background-color: #ebb800; transition: all 0.2s; }

.fcp_body table td a.status.disputed:hover:before { background-color: #b9babb; transition: all 0.2s; height: 4px; width: 55%; }
.fcp_body table td a.status.draft:hover:before { background-color: #b9babb; transition: all 0.2s; height: 4px; width: 55%; }
.fcp_body table td a.status.sent:hover:before { background-color: #004DD2; transition: all 0.2s; height: 4px; width: 55%; }
.fcp_body table td a.status.viewed:hover:before { background-color: #004DD2; transition: all 0.2s; height: 4px; width: 55%; }
.fcp_body table td a.status.paid:hover:before { background-color: #329C2A; transition: all 0.2s; height: 4px; width: 55%; }
.fcp_body table td a.status.autopaid:hover:before { background-color: #329C2A; transition: all 0.2s; height: 4px; width: 55%; }
.fcp_body table td a.status.retry:hover:before { background-color: #eb1400; transition: all 0.2s; height: 4px; width: 55%; }
.fcp_body table td a.status.overdue:hover:before { background-color: #D20000; transition: all 0.2s; height: 4px; width: 55%; }
.fcp_body table td a.status.failed:hover:before { background-color: #D20000; transition: all 0.2s; height: 4px; width: 55%; }
.fcp_body table td a.status.partial:hover:before { background-color: #D29F00; transition: all 0.2s; height: 4px; width: 55%; }

.fcp_body table td a.action {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background: #0d83dd;
	border-radius: 100%;
	height: 28px;
	width: 28px;
	cursor: pointer;
	opacity: 0.8;
	transition: all 0.2s;
}

.fcp_body table td a.action:nth-child(2) {
	background: #85c525;
}

.fcp_body table td a.action:hover {
	opacity: 1;
	transition: all 0.2s;
}

.fcp_body table td a.action img {
	max-width: 16px;
	max-height: 16px;
}


.fcp_body.collapsed table { border: none; }
.fcp_body.collapsed table tbody { background: transparent; }

.fcp_body.collapsed table,
.fcp_body.collapsed table thead,
.fcp_body.collapsed table tbody,
.fcp_body.collapsed table thead th,
.fcp_body.collapsed table tbody tr { display: block; }

.fcp_body.collapsed table tbody td,
.fcp_body.collapsed table tbody tr td[data-label="Status"], 
.fcp_body.collapsed table tbody tr td[data-label="Invoice Number"] {
	display: flex;
	width: auto;
	align-items: center;
	padding: 4px 8px;
}

.fcp_body.collapsed table tbody tr td[data-label="Status"] a,
.fcp_body.collapsed table tbody tr td[data-label="Invoice Number"] a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0;
	width: 50%;
}

.fcp_body.collapsed table tbody tr td[data-label="Action"] a {
	margin-right: 5px;
}

.fcp_body.collapsed table thead { position: absolute; top: -999999px; left: -999999px; }

.fcp_body.collapsed table tbody tr {
	margin: 20px 10px;
	box-shadow: 0px 2px 7px rgba(0,0,0,0.2);
}

.fcp_body.collapsed table tbody > tr:nth-of-type(odd),
.fcp_body.collapsed table tbody > tr:nth-of-type(odd):hover,
.fcp_body.collapsed table tbody > tr:nth-of-type(even),
.fcp_body.collapsed table tbody > tr:nth-of-type(even):hover { background: #fff; }

.fcp_body.collapsed table tbody tr > td:nth-child(even) {
	background: #fff;
}
.fcp_body.collapsed table tbody tr > td:nth-child(odd) {
	background: #f0f0f0;
}


.fcp_body.collapsed table tbody tr > td:first-of-type {
	background: #0d83dd;
}

.fcp_body.collapsed table tbody tr > td:before {
	content: attr(data-label);
	width: 50%;
}

.fcp_body.collapsed table tbody tr > td:first-of-type:before {
	color: #fff;
}

.fcp_body.collapsed table tbody tr > td:first-of-type a {
	color: #fff;
	text-decoration: none;
}

.fcp_body.collapsed table tbody tr > td:first-of-type a:hover {
	color: #fff;
}
