BODY {
	height:auto;
	background: #FFFFFF;
	font-size: 14px; 
	line-height:1.5;
	font-family: 'Oxygen', sans-serif;
	color: #4d4b4b;
	padding-bottom:20px;
	padding-top:80px;
}

IMG,EMBED,OBJECT,VIDEO {
	max-width: 100%;
	height:auto !important;		
}

H1, .bg3 { 
	clear:both;
	font-size: 24px; 
	color: #313131; 
	font-weight: normal; 
	padding-top:0px; 
	padding-bottom:25px; 
	margin:0px; 
	text-align:center;
}
	
H2 { 
	font-size: 20px; 
	color: #000000; 
	font-weight: bold; 
}

H3{
	font-size:18px;
	font-weight:bold;
	padding-bottom:10px;
}

HR { 
	margin:0px; 
	padding:0px; 
	border:0px;
	height:1px; 
	background-color: #cccccc; 
}

INPUT, SELECT { 
	vertical-align:middle; 
	margin-bottom: 2px; 
	margin-top: 2px; 
	border: 1px solid #cccccc; 
	background-color: #FFFFFF; 
	color: #000000; 
	padding:6px;
}

INPUT[type="checkbox"] {
   padding:1px;
}    

TEXTAREA { 
	margin-bottom: 3px; 
	margin-top: 3px; 
	border: 1px solid #cccccc; 
	background-color: #FFFFFF; 
	color: #000000; 
	padding:6px;	
}

INPUT:focus, INPUT:active, TEXTAREA:focus, TEXTAREA:active, SELECT:focus, SELECT:active {
	border:1px solid #666666;
}

.submitb	{ 
	cursor:pointer; 
	vertical-align:middle; 
	margin-bottom: 2px;
	margin-top: 2px; 
	border: 0px none;
	background-color: #3d3d3d; 
	border:1px solid #3d3d3d;
	color: #ffffff; 
	padding:6px;	
	transition: all 0.4s ease;	
}

.f_ssmall  { width:40px;  }
.f_small   { width:70px;  }
.f_small2  { width:40px;  }
.f_normal  { width:120px; }
.f_long    { width:180px; }
.f_long2   { width:290px; }
.f_blong2  { width:350px; }
.f_blong   { width:380px; }

.button { 
	height:13px; 
	margin: 0px; 
	border: 0px none;
	font-size: 11px; 
	background:none; 
}

A, A:link, A:visited, A:active { 
	color: #000000; 
	text-decoration: none; 
	transition: all 0.4s ease;
}

A:hover { 
	color: #999999; 
	text-decoration: none; 
}

.small  { 
	font-size: 12px;
}

.img { border: 1px solid #000000; margin:3px; }
.date { font-weight: normal; font-size: 9px; }
.error  { color: #FF0000; }
.defaultwidth { width:980px; }

/* tlo tresc */
.bg1 { 
	padding:4px;		
}

/* tlo wyroznione */
.bg2 { 
	padding:4px;
}

.tbl {
	border:1px solid #ffffff;
	border-collapse:collapse;
	width:100%;
	margin-bottom:3px;
}

#artmap UL {
	list-style-image: url('../img/sys/list.gif');
	padding-left:20px;
	margin:0px;
}

#artmap LI {
	padding:1px;
}

/* tabelk danych */
.data_tbl {
	width:100%;
	margin:auto;
	text-align:center;
	border:1px solid #858689;
	border-collapse:collapse;
}

.data_tbl TD {
	border:1px solid #858689;
}

.data_desc {
	width:200px;
	text-align:left;
	font-size:10px;
	background-color:#ffffff;
}

.data_title {
	text-align:left;
	font-weight:bold;
	background-color:#ffffff;
}

.data_value {
	text-align:left;
	background-color:#f8f6eb;
}

.cp {
	margin-bottom:5px; 
	margin-top:5px; 	
	border:1px solid #666666
}

