@font-face
{
	font-family: 'Lato';
	src: url("../fonts/Lato-Regular.ttf");
	font-weight: normal;
	font-style: normal;
}
@font-face
{
	font-family: 'Lato';
	src: url("../fonts/Lato-Italic.ttf");
	font-weight: normal;
	font-style: italic;
}
@font-face
{
	font-family: 'Lato';
	src: url("../fonts/Lato-Bold.ttf");
	font-weight: bold;
	font-style: normal;
}
@font-face
{
	font-family: 'Lato';
	src: url("../fonts/Lato-BoldItalic.ttf");
	font-weight: bold;
	font-style: italic;
}

BODY
{
	margin:0px;
	padding:0px;
	background:#fff;
	color:#444;
	font-size:15px;
}

table
{
	margin:0;
	color:#444;
	font-size:15px;
}

body, table, input, textarea
{
	font-family:'Lato';
}

p {margin-top:0;}

input::-moz-focus-inner /* Removes button padding in FF */
{ 
	border:0;
	padding:0;
}

/* linki */
a:link, a:visited
{
	color:#75c22e;
	text-decoration:none;
	font-weight:bold;
}
a:hover
{
	color:#999;
	text-decoration:none;
	font-weight:bold;
}

/* formularz */
input[type='text'], input[type='password'], textarea, select
{
	border:1px solid #bbb;
	background:#f4f4f4;
	padding:4px;
	margin-right:6px;
	font-size:14px;
	color:#666;
}

input[type='submit'], input[type='button'], a.button, a.small_button, input.small_button, a.button_alert
{
	border:0;
	padding:4px 20px 5px 20px;
	background:#75c22e;
	color:#fff;
	cursor:pointer;
	font-size:14px;
	font-weight:normal;
	text-decoration:none;
	font:inherit;
	transition:all 0.2s;
}
input[type='submit']:hover, input[type='button']:hover, a.button:hover, input.small_button:hover, a.button_alert:hover
{
	background:#555;
	font-weight:normal;
}
a.small_button, input.small_button
{
	padding:2px 10px 4px 10px;
}
a.button_alert
{
	margin-left:6px;
	background:#cc0000;
	color:#fff;
}

/* przyciski wyświetlane obok siebie */
a.block
{
	display:inline-block;
	margin-right:10px;
	text-align:center;
}

input[type='text'].error, input[type='password'].error, textarea.error, select.error, label.error, span.error
{
	border:1px solid #cc0000;
}
input[type='text'].wide
{
	width:550px !important;
}
input[type='text'].short, input[type='password']
{
	width:130px !important;
}
input[type='text'].date
{
	width:100px !important;
}
input[type='text'].number
{
	width:60px !important;
}
input.captcha_code
{
	text-transform:uppercase;
	width:130px !important;
}
div.textarea_comment
{
	white-space:initial;
	max-width:250px;
	margin-top:3px;
}

a.light
{
	background:#888;
}

/* dopasowuje zdjęcia z klas± "responsive" do rozmiaru strony */
img.responsive
{
	max-width:100% !important;
	height:auto !important;
}

/* długa tabelka przesuwana poziomo na telefonie */
div.table_container
{
	overflow:hidden;
	width:auto;
}
div.table_container_in
{
	overflow-x:auto;
}

div#new_div_container
{
	display:none;
	position:fixed;
	width:100%;
	top:50px;
	z-index:100;
}
div#new_div_content
{
	width:500px;
	padding:15px;
	margin:auto;
	box-sizing:border-box;
	background:#fff;
	border:1px solid #aaa;
	box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
}
div#new_div_inner_content
{
	height:500px;
	overflow:auto;
}
a#window_close
{
	display:block;
	float:right;
	width:21px;
	height:25px;
	background-image:url('../images/close.gif');
	background-repeat:no-repeat;
}

.clear
{
	clear:both;
	overflow:hidden;
	float:none !important;
}
.block
{
	clear:both;
	margin-top:5px;
	margin-bottom:5px;
}
.no_wrap, .nowrap
{
	white-space:nowrap;
}
div.no_page
{
	text-align:center;
	font-size:16px;
}
div.no_page h3
{
	font-size:25px;
}
div.no_page img
{
	width:180px;
	height:auto;
}

/* tabelka na formularz */
div.table
{
	display:table;
}
div.table_margin
{
	display:table;
	margin-top:12px;
}
div.tr
{
	display:table-row;
}
div.td
{
	display:table-cell;
	vertical-align:middle;
	padding:5px 8px 10px 0;
}
div.td_top
{
	display:table-cell;
	vertical-align:top;
	padding:5px 8px 10px 0;
}

