/* ANY CSS FOR ALL WIDTHS GOES HERE
----------------------------------------------------------- */

/* ALL WIDTHS UNDER 970PX
----------------------------------------------------------- */

@media screen and (max-width: 970px){

	/* DEFAULT
	----------------- */

	.s5_wrap {
	width:100% !important;
	}
	
	.s5_is_display, .s5_is_slide {
	position:relative !important;
	}
	
	.s5_is_slide {
	height:auto !important;
	}
	
	#fontControls {
	display:none;
	}
	
	/* CUSTOM
	----------------- */
	
	body {
	font-size:0.9em !important;
	}
	
	#s5_nav li a {
	font-size:12px;
	}
	#s5_nav li {
    margin-right:12px;
	}
  #s5_nav li.mainParentBtn .s5_level1_span2 a {
    padding-right: 12px;
  }
  .strefa-menu .s5_level1_span2 {
    width: 145px;
  }
	#s5_pos_custom_1 .readon {
	padding-left:9px;
	padding-right:9px;
	}
	
	.slideInfoZone .right img {
	margin-top:0px;
	}
	
	.icon_area_wrap_left, .icon_area_wrap_right {
	width:100%;
	}
	
	.icon_set {
	width:25%;
	margin-bottom:0px !important;
	margin-top:30px;
	}
	
	.bio_left {
	width:100%;
	}
	
	.bio_right {
	width:100%;
	margin-top:40px;
	}
	
	.bio_image_wrap img {
	padding-right:2%;
	padding-left:2%;
	}
	
	.bio_image_text_wrap {
	margin-left:2%;
	margin-right:2%;
	}
	
	.tab_left, .tab_right {
	float:none;
	width:100%;
	}
	
	.tab_right {
	margin-top:30px;
	}
	
	.tab_right .outline_button {
	float:left;
	}
	
	.tab_text1 {
	line-height:120%;
	}
	
	#s5_columns_wrap_outer {
	margin-left:-28px;
	margin-right:-28px;
	}
  #s5_pos_bottom_row2_1.s5_float_left {
    width:66.666% !important;
  }
  #s5_pos_bottom_row2_2.s5_float_left {
    width:33.333% !important;
  }
	
}


/* TABLET PORTRAIT MODE CSS
----------------------------------------------------------- */

@media screen and (min-width:580px) and (max-width: 970px){

	
	/* CUSTOM
	----------------- */
	
}


/* TABLET PORTRAIT MODE CSS - SMALLER TABLETS
----------------------------------------------------------- */

