html{
	background-image: url('/img/theme/old/bckg1.gif');
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: #005656;
    margin: 0px;
    padding: 0px;
    color: #ffffff;
    font-family: Times New Roman;
    width: 100%;
    height: 100%;
}

body{
	margin: 0px;
	margin-left: auto;
	margin-right: auto;
    padding: 0px;
    width: 100%;
    max-width: 1400px;
    height: auto;
    min-height: 100%;
    
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.8);
}

h1{
	/*background-color: #005966;*/
	padding: 3px;
}

h2{
	/*background-color: #005966;*/
	/*padding: 3px;*/
	text-align: center;
	text-transform: uppercase;
}

h1, h2, h3, h4{
	/*height: 36px;
	line-height: 36px;*/
	background-image: 
		url('/img/theme/old/strona-wejsciowa-pasekpoziomwycinek.png'), 
		url('/img/theme/old/strona-wejsciowa-pasekpoziomwycinek.png'),
		url('/img/theme/old/strona-wejsciowa-pasekpoziomwycinek.png');
	background-position: 0px 0px, right 0px bottom 0px, center;
	background-repeat: repeat-x, repeat-x, repeat-x;
	
	/*background-size: 100% 2px, 100% 2px, 100% 75%;*/
	background-size: 100% 3px, 100% 3px, 100% calc(100% - 4*3px);
	padding: 4px;
	padding-top: 8px;
	padding-bottom: 8px;
}

input[type="button"], input[type="submit"], /*input[type="text"], */button, select{
	height: 24px;
	/*background-color: red;*/
}

input[type="button"], input[type="submit"], button{
	box-sizing: border-box;
	display: inline-block;
	padding: 2px;
	border: 1px solid #ffffff;
	min-width: 100px;
	text-decoration: none;
	text-align: center;
	background-color: #08545e;
	/*color: #F7BE3C;*/
	color: #ffffff;
}

input[type="button"]:HOVER, input[type="submit"]:HOVER, button:HOVER{
	text-decoration: underline;
	background-color: #063f46;
	color: #fad785;
}

input[type='text'].error{
	background-color: #ff9999;
}

input[type='text'].success{
	background-color: #e6ff99;
}

b.mark{
	display: inline-block;
	background-color: rgba(0,0,0, 0.5);
}

div.screen_info{
	position: fixed;
	z-index: 2000;
	left: 0px;
	top: 0px;
	background-color: rgba(0,0,0, 0.6);
	color: #ff0000;
	font-size: 14px;
	padding: 3px;
}

header.static{
	z-index: 1000;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: auto;
	text-align: center;
	
	background-color: rgba(0,0,0,0.6);
}

header.header_page{
	position: relative;
	/*background-image: url('/img/theme/old/logo.png'), url('/img/theme/old/glowna-baner.png');
	background-repeat: no-repeat, no-repeat;
	background-color: #151618;
	background-position: center, center;
	background-size: 110px, auto;
	height: 100px;
	padding-top: 0px;
	padding-bottom: 0px;
	width: 100%;*/
	
	background-image: url('/img/theme/old/glowna-baner.png');
	background-repeat: no-repeat;
	background-color: #151618;
	background-position: center;
	background-size: auto;
	
	height: 100px;
	padding-top: 0px;
	padding-bottom: 0px;
	width: 100%;
	text-align: center;
}

header.header_page a.header_logo{
	display: inline-block;
	
	margin-top: 10px;
	height: calc(100% - 20px);
	width: auto;
	
	transition: all .309s ease-in-out;
}

header.header_page a.header_logo:HOVER{
	margin-top: 15px;
	height: calc(100% - 30px);
}

header.header_page a.header_logo img{
	/*object-fit: cover;
	width: 100%;*/
	height: 100%;
}

header.header_page div.change_lang{
	position: absolute;
	left: 5px;
	top: -10px;
	width: 50px;
	height: 50px;
	text-align: left;
}

header.header_page div.change_lang div.change_lang_flags{
	display: none;
	position: absolute;
	left: 50px;
	top: 15px;
	width: 000px; /*400px*/
	height: 50px;
	white-space: nowrap;
	overflow: hidden;
}


