/* Wspólne warunki dla mniejszej rozdzielczości */
@media only screen and (max-width: 1024px)
{
	/* konstrukcja */
	body
	{
		background-size: contain;
		background-position: center bottom 120px;
	}

	header#top,
	div.container,
	div#container_flex,
	footer,
	footer#copyright
	{
		width: 94%;
	}

	header#top
	{
		height: 80px;
	}

	div#top_bar
	{
		height: 30px;
	}

	div#langs
	{
		width: 94%;
		padding-top: 4px;
	}

	img.flag, img.flag_active
	{
		width: 28px;
	}

	a#logo
	{
		width: 240px;
		height: 56px;
	}

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

	h3.title
	{
		font-size: 28px;
	}

	/* menu mobilne */
	a.mobile_open
	{
		width: auto;
	}

	a.mobile_open img
	{
		width: 36px;
	}

	div#menu_mobile
	{
		display: block;
	}

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

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


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

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

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

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

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

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

	div#cookie_settings_container
	{
		width: auto;
	}

	/* oferta */
	div.item_images
	{
		width: 330px;
		margin-right: 20px;
	}

	div.item_details h4
	{
		font-size: 26px;
	}


	/* klub rowerowy */
	div.klub_rowerowy
	{
		width: 100%;
		height: 400px;
	}

	div.klub_rowerowy h2
	{
		font-size: 40px;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	div.klub_rowerowy h3
	{
		font-size: 32px;
		margin-top: 10px;
	}

	div.columns
	{
		align-items: flex-start;
	}

	div#signin_form
	{
		display: block;
	}

	div#signin_form div.column
	{
		width: auto;
	}

	div#signin_form div.column img
	{
		width: 70%;
		height: auto;
	}
}

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

	/* 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 */
	footer
	{
		display: block;
		padding-top: 20px;
		padding-bottom: 10px;
	}

	footer div
	{
		margin-bottom: 15px;
		line-height: 1.6;
	}


	/* 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: 8px;
		padding-bottom: 8px;
	}

	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: 80% !important;
	}

	img.info
	{
		width: 20px;
		height: auto;
	}

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

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

	select
	{
		max-width: 100%;
	}

	div.td select#prefix-telephone
	{
		width: auto !important;
		margin-right: 10px;
	}

	div.td input#telephone
	{
		width: auto !important;
	}

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

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

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

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

	/* slider */
	div.bjqs-caption
	{
		margin-left: 50px;
		margin-top: 120px;
		margin-bottom: 0;
		border-bottom: 0;
		width: 70%;
		height: auto;
		font-size: 14px;
		line-height: 18px;
	}

	div.bjqs-text p
	{
		display: none;
	}

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

	a.bjqs-button
	{
		margin-top: 3px;
		padding: 4px 15px 5px 15px;
		font-size: 14px;
	}

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

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

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

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

	
	/* klub rowerowy */
	div.klub_rowerowy
	{
		width: 100%;
		height: 300px;
		padding: 10px;
	}

	div.klub_rowerowy h2
	{
		font-size: 26px;
		margin-top: 30px;
		margin-bottom: 10px;
	}

	div.klub_rowerowy h3
	{
		font-size: 18px;
		margin-top: 10px;
	}

	div.columns
	{
		display: block;
	}

	div.column
	{
		width: auto;
	}


	div#signin_form div.column img
	{
		width: 70%;
		height: auto;
	}
}


/* ----- telefon pionowo ------ */
@media only screen and (min-width:100px) and (max-width: 500px)
{
	body
	{
		background-image: none;
	}

	div.page_content
	{
		padding-bottom: 30px;
	}

	h3.title
	{
		font-size: 24px;
	}

	/* 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.news_content
	{
		display: flex;
		flex-direction: column-reverse;
	}

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

	div.last_news
	{
		display: block;
	}

	div.single_news_item
	{
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 60px;
	}

	div.single_news_item a.button
	{
		margin-top: 15px;
	}


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

	/* sport_trainings */
	div.items
	{
		display: block;
	}

	div.items h4
	{
		height: auto;
		margin-bottom: 20px;
		font-size: 24px;
	}

	div.single_item
	{
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 60px;
	}

	div.item_details
	{
		display: block;
	}

	div.item_images, div.item_attributes
	{
		width: auto;
	}

	div#td_price
	{
		font-size: 1.3em;
	}

	div.header_line
	{
		margin-top: 40px;
		margin-bottom: 30px;
	}

	div.header_line h4, div.header_line h3
	{
		font-size: 26px;
		padding-left: 20px;
		padding-right: 20px;
		margin-bottom: 15px;
	}

	div.schedule div.table
	{
		display: table;
	}

	div.schedule div.tr
	{
		display: table-row;
	}

	div.schedule div.td
	{
		display: table-cell;
	}

	div.item_text
	{
		margin-top: 15px;
		margin-bottom: 10px;
	}

	div.show_all
	{
		text-align: center;
	}

	
	/* formularz wyszukiwania -> pole data wyświetl krótsze bez komentarza */
	div.td input.date
	{
		width: 70% !important;
	}

	span#date_format
	{
		display: none;
	}

	i.icon-calendar
	{
		font-size: 22px;
		margin-left: 4px;
	}



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

	div.klub_rowerowy
	{
		height: 200px;
	}
}
