.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;
  }
  .mod-custom__custom-aside h1 {
    font-size: 45px;
    line-height: 50px;
  }
  #camera-slideshow .camera_caption > div {
    font-size: 45px;
    line-height: 50px;
    padding-left: 35%;
  }
}
/*== Up to 980px ======================================================
========================================================================*/
/* Narrow desktop */
@media (max-width: 980px) {
  .thumbnails {
    margin-left: -12px;
  }
  .thumbnails > li {
    margin-left: 12px;
  }
  .mod-custom__custom-aside h1 {
    font-size: 40px;
    line-height: 45px;
  }
  #camera-slideshow .camera_caption > div {
    font-size: 40px;
    line-height: 45px;
    padding-left: 20%;
    padding-top: 15%;
  }
  /*footer*/
  #back-top {
    display: none !important;
  }
}
/*== Up to 980px and beyond 768px ======================================
========================================================================*/
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  .page-blog .item_img {
    float: none !important;
    margin-bottom: 20px;
  }
  .page-category__team .item_img {
    float: none !important;
    margin-bottom: 20px;
  }
}
/*== Up to 767px ======================================================
========================================================================*/
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  body {
    padding: 0 !important;
  }
  #header-row .header-row-inner {
    padding-left: 2%;
    padding-right: 2%;
  }
  #header-row .row-container {
    padding-top: 6px;
    padding-bottom: 30px;
  }
  #wrapper {
    margin: 0;
  }
  #footer-wrapper {
    height: auto;
  }
  #push {
    display: none;
  }
  #aside-left {
    margin: 0 !important;
    padding: 0 !important;
  }
  #camera-slideshow .camera_caption > div {
    font-size: 24px;
    line-height: 24px;
    padding-left: 20%;
  }
  .mod-article-single__featured-services .span6 {
    width: 50%;
    float: left;
  }
  .mod-custom__custom-aside {
    padding: 20px;
    text-align: center;
  }
  .mod-custom__custom-aside h1 {
    font-size: 35px;
    line-height: 40px;
    margin-bottom: 0;
  }
  .mod-custom__custom-aside h1 span {
    display: inline;
  }
  #aside-right {
    padding-top: 30px;
  }
  #aside-right aside {
    background: none;
    margin: 0;
    padding: 0;
    padding-left: 2%;
    padding-right: 2%;
  }
  #component.offset1 {
    padding: 0;
    margin-left: 0;
  }
  #component.offset1 .component {
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 30px;
  }
  #content-row:before {
    background: #242321;
  }
  /*navigation*/
  .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 .gallery-item {
    float: none;
  }
  .page-gallery ul.gallery .gallery-item .item_img {
    float: left;
    margin: 0 20px 20px 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%;
  }
  #footer-row .row-container,
  #copyright-row .row-container {
    padding-left: 2%;
    padding-right: 2%;
  }
}
/*== Up to 480px ==================================================
====================================================================*/
/* Landscape phones and down */
@media (max-width: 480px) {
  /*contact*/
  .contact_form {
    width: 100%;
  }
  .contact_details {
    margin-bottom: 20px;
  }
  .contact_details .span6 {
    width: 100%;
    float: none;
  }
  /*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;
  }
  #camera-slideshow .camera_caption {
    display: none !important;
  }
  #showcase-row .camera_wrap .camera_pag {
    width: 30px;
    max-width: 30px;
    position: absolute;
    bottom: 20px;
    left: 4%;
  }
  .mod-article-single__featured-services .span6 {
    width: 100%;
    float: none;
  }
  #component .component {
    padding-bottom: 0 !important;
  }
  /*gallery*/
  .page-gallery .item_img.img-intro {
    float: none;
    margin: 0 0 20px 0;
  }
  .page-gallery ul.gallery .gallery-item {
    text-align: center;
  }
  .page-gallery ul.gallery .gallery-item .item_img {
    float: none;
    margin: 0 0 20px 0 !important;
  }
  .page-gallery ul.gallery .gallery-item a.zoom {
    display: inline-block;
  }
  .img-full__left.span5 {
    width: 100%;
    margin-right: 0;
  }
  .item_img.pull-left {
    float: none !important;
  }
  /*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_username,
  .mod-login__aside .mod-login_passwd {
    width: 100%;
  }
  #footer-wrapper {
    text-align: center;
  }
  .mod-custom__address p {
    text-align: center;
  }
  .mod-menu__social {
    right: 0;
  }
  .mod-menu__social ul.social {
    text-align: center;
  }
  .mod-custom.mod-custom__phone,
  .moduletable.phone {
    float: none !important;
    text-align: center;
  }
  .mod-custom__address h5 {
    text-align: center;
  }
}
/*== Up to 340px =====================================================
========================================================================*/
/* Portrait phones */
@media (max-width: 340px) {
  .page-blog {
    text-align: center;
  }
  .page-blog .item_img.img-intro {
    float: none;
    margin: 0 0 20px 0;
  }
}
