/* CSS Document */

.select_icon_wrapper{
	width:100%;
	max-width:450px;
	margin-top:30px;
	
	border:1px solid #CCC;
	
	height:100%;
	max-height:500px;
	overflow-y:scroll;

	display:grid;
	grid-template-columns:repeat(5, 1fr);
	box-sizing:border-box;
}


.select_icon_cell{
	text-align:center;
	overflow:hidden;
	cursor:pointer;

	padding:5px;
	padding-top:10px;

	/* default icon + text color */
	color:#000000;

	border:1px solid #EBEBEB;
	margin-left:-1px;
	margin-top:-1px;
}


.select_icon_cell svg{
	width:32px;
	height:32px;
	display:inline-block;
}


.select_icon_text{
	font-size:11px;
	display:block;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;

	/* inherit same color as SVG */
	color:inherit;
}



.select_icon_color_wrapper{
	display:block; 
	margin-top:10px;
	width:calc(100% - 40px);
}

.select_icon_color_box{
	display:inline-block;
	width:20px;
	height:20px;
	cursor:pointer;
	border:1px solid #999;
	margin-right:4px;
}




.icon_select_lightbox{
	display:none;

	position:fixed;
	left:0;
	top:0;
	right:0;
	bottom:0;

	background:rgba(0,0,0,0.55);

	z-index:10000;

	align-items:center;
	justify-content:center;
}

.icon_select_lightbox_window{
	position:relative;

	width:450px;
	max-width:calc(100vw - 30px);

	max-height:calc(100vh - 30px);

	background:#FFF;

	padding:15px;

	box-sizing:border-box;

	overflow-y:auto;

	border-radius:10px;
	box-shadow:0 4px 25px rgba(0,0,0,0.4);
}

.icon_select_lightbox_close{
	position:absolute;
	right:10px;
	top:10px;

	width:40px;
	height:40px;

	border:0;
	background:#BB0000;
	color:#FFF;
	border-radius:5px;

	font-size:24px;

	cursor:pointer;

	z-index:2;
}

