body {
    margin: 0;
    /* top: 0; */
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: rgba(245, 248, 248, .6);
    text-align: center;
    color: #313a3a;
    display: grid;
    place-items: center;
    /* height: 100vh;  //xman - removed so that body height is dynamic in app and overriden in screens*/
    font-size: 1rem;
}

.xmanbodyConnecting {
    background: url(/images/bg-03.webp);
    background-repeat: no-repeat;

    background-size: cover;
    background-color: rgba(46, 101, 99, 1);
    background-blend-mode: color-burn;
    /* width: 100vw; */
    height: 100vh;
}

.xmanbodyIncoming {
    background: url(/images/bg-03.webp);
    background-repeat: no-repeat;

    background-size: cover;
    background-color: rgba(46, 101, 99, 1);
    background-blend-mode: color-burn;
    width: 100vw;
    height: 100vh;
}

strong {
    font-weight: 700;
}

h1 {
    font-size: 2rem;
    padding-bottom: 16px;
    border-bottom: 1px solid #cccece;
    margin-top: 0;
    letter-spacing: 1px;
    font-weight: 500;
}

.white {
    border-bottom: 0;
    color: #ffffff;
}

.small-h1 {
    font-size: 1.125rem;
    border: 0;
    letter-spacing: 0;
    padding: 0;
    margin: 0;
}

.large {
    font-size: 1.125rem;
    padding: 0;
    margin: 0;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    padding-top: 16px;
    margin-bottom: 16px;
}

li {
    padding: 0 0 10px 0;
}

.content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 56px;
    justify-content: center;
    align-items: center;
    min-width: 320px;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 88px;
}


.content-landing {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 56px;
    justify-content: center;
    align-items: center;
    min-width: 320px;
    max-width: 800px;
    height: 100%;
    margin: 0 auto;
    margin-bottom: 44px;
}

.partner {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e4e5e5;
    padding: 24px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
}

.migamy-label {
    position: absolute;
    top: 0;
    right: 0;
    background: #b3e1e0;
    padding: 4px 8px;
    border-radius: 0 4px;
    font-family: Raleway, sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    color: #1e4241;
}

