.cf {
  *zoom: 1;
}
.cf:before,
.cf:after {
  display: table;
  content: "";
  line-height: 0;
}
.cf:after {
  clear: both;
}
@media (max-width: 1200px) {
  .topbar1.topbar2 #jm-top-bar1,
  .topbar1.topbar2 #jm-top-bar2 {
    width: 100%;
  }
  #jm-page-settings + .jm-module-raw {
    clear: both;
  }
  #jm-header-bg {
    min-height: 0 !important;
  }
  #jm-header-bg + #jm-header-content {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0 auto !important;
    padding: 30px 0 0;
  }
  #jm-header-bg + #jm-header-content #jm-header-content-in {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 979px) {
  .jm-module-in {
    height: auto !important;
  }
  img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .btn {
    -webkit-appearance: none;
  }
  .jm-module-in {
    height: auto !important;
  }
  body .nspLinksWrap {
    padding: 0;
  }
}
@media (max-width: 767px) {
  input,
  select,
  textarea {
    max-width: 100%;
  }
  .items-row {
    margin-bottom: 30px;
  }
  .items-row .item {
    margin-bottom: 30px;
  }
  #jm-allpage #jm-page-settings ul > li.day-night {
    font-size: 0;
  }
  #jm-allpage #jm-page-settings ul > li.day-night [class^="icon-"],
  #jm-allpage #jm-page-settings ul > li.day-night [class*=" icon-"] {
    font-size: 12px;
  }
  #jm-allpage #jm-page-settings ul > li.contrast-label {
    display: none;
  }
  #jm-copyrights,
  #jm-poweredby {
    float: none;
    width: 100%;
    text-align: center;
    margin: 0 0 10px;
  }
  #jm-allpage .jm-category-module li {
    width: 100% !important;
  }
  #jm-content table {
    display: block;
    overflow-x: scroll;
  }
  body #jdfile-mainheader .span3 {
    line-height: 14px;
    margin: 10px 0;
    padding: 0;
    width: auto;
    border: none;
  }
  body #jdfile-mainheader .span4 {
    border: medium none;
    float: none;
    text-align: center;
  }
  body #jdfile-mainheader .span3 + .span3 + .span3 + .span3 {
    float: none;
  }
  body #jdfile-mainheader .span4:last-of-type {
    float: none;
  }
  body .jdfile-baseinfo p {
    clear: both;
  }
  body .jdfile-baseinfo .span4.text-center p:first-of-type {
    float: none;
    margin: 0;
  }
  body .jdfile-baseinfo .span4.text-center p br {
    display: block;
  }
  body .jdfile-baseinfo .span4.text-center p i {
    margin-left: 0;
  }
  .om-kafelek p {
    text-align: left;
  }
  .om-kafelek p img {
    margin-right: 5px;
  }
}
@media (max-width: 599px) {
  .djslider-default .slide-desc {
    display: none;
  }
}
@media (max-width: 480px) {
  input,
  select,
  textarea {
    width: 100%;
  }
  dl.tabs,
  .nav-tabs {
    display: block !important;
    margin: 2px 0 0;
  }
  dl.tabs dt.tabs,
  .nav-tabs > li {
    float: none !important;
  }
  dl.tabs dt.tabs a,
  .nav-tabs > li a {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: -2px;
  }
  #jm-logo-sitedesc #jm-logo {
    max-width: 180px;
  }
  .jm-category-module .item-in,
  .jm-category-module .mod-article-image,
  .jm-category-module .description {
    display: block;
  }
  .jm-category-module .mod-article-image {
    padding: 0 0 20px;
  }
  #searchForm .btn-group + .btn-group {
    clear: both;
    margin-left: 0;
    margin-top: 5px;
  }
  #jm-top-bar .search input#mod-search-searchword {
    max-width: 130px;
  }
  body .nspArt div {
    overflow: visible;
  }
  body .gkTabsWrap.vertical ol,
  body .gkTabsWrap.horizontal > ol {
    background: none;
  }
  body .gkTabsWrap.vertical ol li,
  body .gkTabsWrap.horizontal ol li {
    border-bottom: 1px solid #eee;
    border-right: medium none;
    box-sizing: border-box;
    width: 100%;
    background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top, #fbfbfb 0%, #f8f8f8 100%) repeat scroll 0 0;
  }
  body .jm-module .gkTabsWrap.vertical ol li,
  body .jm-module .gkTabsWrap.horizontal ol li,
  body .jm-module .gkTabsWrap.vertical ol li.active,
  body .jm-module .gkTabsWrap.horizontal ol li.active {
    height: 50px !important;
    line-height: 50px !important;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }
  body .jm-module .gkTabsWrap.vertical ol li:last-child,
  body .jm-module .gkTabsWrap.horizontal ol li:last-child,
  body .jm-module .gkTabsWrap.vertical ol li.active:last-child,
  body .jm-module .gkTabsWrap.horizontal ol li.active:last-child {
    margin-bottom: 14px !important;
  }
  /**************/
  table.category {
    display: block;
    overflow-x: scroll;
  }
  .btn-group + .btn-group {
    margin-left: 1px;
  }
  .item-page img {
    margin: 0 auto;
    display: block;
  }
  #jm-allpage #jm-page-settings .nav.menu .resizer,
  #jm-allpage #jm-page-settings .nav.menu .container-width {
    display: none;
  }
}
@media (max-width: 979px) {
  .djslider-override .slide-desc-text-override .slide-title + .slide-text {
    margin: 0;
  }
  .djslider-override .slide-desc-text-override {
    padding: 5px;
  }
  .djslider-override .slide-desc-text-override .slide-title,
  .djslider-override .slide-desc-text-override .slide-title > a,
  .djslider-override .slide-text,
  .djslider-override .slide-text > a,
  .djslider-override .slide-text > 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;
  }
  .djslider-override .navigation-container {
    opacity: 0;
    filter: alpha(opacity=0);
    pointer-events: none;
  }
}
@media (max-width: 767px) {
  #jm-allpage #jm-header .djslider-override .slide-desc-text-override .slide-title {
    font-size: 33px;
  }
  .djslider-override a.readmore {
    display: none;
  }
  .djslider-override .navigation-container-custom {
    opacity: 0;
    filter: alpha(opacity=0);
    pointer-events: none;
  }
}
@media (max-width: 480px) {
  #jm-allpage #jm-header .djslider-override .slide-desc-text-override .slide-title {
    font-size: 15px;
  }
  .djslider-override .slide-text {
    display: none;
  }
}
