<?php
$output = $container_class =$section_custom_id = $el_class = $bg_image = $bg_color = $bg_image_repeat = $font_color = $padding = $margin_bottom = $css = '';
extract(shortcode_atts(array(
    'el_class'        => '',
    'bg_image'        => '',
    'bg_color'        => '',
    'bg_image_repeat' => '',
    'font_color'      => '',
    'padding'         => '',
    'margin_bottom'   => '',
    'min_height' => '',
    'container_class' => '',
    'section_custom_id' => '',
    'css' => '',
    'color_overlay' => ''
), $atts));

$sec_id = '';
if ($section_custom_id !='') {
    $sec_id = 'id="'.esc_attr($section_custom_id).'"';
}
// wp_enqueue_style( 'js_composer_front' );
wp_enqueue_script( 'wpb_composer_front_js' );
// wp_enqueue_style('js_composer_custom_css');

$el_class = $this->getExtraClass($el_class);
$css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, 'vc_row wpb_row '. ( $this->settings('base')==='vc_row_inner' ? 'vc_inner ' : '' ) . get_row_css_class() . $el_class , $this->settings['base'], $atts );
$output .= '<div '.$sec_id.' class="bg_parallax '.vc_shortcode_custom_css_class( $css, ' ' ).'">';
    if($color_overlay !=''){        
        $output .= '<div class="ts-overlay" style="background:'.$color_overlay.'"></div>';
    }
        $output .= '<div class="'.$container_class.'">';
        $output .= '<div class="'.$css_class.'"' . ( $min_height != '' ? ' style="min-height:' . $min_height . 'px;"' : '' ) . '>';
            if ( $this->settings('base')==='vc_row_inner' ) 
                $output .= '<div class="inner-row clearfix">';
            $output .= wpb_js_remove_wpautop($content);
            $output .= '</div>'.$this->endBlockComment('row');
            if ( $this->settings('base')==='vc_row_inner' ) 
            $output .= '</div>';
    $output .= '</div>';
$output .= '</div>';

echo $output;