html, body {
    font: 16px Roboto, sans-serif;
    background-color: #F4F5F9;
    color: #222;
    padding: 0;
    margin: 0;
}

a {
    color: rgb(4, 76, 159);
}

label {
    color: #555;
}

#loader {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -100px;
}

a:hover {
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-weight: normal;
}

h2, h3, h4 {
    margin: 26px 0 12px;
    margin-left: -26px;
}

h1 {
    text-align: left;
    margin: 0 0 0 16px;
    font-size: 36px;
    float: left;
}

h2 {
    font-size: 40px;
    margin: 48px 0 12px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

h4 > span {
    margin-left: 16px;
    font-size: 14px;
    color: #F92F62;
}

h5 {
    font-size: 16px;
    font-weight: bold;
    margin: 26px 0;
}

p {
    margin: 0 0 12px;
}

small {
    color: #333;
    font-size: 12px;
}

ul {
    margin: 0;
}

ul li {
    display: inline-block;
    margin-left: 20px;
    list-style: none;
}

ul li:first-child {
    margin-left: 0;
}

#main {
    background-color: #fff;
    width: 1000px;
    margin: 26px auto;
    padding: 24px 48px;
    border-radius: 32px;
}

#main #header {
    text-align: center;
    font-size: 20px;
    line-height: 76px;
}

#main #header a {
    text-decoration: none;
    color: #303036;
}

#main #header ul {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style: none;
}

#main #header #connect-1, #main #header #logout, #main #header #logout-button {
    float: right;
    display: block;
}

#main #header #logout-button, .poll-button {
    font-size: 16px;
    outline: none;
    border: 0;
    background-color: #000;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    border-radius: 32px;
    margin-top: 18px;
    padding: 10px 20px;
}

#main #header #connect-1 img {
    margin-top: 20px;
    width: 36px;
    height: 36px;
}

#main #connect {
    width: calc(50% - 16px);
    height: 440px;
    position: relative;
    float: left;
}

#main #connect h2 {
    margin-top: 26px;
}

#main #connect #funnel {
    position: absolute;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(45deg, #2ECC71, #6CCC94);
    padding: 36px;
    font-size: 20px;
}

#main #connect #funnel p {
    margin: 0 0 24px;
}

#main #connect #funnel > div {
    height: 36px;
}

#main #connect #funnel #connect-2 {
    outline: none;
    border: 0;
    background-color: #000;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    border-radius: 32px;
    padding: 10px 20px;
    float: left
}

#main #connect #funnel #by-telegram {
    float: left;
    display: block;
    height: 36px;
    font-size: 12px;
    margin-left: 16px;
    border-left: 1px solid #555;
    color: #333;
    padding-left: 16px;
    text-decoration: none;
}

#main #example {
    width: calc(50% - 16px);
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(45deg, #303036, #44444C);
    position: relative;
    height: 440px;
    float: right;
}

#main #example img {
    position: absolute;
    left: calc(50% - 185px);
    bottom: 0;
}

#main #disclaimer {
    padding-top: 8px;
    width: calc(50% - 16px);
    float: right;
    font-size: 10px;
    color: #7F7F7F;
}

#main #prices {
    margin-top: 24px;
    border-radius: 16px;
    background: linear-gradient(45deg, #303036, #44444C);
    padding: 36px 36px 96px;
    color: #fff;
}

#main #payment-block {
    color: #fff;
}

#main #prices p, #main #payment-block p {
    margin-bottom: 24px;
}

#main #payment-block .price {
    display: inline-block;
    cursor: pointer;
}

#main #prices .price {
    float: left;
}

#main #poll-block input {
    margin-top: 0;
}

.price {
    white-space: nowrap;
    display: block;
    border-radius: 12px;
    padding: 16px;
    background-color: #4e4e54;
    width: calc(25% - 44px);
    margin-left: 16px;
    font-family: "IBM Plex Sans", sans-serif;
}

.price:first-of-type {
    width: calc(25% - 44px);
    margin-left: 0;
}

.price .amount {
    font-size: 40px;
    font-weight: 600;
}

.price .currency, .price .description {
    color: #8A94A7;
}

.price .currency {
    font-size: 36px;
    font-weight: 600;
    margin: 0 6px 0 3px;
}

.price .description {
    font-size: 14px;
    font-weight: normal;
}

.price.popular, .price.popular .currency, .price.popular .description {
    background: #2ECC71;
    color: #fff;
}

#footer {
    margin-top: 24px;
}

#footer .links {
    float: right;
}

#footer, #footer a {
    font-size: 12px;
    color: #7F7F7F;
}

#footer #footer-1 {
    line-height: 76px;
}

#footer #footer-2 {
    margin-top: 24px;
}

#footer #footer-2 #legal {
    float: left;
    display: flex;
    align-items: center;
}

.logo {
    float: left;
}

.devices-table {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    height: 264px;
    width: 100%;
}

.devices-table .clients {
    margin-top: 26px;
}

