@charset "utf-8";
@font-face
{
	font-family: Economica;
	src: url('fonts/Economica-Regular.eot');
	src: local('☺'),
	     url('fonts/Economica-Regular.ttf'),
		 url('fonts/Economica-Regular.otf');
}
	
		 
@font-face
{
	font-family: 'Open Sans';
	src: url('fonts/OpenSans-Light.ttf');
	font-weight: 100;
}

@font-face
{
	font-family: 'Open Sans';
	src: url('fonts/OpenSans.ttf');
	font-weight: normal;
}

@font-face
{
	font-family: 'Open Sans';
	src: url('fonts/OpenSans-Bold.ttf');
	font-weight: bold;
}

h1 {
	text-align: center;
	margin: 0;
	font-family: Economica;
	font-weight: normal;
	color: white;
}

@media screen and (max-width: 400px)
{
	html
	{
		font-size: 14px;
	}
	
	p
	{
		line-height: 180%;
	}
	
	li
	{
		line-height: 180%;
	}
	
}

@media screen and (min-width: 401px) and (max-width: 630px)
{
	html
	{
		font-size: 15px;
	}
	
	p
	{
		line-height: 170%;
	}

	li
	{
		line-height: 170%;
	}

}

@media screen and (min-width: 631px)
{
	html
	{
		font-size: 16px;
	}
	
	p
	{
		line-height: 160%;
	}
	
	li
	{
		line-height: 160%;
	}
}

@media screen and (max-width: 430px)
{
	h2 {
		font-family: Economica;
		font-size: 3em;
		color: white;
		font-weight: normal;
	}	
}

@media screen and (min-width: 431px)
{
	h2 {
		font-family: Economica;
		font-size: 3.5em;
		color: white;
		font-weight: normal;
	}
}


h1
{
	font-size: 5.5em;
}

h3 {
	font-family:'Economica';
	font-size: 2.5em;
	color: white;
	font-weight: normal;
}

h4 {
	font-family:'Economica';
	font-size: 1.5em;
	color: white;
	font-weight: normal;
}

h5 {
	font-family:'Economica';
	font-size: 1.5em;
	color: white;
	font-weight: normal;
}

h6 {
	font-family:'Economica';
	font-size: 1.3125em;
	color: white;
	font-weight: normal;
}

body {
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
    font-family: Arial, Helvetica, Sans-serif;
	background-color: #42413C !important;
	margin: 0;
	padding: 0;
	color: #212121;
	height: 100%;
}


/* STRONA */

#page {
	max-width: 960px;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
}

#tytul
{
	padding: 110px 30px 0; 
	margin-top: -10px;
}

#page {
	background-color: #212121;
}

#page p {
	font-family: 'Open Sans';
	font-size: 1em;
	font-weight: 100;
	color: white;
	text-align: center;
	margin: 0;
}


@media screen and (max-width:435px)
{
	#image-2 {
		display: block;
		margin: 0 auto;
		float: none;
		width: 100%;
		height: auto;
	}
	
	#image-2-text {
		display: block;
		float: none;
		margin: 0 auto;
		max-width: 66%;	
		line-height: 180%;
	}	
}

@media screen and (min-width:436px) and (max-width:873px)
{
	#image-2 {
		display: block;
		margin: 0 auto;
		float: none;
		width: 436px;
		height: auto;
	}
	
	#image-2-text {
		display: block;
		float: none;
		margin: 0 auto;
		max-width: 66%;	
		line-height: 180%;
	}

	
}

@media screen and (min-width:874px)
{
	#image-2 {
		display: inline;
		margin: 0;
		float: left;
		width: 434px;
		height: auto;
	}
	
	#image-2-text {
		 max-width: 858px; 
		 display: inline; 
		 float: left; 
		 line-height: 150%;
	}
}

@media screen and (max-width:416px)
{
	#image-2-text h6 {
		font-size: 1.2em;
		vertical-align: -1px;
	}
}

@media screen and (min-width:417px)
{
	#image-2-text h6 {
			font-size: 1.25em;
			vertical-align: -2px;
		}
}

@media screen and (max-width:399px) {
	#image-1-small {
	    display: block;
	    background-image: url('images/sny-1-notext.jpg');
		background-size: contain;
    	background-repeat: no-repeat;
    	width: 100%;
    	margin: 0 auto;
    	height: 0;
    	padding-top: 67%; /* (img-height / img-width * container-width) */
	}
	
	#image-1-small-textBox {
		width: 308px;
		display: block;
		margin: -2px auto 0;
		padding: 50px 51px 40px
	}
}

@media screen and (min-width:400px) and (max-width:480px) {
	#image-1-small {
	    display: block;
	    background-image: url('images/sny-1-notext.jpg');
		background-size: contain;
    	background-repeat: no-repeat;
    	width: 80%;
    	margin: 0 auto;
    	height: 0;
    	padding-top: 53%; /* (img-height / img-width * container-width) */
	}
	
	#image-1-small-textBox {
		width: 317px;
		display: block;
		margin: 0 auto;
		padding: 50px 51px 40px
	}

}

@media screen and (min-width:481px) and (max-width:829px)
{
	#image-1-small {
	    display: block;
	    background-image: url('images/sny-1-notext.jpg');
		background-size: contain;
    	background-repeat: no-repeat;
    	width: 66%;
    	margin: 0 auto;
    	height: 0;
    	padding-top: 44%; /* (img-height / img-width * container-width) */
	}
	
	#image-1-small-textBox {
		width: 317px;
		display: block;
		margin: -2px auto 0;
		padding: 50px 51px 40px
	}
}

