.lity {
	background-color: rgba(92, 102, 167, 0.1);
}

.lity-wrap {
	background-color: transparent;
}

.lity-container {
	box-shadow: 0 6px 32px 5px rgba(120, 142, 150, 0.16);
	border-radius: 5px;
	background-color: #fff;
	padding: 25px 50px 40px;
	min-width: 40%;
	overflow-y: auto;
}

.lity-image .lity-container {
	padding: 0;
	min-width: auto;
}

.lity-content:after {
	box-shadow: none;
}

.lity-close {
	position: absolute;
	width: 17px;
	height: 17px;
	font-size: 17px;
	line-height: 17px;
	top: 17px;
	right: 17px;
}

.lity-close:hover,
.lity-close:active {
	font-size: 17px;
	line-height: 17px;
	top: 17px;
}

button.lity-close {
	min-width: 17px;
}

.lity-close svg {
	width: 17px;
	height: 17px;
	overflow: visible;
}

.lity-close .st0 {
	stroke: #dde7ea;
	stroke-width: 4px;
}

.lity-image .lity-close {
	top: -25px;
	right: -25px;
}

.lity-image .lity-close .st0 {
	stroke: #8594a3;
}

.lity .files,
.lity .multiple-urls {
	margin-top: 20px;
	padding-left: 0;
}

.lity li {
	display: flex;
	align-items: center;
	list-style: none;
	line-height: 1em;
	margin-bottom: 20px;
	position: relative;

	&.slide {
		flex-direction: column;
	}
}

.lity ul li a {
	border: 1px solid #dde7ea;
	color: #8594a3;
	display: block;
	flex: 1;
	line-height: 1em;
	padding: 18px 17px 18px 22px;

	&.slide-download {
		flex: none;
	}
}

.lity ul li a:first-child {
	background-color: #f5fffa;
}

.lity ul li.deleting a:first-child {
	background-color: #fff5f9;
	opacity: 0.5;
	pointer-events: none;
}

.lity ul li .file-delete {
	background: transparent;
	border: none;
}

.lity ul li .file-delete:hover {
	cursor: pointer;
}

.lity ul li a:hover {
	border-color: var(--wp--preset--color--leco-cp-secondary);
}

.lity-content .module {
	border: none;
	border-radius: 5px;
	text-align: center;
	margin: 0 auto;
}

.lity-content .module:hover {
	box-shadow: none;
}

.lity-content .module .desc {
	line-height: 1.5em;
}

.lity-content .module_mark_as_complete,
.lity-content .client-uploads-container {
	text-align: center;
}

.lity-content .choose-files {
	padding-top: 1rem;
	padding-bottom: 1rem;
	position: relative;
	background-color: #f7fafb;
	border: 1px dashed #dde7ea;
	border-radius: 0;
	cursor: pointer;
	font-weight: normal;
	line-height: 1.6;
	width: 100%;
}

.lity-content .components-drop-zone {
	background-color: #f5fffa;
	border-radius: 2px;
	bottom: 0;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	visibility: hidden;
	z-index: 40;
}

.lity-content .components-drop-zone.is-active {
	align-items: center;
	display: flex;
	justify-content: center;
	opacity: 1;
	visibility: visible;
}

.lity-content .choose-files.drag-over,
.lity-content .choose-files:hover {
	border-color: var(--primary-color);
}

.lity-content .choose-files span {
	font-size: 0.875rem;
	color: #3c5063;
}

.lity-content .choose-files p.max-upload-size {
	font-size: 0.75rem;
	padding-bottom: 0;
	color: #98a5b1;
	margin-bottom: 0;
}

.lity-content .choose-files p.allowed-file-types {
	max-width: 584px;
	margin: 0.2rem auto 0;
}

.mark-complete__btn {
	display: flex;
	justify-content: center;
}

.mark-complete__btn-link {
	cursor: pointer;
}

.iconset {
	display: inline-block;
	margin: 0.2em;
	padding-top: 3px;
	width: 2.25rem;
	height: auto;
}

.iconset svg * {
	stroke: currentColor;
	color: #8594a3;
}

.lity [class^="icon-"] {
	display: block;
	float: right;
	margin-top: -2px;
	margin-right: 5px;
	margin-left: 5px;
}

.lity [class^="icon-"] svg {
	width: 20px;
	height: 20px;
}

.lity [class^="icon-"] .st0 {
	stroke-width: 4px;
}

.lity .icon-download .st0 {
	stroke: currentColor;
	stroke-width: 2px;
}

.lity .icon-file-delete svg {
	width: 0.9rem;
	height: auto;
}

.lity .icon-file-delete svg * {
	fill: none;
	stroke: #e32b2b;
	stroke-miterlimit: 10;
	stroke-width: 2px;
}

.module .ico-area {
	display: block;
	line-height: 1;
	font-size: 2.626rem;
	margin: 0 0 0.625rem;
}

.lity .module {
	display: block;
	position: relative;
	font-size: 0.875rem;
	line-height: 1.25;
	text-align: center;
	padding: 1.125rem 1.875rem;
	min-height: 11.75rem;
	border-color: #e7eaec;
	color: #8594a3;
}

@media (min-width: 1024px) {
	.lity .module {
		height: calc(100% - 1.25rem);
	}
}
