.popup {
  overflow: auto;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: none;
}

.popup:target { 
  display: block;
  pointer-events: auto;
}

.popup_bg {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 105;
  background: rgba(89, 43, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
  
}

.popup_bg_img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 106;
}

.popup_window {
  position: relative;
  margin: auto;
  width: auto;
  height: auto;
  z-index: 107;
}

.popup_wrap {
  position: relative;
  padding: 3.63rem 4.06rem 2.81rem;
  font-family: "Roboto", Helvetica, sans-serif;
  color: #FFF;
  width: 97vw;
  max-width: 53.13rem;
  height: auto;
  margin: 300px auto;
  border-radius: 35px;

  box-shadow: 15px 15px 45px 0px rgba(0, 0, 0, 0.25);
  background: #79c8de;
  background: radial-gradient(circle, rgb(122 215 222 / 55%) 100%, rgb(153 210 220 / 60%) 50%);
}

.popup_img {
  position: absolute;
}
.popup_img--top_center {
  top: -83px;
  width: 190px;
  left: -10%;
}
.popup_img--top_right {
  top: 0;
  right: 0;
  width: 300px;
  z-index: 114;
}
.popup_img--top_left {
  top: 0;
  left: 0;
  width: 300px;
  height: 280px;
  z-index: 111;
}
.popup_img--bottom_left {
  width: 270px;
  bottom: 0;
  left: 0;
  height: 260px;
  z-index: 110;
}
.popup_img--bottom_center {
	width: 180px;
    bottom: -70px;
    left: 88%;
}
.popup_img--bottom_right_near {
  width: 207px;
    bottom: 0;
    right: 0;
    height: 200px;
    z-index: 107;
}
.popup_img--bottom_right {
  bottom: -100px;
  right: -35px;
width: 128.45px;
height: 263.99px;
}

.popup_close {
  position: absolute;
  fill: #fff;
  top: 1.5rem;
  right: 1.5rem;
  width: 1rem;
  height: 1rem;
  margin-bottom: 1.81rem;
  cursor: pointer;
}

.popup_title {
  color: #FFF;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: "DaysOne", Helvetica, sans-serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 38px;
  line-height: normal;
  letter-spacing: 0.09375rem;
}

.period {
  color: #fff;
  font-family: "Roboto", Helvetica, sans-serif;
  font-size: 1.1875rem;
font-size: 19px;
font-weight: 300;
line-height: 22px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 1.5rem;
      align-items: baseline;
}
.period_date {
  color: #FFF;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
font-family: "DaysOne", Helvetica, sans-serif;
font-size: 22px;
font-weight: 400;
line-height: 28px
}
.period_desc {
  color: #0d4eb2;
  text-align: right;
  font-family: Roboto;
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 300;
  line-height: normal;
  margin-left: auto;
}

.preview_text {
font-size: 19px;
font-weight: 300;
line-height: 29px;
color:#0d4eb2;
  margin-bottom: 1.6rem;
  text-align: justify;
}

.popup_buttons {
  display: flex;
  align-items: baseline;
}
.popup_buttons .promo_btn {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 100;
  line-height: 1rem; /* 100% */
  padding: 0.75rem 1.05rem;
  border-radius: 1.5rem;
  background: rgb(248, 124, 30);
  margin: auto;
  margin-top: 2.12rem;
}
.popup_buttons .detail_nav {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.popup_buttons .detail_link {
  display: block;
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.125rem;
  /*100%*/
  margin-top: 0.7rem;
  cursor: pointer;
  transition: opacity 0.3s;
  opacity: 1;
  cursor: pointer;
}
.popup_buttons .detail_link--open {
  opacity: 1;
}
.popup_buttons .detail_link--close {
  opacity: 0;
  display: none;
}
.popup_buttons .detail_link--back {
  font-style: normal;
  color: #0d4eb2;
  text-align: right;
}

.detail_text {
  max-height: 20rem;
  overflow-y: auto;
  padding-right: 0.56rem;
  text-align: justify;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.375rem; /* 146.667% */
  display: none;
  color:#0d4eb2;
  overflow-x:clip;
}
.label-bf.is-active {
  display: none;
}
/******SCROLL*****/

.detail_text{
  color: #0d4eb2;
}
.detail_text::-webkit-scrollbar {
  width: 5px; 
  height: 5px;
  background-color: rgb(13, 0, 255);  
border-radius:7px;
}
.detail_text::-webkit-scrollbar-track {
	background-color:rgb(0, 100, 249);
}
.detail_text::-webkit-scrollbar-thumb {
	background-image:radial-gradient(rgb(57, 9, 251), rgba(28, 27, 73, 0.25) 100% );
	 border: none;
	 border-radius:10px;
}

.detail_text::-webkit-scrollbar-button:vertical:start:decrement {
  background-color: transparent;
}
.detail_text::-webkit-scrollbar-button:vertical:end:increment {
  background-color: transparent;
}
.detail_text::-webkit-scrollbar-button:horizontal:start:decrement {
  background-color: transparent;
}
.detail_text::-webkit-scrollbar-button:horizontal:end:increment {
  background-color: transparent;
}

/******END SCROLL*****/

@media (width <= 75rem) {
  .popup_bg_img {
    display: none;
  }
  .popup_window {
    display: flex;
            flex-direction: column;
            align-items: center;
  }
  .popup_wrap{
	  margin: 100px auto 100px;
  }
  .popup_img {
    display: block;
    width: 170px;
    height: auto;
  }
  .popup_img--top_left {
    width: 170px;
        left: 0;
        height: 146px;
        top: 0;
  }

  .popup_img--bottom_right {
 bottom: -100px;
  right: 0;
	width: 76px;
	height: 155px;
  }
  .popup_buttons {
    margin-bottom: 3rem;
  }
}
@media (width <= 45rem) {
  .popup_img--bottom_center {
    left: 57%;
  }
  .popup_wrap {
    padding: 5.2rem 1rem 3rem;
  }
  .popup_close {
    width: 1.5rem;
    height: 1.5rem;
  }
  .popup_title {
    font-size: 1.5625rem;
    letter-spacing: 0.07813rem;
  }
  .preview_text {
    font-size: 1.0625rem;
    line-height: 1.5625rem;
    margin-bottom: 1.6rem;
    text-align: justify;
  }
  .detail_nav {
    margin-top: 0.7rem;
  }
  .detail_link {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 0.9375rem;
    margin-top: 0.7rem;
  }
  .detail_text {
    text-align: justify;
    max-height: 20rem;
    padding-right: 0.56rem;
    font-size: 0.875rem;
  }
  .period {
    display: flex;
            flex-direction: column;
            align-items: center;
    font-size: 1.0625rem;
    font-weight: 300;
  }
  .period > * {
    margin-top: 0.7rem;
    text-align: center;
    margin-left: initial;
  }
  .period_date {
    font-size: 1.25rem;
    line-height: 1.25rem;
  }
  .period_desc {
    font-size: 0.9375rem;
    line-height: normal;
  }
  .popup_img--top_right {
    width: 150px;
  }
}

.no_mobil{
	display:none;
}