
@media screen and (max-width: 1070px) {
    #jm-top-bar {
        position: static;
        height: auto;
    }
    .dj-megamenu-sticky {
        top: 0!important;
    }
    #jm-allpage.topbar {
        padding: 0;
    }
}

@media screen and (max-width: 979px) {
    .show-tablet-landscape,
    .show-desktop {
        display: block!important;
    }
    .hidden-tablet {
        display: none!important;
    }
    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-back-top {
        display: none!important;
    }
    .jm-module-in {
        height: auto !important;
    }
	.jm-module input#modlgn-username,
	.jm-module input#modlgn-passwd {
		width: 100%;
	}
	.jm-module-raw {
        float: none;
        margin: 0 0 10px;
        display: inline-block;
        width: 100%;
    }
    .jm-module-raw:last-child {
        margin: 0;
    }
    #jm-logo-sitedesc,
    #jm-top-bar-mod {
        max-width: none;
        width: 100%;
    } 
    h1#jm-logo,
    #jm-sitedesc {
        float: none;
        width: 100%;
        text-align: center;
    }
    #jm-logo-sitedesc {
        margin: 0 0 10px;
    }
    #jm-top-bar-mod {
        text-align: center;
    }
    #jm-djmenu {
        text-align: center;
    }
    .dj-select {
        font-size: 1.1em;
        padding: 5px!important;
    }
    #jm-left, 
    #jm-right, 
    #jm-content {
        width: 100%;
        clear: both;
    }
    #jm-allpage #jm-main {
        padding-top: 20px;
    }
    #jm-right-in {
        padding: 0!important;
    }
    #jm-content-wrapper-in {
        padding: 0!important;
        margin: 0!important;
    }
    #jm-middle-page,
    #jm-content,
    #jm-right,
    #jm-left {
        margin:0 !important;
    }
    .nofluid .jm-container,
    .isfluid .jm-container-space {
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
    .dj-slide-title,
    .dj-slide-title > a {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-rendering: optimizeLegibility;
    }    
    .dj-slide-desc-text,
    .dj-slide-desc-text p {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-rendering: optimizeLegibility;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }  
}

@media screen and (min-width: 767px) and (max-width: 1080px) {
  .jm-slider-custom .title {
    font-size: 25px;
  }
  .jm-slider-custom .price {
    padding: 5px;
  }
  .jm-slider-custom .category {
    margin: 0 0 5px;
  }
  .jm-slider-custom .readmore2,
  .jm-slider-custom .readmore3 {
      border: none!important;
      padding: 0!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;
    }
    .nofluid .jm-container {
        max-width: 100%!important;
    }
    .isfluid .jm-container {
        width: 100%!important;
    } 
    #jm-top-mod1-in,
    #jm-top-mod2-in,
    #jm-top-mod .jm-module {
        padding: 0;
    }
    #jm-top-mod1:after,
    #jm-top-mod .jm-module-in:after {
        display: none;
    }
    #jm-top-mod1,
    #jm-top-mod2 {
        width: 100%;
        float: none;
    }
    #jm-top .top > div:first-child .jm-module.title-border2-ms,
    #jm-bottom1 .bottom1 > div:first-child .jm-module.title-border2-ms,
    #jm-bottom2 .bottom2 > div:first-child .jm-module.title-border2-ms,
    #jm-bottom3 .bottom3 > div:first-child .jm-module.title-border2-ms,
    #jm-footer-mod .footer-mod > div:first-child .jm-module.title-border2-ms {
        margin-top: 0;
    }
    #jm-allpage #jm-top .rowcount_4 .top-in,
    #jm-allpage #jm-bottom1 .rowcount_4 .bottom1-in,
    #jm-allpage #jm-bottom2 .rowcount_4 .bottom2-in,
    #jm-allpage #jm-bottom3 .rowcount_4 .bottom3-in,
    #jm-allpage #jm-footer-mod .rowcount_4 .footer-mod-in,
    #jm-allpage #jm-content-top1 .rowcount_4 .content-top1-in,
    #jm-allpage #jm-content-bottom2 .rowcount_4 .content-bottom2-in,
    #jm-allpage #jm-top .rowcount_3 .top-in,
    #jm-allpage #jm-bottom1 .rowcount_3 .bottom1-in,
    #jm-allpage #jm-bottom2 .rowcount_3 .bottom2-in,
    #jm-allpage #jm-bottom3 .rowcount_3 .bottom3-in,
    #jm-allpage #jm-footer-mod .rowcount_3 .footer-mod-in,
    #jm-allpage #jm-content-top1 .rowcount_3 .content-top1-in,
    #jm-allpage #jm-content-bottom2 .rowcount_3 .content-bottom2-in,
    #jm-allpage #jm-top .rowcount_2 .top-in,
    #jm-allpage #jm-bottom1 .rowcount_2 .bottom1-in,
    #jm-allpage #jm-bottom2 .rowcount_2 .bottom2-in,
    #jm-allpage #jm-bottom3 .rowcount_2 .bottom3-in,
    #jm-allpage #jm-footer-mod .rowcount_2 .footer-mod-in,
    #jm-allpage #jm-content-top1 .rowcount_2 .content-top1-in,
    #jm-allpage #jm-content-bottom2 .rowcount_2 .content-bottom2-in {
        width: 100%;
        float: none;
    }
    #jm-footer-left,
    #jm-footer-center,
    #jm-footer-right {
        width: 100%!important;
        float: none!important;
        text-align: center;
        margin: 0 0 10px;
    } 
    #jm-top-bar-mod ul.menu li {
        display: block;
        text-align: center;
        border-top: 1px solid #625F58;
    } 
    #jm-top-bar-mod ul.menu li a {
      border: 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;
    }
    .jm-custom-title,
    .jm-social-title {
        font-size: 30px;
    }
    div.pagination li {
        margin: 0 5px 5px 0;
    }
    html[dir=rtl] div.pagination li {
        margin: 0 0 5px 5px;
    }
    .jm-slider-custom .title {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-rendering: optimizeLegibility;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        display: block;
    } 
    .jm-slider-custom .readmore2,
    .jm-slider-custom .readmore3 {
        border: none!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;
    }
    .dj-select {
    	width: 92%;
    }   
    .dj-slide-title,
    .dj-slide-title > a {
        font-size: 14px!important;
    } 
    #jm-allpage .dj-slide-desc-text {
        padding: 10px!important;
    }
    .dj-navigation {
        display: none;
    }
    .dj-mslider {
        padding-left: 0!important;
        padding-right: 0!important;
    }
    .dj-mslider-in {
        min-height: 100px;
        width: 100%!important;
    }
    .dj-readmore-wrapper,
    .jm-slider-custom .readmore,
    .jm-slider-custom .readmore2,
    .jm-slider-custom .readmore3 {
        display: none!important;
    }
    .dj-tabber .dj-slides {
        margin: 0!important;
    }
    .dj-tabber .dj-tabs {
        display: none!important;
    } 
    .jm-slider-custom .title {
      font-size: 25px;
    }
    .jm-slider-custom .price {
      padding: 5px;
    }
    .jm-slider-custom .category {
      margin: 0 0 5px;
    }
    /* socials */
    .jm-icons a span.ttip {
      display: none;
    }
}
