.posted-activity {
    border: 1px solid #bebebe;
    border-radius: 3px;
    position: relative;
}
.posted-activity > .row {
	padding: 0 15px;
}
.posted-activity > .row:first-child {
	padding-top: 15px;
}
.posted-activity > .row:last-child {
	padding-bottom: 15px;
}

.statement-date-form {
	margin: 0 0 1rem 0;
}
.view-pdf-container {
	text-align: right;
}
button.view-pdf {
	background-color: transparent;
	color: #424242;
	padding: 0.25rem 0.35rem 0 0;
	margin-right: 15px;
	font-size: 0.8rem;
	font-weight: 300;
	transition: color 0.5s ease;
}
button.view-pdf:hover {
	color: #0d649a;
}
@media only screen and (min-width: 64.063em) {
	button.view-pdf {
		padding: 0.45rem 0.35rem 0 0;
		margin-right: 15px;
	}
}


/* TABLE */
.posted-activity table {
	border: none;
	width: 100%;
}

.posted-activity table thead {
	background: #0d649a;
}
.posted-activity table thead th {
	background: #0d649a;
	color: #fff;
	font-weight: 300;
}
.posted-activity table thead th:first-child {
	border-radius: 3px 0 0 0;
	width: 17%; /* new - date size for 3 column table */
}
.posted-activity table thead th:last-child {
	border-radius: 0 3px 0 0;
	text-align: right;
}

.posted-activity table tr:nth-child(odd) {
	background: #daebf5;
}
.posted-activity table tr:nth-child(even) {
	background: #fff;
}
.posted-activity table td {
	font-size: 0.8rem;
	text-transform: uppercase;
	font-weight: 300;
}
.posted-activity table td:last-child {
	text-align: right;
}

.posted-activity .table-ad-row td {
	padding: 0 !important;
}

.posted-activity .table-ad {
	display: block;
	background: #5394be;
	width: 100%;
	text-transform: none;
	text-align: left;
	color: #fff;
	padding: 0.52625rem 0.625rem;
	-webkit-transition: background-color 300ms ease-out;
	-moz-transition: background-color 300ms ease-out;
	transition: background-color 300ms ease-out;
}
.posted-activity .table-ad:hover {
	background: #3c7ba3;
}

.posted-activity .table-ad .table-ad-heading {
	font-weight: 500;
	font-size: 1em;
	display: block;
}
.posted-activity .table-ad .table-ad-subheading {
	font-weight: 300;
	font-size: .8em;
	padding-top: 5px;
	display: block;
}

.table-ad-button {
	padding: 0.7rem 1.5rem 0.8rem;
	font-size: .9rem;
	margin: auto;
}
.table-ad-button:hover {
	background: #00456a;
}

.posted-activity .load-more-button {
	display: block;
	background: #fff;
	font-weight: 500 !important;
	color: #076191;
	border: none;
	width: 100%;
	margin-bottom: 0;
}

.end-process, .end-process .disabled {
	display: block;
	background: #fff !important;
	font-weight: 500 !important;
	color: #CCCCCC !important;
	border: none;
	/* width: 100%; */
	margin-bottom: 0;
	cursor: default;
}

