.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;
  }
  #showcase-row .camera_prev {
    margin-left: 0px;
    left: auto;
    right: 67px;
  }
  #showcase-row .camera_next {
    margin-left: 0px;
    left: auto;
    right: 10px;
  }
}

@media (max-width: 1170px){
  .navigation ul.sf-menu > li{
    margin: 0 0 40px 15px;
  }
}

@media (max-width: 1170px) and (min-width: 767px){
  .navigation ul.sf-menu > li > a, .navigation ul.sf-menu > li > span{
    font-size: 11px;
  }

}

@media (max-width: 860px){
  #header-row .row-container #logo{
    width: 100%;
    text-align: center;
  }
  .moduletable.navigation{
    width: 100%;
    margin: 10px 0px;
  }
  #header-row .row-container #logo img{
    
  }
  .navigation ul.sf-menu{
    display: none;
  }
  .select-menu{
    display: block;
    width: 100%;
  }
  .menu-shadow{
    display:none;
  }
  #header-row {
    margin: 0px ; height:50px;
  } 
  #header-row .language-switcher{
    position: static;
    margin: auto;
	height: 50px;
	line-height: 50px;
    clear: both;
    text-align: center;
  }
  
  #panel-left, #panel-content{float: none;
   display: block;
   width: auto;
   margin-left: 0;}
  #logo{background:none;float: left;width: auto;}
  #top-row{background:none;margin:0; box-shadow:none;width:auto;float:right;}
  #panel-left{background: url('../images/opacity9.png');}
}



/*== Up to 980px ======================================================
========================================================================*/
/* Narrow desktop */
@media (max-width: 980px) {
  .thumbnails {
    margin-left: -12px;
  }
  .thumbnails > li {
    margin-left: 12px;
  }
  /*footer*/
  #back-top {
    display: none !important;
  }
  #showcase-row .camera_target_content {
    display: none;
  }
  .img-intro__left,
  .img-full__left {
    float: none;
  }
  .img-intro__right,
  .img-full__right {
    float: none;
  }
  .services .img-intro__left,
  .services .img-full__left {
    float: left;
  }
}
/*== Up to 980px and beyond 768px ======================================
========================================================================*/
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
   #panel-left, #panel-content{float: none;
   display: block;
   width: auto;
   margin-left: 0;}
  #logo{background:none;float: left;width: auto;}
  #top-row{background:none;margin:0; box-shadow:none;width:auto;float:right;}
  #panel-left{background: url('../images/opacity9.png');}
  #header-row .language-switcher{
    position: static;
    margin: auto;
	height: 50px;
	line-height: 50px;
    clear: both;
    text-align: center;
  }
  
}
/*== Up to 767px ======================================================
========================================================================*/
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  #wrapper {
    margin: 0;
  }
  #footer-wrapper {
    height: auto;
  }
  #top-row{background: none; width: 100%; box-shadow: none; margin: 0; float: none; padding: 0;padding: 5px 0px;}
  #top-row .contact_details{margin:0 !important;}
  #logo{float:left;text-align: left;width: 70%;}
  #logo img{max-width: 60%;}
  #push {
    display: none;
  }
  #header-row {
    margin: 0px; height:50px;
  }
  /*navigation*/
  .select-menu {
    display: block;
    width: 100%;
  }
  .sf-menu {
    display: none;
  }
  .navigation {
    float: none;
    margin: 30px 0 0;
  }
  /*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 18px 18px 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;
  }
  #showcase-row .camera_prev {
    display: none;
  }
  #showcase-row .camera_next {
    display: none;
  }
  .mod-newsflash-adv__offers .item {
    margin: 0 0 50px 0;
  }
  #content-row {
    padding: 40px 0 26px;
  }
  #bottom-row {
  margin: 20px 0px;
  }
  #bottom-row #bottom-row-in {
  }
  #bottom-row #bottom-row-in .moduletable {
    margin: 0px;
  }
  #mainbottom-row {
    background: none;
  }
  .body__services #content-row {
    padding: 30px 0;
  }
  #aside-right .moduletable {
    margin: 60px 0px;
  }
  .body__home #mainbottom-row {
    padding: 20px 0 0;
  }
  #header-row .row-container #logo {
    text-align: center;
  }
  #copyright-row .row-container .moduletable {
    text-align: center;
  }
  #copyright-row .social {
    text-align: center;
    margin-left: 0;
  }
}
/*== Up to 640px ==================================================
====================================================================*/
@media (max-width: 640px) {
  /*contact*/
  .contact_details {
    margin-bottom: 18px;
  }
  .contact_details .contact_details_item {
    width: 100%;
    float: none;
  }
  #content-row {
    padding: 0;
  }
  #content-row .row-fluid [class*="span"] {
    min-height: auto;
  }
  .body__home #content-row .page-featured__home {
  }
  #mainbottom-row {
    padding: 49px 0;
  }
}
/*== Up to 480px ==================================================
====================================================================*/
/* Landscape phones and down */
@media (max-width: 480px) {
  /*contact*/
  .contact_form {
    width: 100%;
  }
  
  #logo img{max-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 0 18px 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 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_username,
  .mod-login__aside .mod-login_passwd {
    width: 100%;
  }
}
/*== Up to 340px =====================================================
========================================================================*/
/* Portrait phones */
@media (max-width: 340px) {
  #copyright-row .row-container .mod-footer {
    margin: 10px 0;
  }
  #logo{float:none;text-align: center;width: 100%;}
  #logo img{max-width: 100%;}
}
