/**
 * global_font_size
 * @version	1.0
 * @release	01-04-2021
 * @author	msolowski Marcin Sołowski
 * @website	http://msolowski.pl
 */

.global_font_size
{
/*	display: flex;
	align-items: center; */
}

.global_font_size button
{
	margin-right: var(--global_size_5);
	transition: var(--global_transition);
	line-height: 1;
	display: inline-block;
	color: var(--root_color_black);
}

.global_font_size button:focus-visible
{
	outline: 2px dotted var(--root_color_lead);
	outline-offset: 2px;
}

.global_font_size button:last-child
{
	margin-right: 0;
}

/* html.is_global_contrast .global_font_size button
{
	color: var(--root_color_btn_hover);
} */

html.is_global_font_size.size_large .global_font_size button:nth-child(1),
html.is_global_font_size.size_normal .global_font_size button:nth-child(2),
html.is_global_font_size.size_small .global_font_size button:nth-child(3)
{
	color: var(--root_color_lead);
	font-weight: 700;
}

/* html.is_global_contrast.is_global_font_size.size_large .global_font_size button:nth-child(1),
html.is_global_contrast.is_global_font_size.size_normal .global_font_size button:nth-child(2),
html.is_global_contrast.is_global_font_size.size_small .global_font_size button:nth-child(3)
{
	color: var(--root_color_white);
} */

.global_font_size button:nth-child(1) span
{
	font-size: calc(1rem * var(--global_font_size_large_var));
}

.global_font_size button:nth-child(2) span
{
	font-size: calc(1rem * var(--global_font_size_normal_var));
}

.global_font_size button:nth-child(3) span
{
	font-size: calc(1rem * var(--global_font_size_small_var));
}

.global_font_size button:hover
{
	color: var(--root_color_btn_hover);
}

/* html.is_global_contrast .global_font_size button:hover
{
	color: var(--root_color_white);
} */

/**********************************************************************************/