.wrap h1 {
	margin-bottom: 25px;
}
.dw-top-actions {
	display: flex;
	justify-content: space-between;
}
#dw-bulk-actions {
	margin-right: 5px;
}

#dw-reload .loader {
	margin: 10px auto;
}

#dw-saves {
	margin: 25px 0;
	width: 100%;
	border-collapse: collapse;
	border: 1px solid lightgrey;
}

#dw-saves thead {
	background-color: #DDD;
	border-bottom: 1px solid lightgrey;
}
#dw-saves thead tr th, #dw-saves tbody tr td {
	font-weight: normal;
	padding: 10px 0;
	box-sizing: border-box;
	text-align: left;
}
#dw-saves tbody tr {
	background-color: #FFF;
	border-bottom: 1px solid lightgrey;
}
#dw-saves tbody tr:nth-child(2n+1) {
	background-color: #F9F9F9;
}
#dw-saves tr > *:nth-child(1) {width: 70px;  padding-left: 25px;}
#dw-saves tr > *:nth-child(2) {width: 150px; padding-left: 10px;}
#dw-saves tr > *:nth-child(3) {width: 150px; padding-left: 10px;}
#dw-saves tr > *:nth-child(4) {padding-left: 10px;}
#dw-saves tr > *:nth-child(5) {width: 70px; padding-left: 10px;}
#dw-saves tr > *:nth-child(6) {width: 200px; text-align: center;}

#dw-saves tbody tr > td:last-child > a:first-child {margin-right: 10px;}

#dw-steps {
	display: flex;
}
#dw-steps > div {
	background-color: #DDD;
	border: 1px solid lightgrey;
	border-radius: 5px;
	height: 30px;
	padding: 0 10px;
	margin-right: 10px;
	display: flex;
	align-items: center;
}
#dw-steps > .active-step {
	background-color: #777;
	color: white;
	font-weight: bold;
}

.dw-save-tabs {
	margin: 25px 0;
	padding: 20px;
	box-sizing: border-box;
	width: 100%;
	min-height: 400px;
	background-color: white;
}

#dw-save-category ul {
	margin: 0;
	display: flex;
}
#dw-save-category ul li {
	height: 30px;
	padding: 0 25px;
	margin: 0;
	display: flex;
	align-items: center;
	cursor: pointer;
}
#dw-save-category ul li.save-sel {
	border: 1px solid lightgrey;
	border-bottom: 0;
	background-color: #FDFDFD;
	font-weight: bold;
}
#dw-save-content {
	border: 1px solid lightgrey;
	background-color: #FDFDFD;
	padding: 20px;
}

.save-name {
	display: flex;
	flex-direction: column;
}
.save-name label {
	font-weight: 500;
	font-size: 1.2em;
	margin: 0 0 3px 8px;
}
#save-name-validity {
	margin-top: 0;
	margin-left: 10px;
	height: 20px;
}
.name-true {
	color: green;
}
.name-false {
	color: red;
}

.save-db-only, .save-file-only, .save-extension-filter, .save-installer-type, .save-user-filter, .save-track-filter {
	margin: 10px 0 0 10px;
}
#save-installer-type {
	margin-left: 10px;
}
#dw-save-general > hr {
	border-bottom: 0;
	border-top: 1px solid lightgray;
	margin: 20px 0;
}

.save-db-rename {
	margin: 30px 0;
}
.save-db-rename-list > div {
	display: flex;
	align-items: center;
	margin-top: 10px;
}
.save-db-rename-list > div > * {
	margin-right: 10px;
}

.save-db-list {
	margin-top: 30px;
}
.save-db-list > ul {
	columns: 4;
}
.save-db-list-action > a:nth-child(n+2) {
	margin-left: 10px;
}

#dw-save-action {
	display: flex;
	justify-content: flex-end;
}
#dw-save-action > a {
	margin-left: 5px;
}

#dw-save-popup {
	background-color: white;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10001;
	display: flex;
	flex-direction: column;
	width: 350px;
}
#dw-save-popup header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 30px;
	padding: 0 10px;
	border-bottom: 1px solid lightgrey;
}
#dw-save-popup header p {
	margin: 0;
	font-weight: 500;
}
#dw-save-popup-close {
	text-decoration: none;
}

#dw-save-popup section {
	padding: 10px;
}
#dw-save-popup section p {
	margin: 0;
	margin-bottom: 25px;
}
#dw-save-popup section div {
	display: flex;
	justify-content: flex-end;
}
#dw-save-popup section div a:first-child {
	margin-right: 5px;
}

#dw-save-file > div:last-child > div {
	display: flex;
	flex-direction: column;
}
#dw-save-file .save-file-filter, #dw-save-file div:last-child > div {
	margin-bottom: 20px;
}

