/*
Page's general styling
For FileZigZag
By humam_babi@yahoo.com, 2019
*/

.anim_background {
	background: gray url("../images/geometry.png") repeat-x;
	width: 100%;
	min-height: 290px;
	margin: 0;
	animation: slide_bkgnd 13s linear infinite;
}
@keyframes slide_bkgnd {
    from { background-position: 0 0; }
    to { background-position: 300px 0; }
}

.addfiles_container {
	width: 100%;
	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);
	padding: 3px 3px;
	position: relative;
}

.addfiles_cover {
	background-color: rgba(0, 0, 0, 0.1);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: no-drop;
}
.cover_hidden {
	display: none;
}

.addfiles_dashes {
	border: 0.15rem dashed #bbb;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 69px;
}

.addfiles_body {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	margin-top: 1rem;
	margin-bottom: 0.7rem;
	width: 80%;
}

.dropfiles {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-weight: normal;
	font-size: 1.1rem;
	transition: all 500ms ease;
}

.addfiles_or {
	font-size: 1rem;
	color: #888;
}

.main_browse {
	display: flex;
	flex-direction: row;
	align-items: center;
	border: 0;
	background-color: #dde5dd;
	padding: 0.5rem 0.6rem;
	border-radius: 0.25rem;
	font-family: ABeeZee, "Segoe UI", Tahoma, sans-serif;
	font-size: 0.95rem;
	cursor: pointer;

}
.main_browse:focus {
	outline: 0;
	background-color: #ccd5cc;
}
.main_browse:active {
	background-color: #bbc5bb;
	padding-top: 0.55rem;
	padding-bottom: 0.45rem;
}

.addfiles_limits {
	font-size: 0.85rem;
	font-style: italic;
	margin: 0.5rem 0;
	color: #999;
	text-align: center;
}

@media all and (max-width: 750px) {
	.addfiles_body {
		flex-direction: column;
		margin-top: .5rem;
		margin-bottom: .1rem;
	}
	
	h4.page_subtitle {
		margin-bottom: .1rem;
	}

	.main_browse {
		margin-top: 1rem;
		margin-bottom: 0.5rem;
	}

	.addfiles_dashes {
		height: unset;
	}
}
@media all and (max-width: 560px) {
	h4.page_subtitle {
		margin-top: .1rem;
		margin-bottom: 0;
		font-size: .85rem;
	}

	h1.page_title {
		margin-top: .5rem;
		margin-bottom: .5rem;
		font-size: 1.3rem;
	}

	.main_browse {
		margin-top: .5rem;
		margin-bottom: .4rem;
	}

	.dropfiles {
		font-size: .9rem;
	}
}

.file_input {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

/*
table.filelist_table td:nth-child(3) {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.cell_invalid {
	text-decoration: line-through;
	color: #cc0000;
}
*/

.filelist_container {
	width: 100%;
	display: none;
}

.filelist_title {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	font-weight: bold;
}

.filelist_tblcont {
	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);
	font-family: ABeeZee, "Segoe UI", Tahoma, sans-serif;
	width: 100%;
	border: 1px solid #ddd;
}

.filelist_header {
	background: #f0f5f0;
	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;
	font-size: 0.9rem;
	font-weight: bold;
	color: #888;
	display: flex;
	flex-direction: row;
	align-items: center;
}

@media all and (max-width: 750px) {
	.filelist_header {
		display: none;
	}
}