/* gdy zawartość komórki jest u góry to zrób odstęp od góry */
div.td_top label
{
	display:inline-block;
	box-sizing:border-box;
	padding-top:4px;
}

/* tabelka do wyświetlania tekstów, np events */
div.td_text
{
	display:table-cell;
	vertical-align:top;
	padding-bottom:10px;
}
.pr
{
	padding-right:20px !important;
}

form.block
{
	margin-top:10px;
	margin-bottom:15px;
}
span.form_element
{
	padding-right:10px;
}

div.td input[type="text"], div.td textarea
{
	width:290px;
}
div.td textarea
{
	height:100px;
}

textarea.short
{
	height:50px !important;
}
textarea.medium
{
	width:450px !important;
	height:200px !important;
}
textarea.large
{
	width:700px !important;
	height:300px !important;
}
textarea.mce_editor
{
	width:600px !important;
	height:240px !important;
}
input.mce_editor
{
	width:600px !important;
}

div.critical_error h3
{
	margin-bottom:4px;
}
div.error
{
	box-sizing:border-box;
	background:#cc0001;
	background-image:url('../images/attention.png');
	background-position:10px 10px;
	background-repeat:no-repeat;
	padding:10px 10px 10px 60px;
	text-align:center;
	font-weight:bold;
	color:#ffffff;
	margin-top:12px;
	margin-bottom:12px;
	min-height:70px;
	height:auto;
	line-height:1.6em;
}

.error_small
{
	box-sizing:border-box;
	background:#cc0001;
	color:#fff;
	padding:4px 6px;
	margin-top:4px;
	margin-bottom:4px;
}

div.error a:link, .error_small a:link, div.error a:visited, .error_small a:visited
{
	color:#93deff;
	text-decoration:none;
}

div.error a:hover, .error_small a:hover
{
	color:#fff;
	text-decoration:underline;
}

.alert, a.alert
{
	color:#cc0000;
}
a.alert:hover
{
	color:#555;
}

div.frame, div.confirmation
{
	background:#f4f4f4;
	border:1px solid #AAA;
	padding:15px;
	text-align:left;
	line-height:1.5em;
	margin-top:10px;
	margin-bottom:10px;
}

img#captcha
{
	vertical-align:middle;
}
img#refresh
{
	width:30px;
	height:auto;
	margin-left:5px;
	vertical-align:middle;
}

div.back
{
	margin-top:12px;
	clear:both;
}

div.block
{
	margin-top:6px;
	margin-bottom:6px;
	clear:both;
}
div.block_big
{
	margin-top:20px;
	margin-bottom:20px;
	clear:both;
}
div.debug
{
	border:2px dotted #999;
	padding:12px;
	font-family:"Courier New";
	font-size:16px;
	clear:both;
	margin-bottom:12px;
	background:#fffeea;
}
div.gap
{
	height:20px;
	clear:both;
}
div.right
{
	float:right;
}
div.left
{
	float:left;
}

h3.title
{
	font-size:24px;
	color:#888;
	font-weight:bold;
	margin:0;
	margin-bottom:25px;
	margin-top:25px;
	text-align:center;
}

/* tytuł nad treścią pokazywaną w new_div przez ajax */
h3.new_div_title
{
	margin-top:0;
	margin-bottom:2px;
	font-size:18px;
	color:#307a7a;
}

h4.small_header
{
	font-size:18px;
	font-weight:bold;
	margin-top:0;
	margin-bottom:12px;
}
span.first_element
{
	font-size:26px;
	color:#bb0000;
}

/* tabelka do wyswietlania listy rekordów - co drugi wiersz ma inne tło */
table.list
{
	border-collapse:separate;
	border-spacing:1px;
	margin-top:8px;
}
table.list td, table.list th
{
	padding:6px;
}
table.list th
{
	background:#d2d2d2;
	color:#232323;
	text-align:center;
	font-weight:normal;
}
tr.list1, td.list1
{
	background:#e6e6e6;
	color:#222222;
}
tr.list2, td.list2
{
	background:#f1f1f1;
	color:#222222;
}
tr.list1 p, tr.list2 p
{
	margin:0;
}
tr.highlight
{
	background:#c5f051 !important;
}

/* tabelka do wyswietlania listy rekordów - bez naprzemiennego tła wierszy */
table.easy_list
{
	border-collapse:separate;
	border-spacing:1px;
	margin-top:8px;
}
table.easy_list td, table.easy_list th
{
	padding:6px;
}
table.easy_list tr
{
	background:#f6f6f6;
}
table.easy_list td
{
	border-bottom:1px solid #ccc;
}
table.easy_list th
{
	background:#d2d2d2;
	color:#232323;
	text-align:left;
	font-weight:normal;
}

