@import '../../../../../../themes/theaisle/assets/css/scss/variables';
@import '../../../../../../themes/theaisle/assets/css/scss/mixins';

.eltdf-core-dashboard{
	max-width: initial !important;

	.eltdf-core-dashboard-inner{
		margin: 0 -15px;
		display: inline-block;
		width: 100%;
	}

	.eltdf-cd-logo {
		display: inline-block;
		vertical-align: middle;
		padding-right: 15px;
		width: 62px;
	}
	.eltdf-cd-title {
		display: inline-block;
		vertical-align: middle;
		font-size: 41px;
		font-weight: 400;
		margin: 0;
	}

	.eltdf-cd-title-holder {
		margin-bottom: 30px;
	}

	.eltdf-cd-subtitle {
		font-size: 18px;
		line-height: 25px;
		font-weight: 400;
		color: #555d66;
		max-width: 610px;
		margin: 10px 0 30px;
	}
	.eltdf-core-dashboard-column {
		float: left;
		width: 100%;
		max-width: 610px;
		padding: 0 15px;

		&.eltdf-cd-smaller-column {
			max-width: 380px;
		}

		.eltdf-core-dashboard-box {
			background-color: #fff;

			&.eltdf-core-bottom-space {
				margin-bottom: 30px;
			}

			.eltdf-cd-box-title-holder {
				padding: 28px 34px 23px;

				p {
					margin: 19px 0 0;
					padding: 0;
					font-size: 16px;
					line-height: 22px;
					font-weight: 400;
					color:#555d66;
				}
			}

			&.eltdf-cd-import-box {
				.eltdf-cd-box-title-holder {

					p {
						font-size: 14px;
						line-height: 20px;
						margin: 17px 0 0;
					}
				}

				.eltdf-cd-label {
					font-weight: 600;
					margin-bottom: 15px;
				}

			}

			h2 {
				margin: 0;
				padding: 0;
				font-size: 25px;
				font-weight: 400;
				color: #32373c;
				text-align: left;
			}

			h3 {
				margin: 0;
				padding: 0;
			}

			.eltdf-cd-field-holder {
				padding-bottom: 30px;
			}
			.eltdf-cd-label {
				display: block;
				color: #555d66;
				font-size: 14px;
				margin-bottom: 7px;
			}
			.eltdf-cd-input {
				border: none;
				border-bottom: 1px solid #c2c2c2;
				outline: 0;
				width: 50%;
				box-shadow: none;
				color: #555d66;
				font-size: 14px;
				padding: 4px 0;
				margin: 0;
				&:focus {
					outline: 0;
					border-color: #c2c2c2;

					@include eltdfPlaceholder {
						color: #555d66;
					}
				}
				@include eltdfPlaceholder {
					color: #555d66;
				}

				&:-webkit-autofill,
				&:-webkit-autofill:hover,
				&:-webkit-autofill:focus,
				&:-webkit-autofill:active  {
					-webkit-box-shadow: 0 0 0 30px white inset !important;
				}

				&:-webkit-autofill {
					-webkit-text-fill-color: #666 !important;
				}

			}


			.eltdf-cd-error-field {
				border-bottom-color: #ee3535;
			}

			.eltdf-cd-error-message {
				display: block;
				color: #ee3535;
				font-size: 12px;
				margin-top: 5px;
			}

			.eltdf-cdb-problem {
				border: 1px solid #e1e1e1;
				border-left: 3px solid #ee3535;
				padding: 15px;
				margin-bottom: 25px;

				p {
					font-size: 12px;
					line-height: 18px;
					font-weight: 600;
					margin: 0;
					padding: 0;
				}

			}

			&:last-child {

				.eltdf-cd-box-row {
					&:last-child {
						padding-bottom: 10px;
					}
				}

			}

		}

		.eltdf-cd-button {
			padding: 7px 35px;
			font-size: 16px;
			line-height: 1em;
			color: #fff;
			background-color: #3596ee;
			border: none;
			border-radius: 5px;
			box-shadow: 0 2px 0 0 rgba(36, 110, 174, 1);
			cursor: pointer;

			&.eltdf-import-demo-data-disabled,
			&.eltdf-cd-button-disabled {
				background-color: #6bb4f7;
			}
		}

		.eltdf-cd-button-wait {
			display: none;
			font-size: 12px;
			color: #3596ee;
			margin-left: 15px;
			font-weight: 400;
		}

		a.eltdf-cd-button {
			text-decoration: none;
		}
		.eltdf-cd-box-section {

			h3 {
				padding: 0;
				margin: 0 0 24px;
				color: #555d66;
				font-size: 17px;
				line-height: 20px;
			}

			padding: 0 35px 10px;


		}

		.eltdf-cd-box-list {
			padding: 10px 35px;
			margin: 0;

			li {
				font-size: 15px;
				margin: 0 0 25px;

				a {
					color: #3675ae;
				}

			}

		}

		.eltdf-cd-box-row {
			display: table;
			padding: 0 20px;
			border-bottom: 1px solid #f1f1f1;
			width: 100%;
			box-sizing: border-box;
			font-size: 14px;

		}

		.eltdf-cdb-label,
		.eltdf-cdb-value {
			display: table-cell;
			width: 50%;
			padding: 17px 15px;
		}

		.eltdf-cdb-value {
			color: #3e87be;
		}

		.eltdf-cdb-value-false span{
			color: #ea3a27;
		}

		.eltdf-cd-import-form {
			padding: 0 30px 10px 30px;

			.eltdf-cd-box-form-section {
				padding: 0 0 28px;


				&.eltdf-cd-box-form-section-columns {
					display: flex;
					margin: 0 -15px;

					.eltdf-cd-box-form-section-column{
						padding: 0 15px;
						&:first-child {
							width: 75%;
						}
						&:last-child {
							width: 25%;
						}
					}
				}
				.eltdf-import-demo,
				.eltdf-cd-import-option {
					width: 100%;
				}

				.select2-container--default .select2-selection--single {
					border-radius: 0;
					border-color: #e1e1e1;
					height: 34px;

					.select2-selection__rendered {
						line-height: 34px;
					}

					.select2-selection__arrow {
						height: 32px;
					}
				}



			}

			.eltdf-cd-import-is-completed {
				display: none;
				color: #3596ee;
				font-size: 14px;
				font-weight: 600;
			}
			.eltdf-cd-import-went-wrong {
				display: none;
				color: #3596ee;
				font-size: 14px;
				font-weight: 600;

				a {
					color: inherit;
				}
			}


			.eltdf-cd-box-form-section-dependency,
			.eltdf-cd-box-form-section-progress {
				display: none;
			}

		}

	}
}

