/* Grid + element styles that replace WPBakery's js_composer.min.css. Original code, written for the rebuild.
   Class names match what the converted pages use (vc_row, vc_col-sm-*, vc_column-inner, wpb_single_image ...). */
.vc_row{margin-left:-15px;margin-right:-15px}
.vc_row:before,.vc_row:after{content:" ";display:table}
.vc_row:after{clear:both}
.wpb_content_element{margin-bottom:35px}
.vc_row-has-fill>.vc_column_container>.vc_column-inner{padding-top:35px}
.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner{padding-top:35px}
.vc_column_container{width:100%;padding-left:0;padding-right:0;box-sizing:border-box;position:relative;min-height:1px}
.vc_column_container>.vc_column-inner{box-sizing:border-box;padding-left:15px;padding-right:15px;width:100%}
.vc_column-inner:before,.vc_column-inner:after{content:" ";display:table}
.vc_column-inner:after{clear:both}
@media (min-width:768px){
  .vc_col-sm-1,.vc_col-sm-2,.vc_col-sm-3,.vc_col-sm-4,.vc_col-sm-5,.vc_col-sm-6,.vc_col-sm-7,.vc_col-sm-8,.vc_col-sm-9,.vc_col-sm-10,.vc_col-sm-11,.vc_col-sm-12{float:left}
  .vc_col-sm-1{width:8.33333333%}.vc_col-sm-2{width:16.66666667%}.vc_col-sm-3{width:25%}.vc_col-sm-4{width:33.33333333%}
  .vc_col-sm-5{width:41.66666667%}.vc_col-sm-6{width:50%}.vc_col-sm-7{width:58.33333333%}.vc_col-sm-8{width:66.66666667%}
  .vc_col-sm-9{width:75%}.vc_col-sm-10{width:83.33333333%}.vc_col-sm-11{width:91.66666667%}.vc_col-sm-12{width:100%}
}
/* gaps: the column container gets half the gap, the row pulls out by 15px + half the gap (measured on the live site) */
.vc_column-gap-20{margin-left:-25px;margin-right:-25px}
.vc_column-gap-20>.vc_column_container{padding:10px}
.vc_column-gap-4{margin-left:-17px;margin-right:-17px}
.vc_column-gap-4>.vc_column_container{padding:2px}
/* full-width rows (replaces WPBakery's JS stretching) */
.rc-stretch{position:relative;width:100vw;box-sizing:border-box;overflow:hidden} /* The CSS below puts the row at the window edge before any script runs (no layout jump); main.js only fine-tunes it.
   Offsets = distance from the window edge to the page content for each Bootstrap container width. */
.rc-stretch{margin-left:-30px;margin-right:0}
@media (min-width:768px){.rc-stretch{margin-left:calc(345px - 50vw)}}
@media (min-width:992px){.rc-stretch{margin-left:calc(455px - 50vw)}}
@media (min-width:1200px){.rc-stretch{margin-left:calc(555px - 50vw)}}
.rc-stretch-nospaces>.vc_column_container>.vc_column-inner{padding-left:0;padding-right:0}
.vc_row.vc_row-no-padding{padding-left:0;padding-right:0}
body{overflow-x:hidden}
/* single image */
.vc_figure{display:inline-block;vertical-align:top;margin:0;max-width:100%}
.vc_single_image-wrapper{display:inline-block;vertical-align:top;max-width:100%}
.vc_single_image-img{max-width:100%;vertical-align:top;height:auto}
.vc_align_center{text-align:center}.vc_align_right{text-align:right}.vc_align_left{text-align:left}
.wpb_raw_code{position:relative}
/* replacement for the Smart Slider banner (one fixed image, ratio of the old slider) */
.rc-banner{position:relative;width:100%;height:min(37.5vw,450px);overflow:hidden}
.rc-banner img{display:block;width:100%;height:100%;object-fit:cover}
/* replacement for vc_media_grid */
.rc-media-grid{display:grid;grid-template-columns:repeat(var(--rc-cols,4),1fr);gap:var(--rc-gap,20px);margin-bottom:35px}
.rc-media-grid[data-cols="1"]{--rc-cols:1}.rc-media-grid[data-cols="2"]{--rc-cols:2}.rc-media-grid[data-cols="3"]{--rc-cols:3}
.rc-media-grid[data-cols="4"]{--rc-cols:4}.rc-media-grid[data-cols="6"]{--rc-cols:6}
.rc-media-grid img{display:block;width:100%;height:auto}
@media (max-width:767px){.rc-media-grid{grid-template-columns:1fr}}
