.popup {
    display: block;
    background: linear-gradient(
    180deg,
    #f2f2f2 0%,
    #ebebeb 100%
    );
    width: 210px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    color: #3c3a3a;
    text-decoration: none;
    margin-top: 28px;
    margin-left: 100px;
    border: 1px solid #cfcfcf;        
    border-radius: 999px;  
    text-transform: uppercase;
    box-shadow:
0 2px 4px rgba(0, 0, 0, 0.12),
inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.b:hover {
    background: linear-gradient(
    180deg,
    #ebebeb 0%,
    #f2f2f2 100%
    );
}
.fancybox-close{
    text-align: right;
    position: absolute;
    z-index: 9;
    right: 16px;
    top: 15px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-bottom-color: transparent;
}
.fancybox-close:before {
    transform-origin: 50% 50%;
    -webkit-transform: rotate(95deg);
    transform: rotate(95deg);
}
.fancybox-close:before, .fancybox-close:after{
    content: "";
    position: absolute;
    height: 2px;
    width: 14px;
    top: 50%;
    left: calc(50% - 7px);
    margin-top: -1px;
    background-color: rgba(0, 0, 0, .5);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.fancybox-close:after {
    transform-origin: 50% 50%;
}
.fancybox-close:hover {
    background: #e5e5e5;
}
.fancybox-close:hover:before {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);}
    .fancybox-close:hover:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    }
    .pop_up img{
        width: 270px;
		max-width: fit-content;
    }
    .fancybox-outer{
    border: 1px solid #ebebeb!important;
}
.fancybox-skin{
    padding: 30px!important;
    box-shadow: none!important;
    background-color: #fff!important;
}
.fancybox-close {
    top: 14px!important;
    right: 15px!important;
    width: 28px!important;
    height: 28px!important;
}
.fancybox-overlay,
.fancybox-bg {
  background: rgba(0, 0, 0, 0.5) !important;
}
.popup-overlay{
text-align: left;
}
.common_block{
  display: flex;  
  margin: 15px;
  width: 700px;
}
.h2_p{
    margin-top: 15px;
    height: 392px;
overflow: auto;
margin-left: 20px;
position: relative;
}
.h2_p h2{
    font-weight: bold;
    font-size: 20px;ы
    height: 300px;
}
.header_block_for_popup{
overflow::after;
    position: sticky;
  top: 0;
  background: #fff;     /* обязательно, иначе текст будет "просвечивать" */
  z-index: 2;
  padding: 10px 0;
}
.h2_p p{
 color: #8d8d8d;
 margin-bottom: -10px;
}
.h2_p p{
 color: #8d8d8d;
 margin-bottom: -9px;
    margin-top: 10px;
}
@media screen and (max-width: 850px) {
    .common_block{
        width: 85%;
        display: block;
        /* align-items: center; */
    }
    .pop_up{
        text-align: center;
    }
    .header_block_for_popup{
    top: 0;
    background: #fff;     /* обязательно, иначе текст будет "просвечивать" */
    z-index: 2;
    padding: 10px 0;
}
       .header_block_for_popup {
        top: 0;
        background: #fff;
        z-index: 2;
        padding: 10px 0;
        position: static;
    } 
}