
@media screen and (max-width: 1020px) {
	#jm-djmenu .dj-main {
		display: block;
	}
	#jm-djmenu .dj-select {
		display: none;
	}
	#jm-back-top {
		display: none !important;
	}
	input.button, button.validate, button, input#modlgn-remember {
	-	webkit-appearance: none;
	}
	input, select, textarea {
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	#jm-left input.inputbox,
	#jm-right input.inputbox {
		width: 100%;
	}
	.jm-module-in {
		height: auto !important;
	}
	table:before {
		content: "Please scroll horizontally to view the whole table";
		display: block;
		margin-bottom: 10px;
		width: 100%;
		text-decoration: underline;
	}
	table {
		position: relative;
		width: auto;
		overflow-x:scroll;
		display: block;
	}
	#dj-classifieds table.dj-items tbody td.icon,
	#dj-classifieds table.dj-items tbody td.name {
		white-space: nowrap;
	}
	#dj-classifieds .djcf_items_blog .item_box_right .item_img {
		width: 100%;
		text-align: center;
	}
	#dj-classifieds .djcf_items_blog .item_img img {
		margin: 0 0 15px;
	}
	#dj-classifieds .djcf_items_blog .item_desc {
		display: inline-block;
		width: 100%;
	}
	.dj_cf_search .search_price span.label2, .dj_cf_search span.to_class,
	.dj_cf_search .search_price span.label1, .dj_cf_search span.from_class {
		display: block;
		margin: 0 0 5px;
	}
	.mod_djclassifieds_items .title img {
		float: none;
		margin-right: 0 !important;
		margin-bottom: 10px;
	}
	#dj-classifieds .dj-additem .djform_row {
		text-align: center;
	}
	#dj-classifieds .dj-additem .djform_row .label {
		float: none;
		display: block;
		width: auto;
		text-align: center;
	}
	#dj-classifieds .dj-additem .djform_row .djform_field {
		float: none;
	}
	#dj-classifieds .defaultSimpleSkin table.mceLayout {
		margin: 0 auto;
	}
	#dj-classifieds .dj-additem .djform_row .radiofield_box,
	#dj-classifieds .dj-additem .djform_row .radiofield_box div {
		float: none !important;
	}
	#dj-classifieds .dj-additem .djform_row .label {
		margin: 8px 0;
	}
	#dj-classifieds .dj-item .images_wrap,
	#dj-classifieds .dj-item .general_det {
		width: 100% !important;
	}
	#dj-classifieds .dj-item button#submit_b {
		display: block;
	}
	.jm-module select#mod_djc2producers_pid {
		max-width: 100%;
	}
	.djf_mod .djf_gal table:before {
		content: "Please scroll horizontally to view the rest of thumbnails";
		display: block;
		margin-bottom: 10px;
		margin-top: -30px;
		width: 100%;
		height: 20px;
		text-decoration: underline;
	}
	.djf_mod .djf_gal table {
		display: block;
		overflow-x: scroll;
		padding: 30px 0 0 !important;
		margin-bottom: 10px;
	}
	.djf_mod .djf_text {
		clear: both;
		padding-top: 10px;
	}
	.djf_mod .djf_pag {
		padding: 15px 0 0;
	}
}

@media (max-device-width: 960px) {
	#jm-djmenu .dj-main { display: block; }
	#jm-djmenu .dj-select { display: none; }
}

