
@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;
    }
    .dj-select {
        font-size: 1.1em!important;
        padding: 8px!important;
        margin-left: 0!important;
        margin-right: 0!important;
    }
    #jm-djmenu {
        text-align: right;
    }
    html[dir=rtl] #jm-djmenu {
        text-align: left;
    }
    #jm-back-top {
        display: none!important;
    }
    .jm-module-in {
        height: auto !important;
    }
	.jm-module input#modlgn-username,
	.jm-module input#modlgn-passwd {
		width: 100%;
	}
    /* sticky */
    #jm-allpage {
       padding: 0!important;
    }
    .stickybar.scrolled #jm-bar {
       position: static;
       padding-top: 15px;
       padding-bottom: 20px;
    }
    .stickybar.topbar.djmenu.scrolled #jm-bar #jm-bar-left {
       padding: 34px 0 0;
    } 
    .stickybar.scrolled #jm-bar #jm-bar-left {
       padding: 5px 0;
    }
    .stickybar.scrolled #jm-bar #jm-topbar {
       display: block;
    }
    /* grid */
    #jm-left, 
    #jm-right, 
    #jm-content {
        width: 100%;
        clear: both;
    }
    #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;
    }
    .fixed .jm-container,
    .fluid .jm-container-space {
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
    /* mediatools */
    .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;
    }
   .dj-tabber .dj-tabs {
       display: none;
   }
   .dj-tabber .dj-slides {
       margin: 0!important;
   }
   .dj-tabber .dj-tabber-in {
       min-height: 200px;
   }
   .dj-tabber .dj-navigation {
       display: none;
   }
   .dj-tabber .dj-readmore-wrapper {
       display: none;
   }
   #jm-allpage .slider2-ms .dj-readmore-wrapper a:after {
       display: none;
   }
   #jm-allpage .slider2-ms .dj-readmore-wrapper a {
       border: none!important;
       padding: 0!important;
   }
   .slider1-ms .dj-readmore-wrapper {
       margin: 10px 0 0!important;
   }
   .slider1-ms .dj-readmore-wrapper,
   .slider1-ms .dj-readmore-wrapper a {
       position: static;
       top: auto;
       left: auto;
       right: auto;
       bottom: auto;
   }
   .slider1-ms .dj-readmore-wrapper a:after {
       display: none;
   }  
   #jm-allpage .dj-extra .price {
       font-size: 22px!important;
   }
}

@media screen and (max-width: 890px) {
    [class*="desc-pink"] .dj-galleryGrid .dj-slide,
    [class*="desc-blue"] .dj-galleryGrid .dj-slide {
        float: none!important;
        margin: 0 auto!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;
    }
    .fixed .jm-container {
        max-width: 100%!important;
    }
    .fluid .jm-container {
        width: 100%!important;
    }
    .jm-module-raw {
        float: none;
        margin: 0 0 10px;
        display: inline-block;
        width: 100%;
    }
    #jm-bar-left,
    #jm-bar-right {
        max-width: none;
        width: 100%;
        float: none;
    }
    #jm-bar-left {
        text-align: center;
        padding: 20px 0;
    }
    #jm-topbar {
        text-align: center;
    }
    #jm-djmenu {
        padding: 0!important;
        text-align: center!important;
    }
    #jm-topbar ul.menu li {
        display: block;
        text-align: center;
    } 
    #jm-topbar ul.menu li a,
    #jm-topbar ul.menu li span.separator {
      padding: 0;
    }
    #jm-topbar ul.menu li a:hover {
      text-decoration: underline;
    }
    #jm-topbar ul.menu li a:after,
    #jm-topbar ul.menu li span.separator:after {
      display: none;
    }
    #jm-topbar ul.menu > li a.color {
        text-decoration: none!important;
        margin: 0;
    }
    #jm-header,
    #jm-header-mod,
    #jm-header-in {
        margin: 0!important;
        padding: 0!important;
        width: 100%!important;
        float: none!important;
    }  
    #jm-allpage #jm-top .rowcount_4 .top-in,
    #jm-allpage #jm-bottom .rowcount_4 .bottom-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-bottom .rowcount_3 .bottom-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-bottom .rowcount_2 .bottom-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;
    } 
    .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;
    }
    div.pagination li {
        margin: 0 5px 5px 0;
    }
    html[dir=rtl] div.pagination li {
        margin: 0 0 5px 5px;
    }
   /* mediatools */
   #jm-allpage .slider2-ms .djslider-loader .navigation-container,
   #jm-allpage .slider2-ms .dj-mslider .dj-navigation  {
       display: none;
   }
   #jm-allpage .slider2-ms .djslider-loader,
   #jm-allpage .slider2-ms .dj-mslider  {
       padding: 0!important;
   }
   /* socials */
   .jm-icons a span.ttip {
       display: none;
    }
}

@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%;
    }
    .jm-module.double-title-ms .jm-title {
        font-size: 45px!important;
    }
    .jm-module.double-title-ms .jm-title span {
        font-size: 22px!important;
    }   
    /* mediatools */
    .dj-slide-title,
    .dj-slide-title > a {
        font-size: 14px!important;
    } 
    #jm-allpage .dj-slide-desc-text {
        font-size: 14px!important;
        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 {
        display: none!important;
    }
   /* tabs */
   dl.tabs,
   .nav-tabs {
       display: block!important;
   }
   dl.tabs dt.tabs,
   .nav-tabs > li {
       float: none!important;
   }
}
