/**
 *  2020 Fintecture SAS
 *
 *  @author Fintecture
 *  @copyright 2020 Fintecture SAS
 *  @license http://www.gnu.org/licenses/gpl-3.0.txt General Public License v3.0 (GPLv3)
 */

:root {
	--success-bg-color: #D2F2D7;
	--info-bg-color: #D7E9FF;
	--warning-bg-color: #F8E6D2;
	--danger-bg-color: #F8D5D4;
}

.fintecture-alert {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 20px;
	padding: 16px;
}

.fintecture-alert p {
	margin: 0 !important;
	color: #141414;
	line-height: 1.1em;
}

.fintecture-alert p a {
	color: #141414;
	font-weight: bold;
	text-decoration: underline;
}

.fintecture-alert p a:hover {
	text-decoration: none;
}

.fintecture-alert.fintecture-alert-success {
	background-color: var(--success-bg-color);
}

.fintecture-alert.fintecture-alert-info {
	background-color: var(--info-bg-color);
}

.fintecture-alert.fintecture-alert-warning {
	background-color: var(--warning-bg-color);
}

.fintecture-alert.fintecture-alert-danger {
	background-color: var(--danger-bg-color);
}

.fintecture-alert img {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.fintecture-banner, .fintecture-banner-generic  {
	display: block;
	object-fit: contain;
	max-width: 100%;
} 

.fintecture-banner {
	height: 68px;
	margin: 20px 0;
}

.fintecture-banner-generic {
	height: 30px;
	margin: 10px 0;
}

@media screen and (max-width: 480px) {
	.fintecture-banner {
		height: initial;
		width: 100%;
	}
}