@media only screen and (max-width: 950px) {
	body {
		font-size: 12px;
		background: #F8F8F8;
	}
	
	#s5_topbar {
		height: 140px;
		background: url(../images/bcg-top-resp.png) repeat scroll 0 0 transparent;
	}
	
	#s5_logreg {
		float: none;
		text-align: center;
		margin: 0;
	}
	
	#s5_logreg .mod-languages img {
		width: 35px;
		height: auto;
		margin: 0 3px;
	}
	
	div.mod-languages ul {
		text-align: center;
	}
	
	.s5_maintopmr,
	.s5_maintopml,
	.s5_leftshadow,
	.s5_rightshadow {
		background: none;
		margin:0;
		padding:0;
	}
	
	#s5_body .s5_maintopmm {
		margin: 0;
	}
	
	#hiddenMods {
		display: none;
	}
	
	.s5_wrap, .s5_wrap2 {
		width: 100% !important;
	}
	.readmore .btn {
		width: 100%;
		display: block;
		padding: 10px 0;
	}
	#myGallery {
		width: 100% !important;
	}
	#myGallery .slideElement {
		background-size: cover;
	}
	.items-row .item {
		width: 100%;
		padding: 0;
		margin: 0 0 15px 0;
		clear: both;
	}
	#s5_footerarea .s5_wrap > div {
		width: 100%;
		padding: 0;
		margin: 0 0 10px 0;
		clear: both;
		text-align: center;
	}
	.s5_modspadding {
		padding-right: 9px !important;
	}
	#s5_logo {
		width: 100%;
		background-size: contain;
		background-position: top center;
		margin: 4px 0;
		padding: 0;
	}
	#myGallery .carouselContainer {
		display: none;
	}
	
	#s5_rightcolumn,
	#s5_middlecolwrap .s5_mainmiddle_padding > div,
	.s5_toplefrig, .s5_w_modwrap {
		margin-left: 6px !important;
	}
	
	.s5_backmiddlemiddle_r {
		margin: 0;
	}
	
	#s5_advert5_100 {
		width: 98.5%;
	}
	
	.blog-featured img.article,
	.item-page img.article {
		width: 130px;
		height: auto;
	}
	
	#s5_footerarea .s5_wrap {
		padding: 25px 0 0;
	}
	
	#s5_bottomback .s5_userpositions {
		margin-bottom: 25px;
	}
	
	#s5_gradientusers .s5_backmiddlemiddle > div,
	#s5_mainbodyout .s5_w_modwrap > div {
		width: 100% !important;
		clear: both;
	}
	
	#s5_user4_33 p, #s5_user4_33 h2,
	#s5_user5_33 p, #s5_user5_33 h2,
	#s5_user6_33 p, #s5_user6_33 h2,
	#s5_user4_33 h3,
	#s5_user5_33 h3,
	#s5_user6_33 h3 {
		text-align: left !important;
	}
	#s5_user4_33 h2,
	#s5_user5_33 h2,
	#s5_user6_33 h2,
	#s5_user4_33 h3,
	#s5_user5_33 h3,
	#s5_user6_33 h3 {
		text-align: center !important;
		width: 100%;
	}
	
	#s5_contentbottom1_33 .spacer {
		width: 275px !important;
		margin: 0 auto;
	}
	
	.webgallery .webgallery_default {
	    text-align: center;
	}
	
	#s5_bottomback .s5_wrap div {
		background: none !important;
	}
	
	body > div:last-child object {
		display: none;
	}
	
	/* two columns */
	#s5_mainbody, #s5_mainbodybread {
		margin-right: 0 !important;
	}
	#s5_mainbodywrapper {
		float: none;
	}
	#s5_rightcolumn {
		float: none !important;
	    width: 100% !important;
	}
	#s5_rightcolumn .s5_backmiddlemiddle_r {
		width: 48% !important;
	    width: calc(50% - 16px) !important;
	}
	
	table.prices,
	table.icons {
		display: block;
		overflow: auto;
	}
	
	
	
	
	
	
	.s5_wrap .s5_maintoptl,
	#s5_menu #s5_navv .s5_toparrow,
	#s5_menu #s5_navv .s5_menubottom {
		display: none;
	}
	#s5_menu #s5_navv ul li ul {