.loader-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.content-box {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.save-status {
	margin-bottom: 0;
	font-size: 1.2em;
}

.exec-time-p {
	margin: 0;
	font-size: .8em;
	color: #777;
}
.copy-status {
	margin-top: 10px;
}

h2 {
	font-size: 1.8em;
}
.download-box, .ftp-upload-box {
	margin-top: 30px;
	padding: 10px 40px 20px 40px;
	border: 1px solid #DDD;
	min-width: 300px;
}
.download-box h3, .ftp-upload-box h3 {
	text-align: center;
	margin-top: 0;
	margin-bottom: 25px;
}
.download-button {
	display: flex;
	justify-content: center;
}
.download-button > a:first-child {
	margin-right: 10px;
}

#dw-save-check-list {
	width: 600px;
}
#dw-save-check-list > * {
	margin: 0;
	border: 1px solid lightgrey;
	padding: 10px;
}
#dw-save-check-list > li {
	display: flex;
	justify-content: space-between;
	cursor: pointer;
}
#dw-save-check-list > div {
	padding: 20px;
	display: none;
}
#dw-save-check-list > div > p {
	margin: 0;
}
#dw-save-check-list > div > p:first-child {
	margin-bottom: 10px;
}
#dw-save-check-list > li > div:first-child {
	margin-left: 10px;
	margin-right: auto;
	font-weight: bold;
}

#dw-save-check-list > li::before{
	content: '';
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid black;
	width: 0;
	height: 0;
	position: relative;
	top: 4px;
}

#dw-save-check-list > .open {
	background-color: #FAFAFA;
}
.open::before {
	transform: rotate(90deg);
}
#dw-save-check-list > li.open + div {
	display: block;
}
#dw-save-check-list > .db + div > ul > li {
	display: flex;
	justify-content: space-between;
}
#dw-save-check-list > .db + div > ul > li:nth-child(n+2) {
	border-top: 1px solid lightgray;
}
#dw-save-check-list > .db + div > ul > li > span:first-child {
	font-weight: bold;
}

#dw-save-storage > * {
	margin-bottom: 20px;
}
#dw-save-storage .save-storage-ftp-filter {
	margin-bottom: 20px;
}
#dw-save-storage .save-ftp-info {
	/*max-width: 500px;*/
	display: flex;
    flex-direction: column;
}
#dw-save-storage .save-ftp-info > div {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}
#dw-save-storage .save-ftp-info > .save-ftp-rename {
	display: block;
}
#dw-save-storage .save-ftp-info .button {
	align-self: center;
	margin-top: 10px;
}

.save-ftp-res {
	text-align: center;
	display: flex;
    flex-direction: column;
    align-items: center;
}

.ftp-res-dsp > li:not(.ftp-folder) {
	width: 200px;
	margin: auto;
	margin-bottom: 10px;
}
.ftp-res-dsp > li {
	display: flex;
	justify-content: space-between;
}

.ftp-upload-box {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ftp-upload-box > div {
	display: flex;
	align-items: center;
}
.ftp-upload-box > div > p {
	margin: 0;
}
.ftp-upload-box > div > .loader {
	width: 20px;
	height: 20px;
	border-width: 5px;
	margin-left: 10px;
}

#dw-save-storage > .save-storage-folder {
	margin-bottom: 30px;
} 
#save-folders {
	border: 1px solid lightgray;
	box-sizing: content-box;
	margin-top: 20px;
	height: 450px;
	box-sizing: border-box;
}

.save-folders-path {
	height: 60px;
	box-sizing: border-box;
	border-bottom: 1px solid lightgray;
	background-color: rgba(0,0,0,.03);
	display: flex;
	align-items: center;
}
.save-folders-path > a {
	text-decoration: none;
	color: black;
	margin: 0 10px;
}
.save-folders-path > a:hover {
	color: darkorange;
}

.save-folders-path > span {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-top: 2px solid black;
	border-right: 2px solid black;
	border-radius: 1px;
	transform: rotateZ(45deg);
}

.save-folders-error {
	height: 40px;
	box-sizing: border-box;
	color: red;
    background-color: rgba(255,0,0,.1);
	border-bottom: 1px solid red;
	display: flex;
	align-items: center;
	justify-content: space-between;
    padding: 0 10px 0 20px;
}

.save-folders-error-close, .save-db-rename-close {
	height: 16px;
	width: 16px;
	background-image: url('../img/close.png');
	background-size: cover;
	cursor: pointer;
}

.folder-img {
	height: 16px;
	width: 16px;
	background-image: url('../img/folder.png');
}
.back-img {
	height: 16px;
	width: 16px;
	background-image: url('../img/back.png');
	background-size: cover;
}

.save-folders-dsp {
	padding: 0;
	list-style-type: none;
	margin: 0;
	margin-right: 1px;
	overflow-y: scroll;
	height: calc(100% - 60px - 50px);
}
.save-folders-dsp > li {
	font-size: 1.3em;
	padding: 15px 10px;
	margin: 0;
	cursor: pointer;
	display: flex;
}
.save-folders-dsp > li:not(:last-child) {
	border-bottom: 1px solid lightgray;
}
.save-folders-dsp > li:hover {
	background-color: rgba(255, 140, 0, .2);
}
.save-folders-dsp > li > span {
	margin-left: 10px;
}

.save-folders-return {
	height: 50px;
	box-sizing: border-box;
	border-top: 1px solid lightgray;
	display: flex;
	align-items: center;
	padding: 0 10px;
}
.save-folders-return > input {
	width: 100%;
	pointer-events: none;
}

.dw-save-prefill-db, .dw-save-prefill-wp {
	margin-top: 30px;
}
.dw-save-prefill-db > div, .dw-save-prefill-wp > div {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}