.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: 1820px) {
  .container-fluid .dj-galleryGrid  .dj-slide-title,
  .container-fluid .dj-galleryGrid  .dj-slide-title a {
    font-size: 30px !important;
  }
}
@media (max-width: 1720px) {
  .container-fluid .dj-galleryGrid  .dj-slide-title,
  .dj-galleryGrid  .dj-slide-title a {
    font-size: 25px !important;
  }
  .dj-galleryGrid .dj-slide-desc-text {
    font-size: 13px !important;
  }
}
@media (max-width: 600px) {
  .dj-galleryGrid .dj-slide-desc-text {
    padding: 20px !important;
  }
}
@media (max-width: 320px) {
  .dj-galleryGrid .dj-slide-desc-text {
    padding: 10px !important;
  }
}
@media (max-width: 1359px) {
  .container-fluid #jm-top .top-in,
  .container-fluid #jm-bottom .bottom-in,
  .container-fluid #jm-content-top .content-top-in,
  .container-fluid #jm-content-bottom .content-bottom-in,
  .container-fluid #jm-top .top-in,
  .container-fluid #jm-bottom .bottom-in,
  .container-fluid #jm-content-top .content-top-in,
  .container-fluid #jm-content-bottom .content-bottom-in,
  .container-fluid #jm-top .top-in,
  .container-fluid #jm-bottom .bottom-in,
  .container-fluid #jm-content-top .content-top-in,
  .container-fluid #jm-content-bottom .content-bottom-in {
    width: 50%;
  }
  .container-fluid #jm-top .top-in:nth-child(3n+3),
  .container-fluid #jm-bottom .bottom-in:nth-child(3n+3),
  .container-fluid #jm-content-top .content-top-in:nth-child(3n+3),
  .container-fluid #jm-content-bottom .content-bottom-in:nth-child(3n+3),
  .container-fluid #jm-top .top-in:nth-child(3n+3),
  .container-fluid #jm-bottom .bottom-in:nth-child(3n+3),
  .container-fluid #jm-content-top .content-top-in:nth-child(3n+3),
  .container-fluid #jm-content-bottom .content-bottom-in:nth-child(3n+3),
  .container-fluid #jm-top .top-in:nth-child(3n+3),
  .container-fluid #jm-bottom .bottom-in:nth-child(3n+3),
  .container-fluid #jm-content-top .content-top-in:nth-child(3n+3),
  .container-fluid #jm-content-bottom .content-bottom-in:nth-child(3n+3) {
    clear: both;
  }
  .container-fluid #jm-top .count_1 .top-in,
  .container-fluid #jm-bottom .count_1 .bottom-in,
  .container-fluid #jm-content-top .count_1 .content-top-in,
  .container-fluid #jm-content-bottom .count_1 .content-bottom-in,
  .container-fluid #jm-top .count_1 .top-in,
  .container-fluid #jm-bottom .count_1 .bottom-in,
  .container-fluid #jm-content-top .count_1 .content-top-in,
  .container-fluid #jm-content-bottom .count_1 .content-bottom-in,
  .container-fluid #jm-top .count_1 .top-in,
  .container-fluid #jm-bottom .count_1 .bottom-in,
  .container-fluid #jm-content-top .count_1 .content-top-in,
  .container-fluid #jm-content-bottom .count_1 .content-bottom-in {
    width: 100%;
  }
  .top-bg .jm-module-content-in:before,
  .content-top-bg .jm-module-content-in:before,
  .content-bottom-bg .jm-module-content-in:before {
    display: none;
  }
  #jm-footer-left,
  #jm-footer-center,
  #jm-footer-right {
    width: 100% !important;
    float: none;
    text-align: center;
    margin: 0 0 20px;
  }
}
@media (max-width: 1279px) {
  .container-fluid #jm-right,
  .container-fluid #jm-content {
    margin: 0 !important;
  }
  .container-fluid #jm-right .right-column {
    padding: 0 !important;
  }
  .container-fluid #jm-right {
    width: 100% !important;
    float: none !important;
    clear: both;
  }
  .dj-slide-title,
  .dj-slide-title > a {
    font-size: 14px !important;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-rendering: optimizeLegibility;
  }
  .dj-slide-description,
  .dj-slide-description p {
    font-size: 13px !important;
    padding: 10px !important;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-rendering: optimizeLegibility;
  }
}
@media (max-width: 1199px) {
  #jm-djmenu {
    text-align: center;
    width: 100%;
  }
}
@media (max-width: 990px) {
  .container,
  .container-fluid {
    width: auto !important;
    max-width: none !important;
  }
}
@media (max-width: 979px) {
  html {
    -webkit-text-size-adjust: none;
  }
  #jm-back-top {
    display: none;
  }
  img {
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .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-module-in {
    height: auto !important;
  }
  .jm-dark .jm-module.jm-search .inputbox {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
  }
  #jm-back-top {
    display: none;
  }
  .jm-module-in {
    height: auto !important;
  }
  .jm-module input#modlgn-username,
  .jm-module input#modlgn-passwd {
    width: 100%;
  }
  #jm-top-bar {
    position: static;
    height: auto;
    margin: 0;
  }
  #jm-left,
  #jm-right,
  #jm-content {
    width: 100%;
    clear: both;
  }
  #jm-right .right-column {
    padding: 0 !important;
  }
  #jm-left,
  #jm-right,
  #jm-content-wrapper-in,
  #jm-footer-in {
    margin: 0 !important;
  }
  #jm-left #jm-logo-sitedesc {
    display: none;
  }
  #jm-allpage #jm-nav-wrapper #jm-djmenu,
  #jm-allpage #jm-nav-wrapper #jm-logo-sitedesc {
    display: block !important;
    padding: 0 0 20px !important;
    width: 100% !important;
    max-width: none !important;
    float: none;
  }
  #jm-nav-wrapper {
    margin: 0 -20px 20px !important;
    padding: 20px 0 0 !important;
  }
  #jm-content-wrapper-bg,
  #jm-bottom-in,
  #jm-footer-in {
    padding: 0 20px;
  }
  #jm-left.jm-dark .jm-module.jm-search,
  #jm-left .djmegamenu-vertical .dj-megamenu {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #jm-main {
    padding: 0;
  }
  .jm-nospace {
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #jm-social {
    top: 205px !important;
  }
}
@media (max-width: 767px) {
  .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-top-bar1,
  #jm-top-bar2 {
    float: none;
    text-align: center;
  }
  #jm-top-bar1,
  #jm-top-bar2 {
    margin: 0 0 5px;
    max-width: 100%;
  }
  #jm-top-bar1.notopbarmod,
  #jm-top-bar2.notopbarmod {
    margin-bottom: 0;
  }
  #jm-top-bar .nav.menu li,
  #jm-footer-menu .nav.menu li {
    display: block;
    border: none;
  }
  .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-allpage #jm-top .top-in,
  #jm-allpage #jm-bottom .bottom-in,
  #jm-allpage #jm-content-top .content-top-in,
  #jm-allpage #jm-content-bottom .content-bottom-in,
  #jm-allpage #jm-top .top-in,
  #jm-allpage #jm-bottom .bottom-in,
  #jm-allpage #jm-content-top .content-top-in,
  #jm-allpage #jm-content-bottom .content-bottom-in,
  #jm-allpage #jm-top .top-in,
  #jm-allpage #jm-bottom .bottom-in,
  #jm-allpage #jm-content-top .content-top-in,
  #jm-allpage #jm-content-bottom .content-bottom-in {
    width: 50%;
  }
  #jm-allpage #jm-top .top-in:nth-child(3n+3),
  #jm-allpage #jm-bottom .bottom-in:nth-child(3n+3),
  #jm-allpage #jm-content-top .content-top-in:nth-child(3n+3),
  #jm-allpage #jm-content-bottom .content-bottom-in:nth-child(3n+3),
  #jm-allpage #jm-top .top-in:nth-child(3n+3),
  #jm-allpage #jm-bottom .bottom-in:nth-child(3n+3),
  #jm-allpage #jm-content-top .content-top-in:nth-child(3n+3),
  #jm-allpage #jm-content-bottom .content-bottom-in:nth-child(3n+3),
  #jm-allpage #jm-top .top-in:nth-child(3n+3),
  #jm-allpage #jm-bottom .bottom-in:nth-child(3n+3),
  #jm-allpage #jm-content-top .content-top-in:nth-child(3n+3),
  #jm-allpage #jm-content-bottom .content-bottom-in:nth-child(3n+3) {
    clear: both;
  }
  #jm-allpage #jm-top .count_1 .top-in,
  #jm-allpage #jm-bottom .count_1 .bottom-in,
  #jm-allpage #jm-content-top .count_1 .content-top-in,
  #jm-allpage #jm-content-bottom .count_1 .content-bottom-in,
  #jm-allpage #jm-top .count_1 .top-in,
  #jm-allpage #jm-bottom .count_1 .bottom-in,
  #jm-allpage #jm-content-top .count_1 .content-top-in,
  #jm-allpage #jm-content-bottom .count_1 .content-bottom-in,
  #jm-allpage #jm-top .count_1 .top-in,
  #jm-allpage #jm-bottom .count_1 .bottom-in,
  #jm-allpage #jm-content-top .count_1 .content-top-in,
  #jm-allpage #jm-content-bottom .count_1 .content-bottom-in {
    width: 100%;
  }
  #jm-social {
    position: static;
    margin: 0 0 20px;
  }
  .jm-icons {
    text-align: center;
  }
  .jm-icons a {
    display: inline-block;
    float: none !important;
  }
  .jm-icons a:hover {
    width: 50px !important;
  }
  .jm-icons span.jm-facebook:hover {
    background-position: -137px 0;
  }
  .jm-icons span.jm-google:hover {
    background-position: -137px -50px;
  }
  .jm-icons span.jm-twitter:hover {
    background-position: -137px -100px;
  }
  .jm-icons span.jm-flickr:hover {
    background-position: -137px -150px;
  }
  .jm-icons span.jm-vimeo:hover {
    background-position: -137px -200px;
  }
  .dj-slide-title {
    margin-bottom: 5px !important;
  }
  .dj-readmore-wrapper {
    margin-top: 5px !important;
  }
  .jm-module-content-in {
    height: auto !important;
  }
}
@media (max-width: 480px) {
  .show-desktop {
    display: block;
  }
  #jm-top-bar .nav.menu li {
    display: block;
  }
  #jm-allpage #jm-top .top-in,
  #jm-allpage #jm-bottom .bottom-in,
  #jm-allpage #jm-content-top .content-top-in,
  #jm-allpage #jm-content-bottom .content-bottom-in {
    width: 100% !important;
    float: none !important;
  }
  .dj-readmore-wrapper {
    display: none !important;
  }
  .dj-tabber .dj-slides {
    margin: 0 !important;
  }
  .dj-tabber .dj-tabs {
    display: none !important;
  }
  .dj-galleryGrid .dj-slide {
    height: auto !important;
  }
  #dj-suggester-light {
    display: none;
  }
}
