.accordion-content img {
  max-width: 700px;
  width: 100%;
  height: auto;
  display: block;
}

#tabsAccordion{
	margin:20px 0;
}
 
.tab_content img {
  max-width: 500px ;
  height: auto ;
}


@media screen and (max-width: 850px) {
  .tab {
 
    display: block;
 
    box-sizing: border-box;
  }

  .tab > div.p {

	  font-size: 16px;
	  font-weight: 600;
	  color:#AAAAAA;  
    background-color: #FFFFFF;  	  
 
    width: 100%;  
    padding: 10px 20px 10px 20px ;
    text-align: left;
    font-weight: 600;
    border:0px;
    cursor: pointer;


    border-radius: 8px;  
    margin-bottom: 15px;    
    box-sizing: border-box;
	border:2px solid #A4A4A4;
  }

  .tab > div.active {
    background-color: #F3F3F3 ;
	font-weight: 900;
	color:#000000;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    margin-bottom: 8px;
    border:2px solid #000000;
  }

  .tab > div.p {
    position: relative;
    padding-right: 40px;
  }

  .tab > div.p.active::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 25px;
    transform: translateY(-50%);
    width: 20px;  
    height: 20px;
    background-image: url('/ico/arrow/arrow-up.svg');
    background-repeat: no-repeat;
    background-size: contain;
  }

  .tab > div.p:not(.active)::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 25px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('/ico/arrow/arrow-down.svg');
    background-repeat: no-repeat;
    background-size: contain;
  }
  
 
 .tab > div > span {
    background-color: inherit !important;  /* наследует фон родителя */
    padding: 0 !important;   
    margin: 0 !important;  
    display: block;
    color: inherit !important;  
  }
  
  .accordion-content {
    background-color: white ;
    padding: 0px 0 20px 0 ;
    margin: 0;
    font-weight: normal;
    color: initial ;
    width:100% ;
    
    text-align: left;;  
      transition: max-height 0.3s ease;
  overflow: hidden;
 
}



  .accordion-content {
    background-color: white ;
    padding: 0px 0 20px 0 ;
    margin: 0 !importanthidden;
    transition: max-height 0.3s ease;
  }
  
  .accordion-content img {  
    max-width: 100% ;
    width: auto ;  
    height: auto ;
  }
 
}

@media screen and (min-width: 850px) {
.datblock.sedf3 {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

#tabsAccordion {
  width: 100%;
}

.tab {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin: 0;
  padding:0;
  background: transparent;
  overflow-x: auto;
  white-space: nowrap;
}

.tab > div {
  width:33%;
  position: relative;
  flex: 0 0 auto;
  min-width: 140px;
  padding: 20px 22px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #8c8c8c;
  cursor: pointer;
  background: #ededed;
  border: 1px solid #c9c9c9;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  margin-right: -1px;
  transform: none;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
  z-index: 1;
  box-sizing: border-box;
  white-space: nowrap;
}

.tab > div::before,
.tab > div::after {
  content: none;
}

.tab > div.active {
  color: #111;
 
  background: #fff;
  border-color: #9b9b9b;
  z-index: 3;
 
}

.tab > div:hover {
  color: #000;
  background: #f7f7f7;
}

.tab > div > span {
  display: block;
  margin: 0;
}

.tab_content {
  background: #fff;
  padding: 20px 3px;
  min-height: 300px;
  border: 1px solid #c9c9c9;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  box-sizing: border-box;
  width: 100%;
}

.tab_content > div {
  display: none;
}

.tab_content > div.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.accordion-content {
  background: #fff;
  padding: 15px 0;
  box-sizing: border-box;
}

.tab_content img,
.accordion-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
} 


 