
@media screen and (max-width: 1030px) {
    #jm-back-top {
        display: none !important;
    }
	#jm-header-mod3 {
		top: 20px;
		right: 20px;
	}
	.jm-quote .jm-quote-left,
	.jm-quote .jm-quote-right {
		float: none;
		width: 100%;
	}
    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-top .rowcount_4 .top-in,
    #jm-bottom23 .rowcount_4 .bottom2-in,
    #jm-bottom23 .rowcount_4 .bottom3-in {
    	width: 50%;
    }
    #jm-top .rowcount_4 .box3,
    #jm-bottom23 .rowcount_4 .box3 {
    	clear: both;
    }
    .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;
    }
	p.readmore a:before,
	a.readmore:before,
	a.readon:before,
	.djf_mod a.btn:before {
		display: none;
	}
	p.readmore a:link,
	p.readmore a:visited,
	a.readmore:link,
	a.readmore:visited,
	a.readon:link,
	a.readon:visited,
	.djf_mod a.btn:link,
	.djf_mod a.btn:visited {
	    margin-left: 0;
	}
	.jm-module input#modlgn-username,
	.jm-module input#modlgn-passwd {
		width: 100%;
	}
	.dj-galleryGrid .dj-slide {
		max-width: 100%;
	}
	.dj-slide-desc-text > p {
	    width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
	}
	.djc_subcategory .djc_image img,
	.djc_items .djc_image img {
		max-width: 100%;
	}
	.djf_mod .djf_text {
		clear: both;
	}
	.djf_mod .djf_img img {
	    border: none !important;
	    max-width: 100% !important;
	    padding: 0 !important;
	}
	.djf_mod .djf_img {
		margin: 0 0 15px;
	}
	#djcatalog .djc_images {
	    float: none;
	    margin-left: 0;
	    display: inline-block;
	    width: 100%;
	}
	#djcatalog.djc_item h2.djc_title {
    	clear: both;
	}
	.a-button {
		padding-left: 80px;
		width: 100%;
		max-width: 213px;
	}
	.a-button .a-btn-text,
	.a-button .a-btn-text2 {
		font-size: 14px;
	}
	.a-button .a-btn-slide-text,
	.a-button img {
		left: 10px;
	}
	.jm-custom-font {
		font-size: 20px;
	}
	.a-button {
		max-width: 153px;
		padding-left: 60px;
	}
	.jm-reserve-room a {
		max-width: 100%;
	}
	#djcatalog #fbcomments,
	#djcatalog .fb-comments,
	#djcatalog .fb-comments iframe,
	#djcatalog .fb-comments span {
		width: 100% !important;
	}
}

