.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: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/*== 1200px and beyond ===================================================
========================================================================*/
/* Large desktop */
@media (min-width: 1200px) {
  
}
/*== Up to 1200px =====================================================
========================================================================*/
/* Large desktop */
@media (max-width: 1200px) {
  #contact_map {
    height: 376px;
  }
  ul.gallery {
    margin-left: -20px;
  }
  ul.gallery .gallery-item {
    padding-left: 20px;
  }
  #top-row .navigation ul.sf-menu > li > a,
  #top-row .navigation ul.sf-menu > li > span {
    width: 95px;
  }
  .social {
    width: 940px;
  }
  .flickr .gallery-flickr ul li {
    width: 63px;
  }
  .cooperation {
    font-size: 14px;
    margin-bottom: 54px;
  }
  .cooperation .video_outer {
    margin-left: 20px;
  }
  .additional_services {
    padding-left: 20px;
  }
  .page-blog,
  .page-item__blog,
  .page-archive {
    padding-right: 20px;
  }
}
@media (max-width: 1020px) {
  .camera_caption {
    bottom: 10px !important;
  }
}
/*== Up to 980px ======================================================
========================================================================*/
/* Narrow desktop */
@media (max-width: 980px) {
  .thumbnails {
    margin-left: -12px;
  }
  .thumbnails > li {
    margin-left: 12px;
  }
  /*footer*/
  #back-top {
    display: none !important;
  }
  ul.gallery {
    margin-left: -12px;
  }
  ul.gallery .gallery-item {
    padding-left: 12px;
  }
  #top-row .navigation ul.sf-menu {
    margin-right: 8px;
  }
  #top-row .navigation ul.sf-menu > li {
    margin-right: 0;
  }
  #top-row .navigation ul.sf-menu > li > a,
  #top-row .navigation ul.sf-menu > li > span {
    width: 75px;
  }
  #top-row .chat .mod-custom {
    background-position: top left;
  }
  #top-row .chat .mod-custom a {
    font-size: 1px;
    color: #fff;
    line-height: 1px;
  }
  #top-row .chat .mod-custom a span {
    font-size: 10px;
    line-height: 12px;
  }
  .social {
    width: 756px;
  }
  .news .item_published {
    clear: none;
  }
  .news .item_content {
    clear: both;
  }
  .flickr .gallery-flickr ul li {
    width: 50px;
  }
  .camera_caption > div p {
    font-size: 13px !important;
  }
  .camera_target_content {
    display: none !important;
  }
  .contacts span.fleft,
  .contacts span.fright {
    float: none;
    display: block;
  }
  .page-blog .img-intro__left {
    float: none;
    margin-right: 0;
  }
}
/*== Up to 980px and beyond 768px ======================================
========================================================================*/
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  
}
/*== Up to 767px ======================================================
========================================================================*/
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  body {
    padding: 0;
  }
  body .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  #wrapper {
    margin: 0 !important;
  }
  #footer-wrapper {
    height: auto !important;
  }
  #push {
    display: none !important;
  }
  .flickr .gallery-flickr ul li {
    width: 74px;
  }
  #logo {
    text-align: center;
  }
  #logo a {
    margin: 0;
  }
  .page-blog,
  .page-item__blog,
  .page-archive {
    padding-right: 0px;
  }
  .nav.menu.pull-right.nav-pills {
    float: none;
    text-align: center;
  }
  .nav.menu.pull-right.nav-pills li {
    float: none;
    display: inline-block;
  }
  .social {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 20px;
  }
  #top-row .navigation {
    padding: 10px 0 0;
    float: none;
    clear: both;
  }
  #top-row {
    height: auto;
  }
  #top-row .search-block .mod-search {
    border: 1px solid #dfdfdf;
    right: 0;
  }
  .news .item_content {
    clear: none;
    overflow: hidden;
  }
  .news .item_published {
    clear: left;
  }
  .additional_services {
    padding-left: 0px;
  }
  /*navigation*/
  #top-row .select-menu {
    display: block;
    width: 100%;
  }
  .sf-menu {
    display: none;
  }
  /*content*/
  .item-image.blog-image {
    float: none;
    margin: 0 0 20px 0;
  }
  .row-fluid [class*="itemSpan"] {
    display: block;
    float: none;
    margin-left: 0;
    width: auto;
  }
  /*gallery*/
  .page-gallery ul.gallery {
    margin-left: 0;
  }
  .page-gallery ul.gallery .gallery-item {
    padding-left: 0;
    float: none;
  }
  .page-gallery ul.gallery .gallery-item .item_img {
    float: left;
    margin: 0 21px 21px 0 !important;
  }
  .img-full__left.span5 {
    width: 50%;
  }
  /*contact*/
  .contact_details .contact_details_item {
    width: 30%;
    float: left;
  }
  /*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;
  }
  .clients .item {
    width: 23% !important;
  }
  .body__services .img-intro {
    float: left;
    margin-right: 20px;
  }
}
/*== Up to 640px ==================================================
====================================================================*/
@media (max-width: 640px) {
  /*contact*/
  .contact_details {
    margin-bottom: 21px;
  }
  .contact_details .contact_details_item {
    width: 100%;
    float: none;
  }
  .cooperation .video_outer {
    float: none;
    margin-left: 0;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 20px;
  }
  .clients .item {
    width: 33% !important;
  }
}
/*== Up to 480px ==================================================
====================================================================*/
/* Landscape phones and down */
@media (max-width: 480px) {
  .item_img {
    float: none !important;
    margin-right: 0 !important;
  }
  .extra_wrap {
    margin-left: 0;
  }
  /*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 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;
  }
  .page-gallery ul.gallery .gallery-item .item_img {
    float: none;
    margin: 0 0 21px 0 !important;
  }
  .page-gallery ul.gallery .gallery-item a.zoom {
    display: inline-block;
  }
  .img-full__left.span5 {
    width: 100%;
    margin-right: 0;
  }
  /*blog*/
  .page-blog .item_img.img-intro {
    float: none;
    margin: 0 0 21px 0;
  }
  /*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;
  }
  #top-row #logo {
    float: none;
    margin: 0;
  }
  #top-row #logo:after {
    display: none;
  }
  #section-kmt .kmt-author {
    font-size: 12px !important;
  }
  #section-kmt #kmt-fame {
    padding: 10px;
  }
  #section-kmt .parentContainer {
    display: none !important;
  }
}
/*== Up to 340px =====================================================
========================================================================*/
/* Portrait phones */
@media (max-width: 380px) {
  .clients .item {
    width: 50% !important;
  }
}
