.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 (max-width: 1024px) {
  #jm-allpage .slider3-ms .dj-slide-description,
  #jm-allpage .slider3-ms .dj-slide-description p {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    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 (max-width: 979px) {
  html {
    -webkit-text-size-adjust: none;
  }
  .btn {
    -webkit-appearance: none;
  }
  input,
  select,
  textarea {
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .jm-search .inputbox {
    min-height: 34px;
  }
  .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%;
    vertical-align: top;
  }
  #jm-left,
  #jm-right,
  #jm-content {
    width: 100%;
    clear: both;
  }
  #jm-content-wrapper-in,
  #jm-right {
    padding: 0 !important;
  }
  #jm-left,
  #jm-right,
  #jm-content,
  #jm-content-wrapper-in {
    margin: 0 !important;
  }
  #jm-topbar {
    position: static;
    height: auto;
    padding-top: 10px;
    line-height: normal;
  }
  .dj-megamenu-sticky {
    top: 0 !important;
  }
  #jm-allpage.topbar {
    padding: 0;
  }
  #jm-topbar {
    float: none;
    text-align: center;
  }
  #jm-topbar .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;
  }
  #jm-allpage .dj-select {
    font-size: 1.1em;
    padding: 5px !important;
  }
}
@media (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 (max-width: 767px) {
  #jm-back-top {
    display: none !important;
  }
  .container-fluid {
    max-width: 100% !important;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .form-horizontal .controls {
    margin: 0;
  }
  .form-horizontal .control-label {
    float: none;
    text-align: left;
    width: auto;
  }
  .form-horizontal html[dir=rtl] .control-label {
    text-align: right;
  }
  .form-horizontal .form-actions {
    padding: 20px;
  }
  .form-horizontal #recaptcha_table  td {
    display: block !important;
  }
  #jm-topbar {
    text-align: center;
  }
  #jm-topbar .nav.menu li {
    display: block;
    text-align: center;
  }
  #jm-topbar .nav.menu > li:first-child a,
  #jm-topbar .nav.menu > li:first-child span.separator {
    -webkit-border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
  }
  #jm-topbar .nav.menu > li:last-child a,
  #jm-topbar .nav.menu > li:last-child span.separator {
    -webkit-border-radius: 0 0 3px 3px;
    -moz-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
  }
  #jm-topbar .nav.menu > li:first-child:last-child a,
  #jm-topbar .nav.menu > li:first-child:last-child span.separator {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }
  #jm-logo-sitedesc {
    float: none !important;
    text-align: center;
  }
  #jm-djmenu {
    text-align: center;
  }
  #jm-header-mod,
  #jm-header-container {
    float: none !important;
    width: 100% !important;
  }
  #jm-allpage #jm-content-top .content-top-in,
  #jm-allpage #jm-content-bottom .content-bottom-in {
    width: 100%;
  }
  #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;
  }
  #jm-styleswitcher {
    margin: 0;
    text-align: center;
  }
  #jm-allpage .dj-slide-description,
  #jm-allpage .dj-slide-description p {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  body #jm-allpage .slide-title,
  body #jm-allpage .slide-title a,
  body #jm-allpage .dj-slide-title,
  body #jm-allpage .dj-slide-title a {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #jm-allpage [class*="tab"] .djtabs.default-theme .djtabs-article-group {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}
@media (max-width: 480px) {
  #jm-allpage #jm-content-top .content-top-in,
  #jm-allpage #jm-content-bottom .content-bottom-in {
    width: 100%;
    float: none;
  }
  .nav.menu.horizontal {
    padding: 0 0 10px;
  }
  .nav.menu.horizontal > li {
    display: block !important;
    padding: 0 !important;
    margin: 0 0 5px !important;
    border: none !important;
  }
  .nav.menu.horizontal > li > a,
  .nav.menu.horizontal > li > span.separator {
    line-height: 1.5em;
    border: none;
    padding: 2px 0;
  }
  body #jm-allpage .djslider-loader {
    padding: 0 !important;
  }
  body #jm-allpage .dj-readmore-wrapper,
  body #jm-allpage .navigation-container,
  body #jm-allpage .dj-navigation {
    display: none;
  }
  body #jm-allpage .dj-tabber .dj-slides {
    margin: 0 !important;
  }
  body #jm-allpage .dj-tabber .dj-tabs {
    display: none;
  }
  body #jm-allpage .dj-tabber .dj-slide-in {
    height: auto;
  }
  body #jm-allpage .dj-tabber .dj-navigation {
    width: 100% !important;
  }
  body #jm-allpage .dj-tabber .dj-tabber-in {
    min-height: 100px;
  }
  body #jm-allpage .dj-tabber .dj-slide-in {
    height: auto;
  }
  #jm-allpage [class*="tab"] .djtabs.default-theme .djtabs-title {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    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-date-in {
    display: block;
  }
}
