/* Page-builder layout for the WPBakery markup on the original pages.
   Written for this remake (the plugin's own stylesheet is commercial),
   reproducing the grid, spacing and effects the pages relied on. */

.wpb-content-wrapper::after,
.vc_row::before,
.vc_row::after,
.vc_column-inner::before,
.vc_column-inner::after {
  content: " ";
  display: table;
}
.vc_row::after,
.vc_column-inner::after,
.wpb-content-wrapper::after {
  clear: both;
}

/* Grid */
.vc_row {
  margin-left: -15px;
  margin-right: -15px;
}
.vc_col-sm-2,
.vc_col-sm-4,
.vc_col-sm-6,
.vc_col-sm-10,
.vc_col-sm-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
.vc_column_container {
  padding-left: 0;
  padding-right: 0;
}
.vc_column_container > .vc_column-inner {
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}
.vc_column-inner {
  padding-top: 0;
}
@media (min-width: 768px) {
  .vc_col-sm-2,
  .vc_col-sm-4,
  .vc_col-sm-6,
  .vc_col-sm-10,
  .vc_col-sm-12 {
    float: left;
  }
  .vc_col-sm-2 { width: 16.66666667%; }
  .vc_col-sm-4 { width: 33.33333333%; }
  .vc_col-sm-6 { width: 50%; }
  .vc_col-sm-10 { width: 83.33333333%; }
  .vc_col-sm-12 { width: 100%; }
}

/* Content elements */
.wpb_content_element,
.wpb_raw_code,
.wpb_text_column {
  margin-bottom: 35px;
}
.wpb_text_column :last-child,
.wpb_text_column p:last-child {
  margin-bottom: 0;
}
.vc_empty_space {
  margin-bottom: 0;
}
.vc_empty_space .vc_empty_space_inner {
  display: block;
}

/* Single image */
.wpb_single_image .wpb_wrapper,
.wpb_single_image.vc_align_left {
  text-align: left;
}
.wpb_single_image.vc_align_center {
  text-align: center;
}
.wpb_single_image .vc_figure {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  max-width: 100%;
}
.wpb_single_image .vc_single_image-wrapper {
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
}
.wpb_single_image img {
  height: auto;
  max-width: 100%;
  vertical-align: top;
}
.wpb_single_image a {
  border: none;
  outline: none;
}
.wpb_single_image .vc_figure-caption {
  font-size: 0.8em;
  margin-top: 0.5em;
}

/* "3d shadow" image frame */
.vc_single_image-wrapper.vc_box_shadow_3d {
  position: relative;
  z-index: 0;
  display: inline-block;
  max-width: 100%;
  margin-bottom: 15px;
}
.vc_single_image-wrapper.vc_box_shadow_3d::before,
.vc_single_image-wrapper.vc_box_shadow_3d::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 15px;
  width: 50%;
  height: 20%;
  max-width: 300px;
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
}
.vc_single_image-wrapper.vc_box_shadow_3d::before {
  left: 10px;
  transform: rotate(-3deg);
}
.vc_single_image-wrapper.vc_box_shadow_3d::after {
  right: 10px;
  transform: rotate(3deg);
}

/* Reveal-on-scroll animations (lfp.js adds .wpb_start_animation) */
.wpb_animate_when_almost_visible {
  opacity: 0;
}
.wpb_animate_when_almost_visible:not(.wpb_start_animation) {
  animation: none;
}
.wpb_start_animation {
  opacity: 1;
  animation-duration: 1s;
  animation-fill-mode: both;
}
.wpb_start_animation.fadeIn {
  animation-name: lfpFadeIn;
}
.wpb_start_animation.fadeInUp {
  animation-name: lfpFadeInUp;
}
.wpb_start_animation.rotateInDownLeft {
  animation-name: lfpRotateInDownLeft;
}
@keyframes lfpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lfpFadeInUp {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes lfpRotateInDownLeft {
  from { opacity: 0; transform-origin: left bottom; transform: rotate3d(0, 0, 1, -45deg); }
  to { opacity: 1; transform-origin: left bottom; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wpb_animate_when_almost_visible { opacity: 1; animation: none !important; }
}