.posted-activity .posted-activity-table .show-mobile {
	display: none;
}

	/* MEDIA QUERIES */
	@media only screen and (max-width:1024px) {
		.posted-activity table,
		.posted-activity thead,
		.posted-activity tbody,
		.posted-activity th,
		.posted-activity td,
		.posted-activity tr {
			display: block;
		}
		.posted-activity thead tr {
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		.posted-activity tr {
			border: none;
		}
		.posted-activity td {
			border: none;
			position: relative;
			padding-left: 50%;
			font-size: .8rem;
			font-weight: 300;
			text-align: right;
		}
		.posted-activity td:before {
			position: absolute;
			top: inherit;
			left: 10px;
			width: 45%;
			padding-right: 10px;
			white-space: normal;
			font-weight: 500;
			text-align: left;
			line-height: 1em;
		}
		.posted-activity td:nth-of-type(1):before { content: "SALE DATE"; }
		.posted-activity td:nth-of-type(2):before { content: "DESCRIPTION"; }
		.posted-activity td:nth-of-type(3):before { content: "AMOUNT"; }
		.posted-activity td:nth-of-type(4):before { content: "PURCHASES"; }
		.posted-activity td:nth-of-type(5):before { content: "CASH ADVANCES"; }

		.posted-activity td:nth-of-type(3) {
			padding-left: 40%;
		}
		.posted-activity td:nth-of-type(3),
		.posted-activity td:nth-of-type(4) {
			text-transform: uppercase;
		}
		.posted-activity td:nth-of-type(3):before,
		.posted-activity td:nth-of-type(4):before {
			text-transform: none;
		}
		
		/* only show first 4 posted activity when mobile */
		/*.posted-activity tr:nth-child(n+5) {
			display: none;
		}*/

		.posted-activity .posted-activity-table .show-desktop {
			display: none;
		}
		.posted-activity .posted-activity-table .show-mobile {
			display: block;
		}

	}
	/* end MEDIA QUERIES */

/* END TABLE */



/* New Stuff for New Table Layout */
.posted-activity .inline-ad {
	background: #5394be;
	text-transform: none;
	text-align: left;
	color: #fff;
	/*margin-left: 20px !important;*/
	/*margin-right: 20px !important;*/
	padding-right: 0.9375rem;
	padding-left: 0.9375rem;
	cursor: pointer;
	-webkit-transition: background-color 300ms ease-out;
	-moz-transition: background-color 300ms ease-out;
	transition: background-color 300ms ease-out;
}
.posted-activity .inline-ad:hover {
	background: #3c7ba3;
}
.posted-activity .inline-ad h3 {
	font-weight: 500;
	font-size: 1em;
	display: block;
	color: #FFF;
	margin-left: -15px;
}
.posted-activity .inline-ad h4 {
	font-weight: 300;
	font-size: .8em;
	display: block;
	color: #FFF;
	margin-top: -7px;
	margin-left: -15px;
}
.inline-ad-button {
	padding: 0.7rem 1.5rem 0.8rem;
	font-size: .9rem;
	margin-right: -20px;
	margin-top: 6px;
	margin-bottom: 6px;
	float: right !important;
}
.posted-drop-down-icon {
	color:#076191 !important;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	}
.open-drop-down {
	-webkit-transform: rotate(-180deg);
	transform: rotate(-180deg);
}

.rotate-icon {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

#posted-arrow-rotation {
    -webkit-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    -webkit-transform-origin: 30% 50%;
    transform-origin: 30% 50%;
}

#posted-arrow-rotation open {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.posted-activity-main-row {
	margin-left: 0.9375rem !important;
	margin-right: 0.9375rem !important;
}
.posted-activity-header-row {
    background-color: #5394BE;
    color: #FFF;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: .875rem;
}
.posted-row:nth-child(even) .posted-activity-date-row {
	padding-top:10px; 
	padding-bottom:10px;
	font-size: .8rem;
	background-color: #DAEBF5;
}
.posted-row:nth-child(odd) .posted-activity-date-row {
    padding-top:10px; 
	padding-bottom:10px;
	font-size: .8rem;
	background-color: #FFF;
}
.posted-row .posted-activity-date-row:hover {
	background-color: #5394BE;
/*	border: 1px solid #0D649A;*/
	box-shadow: 3px 3px 3px #cdcdcd;
	cursor: pointer;
	color: #FFF;
	z-index: 3;
}
.posted-activity-drop-row {
	padding-top:5px; 
	padding-bottom:5px;
	font-size: .75rem;
	border-top: 1px dashed #5394BE !important;
	border-bottom: 1px solid #076191 !important;
	background-color: #f5f5f5 !important;
	cursor: pointer;
	line-height: 1.9;
}

.posted-activity-table-container {
	/*padding: 0 0.9375rem 1rem;*/
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.posted-activity h2 {
    font-size: 30px;
    font-weight: 300;
}

.amount-data {
    text-align: right;
}

.posted-activity-selected-container {
	margin-bottom: 1rem !important;
}

.rate-summary-header {
	margin-top: 1rem;
}

@media only screen and (max-width:1025px) {
	.inline-ad-button {
		padding: 0.7rem 1.5rem 0.8rem;
		font-size: .9rem;
		margin-right: -20px;
		margin-top: 6px;
		margin-bottom: 6px;
		float: left !important;
		margin-left: -15px;
}
	.posted-activity-header-row {
		background-color:#0D649A; 
		color: #FFF; 
		padding-top:10px !important; 
		padding-bottom:10px !important;
		padding-left: 15px;
		font-size: 1rem;
}
	.posted-activity-date-row {
		padding-top:5px; 
		padding-bottom:5px;
		font-size: .75rem;
		background-color: #DAEBF5;
		line-height: 1.8;
	}
	.posted-activity-data {
		padding-left: 15px !important;
	}
	.posted-drop-down-icon {
		margin-top: -45px;
	}
	.posted-activity-drop-row {
		padding-top:5px; 
		padding-bottom:5px;
		font-size: .8rem;
		border-top: 1px dashed #ccc;
		cursor: pointer;
		border-bottom: 1px dashed #ccc;
		background-color: #F5F5F5;
		line-height: 1.6;
	}
	.amount-data {
		text-align: left;
	}
}
