.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: ;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
@media (min-width: 768px) and (max-width: 979px) {
  html {
    -webkit-text-size-adjust: none;
  }
  img {
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .btn,
  input {
    -webkit-appearance: none;
  }
  input,
  select,
  textarea {
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #jm-back-top {
    display: none !important;
  }
  table {
    position: relative;
    width: auto;
    overflow-x: scroll;
    display: block;
  }
  .jm-module-in {
    height: auto !important;
  }
  #jm-djmenu {
    text-align: center;
  }
  #djcatalog .djc_attributes table {
    position: static;
    width: 100%;
    overflow-x: none;
    display: table;
  }
  #djcatalog #fbcomments,
  #djcatalog .fb-comments,
  #djcatalog .fb-comments iframe,
  #djcatalog .fb-comments span {
    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_items .djc_item .djc_title,
  #djcatalog.djc_item .djc_related_items .djc_title,
  body .mod_djc_items .djc_item .djc_title {
    clear: both;
  }
  .dj-galleryGrid .dj-slide {
    max-width: 100%;
  }
  .djslider .slide-desc-text .slide-text,
  .djslider .slide-desc-text .slide-text > p,
  .dj-slide-desc-text,
  .dj-slide-desc-text > p {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .djslider .slide-desc-text .slide-text,
  .dj-slide-desc-text {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #jm-top-bar {
    position: static;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #jm-top-bar2.pull-right,
  #jm-top-bar1.pull-left {
    float: none;
  }
  #jm-top-bar + #jm-bar,
  #jm-top-bar + #jm-top,
  #jm-top-bar + #jm-main {
    margin-top: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .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-module-raw .login-greeting,
  .jm-module-raw .logout-button {
    float: none;
    display: inline-block;
  }
  #jm-content-top [class*="span"],
  #jm-content-top .uneditable-input[class*="span"],
  #jm-content-top .row-fluid [class*="span"],
  #jm-content-bottom [class*="span"],
  #jm-content-bottom .uneditable-input[class*="span"],
  #jm-content-bottom .row-fluid [class*="span"] {
    display: block;
    float: none;
    width: auto;
  }
}
@media (max-width: 767px) {
  html {
    -webkit-text-size-adjust: none;
  }
  img {
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .btn,
  input {
    -webkit-appearance: none;
  }
  input,
  select,
  textarea {
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #jm-back-top {
    display: none !important;
  }
  table {
    position: relative;
    width: auto;
    overflow-x: scroll;
    display: block;
  }
  .jm-module-in {
    height: auto !important;
  }
  #jm-top-bar {
    position: static;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #jm-top-bar2.pull-right,
  #jm-top-bar1.pull-left {
    float: none;
  }
  #jm-top-bar + #jm-bar,
  #jm-top-bar + #jm-main {
    margin-top: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #jm-logo-sitedesc.pull-left {
    float: none;
    text-align: center;
  }
  #jm-top-search.pull-right {
    float: none;
    text-align: center;
  }
  #jm-djmenu {
    text-align: center;
  }
  #jm-main #jm-content,
  #jm-main .row-fluid #jm-left[class*="span"],
  #jm-main .row-fluid #jm-right[class*="span"],
  #jm-main .row-fluid #jm-content[class*="span"] {
    margin: 0 !important;
  }
  #jm-copyrights.pull-left {
    float: none;
    text-align: center;
  }
  #jm-footer-right.pull-right {
    float: none;
    text-align: center;
  }
  #jm-styleswitcher {
    text-align: center;
  }
  .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-module-raw .login-greeting,
  .jm-module-raw .logout-button {
    float: none;
    display: inline-block;
  }
  #jm-content-top [class*="span"],
  #jm-content-top .uneditable-input[class*="span"],
  #jm-content-top .row-fluid [class*="span"],
  #jm-content-bottom [class*="span"],
  #jm-content-bottom .uneditable-input[class*="span"],
  #jm-content-bottom .row-fluid [class*="span"] {
    display: block;
    float: none;
    width: auto;
  }
  #jm-top-bar,
  #jm-bar,
  #jm-top,
  #jm-main,
  #jm-bottom1,
  #jm-bottom2,
  #jm-footer,
  #jm-footer-mod {
    padding-left: 10px;
    padding-right: 10px;
  }
  #djcatalog .djc_attributes table {
    position: static;
    width: 100%;
    overflow-x: none;
    display: table;
  }
  #djcatalog #fbcomments,
  #djcatalog .fb-comments,
  #djcatalog .fb-comments iframe,
  #djcatalog .fb-comments span {
    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_subcategories_grid .djc_subcategory,
  #djcatalog .djc_items .djc_item,
  #djcatalog .djc_related_items .djc_item {
    float: none;
    width: 100% !important;
  }
  #djcatalog .djc_items .djc_item_row_last_0 .djc_item_bg,
  #djcatalog .djc_items .djc_item_row_last_1 .djc_item_bg,
  #djcatalog .djc_related_items .djc_item_row_last_0 .djc_item_bg,
  #djcatalog .djc_related_items .djc_item_row_last_1 .djc_item_bg,
  #djcatalog .djc_items .djc_item_row_first_last_0 .djc_item_bg,
  #djcatalog .djc_items .djc_item_row_first_last_1 .djc_item_bg,
  #djcatalog .djc_related_items .djc_item_row_first_last_0 .djc_item_bg,
  #djcatalog .djc_related_items .djc_item_row_first_last_1 .djc_item_bg {
    margin-bottom: 30px;
  }
  #djcatalog .djc_items .djc_item_row:last-child .djc_item:last-child .djc_item_bg,
  #djcatalog .djc_related_items .djc_item_row:last-child .djc_item:last-child .djc_item_bg {
    margin-bottom: 0;
  }
  #djcatalog .djc_atoz_list li {
    width: 7.2%;
    margin: 0.2%;
  }
  #djcatalog .djc_atoz_list li:nth-child(14) {
    clear: both;
  }
  #djcatalog .djc_items .djc_item .djc_title,
  #djcatalog.djc_item .djc_related_items .djc_title,
  body .mod_djc_items .djc_item .djc_title {
    clear: none;
  }
  body .mod_djc_item {
    float: none !important;
    width: 100% !important;
    margin-top: 30px !important;
  }
  body .mod_djc_item:first-child {
    margin: 0 !important;
  }
  .dj-galleryGrid .dj-slide {
    max-width: 100%;
  }
  .djslider .slide-desc-text .slide-text,
  .djslider .slide-desc-text .slide-text > p,
  .dj-slide-desc-text,
  .dj-slide-desc-text > p {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .djslider .slide-desc-text .slide-text,
  .dj-slide-desc-text {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .djslider .slide-desc-text .slide-title,
  .djslider .slide-desc-text .slide-title > a,
  .dj-slide-title,
  .dj-slide-title > a {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .navigation-container,
  .dj-navigation {
    display: none !important;
  }
  .slider2-ms .dj-slide-desc-text {
    padding-bottom: 5px !important;
  }
  .slider2-ms .dj-slide-title {
    margin-bottom: 0 !important;
  }
}
@media (max-width: 480px) {
  #djcatalog .djc_items .djc_item .djc_title,
  #djcatalog.djc_item .djc_related_items .djc_title,
  body .mod_djc_items .djc_item .djc_title {
    clear: both;
  }
  body .djf_mod .djf_text {
    clear: both;
    margin-top: 10px;
    display: inline-block;
    width: 100%;
  }
  body .djf_mod .djf_pag {
    margin-top: 10px;
  }
  #djcatalog .djc_images {
    margin-left: 0;
    width: 100%;
  }
  #djcatalog .djc_mainimage {
    margin-left: 0;
  }
}
@media (max-width: 320px) {
  .dj-tabber .dj-tabs {
    display: none !important;
  }
  .dj-tabber .dj-slides {
    margin: 0 !important;
  }
  div.pagination li {
    line-height: 22px;
    margin: 0 2px;
  }
  div.pagination li span,
  div.pagination li a {
    padding: 0 5px;
  }
}