@media screen and (max-width: 800px) {
	#jm-logo-left {
		width: auto;
		min-height: 0;
	}
	.djslider .slide-desc-text .slide-title,
	.djslider .slide-desc-text .slide-title a,
	.djslider .slide-desc-text .slide-text,
    .djslider .slide-desc-text .slide-text p {
	    width: 100%;
	    white-space: nowrap;
	    overflow: hidden;
	    text-overflow: ellipsis;
    }
	#jm-logo-sitedesc-in {
		padding: 0 25px;
	}
	#jm-header-in {
		margin-top: -150px;
	}
	.ismobile #jm-header-in {
		margin-top: -100px;
	}
	#jm-pathway div.breadcrumbs span.showHere {
		white-space: pre-wrap;
		word-wrap: break-word;
	}
	#jm-left, #jm-right, #jm-content {
		width: 100%;
		clear: both;
	}
	#jm-content-right {
		width: 100%;
		margin-top: 150px;
	}
	.ismobile #jm-content-right {
		margin-top: 70px;
	}
	.noheader #jm-content-right {
		margin-top: 0;	
	}
	#jm-content-right-in {
		margin: 0;
	}
	#jm-content-right-space-in{
		background-image: none;
	}
	#jm-right .jm-right-in {
		margin: 0;
	}
	#jm-djmenu .dj-main {
		display: none;
	}
	#jm-djmenu .dj-select {
		display: inline-block;
		margin: 0;
	}
	#jm-djmenu {
		text-align: center;
		width: 100%;
		float: none;
	}
	#jm-top-mod {
		float: none;
		text-align: center;
		padding: 0 20px 10px;
	}
	#jm-bottom1 .rowcount_4 .bottom1-in  {
		width: 50%;
	}
	#jm-bottom1 .rowcount_4 .box3 {
		clear: both;
	}
	#djcatalog .djc_filter_list li {
		float: none;
		padding: 5px 0;
	}
	#djcatalog .djc_filter_search li:first-child {
		float: none;
		padding-top: 5px;
	}
	.djf_mod .djf_img,
	.djf_mod .djf_left {
		width: 100%;
		margin: 0;
	}
	.djc_items .djc_image img,
	.djf_mod .djf_img img,
	.djf_mod .djf_gal img,
	#djcatalog .djc_mainimage img {
		max-width: 97%;
		padding: 1%;
	}
	.djf_mod .djf_gal img {
		max-width: 93%;
		padding: 3%;
	}
	#djcatalog .djc_thumbnail img {
		max-width: 92%;
		padding: 3%;
	}
	.djc_item .djc_images,
	#djcatalog .djc_thumbnail {
		max-width: 100%;
	}
	#dj-classifieds .dj-additem .djform_row .djform_field input.inputbox,
	#dj-classifieds .dj-additem .djform_row .djform_field input.text_area,
	#dj-classifieds textarea,
	#dj-classifieds .defaultSimpleSkin table.mceLayout {
		max-width: 100%;
	}
	#dj-classifieds .dj-additem .prom_rows .djform_row .label,
	#dj-classifieds .dj-additem .prom_rows .djform_row .djform_field,
	#dj-classifieds .dj-additem .prom_rows .djform_prom_v, 
	#dj-classifieds .dj-additem .prom_rows .djform_prom_img,
	#dj-classifieds .dj-additem .prom_rows .djform_prom_desc {
		width: auto;
		float: none;
	}
	#dj-classifieds .dj-additem .prom_rows .djform_prom_img {
		padding: 0 0 10px;
	}
}


