/* Wspólny CSS dla widoku web i cms */

form
{
	margin: 0px;
}

label
{
	cursor: pointer;
	display: inline;
}

img
{
	border: 0px;
}

input[type="checkbox"]
{
	margin-right: 3px;
}

/* tooltip */
a.tooltip:hover
{
	background: transparent;
	text-decoration: none;
	cursor: help;
	color: #333;
}

a.tooltip:hover span
{
	display: block;
	position: absolute;
	background: #eef8fb;
	border: 2px solid #8ed0e3;
}

.tooltip, .tooltip_block
{
	position: absolute;
	display: none;
	margin-top: -20px;
	margin-left: 3px;
	padding: 8px;
	width: 250px;
	font-weight: normal;
	white-space: normal !important;
	background: #eef8fb;
	border: 2px solid #8ed0e3;
	text-align: left;
}

/* tooltip wyświetlany jako element block czyli gdy jest używany w nowym div */
.tooltip_block
{
	position: static;
	margin-top: 6px;
	margin-left: 0;
}

img.close_icon
{
	float: right;
	cursor: pointer;
	width: 20px;
	height: auto;
	margin-left: 6px;
	margin-bottom: 6px;
}

.tooltip ul
{
	padding-left: 15px;
}

img.info
{
	vertical-align: middle;
	margin-left: 5px;
}

/* opcje CMS pod zdjeciem w galerii */
div.cms_options
{
	margin-top: 3px;
}

div.cms_options img
{
	margin-left: 2px;
	vertical-align: middle;
}

/* kontener na dane z ajax */
div#new_div_container
{
	display: none;
	position: fixed;
	width: 100%;
	top: 3vh;
	z-index: 2000;
}

div#new_div_content
{
	width: 500px;
	padding: 15px;
	margin: auto;
	box-sizing: border-box;
	background-color: #fff;
	border: 1px solid #aaa;
	box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
}

div#new_div_inner_content
{
	height: 86vh;
	overflow: auto;
}

img#loading
{
	display: block;
	margin: auto;
	margin-top: 200px;
}

a#window_close
{
	display: block;
	float: right;
	width: 26px;
	height: 26px;
	margin-bottom: 5px;
	background-image: url('../images/close.gif');
	background-repeat: no-repeat;
}

.center
{
	text-align: center;
}

.right
{
	text-align: right;
}

/* komórka tabelki formularza wycentrowana w pionie */
.td_center
{
	display: flex;
	align-items: center;
}

/* pasek procentowy np w statystykach */
div.percentage_bar_container
{
	display: flex;
	align-items: center;
	width: 400px;
}

div.percentage_bar
{
	height: 26px;
	background: #3f8cb1;
}

div.percentage_value
{
	padding-left: 5px;
	white-space: nowrap;
}

/* sekcja w tabeli np dla potrzeb javascript */
div.table_section
{
	display: table-row-group;
}

/* duży odstęp górny w wybranym wierszu tabeli */
div.spacer div.td
{
	padding-top: 30px;
}

/* zielony komunikat */
.positive
{
	color: #1e9544;
}

/* czerwony komunikat */
.negative
{
	color: #dd0000;
}
