.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;
}

.templateBlock {
	height: 194px;
	background: #ffffff;
	box-shadow: 0px 3px 10px 0px rgba(0,24,57,0.0400);
	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;
}

@media screen and (max-width:1220px) {
    .templateBlock {
        width: 49%;
		margin-right: 2%;
    }
	.templateBlock:nth-child(2n){
		margin-right: 0;
	}
}

@media screen and (min-width:1220px) and (max-width:1600px) {
    .templateBlock {
        width: 32.423%;
		margin-right: 1.365%;
    }
	.templateBlock:nth-child(3n){
		margin-right: 0;
	}
}

@media screen and (min-width:1600px) {
    .templateBlock {
        width: 24%;
		margin-right: 1.333%;
    }
	.templateBlock:nth-child(4n){
		margin-right: 0;
	}
}

.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;
}
