

@media (max-width: 1024px) {
  .touch .container.t3-mainbody {
    max-width: 900px !important;
  }
  div.itemVideoBlock div.itemVideoEmbedded iframe {
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .view-article .t3-content,
  .layout-edit .t3-content,
  .com_k2.view-item .t3-content {
    padding: 20px;
  }
  .admintable textarea {
    width: 210px !important;
  }
  .touch .container.t3-mainbody {
    max-width: 580px !important;
  }
  div.itemVideoBlock div.itemVideoEmbedded iframe {
    width: 100%;
  }
}
@media (max-width: 767px) {
  body {
    background-position: left top;
    background-size: auto;
    overflow-y: visible;
    height: auto;
    padding: 0;
  }
  .t3-mainnav.focus + .t3-mainbody {
    opacity: 1;
  }
  .t3-content {
    height: auto;
    margin: 0 20px !important;
    width: auto !important;
    max-width: 95% !important;
  }
  .t3-sidebar-1 {
    position: relative;
    top: 0;
    right: 0;
    width: 100% !important;
    display: none !important;
  }
  .ja-infinity .item,
  #infscr-loading {
    margin: 0 0 15px;
    display: block;
    opacity: 1 !important;
  }
  .item article {
    width: 100%;
  }
  #item-close {
    display: none;
  }
  .view-article .t3-mainbody,
  .com_k2.view-item .t3-mainbody {
    top: 0 !important;
  }
  .view-article .t3-content,
  .com_k2.view-item .t3-content {
    bottom: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    position: relative;
    width: auto !important;
  }
  .view-article .overlay,
  .com_k2.view-item .overlay {
    background: none !important;
    display: none !important;
  }
  .view-article .t3-content .item-page-scoller,
  .com_k2.view-item .t3-content .item-page-scoller {
    top: 0 !important;
    bottom: 0 !important;
    padding: 0px !important;
    position: relative !important;
    width: 100% !important;
  }
  .t3-content {
    width: auto !important;
  }
  #t3-header {
    background: #000;
    display: inline-block;
    float: right;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10001;
  }
  #t3-header .head-social {
    display: inline-block;
    float: right;
    margin-right: 10px;
    width: auto !important;
  }
  #t3-header .head-social ul.btn-social {
    margin-top: 10px;
    margin-right: 30px;
  }
  #t3-header .head-social ul.btn-social {
    margin: 10px 10px 0;
  }
  #t3-header .head-social .nav-connect .dropdown-menu.expand.nav-child {
    height: 250px;
    width: 600px;
  }
  #t3-header .qs-result-panel {
    height: 200px;
  }
  #t3-header .qs-result-panel .qs-result-list-wrap {
    height: 150px;
  }
  #t3-header .qs-result-panel .qs-result .qs-item {
    width: 100% !important;
  }
  .logo-image {
    float: left !important;
    margin-left: 75px !important;
    width: auto !important;
  }
  .logo-image h1 {
    float: left !important;
    margin-right: 0px;
    margin-top: 10px;
  }
  .logo {
    float: left !important;
    text-align: center;
    width: 100% !important;
  }
  .head-social .nav-connect .dropdown-menu {
    box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
  }
  .head-social ul.btn-social li.dropdown.nav-helps {
    display: none;
  }
  .top-social {
    width: 100% !important;
    float: right;
  }
  .ja-infinity-wraper {
    margin-left: 0 !important;
    padding-left: 0 !important;
    position: static;
    overflow: auto;
    height: auto;
  }
  .ja-infinity {
    width: 100% !important;
  }
  .t3-mainbody {
    margin: 80px 0 0;
    position: relative;
    top: 0;
  }
  .t3-content {
    padding: 20px;
  }
  .view-article .t3-mainbody,
  .com_k2.view-item .t3-mainbody {
    z-index: 1000;
  }
  .t3-content .search,
  .com_finder .finder,
  .weblink-category,
  .newsfeed-category,
  .com_users .profile,
  .com_users .t3-content > div {
    margin: 0;
    padding: 0;
  }
  .t3-sl {
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .t3-footer {
    margin-left: -20px;
    margin-right: -20px;
  }
  .t3-footnav {
    padding: 20px 20px 0;
    font-size: 12px;
  }
  .t3-footnav .module-title {
    font-size: 14px;
    font-weight: bold;
  }
  .t3-copyright {
    padding: 20px 20px 40px;
    *zoom: 1;
  }
  .t3-copyright:before,
  .t3-copyright:after {
    display: table;
    content: "";
    line-height: 0;
  }
  .t3-copyright:after {
    clear: both;
  }
  .copyright,
  .poweredby {
    float: none;
    display: inline-block;
  }
  .poweredby {
    margin-top: 10px;
  }
  .copyright .ja-keyboard-btns {
    display: none;
  }
  #user-registration .form-actions {
    padding-left: 0;
  }
  #searchForm .btn-group.pull-left {
    margin-left: 0 !important;
    margin-right: 5px !important;
  }
  .cpn-control {
    display: none;
  }
  .view-featured .article-intro,
  .blog-featured .article-intro,
  .blog .article-intro {
    display: none;
  }
  .genericItemView .article-intro,
  .tagItemView .article-intro,
  .userItemView .article-intro,
  .itemContainer .article-intro {
    display: none;
  }
  div.itemHeader h2.itemTitle {
    font-size: 18px;
  }
  div.itemAuthorLatest,
  div.itemRelated {
    width: 100% !important;
  }
  div.itemAuthorLatest h3,
  div.itemRelated h3 {
    font-size: 16px;
  }
  div.tagItemHeader h2.tagItemTitle,
  div.userItemHeader h3.userItemTitle,
  div.catItemHeader h3.catItemTitle {
    font-size: 18px;
  }
  div.subCategory a.subCategoryImage {
    height: auto;
  }
  div.subCategory h2 {
    font-size: 16px;
  }
  .view-article .t3-mainbody,
  .com_k2.view-item .t3-mainbody {
    width: 100%;
  }
  div.itemToolbar ul,
  .itemRatingBlock {
    float: none;
    width: 100%;
  }
  div.itemToolbar ul.itemRatingList {
    float: left;
    width: 50px;
  }
  div.itemToolbar ul.pull-right {
    text-align: left;
  }
  div.itemToolbar ul.pull-right li {
    padding-left: 0;
  }
  div.itemRatingBlock span {
    margin-top: 4px;
  }
  .itemRatingForm {
    margin-top: 7px;
  }
  .itemTextResizerTitle {
    margin-top: 2px;
  }
  .header-comment .pull-left {
    width: 100%;
  }
  .header-comment .pull-left.last {
    margin-left: 0;
  }
  .k2AccountPage input.inputbox {
    width: 70%;
  }
}
@media (max-width: 590px) {
  #t3-header .head-social .nav-connect .dropdown-menu.expand.nav-child {
    height: 250px;
    width: 400px;
  }
  #t3-header .qs-result-panel {
    height: 200px;
  }
  #t3-header .qs-result-panel .qs-result-list-wrap {
    height: 100px;
  }
}
@media (max-width: 460px) {
  #t3-header .head-social ul.btn-social {
    margin: 10px 10px 0 0;
  }
  .head-social ul.btn-social li.dropdown a {
    height: 24px;
    margin-left: 3px;
    width: 24px;
  }
  .head-social ul.btn-social li.dropdown a i {
    font-size: 13px;
    line-height: 23px !important;
  }
  .logo-image {
    float: left;
    margin-left: 65px !important;
    margin-top: 10px;
  }
  .logo-image h1 {
    margin-left: 0px;
    margin-right: 0;
    max-width: 70px;
    width: 70px;
  }
  .logo-image a {
    background: url("../../templates/ja_smashboard/images/logo-mobile.png");
    background-size: 70px auto;
    max-width: 70px;
    height: 13px;
    width: 70px;
  }
  .head-social .nav-connect .dropdown-menu {
    right: 0px;
    width: 280px;
  }
  .head-social .nav-connect .dropdown-menu:after {
    right: 9px;
  }
  .head-social .nav-connect:first-child .dropdown-menu {
    right: -60px;
  }
  .head-social .nav-connect:first-child .dropdown-menu:after {
    right: 70px;
  }
  .head-social .nav-connect:nth-child(2) .dropdown-menu {
    right: -30px;
  }
  .head-social .nav-connect:nth-child(2) .dropdown-menu:after {
    right: 40px;
  }
  #t3-header .head-social .nav-connect .dropdown-menu.expand.nav-child {
    height: 300px;
    width: 300px;
  }
  #t3-header .qs-result-panel {
    height: 150px;
  }
  .qs-result-panel .qs-result-list-wrap {
    height: 70px;
  }
  .qs-result-header {
    margin-bottom: 5px;
  }
  .qs-result-header h2 {
    font-size: 14px;
  }
  #t3-header .form-search {
    margin-bottom: 15px;
  }
  div.subCategory  p {
    height: 100px;
    overflow: hidden;
  }
  .k2AccountPage input.inputbox {
    width: 30%;
  }
}
@media (max-width: 320px) {
  #t3-header .head-social .nav-connect .dropdown-menu.expand.nav-child {
    height: 360px;
    width: 260px;
  }
  #t3-header .qs-result-panel {
    height: 240px;
  }
  .qs-result-panel .qs-result-list-wrap {
    height: 180px;
  }
}

