
@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-djmenu .dj-main {
		height: auto;
	}
	#jm-djmenu .dj-horizontal .dj-main {
		height: 39px;
	}
	#jm-djmenu .dj-select {
		margin: 0;
	}	
	#jm-back-top {
		display: none !important;
	}
	#jm-search div.search .inputbox {
		box-sizing: content-box;
		-moz-box-sizing: content-box;
		-webkit-box-sizing: content-box;
	}
	.jm-module-in {
		height: auto !important;
	}
	#jm-topline-left,
	#jm-topline-right {
	    width: 100%;
	}
	#jm-topline-left {
		padding-bottom: 10px;
	}
	#jm-topline-mod2,
	#jm-topline-mod3 {
		text-align: center;
	}
    #jm-bottom3 ul.menu li a{
    	margin-top: 2px;
    	margin-bottom: 2px;
    }
	.jm-slider2 .djslider .slide-desc-text .slide-title {
		font-size: 1em;
	}
	div.img_caption {
		max-width: 100%;
	}
}

@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-topline-mod2, 
	#jm-topline-mod3 {
		float: none;
	}
	#jm-topline-mod2 {
		padding-bottom: 10px;
	}
	#jm-topline-mod1 .djslider,
	#jm-topline-mod1 .djslider li {
		height: 16px !important;
	}
	#jm-topline-mods ul.menu {
		text-align: center;
	}
	#jm-topline-mods ul.menu li {
		padding: 2px 0;
	}
	#jm-djmenu .dj-horizontal .dj-main {
		height: auto;
	}
    #jm-djmenu .dj-horizontal {
		text-align: center;
		height: auto; 
	}
	#jm-djmenu .dj-horizontal .dj-select {
		height: auto;
		margin: 0;
	}
	#jm-toppage-wrap {
		margin: 20px 0 0;
	}
	#jm-toppage-left {
		float: none;
		width: 100%;
		text-align: center;
		margin: 0 0 20px;
	}
	#jm-toppage-right {
		float: left;
		width: 100%;
		text-align: center;
	}
	#jm-search {
		text-align: center;
		float: none;
		padding-bottom: 20px;
	}
	#jm-social {
		text-align: center;
		float: none;
		padding: 0 0 20px;
	}
	#jm-header-mod,
    .jm-header-slider {
    	margin-bottom: 20px;
    	width: 100%;
    }
	#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-top-mod .rowcount_4 .top-in,
    #jm-bottom1 .rowcount_4 .bottom1-in {
    	width: 50%;
    }
    #jm-top-mod .box3,
    #jm-bottom1 .box3 {
    	clear: both;
    }
    .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 {
        width: 100%;
    	white-space: nowrap;
        overflow: hidden;
    	text-overflow: ellipsis;
    }
	.jm-slider1 .djslider .slide-desc-text .slide-title {
	    font-size: 1.8em;
	}
    .jm-slider1 .djslider .navigation-container {
    	top: 60% !important;
    }
}

@media screen and (max-width: 480px) {
	.hidden-mobile {
		display: none;
	}
	.hidden-tablet-portrait {
		display: block;
	}
	html {
		-webkit-text-size-adjust: none;
	}
    #jm-djmenu {
		text-align: center;
	}
	#jm-djmenu .dj-select {
		height: auto;
		margin: 0;
	}
	#jm-search div.search .inputbox {
		width: 140px !important;
	}
	#jm-content-top1 .rowcount_2 .content-top1-in,
    #jm-top-mod .rowcount_2 .top-in,
    #jm-top-mod .rowcount_3 .top-in,
    #jm-top-mod .rowcount_4 .top-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-bottom1 .rowcount_2 .bottom1-in,
	#jm-bottom1 .rowcount_3 .bottom1-in,
    #jm-bottom1 .rowcount_4 .bottom1-in {
		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;
	}
  	#jm-bottom3 ul.menu li a:link, 
	#jm-bottom3 ul.menu li a:visited, 
	#jm-bottom3 ul.menu li span.separator {
		float: none;
		padding: 5px 0;
		border: none;
	}
    .jm-slider1 .djslider .slide-desc-text .slide-title {
    	font-size: 1.4em;
    	margin-bottom: 5px;
    }
    .jm-slider1 .djslider .navigation-container {
    	top: 50% !important;
    }
	.jm-slider2 .djslider .slide-desc-text .slide-title {
		font-size: 1.2em;
	}
    .djslider .slide-desc-text .slide-title {
    	font-size: 1.2em;
    }
    .djslider a.readmore:link, .djslider a.readmore:visited {
    	margin-top: 5px;
    }
    .jm-slider3 .djslider .slide-desc-text {
    	padding: 0;
    }
}

@media screen and (max-width: 320px) {
	.jm-slider1 .djslider a.readmore {
		background: none !important;
		padding: 0 !important;	
		margin: 0 !important;	
		line-height: 16px;	
        width: 100%;
    	white-space: nowrap;
        overflow: hidden;
    	text-overflow: ellipsis;
	}
}