@media screen and (max-width: 750px){

	/* CUSTOM
	----------------- */
	
	.date_wrap_left, .date_wrap_right {
	padding:0px;
	width:100%;
	}
	
	.date_wrap_left {
	margin-bottom:30px;
	}
	
	.date_text2 {
	font-size:0.9em;
	}
	
	#s5_top_row1_wrap .module_round_box_outer, .module_round_box_outer {
	margin-left:13px;
	margin-right:13px;
	}
	
	#s5_component_wrap_inner {
	padding-left:13px;
	padding-right:13px;
	}

	#s5_top_row1_wrap, #s5_top_row2_wrap, #s5_top_row3_wrap, #s5_bottom_row1_wrap, #s5_bottom_row2_wrap, #s5_bottom_row3_wrap, #s5_above_columns_inner, #s5_below_columns_inner, #s5_columns_wrap_inner, #s5_top_row1_wrap {
	margin:0px;
	}
	
	.icon_set {
	width:50%;
	margin-bottom:0px;
	margin-top:30px;
	}
	
	#s5_login_register_search_wrap_inner {
	display:none;
	}
	
	#s5_bottom_menu_wrap {
	padding:0px !important;
	float:left;
	margin-top:12px;
	}
	
	#s5_bottom_menu_wrap li {
	margin-left:0px;
	margin-right:12px;
	float:left;
	}
	
	#s5_footer {
	width:auto;
	}
	
	.module_round_box-centered_white, .module_round_box-centered_black {
	padding-bottom:0px;
	padding-top:10px;
	}
  .col-2 {
    width:100%;
    margin-bottom:20px;
  }

  .col-3 {
    width:100%;
    margin-bottom:20px;
  }
	#s5_left_top_wrap, #s5_left_column_wrap, #s5_left_inset_wrap, #s5_left_wrap, #s5_left_bottom_wrap, #s5_right_top_wrap, #s5_right_column_wrap, #s5_right_inset_wrap, #s5_right_wrap, #s5_right_bottom_wrap, #s5_top_row1 .s5_float_left, #s5_top_row2 .s5_float_left, #s5_top_row3 .s5_float_left, #s5_above_columns_inner .s5_float_left, #s5_middle_top .s5_float_left , #s5_middle_bottom .s5_float_left, #s5_below_columns_inner .s5_float_left, #s5_bottom_row1 .s5_float_left, #s5_bottom_row2 .s5_float_left, #s5_bottom_row3 .s5_float_left, #s5_above_body .s5_float_left, #s5_below_body .s5_float_left {
	width:100% !important;
	}
  .module_round_box.mapa {
    margin-top:0;
    margin-bottom:20px;
  }
  .tp-caption.excerpt2, .excerpt2 {
    display:none;
  }
  .style19-tab .ju-tabs-title-wrap.ju-tabs-title-left {
    width:40% !important;
  }
  .style19-tab.ju-tabs-wrap .ju-tabs-panel .ju-tabs-content .ju-tabs-subcontent {
    padding:10px 15px;
  }
  .pict {
    display:none;
  }
  .col-6 {
    width:33.3%;
    margin-bottom:40px;
  }
  .fullwidthbanner-container {
    overflow:hidden !important;
  }

  .fullwidthbanner-container .fullwidthabanner {
    width:120%;
    margin-left:-10%;
  }
  #s5_pos_custom_1, #s5_search_wrap { /* tymczasowo */
    display:none;
  }
  #s5_header_wrap {
    height:60px;
    padding:10px 0;
  }
  #s5_logo {
    float:none;
    max-height:100%;
    margin:0;
  }
  .strefa-menu {
    float:none !important;
  }
  #s5_top_row2_area1 + #s5_center_area1 #s5_columns_wrap {
      margin-top:10px;
  }
  .huge_it_slideshow_image_wrap_5 {
    margin:0 !important;
  }
  .pull-right.item-image {
    float:none;
    padding-left:0;
    width:50%;
  }
  #s5_component_wrap {
    margin-left:0;
    margin-right:0;
  }
}


/* MOBILE LAYOUT CSS
----------------------------------------------------------- */

@media screen and (max-width: 579px){

	/* DEFAULT
	----------------- */
  .produkty img {
    display: inline;
    float: none;
    width: 100%;
    margin-left:0px;
    margin-bottom:20px;
  }

	#s5_right_column_wrap_inner .s5_float_left, #s5_left_column_wrap_inner .s5_float_left {
	float:none;
	}

	#s5_columns_wrap_inner {
	width:100%;
	}

	#s5_center_column_wrap {
	width:100%;
	left:100%;
	}

	#s5_left_column_wrap {
	left:0%;
	}
	
	#s5_center_column_wrap_inner {
	margin:0px !important;
	}
	
	#s5_left_column_wrap {
	margin-right:0px !important;
	}
	
	#s5_right_column_wrap {
	margin-left:0px !important;
	}
	
	.items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}
	
	/* CUSTOM
	----------------- */
	
	.jdGallery .slideInfoZone h2, .jdGallery .slideInfoZone .slide_title {
		font-size:1.9em !important;
	}
	
	.jdGallery .slideInfoZone {
	padding-top:40px !important;
	}
	
	.icon_set {
	width:100%;
	margin-bottom:0px;
	margin-top:30px;
	}
	
	.bio_image_wrap {
	width:100% !important;
	margin-bottom:20px;
	}
	
	.bio_image_wrap img {
	padding-right:0%;
	padding-left:0%;
	}
	
	.bio_image_text_wrap {
	margin-left:0%;
	margin-right:0%;
	}
	
	.bio_right {
	margin-top:20px;
	}

	#s5_top_row1_wrap .module_round_box_outer, .module_round_box_outer {
	margin-left:5px;
	margin-right:5px;
	}
	
	#s5_columns_wrap_inner2 {
	margin-left:-5px;
	margin-right:-5px;
	}
	
	#s5_component_wrap_inner {
	padding-left:5px;
	padding-right:5px;
	}
	
	#s5_top_row1 .date_outer_wrap .date_wrapper {
	float:none;
	}

	#s5_button_frame ul li {
	display:inline-block !important;
	}
	
	.contact input, .contact textarea {
	width:100%;
	}
	#s5_bottom_row3_area1 {
    background:#fff;
  }
  .col-6 {
    width:50%;
  }
  .fullwidthbanner-container .fullwidthabanner {
    width:150%;
    margin-left:-25%;
  }
}


