/* Wspólne warunki dla mniejszej rozdzielczości */
@media only screen and (max-width: 1024px)
{
	/* konstrukcja */
	header#top,
	div.container,
	div#container,
	div#container_flex,
	footer#bottom_menu,
	footer#copyright
	{
		width: 100%;
	}

	div#right_column
	{
		width: auto;
	}

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

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

	/* kolumny */
	div#left_column
	{
		width: 20%;
	}

	div#right_column
	{
		width: 80%;
		padding-left: 15px;
	}

	/* menu */
	ul.menu
	{
		width: 100%;
	}

	ul.menu a
	{
		padding-left: 12px;
		padding-right: 12px;
	}

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

	/* cookie consent */
	div#cookie_consent
	{
		width: 96%;
	}

	/* new div */
	div#new_div_content
	{
		width: auto !important;
	}

	/* slider */
	div.bjqs-caption
	{
		width: 35%;
		padding: 12px;
		margin-left: 50px;
	}

	h3.bjqs-header
	{
		margin-bottom: 12px;
		margin-top: 10px;
		font-size: 20px;
	}

	ol.bjqs-markers
	{
		top: 87%;
	}
}


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

	div#print
	{
		display: none;
	}

	/* schowaj link drukuj */
	div.page_content ul,
	div.page_content ol
	{
		padding-left: 25px;
	}

	/* listy wypunktowane z mniejszym wcięciem */
	input[type='text'],
	input[type='password'],
	textarea,
	select
	{
		padding: 6px;
		margin-right: 0;
		font-size: 15px;
	}

	/* konstrukcja - układ kolumnowy */
	div#container_flex
	{
		display: block;
	}

	div#left_column
	{
		display: block;
		float: none;
		width: 94%;
		margin: auto;
		padding-left: 0;
		padding-right: 0;
		background: transparent;
	}

	div#left_column *
	{
		display: none;
	}

	div#left_column a#show_categories
	{
		display: block;
	}

	div#left_column ul.categories
	{
		display: block;
		margin: 0;
		padding-top: 5px;
		padding-bottom: 0;
	}

	div#left_column ul.categories *
	{
		display: none;
	}

	div#right_column
	{
		display: block;
		float: none;
		width: 94%;
		padding: 0;
		margin-left: auto;
		margin-right: auto;
	}

	/* stopka */
	div.bottom_column
	{
		height: auto;
	}

	footer#copyright
	{
		min-height: auto;
	}

	div#copy, div#web
	{
		float: none;
		width: 94%;
		margin: auto;
		padding-left: 0;
		padding-right: 0;
		padding-top: 12px;
		padding-bottom: 12px;
		font-size: 14px;
	}

	div#web
	{
		padding-top: 0;
	}

	/* lupka przy wyszukiwarce */
	#search_form i.icon-search
	{
		color: #888;
	}

	/* popup */
	div#popup_content
	{
		width: 94% !important;
		height: auto !important;
		display: block;
	}

	div#popup_html
	{
		width: 100% !important;
		height: auto !important;
	}

	img.popup
	{
		width: 100%;
		height: auto;
	}

	/* 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;
	}

	/* menu mobilne */
	div#menu_mobile
	{
		display: block;
	}

	ul.menu
	{
		display: none;
		width: auto;
		height: auto;
		position: absolute;
		right: 5px;
		padding: 0;
		background: #fff;
		border-top: 1px solid #aaa;
		border-left: 1px solid #aaa;
		border-right: 1px solid #aaa;
		z-index: 100;
	}

	ul.menu li
	{
		float: none;
	}

	/* elementy menu */
	ul.menu a
	{
		padding: 7px 12px 7px 12px;
		border: none;
		border-bottom: 1px solid #aaa;
		margin: 0;
		border-radius: 0;
	}

	ul.menu a:hover, ul.menu a:focus
	{
		border-top: none;
		border-radius: 0;
	}

	/* submenu */
	ul.menu ul
	{
		display: block !important;
		position: static;
		width: auto;
		border: none;
	}

	ul.menu ul li
	{
		position: static;
	}

	ul.menu ul li a
	{
		width: auto;
		padding-left: 25px;
		border-top: none;
	}

	ul.menu ul li a:hover
	{
		border: none;
	}

	/* pokaż linki w menu które są przeznaczone tylko dla wersji mobilnej */
	li.mobile,
	li.external
	{
		display: block;
	}


	/* 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;
	}

	/* sklep */
	div#product_details
	{
		border: 0;
		padding: 0;
	}

	div.td input.to_basket_amount
	{
		width: 30px !important;
	}

	button.to_basket
	{
		padding: 9px 16px;
		font-size: 16px;
	}

	div#reviews, .rating_graph
	{
		border: 0;
		padding: 0;
	}

	.rating_circle, .rating_bars
	{
		float: none;
		padding: 0;
	}

	.rating_average
	{
		padding-top: 15px;
		padding-left: 15px;
	}

	div.left, div.right
	{
		float: none;
	}

	div.right
	{
		margin-top: 25px;
		text-align: center;
	}

	#select_inpost
	{
		margin-top: 8px;
	}

	#sp_inpost_point_code span
	{
		display: block;
		margin-top: 12px;
	}

	#discount_code
	{
		display: block;
		margin-top: 8px;
		margin-bottom: 8px;
	}

	#check_code
	{
		display: inline-block;
	}

	/* sklep - koszyk */
	div.basket_items, div.basket_items tr, div.basket_items td
	{
		display: block;
	}

	div.basket_items div.td
	{
		border: none;
		padding-top: 8px;
		padding-bottom: 6px;
	}

	div.basket_items div.tr
	{
		border-bottom: 1px solid #bbb;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	div.values
	{
		justify-content: flex-start;
	}

	a.small_button, input.small_button
	{
		padding: 6px 12px 8px 12px;
		margin-left: 8px;
	}

	a.basket_delete_item
	{
		padding: 5px 12px 5px 12px;
	}

	/* panel użytkownika */
	div.panel_tabs
	{
		height: auto;
	}

	div.panel_tabs a
	{
		width: auto;
		float: none;
		font-size: 14px;
	}

	/* slider */
	/* -- UWAGA! -- jeżeli slider jest opakowany w jakiś div np slider_box to ustaw go na początku mobile.css na width:auto */
	div.bjqs-caption
	{
		margin-left: 50px;
		margin-top: 0;
		margin-bottom: 0;
		width: 40%;
		height: 100%;
		font-size: 14px;
		line-height: 18px;
	}

	H3.bjqs-header
	{
		font-size: 17px;
		line-height: 19px;
		margin-bottom: 6px;
		margin-top: 0;
	}

	a.bjqs-button
	{
		margin-top: 8px;
	}

	ol.bjqs-markers
	{
		top: 84%;
	}

	ul.bjqs-controls li a
	{
		padding: 4px;
	}

	li.bjqs-prev i.icon-arrow-left, li.bjqs-next i.icon-arrow-right
	{
		font-size: 20px;
	}

	/* artykuły */
	div.article_title
	{
		height: auto;
	}

	div.article_container,
	div.article_full_images
	{
		width: 100%;
		height: auto;
		float: none;
		margin-left: 0;
		margin-right: 0;
	}

	div.article_full_images img
	{
		width: 100%;
		height: auto;
	}

	div.last_article_container,
	div.last_news_container,
	div.last_events_container
	{
		width: auto;
		float: none;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 25px;
	}
}


