@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@400;600;700&display=swap');

@font-face {
    font-family: 'Proxima Nova'; /*a name to be used later*/
    src: url("../fonts/ProximaNova-Regular.woff2") format("woff2"), url("../fonts/ProximaNova-Regular.woff") format("woff");
}

.popup-preview {
    position: fixed;
    bottom: 0;
    padding: 5rem 10rem;
    background-color: #fff !important;
    -webkit-box-shadow: 0px 0px 8px 0px #2f6e5b;
    -moz-box-shadow: 0px 0px 8px 0px #2f6e5b;
    box-shadow: 0px 0px 8px 0px #2f6e5b;
    border-radius: 5px;
    z-index: 10;
    background-repeat: no-repeat;
    background-size: cover;
}

.popup-preview__inner {
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
}

.popup-preview__title {
    font-family: 'Proxima Nova' sans-serif;
    ;
    font-style: normal;
    font-weight: 400;
    font-size: 22rem;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #326E5B;
    cursor: pointer;
}

.popup-preview__content {
    width: 100%;
    z-index: 2;
}

.popup-preview__text,
.popup-preview__img,
.popup-preview__action,
.popup-preview__close,
.popup-preview img {
    display: none;
}

.popup-preview__action {
    margin: 5rem 0;
    z-index: 1;
}

.popup-preview__img {
    position: absolute;
    height: 80%;
    bottom: 0;
    /* right: 100%; */
    left: 50%;
    z-index: 2;
}

.popup-preview__img img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.popup-preview__author {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 5rem 10rem;
}

.popup-preview__author p {
    font-weight: 700;
    font-size: 16rem;
    white-space: nowrap;
}

.popup-preview__author span {
    font-size: 13rem;
}

.popup-preview__text {
    width: 100%;
    margin: 15rem 0;
}

.popup-preview__text h3 {
    color: #585858;
    font-size: 40rem;
    font-family: 'Exo 2', Arial, sans-serif;
    line-height: 1.15;
    font-weight: 300;
    letter-spacing: 1px;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.popup-preview__text h4 {
    color: #585858;
    font-size: 26rem;
    font-family: 'Exo 2', Arial, sans-serif;
    line-height: 1.15;
    font-weight: 300;
    letter-spacing: 1px;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    margin-bottom: 10rem;
}

.show-preview .popup-preview__text p:first-child {
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 135%;
    color: #444444;
    text-transform: uppercase;
    margin-bottom: 15rem;
    text-align: center;
}

.show-preview .popup-preview__text p:last-child {
    font-family: 'Proxima Nova';
    src: url("../fonts/Montserrat-Bold.ttf") format("truetype");

    font-style: normal;
    font-weight: 400;
    width: 560px;
    font-size: 20px;
    line-height: 26rem;
    text-align: center;
}

.popup-preview__close {
    display: none;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
}

.popup-preview__close svg {
    width: 25rem;
    margin: 0px 7rem;
}

.popup-preview__close svg:nth-child(3) {
    transform: rotate(180deg);
}

.popup-preview__close span {
    font-size: 18rem;
    cursor: pointer;
}

.popup-preview.popup-preview-vebinar.show-preview {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 15%;
    left: 50%;
    bottom: unset;
    max-width: 768px;
    padding: 20rem 15rem;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateX(-50%);
    z-index: 789789;

}
.popup-preview.popup-preview-vebinar.show-preview  .show-preview .popup-preview__text p:last-child {
    font-family: 'Proxima Nova';
    font-style: normal;
    font-weight: 400;
    width: auto;
    font-size: 17px;
    line-height: 20rem;
    text-align: start;
}
.popup-preview.popup-preview-vebinar.show-preview .popup-preview__content {
    position: relative;
    flex-direction: column;
    width: 65%;
    padding: 15rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;

    margin: unset;
    align-items: flex-start;
}
.popup-preview.popup-preview-vebinar.show-preview .popup-preview__text, .show-preview .popup-preview__img, .show-preview .popup-preview__action {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.popup-preview.popup-preview-vebinar.show-preview .popup-preview__close {
    position: unset;
}

.popup-preview.popup-preview-vebinar.show-preview .popup-preview__text,
.popup-preview.popup-preview-vebinar.show-preview .popup-preview__img,
.popup-preview.popup-preview-vebinar.show-preview .popup-preview__action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.popup-preview__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14rem 16rem;
    border: none;
    cursor: pointer;
    font-size: 18rem;
    z-index: 1;
}

.popup-preview__link:hover {
    background: #66A692 !important;
}

.show-preview .popup-preview__title {
    font-family: 'Proxima Nova', sans-serif;

    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #326E5B;
    cursor: default;
}

.show-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 15%;
    left: 50%;
    bottom: unset;
    width: 700px;
    height: 460px;
    max-width: 768px;

    padding: 25px;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateX(-50%);
    z-index: 789789;
    border-radius: 25rem;
    overflow: hidden;
}

