
@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;
    }
    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;
    }
    .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;
    }
    .dj-tabber .dj-navigation {
    	display: none !important;
    }
    #jm-top1 .font-module {
    	font-size: 38px !important;
    }
	.jm-custom-img {
		float: none;
		padding: 0;
	}
	.jm-custom-desc {
		float: none;
		padding: 10px 0 0;
	}
    .djf_mod .djf_img,
    .djf_mod .djf_left {
        width: 100%;
        margin: 0;
    }
    .djf_mod .djf_img a,
    .djc_items .djc_image a {
    	max-width: 100%;
    	width: auto;
    }
    .jm-module-in {
        height: auto !important;
    }
    div.blog h2, 
    div.item-page h2, 
    div.blog-featured h2, 
    div.items-more h3, 
    div.item-page h2, 
    ul#archive-items li.row0 h2, 
    div.contact h2, 
    div.contact-category h2, 
    div.newsfeed-category h2,
    .jm-module .jm-title-wrap h3, 
    .djf_mod .djf_text h3, 
    .djc_title h4, 
    #djcatalog h3.djc_related_title, 
    #djcatalog .djc_title h3, 
    #djcatalog h2.djc_title, 
    #djcatalog .djc_td_title, 
    .ch-item .ch-info h3,
    .catalog-ms .djf_mod .djf_text h3 {
    	font-size: 1.7em !important;
    }
    .jm-module .jm-title-wrap h3 {
    	line-height: 1.2em !important;
    }
}

@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;
    }
    #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 {
        text-align: center;
        width: 100%;
        padding: 15px 0 0;
    }
    #jm-djmenu .dj-select {
        margin: 0;
	}
    #jm-copyrights {
        display: block;
        border: none;
        margin: 0;
        float: none;
        text-align: center;
        padding: 0 0 10px;
    }
    #jm-poweredby {
        display: block;
        width: 100%;
        padding: 0 0 10px;
    }
    #jm-stylearea {
        text-align: center;
        float: none;
        width: auto;
        margin: 0;
    }
    .shadow:before,
    .shadow:after {
        height: 75%;
    }
    #djcatalog .djc_images {
        margin: 0 ;
    }
    .djf_mod .djf_img img {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    .djf_mod .djf_img a,
    .djf_mod .djf_gal .djf_cell a,
    #djcatalog .djc_mainimage a,
    #djcatalog .djc_thumbnail a {
        display: block !important;
    }
    .djf_mod .djf_gal {
        float: none
    }
    .catalog-ms .djf_mod .djf_text {
        width: 100%;
        padding: 0;
    }
    .catalog-ms .djf_mod .djf_text > div {
    	padding: 10px;
    }
    .catalog-ms .djf_mod .djf_pag {
        width: 100%;
    }
    .catalog-ms .djf_mod div {
    	clear: both !important;
    }
    .jm-slider .navigation-container,
    .jm-slider .navigation-container-custom {
        display: none;
    }
    .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,
    .dj-slide-desc-text,
    .dj-slide-desc-text p {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .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;
    }
    .slider-ms .dj-slide-desc-text {
    	font-size: 1em !important;
    }
    .slider-ms .dj-slide-title {
    	font-size: 1.5em !important;
    }
    .catalog-ms .djf_mod .djf_desc {
    	font-size: 1em !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: 25px;
    }
    #jm-pathway h3 {
    	float: none;
    	text-align: center;
    }
    #jm-font-switcher {
	    text-align: center;
	    margin-bottom: 25px;
    }
    #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;
    }
    #jm-left,
    #jm-right {
        float: none !important;
        width: 100% !important;
    }
    #jm-main.scheme_3 #jm-content,
    #jm-main.scheme_2 #jm-content {
        float: none !important;
        width: 100% !important;
    }
    .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: 17px 0 0;
	    clear: both;
	    display: inline-block;
	    width: 100%;
    }
    .row-separator {
	    display: 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;
	    width: 100%;
	    -moz-box-sizing: border-box;
	    -webkit-box-sizing: border-box;
	    box-sizing: border-box;
    }
    #djcatalog ul.djc_filter_search li input#djcatsearch {
	    width: 115px;
    }
    .djf_mod .djf_gal table:before {
	    height: 30px;
	    font-size: 0.9em;
    }
    #djcatalog .djc_filter_list input.button,
    #djcatalog .djc_filter_search input.button,
    #djcatalog .djc_order_buttons input.button{
	    margin: 0;
    }
    #djcatalog .djc_filter_list{
	    margin: 0;
    }
    #djcatalog .djc_filter_list li,
    #djcatalog .djc_filter_search li,
    #djcatalog .djc_order_buttons li{
	    margin: 10px 0 0;
    }
    #djcatalog .djc_filter_list li:first-child{
	    margin: 0;
    }
}