/* CUSTOM SIZES
----------------------------------------------------------- */






/* S5 BOX
----------------------------------------------------------- */

@media screen and (max-width: 970px){

	#colorbox {
	width:50% !important;
	height:auto !important;
	}
	
	#cboxWrapper {
	width:100% !important;
	}
	
	#cboxContent, #cboxLoadedContent {
	width:100% !important;
	height:auto !important;
	}
	
	#colorbox {
	left:25% !important;
	width:50% !important;
	height:100% !important;
	top:25% !important;
	}
	
}

@media screen and (max-width: 750px){

	#cboxOverlay, #colorbox {
	display:none !important;
	}
	
}

@media screen and (max-width: 1200px){

	.jdGallery .slideInfoZone h2, .jdGallery .slideInfoZone .slide_title {
		font-size:2.3em !important;
	}
	
	.right_border {
	border:none !important;
	padding:0px !important;
	margin:0px !important;
	}
	
	.top_text_image_text {
	font-size:1em;
	}
	
}

@media screen and (max-width: 850px){
	.slide_title br {
	display:none;
	}
	
	.slideInfoZone .right, .slideInfoZone_unload .right {
	display:none;
	}
	
	.slideInfoZone .left, .slideInfoZone_unload .left {
	width:100%;
	}
	
	.jdGallery .slideInfoZone h2, .jdGallery .slideInfoZone .slide_title {
	text-align:center;
	}
	
	.slide_text {
	font-size:1.3em;
	}
	
	.slideInfoZone .left, .slideInfoZone_unload .left {
	text-align:center;
	}
	
	.jdGallery a.readon {
	float:none;
	}

}





/* SINGLE COLUMN FOR SMALL TABLETS - THIS IS ONLY USED FOR IE7 AND IE8. THE CLASS IS SET WITH JAVASCRIPT FOR IE ONLY
----------------------------------------------------------- */

@media screen and (max-width: 750px){
	
	.s5_ie_single_column #s5_right_column_wrap_inner .s5_float_left, .s5_ie_single_column #s5_left_column_wrap_inner .s5_float_left {
	float:none  !important;
	}

	.s5_ie_single_column #s5_columns_wrap_inner {
	width:100%  !important;
	}

	.s5_ie_single_column #s5_center_column_wrap {
	width:100%  !important;
	left:100%  !important;
	}

	.s5_ie_single_column #s5_left_column_wrap {
	left:0%  !important;
	}
	
	.s5_ie_single_column #s5_left_top_wrap, .s5_ie_single_column #s5_left_column_wrap, .s5_ie_single_column #s5_left_inset_wrap, .s5_ie_single_column #s5_left_wrap, .s5_ie_single_column #s5_left_bottom_wrap, .s5_ie_single_column #s5_right_top_wrap, .s5_ie_single_column #s5_right_column_wrap, .s5_ie_single_column #s5_right_inset_wrap, .s5_ie_single_column #s5_right_wrap, .s5_ie_single_column #s5_right_bottom_wrap {
	width:100% !important;
	}
	
	.s5_ie_single_column #s5_center_column_wrap_inner {
	margin:0px !important;
	}
	
	.s5_ie_single_column #s5_left_column_wrap {
	margin-right:0px !important;
	}
	
	.s5_ie_single_column #s5_right_column_wrap {
	margin-left:0px !important;
	}
	
	.s5_ie_single_column  .items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}

}