$('.service').on('click', function(){
let btn = $(this).find('.service__button_img');
let cont = $(this).find('.service__hidden_block');
let borderTop = $(this).find('.service__text_block')
$('.service').on('click', function(){
let btn = $('.service__button_img')
let cont = $('.service__hidden_block')
let borderTop = $('.service__text_block')
console.log(this.id)
if($(this, btn).hasClass('service__button_img_rotate')){
$(this, btn).removeClass('service__button_img_rotate');
$(this, borderTop).removeClass('service__text_block_border')
}
else{
$(this, btn).addClass('service__button_img_rotate', this);
$(this, borderTop).addClass('service__text_block_border', this)
}
$(this, cont).slideToggle('1000')
});