@font-face {
    font-family:'FontAwesome';
    src:url('/fonts/font-awesome/fontawesome-webfont.eot?v=4.7.0');
    src:url('/fonts/font-awesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
    url('/fonts/font-awesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
    url('/fonts/font-awesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),
    url('/fonts/font-awesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
    url('/fonts/font-awesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight:normal;
    font-style:normal
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    outline: none;
    text-decoration: none;
}
*:focus {
    outline: none;
}

html{
    position: relative;
    min-height: 100vh;
}

body{
    background-color: rgb(255,255,255);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    /*margin-bottom: 85px;
    background-image: url('/img/landing_bg.jpg?recache=2'), url('/img/landing_bg_compressed2.jpg?recache=2'), url('/img/landing_bg_compressed.jpg?recache=2');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;*/
}

.header, .footer{
    width: 1170px;
    max-width: calc(100vw - 20px);
    margin: 0 auto;
}

.header_wrapper{
    background-color: #fff;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    max-width: 100vw;
}

.header {
    display: flex;
    padding-top: 7px;
    padding-bottom: 7px;
}

.logo_wrapper{
    flex: 1;
}

.logo::before {
    content: "";
    display: inline-block;
    background: url('/img/logo.png?recache=2') no-repeat left center / contain;
    width: 34px;
    height: 34px;
    /* vertical-align: text-bottom; */
    margin-right: 5px;
    /* flex: 1; */
}

.logo {
    font-size: 1.3rem;
    white-space: nowrap;
    /*line-height: 37.5px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.header_links{
    display: flex;
    align-items: center;
    padding: 0 25px;
    flex: 4;
}

.header_link_wrapper{
    text-align: center;
    display: flex;
    align-items: center;
    flex: 1;
}

.header_link_container {
    padding: 0 10px;
    cursor: pointer;
}

@media(min-width: 1200px){
    .header_link_container {
        min-width: 160px;
    }
}

@media(max-width: 1199px){
    .header_link_container {
        min-width: 11vw;
    }
}

.header_link_container:before{
    display: block;
    font: normal normal normal 1rem/1 FontAwesome;
}

.header_link_wrapper#registration .header_link_container::before {
    content: "\f055";
    font-size: 25px;
}

.header_link_wrapper#login .header_link_container::before {
    content: "\f090";
    font-size: 33px;
}

.header_link_wrapper#forgot_password .header_link_container::before {
    content: "\f059";
    font-size: 25px;
}

.header_link_wrapper#tariffs .header_link_container::before {
    content: "Т";
    font-size: 25px;
    font-family: inherit;
    font-weight: bold;
}

.header_link_wrapper#contacts .header_link_container:before{
    content: "\f2bb";
    /*font-size: 18px;*/
}

.header_link_wrapper#examples_header .header_link_container:before{
    content: "\f138";
    font-size: 25px;
}

.header_link_wrapper#blog .header_link_container:before{
    content: "\f02d";
    /*font-size: 18px;*/
}

.header_link_wrapper#feedback .header_link_container::before {
    content: "\f2c6";
    font-size: 22px;
}

.header_link_wrapper#collaboration .header_link_container::before {
    content: '\f2b5';
    font-size: 22px;
}

.header_link_wrapper#api .header_link_container::before {
    content: "A";
    font-size: 25px;
    font-family: inherit;
    font-weight: bold;
}

.header_link_wrapper#referral .header_link_container::before {
    content: '\f219';
    font-size: 20px;
}

.header_link_wrapper#demo .header_link_container::before {
    content: "E";
    font-size: 16px;
    font-family: inherit;
    /* font-weight: bold; */
    background-color: #0076eb;
    width: 20.8px;
    border-radius: 50%;
    height: 20.8px;
    color: #fff;
    margin: 0 auto;
    transform: rotate(-30deg);
}

.header_link_container:before{
    font-size: 1.3rem;
    line-height: 1.3rem;
    text-align: center;
}

