/***************************************************************************************/
/*
/*		Author: AS Designing
/*		Author URI: http://www.asdesigning.com
/*		Theme URI: http://www.astemplates.com
/*		
/*		Note: Design for Portrait tablets
/*
/***************************************************************************************/

@media (max-width: 767px) {
  body {
    padding: 0 !important;
  }

  .container {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  #logo {
    margin-bottom: 0px;
    float: left;
    display: block;
  }

  #header-wrapper {
    margin-top: 0;
    position: relative;
  }

  #slider-row {
    border-bottom: none;
  }

  #slider-row .row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .camera_prev,
  .camera_next,
  .camera_commands,
  .camera_target_content {
    display: none;
  }

  #header-row .mod-search {
    margin-left: 40px;
  }

  #header-top-row #logo {
    margin-bottom: 0px;
    text-align: center;
  }

  #header-top-row .moduletable.call-us {
    margin: 0px;
    font-size: 14px;
  }

  #header-row .moduletable.social {
    margin: 0px 0px 10px 0px;
  }

  #header-row .moduletable.social .nav {
    margin-top: 0px;
  }

  #header-row #as-menu {
    margin: 0 0 0 15px;
    padding: 0 15px 0 0;
  }

  #header-row .select-menu {
    min-width: 400px !important;
  }

  #header-row .select-menu option {
    padding: 2px 10px;
  }

  #featured-row .top {
    margin: 0px;
  }

  #featured-row .mod-newsflash p {
    float: none;
    overflow: hidden;
    width: 100%;
  }

  #featured-row .newsflash-title-wrapper {
    padding: 150px 0px 0;
    margin: -130px auto 0;
    width: 35%;
  }

  #featured-row .mod-newsflash .item img {
    max-width: 70%;
  }

  #featured-row .mod-newsflash h2,
  #featured-row .mod-newsflash h3,
  #featured-row .mod-newsflash h4,
  #featured-row .mod-newsflash h5 {
    margin-top: -90px;
    text-align: center;
    font-size: 24px;
  }

  #featured-row .newsflash-title .newsflash-title-wrapper {
    margin: -220px auto 0;
    padding: 250px 10px 0;
  }

  .mod-newsflash-adv__links .item__module {
    width: 48%;
    margin: 0 1% 20px;
    float: left;
  }

  .nspArt img.nspImage {
    max-width: 80% !important;
  }

  .page-blog .items-row.cols-3 .item_img.img-intro {
    width: 98.5%;
  }

  .page-blog .items-row .span6 .item {
    border-bottom: 1px solid #d4d4d4;
    margin-bottom: 30px;
    padding-bottom: 20px;
    overflow: hidden;
  }

  .page-blog .items-row.cols-2 {
    border-bottom: none;
    margin-bottom: 0px;
    padding-bottom: 0px;
    overflow: hidden;
  }

  .page-category__clients .item {
    overflow: hidden;
    margin-bottom: 20px;
  }

  .page-category__clients .item_img {
    float: left;
    margin-right: 20px;
    clear: none !important;
  }

  .page-featured .items-row .item__featured {
    margin-bottom: 30px !important;
  }

  .item-image.blog-image {
    float: none;
    margin: 0 0 20px 0;
  }

  .img-full__left.span5 {
    width: 50%;
  }

  .row-fluid [class*="itemSpan"] {
    display: block;
    float: none;
    margin-left: 0;
    width: auto;
  }

  .span9 .row-fluid [class*="span"] .img-intro__none,
  .span9 .row-fluid [class*="span"] .img-full__none,
  .span6 .row-fluid [class*="span"] .img-intro__none,
  .span6 .row-fluid [class*="span"] .img-full__none {
    width: 98.5%;
  }

  .page-item {
    padding-bottom: 0px;
  }

  .page-gallery .well {
    overflow: auto;
  }

  .page-gallery .item_title {
    font-size: 18px;
  }

  .page-gallery ul#filters li {
    display: block;
  }

  .page-gallery .item_img.img-intro {
    float: left;
    margin: 0 20px 20px 0;
    width: 50%;
  }

  ul.gallery.cols-2 .gap,
  ul.gallery.cols-2 .gallery-grid,
  ul.gallery.cols-3 .gap,
  ul.gallery.cols-3 .gallery-grid,
  ul.gallery.cols-4 .gap,
  ul.gallery.cols-4 .gallery-grid {
    width: 100%;
  }

  .contact_form {
    width: 50%;
  }

  .contact_details {
    margin-bottom: 20px;
  }

  .contact_details .span6 {
    width: 50%;
    float: left;
  }

  .mod-search__aside .mod-search_searchword {
    width: 50%;
  }

  .mod-login__aside .mod-login_username,
  .mod-login__aside .mod-login_passwd {
    width: 50%;
  }

  aside {
    margin-top: 0px;
  }

  aside .mod-search button.btn.btn-search {
    margin-top: 0px;
  }

  #aside-row-1-left,
  #aside-row-2-left {
    margin-right: 0px;
  }

  #aside-row-1-right,
  #aside-row-2-right {
    margin-left: 0px;
  }

  #footer {
    height: auto;
  }

  #footer p {
    margin-bottom: 0;
  }

  .mod-footer {
    position: relative;
    top: -48px;
  }

  .footer-row-1 .span3 .item_img,
  .footer-row-1 .span4 .item_img,
  .footer-row-1 .span3 img,
  .footer-row-1 .span4 img {
    width: auto;
  }

  #footer-row .module_title.right {
    float: none;
  }

  #trademark,
  #copyright-menu {
    float: none;
    text-align: center;
  }

  #back-top {
    display: none;
  }

  .hot_joomla_carousel_slides .gallery-cell img {
    max-width: 50% !important;
  }

  .hot_joomla_carousel_slides.is-draggable .flickity-prev-next-button.previous {
    left: 0px;
  }

  .hot_joomla_carousel_slides.is-draggable .flickity-prev-next-button.next {
    right: 0px;
  }
}
