.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: 28px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/*== 1200px and beyond ===================================================
========================================================================*/
/* Large desktop */
/*== Up to 1200px =====================================================
========================================================================*/
/* Large desktop */
@media (max-width: 1200px) {
  #contact_map {
    height: 376px;
  }
  .row-fluid {
    margin-left: -20px;
  }
  .row-fluid [class*="itemSpan"],
  .row-fluid [class*="span"] {
    padding-left: 20px;
  }
  .fluid {
    margin-left: -20px;
  }
  .camera_caption {
    width: 940px !important;
    margin-left: -470px !important;
  }
  .navigation ul.sf-menu > li + li {
    margin-left: 40px;
  }
  .top_blocks .item .item_introtext {
    padding: 0;
  }
  .team .item_content {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/*== Up to 980px ======================================================
========================================================================*/
/* Narrow desktop */
@media (max-width: 979px) {
  .camera_caption {
    width: 756px !important;
    margin-left: -378px !important;
  }
  .navigation ul.sf-menu > li + li {
    margin-left: 20px;
  }
  .page-category__services .item_content {
    overflow: visible;
  }
  .thumbnails {
    margin-left: -12px;
  }
  .thumbnails > li {
    margin-left: 12px;
  }
  /*footer*/
  #back-top {
    display: none !important;
  }
  .row-fluid {
    margin-left: -12px;
  }
  .row-fluid [class*="itemSpan"],
  .row-fluid [class*="span"] {
    padding-left: 12px;
  }
  .fluid {
    margin-left: -12px;
  }
  .layout-mode {
    float: none;
  }
}
/*== Up to 980px and beyond 768px ======================================
========================================================================*/
/* Portrait tablet to landscape and desktop */
/*== Up to 767px ======================================================
========================================================================*/
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  body {
    padding: 0;
  }
  #wrapper {
    margin: 0;
  }
  #footer-wrapper {
    height: auto;
  }
  #push {
    display: none;
  }
  #logo {
    text-align: center;
  }
  #logo a {
    margin: 0;
  }
  #header-row + div {
    display: none !important;
  }
  #header-row + div + div {
    display: block !important;
  }
  .top_blocks,
  .team {
    font-size: 0;
    line-height: 0;
  }
  .top_blocks .item,
  .team .item {
    display: inline-block !important;
    width: 50% !important;
    vertical-align: top;
    font-size: 13px;
    line-height: 21px;
  }
  .team .item a,
  .team .item img {
    width: 100%;
  }
  .camera_caption {
    width: 100% !important;
    margin-left: 0 !important;
    left: 0 !important;
  }
  .camera_caption > div {
    text-align: center;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .camera_caption > div h2 {
    line-height: 60px;
  }
  .camera_caption > div h2 .item_title_part0 {
    font-size: 80px !important;
  }
  .features .item_num1 .span6 {
    float: left !important;
    width: 50% !important;
  }
  .customer_services {
    margin-bottom: 30px;
  }
  .nav.menu.pull-right.nav-pills {
    float: none;
    text-align: center;
  }
  .nav.menu.pull-right.nav-pills li {
    float: none;
    display: inline-block;
  }
  /*content*/
  [class*="cols"] [class*="span"] {
    width: 100%;
  }
  .item-image.blog-image {
    float: none;
    margin: 0 0 20px 0;
  }
  .row-fluid [class*="itemSpan"],
  .row-fluid [class*="span"] {
    display: block;
    float: none;
    margin-left: 0;
    width: auto;
  }
  /*gallery*/
  .page-gallery ul.gallery .gallery-grid {
    width: 48.5%;
    max-width: 48.5%;
  }
  .page-gallery ul.gallery .gallery-grid .view .item_img {
    max-width: 100%;
  }
  .page-gallery ul.gallery .gallery-grid .view .item_img a {
    display: block;
  }
  .img-full__left.span5 {
    width: 50%;
  }
  /*contact*/
  .contact_details .contact_details_item {
    width: 30%;
    float: left;
  }
  .page-gallery ul.gallery .gallery-grid .view {
    margin: 0 auto;
  }
  .page-gallery ul.gallery .gallery-grid .view .item_img {
    float: none;
    margin: 0 !important;
  }
  /*Modules*/
  /*search*/
  .mod-search__aside .mod-search_searchword {
    width: 50%;
  }
  /*login*/
  .mod-login__aside .mod-login_username,
  .mod-login__aside .mod-login_passwd {
    width: 50%;
  }
  #back-top {
    display: none !important;
  }
}
/*== Up to 640px ==================================================
====================================================================*/
@media (max-width: 640px) {
  .clients .mod-menu .nav.menu,
  .help .mod-menu .nav.menu {
    display: block;
  }
  .clients .mod-menu .nav.menu li,
  .help .mod-menu .nav.menu li {
    display: block;
    float: left;
    width: 50%;
    border: none !important;
  }
  .help .mod-menu .nav.menu li {
    padding-bottom: 30px;
  }
  /*contact*/
  .contact_details {
    margin-bottom: 21px;
  }
  .contact_details .contact_details_item {
    width: 100%;
    float: none;
  }
}
/*== Up to 480px ==================================================
====================================================================*/
/* Landscape phones and down */
@media (max-width: 479px) {
  .camera_caption > div h2 {
    line-height: 31px;
  }
  
  .camera_caption > div h2 .item_title_part0 {
    font-size: 36px !important;
  }
  .camera_prev,
  .camera_next,
  .camera_commands {
    bottom: 5px !important;
  }
  .top_blocks .item,
  .team .item {
    display: block !important;
    width: 100% !important;
  }
  .features .item_num1 .span6 {
    float: none !important;
    width: 100% !important;
  }
  /*contact*/
  .contact_form {
    width: 100%;
  }
  /*registration*/
  .page-registration form input,
  .page-remind form input,
  .page-reset form input,
  .page-login form input,
  .page-login form input,
  .page-profile__edit form input,
  .page-registration form select,
  .page-remind form select,
  .page-reset form select,
  .page-login form select,
  .page-login form select,
  .page-profile__edit form select {
    width: 100%;
  }
  .page-registration form label,
  .page-remind form label,
  .page-reset form label,
  .page-login form label,
  .page-login form label,
  .page-profile__edit form label {
    display: inline-block;
  }
  /* pagination */
  .pagination ul li {
    display: none;
  }
  .pagination ul li.pagination-prev,
  .pagination ul li.pagination-next {
    display: inline-block;
  }
  /*gallery*/
  .page-gallery .item_img.img-intro {
    float: none;
    margin: 0 0 21px 0;
  }
  .page-gallery ul.gallery .gallery-item {
    text-align: center;
    max-width: 100%;
    width: 100%;
  }
  .page-gallery ul.gallery .gallery-item .item_img {
    float: none;
    margin: 0 auto 21px !important;
    max-width: 100%;
  }
  .page-gallery ul.gallery .gallery-item .item_img img {
    width: 100%;
  }
  .page-gallery ul.gallery .gallery-item a.zoom {
    display: block;
  }
  .img-full__left.span5 {
    width: 100%;
    margin-right: 0;
  }
  /*blog*/
  .item_img {
    float: none;
    margin: 0 0 21px 0;
    max-width: 100%;
  }
  /*archive*/
  .page-archive_filters select {
    display: block;
    width: 100%;
  }
  /*contact*/
  .contact_details .contact_details_item {
    width: 100%;
    float: none;
  }
  /*Modules*/
  /*search*/
  .mod-search__aside .mod-search_searchword {
    width: 100%;
  }
  /*login*/
  .mod-login__aside .mod-login_userdata {
    width: 100%;
    overflow: hidden;
  }
  .mod-login__aside .mod-login_username,
  .mod-login__aside .mod-login_passwd {
    width: 100%;
  }
  div.modal {
    position: absolute;
  }
  #error input {
    width: 200px;
  }
}
/*== Up to 340px =====================================================
========================================================================*/
/* Portrait phones */
