
@media screen and (max-width: 979px) {
	input.button, button.validate, button, input#modlgn-remember {
		-webkit-appearance: none;
	}
    input, 
    select, 
    textarea {
        max-width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
	#jm-search div.search .inputbox {
        box-sizing: content-box;
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box;
	}
	img {
	    -webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    box-sizing: border-box;
	}
	.jm-module-in {
		height: auto !important;
	}
    table {
        position: relative;
        width: auto;
        overflow-x: scroll;
        display: block;
    }
    .djc_attributes table {
        position: static;
        width: 100%;
        overflow-x: none;
        display: table;
    }	
	#jm-back-top {
		display: none !important;
	}
	#jm-left input.inputbox,
	#jm-right input.inputbox {
		max-width: 100%;
	}
	#jm-djmenu {
		text-align: center;
	}	
	.jm-module select#mod_djc2producers_pid {
		max-width: 100%;
	}
	#dj-classifieds table.dj-items tbody td.icon,
	#dj-classifieds table.dj-items tbody td.name {
		white-space: nowrap;
	}
	.djf_mod .djf_text {
		clear: both;
		padding-top: 10px;
	}
	.dj_cf_maps #djmod_map,
	#google_map_box #map {
		width: 100% !important;
	}
	#dj-classifieds .djcf_items_blog .item_box_right .item_img {
		width: 100%;
		text-align: center;
	}
	#dj-classifieds .djcf_items_blog .item_desc {
		display: inline-block;
		width: 100%;
	}
	#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 .dj-item .images_wrap,
	#dj-classifieds .dj-item .general_det {
		width: 100% !important;
	}
	#dj-classifieds .dj-item button#submit_b {
		display: block;
	}
	#djcatalog #fbcomments,
	#djcatalog .fb-comments,
	#djcatalog .fb-comments iframe,
	#djcatalog .fb-comments span {
		width: 100% !important;
	}
       
	#jm-header .djslider .slide-desc-text .slide-title {
    	font-size: 2.4em;
    	line-height: 1.5em;
	}
	#jm-header .djslider .slide-desc-text .slide-text {
    	font-size: 1.2em;
	}
	#jm-header .djslider a.readmore,
        #jm-sitedesc{
		margin-top: 10px;
		font-size: 1.6em;
	}
	#jm-header .djslider .slide-desc-text .slide-text p {
	    width: 100%;
	    white-space: nowrap;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    -webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}

@media screen and (min-width: 767px) {
	.hidden-tablet-landscape,
	.hidden-desktop {
		display: none;
	}	
}

@media screen and (max-width: 767px) {
	.hidden-tablet-portrait {
		display: none;
	}
	#jm-toppage-left {
		float: none;
		width: 100%;
		text-align: center;
		padding: 20px 0 0;
	}
	#jm-logo-sitedesc {
		padding-bottom: 0;
	}
	#jm-toppage-right {
		padding-top: 20px;
		float: left;
		width: 100%;
		text-align: center;
	}
	#jm-social-search {
		padding: 0;
	}
	#jm-search {
		text-align: center;
		float: none;
		padding-bottom: 20px;
	}
	#jm-social {
		text-align: center;
		float: none;
		margin: 0;
		border: none;
		padding: 0 0 20px;
	}
	#jm-toppage-left {
		padding-right: 20px;
	}
	#jm-pathway div.breadcrumbs span.showHere {
		white-space: pre-wrap;
    	word-wrap: break-word;	
	}
	.jm-article-wrapper1 {
		width: 100%;
	}
	.jm-article-wrapper2 {
		width: 100%;
	}
	.jm-article-left {
		width: 100%;
	}
	.jm-article-right { 
		width: 100%;	
	}
	.jm-article-right-in {
		padding: 10px 0;
	}
	#jm-left,
	#jm-right,
	#jm-content {
		float: none !important;	
		width: 100% !important;	
	}
    #jm-content {
    	margin: 0 !important;
    }
	#jm-top2 .rowcount_4 .top2-in,
	#jm-bottom1 .rowcount_4 .bottom1-in,
	#jm-bottom3 .rowcount_4 .bottom3-in {
		width: 50%;
	}
	#jm-top2 .box3,
	#jm-bottom1 .box3,
	#jm-bottom3 .box3 {
		clear: both;
	}
	#djcatalog .djc_items .djc_item, 
	#djcatalog .djc_related_items .djc_item,
	#djcatalog .djc_subcategories_grid .djc_subcategory {
		float: none;
		width: 100% !important;
	}
	#djcatalog .djc_filter_list li {
		float: none;
		padding: 5px 0;
	}
	#djcatalog .djc_filter_search li:first-child {
		float: none;
		padding-top: 5px;
	}
    #djcatalog .djc_atoz ul.djc_atoz_list li:nth-child(14) {
        clear: both;
    }
    #djcatalog .djc_atoz ul.djc_atoz_list li {
        margin: 0.2%;
        width: 7.2%;
    }
    .djf_mod .djf_gal {
        float: none
    }
    .djc_items .mod_djc_item:first-child {
        margin-top: 0!important;
    }
    .djc_items .mod_djc_item {
        width: 100% !important;
    }
    .djc_items .mod_djc_item {
        margin-top: 30px!important;
    }
	.djf_mod .djf_img, 
	.djf_mod .djf_left {
		width: 100%;
		margin: 0;
	}
	.djc_item .djc_images,
	#djcatalog .djc_images,
	#djcatalog .djc_thumbnail {
		max-width: 100%;
	}
	.djf_mod .djf_pag {
		padding: 20px 0 0;
	}

	.jm-module form#DJC2searchForm fieldset.djc_mod_search input#mod_djcatsearch {
		width: auto;
	}
	.jm-module form#DJC2searchForm fieldset.djc_mod_search input.button {
		margin: 10px 0 0;
	}
	#dj-classifieds .defaultSimpleSkin table.mceLayout {
		width: auto !important;
	}
	.dj_cf_search .search_price span,
	.dj_cf_search span.from_class,
	.dj_cf_search span.to_class {
		display: block;
	}
	#dj-classifieds table.paymentdetails td {
		display: block;
		margin:0 auto;
	}
	.jm-module.horizontal_search .dj_cf_search #search_ex_fields .djseform_field span.to_class {
		margin: 0 3% 0 0;
	}
	.jm-module.horizontal_search .dj_cf_search .search_price input,
	.jm-module.horizontal_search .dj_cf_search .search_price .label2 {
		margin-left: 0;
	}
	.mod_djclassifieds_items div.title a.title {
		clear: both;
	}
	.jm-module.horizontal_search .dj_cf_search #search_ex_fields .djseform_field span.from_class + input.inputbox, 
	.jm-module.horizontal_search .dj_cf_search #search_ex_fields .djseform_field span.to_class + input.inputbox,
	.jm-module.horizontal_search .dj_cf_search .search_price input.inputbox {
		width: 90% !important;
	}
	.jm-module.horizontal_search .dj_cf_search button.button {
    	margin: 56px 12px 0;
	}
	#jm-header .djslider a.readmore {
	    background: none !important;
	    border: none;
	    -webkit-border-radius: 0;
	    -moz-border-radius: 0;
	    border-radius: 0;
	    font-family: inherit !important;
	    float: none;
	    font-size: 1em !important;
	    height: auto;
	    line-height: 1.5em;
	    padding: 0;
	    text-shadow: none;
	    margin-top: 5px;
	}
	#jm-header .djslider .slide-desc-text .slide-title {
		font-size: 1.6em;
		line-height: 1.5em;
		margin-bottom: 5px;
	}
	#jm-header .djslider .slide-desc-text .slide-text,
        #jm-sitedesc{
		font-size: 1.1em;
		line-height: 1.5em;
	}
	#jm-header .djslider .slide-desc-text {
		padding: 10px;
	}
    .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;
    }
    .djslider-loader {
    	padding: 0 !important;
    }
    .djslider .navigation-container {
    	display: none;
    }
}

