@import url(/css/fonts.css?family=Lato:300,400,700&display=swap);
body{
    background-color:#fff;
    padding:0;
    margin:0;
    font-family:Lato,sans-serif;
    font-style:normal;
    font-weight:400;
    font-size:17px;
    line-height:23px;
    letter-spacing:.02em;
    color:#222;
    display: flex;
    flex-direction: column;
    height: 100vh;
}
body > .content {
    padding: 50px 16px;
}
.error404 {
    width: 40%;
    margin: 0 auto;
}
a {
    color: #6989FF;
}
.btn {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    text-align: center;
    line-height: 28px;
}
.btn-primary:not(:disabled) {
    background-color: #6989FF;
    color: white;
}
.btn-primary:disabled,
.btn-primary:hover:disabled {
    background-color: #C6D0F7;
    color: #f2f2f2;
    cursor: default;
}
.btn-primary:hover:not(:disabled) {
    background-color: #5C77D6;
}
.btn-secondary:not(:disabled) {
    background-color: #F3F5F8;
    color: #404040;
}
.btn-secondary:disabled,
.btn-secondary:hover:disabled {
    background-color: #F3F5F8;
    color: #aaaaaa;
    cursor: default;
}
.btn-secondary:hover:not(:disabled) {
    background-color: #EEEEEE;
}
.btn-destructive:not(:disabled) {
    background-color: #EF5350;
    color: white;
}
.btn-destructive:disabled,
.btn-destructive:hover:disabled {
    background-color: #ef7e7b;
    color: #f2f2f2;
    cursor: default;
}
.btn-destructive:hover:not(:disabled) {
    background-color: #ed3734;
}
.topnav {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    z-index: 100;
    background-color: #eeeeee;
    padding-top: 16px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
}
.topnav > * {
    margin-left: 16px;
}
.topnav > .controls-wrapper > * {
    margin-bottom: 16px;
}
.topnav > .controls-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.topnav .language-selectors-wrapper,
.topnav .premium-signin-wrapper {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
}
.topnav .premium-signin-wrapper > * {
    margin-right: 16px;
}
.language-selectors-wrapper .arrow {
    width: 24px;
    height: 24px;
    background-position: 0;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 16px;
    margin-right: 16px;
}
.topnav .logo {
    display: block;
    width: 96px;
    height: 36px;
    background-image: url("/img/logo-big.svg?v=1");
    background-position: 0;
    background-repeat: no-repeat;
    background-size: contain;
}
.topnav .dropdown {
    position: relative;
}
.dropdown .dropbtn {
    border: none;
    outline: none;
    margin: 0;
}
.dropdown:hover .dropbtn {
    border-radius: 10px 10px 0 0;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border-radius: 0 0 10px 10px;
    width: 100%;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content a:last-child {
    border-radius: 0 0 10px 10px;
}
.dropdown-content a:hover {
    background-color: #ddd;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.topnav .btn-login {
    background-color: #6989FF;
    color: #f2f2f2;
}
.topnav .btn-login:hover {
    background-color: #5C77D6;
}
.topnav .btn-premium {
    background-color: #404040;
    color: white;
}
.topnav .btn-premium:hover {
    background-color: #595959;
}
.topnav .btn-profile {
    background-color: white;
}
.language-selector .title-and-language {
    display: flex;
    flex-direction: row;
}
.language-selector .title {
    margin-right: 12px;
    color: #979797;
    word-wrap: break-word;
}
.language-selector .flag {
    width: 24px;
    height: 24px;
    background-position: 0;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 12px;
}
.language-selector .btn {
    background-color: white;
}

/* The Modal */
.modal {
    box-sizing: border-box;
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 200; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal .modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 12px;
    box-sizing: border-box;
    overflow-y: auto;
}
.modal .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.modal .close:hover,
.modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Sign in form */
.account-form {
    width: 320px;
}
.account-form input[type=text],
.account-form input[type=email],
.account-form input[type=password] {
    margin: 8px 0;
    box-sizing: border-box;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e6e9ee;
    background-color: #fff;
    width: 100%;
    display: inline-block;
    font-size: 17px;
    /*outline: none;*/
}
.account-form input::placeholder {
    color: #979797;
}
.account-form input.code {
    font-size: 24px;
}
.account-form input.code::placeholder {
    font-size: 24px;
    color: #dedede;
}
.account-form button {
    font-size: 20px;
    padding: 16px 20px;
    margin: 8px 0;
    width: 100%;
}
.account-form .error,
.account-form .success {
    text-align: left;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
}
.account-form .error {
    color: #EF5350;
}
.account-form .success {
    color: #58C581;
}
.legal,
.account-form .resend-code-countdown {
    font-size: 17px;
    color: #979797;
}
/* Premium */
.premium-features-wrapper {
    text-align: left;
    display: inline-block;
    margin: 16px auto;
}
.premium-products-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.premium-product {
    cursor: default;
    box-shadow: 0 0 16px 0 rgba(0,0,0,0.2);
    transition: 0.1s;
    border-radius: 10px;
    margin: 32px;
    min-width: 15%;
}
.premium-product:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.premium-product .premium-product-header {
    padding: 8px;
    border-radius: 10px 10px 0 0;
    color: white;
    font-weight: bold;
}
.premium-product .premium-product-header-popular {
    background: #FDB141;
}
.premium-product .premium-product-header-new {
    background: #58C581;
}
.premium-product .premium-product-header-other {
    background: #aaaaaa;
}
.premium-product .premium-product-content {
    display: flex;
    flex-direction: column;
    padding: 16px;
    text-align: center;
}
.premium-product-duration-and-language,
.premium-product-price-and-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.premium-product-price {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: baseline;
}
.premium-product .language-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #979797;
}
.premium-product .duration {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
}
.premium-product-content .price-main {
    font-size: 32px;
}
.premium-product-content .price-secondary {
    font-size: 28px;
}
.premium-product-content .price-main .price-and-currency .price {
    font-weight: bold;
}
.premium-product-content .price-secondary,
.premium-product-content .premium-product-message {
    color: #b0b0b0;
}
.premium-product-content .premium-product-message {
     margin-top: 4px;
 }