header.header_page img.change_lang_icon{
	width: 100%;
	height: 100%;
}

header.header_page div.change_lang_flags a{
	position: relative;
	display: inline-block;
	border: 1px solid red;
	
	height: 25px;
	width: calc( 97px * 25/54  );
	padding: 0px;
	margin-left: 5px;
	border: 0px solid #ffffff;
}

header.header_page div.change_lang_flags a:HOVER{
	display: inline-block;
	
	box-shadow: 
		0 0 10px #9ecaed,
		0 0 20px #9ecaed,
		0 0 30px #9ecaed,
		0 0 40px #9ecaed;
		
	border: 0px solid green;
	background-color: red;
}

header.header_page div.change_lang_flags img{
	position: absolute;
	left: 0px;
	height: 25px;
}

header.header_page div.login{
	position: absolute;
	right: 20px;
	top: 20px;
	/*background-color: rgba(250,250,0,0.5);*/
}

header.header_page div.login a{
	text-transform: uppercase;	
}


header.header_menu{
	height: auto;
	width: 100%;
	text-align: right;
	background-color: #08545e;
	/*border-bottom: 1px solid #42dbf0;*/
}

div.header_menu_back_mobile{
	display: none;
}

div.header_menu_quick_search_mobile{
	display: none;
}

div.header_menu_title_mobile{
	display: none;
}

header.header_menu ul{
	margin: 0px;
}

header.header_menu ul li{
	display: inline-block;
	list-style-type: none;
}

header.header_menu ul li.mobile{
	display: none;
}

header.header_menu ul li.change_lang{
	display: none;
}

header.header_menu a{
	/*display: inline-block;*/
	/*width: 100px;*/
	
	/*color: #65FFA7;*/
	color: #ffffff;
	font-size: 95%;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	margin-left: 10px;
	margin-right: 0px;
	padding: 3px;
	padding-top: 3px;
	padding-bottom: 3px;
	/*background-color: rgba(0,0,0, 0.5);*/
}

header.header_menu a:HOVER{
	text-decoration: underline;
}
/*
header.header_menu a:FIRST-LETTER{
	font-size: 120%;
}*/

div.menu_mobile{
	display: none;
}

nav{
	/*background-color: #063f46;*/
	background-color: #005966;
	/*background-color: #78a6ad;*/
	border-bottom: 1px solid #042a2f;
	padding: 3px;
	/*height: 30px;*/
}

nav div.cities_box{
	overflow-x: auto;
	white-space: nowrap;
	margin-top: 5px;
	opacity: 0.5;
}

nav div.cities_box a{
	display: inline-block;
	/*background-color: rgba(0,0,0, 0.5);*/
	margin-left: 2px;
	margin-right: 2px;
	padding: 2px;
}

section{
	display: block;
    padding:0px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 60px;
    
    display: block; 
    min-width: 80%;
    max-width: calc(100% - 20px);
    width: auto;
    
    /*
    min-height: calc(100% - 80px);
    height: auto;*/
    min-height: calc( 100vh - 100px );
     	 
    /*border: 1px dotted #808080;*/
    /*background-color: rgba(250,0,255,0.3);*/
    
    text-align: left;
    vertical-align: top;
}

footer{
	display: block;
	display: none;
    position: fixed;
    z-index: 10000;
    bottom: 0px;
    left: 0px;
    right: 0px;
	/*height: 30px;*/
	width: 100%;
    
    background-color: rgba(0,0,0,0.9);
	
	/*border-top: 2px solid rgba(255,255,255,1);*/
    
    margin: 0px;
    color:white;
    /*clear:both;*/
    text-align:center;
    padding:5px;
}

footer #screen_info{
	display: inline-block;
	position: absolute;
	left: 0px;
	top: 0px;
}

footer img{
	height: 16px;
}

footer a{
	color: #ccff33;
}

footer a:HOVER{
	color: #ff3300;
}

a{
	color: #ffffff;
	text-decoration: none;
}