@media screen and (max-width: 480px) {
	.hidden-mobile {
		display: none;
	}
	.hidden-tablet-portrait {
		display: block;
	}
	html {
		-webkit-text-size-adjust: none;
	}
	.djslider .slide-desc-text {
		padding: 5px !important;
	}
	#jm-top2 .rowcount_2 .top2-in,
	#jm-top2 .rowcount_3 .top2-in,
	#jm-top2 .rowcount_4 .top2-in,
	#jm-content-top1 .rowcount_2 .content-top1-in,
	#jm-content-bottom2 .rowcount_2 .content-bottom2-in,
	#jm-bottom1 .rowcount_2 .bottom1-in,
	#jm-bottom1 .rowcount_3 .bottom1-in,
	#jm-bottom1 .rowcount_4 .bottom1-in,
	#jm-bottom3 .rowcount_2 .bottom3-in,
	#jm-bottom3 .rowcount_3 .bottom3-in,
	#jm-bottom3 .rowcount_4 .bottom3-in {
		width: 100%;
		float: none;
	}
	#jm-copyrights {
		padding-bottom: 10px;
    	width: 100%;
	}
	.mod_djclassifieds_items .items-col {
		width: 100% !important;
	}
	#jm-poweredby-stylearea {
		float: left;
    	width: 100%;
	}
	#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.column-1, 
	.item.column-2, 
	.item.column-3, 
	.item.column-4 {
		margin-bottom: 30px;
	}
	.row-separator {
	    clear: none;
	    display: inline;
	    height: auto;
	    margin: 0;
	    width: auto;
	}
	#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;
	} 
	#djcatalog .djc_filter_search li {
		float: none;
		padding: 5px;
	}
	.jm-module form#DJC2searchForm fieldset.djc_mod_search input.button {
		margin: 0 5px;
	}
	#dj-classifieds .dj-category .cat_col {
		width: 100%;
	}
	#dj-classifieds .djcf_items_blog .item_box {
		width: 100% !important;
	}
	input, select, textarea {
		max-width: 90%;
	}
	#dj-classifieds .dj-cattree-box.cols3 .dj-cattree {
		width: 100%;
	}
	#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;
	}
	.mod_djclassifieds_items .items-cols3 .items-col {
		width: 100%;
	}
	.mod_djclassifieds_items .item {
		border-bottom: 1px solid #dddddd;
	    border-top: none;
	    margin: 0 0 20px;
	    padding: 0 0 20px;
	}
	.mod_djclassifieds_items .items-col .icol-in .item:first-child {
	    margin: 0 0 20px;
	    padding: 0 0 20px;
		border-bottom: 1px solid #dddddd;
	}
	.dj_cf_search input.inputbox.first_input {
		max-wdith: 90% !important;
	}
	.jm-module.horizontal_search .dj_cf_search input.inputbox.first_input {
		width: 29% !important;
	}
	#dj-classifieds .dj-item .djc_thumbnails .djc_thumbnail {
		margin-bottom: 10px;
	}
	#jm-header .djslider .slide-desc-text .slide-title,
        #jm-sitedesc{
		font-size: 1.2em;
	}
}