
@media screen and (max-width: 1020px) {
    #jm-back-top {
        display: none !important;
    }
    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-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-tabber .dj-navigation {
        display: none !important;
    }
    table.paymentdetails:before,
    table.paymentdetails table:before,
    table.mceLayout:before {
        content: none;
        display: none;
    }
    table.paymentdetails,
    table.paymentdetails table,
    table.mceLayout {
        overflow: auto;
    }
    table.mceLayout {
        max-width: 100%;
    }
    #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 .defaultSimpleSkin table.mceLayout {
        margin: 0 auto;
    }
    #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-djmenu {
    	position: static;
    	float: right;
    	width: auto;
    }
    #jm-top-bar3 {
    	margin-left: 10px;
    }
    #jm-top-bar2 {
    	margin-left: 0;
    }
    .jm-header-text {
    	font-size: 60px;
    }
    .jm-header-text span {
    	font-size: 20px !important;
    }
    #jm-footer-left,
    #jm-footer-right {
        width: 100%;
        float: none;
        display: inline-block;
        text-align: center;
        margin: 0 0 10px;
    }
}

@media screen and (max-width: 767px) {
    #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-logo-sitedesc {
        float: none;
        text-align: center;
        margin-top: 0;
        width: 100%;
    }
    #jm-header .rowcount_2 .header-in.header-row-first,
    #jm-header .rowcount_2 .header-in.header-row-last {
    	float: none;
    	width: 100%;
    }
    #jm-topbar .rowcount_3 .top-bar-in,
    #jm-top1 .rowcount_3 .top1-in,
    #jm-top2 .rowcount_3 .top2-in,
    #jm-bottom1 .rowcount_3 .bottom1-in,
    #jm-bottom2 .rowcount_3 .bottom2-in {
        width: 100%;
        float: none;
    }
    #jm-top1 .rowcount_4 .top1-in,
    #jm-top2 .rowcount_4 .top2-in,
    #jm-bottom1 .rowcount_4 .bottom1-in,
    #jm-bottom2 .rowcount_4 .bottom2-in {
        width: 50%;
        float: left;
    }
    #jm-top1 .rowcount_4 .top1-in.box3,
    #jm-top2 .rowcount_4 .top2-in.box3,
    #jm-bottom1 .rowcount_4 .bottom1-in.box3,
    #jm-bottom2 .rowcount_4 .bottom2-in.box3 {
        clear: both;
    }
    #jm-djmenu {
        padding: 5px 0 0;
        width: 100%;
        text-align:center;
        float: none;
        position: relative;
        bottom: 0;
        right: 0;
    }
    #jm-djmenu .dj-select {
        margin: 0;
    }
    #jm-sitedesc {
        margin: 5px 0;
    }
    #jm-logo-djmenu{
        margin-top: 0;
    }
    #jm-top-bar {
        position: relative;
        height: auto;
    }
    #jm-top-bar ul.menu li {
        display: block;
        float: none;
        text-align: center;
    }
    #jm-top-bar ul.menu li a:link,
    #jm-top-bar ul.menu li a:visited {
        float: none;
        width: 100%;
        display: block;
        border: none;
        padding: 5px 0;
    }
    #jm-top-bar div.login-greeting {
        margin: 0 0 5px;
    }
    #jm-top-bar1,
    #jm-top-bar2,
    #jm-top-bar3 {
        margin: 0;
        float: none;
        text-align: center;
        width: 100%;
    }
    #jm-top-bar3 {
        margin-bottom: 10px;
    }
    .nologodjmenuheader#jm-midpage{
        margin-top: 0;
    }
    .nologodjmenu#jm-header{
    	margin-top: 0;
    }
    #jm-copyrights,
    #jm-poweredby {
        width: 100%;
        float: none;
        text-align: center;
        margin: 0 0 10px;
    }
    #jm-stylearea {
        text-align: center;
    }
    #jm-footer ul.menu li {
        float: none;
        width: 100%;
    }
    #jm-footer ul.menu li a:link,
    #jm-footer ul.menu li a:visited {
        padding: 5px 0;
        border: none;
    }
    .dj-slide-desc-text{
        padding: 10px 0;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    .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,
    .dj-slide-title,
    .dj-slide-title a:link,
    .dj-slide-title a:visited,
    .dj-slide-desc-text,
    .dj-slide-desc-text > a:visited,
    .dj-slide-desc-text > a:link,
    .dj-slide-desc-text > p {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dj-slide-desc-text {
        font-size: 1em !important;
    }

    .dj-slide-title {
        font-size: 1.2em !important;
    }

    .dj-tabber .dj-slides {
        margin: 0 !important;
    }

    .dj-tabber .dj-tabs {
        display: none !important;
    }
    #dj-classifieds .dj-additem .djform_row {
        text-align: center;
    }
    #dj-classifieds table.paymentdetails .payment_td {
        border: none;
        padding-bottom: 10px;
    }
    #dj-classifieds table.paymentdetails td.table_payment table td {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    #dj-classifieds table.paymentdetails {
        display: table;
    }
    #dj-classifieds table.paymentdetails td.table_payment table td.td2 {
        border: none;
        padding: 0;
    }
    #dj-classifieds table.paymentdetails td.table_payment table td.td2 h2 {
        margin-top: 15px;
    }

    #dj-classifieds table.paymentdetails form > table{
        float: none;
        text-align: center !important;
        display: inline-block;
    }
    #dj-classifieds .dj-additem .djform_row .label,
    #dj-classifieds .dj-additem .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,
    #dj-classifieds .classifieds_buttons {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        text-align: center;
        display:block;
    }
    #dj-classifieds .dj-additem .prom_rows .djform_prom_desc{
        margin-top: 10px !important;
    }
    #dj-classifieds .dj-additem .djform_row .label{
        margin: 8px 0 !important;
    }
    #dj-classifieds #djc_mainimage{
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
    }
    #djmod_map_box #djmod_map {
        width: auto !important;
    }
}