.devices-table .client {
    text-decoration: none;
    color: #333;
    border: 1px solid #fff;
    display: inline-block;
    padding: 32px;
    margin: 16px;
    width: calc(20% - 96px);
    text-align: center;
}

.devices-table .client:hover {
    border-radius: 5px;
    border: 1px solid #ddd;
}

.devices-table .client:first-child {
    margin-left: 0;
}

.devices-table .client:last-child {
    margin-right: 0;
}

.screen, .popup, #confirmation-code-block, #payment-block, #key-block, #no-key-block, #renewal-block, #payment-in-process-block, #poll-block {
    display: none;
}

.pre {
    font-family: 'Courier New', Courier, monospace;
    border: 1px solid #E0E0E2;
    background-color: #F9F9FA;
    display: block;
    width: calc(100% - 34px);
    margin: 6px 0 3px;
    padding: 16px;
}

.pre.copied {
    border: 1px solid #00cc00;
    background-color: #EFFFC9;
}

.warning {
    border: 1px solid #BE1931;
}

.clear {
    clear: both;
}

#login {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.75);
}

#login .window {
    border-radius: 16px;
    font-size: 18px;
    padding: 20px;
    background-color: #fff;
    width: 40%;
    position: fixed;
    top: 26px;
    left: 30%;
    z-index: 10001;
}

#login p {
    margin: 20px 0;
}

#login input {
    border-radius: 16px;
    outline: none;
    font-size: 22px;
}

#login input[type="button"] {
    border: 0;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    padding: 10px 20px;
}

#login input[type="button"]:disabled {
    background-color: #555;
}

#login input[type="text"] {
    text-transform: lowercase;
    padding: 10px 6px;
}

#login #email, #login #confirm-button {
    margin-top: 20px;
}

/*!
 * Toastify js 1.12.0
 * https://github.com/apvarun/toastify-js
 * @license MIT licensed
 *
 * Copyright (C) 2018 Varun A P
 */

.toastify {
    padding: 12px 20px;
    color: #ffffff;
    display: inline-block;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
    background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
    background: linear-gradient(135deg, #73a5ff, #5477f5);
    position: fixed;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    max-width: calc(50% - 20px);
    z-index: 2147483647;
}

.toastify.on {
    opacity: 1;
}

.toast-close {
    background: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    opacity: 0.4;
    padding: 0 5px;
}

.toastify-right {
    right: 15px;
}

.toastify-left {
    left: 15px;
}

.toastify-top {
    top: -150px;
}

.toastify-bottom {
    bottom: -150px;
}

.toastify-rounded {
    border-radius: 25px;
}

.toastify-avatar {
    width: 1.5em;
    height: 1.5em;
    margin: -7px 5px;
    border-radius: 2px;
}

.toastify-center {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: fit-content;
    max-width: -moz-fit-content;
}

@media only screen and (max-width: 360px) {
    .toastify-right, .toastify-left {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        max-width: fit-content;
    }
}

@media screen and (max-width: 1100px) {
    h2, h3, h4 {
        margin-left: 0;
    }

    #main {
        width: calc(100% - 32px);
        padding: 16px;
        margin: 0;
        border-radius: 0;
    }

    #main #header {
        text-align: center;
        line-height: normal;
    }

    #main #header #connect-1, #example, #disclaimer, h1 {
        display: none;
    }

    #main #header #logout-button {
        float: none;
        margin-left: calc(50% - 50px);
    }

    #payment-block .price:first-child, #payment-block .price {
        width: calc(50% - 48px);
        margin: 8px;
    }

    #main #connect {
        width: 100%;
        height: auto;
        float: none;
    }

    #main #connect #funnel {
        text-align: center;
        position: relative;
        padding: 24px;
    }
    
    #main #connect #funnel > div {
        height: auto;
    }

    #main #connect #funnel #connect-2 {
        float: none;
        font-size: 20px;
    }

    #main #connect #funnel #by-telegram {
        float: none;
        border: 0;
        margin: 12px 0 0;
        padding: 0;
    }

    #prices, #payment-block  {
        text-align: center;
    }

    .price .description {
        display: block;
    }

    #download p {
        text-align: center;
    }

    #footer .logo {
        display: none;
    }

    #footer .links {
        float: none;
        padding: 0;
    }

    #footer #footer-1 {
        line-height: normal;
    }

    #footer #footer-2 #legal {
        float: none;
    }

    .devices-table .client {
        width: 75px;
    }

    h2 {
        text-align: center;
        margin: 26px 0 46px;
    }

    .logo {
        float: none;
        margin: 0 auto;
        width: 76px;
    }

    #login .window {
        border-radius: 0;
        padding: 12px;
        background-color: #fff;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10001;
    }
}

@media screen and (max-width: 800px) {
    #main #connect #funnel p {
        display: none;
    }

    #prices {
        display: none;
    }

    #payment-block .price:first-child, #payment-block .price {
        width: calc(100% - 48px);
        margin: 8px 0;
    }
}