@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-module input#modlgn-username,
	.jm-module input#modlgn-passwd {
		width: auto;
	}
    #jm-breadcrumbs div.breadcrumbs span.showHere {
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    #jm-left, 
    #jm-right, 
    #jm-content {
    	float: none !important;
        width: 100% !important;
        clear: both;
    }
    #jm-content {
    	margin: 0 !important;
    }
    #jm-top .rowcount_3 .top-in,
    #jm-bottom1 .rowcount_3 .bottom1-in,
    #jm-bottom23 .rowcount_3 .bottom2-in,
    #jm-bottom23 .rowcount_3 .bottom3-in,
    #jm-top .rowcount_3 .top-in,
    #jm-bottom1 .rowcount_3 .bottom1-in,
    #jm-bottom23 .rowcount_3 .bottom2-in,
    #jm-bottom23 .rowcount_3 .bottom3-in {
        width: 100%;
        float: none;
    }
    #jm-top .rowcount_4 .top-in,
    #jm-bottom1 .rowcount_4 .bottom1-in,
    #jm-bottom23 .rowcount_4 .bottom2-in,
    #jm-bottom23 .rowcount_4 .bottom3-in {
    	width: 50%;
    }
    #jm-logo-sitedesc {
    	position: static;
    	text-align: center;
    }
    #jm-djmenu {
    	float: none;
        text-align: center;
    }
    #jm-sitedesc {
        margin: 5px 0;
    }
	#jm-footer-left,
	#jm-footer-right {
		float: none;
	}
	#jm-copyrights {
		float: none;
		border: none;
		padding: 0;
		margin: 0;
        text-align: center;
	}
	#jm-poweredby {
		float: none;
        text-align: center;
	}
    #jm-stylearea {
        text-align: center;
    }
    #jm-footer-mod {
        text-align: center;
    }
	.dj-slide-title,
	.dj-ctitle-in {
		font-size: 16px !important;
	}
	.dj-slide-desc-text {
		font-size: 1em !important;
		padding: 5px !important;
	}
	.dj-slide-title,
	.dj-slide-title > a {
	    width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
	}
    .dj-tabber .dj-slides {
        margin: 0 !important;
    }
    .dj-tabber .dj-tabs {
        display: none !important;
    }
    .navigation-container,
    .dj-navigation {
    	display: none !important;
    }
   	#djcatalog .djc_subcategories_grid .djc_subcategory,
   	#djcatalog .djc_items .djc_item, 
   	#djcatalog .djc_related_items .djc_item {
   		float: none;
   		width: 100% !important;
   	}
   	#djcatalog .djc_related_items .djc_item_row:last-child .djc_item:last-child .djc_item_bg {
   		margin-bottom: 0;
   	}
	#djcatalog .djc_atoz_list li:nth-child(14) {
    	clear: both;
	}
	#djcatalog .djc_atoz_list li {
    	width: 7.3%;
    	margin: 0.2%;
	}
	#djcatalog .djc_filter_list li, 
	#djcatalog .djc_filter_search li, 
	#djcatalog .djc_order_buttons li {
		float: none;
	}
	#djcatalog .djc_filter_search input#djcatsearch, 
	#djcatalog .djc_filters input.button {
		margin-top: 4px;
	}
	#djcatalog .djc_contact_form input.inputbox,
	#djcatalog .djc_contact_form textarea {
		width: 100%;
	}
}

@media screen and (max-width: 480px) {
	.hidden-mobile {
		display: none;
	}
	.hidden-tablet-portrait {
		display: block;
	}
    html {
        -webkit-text-size-adjust: none;
    }
	#jm-header-mod3 {
		top: 0;
		right: 0;
	}
    .jm-quote .jm-quote-text,
    .jm-quote .jm-quote-image {
    	float: none;
    	width: auto;
    }
    .jm-quote .jm-quote-image-in {
    	background: none;
    	padding: 0;
    }
	#jm-breadcrumbs-fs {
		margin-bottom: 0;
	}
    #jm-breadcrumbs {
        float: none;
        width: 100%;
		margin-bottom: 30px;
    }
    #jm-font-switcher {
        float: none;
        text-align: left;
        width: 100%;
		margin-bottom: 30px;
    }
    #jm-content-top1 .rowcount_2 .content-top1-in,
    #jm-content-bottom2 .rowcount_2 .content-bottom2-in,
   	#jm-header-mod2 .rowcount_2 .header-mod-in,
    #jm-top .rowcount_2 .top-in,
    #jm-bottom1 .rowcount_2 .bottom1-in,
    #jm-bottom23 .rowcount_2 .bottom2-in,
    #jm-bottom23 .rowcount_2 .bottom3-in,
    #jm-top .rowcount_4 .top-in,
    #jm-bottom1 .rowcount_4 .bottom1-in,
    #jm-bottom23 .rowcount_4 .bottom2-in,
    #jm-bottom23 .rowcount_4 .bottom3-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 {
	    clear: both;
	    display: inline-block;
	    width: 100%;
	    height: 1px;
	    margin: 30px 0;
	    background: #ebebeb;
    }
    .row-separator {
        display: none;
    }
	.a-button {
		max-width: 183px;
	}
	#jm-header-mod3 {
		position: static;
	    display: inline-block;
	    text-align: center;
	    width: 100%;
	    margin-bottom: 30px;
	}
	#jm-header-mod3 a.a-btn {
		margin: 0 auto;
		float: none;
	}
}