@media screen and (max-width: 480px) {
    html {
        -webkit-text-size-adjust: none;
    }
    #jm-pathway {
        float: none;
        width: 100%;
    }
    #jm-font-switcher {
        float: none;
        width: 100%;
    }
    #jm-breadcrumbs {
        margin-bottom: 0;
    }
    #jm-pathway {
        margin-bottom: 30px;
    }
    #jm-pathway h3 {
        float: none;
        text-align: center;
    }
    #jm-font-switcher {
        text-align: center;
        margin-bottom: 30px;
    }
    div.breadcrumbs {
        text-align: center
    }
    #jm-top1 .rowcount_2 .top1-in,
    #jm-top2 .rowcount_2 .top2-in,
    #jm-bottom1 .rowcount_2 .bottom1-in,
    #jm-bottom2 .rowcount_2 .bottom2-in,
    #jm-content-top1 .rowcount_2 .content-top1-in,
    #jm-content-bottom2 .rowcount_2 .content-bottom2-in,
    #jm-top1 .rowcount_3 .top1-in,
    #jm-top2 .rowcount_3 .top2-in,
    #jm-bottom1 .rowcount_3 .bottom1-in,
    #jm-bottom2 .rowcount_3 .bottom2-in,
    #jm-top1 .rowcount_4 .top1-in,
    #jm-top2 .rowcount_4 .top2-in,
    #jm-bottom1 .rowcount_4 .bottom1-in,
    #jm-bottom2 .rowcount_4 .bottom2-in {
    	width: 100%;
        float: none;
    }
    .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 {
        margin: 15px 0 0;
        clear: both;
        display: inline-block;
        width: 100%;
    }
    .row-separator {
        display: none;
    }
    #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;
    }
    #dj-classifieds table.paymentdetails td.td_pdetails div span,
    #dj-classifieds table.paymentdetails td.td_pdetails div span.price{
        float: none;
        text-align: center;
        display: block;
    }
    .jm-header-text {
    	padding-top: 190px;
    }
	.jm-header-buttons {
		padding-top: 30px;
		padding-left: 0;
	}
    .jm-or {
    	padding: 0 6%;
    }
}