/* Wspólne warunki dla mniejszej rozdzielczości */
@media only screen and (max-width: 1200px)
{
	/* konstrukcja */
	header#top
	{
		width: 98%;
	}

	img#logo_regular
	{
		display: inline-block;
		width: 230px;
	}

	img#logo_challenge
	{
		display: none;
	}

	div#image_bar
	{
		background-position: 65% 0;
	}

	div#left_column
	{
		width: 27%;
	}

	div#right_column
	{
		width: 73%;
	}

	div.container, div.container_flex
	{
		width: 96%;
	}

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

	div.footer_container
	{
		width: 96%;
		font-size: 15px;
	}

	div#footer_links span
	{
		margin-left: 3px;
		margin-right: 3px;
	}

	img#footer_logo
	{
		width: 250px;
	}

	/* strona główna */
	div.start div:first-child
	{
		width: 60%;
	}
	div.start div:last-child
	{
		width: 40%;
	}

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

	/* menu */
	ul.menu
	{
		width: 100%;
		font-size: 16px;
	}

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

	/* filmy, mapy, kamery */
	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;
	}

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

	div#cookie_settings_container
	{
		width: auto;
	}

	input[type="text"].wide
	{
		width: 500px !important;
	}
}

/* tablet pionowo, telefon poziomo i pionowo */
@media only screen and (min-width: 100px) and (max-width: 850px)
{

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

	ul.menu
	{
		display: none;
		width: auto;
		height: auto;
		position: absolute;
		right: 5px;
		padding: 0;
		margin: 0;
		background: #000;
		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
	{
		border-bottom: 1px solid #aaa;
		border-radius: 0;
	}

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

	ul.menu ul li
	{
		position: static;
		width: auto;
		border-bottom: 1px solid #aaa;
		background: #000;
	}

	ul.menu ul li a
	{
		width: auto;
		padding-left: 20px;
		border: 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;
	}
}


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

	/* 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: 6px;
		margin-right: 0;
		font-size: 15px;
	}

	/* konstrukcja */
	div#image_bar
	{
		display: none;
	}

	img#logo_regular
	{
		width: 180px;
	}

	div#shop_icons
	{
		justify-content: space-between;
	}

	div#shop_icons div
	{
		padding: 0;
		font-size: 22px;
	}

	div#search
	{
		margin: 0;
	}

	input#word
	{
		width: 150px;
	}

	/* wyświetlaj obrazkowe kategorie tylko na stronie głównej */
	div#categories_bar
	{
		display: none;
	}

	div.categories_bar
	{
		flex-wrap: wrap;
	}

	div.categories_bar a
	{
		margin-bottom: 20px;
	}

	div#breadcrumb
	{
		margin-top: 15px;
		padding-top: 20px;
		border-top: 1px solid #ccc;
	}

	div.page_content
	{
		margin-top: 20px;
	}

	div.container_flex
	{
		display: block;
	}

	div#left_column
	{
		display: none;
	}

	div#right_column
	{
		width: auto;
	}

	h3.title
	{
		padding-top: 20px;
		padding-bottom: 0;
		margin-bottom: 15px;
		font-size: 24px;
	}

	div.footer_container, div#contact
	{
		display: block;
	}

	img#footer_logo
	{
		width: 200px;
		margin-bottom: 20px;
	}

	div#contact_links
	{
		margin-top: 25px;
		padding-left: 0;
	}


	footer#contact div
	{
		width: 94%;
	}

	footer#contact h4
	{
		font-size: 24px;
	}

	div#footer_links
	{
		margin-top: 20px;
	}

	div#footer_links a
	{
		font-size: 15px;
	}


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


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

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

	button.to_basket
	{
		padding: 6px 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.left, 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 */
	ul.bjqs-controls li a
	{
		padding: 12px 4px;
	}

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

}


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

	div.start div
	{

		padding: 0;
		margin: 0;
	}
	div.start div:first-child, div.start div:last-child
	{
		width: auto;
	}

	div.start div p:last-child
	{
		text-align: left !important;
	}


	/* 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
	{
		float: none;
	}

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

	div.small_product
	{
		float: none;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
		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%;
	}

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

	div#cookie_consent_container
	{
		position: absolute;
	}

	div#cookie_settings_container .table
	{
		width: 96%;
	}
	div#privacy_policy, div#cookie_settings_container
	{
		height: auto;
		max-height: none;
		overflow: visible;
	}

	div#cookie_settings_buttons
	{
		text-align: center;
	}

	div#privacy_policy
	{
		padding: 20px;
		width: auto;
	}

	div#privacy_policy_content
	{
		width: auto;
	}

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