.rwf {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
}
.rwf .accordion .info {
  margin: -23px 0 0 0;
  position: absolute;
  background: rgb(255, 255, 255);
  box-shadow: rgb(209, 216, 221) 0px 12px 33px;
  border-radius: 10px;
  z-index: 1;
  max-height: 372px;
  overflow: auto;
  width: 100%;
      box-shadow: inset 0px 19px 50px rgb(0 0 0 / 8%), 0 20px 33px rgb(209 216 221);
}
.rwf .scroll-wrapper {
  top: 71px;
  height: 372px;
}
.rwf .scroll-element_outer {
  margin: 17px 0px -25px -34px !important;
  height: calc(100% - 32px) !important;
}
.rwf ul {
  list-style: none;
}
.rwf ul li a {
  text-decoration: none;
  padding: 8px 0;
  display: inline-block;
  color: #0261a0;
  font-weight: 500;
}
.rwf ul li a:hover {
  opacity: 0.6;
}

.btn-contact-form1 {
  padding: 18px 15%;
  display: block;
  text-align: center;
  min-width: 215px;
}

.cl-8 {
  flex: 1 70%;
}

.cl-4 {
  flex: 1 30%;
}

.his-all {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.his-item {
  display: flex;
  flex-direction: column;
  height: 352px;
  background: #ffffff;
  box-shadow: 0px 12px 33px #d1d8dd;
  border-radius: 20px;
  padding: 23px;
}
.his-item__lico_name {
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: #55636a;
}
.his-item__lico_date {
  font-weight: 400;
  font-size: 14px;
  line-height: 35px;
  color: #55636a;
  margin-bottom: 19px;
  opacity: 0.8;
}
.his-item__text {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  flex: 1;
}
.his-item__kn {
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #0261a0;
  display: block;
  text-align: right;
  text-decoration: none;
      padding: 10px;
}
.his-item__kn:hover {
  opacity: 0.6;
}
.his-item__kn:after {
  content: url(../img/ico/vlevo.svg);
  margin: 0 0 0 7px;
  display: inline;
  vertical-align: text-top;
}
.his-item .p-class {
  max-height: 121px;
  overflow: hidden;
  margin-bottom: 10px;
  line-height: 1.5;
}

.his-otdel {
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #55636a;
}

.psr {
  position: relative;
}

.vleft-right {
  display: none;
}

/*** full ***/
.his-item.full {
  position: fixed;
  width: calc(100% - 32px);
  height: initial;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  max-width: 1150px;
  z-index: 100;
}
.his-item.full .his-item__lico_name {
  font-weight: 500;
  font-size: 27px;
  line-height: 54px;
  color: #0261a0;
}
.his-item.full .his-item__kn {
  display: none;
}
.his-item.full .p-class {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  margin-bottom: 30px;
  max-height: initial;
}
.his-item.full .his-otdel {
  font-size: 20px;
}
.his-item.full .vleft-right {
  list-style: none;
  padding: 30px 0;
  display: block;
  text-align: center;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.his-item.full a {
  color: #0261a0;
  text-decoration: none;
  padding: 0 10px;
  font-size: 1.1rem;
}
.his-item.full a:hover {
  opacity: 0.6;
}
.his-item.full .vl::before {
  content: url(../img/ico/vright.svg);
  margin: 1px 7px 0 0px;
  display: inline-block;
  vertical-align: text-top;
}
.his-item.full .vr::after {
  content: url(../img/ico/vlevo.svg);
  margin: 1px 0 0 7px;
  display: inline-block;
  vertical-align: text-top;
}

/****/ 

.his-item-u .his-item {
height: 410px;
}

.his-item-7.full {
  position: fixed;
  width: calc(100% - 32px);
  height: initial;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  max-width: 1150px;
  z-index: 100;
}
.his-item-7.full .his-item{height: initial;max-height: 95vh;overflow: auto}
.his-item-7.full .his-item__lico_name {
  font-weight: 500;
  font-size: 27px;
  line-height: 54px;
  color: #0261a0;
}
.his-item-7.full .his-item__kn {
  display: none;
}
.his-item-7.full .p-class {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  margin-bottom: 30px;
  max-height: initial;
}
.his-item-7.full .his-otdel {
  font-size: 20px;
}
.his-item-7.full .vleft-right {
  list-style: none;
  padding: 30px 0;
  display: block;
  text-align: center;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.his-item-7.full a {
  color: #0261a0;
  text-decoration: none;
  padding: 0 10px;
  font-size: 1.1rem;
}
.his-item-7.full a:hover {
  opacity: 0.6;
}
.his-item-7.full .vl::before {
  content: url(../img/ico/vright.svg);
  margin: 1px 7px 0 0px;
  display: inline-block;
  vertical-align: text-top;
}
.his-item-7.full .vr::after {
  content: url(../img/ico/vlevo.svg);
  margin: 1px 0 0 7px;
  display: inline-block;
  vertical-align: text-top;
}

.form-modal7 {
  display: none;
  position: fixed;
  background: #ffffff;
  box-shadow: 0px 12px 33px rgba(142, 149, 153, 0.7);
  border-radius: 10px;
  padding: 1% 5%;
  z-index: 100;
  max-width: 1147px;
  width: calc(100% - 32px);
  left: 50%;
  transform: translateX(-50%);
  top: 10%;
  /*overflow: auto;*/
}
.form-modal7 .contact-form_elem label {
  bottom: initial;
  margin: 11px 0 0 0;
}
.js-review-from .contact-form_elem label {
  margin: 0;
}

.contact-form_grup .info {
  padding: 0;
  margin: -23px -23px 0;
}
.contact-form_grup .info ul {
    list-style: none;
    position: absolute;
    left: 0px;
    background: #fff;
    z-index: 10;
    width: calc(100% - 13px);
    padding: 20px 0 20px 30px;
    height: 92%;
}
.contact-form_grup .info a {
  color: #0261a0;
  text-decoration: none;
  padding: 6px 0;
  display: block;
  line-height: 1.1;
}
.contact-form_grup .info a:hover {
  opacity: 0.6;
}

/***********************/ 

:root {
  --scrollbarBg: rgba(85, 99, 106, 0.2);
  --scrollbarThumb: rgba(0,0, 0, 0.5);
  --scrollbarWidth: 7px;
  --scrollbarBorder: 0px solid var(--scrollbarBg);
  --scrollbarBorderRadius: calc(var(--scrollbarWidth) / 2);
}
.skrolx {
  scrollbar-width: var(--scrollbarWidth);
  scrollbar-color: var(--scrollbarThumb) var(--scrollbarBg);
}
.skrolx::-webkit-scrollbar {
  width: var(--scrollbarWidth);
}
.skrolx::-webkit-scrollbar-track {
  background: var(--scrollbarBg);
  border-radius: var(--scrollbarBorderRadius);
}
.skrolx::-webkit-scrollbar-thumb {
  background-color: var(--scrollbarThumb);
  border-radius: var(--scrollbarBorderRadius);
  border: var(--scrollbarBorder);
}

/* this stuff below doesn't
   affect scrollbar styling */
body {
/*  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;*/
}
.skrolx {
  /*width: clamp(200px, 50%, 300px);*/
  height: 300px;
  overflow: auto;
}

.rbd{
    display: block;
    position: absolute;
    height: 387px;
    width: 100%;
    background: rgb(255, 255, 255);
    padding: 0px;
    box-shadow: rgb(0 0 0 / 0%) 0px 19px 50px inset, rgb(209 216 221) 0px 20px 33px;
    border-radius: 10px;
    z-index: 15;
    left: 22px;
}

.rbd .frm-mn{
   // box-shadow: inset 0px 19px 50px rgb(0 0 0 / 8%), 0 20px 33px rgb(209 216 221);
}

.close-r img{
    
    position: absolute;
    right: 25px;
    top: 25px;
    z-index: 20;
    width: 30px ;
    height: 30px;
}

.owl-carousel .owl-item .close-r img{
     display: none;
    position: absolute;
    right: 25px;
    top: 25px;
    z-index: 20;
    width: 30px ;
    height: 30px;
}

.his-item-u{
  padding: 0px 0 40px;
}
.his-close img{display: none;}
.full img{  display: block;}


.cl-8{

}
@media(max-width: 900px){
  .his-all {
      grid-template-columns: 1fr 1fr;
  }
  .form-modal7 {
    left: 50%;
    top: 50%;
    width: calc(100% - 32px);
    transform: translate(-50%,-50%);
    height: 97vh;
    overflow: auto;
  }

}

@media(max-width: 768px){

    .rwf{flex-direction: column;align-items: flex-end;}
    .cl-8{width: 100%;flex:1; }
    .cl-8 ul{padding: 0; }
    .cl-4 a{
        font-size: 1rem;
        padding: 12px 15%;
        margin: -20px 0 0px;
    }
    .his-item.full {
        height: 72vh;
        overflow: auto;
    }

}

@media(max-width: 576px){
  .his-all {
      grid-template-columns: 1fr ;
  }


}



.popup-fade:before {
  content: '';
  background: #000;
  position: fixed; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  opacity: 0.5;
  z-index: 99;
}