@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600');

/* Theme variables */
:root {
    --body-background-color: #2822CF;
    --background-color: #2C24FF;
    --text-color: #ffffff;
    --button-bg-color: #000000;
    --button-color: #ffffff;
    --button-type-wfp-payment-bg-color: #000000;
    --button-type-wfp-payment-color: #ffffff;
    --block-with-image-button-bg-color: #000000;
    --block-with-image-button-color: #ffffff;
    --button-shadow-color: #0000002E;

    --app-height: 100%;
}
/* --------------- */

body {
    background: var(--body-background-color);
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    color: var(--text-color);
}

main {
    padding: 10px 0;
    min-height: 100vh;
    min-height: var(--app-height);
}
#phone-wrapper {
    margin: 0 auto;
    padding: 0 30px;
    min-height: calc(100vh - 20px);
    min-height: calc(var(--app-height) - 20px);
    max-width: 476px;
    background-color: var(--background-color);
    box-shadow: 0 6px 24px var(--button-shadow-color);
    border-radius: 33px;
    position: relative;
}
#phone-wrapper .phone-content {
    margin: 0 auto;
    max-width: 325px;
    text-align: center;
    padding-bottom: 200px;
}
.btn {
    width: 100%;
    min-height: 60px;
    font-size: 17px;
    font-weight: bold;
    line-height: 23px;
    position: relative;
    border-radius: 10px;
    box-shadow: -6px 3px 12px var(--button-shadow-color);
}
.btn:hover {
    box-shadow: none;
}

.active-block {
    margin: 0;
}

/* main image block */
.main-image-block {
    padding: 25px 0 5px;
}
.main-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /*box-shadow: 0px 3px 6px var(--button-shadow-color);*/
}

/* text block */
.block-text {
    padding: 10px 0;
}
.text-block-title {
    font-size: 20px;
    font-weight: bold;
}
.text-block-desc {
    font-size: 14px;
    padding-top: 5px;
}

/* button block */
.block-button {
    padding: 0;
    margin: 0;
}
.block-button > .btn {
    background-color: #229ba8;
    color: var(--button-color);
    margin: 5px 0;
    padding: 0.375rem 55px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.block-button > .btn.btn-type-wfpPayment {
    background-color: var(--button-type-wfp-payment-bg-color);
    color: var(--button-type-wfp-payment-color);
}
.block-button > .btn > .btn-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
}
.block-button > .btn > .btn-icon > svg {
    transform: translateY(-50%);
}
.block-button .btn-icon svg .fill-color-text {
    fill: var(--button-color);
}
.block-button .btn-icon svg .stroke-color-text {
    stroke: var(--button-color);
}

/* block with image */
.block-with-image {
    padding: 0 0 20px;
}
.block-with-image .image-block {
    width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: -6px 3px 12px var(--button-shadow-color);
}
.block-with-image .block-with-image-text {
    font-size: 14px;
    font-weight: 400;
    padding: 5px 0 0;
    text-align: left;
}
.block-with-image .block-with-image-title {
    font-size: 20px;
    font-weight: bold;
    padding-top: 20px;
}
.block-with-image .btn {
    background-color: var(--block-with-image-button-bg-color);
    color: var(--block-with-image-button-color);
}

/* block with video */
.blockWithVideo {
    margin: 0;
    padding: 25px 0 5px;
    font-size: 14px;
}
.blockWithVideo .block-description-wrapper {
    text-align: center;
    padding: 0;
}
.blockWithVideo .block-description {
    vertical-align: middle;
    text-align: center;
    padding: 0;
}
.blockWithVideo .block-description .block-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}
.blockWithVideo .block-description .block-text {
    padding: 0;
}
.blockWithVideo .block-description .block-button {
    margin-top: 30px;
}
.blockWithVideo .block-description .block-button .btn {
    margin: 15px 0;
    padding: 0 50px;
    line-height: 36px;
}
.blockWithVideo .block-video {
    padding: 0;
}
.blockWithVideo .block-video iframe,
.blockWithVideo .block-video .preview-video {
    width: 100%;
    height: auto;
    aspect-ratio: 1.78;
    box-shadow: 2px 2px 10px var(--block-shadow);
    background-color: var(--block-img-bg);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.blockWithVideo  .preview-video-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 68px;
    height: 48px;
    margin-left: -34px;
    margin-top: -24px;
    -webkit-transition: opacity .25s cubic-bezier(0,0,0.2,1);
    transition: opacity .25s cubic-bezier(0,0,0.2,1);
    z-index: 63;
    border: none;
    background-color: transparent;
    padding: 0;
    color: inherit;
    text-align: inherit;
    font-size: 100%;
    font-family: inherit;
    line-height: inherit;
}
.blockWithVideo .loader {
    width: 68px;
    height: 68px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -34px;
    margin-top: -34px;
    z-index: 100;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* social links */
.soc-links-wrapper {
    padding-bottom: 15px;
}
.footer .sl-img-link {
    height: 44px;
    width: 44px;
    display: inline-block;
    margin: 5px;
}
.footer .sl-img-link:hover {
    text-decoration: none;
}

.footer .sl-img-link:first-of-type {
    margin-left: 0;
}

.footer .sl-img-link:last-of-type {
    margin-right: 0;
}



/* footer */
.footer {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 400;
    /*height: 240px;*/
}
.footer .footer-text {
    /*margin-bottom: 10px;*/
}
.footer .footer-text a {
    text-decoration: underline;
    color: var(--text-color);
    font-size: 0.8rem;
}
.footer .footer-text a:hover {
    text-decoration: none;
}
.footer .footer-copyright {
    padding: 10px 0 20px;
}
.footer svg .svgLogoFill {
    fill: var(--text-color);
}
.footer .footer-lang {
    font-size: 0.8rem;
    margin-bottom: 20px;
}
.footer .footer-lang .dropdown-menu {
    font-size: 0.8rem;
    background-color: var(--body-background-color);
    color: var(--text-color);
    box-shadow: -6px 3px 12px var(--button-shadow-color);
}
.footer .footer-lang .dropdown-item:focus,
.footer .footer-lang .dropdown-item:hover {
    background-color: var(--background-color);
}
.footer .footer-lang a {
    color: var(--text-color);
}

@media screen and (max-width: 500px) {
    main {
        padding:0;
    }
    #phone-wrapper {
        margin: 0;
        min-height: 100vh;
        min-height: var(--app-height);
        max-width: 100vw;
        box-shadow: none;
        border-radius: 0;
    }
    #phone-wrapper .phone-content {
        margin: 0;
        max-width: 100%;
    }
}