.gal1 {
	padding-top:3px;
	padding-bottom:3px;
}

.gal1 TABLE {
	margin:auto;
	text-align:center;
}

.gal1 TD {
	padding-top:4px;
	padding-bottom:4px;
	padding-left:4px;
	padding-right:4px;
}

.gal1 IMG {
	border:1px solid #666666;
}

.gal1 DIV {
	font-size:10px;
	padding-bottom:4px;
	text-align:center
}


.gal1 UL {
	list-style-type:none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;     
	margin:auto;
	-webkit-flex-wrap: wrap;	
	flex-wrap: wrap;	
	-webkit-justify-content:center;	
	justify-content:center;	
	padding:0px;
}	

.gal1 UL LI {
	list-style-type:none;
	display:block;
	float:left;
	padding:5px;
}

.gal6 DIV{
	padding-bottom:10px;
}

.cite {
	padding:4px; 
	border:1px solid #cccccc;
	background-color:#eaedf9;
}

.podtytul {
	font-weight:bold;
	padding-bottom:10px;
}

/* art submenu */
TABLE.submenu {
	margin:auto;
	width:90%;	
	text-align:left;	
	margin-top:7px;
	margin-bottom:7px;
}

TABLE.submenu TD {
	padding:3px;
	width:25%;
}

TABLE.submenu A, TABLE.submenu A:visited, TABLE.submenu A:link, TABLE.submenu A:active {
	display:block;
	font-weight:normal;
	padding:7px;
	text-align:left;
	background-color:#3d3d3d;
	color:#ffffff;
	text-transform:uppercase;
	font-size:16px;
}

TABLE.submenu A:hover {
	background-color:#f29100;
	color:#ffffff;
	text-decoration:none;
}

UL.submenu { }

UL.submenu LI {
	padding-bottom:10px;
}

UL.submenu LI DIV A{
	font-weight:bold;
}

TABLE.submenu3 {
	margin:auto;
	width:90%;	
	text-align:center;	
	margin-top:7px;
	margin-bottom:7px;
}

TABLE.submenu3 TD {
	padding:5px;
	text-align:center;
	font-weight:bold;
}

UL.submenu3 {
	list-style-type:none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;     
	margin:auto;
	-webkit-flex-wrap: wrap;	
	flex-wrap: wrap;	
	-webkit-justify-content:center;	
	justify-content:center;	
	padding:0px;
}	

UL.submenu3 LI {
	list-style-type:none;
	display:block;
	float:left;
	padding:0px;
	width:50%;
	padding-bottom:5px;
}

UL.submenu3 IMG{
}

UL.submenu3 A{
	display:block;
	border:1px solid #ffffff;
	border-bottom:2px solid #e7e7e7;
	background:#ffffff;
	padding:0px;
	text-align:center;
	font-size:24px;	
	color:#313131;
	text-transform:uppercase;
	
}

UL.submenu3 A:hover{
	border:1px solid #e7e7e7;
	border-bottom:2px solid #e7e7e7;	
	background:#f3f3f3;	
}

UL.submenu3 A DIV{
	padding-top:15px;
	padding-bottom:15px;
}

TABLE.submenu4 {
	width:100%;
	text-align:left;	
	margin-top:7px;
	margin-bottom:7px;
}

TABLE.submenu4 TD {
	padding:4px;
}

TABLE.submenu4 TD.td1 {
	width:120px;
}

/* table empty elements  */
.nodata {
	font-weight:bold;
	padding:15px;
	text-align:center;
}

#facebook_pan { background: url("../img/fb.png") no-repeat scroll 0 0 transparent; display: block; min-height:200px; float: right; padding: 0; position: fixed; right: -295px; top: 150px; width: 324px; z-index: 900; }
#facebook_pan2{ color:#fff; background:#3b5998; padding:5px; margin-left:29px; overflow-y:auto; }
#facebook_pan A{ color:#ffffff; display:block; padding-top:10px; text-align:center; }

