@media screen and (max-width: 1024px) {
    /* mediatools */
     #jm-allpage .slider3-ms .dj-slide-desc-text,
     #jm-allpage .slider3-ms .dj-slide-desc-text p {
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
    }
    #jm-allpage .slider3-ms .dj-slide-title,
    #jm-allpage .slider3-ms .dj-slide-title a {
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
}

@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-search .inputbox {
        min-height: 34px;
    }
    #jm-back-top {
        display: none!important;
    }
    .jm-module-in {
        height: auto !important;
    }
	.jm-module-raw {
        float: none;
        margin: 0 0 10px;
        display: inline-block;
        width: 100%;
        vertical-align: top;
    }
    #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;
    }
    .nofluid .jm-container,
    .isfluid .jm-container-space {
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
	#jm-top-bar {
        position: static;
        height: auto;
        padding-top: 10px;
        line-height: normal;
    }
    .dj-megamenu-sticky {
        top: 0!important;
    }
    #jm-allpage.topbar {
        padding: 0;
    }
    #jm-top-bar-mod {
        float: none;
        text-align: center;
    }
    #jm-top-bar-mod .search .inputbox {
        margin: 0;
    }
    #jm-logo-sitedesc,
    #jm-djmenu {
        float: none;
        max-width: none;
        width: 100%;
        text-align: center;
    }
    #jm-logo-sitedesc {
        padding: 0 0 20px;
    }
    #jm-djmenu {
        padding: 0;
    }
    .dj-select {
        font-size: 1.1em;
        padding: 5px!important;
    }
}

@media screen and (max-width: 800px) {
  #jm-allpage .dj-tabber .dj-slide-title,
  #jm-allpage .dj-tabber .dj-slide-title a {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@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-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-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-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-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;
    }
    .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-top-bar-mod {
        text-align: center;
    }
    #jm-top-bar-mod ul.menu li {
        display: block;
        text-align: center;
    } 
    #jm-top-bar-mod ul.menu > li:first-child a,
    #jm-top-bar-mod ul.menu > li:first-child span.separator {
        border-radius: 3px 3px 0 0;
        -webkit-border-radius: 3px 3px 0 0;
    }
    #jm-top-bar-mod ul.menu > li:last-child a,
    #jm-top-bar-mod ul.menu > li:last-child span.separator {
        border-radius: 0 0 3px 3px;
        -webkit-border-radius: 0 0 3px 3px;
    }
    #jm-top-bar-mod ul.menu > li:first-child:last-child a,
    #jm-top-bar-mod ul.menu > li:first-child:last-child span.separator {
        border-radius: 3px;
        -webkit-border-radius: 3px;
    }
    #jm-header-mod,
    #jm-header-container {
        float: none!important;
        width: 100%!important;
    }
    #jm-footer-left,
    #jm-footer-right {
        width: 100%!important;
        float: none!important;
        text-align: center;
        margin: 0 0 10px;
    } 
    #jm-copyrights,
    #jm-poweredby {
       line-height: 1.5em;
       width: 100%; 
    }
    #jm-copyrights {
        border: none;
        padding: 0;
        margin: 0;
    }
    /* mediatools */
     #jm-allpage .dj-slide-desc-text,
     #jm-allpage .dj-slide-desc-text p {
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
    }
    #jm-allpage .slide-title,
    #jm-allpage .slide-title a,
    #jm-allpage .dj-slide-title,
    #jm-allpage .dj-slide-title a {
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    /* djtabs */
    #jm-allpage [class*="tab"] .djtabs.default-theme .djtabs-article-group {
      width: 100%!important;
      margin-right: 0!important;
      margin-left: 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%;
    }
    ul.menu.horizontal {
        padding: 0 0 10px;
    }
    ul.menu.horizontal > li {
      display: block!important;
      padding: 0!important;
      margin: 0 0 5px!important;
      border: none!important;
    }
    ul.menu.horizontal > li > a,
    ul.menu.horizontal > li > span.separator {
      line-height: 1.5em;
      border: none;
      padding: 2px 0;
    }
  /* mediatools */
  #jm-allpage .djslider-loader {
    padding: 0!important;
  }
  #jm-allpage .dj-readmore-wrapper,
  #jm-allpage .navigation-container,
  #jm-allpage .dj-navigation {
    display: none;
  }
  #jm-allpage .dj-tabber .dj-slides {
      margin: 0!important;
  }
  #jm-allpage .dj-tabber .dj-tabs {
      display: none;
  }
  #jm-allpage .dj-tabber .dj-navigation {
      width: 100%!important;
  }
  #jm-allpage .dj-tabber .dj-tabber-in {
      min-height: 100px;
  }
  #jm-allpage .dj-tabber .dj-slide-in {
      height: auto;
  }
  /* djtabs */
  #jm-allpage [class*="tab"] .djtabs.default-theme .djtabs-title {
      width: 100%!important;
      margin-left: 0!important;
      margin-right: 0!important;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
  }
  #jm-allpage .tab2-ms .djtabs.default-theme .djtabs-title {
      border-left: none;
      border-right: none;
  }
  #jm-allpage [class*="tab"] .djtabs.default-theme .djtabs-article-img {
      float: none!important;
  }
  #jm-allpage [class*="tab"] .djtabs.default-theme .djtabs-article-img {
      float: none!important;
  }
  #jm-allpage [class*="tab"] .djtabs.default-theme .djtabs-date-in {
      display: block;
  }
}