@media screen and (max-width: 480px) {
	html {
		-webkit-text-size-adjust: none;
	}
	.djslider .slide-desc-text .slide-title {
		font-size: 1em;
	}
	.djslider .slide-desc-text {
		padding: 5px;
	}
	#jm-content-top1 .rowcount_2 .content-top1-in,
	#jm-content-bottom2 .rowcount_2 .content-bottom2-in {
		float: none;
		width: 100%;
	}
	.ismobile #jm-content-right {
		width: 100%;
		float: none;
	}
	.ismobile .jm-content-in {
		padding-right: 0;
	}
	#jm-social {
		float: none;
		width: 100%;
	}
	#jm-header-in {
		margin-top: -100px;
	}
	#jm-content-right-space {
		background-image: none;
	}
	#jm-content-right {
		margin-top: 110px;
	}
	.noheader #jm-content-right {
		margin-top: 0;
	}
	.jm-left-space-in {
		position: relative;
		z-index: 999;
	}
	.jm-icons,
	.ismobile#jm-allpage .jm-icons {
		text-align: center;
		margin-bottom: 20px;
	}
	#jm-content-right #jm-content-right-space {
		padding-top: 10px;
	}
	#jm-left .jm-left-in, #jm-right .jm-right-in, #jm-content-right #jm-content-right-in {
	    margin: 0;
	}
	#jm-bottom .jm-module {
	    margin-left: 0;
	}
	.third#jm-content-right .second#jm-right .jm-right-in{
		margin-left: 25px;
	}
	#jm-logo-left {
		text-align: center;
		width: 100%;
	}
	.nocolumnleft#jm-logo-sitedesc {
		padding-bottom: 90px;
	}
	#jm-bottom1 .rowcount_2 .bottom1-in,
	#jm-bottom1 .rowcount_3 .bottom1-in,
	#jm-bottom1 .rowcount_4 .bottom1-in,
	#jm-top .rowcount_2 .top-in,
	#jm-top .rowcount_3 .top-in,
	#jm-content-top1 .rowcount_2 .content-top1-in,
	#jm-content-bottom2 .rowcount_2 .content-bottom2-in {
		float: none;
		width: 100%;
	}
	#jm-left,
	#jm-right,
	.jm-mobile #jm-column {
		float: none !important;
		width: 100% !important;
	}
	#jm-main.scheme_3 #jm-content-right,
	#jm-main.scheme_2 #jm-content-right,
	#jm-main.scheme_3 #jm-content,
	#jm-main.scheme_2 #jm-content,
	.jm-mobile #jm-main #jm-content {
		float: none !important;
		width: 100% !important;
	}
	#jm-copyrights {
		padding-bottom: 10px;
	}
	#jm-poweredby-stylearea {
		float: left;
	}
	#jm-stylearea {
		float: left;
	}
	.cols-2 .column-1 {
		float: none;
		width: 100%;
	}
	.cols-2 .column-2 {
		float: none;
		width: 100%;
	}
	.cols-3 .column-1,
	.cols-3 .column-2,
	.cols-3 .column-3 {
		float: none;
		width: 100%;
	}
	.cols-3 .column-2 {
		padding: 0;
	}
	.cols-4 .column-1,
	.cols-4 .column-2,
	.cols-4 .column-3,
	.cols-4 .column-4 {
		float: none;
		width: 100%;
	}
	.cols-4 .column-2 {
		padding: 0;
	}
	.cols-4 .column-3 {
		padding: 0;
	}
	.item-separator {
	    background: none repeat scroll 0 0 #CACACA;
	    clear: both;
	    display: inline-block;
	    height: 1px;
	    margin: 10px 0;
	    width: 100%;
	}
	.row-separator {
	    background: none;
	    clear: both;
	    display: block;
	    margin: 0;
	}
	#jm-bottom .rowcount_2 .bottom-in,
	#jm-bottom .rowcount_3 .bottom-in,
	#jm-bottom .rowcount_4 .bottom-in {
		width: 100%;
	}
	.ismobile #jm-content-right{
		margin-bottom: 10px;
	}
	.ismobile #jm-logo-left,
	.ismobile #jm-content-right {
		float: none;
		width: 100%;
	}
	.ismobile #jm-content-right-in {
	    margin: 0
	}
	#dj-classifieds .dj-category .cat_col {
		width: 100%;
	}
	#dj-classifieds .djcf_items_blog .item_box {
		width: 100% !important;
	}
	#dj-classifieds .dj-cattree-box .dj-cattree {
		width: 100% !important;
	}
	#dj-classifieds .dj-item .general_det .added,
	#dj-classifieds .dj-item .general_det .user_name,
	#dj-classifieds .dj-item .custom_det,
	#dj-classifieds .dj-item .localization_det {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}
	#dj-classifieds .dj-item .title_top .sb_top {
		float: none;
	}
	.mod_djclassifieds_items .items-col {
		width: 100% !important;
		float: none;
	}
	#djcatalog .djc_filter_list li, 
	#djcatalog .djc_filter_search li, 
	#djcatalog .djc_order_buttons li {
		float: none;
	}
	#djcatalog .djc_filter_list input.button, 
	#djcatalog .djc_filter_search input.button, 
	#djcatalog .djc_order_buttons input.button {
		margin: 3px 0;
	}
	#djcatalog .djc_items .djc_item,
	#djcatalog .djc_related_items .djc_item,
	#djcatalog .djc_subcategories_grid .djc_subcategory {
		float: none;
		width: 100% !important;
	}
	#djcatalog h2.djc_title {
		clear: both;
	}
	#djcatalog .djc_images {
		float: left;
		margin: 0 0 20px;
	}
	#djcatalog ul.djc_filter_search li input#djcatsearch {
		width: 115px;
	}
	.djf_mod .djf_gal table:before {
		height: 30px;
		font-size: 0.9em;
	}
	.djslider .navigation-container img {
		display: none !important;
	}
}