/* Wspólne warunki dla mniejszej rozdzielczości */
@media only screen and (max-width: 1400px)
{
	/* konstrukcja */
	header a img, div.container
	{
		width: 100%;
	}

	div.page_content
	{
		width: 96%;
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
		margin: auto;
	}

	/* schowaj link drukuj */
	div#print
	{
		display: none;
	}

	/* filmy, mapy, kamery */
	div#container iframe, div.container iframe
	{
		width: 100% !important;
		max-height: 500px !important;
	}

	/* new div */
	div#new_div_content, div#exit_popup_content
	{
		width: auto !important;
		max-width: 90% !important;
	}
}


/* telefon poziomo i pionowo */
@media only screen and (min-width: 100px) and (max-width: 699px)
{
	/* ogólne zasady */
	body, table
	{
		font-size: 16px;
	}

	/* schowaj link drukuj */
	div#print
	{
		display: none;
	}

	/* listy wypunktowane z mniejszym wcięciem */
	div.page_content ul,
	div.page_content ol
	{
		padding-left: 25px;
	}


	input[type='text'],
	input[type='password'],
	textarea,
	select
	{
		padding: 8px;
		margin-right: 0;
		font-size: 16px;
	}

	/* lightbox */
	#lightbox-secNav-btnClose
	{
		top: 5px;
		padding: 5px;
	}

	#lightbox-container-image
	{
		padding: 5px;
	}

	#lightbox-secNav-btnClose img
	{
		width: 23px;
		height: 23px;
	}

	#lightbox-nav-btnNext, #lightbox-nav-btnPrev
	{
		background-size: 35px !important;
	}

	#lightbox-container-image-data-box
	{
		font-size: 13px;
	}


	/* tabela na formularz */
	div.table
	{
		display: block !important;
	}

	div.tr
	{
		display: block;
		margin-bottom: 5px;
		padding-bottom: 5px;
	}

	div.td,
	div.td_top,
	div.td_text
	{
		display: block;
		padding: 0;
		padding-top: 3px;
		padding-top: 6px;
	}

	div.td label,
	div.td_top label
	{
		min-height: auto;
	}

	div.td input[type="text"],
	div.td input[type="password"],
	div.td textarea,
	div.td select
	{
		display: inline-block;
		margin-top: 2px;
		margin-bottom: 2px;
		width: 94% !important;
	}

	div.td select
	{
		width: 100% !important;
	}

	div.list div.tr
	{
		border-bottom: 1px solid #bbb;
	}

	div.list div.td
	{
		border-bottom: none;
	}

	select
	{
		max-width: 100%;
	}

	span.form_element
	{
		display: block;
		margin-bottom: 10px;
	}

	span.form_element label
	{
		display: block;
		margin-bottom: 3px;
	}
}


/* telefon pionowo */
@media only screen and (min-width:100px) and (max-width: 500px)
{
	div.container_flex
	{
		display: block;
	}

	div.box
	{
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 25px;
	}

	/* dopasowuje zdjęcia z klasą "responsive" do rozmiaru strony - rozciąga na całą stronę*/
	img.responsive
	{
		width: 100% !important;
		float: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}
