$(document).ready(function() {
	
	$(".toggle-nav").click(function(){
		
		$("nav").toggleClass("open");
		
	});
	
	$('.match-row').matchHeight({
		byRow: true
	});
	
$('.donut-carousel').slick({
  dots: false,
  arrows: true,
  infinite: true,
  speed: 300,
  slidesToShow: 1,
  slidesToScroll: 1,
  responsive: [
    {
      breakpoint: 960,
      settings: {
        slidesToShow: 1,
        slidesToScroll: 1
      }
    },
    {
      breakpoint: 768,
      settings: {
        slidesToShow: 1,
        slidesToScroll: 1
      }
    }
    // You can unslick at a given breakpoint now by adding:
    // settings: "unslick"
    // instead of a settings object
  ]
});	
	

	$(".expander-btn").click(function(){

			if ($(this).hasClass("active")){

				$(this).text("Read More").removeClass("active");
				$(this).parent().removeClass("open");

			} else {

				$(this).text("Read Less").addClass("active");
				$(this).parent().addClass("open");
			}

			return false
		});
	
	
});

