/*
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
CKEditor 4 LTS ("Long Term Support") is available under the terms of the Extended Support Model.
*/

.cke_balloon.cke_balloontoolbar
{
	position: absolute;
	z-index: 10000;
	outline: none;
	background: #ffffff;
	border: none;
	padding:2px;
	-webkit-box-shadow: -1px 2px 31px 5px rgba(204,204,204,1);
	-moz-box-shadow: -1px 2px 31px 5px rgba(204,204,204,1);
	box-shadow: -1px 2px 10px 0px rgba(204,204,204,1);
}

.cke_balloon.cke_balloontoolbar .cke_balloon_triangle
{
	position: absolute;
	border-style: solid;
	display: block;
	width: 0;
	height: 0;
}

/* The .cke_balloon_content container height will be stretched to children height, so padding is properly applied. */
.cke_balloon.cke_balloontoolbar .cke_balloon_content
{
	float: left;
	min-height: 10px;
	padding: 3px;
}

/* Removes bottom margins from buttons/combos so only '.cke_balloon_content' padding decides about balloon toolbar padding. */
.cke_balloon.cke_balloontoolbar .cke_toolgroup,
.cke_balloon.cke_balloontoolbar .cke_combo_button
{
	margin-bottom: 0;
}

.cke_balloon.cke_balloontoolbar .cke_balloon_content > span:last-child > a.cke_combo_button,
.cke_balloon.cke_balloontoolbar .cke_balloon_content > span:last-child.cke_toolgroup {
	margin-right: 0;
	padding-right: 0;
}

.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_inner,
.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_outer
{
	z-index: 0;
}

/* align: [ hcenter ] */
.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_outer.cke_balloon_triangle_align_hcenter
{
	left: 50%;
	margin-left: -7px;
}

/* side: [ bottom, top ] */
.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_outer.cke_balloon_triangle_bottom,
.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_outer.cke_balloon_triangle_top
{
	border-color: #ffffff transparent;
}

.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_inner.cke_balloon_triangle_bottom,
.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_inner.cke_balloon_triangle_top
{
	border-color: #ffffff transparent;
	left: -7px;
}

/* side: [ bottom ] */
.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_outer.cke_balloon_triangle_bottom
{
	border-width: 7px 7px 0;
	bottom: -7px;
}

.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_inner.cke_balloon_triangle_bottom
{
	border-width: 7px 7px 0;
	top: -8px;
}

/* side: [ top ] */
.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_outer.cke_balloon_triangle_top
{
	border-width: 0 7px 7px;
	top: -7px;
}

.cke_balloon.cke_balloontoolbar .cke_balloon_triangle_inner.cke_balloon_triangle_top
{
	border-width: 0 7px 7px;
}