a:HOVER{
	text-decoration: underline;
	/*color: #b3ff66;
	
	-webkit-transition: color .25s ease .1s;
	-moz-transition: color .25s ease .1s;
	-o-transition: color .25s ease .1s;
	-ms-transition: color .25s ease .1s;
	transition: color .25s ease .1s;*/
}
/*
a:FIRST-LETTER{
	font-size: 120%;
}*/

/*----------------------------------------------------*/
@media screen and (max-width: 880px){
	body{
		padding-top: 40px;
	}
	
	/*input, button, textarea{
		font-size: 120%;
		padding: 3px;
	}*/
	
	div.menu_mobile{
		background-color: black;
		background-image: url('/img/theme/old/menu.png');
		background-position: right;
		background-repeat: no-repeat;
		background-size: 24px 24px;
		
		display: inline-block;
		font-size: 150%;
		padding: 10px;
		cursor: pointer;
		/*background-color: #a0a0a0;*/
		
		height: 24px;
		width: 64px;
		margin-top: 2px;
		margin-right: 10px;
	}
	
	div.screen_info{
		top: 0px;
		left: 0px;
		color: #00ff00;
	}
	
	header.header_page{
		display: none;
	}
	
	header.header_menu{
		position: fixed;
		top: 0px;
		left: 0px;
		height: 48px;
		z-index: 1000;
		background-color: black;
		background-image: url('/img/theme/old/pojedyncze-motyl-lubie.png');
		background-position: left;
		background-repeat: no-repeat;
		background-size: 40px;
		box-shadow: 0px 5px 5px rgba(0,0,0, 0.3);
	}
	
	div.header_menu_back_mobile{
		display: block;
		position: absolute;
		left: 0px;
		top: 0px;
		width: 50px;
		height: 100%;
		/*background-color: red;*/
	}
	
	div.header_menu_quick_search_mobile{
		display: inline-block;
		position: absolute;
		left: calc(100%/2 - 64px/2);
		bottom: 2px;
		width: 64px;
		height: 100%;
		/*background-color: rgba(255, 255, 255, 0.1);*/
		
		background-image: url('/img/theme/old/lupka_white.png');
		background-position: center;
		background-repeat: no-repeat;
		background-size: 32px;
	}
	
	div.header_menu_title_mobile{
		display: inline-block;
		position: absolute;
		left: 2px;
		bottom: 2px;
		
		font-size: 10px;
	}
	
	header.header_menu ul.header_menu_close{
		display: none;
		
		height: 0px;
		color: yellow;
		overflow: hidden;
		/*transition: all .309s ease-in-out;*/
	}
	
	header.header_menu ul.header_menu_open{
		display: block;
		
		background-color: #38545e;
		height: auto;
		color: red;
		
		/*transition: all .309s ease-in-out;*/
	}
	
	header.header_menu ul{
		position: absolute;
		background-color: #08545e;
		left: 0px;
		top: 40px;
		width: 100%;
		margin: 0px;
		padding: 0px;
		text-align: left;
		font-size: 150%;
	}
	
	header.header_menu ul li.mobile{
		display: block;
	}
	
	header.header_menu ul li{
		display: block;
		list-style-type: none;
		
		border-bottom: 1px solid rgba(255, 255, 255, 0.5);
		background-color: rgba(0,0,0, 0.4);
		text-align: left;
		padding-left: 10px;
	}
	
	header.header_menu ul li a{
		display: inline-block;
		width: 100%;
		
		padding-bottom: 7px;
		padding-top: 7px;
		text-align: left;
	}
	
	header.header_menu ul li.change_lang{
		display: block;
		/*display: flex;
		justify-content: space-around;*/
		padding: 5px;
		text-align: justify;
	}
	
	header.header_menu ul li.change_lang a{
		display: inline;
		width: auto;
		height: auto;
		margin-top: 0px;
		margin-bottom: 0px;
		padding: 0px;
	} 
	
	header.header_menu ul li.change_lang img{
		width: calc( 100% / 6 - 20px );
		margin: 0px;
	}
}

@media screen and (max-width: 480px){
	
}