/* 		width: 100% !important;	 */
	}
	#s5_menu #s5_navv ul li ul li {
/* 		width: 100%; */
	}
	#s5_menu #s5_navv li ul {
		top: 90%;
		border: 1px solid #ccc;
		box-shadow: 2px 2px 2px #333;
	}
	#s5_menu #s5_navv a {
		display: block;
	    float: none;
	    height: 100%;
	    line-height: 52px;
	    padding: 0 15px;
		color: #333;
		text-shadow: 0 1px 1px #DDD;
	}
	#s5_menu #s5_navv .s5_level_one_parent a {
	    margin-right: 10px;
	}
	#s5_menu #s5_navv ul ul a {
		line-height: 35px;
	}
	
	.s5_wrap #s5_navv > ul {
		background: #ccc;
		display: block;
		width: 100% !important;
		margin-right: 0 !important;
	}
	.s5_wrap #s5_navv ul li {
		width: 100%;
	}
	.s5_wrap #s5_navv ul ul li {
		border: 1px solid #ddd;
		border-width: 1px 0;
	}
	
	.s5_wrap #s5_navv li span {
		height: 100% !important;
		display: block;
		width: 100%;
		padding: 0;
		margin: 0;
	}
	
	#s5_navv ul li li.lastitem a:hover,
	#s5_navv ul li ul li,
	#s5_navv ul li ul li:hover,
	#s5_navv ul li ul li.over,
	#s5_navv li.active span.s5_outer_active,#s5_navv span.s5_outer_active:hover,#s5_navv ul li:hover span.s5_outer_active,
	#s5_navv ul li:hover span.s5_outer,
	#s5_navv ul li ul li:hover span.s5_outerr,#s5_navv ul li:hover ul li span.s5_outerr,#s5_navv ul li ul li a.active:hover span.span_active,#s5_navv ul li ul li.active span.s5_outerr,
	#s5_navv ul li:hover span.s5_outerr,#s5_navv ul li a.active:hover span.span_active,#s5_navv ul li.active span.s5_outerr,
	#s5_navv span.span_active,#s5_navv span.span_active:hover,
	#s5_navv ul li.active span span.s5_outer_active2,
	#s5_navv ul li:hover span span.s5_outer_active2,
	#s5_navv ul li.s5_menutop,#s5_navv ul li.s5_menutop:hover,
	#s5_navv ul li.s5_toparrow,#s5_navv ul li.s5_toparrow:hover,
	#s5_navv ul li.s5_menubottom,#s5_fm_ul0 ul li.s5_menubottom,#s5_navv ul li.s5_menubottom:hover,#s5_fm_ul0 ul li.s5_menubottom:hover {
		background: none no-repeat 0 0 #fff !important;
	}
	
	.s5_wrap #s5_navv ul li span span.s5_outer_active2,
	.s5_wrap #s5_navv ul li:hover span span.s5_outer_active2,
	.s5_wrap #s5_navv ul li.active span span.s5_outer_active2 {
		margin: 0;
		padding: 0;
	}
	
	#s5_navv ul > li.active,
	#s5_navv ul > li.active a {
/* 		background-color: #e6e6e6 !important; */
	}
	
	#s5_navv ul li {
		cursor: pointer;
		background-color: #f5f5f5;
		background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
		background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
		background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
		background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
		background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
		background: -ms-linear-gradient(top, #ffffff 0%,#e6e6e6 100%);
		background-repeat: repeat-x;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
		border-color: #e6e6e6 #e6e6e6 #bfbfbf;
		border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);		
		filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
		border: 1px solid #bbbbbb;
		border-bottom-color: #a2a2a2;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
		-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
		-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
		box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
		border-width: 1px 0;
	}
	
	#s5_navv ul li:hover,
	#s5_navv ul li:active {
	  color: #333333;
	  background-color: #e6e6e6;
	}
	#s5_navv ul li:active {
	  background-color: #ccc;
	}
}




@media only screen and (max-width: 380px) {

	.mgthumbnails img {
		max-width: 100px;
		height: auto;
	}
}
@media only screen and (max-width: 330px) {

	.webgallery .webgallery_default ul li img {
		max-width: 90px;
	}
}