@media(max-width: 800px){
    #logo_text,
    .header_link_wrapper#forgot_password,
    .header_link_wrapper#feedback,
    .header_link_wrapper#collaboration,
    .header_link_wrapper#api,
    .header_link_wrapper#blog
    {
        display: none !important;
    }
    .header_link_container {
        min-width: 50px;
    }
    .header_links {
        padding: 0 0 0 10px;
    }
}

@media(max-width:670px){
    .description{
        display: none;
    }
    /*#block_title br{
        display: none;
    }*/
}

.header_link{
    color: #999;
    font-size: 14px;
    margin-top: 2px;
    white-space: nowrap;
}

.main {
    min-height: calc(100vh - 55px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 54px;
    /*padding-bottom: 5vh;*/
    position: relative;
    flex-direction: column;
}

/*@media(max-height: 350px){
    .main > #block_title{
        align-self: start;
        margin-top: 30px;
    }
}

@media(max-height: 600px){
    .main > #block_contacts, .main > #block_examples, .main > #inner_block_title{
        align-self: start;
        margin-top: 30px;
    }
}*/

.block_wrapper {
    background-color: #fff;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.11);
    min-width: 370px;
    min-height: 225px;
}

.block_wrapper#inner_block_title {
    min-height: 190px;
    padding: 15px 5px 20px;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

.contact_items, .examples_items{
    display: flex;
    flex-direction: column;
    flex: 2;
    justify-content: center;
}

.examples_items{
    gap: 7px;
}

.contact_item{
    text-align: left;
    padding: 7px 0;
    font-size: 16px;
}

.contact_item::before {
    display: inline-block;
    font: normal normal normal 20px/1 FontAwesome;
    margin-right: 5px;
    vertical-align: middle;
}

.contact_item#telephone:before{
    content: "\f095";
    /*font-size: 18px;*/
}

.contact_item#email:before{
    content: "\f0e0";
    /*font-size: 18px;*/
}

.contact_item#telegram:before{
    content: "\f2c6";
    /*font-size: 18px;*/
}

.footer_wrapper {
    padding: 14px 0 42px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.clearfix::after {
    clear: both;
    content: '';
    display: block;
}

.copyright{
    float: left;
}

.footer .description{
    float: right;
}

.regular_button{
    border-radius: 8px;
    margin: 5px;
    display: inline-block;
    position: relative;
    border: 0 none;
    cursor: pointer;
    padding: 6px 35px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.11);
    height: 35px;
    line-height: 22px;
    background-color: #0076eb;
    width: 220px;
    color: #fff;
}

#examples, .examples_item{
    /*background-color: rgb(51,51,51);*/
    color: rgb(51,51,51);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1rem;
}

#examples:after,
.examples_item:after,
.our_methods:after{
    display: inline-block;
    font: normal normal normal 1rem/1 FontAwesome;
}

#examples:after{
    content: "\f138";
}

.examples_item:after{
    content: "\f138";
}

.our_methods::after {
    content: "\f054";
    font-size: 12px;
    margin-left: 3px;
}

.pictures_wrapper{
    padding: 10px;
}

.pictures{
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.pictures_row{
    display: flex;
    gap: 10px;
    flex: 1;
}

.picture {
    flex: 1;
    min-height: calc(50% - 10px);
    background: no-repeat local center / cover;
    position: relative;
    border-radius: 20px;
}

.picture_tag{
    border-radius: 14px;
    background-color: #fff;
    padding: 4px 10px;
    font-weight: bold;
    font-size: 20px;
}

@media(max-width: 600px){
    #block_title, .block_wrapper{
        min-width: calc(100% - 20px);
    }
    .block_wrapper{
        margin: 10px 0;
    }
    .pictures_wrapper{
        width: 100%;
    }
    .pictures_row{
        flex-direction: column;
    }
    .picture {
        min-height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media(min-width: 601px){
    .pictures{
        height: 100%;
    }
    .pictures_wrapper{
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: -1;
    }
    .picture_tag {
        position: absolute;
        top: 10px;
        left: 10px;
    }
    .picture_tag.right{
        left: unset;
        right: 10px;
    }
    .picture_tag.down{
        top: unset;
        bottom: 10px;
    }
    #block_examples {
        min-width: 315px;
    }
}