.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 (max-width: 1500px) {
  .navigation ul.sf-menu li
  {
    font-size: 1rem;
  }
}

@media (max-width: 1300px) {
  .navigation ul.sf-menu li
  {
    font-size: 0.9rem;
  }

  #PropertyListRegion .property-list-header > div,
  #copyright-row > div,
  .cta1 .flex,
  .contact-demand-container > div,
  .regio,
  #bottom,
  .catslider,
  .ctabottom > div,
  .site-contact,
  .itemid-315 .page-item, .view-article .page-item
  {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .catslider
  {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/*== Up to 1200px =====================================================
========================================================================*/
/* Large desktop */
@media (max-width: 1200px) {
  .navigation ul.sf-menu li
  {
    font-size: 0.8rem;
  }

  .property-list-filter .flex > div
  {
    width: 47.5%;
  }

  .property-detail-content
  {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.menubutton
{
  display: none;
}
@media (max-width: 1024px) {
  body.menuopen
  {
    overflow: hidden;
  }
  .menubutton
  {
    display: block;
    position: absolute;
    right: 2rem;
    top: 50%;
    height: 2rem;
    line-height: 2rem;
    font-size: 2rem;
    margin-top: -1rem;
  }

  #header-row header
  {
    flex-wrap: wrap;
  }

  #header-row header > div:nth-child(2),
  #header-row #logo
  {
    width: 100%;
  }

  #header-row #logo
  {
    max-width: 80%;
  }
 .navigation 
 {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 10;
  display: none;
 } 
 .navigation ul.sf-menu
 {
  flex-wrap: wrap;
 }
 .navigation ul.sf-menu li
 {
  font-size: 1rem;
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
 }
 body.menuopen .navigation
 {
  display: block;
  padding-top: 2rem;
 }

 body.menuopen .navigation:after
 {
  position: absolute;
  top: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  left: 0;
  right: 0;
  content:'';
  display: block;
 }
}

/*== Up to 980px ======================================================
========================================================================*/
/* Narrow desktop */
@media (max-width: 980px) {
 
}
/*== 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;
    overflow-x: hidden;
  }

  h1,
  #PropertyListRegion .property-list-header span,
  #PropertyListRegion .property-list-header a
  {
    font-size: 1.5rem;
  }

  h2
  {
    font-size: 1.5rem;
  }

  #bottom .bottomflex > div
  {
    width: 100%;
  }

  #wrapper {
    margin: 0;
  }
  #footer-wrapper {
    height: auto;
  }
  #push {
    display: none;
  }

  /*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 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;
  }

  #mainbottom-row {
    background: none;
  }
  .body__services #content-row {
    padding: 30px 0 0 0;
  }
  #aside-right .moduletable {
    margin: 60px 0px;
  }
  .body__home #mainbottom-row {
    padding: 20px 0 0;
  }

  #copyright-row .row-container .moduletable {
    text-align: center;
  }
  #copyright-row .social {
    text-align: center;
    margin-left: 0;
  }
  .top-bar .top-bar-right
  {
    display: none;
  }

  .category_slider_description p
  {
    font-size: 1.5rem;
  }

  .category_slider_item
  {
    padding: 3rem;
  }

  .catslider
  {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .werkwijze
  {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .werkwijze > .flex
  {
    display: block;
  }

  .werkwijze img
  {
    max-width: 30px;
    margin-bottom: 2rem;
  }

  .werkwijze .col-lg-5,
  .werkwijze .col-lg-2
  {
    max-width: 100%;
  }

  .hide-mobile
  {
    display: none;
  }

  .werkwijze h2
  {
    font-size: 1.5rem;
  }

  .moasir-content
  {
    padding-left: 2rem;
  }

  .cta1
  {
    padding: 2rem;
  }

  .cta1 .flex > div
  {
    width: 100%;
    margin-bottom: 2rem;
  }

  .formPhoneme input
  {
    margin-bottom: 1rem;
  }

  .flex > .col-lg-8,.flex > .col-lg-4
  {
    max-width: 100%;
    flex-basis: 100%;
    margin-bottom: 1rem;
  }
}
/*== 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 {
    display: none;
  }
  #mainbottom-row {
    padding: 49px 0;
  }

  
}
/*== Up to 480px ==================================================
====================================================================*/
/* Landscape phones and down */
@media (max-width: 480px) {
  /*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 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%;
  }

  .top-bar .top-bar-left .top-bar-item
  {
    font-size: 0.8rem;
  }
}
/*== Up to 340px =====================================================
========================================================================*/
/* Portrait phones */
@media (max-width: 340px) {
  #copyright-row .row-container .mod-footer {
    margin: 10px 0;
  }

  .property-list-filter .flex > div
  {
    width: 100%;
  }

}
