
@media screen and (max-width: 1800px) {
    .slider1-ms .dj-slide-title {
        font-size: 22px !important;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
}

@media screen and (max-width: 1700px) {
	.slider1-ms .dj-slide-title {
		font-size: 20px !important;
	}
	.slider1-ms .dj-slide-title,
    .slider1-ms .dj-slide-title > a {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
	.slider1-ms .dj-slide-desc-text > p {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (max-width: 1500px) {
	.slider1-ms .dj-slide-title {
		padding: 0 20px 5px !important;
	}
    .slider1-ms .dj-readmore-wrapper {
    	margin: 5px 20px 0 !important;
    }	
}	

@media screen and (max-width: 1400px) {
	.slider1-ms .dj-slide-title {
		padding: 0 10px 5px !important;
	}	
    .slider1-ms .dj-readmore-wrapper {
    	margin: 5px 0 0 !important;
    }
    .slider1-ms .dj-readmore-wrapper a {
    	font-size: 12px !important;
    }
}

@media screen and (max-width: 1024px) {
    .slider1-ms .dj-slide-desc-text > div + p {
		display: none !important;
    }
    .slider1-ms .dj-slide-desc-text > div + a {
		display: none !important;
    }
    .slider1-ms .dj-readmore-wrapper a {
    	background: none !important;
    	padding: 0 !important;
    }
    .slider1-ms .dj-slide-title {
    	border: none;
    	font-size: 12px !important;
    	margin: 0 !important;
    }
}

@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;
    }
    .jm-module-in {
        height: auto !important;
    }
	.jm-module input#modlgn-username,
	.jm-module input#modlgn-passwd {
		width: 100%;
	}
	#jm-top-bar {
	    position: static;
	    height: auto;
	    margin: 0 0 30px;
	}
	#jm-menu-bar {
        padding: 0;
    }
    .djc_attributes table {
        display: table;
        position: static;
        width: 100%;
        overflow-x: none;
    }
    #djcatalog .djc_mainimage,
    #djcatalog .djc_mainimage img, 
    #djcatalog .djc_thumbnail img {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    #djcatalog .djc_images,
    #djcatalog .djc_mainimage {
        max-width: 100%;
    }
    #djcatalog #fbcomments,
    #djcatalog .fb-comments,
    #djcatalog .fb-comments iframe,
    #djcatalog .fb-comments span {
        width: 100% !important;
    } 
    #djcatalog .djc_atoz_list li span.btn {
        font-size: 13px;
        line-height: 21px;
    }
    #djcatalog .djc_filter_list li,
    #djcatalog .djc_filter_search li,
    #djcatalog .djc_order_buttons li {
        float: none;
        margin-top: 2px;
        margin-bottom: 2px;
    }
    #djcatalog .djc_order_buttons li span {
        padding: 0;
        border: none!important;
    }
    #djcatalog .djc_order_buttons li {
        list-style: none;
    }
    #djcatalog .djc_images {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .djf_mod .djf_text {
        clear: both;
    }
    .djf_mod .djf_left,
    .djf_mod .djf_img {
        max-width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .dj-galleryGrid .dj-slide {
        max-width: 100%;
    }
    .dj-slide-desc-text,
    .dj-slide-desc-text > p,
    .dj-slide-desc-text > a > p {
        width: 50%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-rendering: optimizeLegibility;
    }

    .djslider-loader {
        padding-top: 0 !important;
    }
	.slider1-ms .dj-slide-desc-bg,
	.slider1-ms .dj-slide-desc-text {
		border-radius: 0;
		-webkit-border-radius: 0;
	}	
}