.comment_row{
	clear:both;
	background-color:#f8f8f8;
	text-align:left;
	margin-bottom:7px;
	border:1px solid #dee1e2;
	padding:2px;
}

.comment_header{
	padding:7px;
	background-color:#ebf5fa;
}

.comment_body{
	padding:7px;
}

.artfiles{
	margin-top:10px;
}

.artfiles TD{
	padding-bottom:5px;
}

.artfiles A{
	font-weight:bold;
}

.artfiles DIV{
	padding-top:1px;
}

.artfiles IMG{
	margin-right:5px;
	margin-left:5px;	
}

/* demo  */

.wrapper {
	margin-left:15px;
	margin-right:15px;
}

.header-container {
	border-bottom: 20px solid #e44d26;
}

.footer-container, .main aside {
	border-top: 20px solid #e44d26;
}

.header-container, .footer-container, .main aside {
	background: #f16529;
	text-align:left;
}

.title {
	color: white;
	font-size:28px;
	float:left;
}

#menu1, #menu1 * {
	margin: 0;
	padding: 0;
	list-style: none;
	z-index: 898;	
}

#g_menu{
	margin:auto;
	display:table;
	width:100%;
	padding-top:11px;
	font-weight:400;
}

#menu1 {
	float: none;
	display:table;
	margin:auto;
}

#menu1 LI {
	position: relative;
	white-space: nowrap;
	*white-space: normal;	
}

#menu1 UL LI {
	width:210px;
	white-space: normal;
	text-align:left;
}

#menu1 UL {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 999;
}

#menu1 > LI {
	float: left;
}

#menu1 UL UL {
	top: 0;
	left: 100%;
}

#menu1 LI:hover > UL,
#menu1 LI.sfHover > UL {
	display: block;
}

#menu1 A {
	display: block;
	position: relative;
	zoom: 1;	
	text-decoration: none;	
}

#menu1 A.item1{
	padding-bottom:5px;
}

#menu1 A.item1 SPAN {
	padding-left:15px;
	padding-right:15px;
	height:28px;
	line-height:28px;
	font-size:15px;
	text-transform:uppercase;	
	color:#ffffff;
	display:block;
	border-radius:4px;
	transition: none;		
	background:url('../img/mm.png') bottom center no-repeat;	
}

#menu1 A.item1:hover,
#menu1 LI.sfHover A.item1,
#menu1 LI.sfHover A.current,
#menu1 LI.current A.item1{
	transition: none;		
	background:url('../img/m.png') bottom center no-repeat;
}

#menu1 A.item1:hover SPAN,
#menu1 LI.sfHover A.item1 SPAN,
#menu1 LI.sfHover A.current SPAN,
#menu1 LI.current A.item1 SPAN{
	background:#f29100;
}

#menu1 A.item2 {
	color:#000000;
	background:#ffffff;
	font-weight:normal;
	font-size:15px;
	text-align:left;	
	padding-left:10px;
	padding-right:10px;
	padding-top:8px;
	padding-bottom:8px;	
	border-bottom:1px solid #cdcdcd;	
	border-top:0px none;	
	transition: background 0.2s linear;			
}

#menu1 A.item2:hover {
	color:#c01212;
	background:#ffffff;
	transition:none;
}

#mobnav-btn {
	display: none;
	cursor: pointer;	 
   margin-top: 7px;
   border: none;
   float: right;
   margin-right: 20px;
}

#mobnav-btn SPAN{
	background-color: #ffffff;
	display: block;
	width: 22px;
	height: 2px;
	line-height: 2px;
	margin-top: 4px;
}

#mobnav-btn SPAN:first-child{
	margin-top: 0px;
}

.mobnav-subarrow {
    display: none;
}


#foot{
	clear:both;
	width:1200px;
	max-width:98%;
	margin:auto;
	color:#868686;
	font-size:12px;
	padding-top:18px;
}