.filelist_head_cell {
	padding: 0.6rem 0.4rem;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.filelist_body_cell {
	padding: 0.4rem 0.4rem;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.filelist_body {
	font-size: 0.85rem;
}

.filelist_body_row, .fl_setallfmts {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.filelist_body_row:nth-child(even) {
	background: #fcf1ed;
}
@media all and (max-width: 750px) {
	.filelist_body_row {
		flex-wrap: wrap;
	}
}

.fl_setallfmts {
	border-top: 1px solid #ccc;
	background-color: #f9f9f9;
}

.filelist_head_cell:nth-child(1), .filelist_body_cell:nth-child(1) {
	width: 1.55rem;
	justify-content: center;
	text-align: center;
}
.filelist_head_cell:nth-child(2), .filelist_body_cell:nth-child(2) {
	width: calc(100% - (1.55rem + 8.5rem + 7.5rem));
	justify-content: start;
	text-align: left;
}
@media all and (max-width: 750px) {
	.filelist_body_cell:nth-child(2) {
		width: calc(100% - 1.55rem);
		justify-content: space-between;
	}
}

.filelist_filestuff {
	width: 16rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
@media all and (max-width: 750px) {
	.filelist_filestuff {
		margin-left: 1.55rem;
		width: calc(100% - 1.55rem);
		justify-content: space-between;
	}
}

.filelist_head_targetfmt {
	width: 8.5rem;
	padding: 0.6rem 0.4rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.filelist_head_modify {
	width: 7.5rem;
	padding: 0.6rem 0.4rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.filestuff_body_targetfmt {
	width: 8.5rem;
	padding: 0.4rem 0.4rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.filestuff_body_modify {
	width: 7.5rem;
	padding: 0.4rem 0.4rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.filestuff_body_targetfmt span {
	font-size: 0.7rem;
	display: none;
}

@media all and (max-width: 750px) {
	.filestuff_body_targetfmt {
		flex-grow: 1;
		justify-content: flex-start;
	}
	.filestuff_body_modify {
		width: 5.5rem;
		justify-content: flex-end;
	}
	.filestuff_body_targetfmt span {
		display: inline-block;
		white-space: nowrap;
	}
}

.setallfmts_label {
	width: calc(100% - (1.55rem + 8.5rem + 7.5rem)); /* Same as the 2nd cell */
	justify-content: end;
	text-align: right;
	padding: 0.4rem 0.4rem;
	font-weight: bold;
}
@media all and (max-width: 750px) {
	.setallfmts_label {
		width: calc(100% - 1.55rem);
	}
	.fl_setallfmts .filelist_body_cell:nth-child(1) {
		display: none;
	}

}

.fl_setallfmts .filelist_filestuff {
	justify-content: flex-start;
}

.filelist_body select {
	width: 7.1rem;
}

.fl_bodycell_mod {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-decoration: none;
}
.fl_bodycell_mod img {
	margin: 0 0.25rem;
}
.fl_bodycell_mod:hover {
	text-decoration: underline;
}
.a_disabled {
	color: #777;
	pointer-events: none;
	cursor: default;
}

.fl_bodycell_fn {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.fl_bodycell_fs {
	color: #888;
	font-size: 0.7rem;
	white-space: nowrap;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.fl_bodycell_fs svg {
	fill: #de6012;
	width: 0.85rem;
	height: 0.85rem;
}

.fl_bodycell_fi {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.fl_bodycell_fi svg {
	fill: #777;
	width: 0.9rem;
	height: 0.9rem;
}
@media all and (max-width: 750px) {
	.fl_bodycell_fi {
		display: none;
	}
}

.fl_fn_targetfmt {
	color: #de6012;
	white-space: nowrap;
	font-size: 0.85rem;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.filestuff_working {
	display: none;
	flex-direction: row;
	align-items: center;
}

/**/

.addmorefiles {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.animarrow_left, .animarrow_right {
	position: relative;
	top: 13px;
}
.animarrow_left span {
	display: block;
	width: 8px;
	height: 8px;
	border-bottom: 2px solid #E75E1A;
	border-right: 2px solid #E75E1A;
	transform: rotate(315deg);
	margin: -8px;
	animation: animate_l 2s infinite;	
}
.animarrow_right span {
	display: block;
	width: 8px;
	height: 8px;
	border-bottom: 2px solid #E75E1A;
	border-right: 2px solid #E75E1A;
	transform: rotate(135deg);
	margin: -8px;
	animation: animate_r 2s infinite;	
}

.animarrow_left span:nth-child(2) {
	animation-delay: -0.2s;
}

.animarrow_left span:nth-child(3) {
	animation-delay: -0.4s;
}

.animarrow_right span:nth-child(2) {
	animation-delay: -0.2s;
}

.animarrow_right span:nth-child(3) {
	animation-delay: -0.4s;
}

@keyframes animate_l {
	0% { opacity: 0; transform: rotate(315deg) translate(-33px, -33px); }
	50% { opacity: 1; }
	100%{ opacity: 0; transform: rotate(315deg) translate(-3px, -3px); }
}

@keyframes animate_r {
	0% { opacity: 0; transform: rotate(135deg) translate(-37px, -37px); }
	50% { opacity: 1; }
	100%{ opacity: 0; transform: rotate(135deg) translate(-7px, -7px); }
}

.btn_container {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0.5rem 0;
}

.btn_convert {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0.4rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.95rem;
	font-weight: bold;
	cursor: pointer;
}
.btn_convert:focus {
	outline: 0;
}
.btn_convert:active {
	padding-top: 0.45rem;
	padding-bottom: 0.35rem;
}

.conv_start {
	border: 1px solid #88dd88;
	background-color: #dde5dd;
	color: #339933;
}
.btn_convert.conv_start:hover {
	border: 1px solid #33bb33;
}
.btn_convert.conv_start:focus {
	background-color: #ccd5cc;
}
.btn_convert.conv_start:active {
	background-color: #ccd5cc;
}

.conv_cancel {
	border: 1px solid #dd8888;
	background-color: #e5dddd;
	color: #993333;
}
.btn_convert.conv_cancel:hover {
	border: 1px solid #bb3333;
}
.btn_convert.conv_cancel:focus {
	background-color: #d5cccc;
}
.btn_convert.conv_cancel:active {
	background-color: #d5cccc;
}

select {
	font-family: ABeeZee, "Segoe UI", Tahoma, sans-serif;
	font-size: 0.9rem;
}

@media all and (max-width: 750px) {
	.target_section {
		flex-direction: column;
	}
	
	.btn_convert {
		margin-top: 0.7rem;
	}
}

.progress_frame {
	height: 10px;
	width: 7rem;
	background-image: -webkit-linear-gradient(top, #c6c6c6, #e1e1e1);
	background-image: linear-gradient(to bottom, #c6c6c6, #e1e1e1);
	border: 1px solid #a0a0a0;
	border-radius: 5px;
	margin: 0.25rem 0;
	position: relative;
}

.progress_valbar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-image: -webkit-linear-gradient(top, #f9c875, #ef6f28);
	background-image: linear-gradient(to bottom, #f9c875, #ef6f28);
	border-radius: 5px;
	border: 1px solid #e16001;
	transition: width 333ms ease;
	-webkit-transition: width 333ms ease;
}

@media all and (max-width: 750px) {
	.progress_frame {
		width: 5rem;
	}
}

.pg_waiting {
	background: url("../images/prg_bk.png") repeat 0 0;
	width: 100%;
	box-sizing: border-box;
	background-size: 26px 6px;
	animation: slide_prg 1s linear infinite;
}
@keyframes slide_prg {
    from { background-position: 0 0; }
    to { background-position: 26px 0; }
}

.file-privacy {
	font-size: 0.85rem;
	text-align: center;
	background-color: #e8e7e8;
	color: #5a5a5a;
	border: 1px solid #d9d7d9;
	padding: 0.4rem 0.5rem;
	line-height: 1.3rem;
}
.av-list {
	margin: 0.3rem 0 0 0;
}
.av-list img {
	height: 55px;
	width: auto;
	border: 1px solid #d9d7d9;
}

.need-more-formats {
	font-size: 0.85rem;
	text-align: center;
	background-color: #e8e7e8;
	color: #5a5a5a;
	border: 1px solid #d9d7d9;
	padding: 0.4rem 0.5rem;
}
.nmf-title {
	color: #de6012;
   font-weight: bold;
   font-size: 0.9rem;
}
.semilink {
	color: #5a5a5a;
	text-decoration: none;
	border-bottom: 1px dotted #5a5a5a;
}
.semilink:hover {
	color: #999;
	border-bottom: 1px solid #999;
}