.icons-top {
    position: absolute;
    top: 37px;
    right: 24px;
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-logo {
    text-align: left;
}

.partner-name {
    font-family: Raleway, sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 140%;
    color: #000000;
    text-align: left;
}

.call-tlumacz {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.alert {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.alert-icon {
    /* width: 48px; */
    /* height: 48px; */
    /* background-image: url(images/icon-alert.svg); */
}

.alert-text {
    font-family: Raleway, sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 140%;
    text-align: center;
}

.alert-count {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-text {
    font-family: Raleway, sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 140%;
}

#time {
    font-family: Lato, sans-serif;
    font-weight: 500;
    font-size: 2rem;
    line-height: 140%;
}

.schedule {
    font-family: Lato, sans-serif;
    font-weight: 500;
    ;
    line-height: 140%;
}

.required {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.accept {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.button-primary,
.button-outline {
    width: 100%;
    padding: 12px 20px;
    border-radius: 6px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.button-primary {
    background: #367775;
    color: #ffffff;
    border: none;
}

.button-outline {
    background: #ffffff;
    color: #091515;
    border: 2px solid #367775;
}

.button-primary:hover {
    background: #2E6563;

}

.button-outline:hover {
    background: #B3E1E0;

}

.migolinia {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.migolinia-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.migolinia-text {
    font-family: Raleway, sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 140%;
    color: #000000;
    text-align: center;
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.contact-title {
    font-family: Raleway, sans-serif;
    font-weight: 500;
    ;
    line-height: 140%;
    text-align: center;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.number {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Lato, sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 140%;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: rgba(38, 37, 72, 0.6);
    transition: opacity 200ms;
    visibility: hidden;
    opacity: 0;

    &.light {
        background: rgba(38, 37, 72, 0.6);
    }

    .cancel {
        position: absolute;
        width: 100%;
        height: 100%;
        cursor: default;
    }

    &:target {
        visibility: visible;
        opacity: 1;
    }
}

.popup {
    margin: 24px auto;
    padding: 0px;
    background: #fff;
    border: 1px solid #666;
    border-radius: 6px;
    max-width: 640px;
    min-width: 280px;
    box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.25), 0px 8px 8px -4px rgba(16, 24, 40, 0.3);
    position: relative;

    .light & {
        border-color: #aaa;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);

    }

    .top-bar {
        height: 36px;
        border-radius: 6px 6px 0px 0px;
        background-color: #f7f7f7;
        border-bottom: 1px solid #e4e5e5;
    }

    .bottom-bar {
        height: 1rem;
        border-radius: 0px 0px 6px 6px;
        background-color: #f7f7f7;
        border-top: 1px solid #e4e5e5;
    }


    .close {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 24px;
        top: 8px;
        right: 8px;
        transition: all 200ms;

        &:hover {
            background-color: white;
        }
    }

    .content_popup {
        max-height: 75vh;
        min-height: 45vh;
        overflow: auto;
        padding: 24px;
        text-align: left;
    }

    .content_popup_small {
        max-height: 75vh;
        min-height: 25vh;
        overflow: auto;
        padding: 24px;
        text-align: left;
    }

    video {
        width: 100%;
        margin-bottom: 24px;
    }

    p {
        margin: 0 0 1em;

        &:last-child {
            margin: 0;
        }
    }
}

/* preloader - 1 */

@keyframes scaling {

    0%,
    100% {
        transform: scale(0.2);
        background-color: #B3E1E0;
    }

    40% {
        transform: scale(1);
        background-color: #91D4D3;
    }

    50% {
        transform: scale(1);
        background-color: #56BDBB;
    }
}

.preloader div {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    transform: scale(0);
    background-color: red;
    animation: scaling 2.5s ease-in-out infinite;
    display: inline-block;
    margin: .1em;
}

div:nth-child(0) {
    animation-delay: 0s;
}

div:nth-child(1) {
    animation-delay: 0.2s;
}

div:nth-child(2) {
    animation-delay: 0.4s;
}

div:nth-child(3) {
    animation-delay: 0.6s;
}

div:nth-child(4) {
    animation-delay: 0.8s;
}

div:nth-child(5) {
    animation-delay: 1s;
}


/* preloader - 2 */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    height: 120px;
    width: 120px;
    border: 6px solid;
    border-color: white transparent white transparent;
    border-radius: 50%;
    animation: spin 1.3s linear infinite;
}



/* calling */



.incoming-call {
    display: inline-flex;
    padding: 20px;
}


@keyframes calling {

    100%,
    0% {
        transform: scale(1.1);
        background-color: #AFDB37;
    }

    50% {
        transform: scale(1);
    }
}

.accept-call {
    animation: calling 0.8s ease-in-out infinite;
}

.decline-call {
    background-color: #DC3545;
}

.decline-call,
.accept-call {
    border: 0;
    height: 80px;
    width: 80px;
    border-radius: 100%;
    margin: 40px;
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.decline-call:hover,
.accept-call:hover {
    animation: none;
    transform: scale(1.1);
}

.accept-call:hover {
    background-color: #96ca08;
}


.decline-call:active,
.accept-call:active {
    transform: scale(0.95);
}



/* Responsive */


@media (max-width: 768px) {
    .content {
        padding: 20px;
    }

    .content-landing {
        gap: 20px;
        /* justify-content: space-between; */
        padding: 10px;
        height: 100%;
    }

    .partner,
    .call-tlumacz,
    .migolinia {
        width: 100%;
        gap: 8px;
    }

    .required {
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .partner-name,
    .alert-text,
    .count-text,
    .contact-title {
        font-size: 1rem;
    }

    .countdown {
        font-size: 1.75rem;
    }

    .number {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 10px;
    }

    .partner-name,
    .alert-text,
    .count-text,
    .contact-title {
        font-size: 0.875rem;
    }

    .countdown {
        font-size: 1.5rem;
    }

    .number {
        font-size: 0.875rem;
    }
}


@media (max-height: 700px) {
    body {
        /* xman style this will break fullscreen for videos during call*/
        /* padding-bottom: 80px; */
    }
}