@media screen and (max-width:829px) 
{
	#image-1-big-container {
		display: none;
	}
}

@media screen and (min-width:830px)
{
	#image-1-small
	{
		display: none;
	}

	#image-1-small-textBox
	{
		display: none;
	}

	#image-1-big-container {
		display: block;
		margin: 0 auto 0;
		max-width: 829px;
	}

	#image-1-big-container a {
		display: block;
	    height: 0;
	    background-repeat: no-repeat;
	    background-size: contain;
	    padding-top: 42%; /* (img-height / img-width * container-width) */
		text-indent: -9999px;		
	    background-image: url('images/sny-1.png');
		display: inline;
		float: left;
		width: 63%;
	}
	
	#image-1-big-textBox {
		width: 37%;
		display: inline;
		float: left;
		padding: 94px 51px 55px;
		margin-top: 21px;
	}
}

@media screen and (max-width:420px)
{
	#image-3 {
		display: block;
		margin: 0 auto;
		float: none;
		width: 100%;
		height: auto;
	}
	
	#image-3-text {
		display: block;
		float: none;
		margin: 0 auto;
		max-width: 448px;
		line-height: 160%;
	}

	
}

@media screen and (min-width:421px) and (max-width:539px)
{
	#image-3 {
		display: block;
		margin: 0 auto;
		float: none;
		width: 80%;
		height: auto;
	}
	
	#image-3-text {
		display: block;
		float: none;
		margin: 0 auto;
		width: 80%;
		line-height: 160%;
	}

	
}

@media screen and (min-width:540px) and (max-width:740px)
{
	#image-3 {
		display: block;
		margin: 0 auto;
		float: none;
		width: 66%;
		height: auto;
	}
	
	#image-3-text {
		display: block;
		float: none;
		margin: 0 auto;
		width: 66%;
		line-height: 160%;
	}
	
}

@media screen and (min-width:741px)
{
	#image-3 {
		display: inline;
		margin: 0;
		float: right;
		height: auto;
		width: 293px;
	}
	
	#image-3-text {
		display: inline;
		float: right;
		margin: 0;
		max-width: 448px;	
		line-height: 150%;
	}

	
}

#data-miejsce {
	/*border:1px dashed white;*/
	display: block;
	margin: 30px auto 20px;
	padding: 20px;
	text-align: center;
}

.listaOpis {
	list-style: circle;
	color: white;
	font-family: 'Open Sans';
	font-weight: 100;
	font-size: 1em;
}

.listaOpis li {
	margin: 15px 0 0;
	padding-left: 10px;
}

.listaTematy {
	color: white;
	font-family: 'Open Sans';
	font-weight: 100;
	font-size: 1em;
}

.listaTematy li {
	margin: 15px 0 0;
	padding-left: 10px;
}

/* Formularz zgłoszeniowy */
.error 
{
	font-family: 'Open Sans';
	font-size: 1em;
	font-weight: 100;
	padding-left:10px
}

#form input ,textarea
{
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
	margin-top:10px;
	margin-bottom:10px;
	font-family: 'Open Sans';
	font-weight: 100;
	font-size: 14px;
	padding: 7px;
}

label
{
	color: white;
	font-family: 'Open Sans';
	font-size: 16px;
	font-weight: 100;
}

#form
{
	width: 266px;
	display: block;
	margin: 0 auto;
}

#form fieldset
{
	border: 0px;
	max-width: 410px;
	margin: 0 auto;
	display: inline;
}

#form dd
{
	margin-left: 0;
}

#form input[type=submit]
{
	margin-left:0px;
	margin-top:0px;
	padding:12px;
	font-family: 'Open Sans';
	font-size: 16px;
	font-weight: 100;
	background-color: #2E4B64;
	color: white;
}


/* Stopka */
footer {
	background:url(images/pw_maze_white.png) repeat scroll 0 0;
	padding: 10px 0;
	position: relative;/* this gives IE6 hasLayout to properly clear */
	clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
	max-width: 960px;
	margin: 0 auto;
}

footer p
{
	font-family:'Open Sans'; 
	font-size: 12px; 
	text-align:center; 
	margin:10px 0; 
	color:#212121; 
	font-weight: 100;
}

.centerMaxWidth
{
	display: block;
	margin: 0 auto;
	max-width:100%;
}

.textBoxCenter
{
	display: block;
	margin: 0 auto;
	text-align: justify;
	
}

.boxColor1
{
	background-color: #352b5d;
}

.boxColor2
{
	background-color: #464646; 
}

ul {
    list-style: none outside none;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
	
}
h1, h2, h3, h4, h5, h6, p {
	margin: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing block. The remaining bottom margin will hold it away from any elements that follow. Dodałem usunięcie marginesu dolnego */
}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {;
	color #212121;
	text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
	color #212121;
	text-decoration: none;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	color #212121;
	text-decoration: none;
}

/* ~~ Miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty block element as the final element following the last floated block (within the .container) if the footer is removed or taken out of the .container */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

/*HTML 5 support - Sets new HTML 5 tags to display:block so browsers know how to render the tags properly. */
header, section, footer, aside, article, figure {
	display: block;
}
