.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 */
@media (min-width: 1200px) {
  
}
@media (max-width: 1800px) {
  #showcase-row .camera_caption {    
    width: auto;
  }
  #showcase-row .camera_wrap .camera_pag {
    bottom: 35%;
  }
}
@media (max-width: 700px) {
    #showcase-row .camera_wrap .camera_pag {
        bottom: 35%;    
    }
    #showcase-row .camera_caption {
        display: none !important;
    }
  
}

/*== Up to 1200px =====================================================
========================================================================*/
/* Large desktop */
@media (max-width: 1200px) {
   
  #content-bottom-row .caroufredsel_prev,
  #content-bottom-row .caroufredsel_next {
    right: auto;
    left: 50%;
    bottom: 0;
  }
  #content-bottom-row .caroufredsel_next {
    margin-left: 34px;
  }
  #content-bottom-row .list_carousel {
    padding: 0 0 50px;
    margin-bottom: 30px;
  }
  #content-bottom-row .list_carousel ul li .item_title {
    padding: 0;
  }
  #showcase-row .camera_wrap .camera_pag {
    bottom: 35%;  
  }
  html,
  body {
    min-width: 0;
  }
  #contact_map {
    height: 376px;
  }
  ul.gallery {
    margin-left: -20px;
  }
  ul.gallery .gallery-item {
    padding-left: 20px;
  }
}
/*== Up to 980px ======================================================
========================================================================*/
/* Narrow desktop */
@media (max-width: 980px) {

  .header-top-panel .search-block
  {
      width: 150px;
  }

  #aside-right .program .moduleTitle {
    font-size: 24px;
    line-height: 26px;
  }  
  #showcase-row .contacts span {
    font-size: 26px;
  }
  #showcase-row .features .item_title {
    font-size: 20px;
    line-height: 22px;
  }
  .thumbnails {
    margin-left: -12px;
  }
  .thumbnails > li {
    margin-left: 12px;
  }
  /*footer*/
  #back-top, #back-bottom {
    display: none !important;
  }
  ul.gallery {
    margin-left: -12px;
  }
  ul.gallery .gallery-item {
    padding-left: 12px;
  }
  ul.gallery .gallery-item.straightDown {
    text-align: center;
  }
  ul.gallery .gallery-item.straightDown .view {
    margin: 0 auto;
    display: inline-block;
  }
}
/*== Up to 980px and beyond 768px ======================================
========================================================================*/
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  
}

@media (min-width: 768px) {
         
    .body__home #component.span8
    {    
        width: 75.1936%;
        margin:0;
    }

    #component.span8
    {        
        width: 81.5%;
        margin:0;
    }
}

/*== Up to 767px ======================================================
========================================================================*/
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

  .header-top-panel .language
  {
      margin-top: 30px;
      margin-bottom: 30px;
  }
  .header-top-panel .account-block {
      margin-top: 30px;
      margin-bottom: 30px;
  }

  #copyright-row .links {
    float: left;
    width: 48%;
    margin-right: 2%;
    text-align: center;
  }
  #copyright-row #copyright {
    text-align: center;
  }
  #aside-right .events .item {
    margin-bottom: 20px;
  }
  #aside-right .program {
    margin-bottom: 50px;
  }
  .body__home.view-article #content-row {
    padding-bottom: 0;
  }
  #content-top-row .advantages .item {
    float: left;
    width: 30%;
    margin-right: 3%;
  }
  #showcase-row .image .mod-custom {
    /*height: 580px;*/
  }
  #showcase-row .features .item {
    margin-bottom: 30px;
  }
  
  #showcase-row .features .item_title {
    font-size: 24px;
    line-height: 26px;
  }
  #showcase-row .camera_wrap .camera_pag {
    display: none;
  }
  #showcase-row .container-fluid {
    position: relative;
  }
  #header-row .search-block {
    text-align: center;
  }
  #header-row .search-block .mod-search {
    display: inline-block;
  }
  #header-row .follow .menu {
    text-align: center;
  }
  #header-row #logo {
    width: 100%;
    text-align: center;
  }
  #aside-right {
    margin-top: 30px;
  }
  body {
    padding: 0;
  }
  body .row-container {
    padding: 0 2px;
  }
  #wrapper {
    margin: 0;
  }
  #footer-wrapper {
    height: auto;
  }
  #push {
    display: none;
  }
  #logo {
    text-align: center;
  }
  #logo a {
    margin: 0;
  }
  .nav.menu.pull-right.nav-pills {
    float: none;
    text-align: center;
  }
  .nav.menu.pull-right.nav-pills li {
    float: none;
    display: inline-block;
  }
  .social {
    text-align: left;
    padding: 10px 0;
  }
  /*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 {
    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 18px 18px 0 !important;
    max-width: 50%;
  }
  .page-gallery ul.gallery .gallery-item .view .item_img {
    max-width: 100%;
  }
  .page-gallery ul.gallery .gallery-item .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-item .view {
    margin: 0 auto;
  }
  .page-gallery ul.gallery .gallery-item .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, #back-bottom {
    display: none !important;
  }
}
/*== Up to 640px ==================================================
====================================================================*/
@media (max-width: 640px) {
  
  .body__home #content-row:before {
    display: none;
  }
  #content-top-row .advantages .caption {
    color: #b7b7b7;
  }
  #content-top-row .advantages .item_title a {
    color: #2676b3;
  }  
  #content-top-row .advantages .item {
    float: none;
    width: 100%;
    margin-right: 0;
  }
  /*contact*/
  .contact_details {
    margin-bottom: 18px;
  }
  .contact_details .contact_details_item {
    width: 100%;
    float: none;
  }
}
/*== Up to 480px ==================================================
====================================================================*/
/* Landscape phones and down */
@media (max-width: 480px) {

  .header-top-panel .language
  {
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .header-top-panel .account-block {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .page-category__team .img-intro__left {
    float: none;
    margin-right: 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 18px 0;
  }
  .page-gallery ul.gallery .gallery-item {
    text-align: center;
  }
  .page-gallery ul.gallery .gallery-item .item_img {
    float: none;
    margin: 0 auto 18px !important;
    max-width: 100%;
  }
  .page-gallery ul.gallery .gallery-item .item_img img {
    width: 100%;
  }
  .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 18px 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;
  }
}
/*== Up to 340px =====================================================
========================================================================*/
/* Portrait phones */
@media (max-width: 340px) {
  #copyright-row .links {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}
