/*
 * Responsive fixes applied on top of the theme stylesheet.
 *
 * WPBakery gives every row -15px side margins so the 15px padding on its
 * columns lines up inside a 15px-padded container. Full-width rows instead sit
 * in .full_width_inner, which has no padding of its own, so the row hangs 15px
 * past the 2% paspartu border and the left edge of the content is clipped.
 * Below 1024px that border is only 2% of the viewport, so the clipping is
 * proportionally worse on phones.
 */
.paspartu_outer .vc_row,
.paspartu_outer .vc_row.vc_row-fluid,
.paspartu_outer .wpb_row {
  margin-left: 0;
  margin-right: 0;
}

/*
 * WPBakery fades sections in with .wpb_animate_when_almost_visible. That class
 * starts at opacity 0, and the theme only fades it back in from its own JS, so
 * anything that fails to run leaves a blank section behind.
 */
.wpb_animate_when_almost_visible {
  opacity: 1;
}

/*
 * The theme sizes some containers in fixed pixels below 600px (400px wide on a
 * 390px phone), which pushes them past the paspartu border.
 */
@media only screen and (max-width: 600px) {
  .paspartu_enabled .container_inner,
  .paspartu_enabled .full_width .parallax_content,
  .paspartu_enabled div.grid_section .section_inner,
  .paspartu_enabled .footer_top_border.in_grid,
  .paspartu_enabled .footer_bottom_border.in_grid {
    width: 100% !important;
    max-width: 100%;
  }
}