/* telefon pionowo */
@media only screen and (min-width:100px) and (max-width: 500px)
{
	/* strona główna */
	div#col1, div#col2
	{
		width: auto;
		float: none;
	}

	/* news, events */
	div.news_icon, div.events_icon
	{
		display: none;
	}

	div.news_wrapper, div.events_wrapper
	{
		float: none;
		width: 100%;
	}

	div.news_container
	{
		display: initial;
	}

	div.news_separator
	{
		height: 35px;
		background: transparent;
	}

	div.first_image, div.news_images, div.events_images
	{
		float: none;
		width: 100%;
		height: auto;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 15px;
	}

	div.first_image img, div.news_images img, div.events_images img
	{
		width: 100%;
		height: auto;
	}

	/* galeria */
	img.gallery, a.gallery_name
	{
		width: 100%;
	}

	/* sklep */
	div.categories
	{
		width: auto;
	}

	a.category_image
	{
		float: none;
		width: 100%;
		height: auto;
		margin-right: 0;
		margin-left: 0;
	}

	a.category_image img, div.product_image img
	{
		width: 90%;
		max-width: 90%;
		height: auto;
		margin-bottom: 20px;
	}

	div.category_name
	{
		height: auto;
	}

	div.products_list
	{
		width: auto;
	}

	form#products_options span.form_element
	{
		padding-left: 0;
	}

	div.small_product
	{
		float: none;
		width: auto;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 50px;
	}

	div.product_images
	{
		width: auto;
		height: auto;
		text-align: left;
		margin-bottom: 20px;
		border-right: 0;
	}

	img.main_image
	{
		width: 100%;
		height: auto;
	}

	input.imoje_button
	{
		width: 100%;
	}

	/* services */
	div.service_container
	{
		display: block;
	}

	div.service_column
	{
		width: 100%;
	}

	/* opinie */
	div.reviews
	{
		display: block;
	}

	div.review_box
	{
		width: 100%;
		margin-bottom: 20px;
	}

	/* cookie consent */
	div#cookie_consent
	{
		display: block;
	}

	div#cookie_consent_info, div#cookie_consent_buttons
	{
		width: auto;
		text-align: center;
	}

	div#cookie_consent_buttons
	{
		margin-top: 15px;
	}

	/* !!! - 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;
	}
}