.show-preview img {
    display: flex;
}

.img-right {
    position: absolute;
    top: 20px;
    left: 0;
    width: 140px;
}

.img-left {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 160px;
}

.show-preview .popup-preview__content {
    position: relative;
    padding: 15rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.show-preview .popup-preview__text,
.show-preview .popup-preview__img,
.show-preview .popup-preview__action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.show-preview .popup-preview__action .registration__button {
    font-family: 'Proxima Nova', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 22rem;
    line-height: 19px;
    display: flex;
    align-items: center;
    text-align: center;
    background: #326E5B;
    color: #fff;
    padding: 22px 42px;
    cursor: pointer;
    border: none;
}

.show-preview .popup-preview__action .registration__button:hover {
    background: #66A692;
    transition: background 0.25s;
}

.show-preview .popup-preview__close {
    display: flex;
    position: absolute;
    right: 1%;
    top: 4%;
    cursor: pointer;
}


.pulsar-block {
    /* margin:100px; */
    /* display: block; */
    /* width: 22px; */
    /* height: 22px; */
    /* border-radius: 50%; */
    /* background: #cca92c; */
    /* cursor: pointer; */
    box-shadow: 0 0 0 #2f6e5b40;
    /* animation: pulse 2s infinite; */
}

.popup-bt-callback {}

.popup-bt-callback .b24-window-overlay {
    display: none;
    z-index: 99999;
}

.popup-bt-callback .b24-window-panel {
    display: block;
    top: 150%;
    opacity: .1;
    left: 50%;
    transform: translate(-50%, -25%);
    border-radius: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
    max-height: 100%;
    max-width: 510px;
    border-radius: 4px;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 99999;
    overflow: hidden;
    transition: all 0s ease-out;
}

.popup-bt-callback .b24-window-panel.active {
    display: block;
    top: 50%;
    opacity: 1;
    transition: all .2s ease-out;
}

.popup-bt-callback .b24-form-header-title {
    color: #2F6E5B !important;
}

.popup-bt-callback .b24-form-btn {
    background: #2F6E5B !important;
    color: #fff;
}

.popup-bt-callback .b24-form-btn:hover {
    background: #66A692 !important;
    transition: background 0.25s;
}

.popup-bt-callback .b24-form-wrapper.b24-form-border-bottom {
    border-bottom: 5px solid #2F6E5B !important;
}

.popup-bt-callback .b24-window-close {
    background-color: #2F6E5B !important;
    opacity: 1 !important;
    top: 12px !important;
    right: 12px !important;
}

.popup-bt-callback .b24-window-close:after,
.popup-bt-callback .b24-window-close:before {
    width: 3px !important;
}

.popup-bt-callback .b24-window-close:hover {
    background-color: #66A692 !important;
}

.b24-window-close:after,
.b24-window-close:before {
    background-color: #66A692 !important;
}

.b24-window-close:hover:after,
.b24-window-close:hover:before {
    background-color: #2F6E5B !important;
}






/* Empty Capsule Popup */


.empty-capsule__popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100svh;
    background-color: rgba(0, 0, 0, 0.6) ;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}