.premium-products-wrapper .strikethrough {
    color: #DF7A9A;
    text-decoration: line-through;
}
.premium-products-wrapper .btn-primary {
    display: block;
    font-size:20px;
    font-weight: bold;
    margin-top: 16px;
    padding: 10px 16px;
    width: 100%;
}
.premium-products-wrapper .btn-buy-selected {
    display: none;
}
.premium-feature {
    display: block;
    white-space: nowrap;
    margin: 4px 32px;
}
.premium-feature .feature-icon {
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    background-position: 0;
    background-repeat: no-repeat;
    background-size: contain;
}
.premium-feature .feature-title {
    display: inline-block;
    vertical-align: middle;
    white-space: break-spaces;
    margin-left: 12px;
}
/* Card */
.payment-title {
    font-weight: bold;
    font-size: 24px;
}
.payment-subtitle {
    color: #979797;
}
form.payment-form {
    margin: 32px;
    width: 337px;
}
form.payment-form .payment-buttons button {
    width: 100%;
    display: block;
    margin: 16px 0 0 0;
    box-sizing: border-box;
    font-size: 20px;
    padding: 16px 20px;
}
.bank-card {
    text-align: left;
    padding: 20px;
    border-radius: 12px;
    background-color: #404040;
    box-sizing: border-box;
    color: white;
    width: 100%;
    height: 212px;
}
.bank-card .card-number,
.bank-card .bottom-part {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.bank-card .title {
    white-space: nowrap;
    margin: 8px 0;
}
.bank-card .supported-cards {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.bank-card .supported-cards div {
    display: inline-block;
    margin: 0 0 0 4px;
}
.bank-card .mir {
    background-image: url("/img/card-mir.svg");
    background-size: 100% 100%;
    width: 40px;
    height: 12px;
}
.bank-card .visa {
    background-image: url("/img/card-visa.svg");
    background-size: 100% 100%;
    width: 37px;
    height: 12px;
}
.bank-card .mastercard {
    background-image: url("/img/card-mc.svg");
    background-size: 100% 100%;
    width: 20px;
    height: 12px;
}
.bank-card input {
    padding: 20px 8px;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    height: 24px;
    color: #404040;
    font-size: 24px;
}
.bank-card input:focus {
    outline: none;
    box-shadow: 0 0 10px #719ECE;
}
.bank-card input.card-number-input {
    width: 100%;
    box-sizing: border-box;
}
.bank-card input.card-month-input,
.bank-card input.card-year-input {
    width: 64px;
}
.bank-card input.card-cvc-input {
    width: 72px;
}
/* Purchase history */
.purchase-history {
    display: flex;
    justify-content: center;
}
.purchase-history table {
    border: none;
}
.purchase-history td {
    padding-bottom: 16px;
}
.purchase-history .app-icon {
    display: inline-block;
    vertical-align: middle;
    width: 48px;
    height: 48px;
    background-position: 0;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 4px;
}
.purchase-history .purchase-details-bottom,
.purchase-history .purchase-refunded,
.purchase-history .purchase-unknown {
    font-size: 17px;
    color: #AAAAAA;
}
.purchase-history td.purchase-details {
    padding-left: 16px;
}
.purchase-history td.purchase-amount {
    text-align: right;
}
/*FAQ*/
.faq-entry {
    margin: 0 20%;
    text-align: left;
}
.faq-entry .faq-q,
.faq-entry .faq-a {
    display: flex;
    flex-direction: row;
}
.faq-entry .faq-q {
    margin-bottom: 8px;
    background: #f6f6f6;
    border-left: 4px solid #6989FF;
    padding: 8px;
}
.faq-entry .faq-a {
    margin-bottom: 16px;
    border-bottom: 1px solid #cdcdcd;
    padding: 8px 16px 16px 0;
    word-break: break-word;

}
.faq-entry .faq-q-left {
    white-space: nowrap;
    font-weight: bold;
    padding: 0 16px 8px 16px;
}
.faq-entry .faq-a-left {
    white-space: nowrap;
    font-weight: bold;
    border-left: 4px solid #cdcdcd;
    padding: 0 16px 8px 24px;
}
/******/
.header{
    display:flex;
    flex-direction:row;
    justify-content:center;
    padding-bottom:50px;
    box-sizing:border-box
}
.header__left{
    max-width:432px;
    margin-right:73px
}
.header__appName{
    margin-bottom:20px
}
.header__phone{
    border:7px solid #353535;
    border-radius:19.1257px;
    padding:2px;
    width:304.82px;
    height:643.51px;
    background-size:contain;
    background-position:top;
    background-repeat:no-repeat
}
.header__title{
    font-weight:700;
    font-size:36px;
    line-height:50px;
    margin-bottom:15px
}
.footer{
    margin-top:auto;
    background-color:#353535;
    padding:50px 50px 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center
}
.footer__links{
    font-weight:700;
    font-size:14px;
    line-height:17px
}
.footer__links a{
    color:#fff;
    text-decoration:none;
    margin-right:38px;
    display:inline-block
}
.footer__links a:hover{
    opacity:.6
}
.footer__links a:last-child{
    margin-right:0
}
.footer__halfPhone{
    background-color:#353535;
    border:7px solid #828282;
    border-top-left-radius:19.1257px;
    border-top-right-radius:19.1257px;
    border-bottom:0;
    padding:33px 75px 40px;
    margin-top:37px;
    text-align:center
}
.footer__logo{
    margin-bottom:18px
}
.footer__text{
    font-weight:400;
    font-size:11px;
    line-height:20px
}
.footer__text,.footer__text a{
    color:rgba(253,253,255,.4);
}
.footer__text a{
    text-decoration:none
}
.footer__text a:hover{
    opacity:.6
}
.footer__copy{
    margin-top:17px;
    font-weight:400;
    font-size:11px;
    line-height:25px;
    color:rgba(253,253,255,.4);
}
.storesList{
    display:flex;
    flex-wrap: wrap;
    flex-direction:row;
    align-items:center;
    margin-top:30px
}
.storesList__item{
    margin-right:16px
}
.storesList__item a{
    display:block
}
.storesList__item img{
    width:132px;
    height:42px
}
.storesList__item:last-child{
    margin-right:0
}
.installBlock{
    padding:140px 50px;
    display:flex;
    flex-direction:column;
    align-items:center
}
.installBlock__title{
    font-weight:700;
    font-size:36px;
    line-height:50px;
    margin-bottom:15px
}
.installBlock__subtitle{
    font-weight:400;
    font-size:20px;
    line-height:28px;
    margin-bottom:45px
}
.mainBlock{
    background-color:#f6f6f6;
    padding-top:35px;
    padding-bottom:35px;
    margin: 0 -16px;
}
.mainBlock:first-child{
    padding-top:70px
}
.mainBlock__container{
    display:flex;
    flex-direction:row;
    justify-content:center
}
.mainBlock__container.left{
    flex-direction:row-reverse
}
.mainBlock__container.left .mainBlock__text{
    margin-left:70px
}
.mainBlock__container.right{
    flex-direction:row
}
.mainBlock__container.right .mainBlock__text{
    margin-right:70px
}
.mainBlock__icon{
    font-weight:700;
    font-size:36px;
    line-height:50px
}
.mainBlock__title{
    font-weight:700;
    font-size:26px;
    line-height:36px;
    margin-bottom:5px
}
.mainBlock__subtitle{
    font-weight:400;
    font-size:20px;
    line-height:28px;
    max-width:400px
}
.mainBlock .blockPhone{
    border:7px solid #353535;
    border-radius:19px;
    padding:2px;
    width:304.82px;
    height:643.51px;
    background-size:contain;
    background-position:top;
    background-repeat:no-repeat
}
@media (max-width:900px){
    .faq-entry {
        margin: 0 10%;
    }
    .header__left{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        text-align:center;
        margin-right:0
    }
    .topnav .logo {
        margin-left: 50%;
        margin-bottom: 16px;
        transform: translate(-50%, 0);
    }
    .header__right {
        display:none
    }
    .premium-title {
        margin-top: -16px;
    }
    .premium-products-wrapper {
        flex-direction:column;
    }
    .premium-products-wrapper.selectable .btn-buy-selected {
        display: block;
    }
    .premium-products-wrapper.selectable .premium-product {
        margin: 16px 0 8px 0;
        cursor: pointer;
    }
    .premium-products-wrapper.selectable .premium-product.selected {
        border: 4px solid #6989FF;
    }
    .premium-products-wrapper.selectable .premium-product .premium-product-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 16px 16px 16px;
    }
    .premium-products-wrapper.selectable .premium-product .premium-product-header {
        position: relative;
        top: -12px;
        left: 24px;
        width: max-content;
        border-radius: 6px;
        padding: 2px 8px;
    }
    .premium-products-wrapper.selectable .premium-product-duration-and-language {
        flex-direction: column-reverse;
        text-align: left;
    }
    .premium-products-wrapper.selectable .premium-product .language-name {
        margin-bottom: 0;
        margin-top: 6px;
    }
    .premium-products-wrapper.selectable .premium-product .duration {
        margin-bottom: 0;
    }
    .premium-products-wrapper.selectable .premium-product-price {
        flex-direction: row;
        justify-content: right;
    }
    .premium-products-wrapper.selectable .premium-product-price-and-message {
        text-align: right;
        margin-left: 8px;
    }
    .premium-products-wrapper.selectable .premium-product-content .price-main {
        font-size: 22px;
    }
    .premium-products-wrapper.selectable .premium-product-content .price-secondary {
        font-size: 18px;
    }
    .premium-products-wrapper.selectable .premium-product .btn-primary {
        display: none;
    }
    .header__title{
        padding:0 15px;
        font-size:24px;
        line-height:36px;
        margin:0 20px 10px 20px
    }
    .mainBlock__container.left .mainBlock__text{
        margin-left:0
    }
    .mainBlock__container.left{
        flex-direction:column;
        align-items:center
    }
    .mainBlock__container.right .mainBlock__text{
        margin-right:0
    }
    .mainBlock__container.right{
        flex-direction:column;
        align-items:center
    }
    .mainBlock__icon{
        text-align:center;
        margin-bottom:10px
    }
    .mainBlock__title{
        font-size:24px;
        line-height:34px;
        text-align:center
    }
    .mainBlock__subtitle{
        font-size:18px;
        line-height:26px;
        text-align:center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }
}
@media (max-width: 600px) {
    .faq-entry {
        margin: 0;
    }
}
@media (max-width:500px){
    .language-selector .title-and-language {
        flex-direction: column-reverse;
    }
    .language-selector .title {
        font-size: 12px;
        margin: 0;
        line-height: 0.8;
    }
    .language-selectors-wrapper .arrow {
        margin-left: 4px;
        margin-right: 4px;
    }
    .header__appName {
        display: none;
    }
    .storesList{
        display:block;
    }
    .storesList__item{
        margin-right:0;
        margin-bottom:16px
    }
}
@media (max-width:414px){
    .modal .modal-content {
        position: absolute;
        left: 0;
        top: 0;
        transform: none;
        padding: 20px;
        border: none;
        border-radius: 0;
        width: 100%;
        height: 100%;
    }
    .account-form {
        width: auto;
    }
    form.payment-form {
        width: auto;
        margin: 16px auto;
    }
    .bank-card .title {
        margin: 6px 0;
    }
    .installBlock__title{
        font-size:24px;
        line-height:35px;
        text-align:center
    }
    .header__phone{
        padding:7px
    }
    .footer__links{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center
    }
    .footer__links a{
        margin-right:0;
        margin-bottom:5px
    }
    .footer__halfPhone{
        padding-left:30px;
        padding-right:30px
    }
    .installBlock{
        padding:50px 15px
    }
    .installBlock__subtitle{
        text-align:center;
        font-size:17px;
        line-height:23px;
        margin-bottom:35px
    }
    .mainBlock .blockPhone{
        padding:7px
    }
}
@media (max-width:375px){
    .header{
        padding-bottom:25px
    }
    .mainBlock .blockPhone{
        width:222px;
        height:469px
    }
}
@media (max-width:320px){
    .installBlock__title{
        font-size:25px
    }
}
