.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: 32px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.fb-like-box {
  display: block !important;
  max-width: 100%;
}
.fb-like-box > * {
  display: block !important;
  max-width: 100%;
}
.fb-like-box > iframe {
  display: block !important;
  max-width: 100%;
}
/*== 1200px and beyond ===================================================
========================================================================*/
/* Large desktop */
@media (min-width: 1200px) {
  
}
@media (max-width: 1280px) {
  .cameraContent .camera_caption {
    left: 0;
    margin-left: 40px;
  }
  #showcase-row .btn-arrow {
    left: auto;
    right: 0;
    margin-left: 0;
    margin-right: 300px;
  }
}
/*== Up to 1200px =====================================================
========================================================================*/
/* Large desktop */
@media (max-width: 1200px) {
  .bg_top {
    background-attachment: fixed;
    background-position: center;
  }
  #contact_map {
    height: 376px;
  }
  .row-fluid,
  .inputs-inline {
    margin-left: -20px;
  }
  .row-fluid [class*="itemSpan"],
  .row-fluid [class*="span"],
  .inputs-inline > [class*="input"] {
    padding-left: 20px;
  }
  .fluid {
    margin-left: -20px;
  }
  .slogan h1 {
    width: 50%;
  }
  .call_us .address {
    float: none;
    width: 100%;
  }
  .headlines h2,
  .view-events .firstItem a {
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 1px;
  }
  .view-events .lastItem {
    width: 20%;
  }
  .view-events .firstItem {
    width: 80%;
  }
  .call_us header,
  .call_us .mod-custom {
    padding-left: 20px;
  }
  .testimon .item_img {
    float: none;
    display: inline-block;
    margin-right: 0;
  }
  .testimon .caroufredsel_pagination {
    float: none;
    padding-left: 70px;
  }
  .staff .cols-6 [class*="span"] {
    width: 33.333%;
  }
  .staff .item {
    padding-bottom: 20px;
  }
}
/*== Up to 980px ======================================================
========================================================================*/
/* Narrow desktop */
@media (max-width: 979px) {
  .about_us .item_img {
    float: none;
    margin-right: 0;
  }
  #showcase-row .camera_caption {
    left: 40px;
    right: 40px;
    margin-left: 0;
    width: auto;
  }
  #showcase-row .camera_caption .btn {
    right: -80px;
  }
  #showcase-row .btn-arrow {
    top: 590px;
  }
  .navigation ul.sf-menu > li {
    width: 20%;
  }
  .navigation ul.sf-menu > li > a,
  .navigation ul.sf-menu > li > span {
    font-size: 12px;
    line-height: 16px;
  }
  h1,
  h2,
  h3 {
    font-size: 30px;
    line-height: 36px;
  }
  .headlines h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .view-events .lastItem {
    width: 30%;
    padding-right: 20px;
  }
  .view-events .firstItem {
    width: 70%;
  }
  #copyright-row #copyright {
    width: 100%;
    padding-bottom: 40px;
  }
  #copyright-row .moduletable {
    width: 25%;
  }
  .footer-logo {
    padding-top: 0;
  }
  .thumbnails {
    margin-left: -12px;
  }
  .thumbnails > li {
    margin-left: 12px;
  }
  /*footer*/
  #back-top {
    display: none !important;
  }
  .row-fluid,
  .inputs-inline {
    margin-left: -12px;
  }
  .row-fluid [class*="itemSpan"],
  .row-fluid [class*="span"],
  .inputs-inline > [class*="input"] {
    padding-left: 12px;
  }
  .fluid {
    margin-left: -12px;
  }
}
/*== 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) {
  #logo {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 23px;
    text-align: center;
  }
  .moduletable.login {
    position: absolute;
    left: 0;
    right: 0;
    top: 250px;
    width: auto;
    text-align: center;
  }
  .moduletable.login .mod-login {
    position: static;
    float: none;
    margin: 0 auto;
    text-align: left;
  }
  .moduletable.lang {
    position: absolute;
    left: 0;
    right: 0;
    top: 200px;
    width: auto;
    text-align: center;
  }
  .moduletable .mod-languageslang {
    float: none;
  }
  .bg_top {
    min-height: 360px;
  }
  .staff .cols-6 [class*="span"] {
    width: 100%;
    text-align: left;
  }
  .staff .item_img {
    float: left;
    margin-right: 20px;
  }
  .search-block {
    text-align: center;
  }
  .bg_top .mod-search {
    float: none;
    display: inline-block;
  }
  #logo {
    top: 23px;
    left: 22px;
    margin-left: 0px;
  }
  #navigation-row .navigation {
    position: absolute;
    top: 224px;
    left: 0;
    width: 100%;
  }
  .slogan h1 {
    width: 100%;
    padding-top: 150px;
    font-size: 30px;
    line-height: 36px;
  }
  #showcase-row .camera_caption {
    display: none !important;
  }
  .blocks .item {
    text-align: left;
  }
  .blocks .item_img {
    margin-right: 20px;
    float: left;
  }
  .testimon .item_img {
    float: left;
    margin-right: 20px;
  }
  #copyright-row .moduletable {
    width: 100%;
  }
  .view-events .lastItem {
    width: 40%;
  }
  .view-events .firstItem {
    width: 60%;
  }
  body {
    padding: 0;
  }
  body .row-container {
    padding: 0 20px;
  }
  #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 {
    padding: 10px 0;
  }
  /*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) {
  /*contact*/
  .contact_details {
    margin-bottom: 20px;
  }
  .contact_details .contact_details_item {
    width: 100%;
    float: none;
  }
  .layout-mode {
    float: none;
  }
  .view-events .lastItem {
    width: 40%;
    padding-left: 0;
  }
  .view-events .lastItem:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    margin-left: -1000px;
    height: 100%;
    background: #353535;
    width: 1000px;
    z-index: 1;
  }
  .view-events .firstItem {
    width: 100%;
    padding-bottom: 20px;
  }
  #showcase-row .btn-arrow {
    left: 10px;
    margin-right: auto;
  }
}
/*== Up to 480px ==================================================
====================================================================*/
/* Landscape phones and down */
@media (max-width: 479px) {
  .testimon .item_img {
    float: none;
    margin-right: 0;
    display: inline-block;
  }
  .view-events .lastItem {
    width: 60%;
  }
  .bg_top .mod-search #searchword {
    width: 200px;
  }
  .staff .cols-6 [class*="span"] {
    width: 100%;
    text-align: center;
  }
  .staff .item_img {
    float: none;
    margin-right: 0px;
  }
  .headlines h2 {
    font-size: 14px;
    line-height: 18px;
  }
  /*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 20px 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 20px !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 20px 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 */
@media (max-width: 340px) {
  .camera_wrap .camera_pag .camera_pag_ul li.cameracurrent strong {
    display: none !important;
  }
  .blocks .item {
    text-align: center;
  }
  .blocks .item_img {
    float: none;
    display: inline-block;
    margin-right: 0;
  }
  .testimon .mod_caroufredsel {
    padding-left: 0;
  }
  .testimon .item_img {
    margin-top: 100px;
    margin-right: 0;
    margin-left: 80px;
  }
  .view-events .lastItem {
    width: 80%;
  }
}