.empty-capsule__inner {
    position: absolute;
    max-width: 635px;
    max-height: 480px;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #F0F4F7;

    padding: 15px 0;

    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.10);

}
.empty-capsule__close {
    position: absolute;
    top:10px;
    right: 10px;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 100%;

}
.empty-capsule__close:hover {
    background-color: #B7BDCE;

}
.empty-capsule__close:hover svg *{
    fill: #444444;
}
.empty-capsule__close:active svg *{
    fill: #946F9C;
}
.empty-capsule__text {
    margin-top: 22px;
    max-width: 430px;
    width: 100%;
    display: flex;
}
.empty-capsule__text p{
    color: var(--Black, #444);
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    /* H4 reg */
    font-family: "Source Serif Pro";

    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px; /* 125% */
}
.empty-capsule__text p span{
    color: var(--green, #326E5B);
    font-feature-settings: 'clig' off, 'liga' off;
    /* H4 reg */
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}
.empty-capsule__btn {
    margin-top: 40px;
}
.empty-capsule__btn button{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 280px;
    max-height: 50px;
    width: 100%;
    height: 100%;
    border-radius: 100px;

    color: #FFF;
    text-align: center;
    font-family: "Proxima Nova";

    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    background-color: #326E5B;
    padding: 16px 28px;
}
.empty-capsule__btn button:hover {
    background-color: #408C74;
    cursor: pointer;
}
.empty-capsule__btn button:active {
    background-color: #2C6050;
}
.empty-capsule__btn button:disabled {
    background-color: #326E5B;
    opacity: 0.5;
}

.empty-capsule__btn a{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 280px;
    max-height: 50px;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    color: #FFF;
    text-align: center;
    font-family: "Proxima Nova";

    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    background-color: #326E5B;
    padding: 16px 28px;
}
.empty-capsule__btn a:hover {
    background-color: #408C74;
    cursor: pointer;
}
.empty-capsule__btn a:active {
    background-color: #2C6050;
}
.empty-capsule__btn a:disabled {
    background-color: #326E5B;
    opacity: 0.5;
}


.page-template-create-fairytales .empty-capsule__inner{
    padding: 0;
    max-width: 440px;
    max-height: max-content;
    height: auto;
    overflow: hidden;
    border: none;
    justify-content: space-between;

}
.page-template-create-fairytales .empty-capsule__image{
    width: 100%;
    height: auto;
}
.page-template-create-fairytales .empty-capsule__image img{
    width: 100%;
    height: auto;
}
.page-template-create-fairytales .empty-capsule__close * {
    fill: #fff;
}


.page-template-create-fairytales .empty-capsule__text {
    padding: 0 40px;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    max-width: unset;
}
.page-template-create-fairytales .empty-capsule__text p:first-child {
    color: var(--Black, var(--black, #444));
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px; /* 125% */
}
.page-template-create-fairytales .empty-capsule__text p:first-child span {
    color: var(--green, var(--black, #326E5B));
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}
.page-template-create-fairytales .empty-capsule__text p:last-child {
    color: var(--black, #444);
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
}
.page-template-create-fairytales .empty-capsule__btn {
    margin-bottom: 32px;
    margin-top: 0;

}


.page-template-create-fairytales .empty-capsule__btn button{
    color: var(--white, #FFF);
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 19.6px */
}



@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 #2f6e5b90;
    }
    70% {
        -webkit-box-shadow: 0 0 0 30px #2f6e5b60;
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 #2f6e5b20;
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 #2f6e5b90;
        box-shadow: 0 0 0 0 #2f6e5b90;
    }
    70% {
        -moz-box-shadow: 0 0 5px 7px #2f6e5b60;
        box-shadow: 0 0 5px 7px #2f6e5b60;
    }
    100% {
        -moz-box-shadow: 0 0 10px 0 #2f6e5b20;
        box-shadow: 0 0 10px 0 #2f6e5b20;
    }
}

@media only screen and (max-width: 1440px) {
    .show-preview {
        width: 100%;
    }
    .show-preview .popup-preview__title {
        font-size: 24rem;
    }
    .show-preview .popup-preview__text p:first-child {
        font-size: 35rem;
        margin-bottom: 30rem;
    }
    .show-preview .popup-preview__text p:last-child {
        width: 550px;
        font-size: 27rem;
        line-height: 30rem;
    }
    .show-preview .popup-preview__action .registration__button {
        font-size: 25rem;
        line-height: 19px;
        padding: 26rem 42rem;
    }
}

@media only screen and (max-width: 1024px) {
    .show-preview {
        width: 55%;
    }
    .popup-preview__text h3 {
        font-size: 54rem;
    }
    .popup-preview__text h4 {
        font-size: 36rem;
    }
    .popup-preview__text p {
        font-size: 24rem;
    }
    .popup-preview__author p {
        font-size: 24rem;
    }
    .popup-preview__author span {
        font-size: 20rem;
    }
    .show-preview .popup-preview__content {
        width: 60%;
    }
    .popup-preview__img {
        height: 90%;
    }
    .popup-preview__link {
        font-size: 24rem;
    }
    .popup-preview__close span {
        font-size: 22rem;
    }
    .popup-preview__close svg {
        width: 30rem;
    }
}

@media only screen and (max-width: 768px) {
    .show-preview {
        width: 65%;
    }
    .popup-preview__title {
        font-size: 25rem;
    }
    .show-preview .popup-preview__title {
        font-size: 15px;
    }
    .popup-preview__text h3 {
        font-size: 60rem;
    }
    .popup-preview__text h4 {
        font-size: 40rem;
    }
    .popup-preview__text p {
        font-size: 28rem;
    }
    .popup-preview__author p {
        font-size: 28rem;
    }
    .popup-preview__author span {
        font-size: 24rem;
    }
    .show-preview .popup-preview__content {
        width: 80%;
    }
    .show-preview .popup-preview__text p:first-child {
        font-size: 17px;
        margin-bottom: 15px;
    }
    .show-preview .popup-preview__text p:last-child {
        width: 320px;
        font-size: 17px;
        line-height: normal;
    }
    .show-preview .popup-preview__action .registration__button {
        font-size: 18px;
        line-height: 19px;
        padding: 15px 25px;
    }
    .popup-preview__img {
        height: 90%;
    }
    .popup-preview__link {
        font-size: 28rem;
    }
    .popup-preview__action {
        margin: 50rem 0;
    }
    .popup-preview__close span {
        font-size: 26rem;
    }
    .popup-preview__close svg {
        width: 30rem;
    }
    .popup-preview.popup-preview-vebinar.show-preview {
        max-height: 500px;
        height: auto;
        width: 95%;
    }

}

@media only screen and (max-width: 652px) {
    .show-preview {
        width: 80%;
        padding: 5rem;
    }
    .popup-preview__title {
        font-size: 6rem;
    }
    .popup-preview__text {
        margin: 5rem 0;
    }
    .popup-preview__text h3 {
        font-size: 11rem;
    }
    .popup-preview__text h4 {
        font-size: 8rem;
        margin-bottom: 4rem;
    }
    .popup-preview__text p {
        font-size: 6rem;
    }
    .popup-preview__author p {
        font-size: 5rem;
    }
    .popup-preview__author span {
        font-size: 5rem;
    }
    .show-preview .popup-preview__content {
        width: 65%;
        padding: 5rem;
    }
    .popup-preview__img {
        height: 80%;
    }
    .popup-preview__link {
        padding: 6rem 8rem;
        font-size: 6rem;
    }
    .popup-preview__action {
        margin: 12rem 0;
    }
    .popup-preview__close span {
        font-size: 6rem;
    }
    .popup-preview__close svg {
        width: 7rem;
        margin: 0px 3rem;
    }
    .popup-preview__author {
        padding: 4rem 5rem;
    }


    .empty-capsule__popup {
        align-items: flex-end;
    }

    .empty-capsule__inner {
        border-radius: 15px 15px 0 0;
        max-height: 90svh;

    height: auto;

    }
    .empty-capsule__text p{
        padding: 0 10px;
    }
    .empty-capsule__btn {
        margin-top: 20px;
    }
    .empty-capsule__text p {
        font-size: 16px;
    }
    .empty-capsule__text span {
        font-size: 16px;
    }
    .empty-capsule__inner img {
        max-width: 120px;
    }
    .page-template-create-fairytales .empty-capsule__inner img {
        width: 100%;
        max-width: 100%;
    }
    .popup-preview.popup-preview-vebinar.show-preview .popup-preview__content {
        position: relative;
        flex-direction: column;
        width: 100%;
        padding: 15rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 5px;

        margin: unset;
        align-items: flex-start;
    }
    .popup-preview.popup-preview-vebinar.show-preview  .popup-preview__title {
        font-size: 12rem;
        line-height: 1;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 480px) {
    .show-preview {
        width: 100%;
        height: 100vh;
        padding: 5rem;
        top: 0;
    }
    .show-preview .popup-preview__content {
        width: 100%;
        padding: 5rem;
        text-align: center;
    }
    .popup-preview__action {
        margin: 10rem 0;
    }
    .popup-preview__title {
        font-size: 10rem;
    }
    .popup-preview__text h3 {
        font-size: 14rem;
    }
    .popup-preview__text h4 {
        font-size: 12rem;
    }
    .popup-preview__text p {
        font-size: 10rem;
    }
    .popup-preview__img {
        height: 45%;
    }
    .popup-preview__author p {
        font-size: 9rem;
    }
    .popup-preview__author span {
        font-size: 8rem;
    }
    .popup-preview__link {
        font-size: 10rem;
    }
    .popup-preview__close svg {
        width: 10rem;
        margin: 0px 6rem;
    }
    .popup-preview__close span {
        font-size: 12rem;
    }
    .show-preview .popup-preview__text p:first-child {
        font-size: 18rem;
        margin-bottom: 25rem;
    }

    .show-preview .popup-preview__text p:last-child {
        width: auto;
        font-size: 15rem;
        line-height: 16rem;
    }
    .show-preview .popup-preview__title {
        font-size: 12rem;
        line-height: 0;
        margin-bottom: 20rem;
    }
    .show-preview .popup-preview__action .registration__button {
        font-size: 12rem;
        line-height: 7px;
        padding: 20rem 20rem;
    }
}

@media only screen and (max-width: 375px) {
    .show-preview {
        width: 100%;
        height: 100%;
        top: 0%;
        padding: 25% 0 40%;
    }
    .show-preview .popup-preview__content {
        width: 100%;
        padding: 5rem;
        text-align: center;
    }
    .popup-preview__action {
        margin: 20rem 0 0;
    }
    .popup-preview__title {
        font-size: 10rem;
    }
    .show-preview .popup-preview__title {
        font-size: 13rem;
        margin-bottom: 10rem;
    }
    .popup-preview__text h3 {
        font-size: 14rem;
    }
    .popup-preview__text h4 {
        font-size: 12rem;
    }
    .show-preview .popup-preview__text p:first-child {
        font-size: 19rem;
        width: auto;
    }
    .show-preview .popup-preview__text p:last-child {
        width: 350px;
        font-size: 14rem;
        line-height: 15rem;
    }
    .popup-preview__img {
        height: 45%;
    }
    .popup-preview__author p {
        font-size: 9rem;
    }
    .popup-preview__author span {
        font-size: 8rem;
    }
    .popup-preview__link {
        font-size: 10rem;
    }
    .show-preview .popup-preview__close {
        right: 5%;
        top: 5%;
    }
    .popup-preview__close svg {
        width: 25rem;
        margin: 0px 6rem;
    }
    .popup-preview__close span {
        font-size: 12rem;
    }
    .show-preview .popup-preview__action .registration__button {
        font-size: 16rem;
        padding: 16rem 36rem;
    }


    .popup-preview.popup-preview-vebinar.show-preview .popup-preview__action {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin-bottom: 15px;
    }
    .popup-preview.popup-preview-vebinar.show-preview .popup-preview__content {
        position: relative;
        flex-direction: column;
        width: 65%;
        padding: 15rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 5px;
        margin: unset;
        align-items: flex-start;
    }
    .popup-preview.popup-preview-vebinar.show-preview .popup-preview__text p:last-child {
        width: auto;
        font-size: 12rem;
        line-height: 15rem;
    }
}
