header.page-header.has-featured-image {
    height: calc(100vh - 50px);
}

h1.page-title {
    padding: 10vh 0;
}

.page-header.has-featured-image .entry-subtitle {
    font-family: "Open Sans";
}

span.entry-subtitle div.invited {
    margin-top: 40px;
    line-height: 0.9em;
    font-size: 0.9em;
}

span.entry-subtitle div.user_invited {
    margin-bottom: 20px;
    line-height: 2;
    font-size: 0.9em;
}

div.welcome-bottom div.text a,
div.welcome-bottom div.text a:hover,
.accept-button,
.accept-button:hover,
div.rcmd-sign span.text, div.rcmd-sign:hover span.text,
div.rcmd-sign.rcmd-checked span.text,
div.requested-post a,
div.requested-post a:hover {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

body.biiom-welcome-page.has-invitation header div.invitation_wrapper {
    font-size: 2.5vh;
}

body.biiom-welcome-page header .entry-subtitle {
    padding-top: 15vh;
}

body.biiom-welcome-page.has-invitation header .entry-subtitle {
    padding: 0;
}

body.biiom-welcome-page p.large {
    font-size: 1.9em;
    font-family: Ubuntu;
    margin-top: -20px;
}

@media only screen and (orientation: landscape) {
    body.biiom-welcome-page.has-invitation header div.invitation_wrapper {
        font-size: 2.1vw;
        line-height: 3vw;
    }
}

div.sub_wrapper {
    padding-bottom: 20px;
}

.accept-button {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: solid white 2px;
    display: inline-flex;
    margin: 0;
    padding: 10px;
    width: 60vw;
    color: white;
	background-color: #fff;
}

.accept-button:hover {
    background-color: rgba(0, 0, 0, 0.36);
    cursor: pointer;
    color: white;
}

.accept-button span.sign {
    width: 20%;
}

.accept-button span.sign-add {
    width: 20%;
    color: #5f1544;
}

.accept-button span.text {
    width: 80%;
}

.accept-button.biiom-lwa-modal {
    padding: 5px 0;
    margin-top: 40px;
    justify-content: center;
}

.accept-button.biiom-lwa-modal span.text {
    color: #010101;
}

span.sign {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

div.welcome-friends div.label.green > span.sign,
.accept-button span.sign {
    background: #3ebfb6;
    -webkit-mask: url("../img/tick.png") center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask: url("../img/tick.png") center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

body.biiom-welcome-page div.entry-content {
    margin-left: 0;
    margin-right: 0;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}

div.requested-post a {
    color: white;
}

div.requested-post a:hover {
    color: #ddd;
}

/*region Register*/
.br-welcome-register {
    text-align: center;
    font-family: "Courier New", Courier, monospace;
    font-size: 20px;
    color: #303030;
    position: relative;
}

.register-inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 320px;
    width: 80vw;
    margin: 0 auto 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}

.register-inputs #user_email,
#biiom_user_email, #biiom_password {
    font-size: 1em;
    border: 1px solid #303030;
    caret-color: #7f7f7f;
    color: #7f7f7f;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    padding: 10px;
    background-color: #eeeeee;
}

.register-inputs .btn {
    height: 50px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-left: 10px;
    /*background-color: #a9a9a9;*/
    font-size: 1.1em;
    line-height: 1.1em !important;
    background-color: #ff4d55;
}

.register-inputs .btn:hover,
.register-inputs .btn:focus,
.register-inputs .btn:active {
    background-color: #ff4d55;
}

.br-welcome-register .back {
    font-size: 0.9em;
}

.br-welcome-register .back:hover {
    text-decoration: underline;
    cursor: pointer;
}

.result {
    margin: 0 auto 0 auto;
    text-align: center;
    font-size: 1.5em;
    color: green;
    padding: 30px;
    background-color: #abce7780;
}

/*endregion*/

/* region Rcmd sign (add-rcmd)*/
div.rcmd-form {
    max-width: calc(236 * (100vw - 320px) / 448 + 300px);
    width: 100%;
    margin: 30px auto;
    color: #ff4d55;
}

div.rcmd-sign {
    display: inline-block;
    width: 50%;
    position: relative;
    text-align: left;
}

div.rcmd-sign:hover,
div.rcmd-sign:focus,
div.rcmd-sign:active {
    color: #ff4d55;
}

div.rcmd-sign span.text {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    left: calc(24 * (100vw - 320px) / 448 + 41px);
    font-size: calc(14 * (100vw - 320px) / 448 + 10px);
    white-space: nowrap;
    border: #ff4d55 1px solid;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 10px;
}

div.rcmd-sign:hover {
    cursor: pointer;
}

div.rcmd-sign.rcmd-checked:hover span.text {
    background-color: white;
    color: #4f4f4f;
}

div.rcmd-sign:hover span.text {
    background-color: transparent;
    color: white;
}

div.rcmd-sign.rcmd-checked span.text {
    background-color: white;
    color: #4f4f4f;
}

div.rcmd-sign.rcmd-checked:hover .thumbs-down-blank,
div.rcmd-sign.rcmd-checked:hover .thumbs-up-blank,
div.rcmd-sign:hover .thumbs-down-blank,
div.rcmd-sign:hover .thumbs-up-blank {
    color: rgba(255, 255, 255, 1);
}

div.rcmd-sign.rcmd-checked .thumbs-down-blank,
div.rcmd-sign.rcmd-checked .thumbs-up-blank {
    color: white;
}

div.rcmd-sign.rcmd-checked .thumbs-down-blank:before {
    content: "\e901";
}

div.rcmd-sign.rcmd-checked .thumbs-up-blank:before {
    content: "\e903";
}

div.rcmd-sign i {
    font-size: calc(24 * (100vw - 320px) / 448 + 40px);
}

div.rcmd-sign:hover span.text {
    background-color: rgba(255, 77, 85, 1);
    color: white;
}

div.rcmd-sign:hover .thumbs-down-blank,
div.rcmd-sign:hover .thumbs-up-blank {
    color: rgba(255, 77, 85, 1);
}

div.rcmd-sign.rcmd-checked:hover .thumbs-down-blank,
div.rcmd-sign.rcmd-checked:hover .thumbs-up-blank {
    color: rgba(255, 77, 85, 1);
}

div.rcmd-sign:hover .thumbs-down-blank:before {
    content: "\e901";
}

div.rcmd-sign:hover .thumbs-up-blank:before {
    content: "\e903";
}

/* endregion */

.biiom-welcome-page div.br-social-links a.btn {
    margin: 10px 20px;
}

.biiom-welcome-page div.br-social-links a.btn.br-google {
    background: transparent;
    border: solid #e3e3e3 1px;
    box-sizing: content-box;
}

.biiom-welcome-page div.br-social-links a.btn.br-google:hover,
.biiom-welcome-page div.br-social-links a.btn.br-google:active,
.biiom-welcome-page div.br-social-links a.btn.br-google:focus {
    background: #e3e3e3;
}

.biiom-welcome-page div.br-social-links a.btn.br-google > img {
    padding: 10px;
}


.page-template-front_page .entry-header {
    color: white;
    padding-top: 0;
    padding-bottom: 0;
}

/*region Front page header*/
.page-template-front_page .entry-header div.text,
.page-template-front_page .entry-header div.image,
.page-template-front_page .entry-header div.mobile {
    z-index: 999;
    font-size: 5vw;
    width: 95%;
    padding-bottom: 4vh;
}

.page-template-front_page .entry-header h1 {
    color: white;
    font-size: 10vw;
    z-index: 999;
    padding-bottom: 4vh;
}

.page-template-front_page .entry-header .image,
.page-template-front_page .entry-header .card {
    display: none;
}

.page-template-front_page .entry-header div.mobile {
    width: 100%;
    margin: 2vh 0;
}

.page-template-front_page .entry-header div.mobile div.you-avatar,
.page-template-front_page .entry-header div.mobile div.avatar {
    background-color: white;
    color: #ff4d58;
    width: 16vw;
    height: 16vw;
    border-radius: 8vw;
    position: relative;
}

.page-template-front_page .entry-header div.mobile div.you-avatar span {
    font-family: "Comic Sans MS";
    font-size: 8vw;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    -moz-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    -o-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
}

.page-template-front_page .entry-header div.mobile div.you-avatar,
.page-template-front_page .entry-header div.mobile div.arrow-left,
.page-template-front_page .entry-header div.mobile div.avatar {
    display: inline-block;
}

.page-template-front_page .entry-header div.mobile .left,
.page-template-front_page .entry-header div.mobile .center,
.page-template-front_page .entry-header div.mobile .right {
    width: 33%;
    display: inline-block;
}

.page-template-front_page .entry-header div.mobile .left {
    text-align: right;
}

.page-template-front_page .entry-header div.mobile .right {
    text-align: left;
}

.page-template-front_page .entry-header div.mobile .center {
    position: relative;
    height: 16vw;
}

.page-template-front_page .entry-header div.mobile .arrow-left {
    background-image: url('../img/arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position-x: 100%;
    position: absolute;
    top: 50%;
    right: 0;
    height: 50%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.page-template-front_page .entry-header div.mobile .arrow-down {
    background-image: url('../img/arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position-y: 50%;
    -webkit-transform: rotate(270deg) translateY(-50%);
    -moz-transform: rotate(270deg) translateY(-50%);
    -ms-transform: rotate(270deg) translateY(-50%);
    -o-transform: rotate(270deg) translateY(-50%);
    transform: rotate(270deg) translateY(-50%);
    display: flex;
    height: 8vh;
    width: 8vh;
    position: absolute;
    left: calc(33% - 8vw);
}

.page-template-front_page .entry-header div.mobile .arrow__down {
    position: relative;
    width: 100%;
    height: 10vh;
}

/*endregion*/
/*region Welcome Friends*/
div.welcome-friends {
    position: relative;
}

div.welcome-friends > img.friends-lg {
    display: none;
}

div.welcome-friends div.label.red {
    background-color: #f6787e;
}

div.welcome-friends div.label.green {
    background-color: #63d3bc;
}

div.welcome-friends div.label.red > span.sign {
    background-image: url("../img/thumb-up.png");
}

div.welcome-friends div.label {
    display: block;
    color: white;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    width: 100%;
    padding: 10px;
    font-size: 3.1vh;
    position: relative;
    line-height: 2.1vh;
}

div.welcome-friends div.label span.sign {
    width: 15%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    line-height: 8vh;
}

div.welcome-friends div.label span.sign > i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

div.welcome-friends div.label span.text {
    display: block;
    line-height: 5vh;
    padding-left: 17%;
    padding-top: 9%;
    padding-bottom: 9%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    font-weight: 400;
}

/*endregion*/

/*region Bottom */
div.can-recommend {
    background-image: url("../img/bg_1.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: 50%;
    background-color: #495058;
    width: 100%;
}

div.can-recommend div {
    color: white;
    width: 70%;
    margin: auto;
    text-align: center;
}

div.can-recommend div:first-of-type {
    font-size: 4.0vh;
    padding-top: 5.5vh;
    padding-bottom: 1.6vh;
    width: 80%;
}

div.can-recommend div:last-of-type {
    padding-bottom: 7.5vh;
    font-size: 3.0vh;
    width: 70%;
    padding-top: 2vh;
}

div.welcome-bottom {
    margin-top: 3vw;
}

div.welcome-bottom div {
    text-align: center;
    margin: auto;
    width: 85%;
}

div.welcome-bottom div.text {
    padding: 4vh 0 1vh 0;
    font-size: 3vh;
}

div.welcome-bottom div.text a {
    text-decoration: underline;
    color: #484848;
}

div.welcome-bottom div.button > a {
    font-size: 3vh;
    letter-spacing: 1.5px;
    padding: 10px 30px;
    margin-top: 20px;
}

/*endregion*/

@media only screen and (min-width: 480px) {
    header.page-header.has-featured-image {
        height: auto;
    }

    body.biiom-welcome-page span.entry-subtitle {
        padding: 30px 0 10px 0;
    }

    .page-header.has-featured-image .entry-subtitle {
        font-size: 1.8em;
        letter-spacing: 2px;
        font-weight: 100 !important;
        line-height: 1.35em;
        width: 70%;
    }

    header h1.page-title,
    header span.entry-subtitle {
        margin: auto;

        font-size: 76px;
    }

    span.entry-subtitle div.invited {
        margin-top: 50px;
        line-height: 0.9em;
        font-size: 0.8em;
    }

    span.entry-subtitle div.user_invited {
        margin-bottom: 20px;
        line-height: 2;
        font-size: 0.8em;
    }

    .accept-button {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        border: solid white 2px;
        display: inline-flex;
        margin: auto;
        padding: 10px;
        width: 70%;
        background-color: #fff;
    }

    .accept-button:hover {
        background-color: rgba(255, 255, 255, 0.9);
        cursor: pointer;
    }

    @media only screen and (orientation: landscape) {
        h1.page-title {
            padding: 0;
        }

        body.biiom-welcome-page.has-invitation span.entry-subtitle {
            padding: 20px 0 0 0;
        }

        span.entry-subtitle div.invited {
            margin-top: 9vh;
        }

        span.entry-subtitle div.user_invited {
            margin-bottom: 2vh;
        }

        .accept-button {
            width: 26vw;
            margin-top: 20px;
        }
    }

    .accept-button span.text {
        font-size: 24px;
        letter-spacing: 1px;
        font-weight: 400;
        color: #5f1544;
    }

    /*region Register*/
    .br-welcome-register {
        font-size: 1.8em;
        font-weight: 400;
        padding: 0 4vw;
    }

    .register-inputs {
        margin-bottom: 1vh;
        width: 80vw;
    }

    .register-inputs #user_email,
    #biiom_user_email, #biiom_password {
        width: 80%;
        height: 70px;
        font-size: 1.1em;
        border: 1px solid #333;
        padding: 20px;
        color: #333;
        caret-color: #333;
    }

    .register-inputs .btn {
        width: 20%;
        height: 70px;
        margin-left: 0;
        -webkit-border-radius: 1px;
        -moz-border-radius: 1px;
        border-radius: 1px;
        background-color: #ff4d55;
    }

    .register-inputs .btn:hover,
    .register-inputs .btn:focus,
    .register-inputs .btn:active {
        background-color: #c24048;
    }

    .result {
        margin: 0 auto 0 auto;
        text-align: center;
        font-size: 1.5em;
        color: green;
        padding: 30px;
        background-color: #abce7780;
    }

    /*endregion*/
    /*region Rcmd sign*/
    .biiom-welcome-page .rcmd {
        max-width: 700px;
        overflow: hidden;
        font-size: 20px;
        align-items: center;
        text-align: center;
        justify-content: center;
        margin: 0 auto 30px auto;
    }

    .biiom-welcome-page .rcmd i {
        margin-right: 20%;
    }

    .biiom-welcome-page .rcmd .rcmd-text {
        padding-bottom: 5px;
        padding-right: 20px;
        padding-left: 20px;
        font-size: 20px;
    }

    /*endregion*/
    /* region Front page header */
    .biiom-welcome-page .page-template-front_page .mobile {
        display: none;
    }

    .page-template-front_page .entry-header {
        color: white;
        padding-top: 0;
        padding-bottom: 0;
    }

    .page-template-front_page .entry-header h1,
    .page-template-front_page .entry-header div.text,
    .page-template-front_page .entry-header div.image {
        z-index: 999;
        color: white;
        font-size: 54px;
    }

    .page-template-front_page .entry-header div.text {
        padding: 30px 0;
        font-size: 22px;
        max-height: 220px;
        width: 65%;
    }

    .page-template-front_page .entry-header div.image {
        display: inline;
        padding-bottom: 0;
    }

    .page-template-front_page header.entry-header div.card {
        display: flex;
        position: absolute;
        top: 330px;
        left: calc(46vw - 580px);
        width: 200px;
        border-color: transparent;
        color: white;
        background-color: transparent;
        z-index: 99;
    }

    header.entry-header div.card div.arrow {
        background-color: transparent;
    }

    /*endregion*/
    /*region Welcome Friends*/
    div.welcome-friends {
        position: relative;
    }

    div.welcome-friends > img.friends-lg {
        display: inline;
    }

    div.welcome-friends div.label {
        position: absolute;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        width: 30%;
        font-size: 20px;
        display: flex;
        padding: 2vw 0 2vw 1vw;
        line-height: 1.4em;
    }

    div.welcome-friends div.label span.sign {
        position: relative;
        display: flex;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
        line-height: 1.4em;
    }

    div.welcome-friends div.label span.text {
        width: 80%;
        padding-left: 3%;
        font-size: calc(10vw / 6 - 3px);
        line-height: 1.4em;
        padding-bottom: 0.8vh;
        padding-top: 0.8vh;
    }

    div.welcome-friends div.label.red {
        top: 55%;
        left: 10%;
    }

    div.welcome-friends div.label.green {
        top: 35%;
        right: 10%;
    }

    div.can-recommend {
        height: 17.4vw;
    }

    div.can-recommend div {
        width: 60%;
    }

    div.can-recommend div:first-of-type {
        font-size: calc(7 * (100vw - 480px) / 355 + 12px); /*(100vw - 480px)/(1900 - 480)*(40 - 12) + 12px*/
        padding-top: 2.5vw;
        padding-bottom: 0.6vw;
    }

    div.can-recommend div:last-of-type {
        font-size: calc(11 * (100vw - 480px) / 710 + 8px); /*(100vw - 480px)/(1900 - 480)*(30 - 8) + 8px*/
        width: 60%;
    }

    div.welcome-bottom div {
        width: 80%;
    }

    div.welcome-bottom div.text {
        font-size: calc(22 * (10vw - 72px) / 118 + 14px);
    }

    div.welcome-bottom div.text a {
        color: #ff4d58;
    }

    div.welcome-bottom div.text a:hover,
    div.welcome-bottom div.text a:active,
    div.welcome-bottom div.text a:focus {
        color: #484848;
    }

    div.welcome-bottom div.button > a {
        font-size: calc(16 * (10vw - 48px) / 142 + 10px);
        letter-spacing: 2px;
    }

    /*endregion*/
    .page-header.has-featured-image {
        background: #bc43e3 !important;
    }

    .page-title > span {
        font-family: Ubuntu;
        font-weight: 300;
        font-size: 1.1em;
        line-height: 10px;
    }

    div.br-social-links a.btn.only-sign,
    div.br-social-links a.btn.only-sign:hover {
        width: 75px;
        height: 75px;
        margin: 10px 30px 10px 30px;
    }

    div.br-social-links a.br-facebook.btn.only-sign > span {
        font-size: 65px;
    }

    div.br-social-links a.br-vkontakte.btn.only-sign > span {
        font-size: 60px;
    }

    div.br-social-links a.br-facebook.btn.only-sign > span, div.br-social-links a.br-facebook.btn.only-sign:hover > span, a.br-vkontakte.btn.only-sign:hover > span {
        font-size: 65px;
    }
}

@media only screen and (min-width: 740px) {
    body.biiom-welcome-page header h1.page-title {
        font-size: 7vw;
    }

    .page-title > span {
        font-size: 1em;
    }
}

@media only screen and (min-width: 769px) {
    .register-inputs {
        width: 60vw;
    }

    /*region FrontPage header*/
    .page-template-front_page .entry-header div.text {
        padding: 30px 0;
        font-size: 28px;
        max-height: 220px;
        width: 65%;
    }

    .page-template-front_page header.entry-header div.card {
        transform: scale(0.6);
        top: 350px;
        left: calc(20 * (100vw - 769px) / (900 - 769) - 35px);
    }

    .page-template-front_page .entry-header div.image {
        width: 70%;
    }

    /*endregion*/
    /*region Rcmd sign*/
    div.rcmd-form {
        max-width: 500px;
    }

    div.rcmd-sign i {
        font-size: 64px;
    }

    div.rcmd-sign span.text {
        left: 65px;
        font-size: 24px;
    }

    div.rcmd-sign.rcmd-checked:hover span.text {
        background-color: rgba(255, 255, 255, 0.75);
        color: #595959;
    }

    /*endregion*/
}

@media only screen and (min-width: 900px) {
    .page-template-front_page .entry-header div.text {
        padding: 30px;
        font-size: calc(6 * (100vw - 900px) / 300 + 28px);
    }

    .page-template-front_page header.entry-header div.card {
        transform: scale(0.8);
        top: calc((100vw - 900px) / 30 + 370px);
        left: calc((100vw - 900px) / 5 - 30px);
        font-size: 0.8rem;
    }
}

@media only screen and (min-width: 1200px) {
    body.biiom-welcome-page header h1.page-title {
        font-size: 62px;
        max-width: 1000px;
        padding-bottom: 20px;
    }

    body.biiom-welcome-page .page-header.has-featured-image .entry-subtitle {
        width: 60vw;
    }

    .register-inputs {
        width: 40vw;
        padding-left: 0;
        padding-right: 0;
    }

    .register-inputs .btn {
        max-width: 120px;
        margin-left: 20px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
    }


    .page-template-front_page .entry-header div.text {
        padding: 60px 90px;
        font-size: 26px;
        max-width: 900px;
    }

    .page-template-front_page header.entry-header div.card {
        top: 370px;
        left: calc(48vw - 580px);
        font-size: 0.9rem;
    }
}

