
@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;
    }
	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-module input#modlgn-username,
	.jm-module input#modlgn-passwd {
		width: 100%;
	}
	#jm-djmenu .dj-select {
		float: right;
		margin: 0 0 20px;
	}
	#jm-back-top {
		display: none !important;
	}
	.jm-module select#mod_djc2producers_pid {
		max-width: 100%;
	}
	#djcatalog img{
    	box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    -webkit-box-sizing: border-box;
    }
	#djcatalog #fbcomments,
	#djcatalog .fb-comments,
	#djcatalog .fb-comments iframe,
	#djcatalog .fb-comments span {
		width: 100% !important;
	}
	.djf_mod .djf_text {
		clear: both;
		padding-top: 10px;
	}
	.djf_mod .djf_pag {
		display: block;
		float: left;
		width: auto;
	}
	#jm-header .djslider .slide-desc-text .slide-title {
    	font-size: 2.4em !important;
    	line-height: 1.5em;
	}
	#jm-header .djslider .slide-desc-text .slide-text {
    	font-size: 1.2em;
	}
	#jm-header .djslider a.readmore {
		margin-top: 10px;
	}
	#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-module input#modlgn-username,
	.jm-module input#modlgn-passwd {
		width: auto;
	}
	#jm-djmenu {
		text-align: center;
	}
	#jm-djmenu .dj-select {
		margin: 0 0 20px;
		height: auto;
		font-size: 1em;
		max-width: 100%;
		float: none;
	}
	#jm-toppage-left {
		float: none;
		width: 100%;
		text-align: center;
		padding: 20px 0 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-middle .rowcount_2 .middle-in.middle-row-first,
	#jm-middle .rowcount_2 .middle-in.middle-row-last {
		width: 50%;
	}
	#jm-pathway div.breadcrumbs span.showHere {
		white-space: pre-wrap;
    	word-wrap: break-word;	
	}
	#jm-left,
	#jm-right,
	#jm-content {
		float: none !important;	
		width: 100% !important;	
	}
    #jm-content {
    	margin: 0 !important;
    }
	#jm-bottom .rowcount_3 .bottom-in,
	#jm-bottom .rowcount_3 .bottom-in.bottom-row-last {
	    width: 33.3%;
	}
	#jm-bottom .rowcount_3 .bottom-in.bottom-row-last .bottom-bg {
		border: none;
		box-shadow: none;
		-webkit-box-shadow: none;
		margin: 0;
	}
	#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_images,
	#djcatalog .djc_thumbnail {
		max-width: 100%;
	}
    #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_img, 
	.djf_mod .djf_left {
		width: 100%;
		margin: 0;
	}
    .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: 15px!important;
    }
	#jm-header .djslider .slide-desc-text .slide-title {
	    font-size: 1.6em !important;
	    line-height: 1.5em;
	    margin-bottom: 10px;
	}
	#jm-header .djslider .slide-desc-text .slide-text {
    	font-size: 1.2em;
	}
	#jm-header .djslider a.readmore {
    	margin-top: 10px;
	}
	.djslider .slide-desc-text .slide-text,
	.djslider .slide-desc-text .slide-text p {
	    width: 100%;
	    white-space: nowrap;
	    overflow: hidden;
	    text-overflow: ellipsis;
	}
	.testimonials .djslider .slide-desc-text .slide-text p {
	    -webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    box-sizing: border-box;
	}
}

@media screen and (max-width: 480px) {
	.hidden-mobile {
		display: none;
	}
	.hidden-tablet-portrait {
		display: block;
	}
	html {
		-webkit-text-size-adjust: none;
	}
	#jm-middle .rowcount_2 .middle-in.middle-row-first,
	#jm-middle .rowcount_2 .middle-in.middle-row-last {
		width: 100%;
		float: none;
	}
	#jm-content-top1 .rowcount_2 .content-top1-in,
	#jm-content-top1 .rowcount_3 .content-top1-in,
	#jm-content-top2 .rowcount_2 .content-top2-in,
	#jm-content-bottom1 .rowcount_2 .content-bottom1-in,
	#jm-content-bottom2 .rowcount_2 .content-bottom2-in,
	#jm-content-bottom2 .rowcount_3 .content-bottom2-in,
	#jm-bottom .rowcount_2 .bottom-in,
	#jm-bottom .rowcount_3 .bottom-in,
	#jm-bottom .rowcount_3 .bottom-in.bottom-row-last {
		width: 100%;
		float: none;
	}
	#jm-copyrights {
		padding-bottom: 10px;
    	width: 100%;
	}
	#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;
	}
	#jm-header .djslider .slide-desc-text .slide-title {
		margin-bottom: 5px;
	}
	#jm-header .djslider a.readmore {
	    background: none !important;
	    color: #fff !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 a.readmore:hover {
    	text-decoration: underline;
	}
	#jm-header .slide-desc-text .slide-title,
	#jm-header .slide-desc-text .slide-title a {
	    width: 100%;
	    white-space: nowrap;
	    overflow: hidden;
	    text-overflow: ellipsis;
	}
}