.p_page_slider{
  position: relative;
  margin: 30px 0;
}


.p_page_slider .p_page_slide h3 {
  font-size: 18px !important;
  margin: 0;
}
.p_page_slide{
  height: 235px;
  position: relative;
}

.p_page_slide_sertificate{
  height: 180px;
}
.p_page_slide img {
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
  object-position: center;
}

.p_page_slide_info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #F79537;
  height: 40px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.slick-center .p_page_slide_info{
  opacity: 1;
  visibility: visible;
}


.p_page_slider .slick-prev,
.p_page_slider .slick-next {
  position: absolute;
  width: 33.4%;
  height: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url(image.png);
  z-index: 15;
}
.p_page_slider .slick-next{
  width: 33.2%;
}

.p_page_slider .slick-prev {
  left: 0;
  top: 0;
}

.p_page_slider .slick-next {
  right: 0;
  top: 0;
}

.p_page_slider .slick-prev:before,
.p_page_slider .slick-next:before {
  display: block;
  font-family: '';
  font-size: 70px;
  color: #F79334;
  display: inline-block;
  font-family: eicons;
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  z-index: 15;
}

.p_page_slider .slick-prev:before {
  width: 70px;
  height: 70px;
  content: '\e87e';
  top: calc(50% - 35px);
  right: 0;
}

.p_page_slider .slick-next:before {
  width: 70px;
  height: 70px;
  content: '\e87d'; 
  top: calc(50% - 35px);
  left: 0;
}

.p_page_slider .p_page_wrap_review_item_t {
    width: calc(100% - 205px);
}


/*---------------tamplate_stage-------------*/

.p_template ul li{
  list-style: none;
  position: relative;
}
.p_template ul li::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  left: -15px;
  top: 10px;
  background: #F79334;
  border-radius: 50%;
}

.p_page_stage{
  margin: 40px 0 0 0;
}

.p_page_stage .stage{
  padding: 0 0 0 80px;
  position: relative;
  margin: 0 0 50px 0;
  counter-increment: num;
}
.p_page_stage .stage::before {
  position: absolute;
  content: counter(num);  
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: bold;
  font-size: 36px;
  line-height: 56px;
  text-align: center;
  color: #FFFFFF;
  width: 59px;
  height: 59px;
  left: 0;
  top: 0;
  background: #F79334;
  border-radius: 50%;
}

.p_page_stage .stage::after{
  position: absolute;
  content: '';
  width: 1px;
  height: 100%;
  border: 1px dashed #A0A0A0;
  left: 29px;
  top: 59px;
  bottom: 0;
}

.p_page_stage .stage:last-child::after{
  display: none;
}

.p_page_stage .stage_title h4 {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 25px;
  color: #222222;
  margin: 0 0 15px 0;
}


/*-------------------ипотека-------------------------*/

.p_page_mortgage{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  margin: 25px 0 0 0;
}

.p_page_mortgage_img{
  margin: 0 0 10px 0;
}



@media screen and (min-width: 320px) and (max-width: 767px){
  
  .p_page_slide_info {
    opacity: 1;
    visibility: visible;
  }
  
  .p_page_slide_sertificate{
    height: 238px;
  }
  
  
  .p_page_slider .slick-prev, .p_page_slider .slick-next{
    background: none;
  }
  
  .p_page_slider .slick-prev:before, .p_page_slider .slick-next:before{
    font-size: 50px;
  }
  
  .p_page_slider .slick-prev, 
  .p_page_slider .slick-next {
    width: 14%;
  }
  
  
  /*-----------этапы--------------------*/
  
  .p_page_stage .stage {
    padding: 0 0 0 60px;
  }
  
  
  .p_page_stage .stage::before{
    width: 45px;
    height: 45px;
  }
  
  .p_page_stage .stage::before {
    font-size: 30px;
    line-height: 44px;
  }
  
  .p_page_stage .stage::after {
    left: 23px;
    top: 47px;
  }
  
  
}

@media screen and (min-width: 768px) and (max-width: 1199px) {

  .p_page_slider .slick-prev,
  .p_page_slider .slick-next {
    width: 33.4%;
  }
  
  .p_page_slide {
    height: 200px;
  }
  
  .p_page_slide_sertificate {
    height: 155px;
  }
  
}

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  