#update_txt {
	width: 500px;
}

.warning {
	vertical-align: top;
}

#progress_bar {
	border: 1px solid rgb(99,168,0);
	width: 184px;
	height: 15px;
	margin: 0;
	vertical-align: -2px;
}

#progress {
	width: 0px;
	height: 100%;
	background-color: rgb(99,168,0);
	margin: 0;
}

#progress_text {
	width: 35px;
	text-align: center;
	color: rgb(85, 85, 85);
}

#update_version {
	text-align: left;
}

#filename {
	width: 360px;
}

#scan_button {
	width: 61px;
}

.content .display_off {
	display: none;
}

#update_image {
	width: 18px;
	height: 18px;
	vertical-align: -3px;
	margin-left: 10px;
}

.large_button {
	width: 120px;
	height: 30px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
}

#main_content .content_box {
	margin-bottom: 30px;
}

body.update_page #main_content .content > div {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 12px;
}

body.update_page #main_content .update_action_row,
body.update_page #main_content .update_backup_row {
	align-items: flex-start;
}

body.update_page #main_content .update_action_pair {
	display: grid;
	grid-template-columns: repeat(2, 140px);
	column-gap: 20px;
	row-gap: 10px;
	width: 300px;
}

body.update_page #main_content .update_action_pair > *:first-child {
	justify-self: start;
	margin-left: 0 !important;
}

body.update_page #main_content .update_action_pair > *:last-child {
	justify-self: start;
	margin-left: 0 !important;
}

body.update_page #main_content .update_action_pair > #scan_button.display_off + #update_apply {
	grid-column: 1;
	justify-self: start;
}

body.update_page #main_content #scan_button,
body.update_page #main_content #update_apply,
body.update_page #main_content #backup_firmware,
body.update_page #main_content #backup_config {
	width: 140px !important;
	min-width: 140px !important;
	margin-left: 0 !important;
}

body.update_page #main_content .update_status_group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	min-height: 32px;
}

body.update_page.update_uploading #main_content .update_action_row .update_action_pair {
	grid-template-columns: 140px;
	width: 140px;
}

body.update_page.update_uploading #main_content .update_action_row .update_status_group {
	margin-left: 0;
}

body.update_page #main_content #filename {
	max-width: 360px;
}

@media (max-width: 860px) {
	body.update_page #main_content .content .small_title {
		width: 100%;
		padding-right: 0;
		text-align: left;
	}

	body.update_page #main_content .update_action_pair {
		width: 100%;
		grid-template-columns: 1fr;
	}

	body.update_page #main_content #filename {
		width: 100%;
		max-width: 100%;
	}

	body.update_page #main_content .update_action_pair > *:last-child {
		justify-self: start;
	}
}
