@media (max-width: 1200px) {
  #footer-logo {
    margin-top: -335px
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  #bannercontent .person:after {
    top: 287px
  }
  #banner img {
    right: 0px;
    height: 400px;
  }
  /*
  #stormschade .container {
    margin-top: -470px;
  }
  */
  #banner-container, div#banner {
    /*margin-top: -130px;*/
  }
}

@media (min-width: 1200px) {
  #bannercontent .person:after {
    top: 287px
  }
}

@media (min-width: 992px) {
  #bannercontent .person {
    margin-top: -222px
  }
  #stormschade h2 {
    font-size: 46px;
    margin-bottom: 30px
  }
}

@media (max-width: 991px) {
  #diensten .row, #footer-content .row {							/**/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  footer .grey {
    height: auto
  }
  #jsddm li a {
    margin: 15px 5px;
    letter-spacing: 0;
  }
  #jsddm li.dropdown::after {
    top: 20%;
    right: -11px
  }
  .snoeiwerk {
    bottom: -185px;

  }

}

@media (max-width: 767px) {
  #facebook-content-view-post a {
    width: 260px;
  }
  #facebook {
    margin: 40px 0 80px;
  }
  #content #banner .layer h1 {
    font-size: 26px;
  }
  .gladheidsbestrijding #content #banner .layer h1 {
    font-size: 24px;
  }


  #content .intro h2 {
    font-size: 35px;
  }
  #content .title h2 {
    font-size: 35px;
  }
  #facebook-content-view-post {
    width: 180px;
    height: 95px
  }
  #facebook-content-view-post:after {
    border-top: calc(95px / 2) solid transparent;
    border-bottom: calc(95px / 2) solid transparent
  }
  #jsddm li.dropdown ul li {
    padding-left: 10px
  }
  nav {
    margin: 20px 10px 0
  }
  nav .logo {
    max-height: 160px;
    z-index: 10;
    padding-top: 10px;
    position: relative
  }
  nav .layer {
    margin-left: 5px
  }
  #pull {
    display: block;
    width: 100%!important;
    text-align: right
  }
  #jsddm li.dropdown::after {
    content: none;
    height: 16px;
    width: 32px;
    margin-top: -10px
  }
  #jsddm {
    display: none;
    list-style: none;
    visibility: visible
  }
  #bottom-footer .pull-left, #bottom-footer .pull-right {
    float: none!important;
    margin-top: 20px
  }
  #bottom-footer .pull-right {
    margin-top: 5px;
    margin-bottom: 10px
  }
  #bottom-footer {
    display: block;
    height: auto
  }
  #bannercontent h1 {
    font-size: 40px;
    letter-spacing: 5px;
    line-height: 48px;
    margin-top: 120px
  }
  #jsddm li {
    justify-content: left;
    text-align: left;
    max-height: none;
    display: block;
    width: 60%;
    margin-top: 0;
  }
  #jsddm li.dropdown ul {
    display: block;
    position: relative;
    opacity: 1!important;
    visibility: visible!important
  }

  #diensten .intro h2 {
    font-size: 36px;
  }

  .snoeiwerk {
    bottom: -55px;
  }
}

@media (max-width: 767px) {
  #content h1 {
    margin-top: 110px
  }
  #stormschade .container>.col-xs-12 {
    margin-top: 20px
  }
  #top img {
    right: 30px;'
  }
  nav {
    display: block
  }
  div#banner {
    height: 400px;
    margin-top: 20px
  }
  .logo {
    margin: auto
  }
  #triangles-bottom {
    border-bottom: 110px solid #fff;
    border-top: 90px solid #e8f0e5
  }
  #footer-logo {
    margin-top: -200px;
  }
  .logoarborcare img {
    height: 140px;
  }
  .manimg {
    position: relative;
    bottom: -38px;
  }
  .manimg img {
    height: 200px;
    float: right;
  }
  .imgtriangle {
    position: inherit;
    left: -31px;
  }

}

@media (max-width: 991px) and (min-width: 768px) {
  #jsddm li {
    margin: 0px 3px;
    margin-top: 78px;
  }
  .col-xs-12.col-sm-6.col-md-3{
    /*width: 49%;*/
  }
  .layer::after {
    border-left: 96px solid #FFF;
    border-right: 96px solid transparent;
  }
  div#banner {
    /*margin-top: -96px*/
  }
  nav .logo {
    max-height: 150px;
    z-index: 10;
    padding-top: 10px
  }
  #telbox:after {
    /*left: calc(50% - 250px)*/
  }
  #content .title h2 {
    font-size: 50px;
  }
  #telbox {
    /*margin-top: -99px*/
  }
  #content .intro h2 {
    font-size: 45px;
  }
  #bannercontent h1 {
    margin-top: 200px;
    font-size: 70px;
    line-height: 90px;
  }
  #stormschade h2 {
    font-size: 50px
  }
  #footer-logo {
    margin-top: -280px
  }
  nav .layer img.logo {
    max-height: 170px;
    max-width: 140px;
  }
  #jsddm li a {
    margin: 15px 10px;
    letter-spacing: 0;
  }
  li.dropdown::after {
    right: -20px;
  }
  .logoarborcare img {
    /*height: 300px;*/

  }

}

@media only screen and (max-width: 450px) {
  #stormschade .text-center h2 {
    letter-spacing: 3px;
  }
  .text-center h2, .text-center p {
    text-align: left;
  }

  #bannercontent h1 {
    padding-bottom: 0px;
    margin-top: 110px;
    margin-bottom: 0px;
  }

}



@media only screen and (max-width: 370px) {
  #stormschade p {
    padding-bottom: 5px;

  }
  #facebook-content-view-post a {
    width: 235px;
  }

  h1 {
    font-size: 34px !important;
  }
  h2 {
    font-size: 28px !important;
    letter-spacing: 4px;
  }

}

/*FOOTER PROBLEMS*/

@media (max-width: 767px) and (min-width: 720px) {
  #footer-logo {
    margin-top: -400px;
  }
}

@media (max-width: 720px) {
  #footer-logo {
    margin-top: -350px;
  }
}

@media (min-width: 590px) and (max-width: 720px) {
  #footer-logo {
    margin-top: -350px;
  }
}

@media (min-width: 505px) and (max-width: 590px) {
  #footer-logo {
    margin-top: -300px;
  }
}

@media (max-width: 505px) and (min-width: 430px) {
  #footer-logo {
    margin-top: -255px;
  }
}

@media (max-width: 430px) and (min-width: 340px) {
  #footer-logo {
    margin-top: -215px;
  }
}

@media (max-width: 340px) {
  #footer-logo {
    margin-top: -185px;
  }
}

/*==== Telbox =====*/

@media (min-width: 992px) and (max-width: 1200px) {
  #banner-container, div#banner {
    /*margin-top: -127px;*/
  }
  #telbox {
    /*margin-top: -133px;*/
  }
}

@media (min-width: 1999px) {
  #telbox {
    /*margin-top: -138px !important;*/
  }
}