#eltdf-progress-bar[value] {
	/* Reset the default appearance */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	/* Get rid of default border in Firefox. */
	border: none;

	/* Dimensions */
	width: 100%;
	height: 5px;
}
#eltdf-progress-bar[value]::-webkit-progress-bar {
	background-color: #fff;
	border: 1px solid #e1e1e1;
	border-radius: 0;
}

/* IE10 */
#eltdf-progress-bar {
	color: #3596ee;
}

/* Firefox */
#eltdf-progress-bar::-moz-progress-bar {
	background: #3596ee;
}

/* Chrome */
#eltdf-progress-bar::-webkit-progress-value {
	background: #3596ee;
}

/* Polyfill */
#eltdf-progress-bar[aria-valuenow]:before  {
	background: #3596ee;

}

.eltdf-cd-selection {

	li.select2-results__option {
		padding: 10px;
		margin: 0;
	}

	img {
		vertical-align: middle;
		padding-right: 20px;
	}
	.select2-container--default & .select2-results__option[aria-selected=true] {
		background-color: #fafafa;
	}

	.select2-container--default & .select2-results__option--highlighted {
		background-color: #fafafa;
		color: #000000;
	}
}
.eltdf-cd-action-selection,
.eltdf-cd-single-page-selection {
	li.select2-results__option {
		margin: 0;
	}
	.select2-container--default & .select2-results__option[aria-selected=true] {
		background-color: #fafafa;
	}

	.select2-container--default & .select2-results__option--highlighted {
		background-color: #fafafa;
		color: #000000;
	}
}
.eltdf-cd-import-single-page{
	width: 100%;
}
.eltdf-cd-switch {
	display: inline-block;
	border: 1px solid #e1e1e1;
	border-radius: 40px;
	overflow: hidden;

	.eltdf-cd-import-attachments{
		display: none;
	}
	.eltdf-cd-cb-enable,
	.eltdf-cd-cb-disable{
		display: block;
		float: left;
		padding: 0 10px;

		&.selected {
			background-color: #3596ee;
			color: #fff;
		}
	}

	.eltdf-cd-cb-enable span,
	.eltdf-cd-cb-disable span{
		line-height: 32px;
		font-size: 13px;
		display: block;
		font-weight: bold;
	}
}
