<script>
(function ($) {
	
	$('.description-wrapper').hide();
	$('.description-wrapper.about-us1').slideDown().addClass('active');	
	 
	var greyNav = $('.c-stain-nav').width() / 2;
	$('.c-stain-nav__stain--red').css({width: greyNav + 'px'});
	
	$('.c-stain-nav__item.first-item').click(function() {
      $('.c-stain-nav__item').removeClass('active');
      $(this).addClass('active');
			if ($('.first-item').hasClass('active')) {
					$('.c-stain-nav__stain--red').css({left:'0px'});
			}
			$('.description-wrapper.about-us1').slideToggle().addClass('active');
		  $('.description-wrapper.about-us2').slideUp().removeClass('active');
});
	
$('.c-stain-nav__item.second-item').click(function() {
      $('.c-stain-nav__item').removeClass('active');
      $(this).addClass('active');
			if ($('.second-item').hasClass('active')) {
				$('.c-stain-nav__stain--red').css({left: greyNav + 'px'});
			}
	    $('.description-wrapper.about-us2').slideToggle().addClass('active');
		  $('.description-wrapper.about-us1').slideUp().removeClass('active');
});

}(jQuery));
</script>