#foot A{
	color:#868686;
}

#foot A:hover{
	color:#000000;
}

#foot1{
	width:33.333%;
	float:left;
	text-align:left;
	padding-bottom:10px;
}

#foot2{
	width:33.333%;
	float:left;
	text-align:center;
	padding-bottom:10px;	
}

#foot3{
	width:33.333%;
	float:left;
	text-align:right;
	padding-bottom:10px;	
}

#salony{
	clear:both;
	padding-top:30px;
	padding-bottom:30px;
	overflow-y:auto;
	background:#3d3d3d;
	color:#ffffff;
}

#salony H2{
	text-align:center;
	text-transform:uppercase;
	font-size:24px;
	color:#cccccc;
	padding-bottom:20px;
}

#salony2{
	clear:both;
	display:table;
	margin:auto;
	max-width:98%;
	border-spacing: 10px;	
}

#salony2 > UL{
	list-style-type:none;
	display:table-row;
	padding:0px;
	margin:0px;
}

#salony2 > UL > LI{
	list-style-type:none;
	display:table-cell;
	border:1px solid #959595;
	padding:25px;
	padding-left:30px;
	padding-right:30px;
	width:245px;
	text-align:left;
	transition: all 0.4s ease;	
}

#salony2 > UL > LI:hover{
	border:1px solid #ffffff;
}

#salony2 .name A{
	color:#ffffff;
	font-size:16px;
	text-transform:uppercase;
}

#salony2 .name A:hover{
	opacity:0.8;
}

#salony2 .more A{
	color:#f19100;
	font-size:12px;
}

#salony2 .more A:hover{
	color:#ffffff;
}

#maincontent{
	clear:both;
	width:100%;
}

#maincontent2{
	clear:both;
	padding-top:50px;
	padding-bottom:20px;
	width:1200px;
	max-width:98%;
	margin:auto;
	display:block;
	text-align:left;
	overflow-y:auto;
}

#top{
	position: fixed;
	width:100%;
	top:0px;
	z-index:10;
	background:#3d3d3d;
}

#top0{
	width:1200px;
	max-width:98%;
	margin:auto;
	padding-top:19px;
}

#top1{
	float:left;
	padding-bottom:13px;	
}

#top2{
	float:right;
	text-align:right;
	padding-bottom:13px;	
}

#slider{
	top:0px;
	left:0px;
	width:100%;
	height:552px;
	overflow:hidden;
	position:relative;
}

#slider_img{
	position:absolute;
	z-index:2;
	top:0px;
	left:0px;
	width:100%;
	height:552px;
	overflow:hidden;
}

.slider_el{
	width:100%;
	height:552px;
	overflow:hidden;
	background-position:top left;
	background-repeat:no-repeat;
	background-size:cover;
}

.slider_el DIV{
	font-size:56px;
	font-weight:bold;
	position: absolute;
	bottom:20px;
	left:20px;
	color:#ffffff;
	text-shadow: 4px 4px 3px rgba(0, 0, 0, 1);
	text-transform:uppercase;
}

#slider_img IMG{
	width:100%;
	height:auto;
}

#slider_naw{
	position:absolute;
	z-index:3;
	top:22px;
	width:100%;
}

#slider_naw2{
	display:table;
	width:1200px;
	max-width:98%;
	padding:0px;
	margin:auto;
	list-style-type:none;
	margin:auto;
}

#naw{
	display:block;
	float:right;
	padding:0px;
	margin:0px;
	list-style-type:none;
}

#naw LI{
	display:block;
	padding:0px;
	margin:0px;
	list-style-type:none;
	padding-right:10px;
	padding-left:10px;
	float:left;
}

#naw LI A{
	display:block;
	float:left;
	width:13px;
	height:13px;
	overflow:hidden;
	background:url('../img/zm1.png') left top no-repeat;
}

