/*
 * Copyright MADE/YOUR/DAY OG <mail@madeyourday.net>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

.rip_selected_icon {
	display: inline-block;
	height: 32px;
	min-width: 32px;
	margin: 5px 10px 5px 0;
	padding: 6px;
	border: 1px solid var(--form-border, #aaa);
	/* imporant needed to overwrite `.widget > div` from basic.css */
	font-size: 32px !important;
	line-height: 1;
	text-align: center;
	vertical-align: middle;
	background: var(--form-bg, #fff);
}
.rip_icons {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(41px, 1fr));
	margin-bottom: 20px;
	padding-right: 1px;
}
.rip_icons > * {
	grid-column: 1 / -1;
}
.rip_icons_toolbar {
	position: relative;
	margin: 0 -1px -1px 0;
	padding: 2px 2px 2px 10px;
	border: 1px solid var(--form-border, #aaa);
	font-family: Verdana, Arial, sans-serif;
	background: var(--form-button, #eee);
}
.rip_icons_toolbar input {
	width: 40%;
}
.rip_icons_toolbar_close {
	position: absolute;
	top: 50%;
	right: 0;
	margin-top: -20px;
	padding: 10px;
	font-weight: bold;
	font-size: 18px;
}
.rip_icons > a {
	grid-column: auto;
	height: 32px;
	margin: 0 -1px -1px 0;
	padding: 4px;
	border: 1px solid var(--form-border, #aaa);
	font-family: inherit;
	font-size: 32px;
	line-height: 1;
	text-align: center;
}
.rip_icons > a:hover,
.rip_icons > a:focus {
	color: var(--invert-text, #fff);
	background: var(--invert-bg, #333);
	-webkit-transform: scale(2);
	transform: scale(2);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
}
.rip_icons.rip_collapsed {
	display: none;
}
