.headerBox {
	margin-bottom: 20px;
}

.removeItemBox {
	color: #ff4e4e;
	margin-left: 32px;
	cursor: pointer;
}

.tabBox {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.templateBox {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -8px;
}

.template {
	padding: 0 8px;
	box-sizing: border-box;
}

.templateBlock {
	height: 194px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px solid #ebedf0;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-bottom: 16px;
	position: relative;
	box-sizing: border-box;
	transition: box-shadow 0.2s cubic-bezier(0, 0, 1, 1);
}
.templateBlock:hover {
	box-shadow: 6px 8px 22px 0px rgba(0, 24, 57, 0.08);
}

@media screen and (max-width: 1220px) {
	.template {
		width: 50%;
	}
}

@media screen and (min-width: 1220px) and (max-width: 1600px) {
	.template {
		width: 33.33333%;
	}
}

@media screen and (min-width: 1600px) {
	.template {
		width: 25%;
	}
}

.addTemplateMask {
	background: rgb(56, 56, 56, 0.7);
	position: absolute;
	z-index: 800;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	flex-direction: column;
}

.addTemplateBlock {
	background: #ffffff;
	z-index: 900;
	border-radius: 16px 0px 0px 0px;
	height: 100%;
	width: 100%;
}

.addTemplateBox {
	width: 16.8751%;
	height: 114px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px solid #f0f2f5;
	padding: 16px 20px;
	margin: 8px;
	cursor: pointer;
}

.addTemplateBox:hover {
	box-shadow: 6px 8px 22px 0px rgba(0, 24, 57, 0.08);
}

.templateDescText {
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	display: -webkit-box;
	height: 54px;
	font-size: 12px !important;
	font-weight: 400 !important;
	color: #8a9099 !important;
}

.addNewTemplate {
	width: 380px;
	height: 194px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px solid #ebedf0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	cursor: pointer;
}
