.modal_birthday {
  background: url('../images/modal_birthday_bg.svg') no-repeat bottom right;
  padding-bottom: 56px;
  font-family: 'Montserrat', sans-serif;
}

.modal_birthday.--kkp {
  background: none;
  padding-bottom: 0;

}

.modal_birthday .jBox-container {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 100px;
}

.modal_birthday .jBox-content {
  padding: 14px 0 0 !important;
}

.modal_birthday__body {
  background: #675CE2;
  padding: 16px 24px 24px;
  position: relative;
  box-sizing: border-box;
  min-height: 285px;
  min-width: 420px;
  display: flex;
  justify-content: space-between;
}

.modal_birthday__close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
}

.modal_birthday__close svg {
  width: 20px;
  height: 20px;
  display: block;
}

.modal_birthday__close path {
  fill: #ddd;
}

.modal_birthday__close path {
  transition: fill .2s;
}

.modal_birthday__happy-birthdate {
  padding: 0 20px;
  height: 50px;
  background: #392BD9;
  position: absolute;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(4deg);
  top: 0%;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

.modal_birthday__kkp {

}

@media (max-width: 844px) {
  .modal_birthday__happy-birthdate {
    font-size: 14px;
  }
  .modal_birthday__body .modal_birthday__body-kkp {
    min-width: initial;
  }
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right {
  height: 100%;
  position: absolute;
  left: 0;
  width: 14px;
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right {
 right: 0;
 left: initial;
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left::before, 
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left::after, 
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-1::before, 
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-1::after,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-2::before, 
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-2::after,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-3::before,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right::before, 
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right::after, 
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-1::before, 
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-1::after,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-2::before, 
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-2::after,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-3::before{
  content: '';
  position: absolute;
  height: 14px;
  width: 14px;
  background: #392BD9;
  z-index: -1;
  transform: rotate(45deg);
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left::before,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right::before {
  top: 2.5px;
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left::after,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right::after {
  top: 7.5px;
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-1::before,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-1::before {
  top: 12.5px;
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-1::after,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-1::after {
  top: 17.5px;
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-2::before,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-2::before {
  top: 22.5px;
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-2::after,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-2::after {
  top: 27.5px;
}

.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-left .modal_birthday__corners-3::before,
.modal_birthday__happy-birthdate .modal_birthday__happy-birthdate-right .modal_birthday__corners-3::before {
  top: 32.5px;
}

.modal_birthday__carousel {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 180px;
  height: calc(100% - 85px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal_birthday__carousel-bg {
  width: 100%;
  height: 200px;
  position: absolute;

  background: url('../images/carousel_bg.png') no-repeat 0 0;
  filter: opacity(0.35);
}

.modal_birthday__carousel-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background: #392BD9;
}

.modal_birthday__date {
  color: #fff;
  background: url('../images/birthday__date.svg') no-repeat 0 0;
  padding: 0 0 0 44px;
  line-height: 32px;
  font-size: 16px;
  font-weight: 600;
  height: 32px;
  margin: 0 26px 0px 0px;
  white-space: nowrap;
}

.modal_birthday__date svg {
  margin-right: 14px;
}

.modal_birthday__info {
  width: 90%;
  align-self: flex-end;
  margin-top: 70px;
  height: calc(100% - 70px);
  display: flex;
  flex-direction: column;
  justify-content: space-around;

}

.modal_birthday__name {
  color: #fff;
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 18px;
  font-weight: 500;
}

.kkp-birthday-names .modal_birthday__name {
  color: #000;
  font-family: Gilroy;
}

@media (max-width: 844px) {
  .modal_birthday__name {
    font-size: 14px;
  }
}

.modal_birthday__flower {
  width: 75px;
  height: 44px;
  background: #fff url('../images/flower.svg') no-repeat 50% 50%;
  margin: 0 0 20px;
  border-radius: 22px;
}

.modal_birthday__team {
  color: #fff;
  font-size: 14px;
  line-height: 14px;
}

@media (max-width: 844px) and (orientation: landscape) {
  .jBox-content {
    height: auto;
  }

  .modal_birthday .jBox-container {
    margin-top: 0px;
  }

  .modal_birthday {
    padding-bottom: 0px;
  }
}

.modal_birthday__body-kkp {
  background: white;
  padding: 16px 24px 24px;
  position: relative;
  box-sizing: border-box;
  min-height: 285px;
  min-width: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal_birthday__kkp {
  font-family: Gilroy;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  color: #121212;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.modal_birthday__close.--kkp svg {
  filter: invert(1);
}

.cake {
  width: 250px;
  height: 100%;
  position: absolute;
  right: 0;
  bottom: 0;
  background: url('../images/cakes.png') no-repeat 0 0;
  background-size: cover;
  z-index: 0;
}

.modal_birthday__date--kkp {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  color: #FFFFFF;
  background: #017BFF;
  box-shadow: 0px 12px 62.8571px rgba(1, 123, 255, 0.32);
  border-radius: 50px;
  transform: rotate(2.24deg);
  padding: 5px 15px;
  width: max-content;
  z-index: 2;
  margin-top: -13px;
}

.bottom {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 70%;
  z-index: 2;
}

.wish:not(:last-child) {
  margin-right: 10px;
}

.wish:before {
  width: 80px;
  height: 70px;
  content: '';
  display: block;
}

.wish.first:before {
  background: url('../images/Chicken.png') no-repeat 0 0;
  background-size: contain;
}

.wish.second:before {
  background: url('../images/coffee.png') no-repeat 0 0;
  background-size: contain;
}

.wish.third:before {
  background: url('../images/Earth.png') no-repeat 0 0;
  background-size: contain;
}

@font-face {
  font-family: "Gilroy";
  src: local("Gilroy"), local("Gilroy-Regular"), url("../fonts/Gilroy-Medium.ttf");
  font-weight: 500;
  font-style: normal; }
  

@media (max-width: 844px) {
  .modal_birthday__name {
    font-size: 14px;
  }

  .modal_birthday__body-kkp {
    max-width: 100vw;
    min-width: 100%;
  }

  .cake {
    width: 180px;
  }
}