/* Home-page slider on phones. The legacy slide markup is fixed at 1141px wide (inline !important rules),
   so on a phone only a cropped piece of the text was visible. */
@media (max-width: 767px) {
  html body .my_asyncslider #first .banner, html body .my_asyncslider #second .banner,
  html body .my_asyncslider #third .banner, html body .my_asyncslider #fourth .banner { width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
  .my_asyncslider li .banner .slider { display: none !important; }              /* the laptop picture does not fit next to the text */
  html body .my_asyncslider li .banner_txt { float: none !important; width: auto !important; margin: 0 15px !important; padding: 28px 0 56px !important; text-align: center; }
  .my_asyncslider .banner_txt h2, .my_asyncslider .banner_txt h2 span { height: auto !important; font-size: 20px !important; line-height: 28px !important; }
  .my_asyncslider .banner_txt p { height: auto !important; font-size: 14px !important; line-height: 22px !important; }
  .my_asyncslider .banner_txt .red_box { margin: 12px auto 0 !important; }
  #asyncslider_links { left: 0 !important; width: 100% !important; margin: 0 !important; text-align: center; }
  body { overflow-x: hidden; }      /* (not on html as well: that would make body its own scroll container and absolutely positioned items would stay behind while scrolling) */
}
/* the dots of the slider are positioned by the plugin in document coordinates: on phones anchor them to the slider itself */
@media (max-width: 767px) {
  .slider_wrap { position: relative; }
  .slider_wrap #asyncslider_links { top: auto !important; bottom: 10px !important; left: 0 !important; width: 100% !important; margin: 0 !important; text-align: center; }
}
