
@media (max-device-width: 960px) {
  	#jm-djmenu .allowHide { 
  		display: block; 
  	}
  	#jm-djmenu select { 
  		display: none; 
  	}
}

@media screen and (max-width: 1020px) {
    html {
    	-webkit-text-size-adjust: none;
    }
    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-back-top {
    	display: none !important;
    }
    #jm-djmenu {
	    float: none;
	    text-align: center;
    }
    #jm-djmenu .dj-main {
    	display: none;
    }
    #jm-djmenu .dj-select {
	    display: inline-block;
	   	margin: 20px 0;
		height: auto;
		background: #fff;
	}
	#jm-mod-top-position{
    	position: relative;
    }
	#jm-mod-top .jm-module.dish-of-day {
		margin-top: 0;
	}
    .jm-module-in {
    	height: auto !important;
    }
    #jm-left input.inputbox,
    #jm-right input.inputbox {
        width: 90%;
    }
    #jm-left input#modlgn-remember,
    #jm-right input#modlgn-remember {
    	width: auto;
    }
    table.category:before {
	    content: "Please scroll horizontally to view the whole table";
	    display: block;
	    margin-bottom: 10px;
	    margin-top: -30px;
	    width: 100%;
	    height: 20px;
	    text-decoration: underline;
    }
    table.category {
	    position: relative;
	    width: 100%;
	    display: block;
	    padding: 30px 0 0 !important;
    }
    table.category tbody {
	    position: relative;
	    width: auto;
	    overflow-x:scroll;
	    display: block;
    }
    .djslider .slide-desc-text .slide-text,
    .djslider .slide-desc-text .slide-text p {
	    width: 100%;
	    white-space: nowrap;
	    overflow: hidden;
	    text-overflow: ellipsis;
    }
    .djflyer .djflyer_title {
	    width: 50% !important;
	    box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    -webkit-box-sizing: border-box;
    }
}

@media screen and (max-width: 800px) {
	#jm-slogan {
		top: 0;
	}
	#jm-toppage-right {
		float: none;
	}
    #jm-top {
    	height: auto
    }
    #jm-top.noheader.notop {
    	margin-bottom: 30px;
    }
    #jm-logo-sitedesc {
	    position: relative;
	    text-align: center;
    }
    #jm-left, 
    #jm-right, 
    #jm-content {
    	width: 100%;
    }
	#jm-mod-top .rowcount_4 .top-in,
    #jm-bottom .rowcount_4 .bottom1-in {
   		width: 50%;
    }
    #jm-mod-top .rowcount_4 .top-in.box3,
    #jm-bottom .rowcount_4 .bottom1-in.box3 {
    	clear: both;
    }
    #jm-pathway div.breadcrumbs span.showHere {
    	white-space: pre-wrap;
    	word-wrap: break-word;
    }
    .djflyer .djflyer_titles_box,
    .djflyer .djflyer_items_box {
	    width: 100% !important;
    }
    .djflyer.schema_right .djflyer_titles_box {
	    padding-bottom: 20px;
    }
    .djflyer.schema_left .djflyer_titles_box {
    	padding-top: 20px;
    }
    .djflyer .item_img,
    .djflyer .item_details,
    .djflyer .item_details p {
    	text-align: center;
    }
    .row-separator {
	    clear: none;
	    display: inline;
	    height: auto;
	    margin: 0;
	    width: auto;
    }
	.item-separator {
	    clear: both;
	    display: inline-block;
	    height: 1px;
	    margin: 5px 0;
	    width: 100%;
	}
	#jm-footer-left,
	#jm-social {
		float: none;
		text-align: center;
	}
	#jm-copyrights {
	    border: none;
	    float: none;
	    margin: 0 0 10px;
	    padding: 0;
	}
	#jm-poweredby {
	    float: none;
	}
	#jm-social .jm-icons a {
		display: block !important;
		margin-top: 10px;
	}
	#jm-social .jm-icons span {
		margin-left: auto;
		margin-right: auto;
		display: inline-block;
	}
    .djslider .slide-desc-text .slide-title {
	    width: 100%;
	    white-space: nowrap;
	    overflow: hidden;
	    text-overflow: ellipsis;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
    }
   	.ismobile #jm-content {
		width: 100% !important;
	}
	.ismobile #jm-right {
		width: 100% !important;
	}
}

@media screen and (max-width: 480px) {
    #jm-mod-top .rowcount_2 .top-in,
    #jm-mod-top .rowcount_3 .top-in,
    #jm-mod-top .rowcount_4 .top-in {
    	width: 100%;
    }
    #jm-content-top1 .rowcount_2 .content-top1-in,
    #jm-content-top2 .rowcount_2 .content-top2-in,
    #jm-content-bottom2 .rowcount_2 .content-bottom2-in,
    #jm-bottom .rowcount_2 .bottom1-in,
    #jm-bottom .rowcount_3 .bottom1-in,
    #jm-bottom .rowcount_4 .bottom1-in {
	    width: 100%;
    }
    .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;
    }
    table.category:before {
	    font-size: 10px;
    }
    .djflyer .item_name {
    	font-size: 1em;
    }
    .djslider .slide-desc-text .slide-title {
    	font-size: 1em;
    }
    .djslider .navigation-container img {
    	display: none !important;
    }
    .djflyer.schema_right .djflyer_box,
    .djflyer.schema_bottom .djflyer_box {
    	margin-right: -20px;
    }
	.djflyer.schema_right .djflyer_title {
	    padding: 0 20px 20px 0 !important;
	}
	.djflyer.schema_bottom .djflyer_title {
	    padding: 0 20px 20px 0 !important;
	}
	.djflyer.schema_left .djflyer_title {
		padding: 0 0 20px 20px !important;
	}
	.djflyer.schema_left .djflyer_box {
    	margin-left: -20px;
    }
	.jm-module.restaurant_menu .jm-title-wrap {
		float: none;
	}
	.jm-module.restaurant_menu ul.menu li {
		display: block;
	}
	.jm-module.restaurant_menu ul.menu li a {
		padding-left: 0;
	}
}