/*
Download page general styling
For FileZigZag
By humam_babi@yahoo.com, 2019
*/

/* Title, icon, & Sub-title */
#dnpg-title-container {
	display: flex;
	flex-direction: row;
	align-items: center;
}
#dnpg-title-container svg {
	margin-right: 1rem;
}
#dnpg-title-text {
	font-size: 1.3rem;
	font-weight: bold;
}
#dnpg-subtitle {
	margin-left: calc(48px + 1rem);
	line-height: 2rem;
}

/* File list table */
.fileresult_table {
	width: 100%;
	display: flex;
	flex-direction: column;
	margin: 0.5rem 0;
	background-color: white;
	/*
	-webkit-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.33);
	-moz-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.33);
	box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.33);
	*/
	border: 1px solid #eaeaea;
}

.fr_header {
	width: 100%;
	background: #f3f3f3;
	/*
	background: -moz-linear-gradient(top, #fafafa 0%, #f0f0f0 100%);
	background: -webkit-linear-gradient(top, #fafafa 0%, #f0f0f0 100%);
	background: linear-gradient(to bottom, #fafafa 0%, #f0f0f0 100%);
	*/
	border-bottom: 1px solid #ddd;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.fr_headeritem {
	padding: 0.6rem 0.4rem;
	color: #888;
	font-size: 0.9rem;
	font-weight: bold;
}

.fr_headeritem:nth-child(1) {
	width: 70%;
}
.fr_headeritem:nth-child(2) {
	width: 30%;
	/*text-align: center;*/
	text-align: right;
}

.fr_headeritem#downloadall_cell {
	padding: 0.4rem 0.3rem; /* Overwrite .fr_headeritem alone */
	display: flex;
	flex-direction: row;
	align-items: center;
	/*justify-content: center;*/
	justify-content: flex-end;
	font-weight: normal;
}

.fr_body {
	display: flex;
	flex-direction: column;
}

.fr_row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	overflow: hidden;
}
/*
.fr_row:nth-child(even) {
	background: rgb(252, 241, 237);
}
.fr_row:nth-child(odd) {
	background: #fafafa;
}
*/
/*.fr_row {
	background: #fafafa;
}*/


.fr_cell {
	padding: 0.4rem 0.4rem;
	font-size: 0.85rem;
}

.fr_cell:nth-child(1) {
	width: 70%;
	text-overflow: ellipsis;
	overflow: hidden;
	
	/* Only for the 1st item of the table: the file name */
	display: flex;
   flex-direction: row;
   align-items: center;
}
.fr_cell:nth-child(2) {
	width: 30%;
	display: flex;
	flex-direction: row;
	align-items: center;
	/*justify-content: center;*/
	justify-content: flex-end;
}

.fr_postnote {
	width: 100%;
	text-align: center;
	font-size: 0.9rem;
	color: #de6012;
	font-weight: bold;
}

.fr_more {
	width: 100%;
	text-align: center;
}