#naw LI A.activeSlide, #naw LI.activeSlide A {
	background-image:url('../img/zm2.png');
}

#l_menu{
	padding-bottom:30px;
}

#l_menu .item1{
	display:block;
	color:#686868;
	text-transform:uppercase;
	padding-top:7px;
	padding-bottom:7px;
}

#l_menu .item1:hover, #l_menu .item1.wyb{
	color:#000000;
}

#left_k{
	width:265px;
	float:left;
}

#left_k2{
	padding-right:38px;
	padding-bottom:30px;
	top: 10px;
	z-index: 9;
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -o-sticky;
	position: -ms-sticky;
	position: sticky;		
}

#right_k{
	width:935px;
	float:left;
}


#search_panel{
	border:1px solid #cacaca;
	padding-left:5px;
	padding-right:5px;
}

#search_panel INPUT{
	padding:0px;
	margin:0px;
	border:0px none;
	height:36px;
	line-height:36px;
	background:none;
}

#search_panel INPUT#art_szuk{
	width:180px;
	max-width:80%;
}

#search_panel INPUT#searchp{
	width:34px;
	max-width:20%;
	background:url('../img/search.png') center center no-repeat;
}

#center_p{
	width:245px;
	margin:auto;
	padding-top:25px;
	padding-bottom:25px;
}

@media only screen and (max-width: 480px) {

	#top1{
		padding-bottom:0px;
	}
	
	#top0{
		padding-top:10px;
	}

	BODY{
		padding-top:71px;
	}
	
	#search_panel{
		margin-top:10px;
		margin-bottom:10px;
	}
	
	#colorbox, div.toplayer #cboxWrapper {
		width:100% !important;
	   max-width:100%;
	}

	#colorbox DIV{
	   max-width:100%;
	}

	#facebook_pan {
	    background:#3b5998;
	    float: none;
	    padding: 0;
	    position: static;
	    right: auto;
	    top: auto;
	    width: 100%;
	    z-index: 1;
	}	
	
	#facebook_pan2 {
	    margin-left: 0px;
		 overflow:hidden;
	}	

	#menu1 A.item1 {
		padding-left:12px;
		padding-right:12px;
		font-size:15px;
	}	

	#g_menu, #menu1{
		overflow-y:auto;
		width:100%;
		display:block;
		padding:0px;
		padding-top:15px;
	}

	#mobnav-btn {
		display: block;
	}

	#menu1 {
		width: 100%!important;
		display: none;
	}
	
	#menu1.xactive {
		display: block!important;
	}	
	
	#menu1{
		float:none;
		text-align:left;
		width:100%;
	}
		
	#menu1 > LI {
		float: none;
		width:100%;
		position:static;
		border-right:0px none;
	}	
	
	#menu1 UL {
		position: static !important;
		display: block !important;
		top: none;
		z-index: none;
		width:100%;
	}	
	
	#menu1 UL LI {
		width:100%;
		white-space: normal;
		text-align:left;
	}				
	
	#maincontent{
		width:100%;
		float:none;
	}	
	
	#maincontent2{
		padding-right:0px;
	}
	
	#top2{
		float:none;
		clear:both;
	}
	
	#foot1,#foot2,#foot3{
		width:100%;
		float:none;
		text-align:center;
	}	
	
	#salony2{
		clear:both;
		display:block;
	}

	#salony2 > UL{
		display:block;
	}

	#salony2 > UL > LI{
		list-style-type:none;
		display:block;
		border:1px solid #959595;
		padding:25px;
		padding-left:30px;
		padding-right:30px;
		width:auto;
		text-align:left;
		margin-bottom:10px;
		transition: all 0.4s ease;	
	}	
	
	#left_k{
		float:none;
		width:100%;
	}
	
	#left_k2{
		padding-right:0px;
		padding-bottom:15px;
	}
	
	#right_k{
		float:none;
		width:100%;
	}	
	
	#search_panel INPUT#art_szuk{
		width:80%;
	}

	#search_panel INPUT#searchp{
		width:20%;
	}	
	
	#l_menu{
		display:none;
	}
	
	#maincontent2{
		padding-top:15px;
		padding-bottom:15px;
	}
	
	UL.submenu3 LI {
		float:none;
		width:100%;
		padding-bottom:5px;
	}	
	
	
	#slider,#slider_img,.slider_el{
		height:272px;
	}
	
	.slider_el DIV{
		font-size:25px;
		padding-top:30px;
	}	
	
