.popup{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #2A3768;
    opacity: 0.8;
    padding: 0 10vw;
    z-index: 99999999999;
}
.popup-content{
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: -webkit-fill-available;
    max-width: 1250px;
    left: 50%;
    background: #FFFFFF;
    box-shadow: 0px 4px 25px rgba(42, 55, 104, 0.1);
    border-radius: 32px;
    padding: 25px;
    z-index: 99999999999;
    max-height: 90%;
    height: 80vh;
}

.popup-content.slider {
    max-width: 850px;
    width: 100%;
    box-shadow: none;
    background: none;
}

.popup-content .description {
    overflow-y: auto;
    max-height: 90%;
}

.popup-content .fa-times{
    position: absolute;
    top: 21px;
    right: 34px;
    font-size: 20px;
    z-index: 9999;
    color: #fff;
}

.popup-nasz-zespol {
    display: none;
}

.popup-content.nasz-zespol {
    max-width: 60%;
    height: 60vh;
}

.popup-content.nasz-zespol .description {
    max-height: 55vh;
    width: 60%;
}

.popup-content .img{
    width: 40%;
}

.popup-content .description h2 {
    font-family: poppins-600;
    color: #2A3768;
    font-size: calc( var(--font-size) + 18px + var(--font-coeficient) );
}

.popup-content .description h3 {
    font-family: FiraSans-700;
    color: #6C779D;
    font-size: calc( var(--font-size) + 12px + var(--font-coeficient) );
}

.popup-content .description p {
    font-family: FiraSans-400;
    color: #2A3768;
    font-size: calc( var(--font-size) + 10px + var(--font-coeficient) );
}

.popup-content .description .e-mail {
    font-family: FiraSans-600;
    color: #2A3768;
    font-size: calc( var(--font-size) + 8px + var(--font-coeficient) );
    padding: 10px;
    border: 1px solid #DDE0E9;
    border-radius: 7.40373px;
    width: fit-content;
    display: flex;
}

.popup-content .description .e-mail:before {
    content: "";
    background-image: url("../images/kontakt-email.png");
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative;
    margin-right: 10px;
}

.popup-content.nasz-zespol img {
    max-height: 45vh;
    object-fit: contain;
}
.popup-content img {
    border-radius: 16px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 30px;
    max-width: 1200px;
    width: 100%;
}

.popup-content .blocks-gallery-item img{
    margin-bottom: 0;
}

.popup-content .popup-thumbnail {
    height: 250px;
    object-fit: cover;
}

.popup-content .content-nasz-zespol {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.popup-content.slider {
    max-height: 90%;
    height: 90vh;
}

.popup-content.slider .container-slider,
.popup-content.slider .container-slider .card-stack,
.popup-content.slider .container-slider .card-stack .card-list li {
    height: 100%;
}

.popup-content.slider .container-slider .card-stack .card-list li {
    top: 0 !important;
    width: fit-content !important;
    right: unset;
    left: 50%;
    transform: translateX(-50%);
}

.popup-content.slider .container-slider .card-stack .card-list li img {
    width: auto;
    height: 100%;
}

.popup-content.slider .container-slider .card-stack .card-list li:not(.activeNow) {
    display: none;
}

.popup-content.slider .single-controll-slider {
    left: calc(-110px - 4rem);
}

.calculator-popup, .calculator-popup-content {
    display: none;
}

.calculator-popup{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #2A3768;
    opacity: 0.8;
    padding: 0 10vw;
    z-index: 99999999;
}

.calculator-popup-content{
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: -webkit-fill-available;
    max-width: 630px;
    left: calc(50% - 5px);
    background: #FFFFFF;
    box-shadow: 0px 4px 25px rgba(42, 55, 104, 0.1);
    border-radius: 32px;
    padding: 25px;
    z-index: 99999999;
    max-height: 90%;
    height: 80vh;
    margin: 5px;
}

.calculator-popup-content .fa-times{
    position: absolute;
    top: 21px;
    right: 34px;
    font-size: 16px;
    z-index: 9999;
    color: #000;
}