@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-top-bar1,
	#jm-top-bar2,
	#jm-logo-sitedesc,
	#jm-djmenu {
	    float: none;
	    text-align: center;
	}
	#jm-top-bar1,
    #jm-top-bar2,
    #jm-logo-sitedesc,
    #jm-djmenu {
        margin: 0 0 5px;
        max-width: 100%;
    }
    #jm-top-bar1.notopbarmod,
    #jm-top-bar2.notopbarmod {
        margin-bottom: 0;
    }
    .jm-module-raw {
        float: none;
        margin: 0 0 10px;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    .jm-module-raw:last-child {
        margin: 0;
    }
    #jm-left, 
    #jm-right, 
    #jm-content {
        width: 100%;
        clear: both;
    }
    #jm-content {
    	margin: 0 !important;
    }
	#jm-left:after,
	#jm-right:after {
		display: none;
	}
	#jm-left-in,
	#jm-right-in,
	#jm-content-in {
		padding: 0 !important;
	}
    #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-footer-mod .rowcount_3 .footer-mod-in {
        width: 100%;
        float: none;
    }
    #jm-content-top1 .rowcount_2 .content-top1-in,
    #jm-content-bottom2 .rowcount_2 .content-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,
    #jm-footer-mod .rowcount_4 .footer-mod-in {
    	width: 50%;
    }
    #jm-top1 .rowcount_4 .box3,
    #jm-top2 .rowcount_4 .box3,
    #jm-bottom1 .rowcount_4 .box3,
    #jm-bottom2 .rowcount_4 .box3,
    #jm-footer-mod .rowcount_4 .box3 {
        clear: both;
    }
	#jm-footer-left,
	#jm-footer-right {
		float: none;
		text-align: center;
	}
	#jm-copyrights {
		float: none;
		padding: 0;
		margin: 0;
        text-align: center;
	}
	#jm-poweredby {
		display: block;
		padding: 0;
		text-align: center;
	}
	#jm-stylearea {
		display: block;
		text-align: center;
	}
    .djf_mod .djf_img img,
    #djcatalog .djc_items .djc_image img, 
    #djcatalog .djc_related_items .djc_image img {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    .djf_mod .djf_gal {
        float: none;
    }
    .djc_items .mod_djc_item {
        margin-top: 30px!important;
    }
    .djc_items .mod_djc_item:first-child {
        margin-top: 0!important;
    }
    .djc_items .mod_djc_item {
        width: 100% !important;
    }
    #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%;
    }
    #djcatalog .djc_atoz_list li span.btn {
        font-size: 13px;
        line-height: 21px;
    }
    #djcatalog .djc_subcategories_grid .djc_subcategory {
        float: none;
        width: 100% !important;
    }
    #djcatalog .djc_items .djc_item,
    #djcatalog .djc_related_items .djc_item {
        float: none;
        width: 100% !important;
    }
    #djcatalog .djc_filter_list li,
    #djcatalog .djc_filter_search li,
    #djcatalog .djc_order_buttons li {
        float: none;
        margin-top: 2px;
        margin-bottom: 2px;
    }
    #djcatalog .djc_order_buttons li span {
        padding: 0;
        border: none!important;
    }
    #djcatalog .djc_order_buttons li {
        list-style: none;
    }
    .djc_attributes table {
        display: table;
        position: static;
        width: 100%;
        overflow-x: none;
    }
    #djcatalog #fbcomments,
    #djcatalog .fb-comments,
    #djcatalog .fb-comments iframe,
    #djcatalog .fb-comments span {
        width: 100% !important;
    } 
    .djf_mod .djf_gal .djf_row {
        clear: none!important;
    }
    #djcatalog .djc_filter_list select,
    #djcatalog .djc_filter_search #djcatsearch {
        min-width: 100px;
    } 
    .dj-slide-title,
    .dj-slide-title > a {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    body .rowcount_2 .dj-tabs {
        display: none !important;
    }
    body .rowcount_2 .dj-slides {
        margin: 0 !important;
    }
	.slider1-ms .dj-slide-title {
		display: none !important;
	}
	.slider1-ms .dj-slide-desc-text {
		padding: 5px !important;
	}
	.slider1-ms .dj-readmore-wrapper {
		border: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
}

@media screen and (max-width: 480px) {
	.hidden-mobile {
		display: none;
	}
	.hidden-tablet-portrait {
		display: block;
	}
    html {
        -webkit-text-size-adjust: none;
    }
	#jm-top-bar ul.menu li {
	    display: block;
	}
	.dj-select {
		width: 92%;
	}
	#jm-poweredby {
		display: block;
		padding: 0;
	}
	#jm-stylearea {
		display: block;
	}
    #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-footer-mod .rowcount_2 .footer-mod-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-footer-mod .rowcount_3 .footer-mod-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,
	#jm-footer-mod .rowcount_4 .footer-mod-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: 0 0 30px;
    }
    .item:last-child .item-separator {
	    display: none;
    }
    .row-separator {
        display: none;
    }
    body .dj-slide-desc-text {
        padding: 5px!important;
    }
    body .dj-ctitle-in,
    body .dj-slide-title {
        font-size: 1em!important;
        line-height: 1em!important;
    }
    body .dj-readmore-wrapper {
        margin: 0!important;
    }
    body .dj-tabs {
        display: none !important;
    }
    body .dj-slides {
        margin: 0 !important;
    }
   	.slider1-ms .dj-slide-desc {
		display: none !important;
	}
	#djcatalog .djc2_cols_1 .djc_image {
        float: none;
    }
}

@media screen and (max-width: 320px) {
    body .dj-slide-desc-text {
        font-size: 12px !important;
    }
    body .dj-slide-title {
        font-size: 14px !important;
    }
    body .dj-tabs {
        display: none !important;
    }
}