/* tabelka z ramką */
table.frame
{
	border-collapse:collapse;
	border:1px solid #A8A8A8;
	border-spacing:0;
}
table.frame td 
{
	border:1px solid #A8A8A8;
	padding:5px;
}
table.frame td ul, table.frame td ol
{
	padding-left:20px;
}

div#arrow_up
{
	background:#307a7a;
	width:45px;
	height:38px;
	padding-top:5px;
	margin-right:15px;
	margin-top:60px;
	font-size:26px;
	color:#fff;
	text-align:center;
	cursor:pointer;
	float:right;
	-webkit-transition: background-color 0.5s;
	transition: background-color 0.5s;
}
div#arrow_up:hover
{
	background:#cc0000;
}
img.arrow
{
	vertical-align:center;
}
div#print
{
	float:right;
}
div#print a
{
	font-weight:normal;
}
div.line
{
	background: #bbb5b5;
	height: 1px;
	margin-top: 8px;
	margin-bottom: 8px;
	overflow:hidden;
	clear:both;
}

div.paginator
{
	margin-top:15px;
	font-size:13px;
}
div.paginator a, span.paginator_no_active
{
	background:#888;
	color:#fff;
	padding:4px 8px 5px 8px;
	text-align:center;
	display:block;
	float:left;
	margin-right:2px;
	margin-top:3px; /* gdy zawija na mniejszych ekranach */
	font-weight:normal;
	text-decoration:none;
}
div.paginator a:hover
{
	background:#307a7a;
}
span.paginator_no_active
{
	background:#444;
}


/* -- wyszukiwarka i języki -- */
div#langs_search
{
	height:30px;
	margin-top:10px;
}

/* języki */
div#langs
{
	margin-top:5px;
	margin-left:15px;
	float:left;
}
div#langs a:link, div#langs a:visited
{
	color:#444;
	text-decoration:none;
	font-weight:normal;
}
div#langs a:hover
{
	color:#cc0000;
}
/* wybrany język */
div#langs span
{
	color:#444;
	font-weight:bold;
}
img.flag, img.flag_active
{
	width:30px;
	height:auto;
	vertical-align:middle;
}
img.flag_active
{
	border:1px solid #ccc;
}

div#search
{
	float:right;
	margin-right:10px;
}

/* breadcrumb (path) */
div#breadcrumb
{
	font-size:13px;
	padding-top:5px;
	padding-bottom:5px;
	color:#777;
}
div#breadcrumb a
{
	font-weight:normal;
}
div.cms_edit
{
	float:right;
	background:#fff;
	color:#000 !important;
	padding:1px 5px 2px 5px;
	border:1px solid #ccc;
}
div.cms_edit a
{
	color:#cc0000 !important;
	text-decoration:none;
	font-weight:bold;
}
div.cms_edit a:hover
{
	color:#777 !important;
}
.visible
{
	display:inline;
}
.hidden
{
	display:none;
}


/* potwierdzenie operacji */
div.confirmation
{
	text-align:center;
	width:70%;
	padding-top:20px;
	padding-bottom:20px;
	margin:auto;
}
div.confirmation h3, div.frame h3
{
	margin-top:0;
	margin-bottom:20px;
}
div.confirmation span
{
	display:block;
	margin-bottom:20px;
}

div.button_center
{
	text-align:center;
	margin-top:30px;
	margin-bottom:30px;
}

/* obrazki, które wychodzą poza obszar są automatycznie skalowane */
div.page_content img
{
	max-width:100%;
	height:auto;
}

/* formularz do rejestracji */
span#login_info
{
	display:none;
	padding:3px;
	border:1px solid #bbb;
	margin-left:5px;
}

/* przycisk do zapłaty przez payu */
a.payu_button
{
	display:inline-block;
	box-sizing:border-box;
	width:290px;
	height:50px;
	background-image:url('../images/payu_button.png');
	color:#fff;
	text-align:left;
	padding-left:40px;
	padding-top:14px;
	font-size:21px;
}

/* małe okienko do logowania */
#login_box input[type=text], #login_box input[type=password]
{
	margin-right:0;
	width:100px !important;
}
#login_box div.td
{
	padding-right:0;
}
#login_box label
{
	margin-right:5px;
}
div.small_bottom_space
{
	margin-bottom:8px;
}



/* ------------ konstrukcja -------------- */
header
{
	padding-top:20px;
	padding-bottom:20px;
	text-align:center;
}
header a
{
	font-size:30px;
}
div#container, header, footer
{
	width:96%;
	margin:auto;
}
div.page_content
{
	min-height:250px;
	padding-top:25px;
	padding-bottom:25px;
}
footer
{
	padding-top:25px;
	text-align:center;
}
div#footer_text
{
	padding-bottom:10px;
	margin:auto;
	text-align:center;
}