TABLE.submenu, TABLE.submenu TD, TABLE.submenu TBODY, TABLE.submenu TR {
	width:100%;
	display:block;
}	
		
	
}

@media only screen and (max-width: 768px) and (min-width: 481px) {


	#top1{
		padding-bottom:0px;
	}
	
	#top0{
		padding-top:10px;
	}

	BODY{
		padding-top:71px;
	}
	
	#search_panel{
		margin-top:10px;
		margin-bottom:10px;
	}

	#colorbox, div.toplayer #cboxWrapper {
		width:100% !important;
	   max-width:100%;
	}

	#colorbox DIV{
	   max-width:100%;
	}

	#facebook_pan {
	    background:#3b5998;
	    float: none;
	    padding: 0;
	    position: static;
	    right: auto;
	    top: auto;
	    width: 100%;
	    z-index: 1;
	}	
	
	#facebook_pan2 {
	    margin-left: 0px;
		 overflow:hidden;
	}	

	#menu1 A.item1 {
		padding-left:12px;
		padding-right:12px;
		font-size:15px;
	}	

	#g_menu, #menu1{
		overflow-y:auto;
		width:100%;
		display:block;
		padding:0px;
		padding-top:15px;		
	}

	#mobnav-btn {
		display: block;
	}

	#menu1 {
		width: 100%!important;
		display: none;
	}
	
	#menu1.xactive {
		display: block!important;
	}	
	
	#menu1{
		float:none;
		text-align:left;
		width:100%;
	}
		
	#menu1 > LI {
		float: none;
		width:100%;
		position:static;
		border-right:0px none;
	}	
	
	#menu1 UL {
		position: static !important;
		display: block !important;
		top: none;
		z-index: none;
		width:100%;
	}	
	
	#menu1 UL LI {
		width:100%;
		white-space: normal;
		text-align:left;
	}				

	#maincontent{
		width:100%;
		float:none;
	}	
	
	#maincontent2{
		padding-right:0px;
	}
	
	#top2{
		float:none;
		clear:both;
	}
	
	#left_k{
		float:none;
		width:100%;
	}
	
	#left_k2{
		padding-right:0px;
		padding-bottom:15px;
	}
	
	#right_k{
		float:none;
		width:100%;
	}	
	
	#search_panel INPUT#art_szuk{
		width:80%;
	}

	#search_panel INPUT#searchp{
		width:20%;
	}	
	
	#l_menu{
		display:none;
	}
	
	#maincontent2{
		padding-top:15px;
		padding-bottom:15px;
	}
	
	
	#slider,#slider_img,.slider_el{
		height:352px;
	}
		
	.slider_el DIV{
		font-size:35px;
		padding-top:60px;
	}			

	
}

@media only screen and (max-width: 1199px) and (min-width: 769px) {

	#colorbox, div.toplayer #cboxWrapper {
		width:100% !important;
	   max-width:100%;
	}

	#colorbox DIV{
	   max-width:100%;
	}
	
	#left_k{
		width:30%;
	}
	

	#right_k{
		width:70%;
	}		
	
	
	#slider,#slider_img,.slider_el{
		height:452px;
	}
	

}

@media print {

	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a, a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	pre,blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,h2,h3 {
		orphans: 3;
		widows: 3;
	}

	h2,h3 {
		page-break-after: avoid;
	}

}